1 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
4 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
6 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
10 2013-02-25 Juri Linkov <juri@jurta.org>
12 * replace.el (read-regexp): Let-bind `default' to the first
13 element of `defaults' if it's a list, otherwise it should be
14 a string or nil. Let-bind `suggestions' to `defaults' if it's
15 a list, otherwise make a list with the string value. Doc fix.
18 2013-02-25 Eli Zaretskii <eliz@gnu.org>
20 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
21 that match "\`\.#", to avoid compiling lock files, even if they
22 are readable (as they are on MS-Windows).
24 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
26 * files.el (basic-save-buffer): Remove redundant directory-creation.
28 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
30 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
31 Add option to force `pi' to remain symbolic.
32 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
33 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
34 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
35 derivatives, when necessary.
37 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
39 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
40 (ps-mode-octal-region): Use string-make-unibyte.
42 2013-02-23 Glenn Morris <rgm@gnu.org>
44 * emulation/viper-cmd.el (viper-submit-report):
45 * progmodes/ps-mode.el (ps-mode-maintainer-address):
46 * progmodes/vera-mode.el (vera-mode-help-address):
47 * textmodes/artist.el (artist-maintainer-address):
48 * textmodes/reftex.el (reftex-report-bug):
49 * vc/ediff-util.el (ediff-submit-report):
50 Add bug-gnu-emacs to bug report address.
52 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
53 Remove bug report entries.
54 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
56 * emacs-lisp/bytecomp.el (byte-compile-level): New.
57 (byte-compile-file, byte-compile-from-buffer):
58 Use separate input/output buffers for each level of recursive
59 byte-compile-file calls. (Bug#13787)
61 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
63 * net/tramp.el (tramp-methods): Fix docstring.
64 (tramp-ssh-controlmaster-options): Rename it from
65 `tramp-ssh-controlmaster-template'. Return a string.
66 (tramp-default-method): Adapt check for
67 `tramp-ssh-controlmaster-options'.
69 * net/tramp-sh.el (tramp-methods):
70 Replace `tramp-ssh-controlmaster-template' by "%c".
71 (tramp-do-copy-or-rename-file-out-of-band)
72 (tramp-maybe-open-connection): Use it in format spec. Ensure,
73 that it is applied for the first hop only.
75 2013-02-22 Juri Linkov <juri@jurta.org>
77 * isearch.el (isearch-lazy-highlight-new-loop):
78 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
79 to `isearch-other-end' if it is not nil. (Bug#13402)
81 * replace.el (replace-highlight): Let-bind `isearch-other-end'
84 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
85 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
86 and `isearch-error' to nil.
88 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
90 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
92 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
93 Handle multibyte file names.
95 2013-02-22 Glenn Morris <rgm@gnu.org>
97 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
98 (sgml-transformation-function): Give it a :set function.
101 * cmuscheme.el (scheme-buffer):
102 * progmodes/inf-lisp.el (inferior-lisp-buffer):
103 * progmodes/tcl.el (inferior-tcl-buffer):
104 * textmodes/tex-mode.el (tex-command): Doc fixes.
106 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
108 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
110 2013-02-21 Bastien Guerry <bzg@gnu.org>
112 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
114 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
116 * progmodes/python.el (python-info-current-defun):
117 Enhance match-data cluttering prevention.
119 2013-02-21 Glenn Morris <rgm@gnu.org>
121 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
122 loaded while outline-regexp is let bound. (Bug#9584)
124 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
126 * progmodes/python.el (python-info-current-defun): Fix failed
127 defun name retrieval because of unwanted match-data cluttering.
129 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
131 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
132 defconst. Apply independent check for ControlPersist.
134 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
135 temporarily, via "env".
137 2013-02-21 Glenn Morris <rgm@gnu.org>
139 * info.el (Info-enable-edit): Remove.
140 (Info-edit): Disable it rather than using Info-enable.
141 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
142 (Info-cease-edit): Make editing of Info files obsolete.
144 * informat.el (Info-tagify):
145 Handle buffers not visiting files. (Bug#13763)
147 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
149 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
151 2013-02-21 Glenn Morris <rgm@gnu.org>
153 * files.el (basic-save-buffer): Move check for existing parent
154 directory after hooks. (Bug#13773)
156 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
158 * simple.el (command-execute): Move from C. Add obsolete check.
159 (extended-command-history): Move from C.
161 2013-02-20 Ulrich Müller <ulm@gentoo.org>
163 * jka-cmpr-hook.el (jka-compr-compression-info-list)
164 (jka-compr-mode-alist-additions): Handle .txz suffix for
165 XZ-compressed tar archives (bug#13770).
167 2013-02-20 Bastien Guerry <bzg@gnu.org>
169 * outline.el (outline-regexp, outline-heading-end-regexp):
170 Make variables, not options (bug#13731).
172 2013-02-20 Glenn Morris <rgm@gnu.org>
174 * image.el (image-current-frame): Change from variable to function.
175 (image-show-frame): Rename from image-nth-frame. Update callers.
176 * image-mode.el (image-multi-frame): New variable.
177 (image-mode-map, image-mode, image-goto-frame):
178 Use image-multi-frame rather than image-current-frame.
179 (image-mode, image-goto-frame): Use image-current-frame as
180 function rather than as variable.
182 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
183 * emacs-lisp/cl-macs.el (cl--make-type-test)
184 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
186 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
188 * net/tramp-cache.el (tramp-get-hash-table): New defun.
189 (tramp-get-file-property, tramp-set-file-property)
190 (tramp-get-connection-property, tramp-set-connection-property): Use it.
191 (tramp-flush-file-property, tramp-flush-directory-property):
192 Rename argument to KEY.
193 (tramp-flush-connection-property): Simplify a little bit.
194 (tramp-connection-property-p): New defun.
195 (top): Reapply saved values only if there isn't a corresponding
196 entry in `tramp-connection-properties'.
198 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
200 * progmodes/python.el (python-indent-context):
201 Fix python-info-line-ends-backslash-p call.
202 (python-info-line-ends-backslash-p)
203 (python-info-beginning-of-backslash): Respect line-number argument.
204 (python-info-current-line-comment-p):
205 Fix behavior when not at beginning-of-line.
206 (python-util-position): Remove function.
207 (python-util-goto-line): New function.
209 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
211 * eshell/em-unix.el (eshell/su): Require tramp.
212 (eshell/sudo): Require tramp. Remove now unnecessary check.
214 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
215 `tramp-current-connection' in order to avoid an error when several
216 commands are invoked in a short time in eshell and friends.
218 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
220 Cleanup some of EIEIO's namespace.
221 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
222 Use it to define all the class-* and object-* field accessors (renamed
223 to eieio--class-* and eieio--object-*). Update all uses.
224 (eieio--class-num-slots, eieio--object-num-slots): Rename from
225 class-num-slots and object-num-slots.
226 (eieio--check-type): New macro.
227 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
228 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
229 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
230 (object-assoc-list-safe): Use it.
231 (eieio-defclass): Tighten regexp.
232 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
233 Remove unreachable code.
234 (object-class-fast): Declare obsolete.
235 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
236 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
237 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
238 Rename from class-name, object-name, object-set-name-string,
239 object-class, object-class-name, class-parents, class-children,
240 class-precedence-list, class-parent; with obsolete alias.
241 (class-of, class-direct-superclasses, class-direct-subclasses):
243 (eieio-defmethod): Use `memq'; remove unreachable code.
244 * emacs-lisp/eieio-base.el (eieio-persistent-read):
245 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
246 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
249 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
251 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
252 Use font-lock-keyword-face for macros and special forms (bug#8345).
254 2013-02-17 Didier Verna <didier@didierverna.net>
256 * net/network-stream.el (network-stream-open-starttls):
257 Check that response to the starttls-command is non-nil. (Bug#13706)
259 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
261 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
262 Don't assume all identifier chars have syntax word.
263 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
264 Remove bar-not-symbol. Adjust callers.
265 (lisp-mode-variables): Don't set a font-lock-syntax-table.
267 2013-02-17 Leo Liu <sdl.web@gmail.com>
269 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
271 2013-02-17 Glenn Morris <rgm@gnu.org>
273 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
275 * image-mode.el (image-mode-map): Add image-dired menu entry.
277 * image-dired.el (tumme): Make this alias obsolete.
279 2013-02-16 Glenn Morris <rgm@gnu.org>
281 * image.el (image-animated-types): Remove.
282 (image-multi-frame-p): Rename from image-animated-p, and generalize.
283 (image-animated-p): Make obsolete alias.
284 (image-animate, image-nth-frame, image-animate-timeout):
285 Use image-multi-frame-p.
286 (image-animate-timeout): If no delay, use image-default-frame-delay.
287 * image-mode.el (image-mode, image-toggle-animation):
288 Use image-multi-frame-p. (Bug#763, bug#10739)
289 (image-mode): Adjust startup message for a multi-frame image.
291 * image-mode.el (image-mode-map): Give it a menu.
293 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
295 * net/tramp-cache.el (tramp-connection-properties): New customer
297 (tramp-get-connection-property): Use it.
299 * net/tramp-compat.el (top): Require 'trampver.
301 * net/tramp-sh.el (tramp-remote-process-environment):
302 Set tramp-autoload cookie.
304 2013-02-16 Kevin Ryde <user42@zip.com.au>
306 * info-look.el (info-lookup-select-mode): If major-mode has no
307 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
309 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
311 * replace.el (read-regexp): Tighten the regexp that matches tag.
312 When tag is retrieved with `find-tag-default', use regexp that
313 matches tag at point. Also update docstring (Bug#13687).
315 2013-02-16 Eli Zaretskii <eliz@gnu.org>
317 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
318 add watch for the file, not its parent directory, since w32notify
319 sets up the watch for the directory internally. (Bug#13725)
321 2013-02-16 Glenn Morris <rgm@gnu.org>
323 * image.el (image-default-frame-delay): New variable.
324 (image-animated-p): Use image-default-frame-delay.
325 (image-minimum-frame-delay): New constant.
326 (image-animate-timeout): Use image-minimum-frame-delay.
328 * image.el (image-nth-frame): New, split from image-animate-timeout.
329 (image-animate-timeout): Use image-nth-frame.
330 * image-mode.el (image-goto-frame, image-next-frame)
331 (image-previous-frame): New commands.
332 (image-mode-map): Add new frame commands.
334 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
336 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
337 If col-desc already has help-echo, use it. (Bug#13563)
339 2013-02-16 Glenn Morris <rgm@gnu.org>
341 * image.el (image-current-frame): New variable.
342 (image-animate-timeout): Set image-current-frame.
343 * image-mode.el (image-mode): For animated images,
344 display a frame counter via mode-line-process.
346 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
348 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
350 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
352 2013-02-15 Alan Mackenzie <acm@muc.de>
354 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
355 global minor mode has been enabled, call the minor mode function
356 for a new buffer once only, after the major mode hook, whilst
357 allowing that hook explicitly to disable the minor mode.
358 (MODE-disable-in-buffer): New (generated) function.
359 (disable-MODE): New (generated) buffer local variable.
361 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
363 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
364 `iswitchb-next-match' and `iswitchb-prev-match' resply.
365 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
366 `ido-next-match' and `ido-prev-match' resply.
367 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
368 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
369 `icomplete-backward-completions' (Bug#13708).
371 2013-02-15 Glenn Morris <rgm@gnu.org>
373 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
375 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
377 * net/goto-addr.el (goto-address-fontify): Add start and end args.
378 (goto-address-fontify-region): Use them instead of narrowing, so
379 syntax-ppss has access to the whole buffer.
381 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
383 * progmodes/python.el: Explain how to restore "cc-mode"-like
384 forward-sexp movement in header documentation (Bug#13642).
385 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
386 comments and strings (GH bug 114).
388 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
390 * progmodes/python.el (python-info-current-defun): Fix current
391 defun detection (Bug#13618).
393 2013-02-15 Chong Yidong <cyd@gnu.org>
395 * xml.el (xml-parse-string): Fix typo in handling of bad character
398 2013-02-15 Glenn Morris <rgm@gnu.org>
400 * play/fortune.el (fortune-compile): Simplify and fix previous change.
402 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
404 * net/tramp.el (tramp-debug-message):
405 Add `tramp-condition-case-unless-debug'.
406 (tramp-debug-on-error): New defvar.
407 (tramp-condition-case-unless-debug): New defun.
408 (tramp-file-name-handler): Use it.
410 2013-02-14 Juri Linkov <juri@jurta.org>
412 * info.el (Info-isearch-filter): Treat non-nil values of
413 `search-invisible' including its default value `open'
414 like the value `t' to match hidden text. (Bug#13402)
416 2013-02-14 Glenn Morris <rgm@gnu.org>
418 * help-fns.el (find-lisp-object-file-name): Give special treatment
419 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
421 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
423 * net/quickurl.el (quickurl-save-urls):
424 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
426 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
428 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
429 depth for unfinished percent literal. Not using it in the caller.
430 (ruby-move-to-block): Jump over multiline literals of all types,
431 ignoring code-looking contents inside them.
432 (ruby-add-log-current-method): Improve performance at the expense
433 of accuracy. `ruby-block-contains-point' is relatively slow, so
434 only use it for method and singleton class blocks.
436 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
438 Use ControlMaster where applicable. (Bug#13677)
440 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
441 replacing `tramp-detect-ssh-controlmaster'.
442 (tramp-default-method): Use it.
444 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
445 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
447 [scpc, rsyncc]: Remove methods.
448 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
450 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
451 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
453 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
455 * emacs-lisp/package.el (package--initialized): Move before first use.
457 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
459 * icomplete.el (icomplete-hide-common-prefix): New user option.
460 (icomplete-first-match): New face.
461 (icomplete-completions): Correct handling of "complete but not
464 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
466 * descr-text.el (describe-char): Display the script (bug#13698).
468 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
470 * tmm.el: Use lexical-binding and current-active-maps.
471 (tmm-menubar): Use map-keymap and pcase.
472 (tmm--completion-table): New function.
473 (tmm-prompt): Use it to fix the menu order.
474 (tmm-get-keybind): Use current-active-maps.
476 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
478 Add dired-hide-details-mode. (Bug#6799)
480 * locate.el (locate-mode): Set parent mode property to dired-mode.
482 * find-dired.el (find-dired): Call dired-insert-set-properties on
483 initial information line. Set process mark on end of buffer.
484 (find-dired-sentinel):
485 Call dired-insert-set-properties on summary.
487 * dired.el (dired-hide-details-hide-symlink-targets)
488 (dired-hide-details-hide-information-lines): New options.
489 (dired-insert-directory):
490 Set properties after final treatment of output.
491 (dired-insert-set-properties):
492 Set dired-hide-details-* properties.
493 (dired-mode-map): Bind dired-hide-details-mode.
494 (dired-mode): Set buffer-invisibility-spec to a list.
495 (dired-next-line): Skip hidden lines.
496 (dired-previous-line): Use dired-next-line.
497 (dired-hide-details-mode): New minor mode.
498 (dired-hide-details-update-invisibility-spec): New function.
500 2013-02-13 Glenn Morris <rgm@gnu.org>
502 * play/yow.el: Move to obsolete/. (Bug#9384)
504 2013-02-13 Juri Linkov <juri@jurta.org>
506 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
507 to select `ediff-control-frame' and set input focus correctly on Xfce.
510 2013-02-13 Juri Linkov <juri@jurta.org>
512 * image-mode.el (image-mode-map):
513 * doc-view.el (doc-view-mode-map):
514 * vc/ediff-util.el (ediff-setup-keymap):
515 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
517 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
519 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
520 performance. Instead of recalculating indentation fully for each
521 line, sum up indentation depth based only on visited lines.
522 (ruby-parse-partial): Increase the depth after "do" even when END
524 (ruby-parse-partial): When END is in the middle of a percent
525 literal, increase the depth if the delimiter chars belong to the
528 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
530 * play/fortune.el (fortune-compile): Also make the compiled file
531 if it does not exist at all, not just if it is old. (Bug#5338)
533 2013-02-13 Glenn Morris <rgm@gnu.org>
535 * emacs-lisp/package.el (package-menu-execute): Doc fix.
537 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
539 * lisp/emacs-lisp/package.el (package-menu-execute):
540 Add optional noquery argument. (Bug#13625)
542 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
544 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
545 if DIR exists and PARENTS is non-nil.
547 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
549 * progmodes/js.el (js--multi-line-declaration-indentation):
550 Silence byte-compiler warning.
552 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
554 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
556 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
557 only if it doesn't exist.
559 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
562 2013-02-12 Tassilo Horn <tsdh@gnu.org>
564 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
565 UserInstallation when calling soffice to work around LibreOffice
568 2013-02-12 Glenn Morris <rgm@gnu.org>
570 * files.el (basic-save-buffer):
571 Offer to create a non-existing directory. (Bug#3016)
573 * calc/calc-graph.el (calc-graph-show-dumb):
574 * calendar/calendar.el (calendar-mode-map):
575 * cus-edit.el (custom-mode-map):
576 * ehelp.el (electric-help-map):
577 * emulation/vip.el (vip-mode-map):
578 * epa.el (epa-key-list-mode-map):
579 * info.el (Info-mode-map):
580 * mail/rmail.el (rmail-mode-map):
581 * mail/rmailsum.el (rmail-summary-mode-map):
582 * man.el (Man-mode-map):
583 * net/newst-plainview.el (newsticker-mode-map):
584 * progmodes/cpp.el (cpp-edit-mode-map):
585 * progmodes/grep.el (grep-mode-map):
586 * progmodes/idlw-help.el (idlwave-help-mode-map):
587 * simple.el (special-mode-map):
588 * startup.el (splash-screen-keymap):
589 * view.el (view-mode-map):
590 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
592 2013-02-11 Elias Pipping <pipping@lavabit.com>
594 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
597 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
599 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
601 2013-02-11 Glenn Morris <rgm@gnu.org>
603 * vc/diff.el (diff-use-labels): New variable.
604 (diff-no-select): Use --label rather than -L, and first
605 check that it is supported. (Bug#11067)
607 * files.el (enable-dir-local-variables): New variable.
608 (hack-dir-local-variables): Respect enable-dir-local-variables.
609 * tutorial.el (help-with-tutorial):
610 Ignore directory-local variables. (Bug#11127)
612 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
613 (vc-svn-global-switches): ... to here. (Bug#13513)
615 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
617 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
618 Handle "foo (bar, default: xxx): " prompts.
620 2013-02-10 Chong Yidong <cyd@gnu.org>
622 * files.el (basic-save-buffer-1): Do not set
623 buffer-file-coding-system-explicit (Bug#4533).
625 * mail/emacsbug.el (report-emacs-bug): Change binding of
626 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
628 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
630 * calc/calc.el (calc-allow-units-as-numbers): New variable.
631 * calc/calc-units.el (calc-convert-units): Use new variable.
633 2013-02-09 Eli Zaretskii <eliz@gnu.org>
635 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
637 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
640 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
641 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
642 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
643 coding-system-for-write instead.
645 * jka-compr.el (jka-compr-write-region): Don't bind
648 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
651 * files.el (file-name-buffer-file-type-alist): Remove defvar.
652 (insert-file-contents-literally): Remove reference to
653 file-name-buffer-file-type-alist.
655 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
657 (find-buffer-file-type-match, find-buffer-file-type): Remove.
658 (find-buffer-file-type-coding-system): Remove references to
659 find-buffer-file-type-match, find-buffer-file-type, and
661 Don't put find-buffer-file-type-coding-system into
662 file-coding-system-alist.
663 (find-file-binary, find-file-text): Bind coding-system-for-read
664 instead of file-name-buffer-file-type-alist.
666 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
668 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
669 converter (Bug#13622).
670 (doc-view-unoconv-program): Make obsolete alias.
671 (doc-view-odf->pdf-converter-program): New variable.
672 (doc-view-odf->pdf-converter-function): New variable.
673 (doc-view-mode-p): Use it.
674 (doc-view-odf->pdf-converter-unoconv):
675 Rename from `doc-view-odf->pdf-converter-unoconv'.
676 (doc-view-odf->pdf-converter-soffice): New function.
677 (doc-view-convert-current-doc):
678 Use `doc-view-odf->pdf-converter-function'.
680 2013-02-09 Chong Yidong <cyd@gnu.org>
682 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
683 view-echo-area-messages (Bug#13340).
685 * help.el (view-echo-area-messages): Use display-buffer.
687 * dired-x.el (dired-do-run-mail): Prompt for confirmation
690 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
692 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
693 Eval body right away, now that we do eager macroexpansion (bug#13605).
695 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
696 (fundamental-mode): Use run-mode-hooks.
698 * eshell/esh-proc.el (eshell/kill): Fix last change.
699 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
701 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
703 * eshell/esh-proc.el (eshell/kill): Rewrite.
705 * eshell/em-ls.el (show-almost-all): Declare.
706 (eshell-do-ls): Add support for -A argument.
708 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
710 * icomplete.el (icomplete-forward-completions)
711 (icomplete-backward-completions): Handle corner case (bug#13602).
713 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
715 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
716 be nil. Handle this. (Bug#13636)
718 2013-02-07 Richard Stallman <rms@gnu.org>
720 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
721 `save-buffer-coding-system'.
723 2013-02-07 Alan Mackenzie <acm@muc.de>
725 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
726 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
727 (c-parse-state-get-strategy): Don't return 'BOD any more.
728 (c-append-lower-brace-pair-to-state-cache):
729 Extra parameter HERE instead of narrowing.
730 Widen to top of buffer before searching backwards for a brace pair.
731 (c-state-push-any-brace-pair): Add HERE parameter to function call.
732 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
733 Narrow to parameter HERE, in place of being called narrowed.
734 (c-remove-stale-state-cache): Extra parameter HERE in place of
735 narrowing. Check there's an open brace in the cache before
736 searching for its match.
737 (c-invalidate-state-cache-1): Add HERE parameter to function call.
738 (c-parse-state-1): Don't narrow here for 'forward strategy,
739 instead passing extra parameter HERE to several functions.
740 Remove 'BOD strategy.
742 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
744 * emacs-lisp/package.el (describe-package-1): Tell what archive is
745 used to install the package.
747 2013-02-06 Glenn Morris <rgm@gnu.org>
749 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
750 if we can't get user input. (Bug#6567)
752 * startup.el (command-line): If simple.el is missing,
753 test and warn about for some possible causes.
755 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
757 * cus-start.el (all): Add ns-use-native-fullscreen.
759 2013-02-05 Glenn Morris <rgm@gnu.org>
761 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
763 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
764 Fix directory creation in fallback case.
766 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
768 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
769 (vc-update-change-log): Use dolist.
771 2013-02-04 Chong Yidong <cyd@gnu.org>
773 * thingatpt.el: Rewrite the URL detection routines, absorbing some
775 (thing-at-point-beginning-of-url-regexp): New var.
776 (thing-at-point-uri-schemes): Update list of URI schemes.
777 (thing-at-point-url-regexp): Variable deleted.
778 (thing-at-point-markedup-url-regexp): Disallow newlines.
779 (thing-at-point-newsgroup-regexp)
780 (thing-at-point-newsgroup-heads)
781 (thing-at-point-default-mail-uri-scheme): New variables.
782 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
783 method to find the possible bounds of the URI at point.
784 New optional argument to find ill-formed URIs.
785 (thing-at-point-url-at-point): Rewrite. New arguments for finding
786 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
787 the scheme-adding heuristics from ffap-url-at-point.
788 (thing-at-point--bounds-of-well-formed-url): New function.
789 Do parens matching to decide whether to include parens in the URI
792 * ffap.el: Require thingatpt.
793 (ffap-url-at-point): Delegate URI detection to thing-at-point.
794 All URI-valid characters are now recognized (Bug#5673).
795 (ffap-string-at-point): Use use-region-p.
796 (ffap-url-regexp): Extra character is handled by thing-at-point.
797 (ffap-string-at-point-mode-alist): Allow parentheses.
798 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
799 Convert to aliases; code moved to thingatpt.el.
800 (ffap-gnus-hook): Use setq-local.
802 2013-02-04 Glenn Morris <rgm@gnu.org>
804 * emacs-lisp/ert.el (ert--explain-format-atom):
805 Don't try to print non-characters as characters. (Bug#13543)
807 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
809 * net/tramp.el (tramp-debug-message): Extend function exclude list.
810 (tramp-backtrace): New defun.
811 (tramp-handle-insert-file-contents): Use `visit' when inserting
814 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
815 Use `remote-file-name-inhibit-cache'.
817 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
819 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
822 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
823 current-load-list (bug#13366).
825 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
827 * progmodes/compile.el (compilation-error-regexp-alist-alist):
828 Identify g++ template instantiation trace. (Bug#12287)
829 (compilation-mode-hook, compilation-start-hook)
830 (compilation-window-height): Simplify docstrings. (Bug#13379)
832 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
834 * mouse.el (mouse-drag-track): Always deactivate the mark before
835 running the final event's command since that command is in charge of
836 activating the mark if needed (bug#13523).
838 2013-02-02 Juri Linkov <juri@jurta.org>
840 * replace.el (perform-replace): Move let-bindings of isearch-*
841 variables deeper to the loop that searches for the next match.
842 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
843 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
846 * isearch.el (isearch-search-fun-default): Check for null
847 first element of isearch-cmds as a precaution when it's used
848 with inactive isearch.
850 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
852 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
853 error when buffer in question is narrowed so position 1 is out of
856 2013-02-02 Glenn Morris <rgm@gnu.org>
858 * textmodes/remember.el (remember-clipboard): Doc fix.
860 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
862 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
863 properties (bug#13179).
865 2013-02-02 Juri Linkov <juri@jurta.org>
867 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
868 instead of hard-coded default face `match'. (Bug#9438)
870 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
872 * vc/vc-arch.el (vc-arch-registered):
873 * vc/vc-bzr.el (vc-bzr-registered):
874 * vc/vc-cvs.el (vc-cvs-registered):
875 * vc/vc-git.el (vc-git-registered):
876 * vc/vc-hg.el (vc-hg-registered):
877 * vc/vc-mtn.el (vc-mtn-registered):
878 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
881 * info.el (Info-next-reference, Info-prev-reference): Add numeric
882 prefix argument. (Bug#11656)
884 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
886 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
888 2013-02-01 Glenn Morris <rgm@gnu.org>
890 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
891 if the backend is known not to support it.
893 * imenu.el (imenu-default-create-index-function):
894 Tweak infinite loop test to check for forward motion as well as none.
896 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
898 * net/soap-client.el (soap-invoke): Encode the string for
899 `url-request-data' as UTF-8.
900 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
902 2013-02-01 Glenn Morris <rgm@gnu.org>
904 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
906 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
908 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
910 * net/tramp.el (tramp-tramp-file-p): Comment check for
911 `string-as-unibyte'. The function does not exist on XEmacs, and
912 likely we need another approach.
914 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
915 `tramp-gw-*' variables are bound.
917 2013-01-31 Glenn Morris <rgm@gnu.org>
919 * files.el (basic-save-buffer-2): Choose coding system for
920 writing the file before backing it up, to reduce delay between
921 backing up and writing the new version. (Bug#13522)
923 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
925 * simple.el (cycle-spacing): New command.
926 (just-one-space): Use it.
928 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
930 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
931 (opascal-newline-always-indents): Remove custom.
932 (opascal-tab, opascal-newline): Remove commands.
933 (opascal-new-comment-line): Insert "\n" instead of calling newline.
934 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
935 (opascal-save-match-data): Remove, use save-match-data instead.
936 (opascal-save-state): Use with-silent-modifications.
938 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
941 2013-01-30 Juri Linkov <juri@jurta.org>
943 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
944 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
945 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
947 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
949 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
950 column if we're just deleting the backslashes.
951 (makefile-fill-paragraph): Use eolp.
953 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
955 * autorevert.el (auto-revert-use-notify): Fix docstring.
957 2013-01-30 Leo Liu <sdl.web@gmail.com>
959 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
961 2013-01-30 Glenn Morris <rgm@gnu.org>
963 * mouse.el (mouse-drag-line): Avoid pushing same event onto
964 unread-command-events twice in some cases. This tries to implement
965 the 2012-07-26 changes in a different way. (Bug#13560)
967 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
969 * progmodes/python.el
970 (python-pdbtrack-comint-output-filter-function): Enhancements on
971 stacktrace detection. (thanks @gnovak)
973 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
975 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
976 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
978 (jit-lock-register): Use setq-local.
980 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
982 * calc-units.el (math-default-units-table): Remove initial value.
983 (calc-convert-units): Treat expressions where all the units cancel as
984 if they didn't have units.
986 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
988 * net/tramp.el (tramp-process-connection-type): Fix docstring.
989 (tramp-completion-reread-directory-timeout): Fix type.
990 (tramp-connection-min-time-diff): New defcustom.
992 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
994 2013-01-30 Glenn Morris <rgm@gnu.org>
996 * imenu.el (imenu-default-create-index-function):
997 Put back a version of the infinite loop test removed 2013-01-23.
999 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1001 * progmodes/python.el (python-shell-parse-command):
1002 Find python-shell-interpreter with modified environment.
1004 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1008 2013-01-29 Alan Mackenzie <acm@muc.de>
1010 Amend to fontify /regexp/s in actions correctly.
1011 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1012 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1013 are no longer included.
1014 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1015 What used to be these variables without "-line" in the name.
1016 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1017 (c-awk-non-arith-op-bra-re): Now also matches {.
1018 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1019 "return", and "case".
1020 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1022 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1023 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1025 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1027 * autorevert.el (auto-revert-use-notify):
1028 Use `custom-initialize-default' for initialization. (Bug#13583)
1030 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1032 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1033 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1034 in `tramp-file-name-handler'.
1035 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1037 (tramp-compute-multi-hops): Check, whether
1038 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1040 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1045 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1047 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1048 checks made superfluous by the \_< operator.
1049 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1050 temporarily) broken indentation.
1051 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1052 Highlight nested constants, too. \_< broke that.
1054 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1059 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1061 * autorevert.el (auto-revert-handler): Notifications which result
1062 from a saved file shall not be taken into account. (Bug#13557)
1064 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1066 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1067 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1068 (lisp-mode): Pass t for it. (Bug#13556)
1070 2013-01-25 Alan Mackenzie <acm@muc.de>
1072 AWK Mode: Fix indentation bug at top level. Bug #12274.
1074 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1075 just before CASE 5D.
1077 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1079 * net/socks.el (socks-nslookup-host): Use string-to-number.
1081 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1083 * autorevert.el (auto-revert-remote-files)
1084 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1085 (auto-revert-notify-enabled, auto-revert-use-notify)
1086 (auto-revert-notify-watch-descriptor-hash-list)
1087 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1088 (auto-revert-notify-event-descriptor)
1089 (auto-revert-notify-event-action)
1090 (auto-revert-notify-event-file-name): Doc fix.
1091 (global-auto-revert-mode): Reorder checks.
1092 (auto-revert-notify-rm-watch): Respect changed values of
1093 `auto-revert-notify-watch-descriptor-hash-list'.
1094 (auto-revert-notify-add-watch): Check for
1095 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1096 `inotify-add-watch'. Watch `default-directory' instead of
1097 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1098 has a changed meaning now. (Bug#13540)
1099 (auto-revert-notify-handler): Change implementation wrt events
1100 returning from a directory.
1101 (auto-revert-handler): Reorder implementation for checks of remote
1103 (auto-revert-buffers): Fix parentheses error.
1105 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1107 * progmodes/python.el: Enhancements to header documentation about
1108 skeletons. (Bug#5716)
1110 * imenu.el (imenu-default-create-index-function): Remove useless
1111 infinite loop check. (Bug#13438)
1113 2013-01-25 Alan Mackenzie <acm@muc.de>
1115 Fix a bug in the state cache mechanism. Refactor this a bit.
1117 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1118 `cache-pos' element from the return value.
1119 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1120 buffer to enable proper searching from beyond HERE. Amend the
1121 test for detecting the sought brace pair. Amend the value written
1122 to the "brace desert cache" when the brace isn't found.
1123 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1124 and several other variables analogously.
1125 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1126 parameter to a locally calculated variable.
1127 (c-parse-state-1): Change the calling conventions to the two
1128 defuns involving `cache-pos'.
1130 2013-01-25 Chong Yidong <cyd@gnu.org>
1132 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1134 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1136 * paren.el (show-paren-function): Make sure to set 'priority and
1137 'face only if the overlay does exist.
1139 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1141 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1143 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1145 (tramp-sh-handle-set-file-acl): Improve error checking.
1147 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1149 * doc-view.el (doc-view-display): Force mode line update until all
1150 document is converted. Suggested by Stefan Monnier (Bug#13164).
1152 2013-01-23 Bastien Guerry <bzg@gnu.org>
1154 * paren.el (show-paren-function): Make sure an overlay exists
1155 before trying to delete it. Also use `pos' as a position only
1156 when it is an integer.
1158 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1160 * play/gametree.el (gametree-break-line-here): Use point-marker.
1162 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1164 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1165 Mark descriptive parts with `display' property.
1167 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1169 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1170 New variable to map standard dict names to hunspell ones.
1171 (ispell-set-spellchecker-params): Make sure specific dict names
1172 are used for standard dicts with hunspell.
1174 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1176 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1177 chars for note (%N) and url (%U).
1178 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1180 2013-01-21 Juri Linkov <juri@jurta.org>
1182 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1183 in addition to existing separate binding `meta f10' in `global-map'.
1186 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1188 Improve XEmacs compatibility.
1190 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1192 * net/tramp-adb.el (top): Require `time-date'.
1193 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1194 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1195 Use `tramp-file-name-handler'.
1196 (tramp-adb-maybe-open-connection):
1197 Use `tramp-compat-set-process-query-on-exit-flag'.
1199 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1200 Use `tramp-compat-funcall'.
1202 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1203 `tramp-compat-funcall'.
1205 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1207 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1208 reimplementation using "adb shell command ..." instead of running
1209 remote shell interactively.
1211 2013-01-20 Glenn Morris <rgm@gnu.org>
1213 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1214 Add native profiler menu entries.
1216 * profiler.el (profiler-running-p): New function.
1217 (profiler-cpu-profile): Use profiler-running-p.
1218 (profiler-report-mode-map): Add some more menu entries.
1220 2013-01-19 Glenn Morris <rgm@gnu.org>
1222 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1223 fixes 2012-12-07 change. (Bug#13499)
1225 2013-01-19 Leo Liu <sdl.web@gmail.com>
1227 * dired.el (dired-get-marked-files): Prune erroneous values due to
1228 last change. (Bug#13152)
1230 2013-01-19 Glenn Morris <rgm@gnu.org>
1232 * progmodes/etags.el (tags-table-check-computed-list):
1233 Preserve point in tags buffer. (Bug#13412)
1235 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1237 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1238 Chong Yidong <cyd@gnu.org>
1240 * image-mode.el (image-next-file, image-previous-file):
1241 New commands (Bug#8453).
1242 (image-mode-map): Bind them to n and p.
1243 (image-mode--images-in-directory): New helper function.
1245 2013-01-19 Chong Yidong <cyd@gnu.org>
1247 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1248 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1249 save and restore the old window configuration.
1251 2013-01-18 Leo Liu <sdl.web@gmail.com>
1253 * progmodes/js.el: Tweak autoload cookie for alias.
1255 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1257 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1258 buffer local, again. This was lost with the fix on 2013-01-12.
1260 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1262 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1263 order to support several eshell buffers in parallel.
1265 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1267 * autorevert.el (auto-revert-use-notify): In the :set function, do
1268 not modify `kill-buffer-hook'.
1269 (auto-revert-notify-rm-watch):
1270 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1271 (auto-revert-notify-add-watch): Do not call
1272 `auto-revert-notify-rm-watch', but add it to a buffer local
1275 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1278 call to `eval' rather than a backquoted lambda.
1280 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1283 to return an explicit nil.
1284 (advice--remove-function): Change accordingly.
1286 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1287 the use of nadvice.el.
1289 * progmodes/which-func.el (which-function): Silence imenu errors
1292 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1294 * progmodes/sql.el: (sql-imenu-generic-expression):
1295 (sql-mode-font-lock-object-name): Match schema qualified names.
1296 (sql-connect): Use string keys.
1297 (sql-product-interactive): Wait for interpreter prompt.
1298 (sql-comint-oracle): Set process coding based on NLS_LANG.
1300 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1302 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1303 (sql-interactive-remove-continuation-prompt):
1304 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1306 2013-01-14 Leo Liu <sdl.web@gmail.com>
1308 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1311 2013-01-14 Glenn Morris <rgm@gnu.org>
1313 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1314 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1316 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1318 * progmodes/python.el (python-nav-end-of-statement):
1319 Fix cornercase when handling multiline strings.
1321 2013-01-13 Richard Stallman <rms@gnu.org>
1323 * mail/sendmail.el (mail-position-on-field): Add doc string.
1325 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1326 Get current message boundaries and pass them to
1327 message-forward-make-body-mime. Minor style changes.
1329 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1331 * cus-start.el (all): Avoid warnings about
1332 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1334 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1336 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1338 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1341 (jit-lock--debug-fontifying): New var.
1342 (jit-lock--debug-fontify): New function.
1343 * subr.el (condition-case-unless-debug): Don't prevent catching the
1344 error, just let the debbugger run.
1345 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1346 timer code and don't drop errors silently.
1348 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1350 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1351 `permanent-local' property.
1352 (auto-revert-notify-handler): Use `file-equal-p'.
1354 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1356 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1357 file notification by ACTION. For filtering by file name, compare
1358 only the non-directory part of the file name.
1360 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * autorevert.el: Use cl-lib instead of cl.
1364 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1365 (vc-bzr-checkin): Use it.
1366 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1367 will preserve match-data.
1369 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1371 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1372 (js--declaration-keyword-re): New var.
1373 (js--multi-line-declaration-indentation): New function.
1374 (js--proper-indentation): Use it.
1376 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1378 * calc/calc.el (calc-highlight-selections-with-faces)
1380 * comint.el (comint-history-isearch-message):
1381 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1382 * ffap.el (ffap-string-at-point-region, ffap-next)
1383 (ffap-string-at-point, ffap-string-around)
1384 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1386 * font-lock.el (font-lock-keywords-alist)
1387 (font-lock-removed-keywords-alist):
1388 * help-mode.el (help-xref-symbol-regexp):
1389 * info.el (Info-find-emacs-command-nodes):
1390 * international/mule.el (add-to-coding-system-list):
1391 * isearch.el (isearch-message-function, isearch-fail-pos):
1392 * misearch.el (multi-isearch-next-buffer-function):
1393 * newcomment.el (comment-box):
1394 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1395 (pr-setting-database):
1396 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1397 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1398 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1399 (pike-font-lock-keywords-3):
1400 * progmodes/compile.el (compile):
1401 * progmodes/etags.el (tags-table-files)
1402 (tags-table-files-function, tags-included-tables-function):
1403 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1404 (gdb-restore-windows):
1405 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1406 (ps-n-up-filling-database):
1407 * server.el (server-buffer, server-log):
1408 * simple.el (newline, delete-backward-char, delete-forward-char)
1409 (minibuffer-history-isearch-message, kill-line, track-eol)
1410 (temporary-goal-column):
1411 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1412 (flyspell-default-deplacement-commands):
1413 * textmodes/ispell.el (ispell-accept-output):
1414 * textmodes/sgml-mode.el (html-tag-help):
1415 * vc/compare-w.el (compare-ignore-whitespace)
1416 (compare-ignore-case, compare-windows-dehighlight):
1417 * vc/diff.el (diff):
1418 * whitespace.el (whitespace-point)
1419 (whitespace-font-lock-refontify, whitespace-bob-marker)
1420 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1422 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1424 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1425 (auto-revert-notify-rm-watch): Ignore errors.
1426 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1427 inotify, and '(size last-write-time) for w32notify.
1428 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1429 watch fails - this is a fallback to the file modification check.
1430 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1431 (auto-revert-notify-event-action)
1432 (auto-revert-notify-event-file-name): New defuns.
1433 (auto-revert-notify-handler): Use them. Implement first
1434 plausibility checks.
1435 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1437 2013-01-11 Julien Danjou <julien@danjou.info>
1439 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1440 max are almost equal. Also return the correct value for V which is
1441 already between 0 and 1.
1443 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1445 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1447 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1449 * autorevert.el (auto-revert-notify-rm-watch)
1450 (auto-revert-notify-add-watch): Fix typos in w32notify function
1453 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1455 * autorevert.el (auto-revert-notify-enabled): Move up.
1456 (auto-revert-use-notify): New defcustom.
1457 (auto-revert-mode, global-auto-revert-mode)
1458 (auto-revert-notify-add-watch, auto-revert-handler)
1459 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1460 `auto-revert-notify-enabled'.
1462 2013-01-10 Elias Pipping <pipping@exherbo.org>
1464 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1465 * doc-view.el (doc-view-document->bitmap):
1466 Use doc-view-single-page-converter-function instead of
1467 single-page-converter arg; adjust callers.
1469 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1471 * progmodes/which-func.el (which-function): Understand Semantic's use
1472 of overlays in imenu--index-alist.
1474 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1476 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1477 (Man-man-k-use-anchor): New var.
1478 (Man-parse-man-k): New function.
1479 (Man-completion-table): Use it.
1480 (man): Flush the completion cache between uses.
1482 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1484 * autorevert.el: Add file watch support.
1485 (auto-revert-notify-enabled): New defconst.
1486 (auto-revert-notify-watch-descriptor-hash-list)
1487 (auto-revert-notify-watch-descriptor)
1488 (auto-revert-notify-modified-p): New defvars.
1489 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1490 (auto-revert-notify-handler): New defuns.
1491 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1492 when mode is disabled.
1493 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1494 (auto-revert-buffers): Add file watches for active buffers.
1496 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1498 * cus-start.el (toplevel): Only allow float values for
1499 scroll-up-aggressively and scroll-down-aggressively.
1500 Allow any number for line-spacing.
1502 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1504 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1505 (doc-view-pdf->png-converter-function): Use mupdf if available.
1506 (doc-view-djvu->png-converter-function)
1507 (doc-view-ps->png-converter-function): Remove.
1508 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1509 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1510 (doc-view-already-converted-p): Adjust accordingly.
1511 (doc-view-mode-p): Simplify.
1512 (doc-view-enlarge): Use setq-local.
1513 (doc-view-pdf->png-converter-ghostscript)
1514 (doc-view-djvu->png-converter-ddjvu)
1515 (doc-view-pdf->png-converter-mupdf): Rework to call
1516 doc-view-start-process directly.
1517 (doc-view-pdf/ps->png): Simplify accordingly.
1518 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1519 (doc-view-document->bitmap): Rename from doc-view-document->png.
1520 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1521 (doc-view-set-slice-from-bounding-box): Fix completion table.
1522 (doc-view-mode): Use add-hook for after-revert-hook.
1524 2013-01-10 Glenn Morris <rgm@gnu.org>
1526 * emacs-lisp/authors.el (authors-ignored-files)
1527 (authors-valid-file-names, authors-renamed-files-alist):
1528 Add some more entries.
1530 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1532 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1533 `t' pseudo-window entry.
1535 2013-01-10 Alan Mackenzie <acm@muc.de>
1537 Fix bugs in the c-parse-state mechanism. Reuse some markers
1538 instead of continually generating new ones.
1540 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1541 (c-state-old-cpp-end-marker): New variables.
1542 (c-append-lower-brace-pair-to-state-cache): Start a backward
1543 search for "}" definitively outside CPP constructs.
1544 (c-remove-stale-state-cache): Inform the caller of a need to
1545 search back for a brace pair in certain circumstances.
1546 (c-state-maybe-marker): New macro.
1547 (c-parse-state): Reuse markers when appropriate.
1549 2013-01-10 Glenn Morris <rgm@gnu.org>
1551 * simple.el (execute-extended-command): Doc fix.
1552 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1554 2013-01-10 Chong Yidong <cyd@gnu.org>
1556 * faces.el (read-face-name): Doc fix.
1558 2013-01-10 Roland Winkler <winkler@gnu.org>
1560 * emacs-lisp/crm.el: Allow any regexp for separators.
1561 (crm-default-separator): All spaces around the default comma separator.
1562 (crm--completion-command): New macro.
1563 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1564 (crm-complete-and-exit): Handle non-single-char separators.
1566 2013-01-09 Elias Pipping <pipping@lavabit.com>
1568 * doc-view.el: Add support for DjVu (bug#13164).
1569 (doc-view-djvu->png-converter-function): New config var.
1570 (doc-view-single-page-converter-function, doc-view--image-type)
1571 (doc-view--image-file-extension): New vars.
1572 (doc-view-mode): Initialize them.
1573 (doc-view-goto-page): Use them.
1574 (doc-view-mode-p): Add support for ddjvu.
1575 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1576 (doc-view-set-up-single-converter): New funs.
1577 (doc-view-pdf/ps->png): Extend for djvu.
1578 (doc-view-document->png): Rename from doc-view-pdf->png.
1579 (doc-view-convert-current-doc): Handle djvu.
1580 (doc-view-insert-image, doc-view-display)
1581 (doc-view-already-converted-p): Don't hardcode png.
1582 (doc-view-set-doc-type): Recognize djvu docs.
1584 2013-01-09 Elias Pipping <pipping@lavabit.com>
1586 * doc-view.el: Add support for mupdf converter (bug#13164).
1587 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1588 (doc-view-ps->png-converter-function): New config vars.
1589 (doc-view-pdf->png-converter-ghostscript)
1590 (doc-view-ps->png-converter-ghostscript)
1591 (doc-view-pdf->png-converter-mupdf): New functions.
1592 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1594 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1596 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1597 first in session cache: When `tramp-own-remote-path' is in
1598 `tramp-remote-path', the remote path is only set in the session
1601 2013-01-09 Glenn Morris <rgm@gnu.org>
1603 * emacs-lisp/trace.el (trace-function-foreground)
1604 (trace-function-background): Doc fix.
1606 2013-01-09 Juri Linkov <juri@jurta.org>
1608 * international/mule-cmds.el (read-char-by-name): Move let-binding
1609 of completion-ignore-case around completing-read to fix regression
1610 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1611 `string-match-p' using the nil value of `case-fold-search' and
1612 `completion-ignore-case' in `completion-pcm--all-completions'.
1615 2013-01-09 Glenn Morris <rgm@gnu.org>
1617 * progmodes/compile.el (compilation-parse-errors):
1618 Fix typo. (Bug#13369)
1620 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1622 * comint.el (comint-send-input): Check size of buffer before
1623 waiting for process output, in case already accepted. (Bug#13290)
1625 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1628 * net/tramp-adb.el (tramp-adb-get-toolbox):
1629 Fix misspelling of 'unknown'.
1631 2013-01-08 Juri Linkov <juri@jurta.org>
1633 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1634 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1635 Use underline style wave on terminals that support it. (Bug#13000)
1637 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1640 the predicate returns nil.
1642 * simple.el: Use lexical-binding.
1643 (primitive-undo): Use pcase.
1644 (minibuffer-history-isearch-push-state): Use a closure.
1646 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1648 * simple.el (primitive-undo): Move from undo.c.
1650 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1652 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1653 (cvs-mode-remove-handled): Use it (bug#13380).
1655 * emacs-lisp/nadvice.el (advice--tweak): New function.
1656 (advice--remove-function, advice--subst-main): Use it.
1658 * emacs-lisp/advice.el: Update commentary.
1660 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1662 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1663 Remove spurious entry.
1665 2013-01-08 Glenn Morris <rgm@gnu.org>
1667 * net/tramp.el (tramp-default-host-alist): Add :version.
1669 2013-01-08 Juri Linkov <juri@jurta.org>
1671 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1672 single completion. (Bug#12456)
1673 (info--manual-names): Expand node completions into an explicit list
1674 before appending it to another list. Filter out internal buffers
1675 with the leading space in the buffer name. (Bug#10771)
1677 2013-01-08 Juri Linkov <juri@jurta.org>
1679 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1680 that defaults to the Top node.
1681 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1682 the short format (FILENAME) goes to the Top node.
1683 (Info-build-node-completions): Rename arg `file' to `filename'.
1686 2013-01-07 Bastien Guerry <bzg@gnu.org>
1688 * menu-bar.el (menu-bar-search-documentation-menu):
1689 Use `apropos-user-option' and fix the help message.
1691 2013-01-07 Bastien Guerry <bzg@gnu.org>
1693 * apropos.el (apropos-do-all): Update docstring.
1694 (apropos-user-option-button): New face.
1695 (apropos-user-option): Rename from `apropos-variable' and update
1697 (apropos-variable): Rewrite, now show all variables by default.
1698 (apropos-print): Mention "User option" instead of "Variable" when
1699 printing doc for user options. (Bug#13276)
1701 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1703 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1704 Handle filename correctly, when parsing "source -> target" symlink
1706 (tramp-adb-handle-set-file-times): New defun.
1708 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1711 advice list when the interactive-spec of ad-Advice-* changes.
1713 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1715 * wid-edit.el (widget-default-get): Work for inlined elements.
1718 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1720 * net/tramp.el (tramp-default-host-alist): New defcustom.
1721 (tramp-find-host): Use it.
1722 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1723 `eshell-directory-change-hook'.
1725 * net/tramp-adb.el (top): Add adb specific entry in
1726 `tramp-default-host-alist'.
1727 (tramp-adb-file-name-host): Remove function.
1728 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1729 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1731 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1733 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1735 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1737 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1739 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1740 consist of more than one digit.
1741 (tramp-adb-file-name-handler-alist):
1742 Use `tramp-handle-file-exists-p' consistently.
1743 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1744 (tramp-adb-handle-file-exists-p): Remove function.
1745 (tramp-adb-file-name-host): New defun.
1746 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1748 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1750 2013-01-06 Chong Yidong <cyd@gnu.org>
1752 * vc/vc.el (vc-next-action): Detect buffer modifications
1753 conflicting with locking VCS operation (Bug#11490).
1755 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1757 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1759 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1760 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1762 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1764 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1765 parsing of ls output using regular expression (handle filenames
1766 with spaces). Use virtual device number.
1767 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1770 2013-01-04 Daiki Ueno <ueno@gnu.org>
1772 * epg.el: Silence byte-compiler warnings.
1773 (epg--start): Use delete-char instead of delete-backward-char.
1774 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1776 2013-01-04 Daiki Ueno <ueno@gnu.org>
1778 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1779 Suggested by Eli Zaretskii <eliz@gnu.org>.
1781 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1783 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1784 non-negative integers. Otherwise, the default values are used.
1785 (tramp-convert-file-attributes): Convert uid and gid to integers.
1787 2013-01-04 Glenn Morris <rgm@gnu.org>
1789 * term.el (term-handle-colors-array): Ensure face attributes
1790 are fully specified, not nil. (Bug#13337)
1792 * term.el (term-default-fg-color, term-default-bg-color):
1795 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1796 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1797 rather than 'jka-compr being loaded. (Bug#13338)
1799 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1801 * icomplete.el (icomplete-completions):
1802 Honor icomplete-prospects-height once more following
1803 2012-11-29 changes. (Bug#13224)
1805 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1808 of called-interactively-p as well (bug#13237).
1810 * view.el (view--enable, view--disable): Rename from view-mode-enable
1811 and view-mode-disable and assume it's called from view-mode.
1812 (view-mode-enable, view-mode-disable): Redefine as obsolete
1813 compatibility layer above view-mode.
1814 (view-mode-enter): Call `view-mode'.
1816 * files.el (after-find-file): Call `view-mode'.
1818 * doc-view.el (doc-view-scale-internally): New var.
1819 (doc-view-enlarge, doc-view-insert-image): Obey it.
1821 2013-01-03 Daiki Ueno <ueno@gnu.org>
1823 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1826 2013-01-03 Glenn Morris <rgm@gnu.org>
1828 * mail/rmail.el (rmail-set-header-1): Ignore case.
1829 Handle multi-line headers. (Bug#13330)
1831 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1832 Handle paragraph starting at beginning of buffer.
1834 * subr.el (eval-after-load): Don't purecopy the form, so that it
1835 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1837 * emacs-lisp/byte-run.el (defun): Place cl declarations
1838 after any interactive spec. (Bug#13265)
1840 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1842 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1843 defun. Don't check for DECL if DOCSTRING isn't a string.
1846 2013-01-02 Glenn Morris <rgm@gnu.org>
1848 * eshell/em-cmpl.el (eshell-pcomplete):
1849 More thoroughly imitate pcomplete. (Bug#13293)
1851 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1852 Return nil for empty path elements. (Bug#13296)
1854 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1856 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1857 order to improve efficiency (Based on Daniel Colascione's
1858 <dancol@dancol.org> patch). (Bug#13182)
1860 2013-01-02 Glenn Morris <rgm@gnu.org>
1862 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1864 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1866 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1867 neither DOCSTRING nor DECL was given. (Bug#13316)
1869 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1871 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1873 (tramp-do-copy-or-rename-file): Ignore errors when calling
1874 `set-file-extended-attributes'.
1876 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1877 Add handler for `file-acl'.
1878 (tramp-smb-handle-file-acl): New defun.
1880 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1882 * calc/README: Mention ISO 8601 week-numbering dates.
1884 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1886 * view.el (view-mode-enable): New argument run-view-mode-hook.
1887 Run view-mode-hook only when it's non-nil (Bug#13315).
1888 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1891 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1893 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1894 (No device connected, invalid device name). (Bug #13299)
1896 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1898 * window.el (window-resizable--p): Rename to window-resizable-p.
1899 (window-resize-no-error): New function.
1901 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1902 broken in fix from 2012-12-28.
1904 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * subr.el (special-form-p): Don't signal errors on undef aliases.
1908 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1910 * calc/calc-forms.el (math-parse-date): Try using
1911 `math-parse-iso-date' when it looks like it might be needed.
1912 Allow times of 24:00.
1913 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1916 2012-12-30 Glenn Morris <rgm@gnu.org>
1918 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1919 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1920 (rmail-summary-displayed, rmail-summary): Declare.
1921 (mairix-rmail-display): Just require rmail.
1923 2012-12-30 Chong Yidong <cyd@gnu.org>
1925 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1926 check for the tarball contents.
1928 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1930 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1931 tarfile content listings (Bug#13136).
1933 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1935 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1936 Insert the undecoded text of the message being forwarded. (Bug#9521)
1938 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1940 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1941 integers, if they are real numbers. (Bug#13282)
1943 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1944 Return `t' on success.
1946 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1947 Add handler for `set-file-selinux-context'.
1949 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1951 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1952 (tramp-sh-handle-set-file-acl): Return `t' on success.
1954 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1956 * files.el (backup-buffer-copy, basic-save-buffer-2):
1957 If set-file-extended-attributes fails, fall back on set-file-modes
1958 instead of signaling an error. (Bug#13298)
1959 (basic-save-buffer): Likewise.
1961 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1963 * progmodes/python.el: Support other commands triggering
1964 python-indent-line so indentation cycling continues to work.
1965 (python-indent-trigger-commands): New defcustom.
1966 (python-indent-line): Use it.
1968 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1970 * progmodes/python.el (python-shell-send-region): Add blank lines
1971 for non sent code so backtraces remain correct.
1973 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1975 * progmodes/python.el: Remove cl dependency.
1976 (python-syntax-count-quotes): Replace incf call.
1977 (python-fill-string): Replace setf call.
1979 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1981 * info.el (info-other-window): New arg, for consistency with info.
1983 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1985 * mail/rmail.el (rmail-maybe-display-summary):
1986 Rewrite (Bug#13066).
1988 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1990 * epg.el (epg--start): Modify process-environment locally.
1992 2012-12-28 Daiki Ueno <ueno@gnu.org>
1994 * epg.el: Support pinentry-curses.
1995 Suggested by Werner Koch in
1996 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1997 (epg-agent-file, epg-agent-mtime): New variable.
1998 (epg--start): Record the modified time of gpg-agent socket file,
1999 to restore Emacs frame after pinentry-curses termination.
2000 (epg-wait-for-completion): Restore Emacs frame here.
2002 2012-12-27 Juri Linkov <juri@jurta.org>
2004 * info.el (Info-file-completions): New variable.
2005 (Info-read-node-name-1): Complete node names in the Info file
2006 when a file name is given. Call `Info-build-node-completions'
2008 (Info-build-node-completions): Add new arg `file'. When it is
2009 non-nil, visit it in a temporary buffer and cache its completions in
2010 `Info-current-file-completions'. Move most of the function body to
2011 `Info-build-node-completions-1'.
2012 (Info-build-node-completions-1): New function with the body from
2013 `Info-build-node-completions'. (Bug#12456)
2015 2012-12-27 Juri Linkov <juri@jurta.org>
2017 * frame.el (frame-maximization-style): Remove user option.
2018 (cycle-frame-maximized): Remove function.
2019 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2020 (toggle-frame-fullscreen): New command bound to <f11> instead of
2021 `toggle-frame-maximized'.
2022 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2024 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2026 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2028 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2030 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2031 for `file-accessible-directory-p'. (Bug#13275)
2033 2012-12-27 Sam Steingold <sds@gnu.org>
2035 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2036 continuations, see <http://stackoverflow.com/questions/3582436>.
2038 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2040 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2041 "module" and "def" to have indentation before them.
2042 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2044 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2046 2012-12-27 Alan Mackenzie <acm@muc.de>
2048 Speed up fontification where there's large brace blocks.
2049 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2050 to a call of c-beginning-of-decl-1.
2052 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2054 * comint.el (comint-adjust-window-point): New function.
2055 (comint-postoutput-scroll-to-bottom):
2056 Call comint-adjust-window-point (Bug#13248).
2058 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2060 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2062 (auto-mode-alist): Associate .gemspec files with ruby-mode
2063 (https://bugs.ruby-lang.org/issues/5453).
2065 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2067 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2068 Suppress coloring, if possible (required for BusyBox based systems like
2070 (tramp-adb-handle-file-attributes)
2071 (tramp-adb-handle-insert-directory)
2072 (tramp-adb-handle-file-name-all-completions): Use it.
2073 (tramp-adb-get-toolbox): New defun. Check for remote shell
2074 implementation (BusyBox or Toolbox).
2076 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2078 * startup.el (initial-buffer-choice): Allow function as value
2080 (command-line-1): Handle case where initial-buffer-choice
2081 specifies a function.
2082 * server.el (server-execute): Handle case where
2083 initial-buffer-choice specifies a function.
2085 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2087 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2089 (smtpmail-try-auth-methods): Forget the user name/password if the
2090 login is unsuccessful (bug#12424).
2092 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2094 * notifications.el (notifications-notify): Protect body with
2095 `with-demoted-errors'.
2097 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2098 Check properties of remote device. Restart connection, if there is a
2101 2012-12-21 Chong Yidong <cyd@gnu.org>
2103 * sort.el (sort-subr): Doc fix (Bug#13056).
2105 2012-12-21 Bastien Guerry <bzg@gnu.org>
2107 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2109 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2111 * simple.el (process-file): Overwrite stderr file, if exists.
2113 2012-12-21 Daiki Ueno <ueno@gnu.org>
2115 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2116 (epg-error): Set `error-message' property.
2118 2012-12-21 Chong Yidong <cyd@gnu.org>
2120 * international/mule-cmds.el (read-char-by-name): Signal an error
2121 if the user does not supply a valid character (Bug#13177).
2123 * simple.el (transpose-subr-1): Preserve marker positions by
2124 changing the insertion sequence (Bug#13122).
2126 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2128 * simple.el (kill-region): Deactivate mark even for empty regions
2131 2012-12-21 Chong Yidong <cyd@gnu.org>
2133 * help-fns.el (describe-variable): Make sure we get the right
2134 buffer name (Bug#13105). Suggested by Kelly Dean.
2136 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2138 * comint.el (comint-redirect-previous-input-string): New variable.
2139 (comint-redirect-setup, comint-redirect-cleanup)
2140 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2141 (comint-redirect-preoutput-filter): Fix verbose message.
2143 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2145 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2146 is too long for Tramp. See discussion in
2147 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2149 * progmodes/compile.el (compilation-start): Remove line escape
2152 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2154 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2157 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2159 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2160 following non-comment text (bug#13207).
2161 (lm-header-multiline): Continuation lines need to be indented more than
2163 (lm-homepage): New function.
2164 (lm-with-file): Don't be confused if narrowing is in effect.
2166 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2169 very beginning of a hunk (e.g. killing the first line).
2171 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2173 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2174 and text properties from returned ACL string.
2175 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2176 for "setfacl" command.
2178 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2180 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2181 `tramp-cleanup-this-connection', when the process has died.
2184 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2188 2012-12-17 Kevin Ryde <user42@zip.com.au>
2190 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2192 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2194 Add support for preserving ACL entries of files.
2196 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2197 `set-file-acl' handlers.
2199 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2200 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2202 * net/tramp-compat.el (tramp-compat-copy-file):
2203 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2205 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2206 Add `file-acl' and `set-file-acl' handlers.
2207 (tramp-gvfs-handle-copy-file):
2208 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2209 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2212 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2213 Add `file-acl' and `set-file-acl' handlers.
2214 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2215 (tramp-sh-handle-set-file-acl): New defuns.
2216 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2217 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2219 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2220 Add `file-acl' and `set-file-acl' handlers.
2221 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2223 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2225 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2226 use pop-to-buffer with NORECORD argument t. As buffer name, use
2227 *Metahelp* with a leading space (Bug#13190).
2229 2012-12-16 Romain Francoise <romain@orebokech.com>
2231 * files.el (file-extended-attributes)
2232 (set-file-extended-attributes): New functions.
2233 (backup-buffer): Use them to handle both SELinux context and ACL
2235 (backup-buffer-copy): Work with an alist of extended attributes,
2236 rather than an SELinux context.
2237 (basic-save-buffer-2): Ditto.
2239 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2241 * battery.el (battery-bsd-apm): New function.
2243 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2245 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2246 standard date formats.
2248 2012-12-15 Juri Linkov <juri@jurta.org>
2250 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2251 `isearch-insert-char-by-name'.
2252 (with-isearch-suspended): New defmacro with body mostly from
2253 `isearch-edit-string' except the part that sets
2254 `isearch-new-string' and `isearch-new-message'.
2255 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2256 body that sets `isearch-new-string' and `isearch-new-message'.
2257 (isearch-insert-char-by-name): New command.
2258 * international/mule-cmds.el (read-char-by-name): Let-bind
2259 `enable-recursive-minibuffers' to t.
2260 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2262 2012-12-15 Juri Linkov <juri@jurta.org>
2264 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2267 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2269 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2270 the prompt. (Bug#13045)
2272 2012-12-14 Glenn Morris <rgm@gnu.org>
2274 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2275 Try to include filename in non-bytecomp warning. (Bug#13132)
2277 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2279 Fix permissions bugs with setgid directories etc. (Bug#13125)
2280 * files.el (backup-buffer): Don't rely on 9th output of
2281 file-attributes, as it's now a placeholder. Instead, use the new
2282 optional arg of file-ownership-preserved-p.
2283 (file-ownership-preserved-p): New optional arg GROUP.
2284 Fix mishandling of setuid directories that would cause this
2285 function to return t when it should have returned nil.
2286 Document what happens if the file does not exist, and when
2287 it's not known whether the ownership will be preserved.
2288 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2290 (tramp-get-local-gid): Use group-gid for integer, as that's
2291 faster and more reliable.
2293 2012-12-14 Julien Danjou <julien@danjou.info>
2295 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2296 Update keywords list, data type and PL/pgSQL.
2298 2012-12-14 Dave Abrahams <dave@boostpro.com>
2300 * vc/ediff-util.el (ediff-buffer-type): New function.
2301 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2302 rather than taking it as as argument.
2303 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2305 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2307 * json.el: Add pretty-print option (bug#12634).
2308 (json-encoding-separator, json-encoding-default-indentation)
2309 (json--encoding-current-indentation, json-encoding-pretty-print)
2310 (json-encoding-lisp-style-closings): New vars.
2311 (json--with-indentation): New macro.
2312 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2313 (json-encode-array): Use it to obey json-encoding-pretty-print.
2314 (json-pretty-print-buffer, json-pretty-print): New commands.
2316 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2318 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2319 Extract `ruby-syntax-propertize-expansions'.
2320 (ruby-syntax-propertize-expansions): Only change syntax on
2321 certain string delimiters, to punctuation. This way the common
2322 functions like forward-word and thing-at-point still work.
2323 (ruby-match-expression-expansion): Improve readability.
2324 (ruby-block-contains-point): New function.
2325 (ruby-add-log-current-method): Handle several edge cases.
2327 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2329 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2330 unload-feature finishes even when aborting an ongoing edebug session.
2331 Also, do not worry about edebug-mode, unload-feature takes care of it.
2333 2012-12-13 Andreas Schwab <schwab@suse.de>
2335 * net/tls.el (tls-program): Update customize type.
2337 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2339 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2340 (edebug-setup-hook, cl-read-load-hooks): Use it.
2341 (edebug-unload-function): New function. (Bug#13163)
2343 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2345 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2346 Otherwise, there could be errors in autoloading. (Bug#13151)
2348 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2350 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2353 2012-12-13 Alan Mackenzie <acm@muc.de>
2355 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2356 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2357 around `forward-comment' not recognizing ^M as whitespace.
2359 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2361 * progmodes/python.el (python-skeleton-class)
2362 (python-skeleton-def): Do not add space after defun name.
2364 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2366 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2367 (cl--symbol-function): Remove (now that funbound is like nil).
2369 2012-12-12 Glenn Morris <rgm@gnu.org>
2371 * button.el (button--area-button-p): Fix typo.
2373 2012-12-12 Sam Steingold <sds@gnu.org>
2375 * frame.el (frame-maximization-style): New user option.
2376 (toggle-frame-maximized): Toggle frame maximization according to
2377 `frame-maximization-style', bound to <f11>.
2378 (cycle-frame-maximized): Cycle between all maximization styles and
2379 non-maximized frame, bound to shift-<f11>.
2381 2012-12-12 David Cadé <codename68@gmail.com>
2383 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2385 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2387 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2388 (eieio-override-prin1): Don't quote kewords and booleans.
2389 (object-write) <eieio-default-superclass>: Don't put closing parens
2390 on new line, avoid needless empty lines, align values that are objects
2391 with the slot keyword (instead of beginning on the same line).
2392 (eieio-list-prin1): Align value with slot keyword; increase
2393 eieio-print-depth before printing members of the list.
2395 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2397 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2398 a display text-property.
2399 (report-emacs-bug-hook): Don't bother deleting it any more.
2401 * hilit-chg.el (highlight-save-buffer-state): Delete.
2402 Use with-silent-modifications instead.
2403 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2405 * button.el: Handle buttons in display text-properties.
2406 (button--area-button-p, button--area-button-string):
2407 Use (STRING . STRING-POS) representation instead of just STRING.
2409 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2411 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2412 subdirectory be skipped.
2414 2012-12-11 Glenn Morris <rgm@gnu.org>
2416 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2418 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2419 Treat preprocessor lines embedded in continuations like comments.
2420 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2422 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2424 * calc/calc.el (calc-standard-date-formats): Add more date
2426 * calc/calc-forms.el (math-parse-iso-date): New function.
2427 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2428 (math-parse-iso-date-validate): Add extra error checking.
2429 (calc-date-notation): Add ability to access new date formats.
2431 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2434 font-lock as well as when there's no text-property.
2436 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2438 * hi-lock.el: Refine the choice of default face.
2439 (hi-lock-keyword->face): New function. Use it wherever we used
2441 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2442 (hi-lock--last-face): Remove var.
2443 (hi-lock--unused-faces): New var to replace it.
2444 (hi-lock-read-face-name): Use/maintain it.
2445 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2446 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2447 if it has another face.
2449 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2451 * subr.el (w32notify-handle-event): New function.
2452 (inotify-handle-event): Doc fix.
2454 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2456 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2458 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2460 * simple.el (just-one-space): Doc fix.
2462 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2464 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2466 2012-12-10 Le Wang <l26wang@gmail.com>
2468 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2469 narrowed buffer (bug#12361).
2471 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2473 * vc/vc-hooks.el (vc-state): Doc fix.
2475 2012-12-10 Glenn Morris <rgm@gnu.org>
2477 * mail/rmail.el (rmail-maybe-display-summary):
2478 Preserve buffer, in case select-window changes it. (Bug#13066)
2480 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2483 cl-load-hook where they belong.
2485 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2487 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2489 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2491 Parallelize byte compilation on MS-Windows.
2492 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2493 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2494 (WINS_BASIC): Define as concatenation of the above.
2495 (compile): Subdivide into 4 separate and independent jobs that can
2497 (compile0-CMD, compile0-SH): New targets for compiling
2498 COMPILE_FIRST files, which are prerequisites for the rest of the
2500 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2501 New targets for parallel compilation with cmd.exe.
2502 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2503 compiling under a Unixy shell.
2505 2012-12-09 Chong Yidong <cyd@gnu.org>
2507 * simple.el (set-mark-default-inactive): Delete this
2508 accidentally-introduced option.
2509 (set-mark-command, exchange-point-and-mark): Remove calls.
2511 2012-12-09 Glenn Morris <rgm@gnu.org>
2513 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2514 Respect a defcustom's :set function, if appropriate. (Bug#109)
2515 (eval-defun): Doc fix.
2517 2012-12-08 Juri Linkov <juri@jurta.org>
2519 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2520 (Info-fontify-node, Info-bookmark-make-record): Remove the
2521 file extension from Info-current-file (Bug#13016).
2523 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2526 point, still provide some default.
2527 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2528 names, since we don't use it right now. Actually return the list.
2529 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2531 2012-12-07 Chong Yidong <cyd@gnu.org>
2533 * novice.el (disabled-command-function): Remove a spurious help
2534 xref (Bug#13043). Suggested by Kelly Dean.
2536 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2537 syntax is specified (Bug#13025).
2539 * info.el (Info-set-mode-line): Remove the file extension from
2540 Info-current-file if there is one (Bug#13016).
2542 2012-12-07 Glenn Morris <rgm@gnu.org>
2544 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2545 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2546 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2547 and rmail-mime-decoded. (Bug#9841)
2549 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2550 (batch-unrmail, unrmail): Doc fixes.
2551 (unrmail): Respect unrmail-mbox-format.
2552 * mail/rmail.el (rmail-mbox-format): New option.
2553 (rmail-show-message-1): Respect rmail-mbox-format.
2555 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2557 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2559 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2561 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2562 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2563 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2564 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2565 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2566 (cl-progv): Don't rely on dynamic scoping to find the body.
2567 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2568 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2569 (cl-declaim): Use backquotes.
2570 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2571 Use "cl--" prefix for the object's tag.
2573 * ses.el: Use advice-add/remove.
2574 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2575 (copy-region-as-kill, yank): Use advice-add.
2576 (ses-unload-function): Use advice-remove.
2578 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2580 * button.el: Make them work in header-lines (bug#12817).
2581 (button-map): Add bindings for header-line and mode-line use.
2582 (button-get, button-put, button-label): `button' may now be a string.
2583 (button-activate): Don't make it a defsubst.
2584 (button--area-button-p, button--area-button-string): New functions.
2585 (make-text-button): Fix the return value when `beg' was a string.
2586 (push-button): Handle the mode-line case.
2588 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2590 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2591 (sql-signum): Remove. Use `cl-signum' instead.
2592 (sql-read-passwd): Remove; use read-passwd instread.
2593 (sql-get-login-ext): Use read-string.
2594 (sql-get-login): Use dolist and pcase.
2595 (sql--completion-table): Rename from sql-try-completion.
2596 Use complete-with-action.
2597 (sql-mode): Don't change abbrev-all-caps globally.
2598 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2599 (sql-postgres-completion-object): Initialize vars in their `let'.
2600 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2601 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2602 (sql-comint-interbase): Use a single append, without setq.
2603 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2605 * hi-lock.el: Rework the default face and the serialize regexp code.
2606 (hi-lock--auto-select-face-defaults): Remove.
2607 (hi-lock-string-serialize-serial): Remove.
2608 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2610 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2612 (hi-lock-set-pattern): Adjust accordingly.
2613 (hi-lock--regexps-at-point): Simplify accordingly.
2614 (hi-lock--auto-select-face-defaults): Remove.
2615 (hi-lock--last-face): New var to replace it.
2616 (hi-lock-read-face-name): Rewrite (bug#11095).
2617 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2619 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp.el (tramp-replace-environment-variables):
2622 Hide compiler warning.
2623 (tramp-file-name-for-operation): Remove `executable-find',
2624 `start-process', `call-process' and `call-process-region'.
2626 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2628 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2631 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2633 2012-12-06 Chong Yidong <cyd@gnu.org>
2635 * ffap.el (ffap-replace-file-component): Fix typo.
2637 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2639 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2640 fix open-paren-like token test (bug#12785).
2642 2012-12-06 Glenn Morris <rgm@gnu.org>
2644 * mail/rmailsum.el (rmail-new-summary): Tweak for
2645 rmail-maybe-display-summary changing buffer. (Bug#13066)
2647 2012-12-06 Juri Linkov <juri@jurta.org>
2649 * info.el (Info-fontify-node): Don't hide the last newline.
2652 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2654 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2655 so as to enable message-read-from-minibuffer to expand mail aliases.
2657 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2660 the `intangible' property.
2661 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2663 2012-12-05 Deniz Dogan <deniz@dogan.se>
2665 * net/rcirc.el (rcirc-urls): Update documentation.
2666 (rcirc-condition-filter): New function.
2667 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2668 and exclude consecutive duplicate URLs (Bug#6082).
2670 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2672 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2673 Check return code of copy command.
2675 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2676 Use group `tramp'. Add version.
2678 2012-12-05 Chong Yidong <cyd@gnu.org>
2680 * ffap.el (ffap-url-regexp): Don't require matching at front of
2682 (ffap-url-p): If only a substring matches, return that.
2683 (ffap-url-at-point): Use the return value of ffap-url-p.
2684 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2685 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2686 (ffap-guess-file-name-at-point): Likewise.
2687 (ffap-replace-file-component): Fix typo.
2689 * info.el (info-display-manual): Add existing Info buffers, whose
2690 files may not be in Info-directory-list, to the completion.
2691 (info--manual-names): New helper function.
2693 2012-12-05 Glenn Morris <rgm@gnu.org>
2695 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2696 New functions, for detecting and resolving conflicts. (Bug#10709)
2698 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2700 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2701 (hi-lock-auto-select-face-defaults): New buffer local variable.
2702 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2703 (hi-lock-unface-buffer): Prompt user with useful defaults.
2704 With prefix arg, unhighlight all hi-lock patterns in buffer.
2706 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2708 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2710 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2712 * Makefile.in (TRAMP_SRC):
2713 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2715 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2717 * net/tramp-adb.el: New package.
2719 2012-12-04 Chong Yidong <cyd@gnu.org>
2721 * terminal.el: Move to obsolete/.
2723 * longlines.el: Move to obsolete/.
2725 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2726 Remove code referring to longlines mode.
2728 2012-12-03 Juri Linkov <juri@jurta.org>
2730 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2732 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2734 * textmodes/ispell.el (ispell-init-process)
2735 (ispell-start-process, ispell-internal-change-dictionary):
2736 Make sure personal dictionary name is expanded after initial
2737 `default-directory' value. Use expanded strings for
2738 keep/restart checks and for value (Bug#13019).
2740 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2742 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2744 2012-12-03 Leo Liu <sdl.web@gmail.com>
2746 * files.el (dir-locals-read-from-file): Check file non-empty
2747 before reading. (Bug#13038)
2749 2012-12-03 Glenn Morris <rgm@gnu.org>
2751 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2752 Remove any version extension before checking filename. (Bug#13006)
2753 (jka-compr-compression-info-list): Belated :version bump.
2755 2012-12-03 Chong Yidong <cyd@gnu.org>
2757 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2759 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2760 (buffer-menu): Doc fix (Bug#12294).
2762 2012-12-03 Roland Winkler <winkler@gnu.org>
2764 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2765 of diary-show-all-entries in the diary buffer (Bug#12994).
2767 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2769 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2770 "<STDIN>". This is binary safe.
2772 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2774 * calc/calc-forms.el (math-absolute-from-iso-dt)
2775 (math-date-to-iso-dt, math-parse-iso-date-validate)
2776 (math-iso-dt-to-date): New functions.
2777 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2778 (math-fd-isoweekday): New variables.
2779 (calc-date-notation, math-parse-standard-date, math-format-date)
2780 (math-format-date-part): Add support for more formatting codes.
2782 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2784 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2785 current buffer's file name when called interactively (Bug#12488).
2787 2012-12-02 Juri Linkov <juri@jurta.org>
2789 * info.el (info-display-manual): Don't clobber an existing Info
2790 buffer (Bug#10770). Add completion (Bug#10771).
2792 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2794 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2795 before using it for comparison (Bug#5297).
2797 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2799 * textmodes/css-mode.el (css-current-defun-name): New function.
2802 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2803 (html-mode): Use it.
2805 2012-12-01 Chong Yidong <cyd@gnu.org>
2807 Modularize add-log-current-defun (Bug#2224).
2808 Suggested by Jari Aalto.
2810 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2811 (add-log-current-defun): Move mode-specific code to other files.
2812 (add-log-lisp-like-modes, add-log-c-like-modes)
2813 (add-log-tex-like-modes): Variables deleted.
2815 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2816 (lisp-mode-variables): Use it.
2818 * progmodes/cc-mode.el (c-common-init):
2819 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2820 add-log-current-defun-function.
2822 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2825 * progmodes/perl-mode.el (perl-current-defun-name): New.
2826 (perl-mode): Use it.
2828 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2829 Use lisp-current-defun-name.
2831 * textmodes/tex-mode.el (tex-current-defun-name): New.
2832 (tex-common-initialization): Use it.
2834 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2835 (texinfo-mode): Use it.
2837 2012-12-01 Chong Yidong <cyd@gnu.org>
2839 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2840 * progmodes/autoconf.el (autoconf-mode):
2841 * progmodes/js.el (js-mode):
2842 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2843 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2844 * progmodes/perl-mode.el (perl-mode):
2845 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2846 * textmodes/css-mode.el (css-mode):
2847 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2848 (sgml-tags-invisible, sgml-guess-indent):
2849 * textmodes/tex-mode.el (tex-common-initialization)
2850 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2851 (doctex-mode, plain-tex-mode, latex-mode):
2852 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2854 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2856 * vc/vc-hg.el (vc-hg-next-revision):
2857 Ensure use of default "tip" output format. (Bug#6968)
2859 2012-12-01 Kim F. Storm <storm@cua.dk>
2861 * startup.el (fancy-startup-tail): Add a clickable link
2864 2012-12-01 Chong Yidong <cyd@gnu.org>
2866 * startup.el (fancy-startup-tail): Improve the message about
2867 auto-save files (Bug#2176).
2869 * files.el (recover-session): Improve the descriptive message, and
2870 use substitute-command-keys.
2872 2012-12-01 Glenn Morris <rgm@gnu.org>
2874 * ido.el (ido-file-internal):
2875 Handle other-window, other-frame for dired. (Bug#13036)
2877 2012-11-30 Glenn Morris <rgm@gnu.org>
2879 * icomplete.el (icomplete-separator): Fix :version.
2881 2012-11-30 Chong Yidong <cyd@gnu.org>
2883 * shell.el (shell): For C-u M-x shell, use an inactive shell
2884 buffer as the default (Bug#1975).
2885 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2886 (shell-mode): Use them to reapply ansi colorization if Shell mode
2889 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2891 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2893 2012-11-30 Samuel Bronson <naesten@gmail.com>
2895 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2896 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2898 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2900 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2901 by move-to-column (Bug#3234).
2903 2012-11-30 Chong Yidong <cyd@gnu.org>
2905 * longlines.el (longlines-wrap-line, longlines-encode-region):
2906 Preserve text properties (Bug#1425).
2908 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2910 * vc/vc.el (vc-register): Allow registering a file which is
2911 already registered with a different backend (Bug#10589).
2913 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2914 Stefan Monnier <monnier@iro.umontreal.ca>
2916 * icomplete.el: Change separator; add ido-style commands.
2917 (icomplete-show-key-bindings): Remove custom var.
2918 (icomplete-get-keys): Remove function.
2919 (icomplete-forward-completions, icomplete-backward-completions):
2921 (icomplete-minibuffer-map): New var.
2922 (icomplete-minibuffer-setup): Use it.
2923 (icomplete-exhibit): Don't delay if the list of completions is known.
2924 (icomplete-separator): New custom.
2925 (icomplete-completions): Use it.
2926 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2927 (minibuffer-force-complete-and-exit): New command.
2928 (minibuffer--complete-and-exit): New function extracted from
2929 minibuffer-complete-and-exit.
2930 (minibuffer-complete-and-exit): Use it.
2932 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2933 error message when the file doesn't exist (bug#12974).
2935 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2937 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2939 2012-11-29 Glenn Morris <rgm@gnu.org>
2941 * files.el (hack-dir-local-variables): Warn if try to set
2942 coding via dir-locals, since it doesn't work. (Bug#7169)
2944 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2945 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2946 Set buffer-local value of desktop-save-buffer.
2947 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2949 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2950 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2952 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2953 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2955 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2958 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2960 * calc/calc-forms.el (calc-date-notation): Fix regexp
2961 used to find time codes. Fix symbol for seconds.
2963 2012-11-27 Glenn Morris <rgm@gnu.org>
2965 * emacs-lisp/derived.el (derived-mode-make-docstring):
2966 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2968 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2971 lexically scoped variables (bug#13005).
2973 2012-11-27 Glenn Morris <rgm@gnu.org>
2975 * vc/vc-hooks.el (vc-mistrust-permissions):
2976 Default to t, to avoid data-loss. (Bug#11490)
2978 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2980 * progmodes/python.el (python-indent-guess-indent-offset):
2981 If indentation is guessed make python-indent-offset buffer-local.
2983 Fix Imenu regression.
2984 * progmodes/python.el (python-nav-beginning-of-defun):
2985 Fix forward movement when statement(s) separates point from defun.
2986 (python-imenu-prev-index-position): New function.
2988 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2990 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2992 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2993 Don't set buffer-file-type. Return nil. (Bug#12989)
2995 2012-11-27 Glenn Morris <rgm@gnu.org>
2997 * hippie-exp.el (hippie-expand-try-functions-list):
2998 Re-autoload it. (Bug#12982)
3000 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3002 * descr-text.el (describe-char-padded-string):
3003 Call internal-char-font only on GUI frames. (Bug#11964)
3005 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3007 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3008 and obsoletion message.
3010 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3012 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3013 the constructs to keep outside of the `cl-block' (bug#12977).
3015 2012-11-27 Chong Yidong <cyd@gnu.org>
3017 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3018 keep reading until we get the up-event anyway, in order to process
3019 the up-event for mouse-1-click-follows-link (Bug#12971).
3021 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3023 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3024 base function is not yet defined (bug#12965).
3025 (ad-activate-advised-definition): Use ad-compile-function.
3026 (ad-activate): Use cond.
3028 2012-11-25 Leo Liu <sdl.web@gmail.com>
3030 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3033 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3035 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3036 reftex-section-info-function in order to be compatible with
3037 Texinfo integration.
3039 * textmodes/reftex.el (reftex-section-pre-regexp)
3040 (reftex-section-post-regexp, reftex-section-info-function):
3042 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3043 reftex-section-post-regexp, and reftex-section-info-function in order
3044 to be compatible with Texinfo integration.
3046 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3047 use reftex-section-pre-regexp variable in order to be compatible with
3048 Texinfo integration.
3050 2012-11-25 Chong Yidong <cyd@gnu.org>
3052 * faces.el: Make face-spec-set more analogous to setq.
3053 (face-spec-set): Change the third arg to specify whether this
3054 function is being called via defface, customize, or a third party.
3055 Set the appropriate symbol properties. Clear the override spec if
3056 setting via Custom. Initialize face if necessary. (Bug#4988)
3057 (face-spec-recalc): Allow theme faces to completely replace the
3058 defface spec, in the same way as custom faces (Bug#8454).
3060 * cus-face.el (custom-declare-face): Move face initialization to
3062 (custom-theme-set-faces): Don't initialize the face name here, as
3063 that is now done in face-spec-set.
3065 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3066 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3067 Simplify by using the new arg to face-spec-set.
3069 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3070 reset face-override-spec too, and use custom-declare-face.
3072 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3074 * term/ns-win.el (ns-initialize-window-system): Move creation of
3075 fontsets here (Bug#11964).
3077 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3079 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3082 2012-11-24 Chong Yidong <cyd@gnu.org>
3084 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3087 * custom.el (custom-theme-set-variables): Use a topological sort
3088 for ordering by custom dependencies (Bug#12952).
3089 (custom--sort-vars, custom--sort-vars-1): New functions.
3091 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3094 lexical-binding (bug#12938).
3096 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3098 * image-mode.el (image-transform-check-size): Use assertions only
3099 for images of type imagemagick.
3101 Otherwise no error, image-transform-fit-to-{width,height} is
3102 silently ignored, as before. Doc fix.
3104 2012-11-24 Chong Yidong <cyd@gnu.org>
3106 * faces.el (color-defined-p): Doc fix (Bug#12853).
3108 2012-11-24 Juri Linkov <juri@jurta.org>
3110 * dired.el (dired-mark): Add optional arg `interactive'.
3111 Check for `use-region-p' if `interactive' is non-nil.
3112 (dired-unmark, dired-flag-file-deletion): Add optional arg
3113 `interactive'. Call `dired-mark' with the arg `interactive'.
3116 * wdired.el: Revert 2012-10-17 change partly and replace it with
3117 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3118 (wdired-finish-edit): Add marks for new file names to
3119 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3120 after `revert-buffer'.
3121 (wdired-do-renames): Remove calls to `dired-remove-file',
3122 `dired-add-file', `dired-add-entry'. (Bug#11795)
3124 2012-11-24 Alan Mackenzie <acm@muc.de>
3126 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3128 Fix bugs in the state cache. Enhance a debugging mechanism.
3129 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3130 "brace at column zero" strategy for C++.
3131 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3132 (c-parse-state-point): New variable.
3133 (c-record-parse-state-state): Record old parse state with
3134 `copy-tree'. Record previous value of point.
3135 (c-debug-parse-state-double-cons): New debugging function.
3136 (c-debug-parse-state): Call the above new function.
3137 (c-toggle-parse-state-debug): Output a confirmatory message.
3139 * progmodes/cc-mode.el (c-before-change, c-after-change):
3140 Call c-invalidate-state-cache from `c-before-change' instead of
3143 2012-11-23 Chong Yidong <cyd@gnu.org>
3145 * find-cmd.el (find-constituents): Add executable, ipath,
3146 readable, samefile, writable, daystart, regextype (Bug#12856).
3148 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3150 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3152 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3154 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3155 definition. This fixes a bootstrap failure.
3156 (calc-gregorian-switch): In menu, put dates before regions.
3157 This is easier to follow, lines up better in the menu, and lets us
3158 coalesce regions that switch at the same time. Give country
3159 names, not "Vatican", as that's better for non-expert users.
3160 Use names that are stable between the date of switch and now, e.g.,
3161 Bohemia and Moravia (which existed then and now) and not
3162 Czechoslovakia (which didn't exist then and doesn't exist now).
3163 What is now the U.S. mostly did not switch at the same time as
3164 Britain, so omit the U.S. Correct spelling of "Britain".
3165 Catholic Switzerland was too much of a mess, so omit it.
3167 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3169 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3170 after the variable is changed.
3172 2012-11-21 Daniel Colascione <dancol@dancol.org>
3174 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3175 in SQL declarations for font-lock.
3176 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3178 2012-11-21 Glenn Morris <rgm@gnu.org>
3180 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3181 (face-italic-p): Add optional argument "inherit".
3183 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3184 Remove -p suffix from names, for consistency with other set-face-*.
3185 (set-face-inverse-video): Fix interactive spec.
3186 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3187 * textmodes/table.el (table--update-cell-face):
3188 Use set-face-inverse-video rather than now obsolete alias.
3190 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3192 * simple.el (line-move): Don't call line-move-partial if
3193 scroll-conservatively is in effect. (Bug#12927)
3195 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3197 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3198 Fallback on completion-at-point rather than
3199 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3200 (eshell-cmpl-initialize): Setup completion-at-point.
3202 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3204 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3206 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3208 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3209 are remote, check out-of-band property for both.
3211 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3213 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3216 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3218 More minor time fixes.
3219 * calendar/time-date.el: Commentary fix.
3220 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3221 too much other code depends on (0 0) time stamps.
3222 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3223 Add a couple of FIXME comments.
3225 Minor cleanup for times as lists of four integers.
3226 * files.el (dir-locals-directory-cache):
3227 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3229 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3230 * ps-bdf.el (bdf-file-newer-than-time):
3231 Process four-integers time stamps, not two. Doc fixes.
3233 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * uniquify.el (uniquify-managed): Use defvar-local.
3236 (rename-buffer, create-file-buffer): Advise with advice-add.
3237 (uniquify-unload-function): Unadvise accordingly.
3239 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3240 (trace-buffer): Don't purecopy.
3241 (trace-entry-message, trace-exit-message): Add `context' arg.
3242 (trace--timer): New var.
3243 (trace-make-advice): Adjust for use in nadvice.
3244 Add `context' argument. Delay `display-buffer' via a timer.
3245 (trace-function-internal): Use advice-add.
3246 (trace--read-args): New function.
3247 (trace-function-foreground, trace-function-background): Use it.
3248 (trace-function): Rename to trace-function-foreground and redefine as
3249 an alias to that new name.
3250 (untrace-function, untrace-all): Adjust to the use of nadvice.
3252 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3254 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3256 * subr.el (called-interactively-p-functions): New var.
3257 (internal--called-interactively-p--get-frame): New macro.
3258 (called-interactively-p, interactive-p): Rewrite in Lisp.
3259 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3260 (called-interactively-p-functions): Use it.
3261 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3262 (called-interactively-p-functions): Use it.
3263 * allout.el (allout-called-interactively-p): Don't assume
3264 called-interactively-p is a subr.
3266 2012-11-20 Glenn Morris <rgm@gnu.org>
3268 * profiler.el (profiler-report-mode-map): Add a menu.
3269 No need to bind `q' because we derive from special-mode.
3270 (profiler-report-find-entry): Handle calls from the menu-bar.
3272 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * emacs-lisp/byte-run.el (defun-declarations-alist):
3275 Allow a compiler-macro to be a lambda expression.
3277 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3279 (python-syntax-context): Add compiler-macro.
3280 (python-font-lock-keywords): Simplify with De Morgan.
3282 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3284 * files.el (load-file): Require match in minibuffer selection, as was
3285 the case in Emacs-20 before we changed the spec to allow .elc files
3288 * json.el: Don't require cl since we don't use it.
3289 * color.el: Don't require cl.
3290 (color-complement): `caddr' -> `nth 2'.
3292 * calendar/time-date.el (time-to-seconds): De-obsolete.
3294 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3296 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3298 (math-date-to-julian-dt): Adjust the initial approximation for the
3299 year to deal with the new definition of the DATE.
3301 2012-11-19 Daniel Colascione <dancol@dancol.org>
3303 * term/w32-win.el (cygwin-convert-path-from-windows):
3304 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3306 2012-11-18 Chong Yidong <cyd@gnu.org>
3308 * filecache.el (file-cache--read-list): New function.
3309 (file-cache-add-directory-list, file-cache-add-file-list)
3310 (file-cache-delete-file-list, file-cache-delete-directory-list):
3311 Use it to read a list of files or directories (Bug#12846).
3312 (file-cache-add-file, file-cache-add-directory)
3313 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3314 (file-cache-delete-directory): Print an message.
3316 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3318 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3319 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3321 2012-11-18 Glenn Morris <rgm@gnu.org>
3323 * image.el (insert-image, insert-sliced-image): Doc fix.
3325 2012-11-18 Chong Yidong <cyd@gnu.org>
3327 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3330 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3332 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3333 response when the target file is in a subdirectory (Bug#12757).
3335 2012-11-18 Chong Yidong <cyd@gnu.org>
3337 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3339 2012-11-18 Glenn Morris <rgm@gnu.org>
3341 * emacs-lisp/cl-lib.el (face-underline-p):
3342 Use set-face-underline rather than the alias set-face-underline-p.
3344 * window.el (with-temp-buffer-window): Doc fix.
3345 * subr.el (with-output-to-temp-buffer):
3346 Add doc xref to with-temp-buffer-window.
3348 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3350 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3351 * calc/calc.el (math-format-date-cache): Declare.
3353 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3355 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3356 It also uses January 1, 1 AD as its day number 1.
3357 * calc/calc-forms.el (math-julian-date-beginning)
3358 (math-julian-date-beginning-int): Implement this.
3360 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3362 * descr-text.el (quail-find-key):
3363 * dired.el (desktop-file-name):
3364 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3365 * generic-x.el (comint-mode, comint-exec):
3366 * image-dired.el (widget-forward):
3367 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3368 (speedbar-change-expand-button-char)
3369 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3370 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3371 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3372 (widget-field-action, widget-value-set):
3373 * speedbar.el (imenu--make-index-alist):
3374 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3375 (ring-length, ring-insert):
3376 * vcursor.el (compare-windows-skip-whitespace):
3377 * woman.el (dired-get-filename):
3380 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3382 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3384 * calc/calc.el (calc-gregorian-switch): New variable.
3386 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3387 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3388 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3389 (math-leap-year-p): Add option to distinguish between Julian
3390 and Gregorian calendars.
3391 (math-day-number): Use `math-day-in-year' to do the computations.
3392 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3393 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3394 to do the computations.
3395 (math-date-to-dt): Use `math-date-to-julian-dt' and
3396 `math-date-to-gregorian-dt' to do the computations.
3397 (calcFunc-weekday, math-format-date-part): Use the new version of
3398 the DATE to determine the weekday.
3399 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3402 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3404 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3405 Cygwin; otherwise use 'file:'. (Bug#12914)
3406 (cygwin-convert-path-from-windows): Declare, to avoid
3407 byte-compiler warnings.
3409 2012-11-17 Andreas Politz <politza@fh-trier.de>
3411 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3412 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3413 prefix and negative numeric prefix args (Bug#12795).
3415 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3417 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3418 Don't signal an error with a score that is too low to add to the
3419 list of top scores. (Bug#12779)
3421 2012-11-17 Chong Yidong <cyd@gnu.org>
3423 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3425 * filecache.el (file-cache-add-file): Handle relative file name in
3426 the argument (Bug#12694).
3428 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3430 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3432 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3434 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3436 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3438 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3440 * window.el (enlarge-window, shrink-window): Don't mention return
3441 value in doc-string (Bug#12896).
3442 (window--display-buffer): Don't resize frames - it won't work
3443 with all window managers and defeat pop-up-frame-alist.
3444 (display-buffer-alist): In doc-string explain that CONDITION can
3445 be a function and which arguments are passed to it (Bug#12854).
3446 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3447 expressions (Bug#12854).
3448 (display-buffer): Pass ACTION argument to
3449 display-buffer-assq-regexp.
3451 2012-11-16 Glenn Morris <rgm@gnu.org>
3453 * window.el (fit-frame-to-buffer-bottom-margin)
3454 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3456 * faces.el (face-underline-p): Use face-attribute-specified-or.
3458 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3460 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3462 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3464 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3466 2012-11-16 Glenn Morris <rgm@gnu.org>
3468 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3469 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3471 * faces.el (face-underline-p): Doc fix. Handle :underline being
3472 things other than `t' (a string, a list).
3473 (face-inverse-video-p): Doc fix.
3474 (set-face-underline): Rename it back from set-face-underline-p.
3475 Doc fix. Allow interactive input of values other than t.
3476 (read-face-attribute): Apply formatting to :underline,
3477 since like :box and :stipple it can take list values.
3479 * term.el (ansi-term): Don't let C-x escape-char binding
3480 clobber the more standard C-c binding. (Bug#12842)
3482 * subr.el (set-temporary-overlay-map): Doc fix.
3484 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3486 * window.el (record-window-buffer)
3487 (display-buffer-record-window): When copying the markers to
3488 window-point preserve window-point-insertion-type. (Bug#12588)
3490 2012-11-16 Glenn Morris <rgm@gnu.org>
3492 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3493 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3494 Use new names for hooks rather than obsolete aliases.
3496 2012-11-15 Daniel Colascione <dancol@dancol.org>
3498 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3499 prefix instead of "file:" so that when FILE-NAME begins with "//",
3500 as it does when the target file is on a network share, url-handler
3503 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3505 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3506 a preactivated advice from an old advice.el; they're not compatible!
3508 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3510 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3511 Fix string-spec case.
3513 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3515 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3518 (advice--buffer-local-function-sample): New var.
3519 (advice--set-buffer-local, advice--buffer-local): New functions.
3520 (add-function, remove-function): Use them.
3522 2012-11-15 Drew Adams <drew.adams@oracle.com>
3524 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3526 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3528 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3529 potential binding of print-gensym to t, and prettify (back)quotes in
3530 case they appear in args's default values (bug#12884).
3532 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3535 (advice-eval-interactive-spec): New function.
3536 (advice--make-interactive-form): Support around advice (bug#12844).
3538 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3540 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3541 more strict. Add docstring.
3542 (ruby-expression-expansion-re): Extract from
3543 `ruby-match-expression-expansion'.
3544 (ruby-syntax-propertize-function): After everything else, search
3545 for expansions in string literals, mark their insides as
3546 whitespace syntax and save match data for font-lock.
3547 (ruby-font-lock-keywords): Use the 2nd group from expression
3549 (ruby-match-expression-expansion): Use the match data saved to the
3550 text property in ruby-syntax-propertize-function.
3552 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3554 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3557 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3559 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3560 start/end keyword a bit harder. Works with different values of N.
3562 (ruby-end-of-block): Update accordingly.
3564 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * woman.el (woman-file-name): Don't mess with unread-command-events
3569 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3570 Remove out of date self-require hack.
3571 (ad-do-advised-functions): Use simple `dolist'.
3572 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3573 (ad-advice-definition): Redefine as functions.
3574 (ad-advice-classes): Move before first use.
3575 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3576 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3577 (ad--defalias-fset): Remove functions.
3578 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3579 (ad-get-orig-definition): Rewrite.
3580 (ad-make-advised-definition-docstring): Change base docstring.
3581 (ad-real-orig-definition): Rewrite.
3582 (ad-map-arglists): Change name of called function.
3583 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3584 (ad-make-advised-definition): Simplify.
3585 (ad-assemble-advised-definition): Tweak for new calling context.
3586 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3587 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3588 function and call ad-activate if needed.
3589 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3590 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3591 (ad-compile-function): Compile ad-Advice-*.
3592 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3593 (ad-start-advice, ad-stop-advice): Remove.
3595 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3597 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3598 period before class method names, not after. Remove handling of
3599 one impossible case. Add comments.
3601 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3603 * emacs-lisp/advice.el: Remove support for freezing.
3604 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3605 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3606 Remove support for `freeze'.
3608 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3609 override the default.
3610 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3612 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3615 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3617 (advice--strip-macro): New function.
3618 (advice--defalias-fset): Use them to handle macros.
3619 (advice-add): Use them.
3620 (advice-member-p): Correctly handle macros.
3622 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3624 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3625 Never font-lock the beginning of singleton class as heredoc.
3627 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3629 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3631 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3633 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3634 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3635 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3637 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3639 Fix end-of-defun misbehavior.
3640 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3641 python-beginning-of-defun-function. Handle nested defuns
3643 (python-nav-end-of-defun): Rename from
3644 python-end-of-defun-function. Ensure forward movement.
3645 (python-info-current-defun): Reimplement to work as intended
3646 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3647 parent defuns as soon as possible.
3649 2012-11-13 Glenn Morris <rgm@gnu.org>
3651 * progmodes/flymake.el (flymake-error-bitmap)
3652 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3653 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3655 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3657 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3658 backward, always stop at indentation. Reverts the change from
3659 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3661 2012-11-13 Glenn Morris <rgm@gnu.org>
3663 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3664 Add ibuffer-filter-by-derived-mode.
3666 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3667 the same name shadowing each other.
3669 * window.el (with-temp-buffer-window): Doc tweak.
3671 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3673 * help.el (temp-buffer-max-height):
3674 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3675 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3677 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * emacs-lisp/nadvice.el: New package.
3680 * subr.el (special-form-p): New function.
3681 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3682 (elp-all-instrumented-list): Remove var.
3683 (elp-not-profilable): Remove elp-wrapper.
3684 (elp-profilable-p): Use autoloadp and special-form-p.
3685 (elp--advice-name): New const.
3686 (elp-instrument-function): Use advice-add.
3687 (elp--instrumented-p): New predicate.
3688 (elp-restore-function): Use advice-remove.
3689 (elp-restore-all, elp-reset-all): Use mapatoms.
3690 (elp-set-master): Use elp--instrumented-p.
3691 (elp--make-wrapper): Rename from elp-wrapper, return a function
3692 suitable for advice-add. Use cl-inf.
3693 (elp-results): Use mapatoms+elp--instrumented-p.
3694 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3695 (debug-function-list): Remove var.
3696 (debug): Rename arg, and then let-bind it explicitly inside.
3697 (debugger-setup-buffer): Rename arg.
3698 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3699 (debugger-frame-number): Adjust to new debug-on-entry setup.
3700 (debug--implement-debug-on-entry): Rename from
3701 implement-debug-on-entry, add argument.
3702 (debugger-special-form-p): Remove, use special-form-p instead.
3703 (debug-on-entry): Use advice-add.
3704 (debug--function-list): New function.
3705 (cancel-debug-on-entry): Use it, along with advice-remove.
3706 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3707 (debugger-list-functions): Use debug--function-list instead of
3708 debug-function-list.
3709 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3710 (ad-special-form-p): Remove, use special-form-p instead.
3711 (ad-set-advice-info): Use add-function and remove-function.
3712 (ad--defalias-fset): Adjust accordingly.
3714 2012-11-10 Glenn Morris <rgm@gnu.org>
3716 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3717 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3718 (report-emacs-bug-create-existing-bugs-buffer)
3719 (report-emacs-bug-parse-query-results)
3720 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3722 * term.el (term-default-fg-color, term-default-bg-color):
3723 Make obsolete, rather than just saying "deprecated" in the doc.
3725 * term.el (term): Rename from `term-face'.
3726 (term-current-face, ansi-term-color-vector)
3727 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3730 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3732 * server.el (server-create-window-system-frame): Handle Nextstep
3733 specially (Bug#12780).
3735 2012-11-10 Glenn Morris <rgm@gnu.org>
3737 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3738 Unautoload, and make obsolete. (Bug#7449)
3740 2012-11-10 Chong Yidong <cyd@gnu.org>
3742 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3743 rename from diff-remove-trailing-whitespace (Bug#12831).
3745 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3747 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3748 miscompilation of trace.el.
3750 2012-11-10 Glenn Morris <rgm@gnu.org>
3752 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3754 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3759 2012-11-10 Chong Yidong <cyd@gnu.org>
3761 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3762 a defcustom with an appropriate :set function.
3763 (minibuffer-default--in-prompt-regexps): New function.
3765 2012-11-10 Glenn Morris <rgm@gnu.org>
3767 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3768 (define-modify-macro): Doc fixes.
3770 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3771 (gv-define-simple-setter): Update doc of `fix-return'.
3773 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3775 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3776 twice when `fix-return' is set (bug#12813).
3778 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3779 gv-define-simple-setter (bug#12812).
3781 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3784 2012-11-10 Glenn Morris <rgm@gnu.org>
3786 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3788 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3789 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3790 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3791 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3793 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3795 2012-11-10 Leo Liu <sdl.web@gmail.com>
3797 * ido.el (ido-set-matches-1): Improve flex matching performance by
3798 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3800 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3803 (ad--defalias-fset): New function.
3804 (ad-safe-fset): Remove.
3805 (ad-make-freeze-definition): Use cl-letf*.
3807 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * subr.el (dolist): Don't bind VAR in RESULT.
3811 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3812 (fset, documentation): Don't save real def since we don't advise.
3813 (ad-do-advised-functions): Remove problematic `result-form'.
3814 (ad-safe-fset): `ad-real-fset' => `fset'.
3815 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3816 uses CL's dolist internally.
3817 (ad-arglist): Remove unused arg `name'.
3818 (ad-docstring, ad-make-advised-docstring):
3819 `ad-real-documentation' => `documentation'.
3820 (warning-suppress-types): Declare.
3821 (ad-set-arguments): Simple CSE.
3822 (ad-recover-normality): Sanity check.
3824 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3825 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3827 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3829 * ses.el: symbol to coordinate mapping is made by symbol property
3830 `ses-cell'. This means that the same mapping is done for all SES
3831 sheets. That is good enough for cells with standard A1 names, but
3832 not for named cell. So a hash map is added for the latter.
3833 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3834 (ses-sym-rowcol): Use hashmap for named cell.
3835 (ses-is-cell-sym-p): New defun.
3836 (ses-decode-cell-symbol): New defun.
3837 (ses-create-cell-variable): Add cell to hashmap when name is not
3839 (ses-rename-cell): Check that cell new name is not already in
3840 spreadsheet with the use of ses-is-cell-sym-p
3841 (ses-rename-cell): Use hash map for named cells, but accept also
3842 renaming back to A1-like.
3844 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3846 * emacs-lisp/advice.el: Use new dynamic docstrings.
3847 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3848 Use dynamic-docstring-function instead of ad-advice-info.
3849 (ad--make-advised-docstring): New function extracted from
3850 ad-make-advised-docstring.
3851 (ad-make-advised-docstring): Use it.
3852 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3854 (sql-help): Use it with dynamic-docstring-function.
3856 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3858 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * files.el (hack-one-local-variable--obsolete): New function.
3861 (hack-one-local-variable): Use it for obsolete settings.
3863 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3866 * progmodes/js.el (js--filling-paragraph): New var.
3867 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3868 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3871 2012-11-08 Julien Danjou <julien@danjou.info>
3873 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3874 `auto-mode-alist' (Bug#12835).
3876 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3879 (perl--prettify-symbols-alist): New const.
3880 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3882 (perl-font-lock-keywords-2): Use them.
3883 (perl-electric-noindent-p): New function.
3884 (perl-mode): Use it to set up electric-indent-mode.
3885 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3886 (perl-mode-map): Remove bindings for them.
3887 (perl-imenu-generic-expression, perl-outline-level):
3888 Match functions&packages in column>0.
3890 * env.el (env--substitute-vars-regexp): New const.
3891 (substitute-env-vars): Use it. Add `only-defined' arg.
3892 * net/tramp.el (tramp-replace-environment-variables): Use it.
3894 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3895 Byte-compile *before* eval in eval-and-compile.
3896 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3897 (byte-compile-file-form-autoload): Don't hide actual definition.
3898 (byte-compile-maybe-guarded): Accept `functionp' as well.
3900 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3902 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3904 * notifications.el (notifications-get-server-information-method):
3906 (notifications-get-capabilities): Fix docstring.
3907 (notifications-get-server-information): New defun.
3909 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3911 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3914 * textmodes/ispell.el: Experimental support for support debugging.
3915 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3917 (ispell-print-if-debug): New function to print stuff to
3918 `ispell-debug-buffer' if debugging is enabled.
3919 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3920 show some debugging info.
3921 (ispell-buffer-with-debug): New function that creates a debugging
3922 buffer and calls `ispell-buffer' with debugging enabled.
3924 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3925 comment in autoconf mode. (Bug#12768)
3927 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3929 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3930 frame-first-window, frame-root-window, frame-selected-window,
3931 minibuffer-selected-window, minibuffer-window,
3932 window-absolute-pixel-edges, window-at, window-body-height,
3933 window-body-width, window-display-table, window-combination-limit,
3934 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3935 window-inside-edges, window-inside-pixel-edges, window-left-child,
3936 window-left-column, window-margins, window-next-buffers,
3937 window-next-sibling, window-new-normal, window-new-total,
3938 window-normal-size, window-parameter, window-parameters, window-parent,
3939 window-pixel-edges, window-point, window-prev-buffers,
3940 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3941 window-start, window-text-height, window-top-child, window-top-line,
3942 window-total-height, window-total-width and window-use-time to the list
3943 of functions without side-effects.
3944 (toplevel): Add window-valid-p to the list of error-free functions
3945 without side-effects.
3947 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3949 * textmodes/ispell.el (ispell-program-name):
3950 Update spellchecker parameters when customized.
3952 2012-11-04 Glenn Morris <rgm@gnu.org>
3954 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3956 2012-11-04 Chong Yidong <cyd@gnu.org>
3958 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3959 same-window-* variables.
3961 2012-11-04 Juri Linkov <juri@jurta.org>
3963 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3964 (isearch-describe-key, isearch-describe-mode): Use a display
3965 action instead of binding same-window-* variables (Bug#10040).
3967 2012-11-03 Glenn Morris <rgm@gnu.org>
3969 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3970 Rename handler properties back from cl-- to cl-. (Bug#12788)
3972 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3974 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3976 * term/pc-win.el: Don't load term/internal from here.
3978 * loadup.el: Load term/internal from here.
3980 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3982 * progmodes/python.el (inferior-python-mode): Fix hang in
3983 jit-lock (Bug#12645).
3985 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3987 * window.el (switch-to-visible-buffer)
3988 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3990 2012-11-03 Glenn Morris <rgm@gnu.org>
3992 * emacs-lisp/cl-lib.el (cl--random-time):
3993 Rename from cl-random-time. (Bug#12773)
3994 (cl--gensym-counter, cl--random-state): Update callers.
3995 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3997 2012-11-03 Chong Yidong <cyd@gnu.org>
3999 * cus-start.el: Make cursor-type customizable (Bug#11633).
4001 2012-11-02 Glenn Morris <rgm@gnu.org>
4003 * filecache.el: No need to load find-lisp when compiling.
4004 (find-lisp-find-files): Autoload it.
4005 (file-cache-add-directory-recursively): Don't require find-lisp.
4007 * image.el (image-type-from-file-name): Trivial simplification.
4009 * emacs-lisp/bytecomp.el (byte-compile-eval):
4010 Decouple "noruntime" and "cl-functions" warnings.
4012 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4014 * play/gomoku.el (gomoku-display-statistics): Update mode line
4015 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4017 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4019 * window.el (quit-restore-window): If the window has been
4020 created on an existing frame and ended up as the sole window on
4021 that frame, do not delete it (Bug#12764).
4023 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4025 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4026 Rename from sh--inside-arithmetic-expression, handle more cases
4029 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4030 (sh-font-lock-open-heredoc): Use it (bug#12770).
4032 2012-10-30 Glenn Morris <rgm@gnu.org>
4034 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4036 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4038 2012-10-29 Chong Yidong <cyd@gnu.org>
4040 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4041 function key is stored in a keyboard macro (Bug#4894).
4043 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4045 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4047 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4049 (diff-unified->context, diff-context->unified)
4050 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4052 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4054 * files.el (find-alternate-file): Only ask one question (bug#12487).
4056 2012-10-29 Chong Yidong <cyd@gnu.org>
4058 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4059 Suggested by Dan Nicolaescu (Bug#6326).
4061 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4063 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4065 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4067 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4069 * face-remap.el (face-remap-add-relative): Handle the case where a
4070 face-remapping-alist entry is a cons cell (Bug#12762).
4072 2012-10-29 Kevin Ryde <user42@zip.com.au>
4074 * woman.el (woman-parse-numeric-value): Handle picas correctly
4077 2012-10-29 Glenn Morris <rgm@gnu.org>
4079 * emacs-lisp/cl.el (defsetf): Doc fix.
4081 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4083 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4084 syntax to the matching opener, if any (bug#12547).
4085 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4086 matching open as a "case-(".
4087 (sh-smie-rc-grammar): Add a corresponding rule for it.
4089 2012-10-28 Daniel Hackney <dan@haxney.org>
4091 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4092 "PKGNAME-autoloads.el" in case we created it.
4094 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4097 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4098 (completion--twq-all): Disable too-strict assertions.
4100 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4102 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4104 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4105 text to match the real keybindings.
4107 2012-10-27 Juri Linkov <juri@jurta.org>
4109 * wdired.el (wdired-keep-marker-rename): New defcustom.
4110 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4113 * dired.el (dired-keep-marker-rename): Add reference to
4114 `wdired-keep-marker-rename' in the docstring.
4115 Add default character value ?R to display initially in
4116 Customization UI instead of ?@.
4118 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4120 * window.el (display-buffer): In doc-string describe
4121 window-height and window-width alist entries.
4123 * time.el (display-time-world): Restore fit-window-to-buffer
4126 2012-10-27 Chong Yidong <cyd@gnu.org>
4128 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4130 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4132 * minibuffer.el (completion-category-overrides): New completion
4133 category `bookmark' (bug#11131).
4135 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4138 Silence bogus compiler warnings for ad-do-it.
4140 * bookmark.el (bookmark-completing-read): Set the completion category
4141 to `bookmark' (bug#11131).
4143 2012-10-26 Bastien <bzg@altern.org>
4144 Stefan Monnier <monnier@iro.umontreal.ca>
4146 * face-remap.el: Use lexical-binding.
4147 (text-scale-adjust): Improve docstring. Use itself for the temporary
4148 overlay-map bindings, so as to repeat the "Use..." message each time.
4150 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/macroexp.el (macroexp--expand-all):
4153 Obey byte-compile-warning-enabled-p (bug#12486).
4155 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4156 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4158 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4160 * mouse.el (mouse-drag-line): Move last form into preceding when
4163 * help.el (resize-temp-buffer-window): Fix doc-string.
4165 2012-10-25 David Engster <deng@randomsample.de>
4167 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4168 Remove. This feature is already integrated in imenu.
4170 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4171 always loaded. Require `speedbar' unconditionally.
4173 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4177 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4179 * net/ldap.el (ldap-search-internal): The official ldif format starts
4180 with a "version: 1" header (bug#12724).
4182 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4185 2012-10-25 Glenn Morris <rgm@gnu.org>
4187 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4189 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * minibuffer.el (minibuffer-force-complete): Use one more marker
4192 for the temporary-overlay-map command (bug#12619).
4194 2012-10-24 Chong Yidong <cyd@gnu.org>
4196 * time.el (display-time-world-mode): Derive from special-mode.
4197 (display-time-world): Use display-buffer (Bug#12708).
4198 (display-time-world-mode-map): Variable deleted.
4199 (display-time-world-display): Wrap the final delete-char inside
4202 2012-10-24 Chong Yidong <cyd@gnu.org>
4204 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4207 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4209 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * minibuffer.el (completion--all-sorted-completions-location): New var.
4212 (completion--cache-all-sorted-completions)
4213 (completion--flush-all-sorted-completions): Use it.
4214 (completion-in-region, completion-in-region--postch)
4215 (completion-at-point, completion-help-at-point): Use markers in
4216 completion-in-region--data (bug#12619).
4218 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * progmodes/compile.el (compilation-start): Try to handle common
4221 quoting of `cd' argument (bug#12640).
4223 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4226 2012-10-23 Glenn Morris <rgm@gnu.org>
4228 * progmodes/gud.el (gud-menu-map):
4229 Check gdb-active-process is bound. (Bug#12358)
4231 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * repeat.el (repeat): Set real-this-command (bug#12232).
4235 * htmlfontify.el (hfy-post-html-hook):
4236 * filesets.el (filesets-cache-fill-content-hook):
4237 * arc-mode.el (archive-extract-hook):
4238 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4239 * net/rcirc.el (rcirc-sentinel-functions)
4240 (rcirc-receive-message-functions, rcirc-activity-functions)
4241 (rcirc-print-functions):
4242 * net/dbus.el (dbus-event-error-functions):
4243 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4244 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4245 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4246 * term/sun.el (sun-raw-prefix-hooks):
4247 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4249 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4251 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4252 Set `tramp-chunksize' to 1. This improves the performance.
4253 (tramp-smb-wait-for-output): Add timeout to
4254 `tramp-accept-process-output' calls.
4256 2012-10-23 Chong Yidong <cyd@gnu.org>
4258 * faces.el (font-list-limit): Define as an obsolete variable.
4260 * startup.el (command-line):
4261 * cus-start.el: Don't refer to font-list-limit.
4263 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4265 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * subr.el (internal-temp-output-buffer-show): Rename from
4268 temp-output-buffer-show, since previously compiled files expect this name.
4270 2012-10-23 Glenn Morris <rgm@gnu.org>
4272 * image.el (image-type-from-file-name): If multiple types match,
4273 return the first one that is supported. (Bug#9045)
4275 2012-10-22 Glenn Morris <rgm@gnu.org>
4277 * image.el (imagemagick-enabled-types): Doc fix.
4279 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4281 * progmodes/which-func.el (which-func-current): The hash-table may have
4282 an explicit nil (bug#12338).
4284 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4286 * electric.el (electric-pair-delete-selection-self-insert-function):
4287 Rename to electric-pair-will-use-region, return a boolean.
4288 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4290 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4291 (delete-selection-pre-hook): Use use-region-p.
4292 (delete-selection-self-insert-function): Remove.
4293 (self-insert-command): Obey self-insert-uses-region-functions.
4294 (self-insert-iso): Revert to previous setting, since we don't actually
4295 know what that command does.
4296 (delete-selection-self-insert-hooks): Remove.
4298 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4300 * delsel.el (delete-selection-helper): New function, extracted from
4301 delete-selection-pre-hook.
4302 (delete-selection-pre-hook): Use it.
4303 (delete-selection-self-insert-function): New function.
4304 (delete-selection-self-insert-hooks): New hook.
4305 (self-insert-command, self-insert-iso): Use it.
4306 * electric.el (electric-pair-syntax): New function, extracted from
4307 electric-pair-post-self-insert-function.
4308 (electric-pair-post-self-insert-function): Use it.
4309 (electric-pair-delete-selection-self-insert-function): New function.
4310 (electric-pair-mode): Require delsel and setup
4311 delete-selection-self-insert-hooks (bug#11520).
4313 2012-10-20 Chong Yidong <cyd@gnu.org>
4315 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4316 no changes to show (Bug#12586).
4318 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4319 list explicitly (Bug#12571).
4321 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4323 * progmodes/flymake.el (flymake-create-temp-inplace):
4326 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4328 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4330 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4332 * calc/calc-units.el (math-extract-units): Properly extract powers
4335 2012-10-20 Daniel Colascione <dancol@dancol.org>
4337 * frame.el (make-frame): Set x-display-name as we used to in order
4338 to unbreak creating an X11 frame from an Emacs daemon started
4341 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4344 the same completion-field (bug#12221).
4346 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4348 * emacs-lisp/debug.el (debug): Record height of debugger window
4349 also when debugger will be back (Bug#8789).
4351 2012-10-18 Chong Yidong <cyd@gnu.org>
4353 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4354 Convert to defcustom.
4355 (gdb-get-source-file): Don't bind pop-up-windows.
4357 * progmodes/gud.el (gud-display-line): Don't specially re-use
4358 other frames for the gdb-mi case (Bug#12648).
4360 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * emacs-lisp/advice.el: Clean up commentary a bit.
4363 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4364 (byte-code-function-p): Never redefine.
4366 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4368 2012-10-18 Glenn Morris <rgm@gnu.org>
4370 * dired.el (dired-sort-toggle): Some ls implementations only allow
4371 a single option string. (Bug#12666)
4373 * minibuffer.el (completion-cycle-threshold): Doc fix.
4375 2012-10-17 Kenichi Handa <handa@gnu.org>
4377 * international/mule.el (set-keyboard-coding-system):
4378 Recover input meta mode when the new coding system doesn not use 8-bit.
4379 Supply TERMINAL arg to set-input-meta-mode.
4381 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4383 * wdired.el (wdired-old-marks): New variable.
4384 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4385 (wdired-do-renames): Move point with renamed file and don't lose
4386 mark status (Bug#11795).
4388 2012-10-16 Juri Linkov <juri@jurta.org>
4390 * replace.el (query-replace-help): Mention multi-buffer replacement
4391 keys in the Help message. (Bug#12655)
4393 2012-10-15 Chong Yidong <cyd@gnu.org>
4395 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4397 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4399 * window.el (display-buffer): Doc fix.
4401 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4402 Adjust the msft regexp to the output of Studio 2010, and move msft
4403 before edg-1. See the discussion on emacs-devel,
4404 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4407 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4410 (oset): Move uses of object-class-fast macro after its definition.
4412 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4414 2012-10-13 Chong Yidong <cyd@gnu.org>
4416 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4417 enabled, re-enable it (Bug#11963).
4419 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4421 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4422 non-nil, restore window configuration (Bug#12623).
4424 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4426 * help-fns.el (describe-variable, describe-function-1):
4427 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4429 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4431 2012-10-12 Glenn Morris <rgm@gnu.org>
4433 * mail/rmailsum.el (rmail-header-summary):
4434 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4436 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4438 * progmodes/python.el (python-mode-map):
4439 Replace subtitute-key-definition with proper command remapping.
4440 (python-nav--up-list): Fix behavior for blocks on the same level.
4442 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4446 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4447 changes to the format of load-history.
4449 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4450 completion-ignore-case in case that var is buffer-local (bug#12615).
4452 2012-10-11 Kenichi Handa <handa@gnu.org>
4454 * international/eucjp-ms.el: Re-generated.
4456 2012-10-10 Kenichi Handa <handa@gnu.org>
4458 * select.el (xselect--encode-string): If a coding is specified for
4459 selection, and that is compatible with COMPOUND_TEXT, use it.
4461 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4463 * window.el (switch-to-buffer-preserve-window-point): New option.
4465 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4467 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4470 Don't document nil as a useful value (bug#12583).
4472 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4474 * net/tramp.el (tramp-debug-message):
4475 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4476 (with-tramp-progress-reporter): Rename from
4477 `tramp-with-progress-reporter'.
4478 (with-tramp-file-property, with-tramp-connection-property):
4479 Move from tramp-cache.el, rename from `with-file-property' and
4480 `with-connection-property', respectively.
4482 * net/tramp-cache.el: Remove `with-file-property' and
4483 `with-connection-property'.
4486 * net/tramp-gvfs.el:
4488 * net/tramp-smb.el: Adapt callees.
4490 * net/trampver.el: Update release number.
4492 2012-10-09 Glenn Morris <rgm@gnu.org>
4494 * w32-fns.el (set-message-beep):
4495 * term/w32-win.el (set-message-beep): Update declarations.
4497 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4500 (mode-line-widen, mode-line-input-method-map)
4501 (mode-line-coding-system-map, mode-line-remote)
4502 (mode-line-unbury-buffer, mode-line-bury-buffer)
4503 (mode-line-next-buffer, mode-line-previous-buffer):
4504 Replace save-selected-window+select-window => with-selected-window.
4506 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4507 * progmodes/cc-vars.el (bq-process): Remove, unused.
4509 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4511 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4513 Implemented `backward-up-list'-like navigation.
4514 * progmodes/python.el (python-nav-up-list)
4515 (python-nav-backward-up-list): New functions.
4516 (python-mode-map): Define substitute key for backward-up-list to
4517 python-nav-backward-up-list.
4519 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4521 * progmodes/python.el (python-fill-paragraph): Rename from
4522 python-fill-paragraph-function. Fixed fill-paragraph for
4523 decorators (Bug#12605).
4525 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4527 * progmodes/python.el (python-shell-output-filter): Handle extra
4528 carriage return in OSX (Bug#12409).
4530 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4532 Fix shell handling of unbalanced quotes and parens in output.
4533 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4534 (python-syntax-propertize-function): Use it.
4535 (python-shell-output-syntax-table): New var.
4536 (inferior-python-mode): Prevent unbalanced parens/quotes from
4537 previous output mess with current input context.
4539 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4541 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4542 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4544 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4546 * ffap.el (ffap-replace-file-component): Support Tramp file name
4547 syntax, not only ange-ftp's one.
4549 2012-10-08 Glenn Morris <rgm@gnu.org>
4551 * cus-start.el (message-log-max): Set :version.
4553 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4555 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4557 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4558 the minibuffer window (Bug#10851).
4560 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4562 Enhancements on forward-sexp movement.
4563 * progmodes/python.el (python-nav-beginning-of-statement)
4564 (python-nav-end-of-statement): Return point-marker.
4565 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4566 (python-info-current-symbol)
4567 (python-info-statement-starts-block-p): Rename from
4568 python-info-beginning-of-block-p.
4569 (python-info-statement-ends-block-p): Rename from
4570 python-info-end-of-block-p.
4571 (python-info-beginning-of-statement-p)
4572 (python-info-end-of-statement-p)
4573 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4576 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4579 frame-selected-windows.
4581 2012-10-08 Daniel Colascione <dancol@dancol.org>
4583 * battery.el (battery-status-function): Check for
4584 w32-battery-status itself, not system-time windows-nt.
4586 * frame.el: Require cl-lib.
4587 (display-format-alist): New variable mapping frame types to
4588 functions that initialize them.
4589 (window-system-for-display): New function: interprets
4590 display-format-alist.
4591 (make-frame-on-display): Remove existing display-selection logic
4592 and just forward to make-frame, which will now DTRT.
4593 (make-frame): Restructure to use window-system-for-display to
4594 figure out how to create a frame on a given display.
4595 (display-mouse-p): Look for frame-type w32, not a particular
4598 * loadup.el: Load w32 lisp code when we have the w32 feature.
4600 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4601 system-type windows-nt.
4603 * server.el (server-create-window-system-frame): Look for window
4605 (server-proces-filter): Only force a window system when windows-nt
4606 _and_ w32. Explain why.
4608 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4609 of window systems we configure for the mode.
4611 * startup.el (command-line): Mark window system is initialized
4612 after we've done it.
4614 * common-win.el (x-select-text): Look for w32, not windows-nt.
4616 * ns-win.el: Require cl-lib. Add ourselves to
4617 display-format-alist.
4618 (ns-initialize-window-system): Assert we're not initialized twice.
4620 * w32-win.el: Enable lexical binding; require cl-lib; add
4621 ourselves to display-format-alist.
4622 (w32-handle-dropped-file): Convert incoming dropped files from
4623 Windows paths to Cygwin ones before passing them on to the rest of
4625 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4626 (w32-initialize-window-system): Assert we're not initialized twice.
4628 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4629 (x-initialize-window-system): Assert we're not initialized twice.
4631 * w32-common-fns.el: New File.
4632 (w32-version, w32-using-nt, w32-get-clipboard-data)
4633 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4634 (w32-charset-info-alist, x-last-selected, text)
4635 (x-get-selection-value, x-selection-value): Move here.
4637 * w32-fns.el: Require w32-common-fns.
4638 (w32-version, w32-using-nt, w32-get-clipboard-data)
4639 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4640 (w32-charset-info-alist, x-last-selected, text)
4641 (x-get-selection-value, x-selection-value): Move to
4645 (w32-allow-system-shell, w32-system-shells): Define only in
4648 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4650 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4651 (read-passwd): Remove a few more potential sources of leaks.
4653 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4655 * progmodes/python.el (inferior-python-mode)
4656 (python-shell-make-comint): Fix initialization of local
4657 variables copied from parent buffer.
4659 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4661 * term/ns-win.el (ns-read-file-name): Update declaration to match
4663 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4664 it is set when font is acted upon.
4666 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4668 Enhancements to indentation.
4669 * progmodes/python.el (python-indent-context): Give priority to
4670 inside-string context. Make comments indentation markers.
4671 (python-indent-region): Do not mess with strings, unless it's the
4672 enclosing set of quotes.
4674 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * window.el (internal--before-save-selected-window)
4677 (internal--after-save-selected-window): New functions extracted from
4678 save-selected-window. Make sure we return the `alist' we construct.
4679 (save-selected-window): Use them.
4681 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4682 Use with-selected-window.
4684 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4685 forms that define macros (bug#12593).
4687 2012-10-07 Kenichi Handa <handa@gnu.org>
4689 * international/mule-conf.el (compound-text-with-extensions):
4690 Add :mime-charset property as x-ctext.
4692 2012-10-07 Stefan Merten <smerten@oekonux.de>
4694 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4695 (rst-indent-literal-normal, rst-indent-literal-minimized)
4696 (rst-indent-comment): Correct :version tag.
4697 (rst-official-cvs-rev): Correct version string.
4699 2012-10-07 Glenn Morris <rgm@gnu.org>
4701 * mail/rmailmm.el (rmail-mime-process-multipart):
4702 Do not confuse a multipart message with an epilogue
4703 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4705 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4707 Fix shell output retrieval and comint-prompt-regexp init.
4708 * progmodes/python.el (inferior-python-mode):
4709 (python-shell-make-comint): Fix initialization of
4710 comint-prompt-regexp from copied file local variables.
4711 (python-shell-fetched-lines): Remove var.
4712 (python-shell-output-filter-in-progress): Rename from
4713 python-shell-fetch-lines-in-progress.
4714 (python-shell-output-filter-buffer): Rename from
4715 python-shell-fetch-lines-string.
4716 (python-shell-fetch-lines-filter): Delete function.
4717 (python-shell-output-filter): New function.
4718 (python-shell-send-string-no-output): Use them.
4720 2012-10-07 Glenn Morris <rgm@gnu.org>
4722 * hi-lock.el (hi-lock-process-phrase):
4723 Try to make it less fragile. (Bug#7161)
4725 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4727 2012-10-06 Glenn Morris <rgm@gnu.org>
4729 * ehelp.el (electric-help-mode): Use help-mode rather than
4730 non-existent mode `help'.
4731 (electric-help-map): Use button-buffer-map. (Bug#10917)
4733 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4734 (reftex-create-bibtex-footer): Fix custom types.
4736 * progmodes/sh-script.el (sh-indent-after-continuation):
4737 Add explicit :group.
4739 * textmodes/rst.el (rst-preferred-decorations)
4740 (rst-shift-basic-offset): Clarify obsolescence versions.
4742 * profiler.el (profiler): Add missing group :version tag.
4743 * avoid.el (mouse-avoidance-banish-position):
4744 * proced.el (proced-renice-command):
4745 * calc/calc.el (calc-ensure-consistent-units):
4746 * calendar/icalendar.el (icalendar-import-format-uid):
4747 * net/tramp.el (tramp-save-ad-hoc-proxies):
4748 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4749 * progmodes/flymake.el (flymake-error-bitmap)
4750 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4751 * progmodes/sh-script.el (sh-indent-after-continuation):
4752 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4753 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4754 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4755 (vhdl-array-index-record-field-in-sensitivity-list)
4756 (vhdl-indent-comment-like-next-code-line):
4757 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4758 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4759 (reftex-cite-key-separator, reftex-create-bibtex-header)
4760 (reftex-create-bibtex-footer):
4761 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4762 (rst-indent-literal-normal, rst-indent-literal-minimized)
4763 (rst-indent-comment): Add missing custom :version tags.
4765 * calendar/timeclock.el (timeclock-modeline-display):
4766 Add missing obsolete alias for renamed user option.
4768 * strokes.el (strokes-modeline-string):
4769 * emulation/crisp.el (crisp-mode-modeline-string):
4770 * eshell/esh-mode.el (eshell-status-in-modeline):
4771 Aliases to defcustoms must come before the defcustom.
4773 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4774 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4775 (cal-tex-cursor-week-monday): Doc fixes.
4776 (cal-tex-cursor-week2-summary): Doc fix.
4777 Rename from cal-tex-cursor-week-at-a-glance.
4779 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4780 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4782 * calendar/calendar.el (calendar-mode-map):
4783 Add cal-tex-cursor-week2-summary.
4785 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4787 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4789 * subr.el (read-passwd-map): New var.
4790 (read-passwd): Use `read-string' again.
4791 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4793 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4795 * register.el (append-to-register, prepend-to-register):
4796 Deactivate mark, as does `copy-to-register' (bug#12389).
4798 2012-10-06 Chong Yidong <cyd@gnu.org>
4800 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4802 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4804 * international/characters.el: Fix simple mistake ((car chars) ->
4805 elt), delete duplicated code.
4807 2012-10-06 Glenn Morris <rgm@gnu.org>
4809 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4811 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4813 * color.el (color-hsl-to-rgb): Fix incorrect results for
4814 small and large hue values. (Bug#12559)
4816 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4818 Enhancements to docstring formatting when filling paragraphs.
4819 * progmodes/python.el (python-fill-docstring-style): Rename from
4820 python-fill-string-style. Added new style.
4821 (python-fill-string): Use new style. Better checks for
4824 2012-10-05 Glenn Morris <rgm@gnu.org>
4826 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4828 * color.el (color-name-to-rgb, color-rgb-to-hex)
4829 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4830 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4831 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4832 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4834 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4836 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4838 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4839 to get the correct size across symlinks.
4841 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4843 2012-10-04 Juri Linkov <juri@jurta.org>
4845 * replace.el (query-replace-interactive): Declare obsolete.
4846 (query-replace-read-from): Add the last incremental search string
4847 to the list of default values accessible via M-n.
4848 (map-query-replace-regexp): Use `read-regexp'.
4849 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4850 (map-query-replace-regexp, replace-string, replace-regexp):
4851 Fix docstrings to replace mentions of `query-replace-interactive'
4852 with alternatives. (Bug#12526)
4854 2012-10-04 Juri Linkov <juri@jurta.org>
4856 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4857 (dired-pop-to-buffer): Declare obsolete.
4858 (dired-mark-pop-up): Doc fix.
4860 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4862 Allow user to set docstring style for fill-paragraph.
4863 * progmodes/python.el
4864 (python-fill-comment-function, python-fill-string-function)
4865 (python-fill-decorator-function, python-fill-paren-function):
4866 Remove :safe for defcustoms.
4867 (python-fill-string-style): New defcustom
4868 (python-fill-paragraph-function): Enhance context detection.
4869 (python-fill-string): Honor python-fill-string-style settings.
4871 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4873 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4874 after setting its buffer (Bug#10805).
4876 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4878 Fix cornercase for string syntax.
4879 * progmodes/python.el (python-syntax-propertize-function):
4880 Simplify and enhance the regexp for unescaped quotes. Now it also
4881 matches quotes in weird situations like the single quote in
4883 (python-syntax-stringify): Simplify num-quotes detecting code.
4885 2012-10-03 Glenn Morris <rgm@gnu.org>
4887 * help-macro.el (three-step-help):
4888 Revert 2012-09-29 change. (Bug#12567)
4890 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4892 * menu-bar.el (kill-this-buffer): Don't do anything when
4893 `menu-frame' is not alive or visible (Bug#8184).
4895 * emacs-lisp/debug.el (debug): When quitting the debugger window
4896 restore current buffer (Bug#12502).
4898 2012-10-02 Chong Yidong <cyd@gnu.org>
4900 * progmodes/hideif.el (hif-lookup, hif-defined):
4901 Handle semantic-c-takeover-hideif.
4903 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4905 Change sampling interval units from ms to ns.
4906 * profiler.el (profiler-sampling-interval): Change units
4907 from ms to ns, multiplying the default by 1000000 so that
4909 (profiler-report-cpu-line-format): Give enough room for
4910 the maximum counters on 64-bit hosts.
4911 (profiler-report-render-calltree-1): Call them "CPU samples",
4912 not "Time (ms)", since they are not milliseconds now (and
4915 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4917 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4918 Fix querying BBDB for entries without a last name (Bug#11580).
4920 2012-10-02 Chong Yidong <cyd@gnu.org>
4922 * emacs-lisp/eieio.el: Restore Version header.
4924 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4926 * vc/diff-mode.el (diff--auto-refine-data): New var.
4927 (diff-hunk): Use it to delay refinement.
4928 (diff-mode): Remove overlays when we turn off font-lock.
4930 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4931 (table-initialize-table-fixed-width-mode)
4932 (table-set-table-fixed-width-mode): Remove functions.
4933 (table-command-list): Move initialization into declaration.
4934 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4935 (table-with-cache-buffer): Use `declare'.
4936 (table-span-cell): Simplify via CSE.
4937 (table-fixed-width-mode): Use define-minor-mode.
4938 (table-call-interactively, table-funcall, table-apply): Remove.
4939 (table-function): New function, to replace them.
4941 * bookmark.el (bookmark-search-pattern): Remove var.
4942 (bookmark-read-search-input): Remove function.
4943 (bookmark-bmenu-search): Reimplement using a minibuffer.
4945 * faces.el (modeline): Remove obsolete face name.
4947 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4948 and give a non-nil default value.
4949 (add-change-log-entry): Simplify accordingly.
4951 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4953 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4954 (vc-git-log-edit-toggle-amend): New function.
4955 (vc-git-log-edit-toggle-signoff): New function.
4956 (vc-git-log-edit-mode): New major mode.
4957 (vc-git-log-edit-mode-map): Keymap for it.
4958 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4960 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4962 (log-edit-toggle-header): New function.
4963 (log-edit-extract-headers): Accept function values in HEADERS alist.
4965 2012-10-01 David Engster <deng@randomsample.de>
4967 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4968 from symbol property and change message to be more consistent with
4970 (eieio-describe-generic): Add filename for each implementation.
4971 Fix indices for generic and normal methods.
4972 (eieio-method-def, eieio-class-def): New buttons.
4973 (eieio-help-find-method-definition)
4974 (eieio-help-find-class-definition): New functions.
4975 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4976 class, constructor and method definitions.
4978 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4979 information in symbol property.
4980 (scoped-class): Remove.
4981 (eieio-slot-name-index, call-next-method): Check if it is bound.
4983 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4985 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4986 (eieio-custom-mode): New major mode.
4987 (eieio-customize-object): Use it.
4989 2012-10-01 Eric Ludlam <zappo@gnu.org>
4991 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4992 specifying the expected class, and whether subclassing is allowed.
4993 (eieio-persistent-convert-list-to-object):
4994 (eieio-persistent-validate/fix-slot-value)
4995 (eieio-persistent-slot-type-is-class-p): New functions.
4996 (eieio-named::slot-missing): Doc fix.
4998 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4999 Stop using unused publd variable.
5001 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5002 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5003 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5004 (eieio-speedbar-handle-click): Do not specify a class for the
5005 method. Fixes method invocation order problems with EDE.
5007 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5009 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5010 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5012 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5014 * bookmark.el (bookmark-version-control): Give tags in the
5015 :type choices (Bug#12309), and improve doc string.
5016 (bookmark-write-file): Bind `print-circle' to `t' to allow
5017 circular custom bookmark types. (Bug#12503)
5019 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5021 Revert the FOLLOW-SYMLINKS change for file-attributes.
5022 * files.el (remote-file-name-inhibit-cache, after-find-file):
5023 * time.el (display-time-file-nonempty-p): Undo last change.
5025 * profiler.el (profiler-sampling-interval): Change default back to 1.
5026 See Stefan Monnier in
5027 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5029 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5031 Shell output catching a la gud-gdb.
5032 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5033 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5035 (python-shell-fetch-lines-filter): New function.
5036 (python-shell-send-string-no-output): Use them.
5038 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5040 * profiler.el (profiler-sampling-interval): Rename from
5041 profiler-sample-interval.
5042 (profiler-sampling-interval): Default to 10.
5043 (profiler-find-profile): New command (was profiler-find-log).
5044 (profiler-find-profile-other-window): New command.
5045 (profiler-find-profile-other-frame): New command.
5046 (profiler-profile): Introduce API-level data structure.
5048 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5050 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5051 * files.el (remote-file-name-inhibit-cache):
5052 * time.el (display-time-file-nonempty-p): Use it.
5053 * files.el (after-find-file): Don't chase links before calling
5054 file-exists-p, as file-exists-p already does the right thing.
5056 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5058 Merge from standalone RefTeX repository.
5060 The following ChangeLog entries are shortened versions of the
5061 original ones with file paths adapted. A not so strongly edited
5062 version of the original ChangeLog can be found in the commit log.
5064 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5065 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5066 Correctly handle new value type returned by `reftex-citation'.
5068 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5069 that entries with whitespace at various places are found.
5070 Doc fix. Include entries that are cross-referenced from cited entries.
5071 Include @String definitions in the resulting bib file. Add header
5072 and footer defined in `reftex-create-bibtex-header' and
5073 `reftex-create-bibtex-footer'.
5074 (reftex-do-citation): Make it possible again to insert
5075 non-existent entries. Save match data when asking for optional
5076 arguments. Return all keys, not just the first one.
5077 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5078 all citations in the same line.
5079 (reftex-parse-bibtex-entry): Accept additional optional argument
5080 `raw' and keep quotes or braces if it is non-nil. Match fields
5081 containing hyphens besides word constituents.
5082 (reftex-get-string-refs): New function.
5083 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5084 and ask if it should be reread in case it did.
5085 (reftex-pop-to-bibtex-entry)
5086 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5087 entries with spaces or tabs in front of arguments.
5088 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5089 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5090 Match entries containing numbers and symbol constituents.
5091 (reftex-do-citation, reftex-figure-out-cite-format):
5092 Use `reftex-cite-key-separator'.
5094 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5095 (reftex-mouse-view-crossref): Explain why point is set.
5097 * textmodes/reftex-global.el: Whitespace changes.
5099 * textmodes/reftex-index.el: Move provide statement to end of
5101 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5102 (reftex-index-visit-phrases-buffer): Set marker when visiting
5103 buffer. This allows for returning from the phrases file to the
5104 file one was just editing instead of the file where the last
5105 phrases was added from.
5106 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5107 punctuation syntax as it usually is not used as string quote in
5108 TeX-related modes and may occur unmatched. The change also
5109 prevents fontification of quoted content.
5110 (reftex-index-phrases-mode): Use it.
5112 * textmodes/reftex-parse.el (reftex-parse-from-file):
5113 Move backward one char if a `\' was matched after a section macro.
5114 (reftex-parse-from-file): Use beginning of match instead of end as
5117 * textmodes/reftex-ref.el: Adapt creation of
5118 `reftex-<package>-<macro>' functions to new structure of
5119 `reftex-ref-style-alist'.
5120 (reftex-reference): Use `reftex-ref-style-list' function.
5121 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5122 reference macro if `reftex-ref-macro-prompt' is non-nil.
5123 (reftex-reference): Pass refstyle to `reftex-format-special'.
5124 Determine reference macro by looking at
5125 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5126 Use only one special format function.
5127 (reftex-varioref-vref, reftex-fancyref-fref)
5128 (reftex-fancyref-Fref): Remove definitions. The functions are now
5129 generated from `reftex-ref-style-alist'.
5130 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5132 (reftex-format-special): New function.
5134 * textmodes/reftex-sel.el
5135 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5136 of `reftex-ref-style-alist'. Remove code for testing macro type.
5137 (reftex-select-toggle-varioref)
5138 (reftex-select-toggle-fancyref): Remove.
5139 (reftex-select-cycle-ref-style-internal)
5140 (reftex-select-cycle-ref-style-forward)
5141 (reftex-select-cycle-ref-style-backward): New functions.
5142 (reftex-select-label-map): Use `v' and `V' for general cycling
5143 through reference styles. Add `p' for switching between number
5144 and page reference types.
5146 * textmodes/reftex-toc.el (reftex-re-enlarge):
5147 Call `enlarge-window' only if there is something to do because in Emacs
5148 the horizontal version throws an error even if the parameter is 0.
5150 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5151 (reftex-plug-into-AUCTeX): Doc fix.
5152 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5153 string. Adapt to new name.
5154 (reftex-ref-style-alist): Change structure so that it is not
5155 possible to use multiple different package names within a style.
5156 Remove the symbols for symbols for macro type distinction.
5157 Add characters for macro selection.
5158 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5159 (reftex-create-bibtex-footer): New variables.
5160 (reftex-format-ref-function): Mention third argument of special
5162 (reftex-ref-style-alist, reftex-ref-style-default-list):
5164 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5165 to new implementation. Mark as obsolete. Add compatibility code
5166 for honoring the variable values in case they are set.
5167 (reftex-cite-format-builtin, reftex-bibliography-commands):
5168 Add support for ConTeXt.
5169 (reftex-format-ref-function, reftex-format-cite-function):
5171 (reftex-cite-key-separator): New variable.
5173 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5174 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5175 `reftex-syntax-table' because parens have to retain their paren
5176 syntax in order for parsing of BibTeX entries like @book(...) to
5178 (reftex-in-comment): Do not error out if `comment-start-skip' is
5179 not set. Deal correctly with escaped comment characters.
5180 (reftex-tie-multifile-symbols): Add doc string.
5181 Initialize `reftex-ref-style-list'.
5182 (reftex-untie-multifile-symbols): Add doc string.
5183 (reftex-add-index-macros): Doc fix.
5184 (reftex-ref-style-activate, reftex-ref-style-toggle)
5185 (reftex-ref-style-list): New functions.
5186 (reftex-mode-menu): Use them. Adapt to new structure of
5187 `reftex-ref-style-alist'.
5188 (reftex-select-with-char): Kill the RefTeX Select buffer when
5190 (reftex-remove-if): New function.
5191 (reftex-erase-all-selection-and-index-buffers)
5192 (reftex-mode-menu): Reference styles are now computed from
5193 `reftex-ref-style-alist'. Fix typo.
5194 (reftex-report-bug): New function.
5195 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5196 algorithms with O(n log n). Introduce optional argument SORT (not
5199 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5201 Enhancements for triple-quote string syntax.
5202 * progmodes/python.el (python-syntax-propertize-function):
5203 Match both quote cases in one regexp.
5204 (python-syntax-stringify): Handle matches properly.
5206 2012-09-30 Juri Linkov <juri@jurta.org>
5208 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5209 to nil around the call to `insert' to prevent
5210 directory time modification by lock_file. (Bug#2295)
5211 * tar-mode.el (tar-summarize-buffer): Idem.
5213 2012-09-30 Juri Linkov <juri@jurta.org>
5215 * facemenu.el (list-colors-sort): Add option "Luminance".
5216 (list-colors-sort-key): Implement it.
5218 * vc/diff-mode.el (diff-refine-removed):
5219 * vc/ediff-init.el (ediff-fine-diff-A):
5220 * vc/smerge-mode.el (smerge-refined-removed):
5221 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5223 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5225 * term/ns-win.el (x-file-dialog): New function.
5227 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5229 * ido.el (ido-max-directory-size): Default to nil; the current
5230 default is small for POSIX systems, and impractical on Windows 7
5231 now that lstat returns directory sizes for NTFS.
5233 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5235 In buffer display functions handle window-height/window-width
5236 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5237 * window.el (window--display-buffer): New argument ALIST.
5238 Obey window-height and window-width alist entries.
5239 (window--try-to-split-window): New argument ALIST.
5240 Bind window-combination-limit to t when the window's size shall be
5241 changed and window-combination-limit equals `window-size'.
5242 (display-buffer-in-atom-window)
5243 (display-buffer-in-major-side-window)
5244 (display-buffer-in-side-window, display-buffer-same-window)
5245 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5246 (display-buffer-pop-up-window, display-buffer-below-selected)
5247 (display-buffer-at-bottom, display-buffer-in-previous-window)
5248 (display-buffer-use-some-window): Adjust all callers of
5249 window--display-buffer and window--try-to-split-window.
5250 (fit-frame-to-buffer): New option.
5251 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5253 (display-buffer-in-major-side-window): Evaluate window-height /
5254 window-width alist entries.
5256 * help.el (temp-buffer-resize-frames)
5257 (temp-buffer-resize-regexps): Remove options.
5258 (temp-buffer-resize-mode): Adjust doc-string.
5259 (resize-temp-buffer-window): Don't consult
5260 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5261 temp-buffer-resize-frames.
5263 * dired.el (dired-mark-pop-up):
5264 Call display-buffer-below-selected with a fit-window-to-buffer alist
5267 2012-09-30 Chong Yidong <cyd@gnu.org>
5269 * server.el (server-host): Document the security implications.
5270 (server-auth-key): Doc fix.
5272 * startup.el (initial-buffer-choice): Doc fix.
5274 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5276 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5279 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5281 * help-fns.el (help-fns--obsolete): Fix last change.
5283 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5286 (minor-mode-map-alist): Remove redundant code.
5288 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5289 visited in a buffer.
5290 (cvs-insert-visited-file): New function.
5291 (find-file-hook): Use it.
5293 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5295 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5297 (log-edit-empty-buffer-p): Don't require a space after a header.
5299 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5301 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5303 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5304 a proper minor-mode.
5306 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5308 2012-09-29 Glenn Morris <rgm@gnu.org>
5310 * winner.el (winner-mode): Remove variable (let define-minor-mode
5312 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5314 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5315 (winner-mode): Use define-minor-mode.
5317 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5318 the full definition in loaddefs, rather than duplicating it.
5320 * help-macro.el (three-step-help): No need to autoload defcustom.
5322 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5323 (inferior-lisp-program, inferior-lisp-load-command)
5324 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5325 No need to autoload defcustoms.
5327 * hippie-exp.el (hippie-expand-try-functions-list)
5328 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5329 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5330 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5331 (hippie-expand-only-buffers): No need to autoload defcustoms.
5332 * progmodes/vhdl-mode.el (vhdl-line-expand):
5333 Explicitly load hippie-exp, so it does not get autoloaded
5334 while hippie-expand-try-functions-list is let-bound.
5336 2012-09-28 Glenn Morris <rgm@gnu.org>
5338 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5340 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5341 Only "cl.el" counts as cl these days.
5343 2012-09-28 Juri Linkov <juri@jurta.org>
5345 Display archive errors in the echo area instead of inserting
5348 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5349 to STDERR-TEST that can be a regexp matching a successful output.
5350 Create a temporary file and redirect stderr to it. Search for
5351 STDERR-TEST in the stderr output and display it in the echo area
5352 if no match is found.
5353 (archive-extract-by-file): New function like
5354 `archive-extract-by-stdout' but extracting archives to files
5355 and looking for successful matches in stdout. Function body is
5356 mostly copied from `archive-rar-extract'.
5357 (archive-rar-extract): Use `archive-extract-by-file'.
5358 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5360 2012-09-28 Leo Liu <sdl.web@gmail.com>
5362 * pcomplete.el (pcomplete-show-completions):
5363 Use minibuffer-message to make pcomplete usable in minibuffer.
5365 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5367 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * type-break.el: Use lexical-binding.
5370 (type-break-mode): Use define-minor-mode.
5372 * emacs-lisp/pcase.el (pcase--mark-used): New.
5373 (pcase--u1): Use it (bug#12512).
5375 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5376 in load-history with the right file name.
5378 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5380 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5381 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5382 (doc-view-get-bounding-box): Make bounding box slicing work for
5383 ODF and DVI documents.
5385 2012-09-28 Glenn Morris <rgm@gnu.org>
5387 * type-break.el (type-break-mode, type-break-interval)
5388 (type-break-good-rest-interval, type-break-keystroke-threshold):
5389 No need to autoload.
5390 (type-break-good-rest-interval, type-break-keystroke-threshold):
5393 2012-09-28 Chong Yidong <cyd@gnu.org>
5395 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5398 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5402 2012-09-27 Glenn Morris <rgm@gnu.org>
5404 * faces.el (x-display-name): Declare (for without-x builds).
5406 * linum.el (linum-format): Don't autoload it. Improve :type.
5408 * progmodes/tcl.el: Don't require outline when compiling.
5409 (outline-regexp, outline-level): Declare.
5410 * textmodes/sgml-mode.el: Don't require outline when compiling.
5411 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5413 * term.el (term-ansi-reset):
5414 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5416 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5417 files for RCS and SCCS. (Bug#9781)
5419 2012-09-27 Chong Yidong <cyd@gnu.org>
5421 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5422 change; value should be t.
5424 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * image-mode.el: Use lexical-binding.
5427 (image-mode-winprops): Use t to stand for the window of
5428 a buffer that's not displayed.
5429 * doc-view.el (doc-view-new-window-function): Handle the new
5431 (doc-view-enlarge): Make it a real nop if the size is not changed.
5432 (doc-view-display): Handle the case where the buffer is not (yet?)
5433 displayed in any window.
5434 (doc-view-saved-settings): New var.
5435 (doc-view-mode): Use it.
5436 (doc-view-fallback-mode): Set it.
5438 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5439 Set lexical-binding.
5440 (minibuffer-eldef-shorten-default): New var.
5441 (minibuffer-default-in-prompt-regexps): Use it for new default.
5442 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5444 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5446 * international/uni-bidi.el:
5447 * international/uni-category.el:
5448 * international/uni-name.el:
5449 * international/uni-numeric.el: Regenerate.
5451 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5452 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * profiler.el: New file.
5456 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5459 (testcover-reinstrument): Simplify with CSE.
5461 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5463 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5465 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5467 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5468 (verilog-auto-input, verilog-auto-insert-lisp)
5469 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5470 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5471 (verilog-auto-unused, verilog-auto-wire)
5472 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5473 newline. Reported by Andrew Jones.
5474 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5475 Reported by Brad Dobbie.
5476 (verilog-batch-delete-trailing-whitespace):
5477 Create verilog-batch-delete-trailing-whitespace.
5478 Reported by Brad Dobbie.
5479 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5480 parameters from another module. Reported by Dan Katz.
5481 (verilog-auto, verilog-auto-assign-modport)
5482 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5483 AUTOINOUTMODPORT for UVM interface module shell generation.
5484 Reported by Brad Dobbie.
5485 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5487 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5488 Reported by Matt Martin.
5490 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5492 * window.el (window--resize-child-windows): When resizing child
5493 windows proportionally, process them in reverse order to
5494 preserve the "when splitting a window the new one gets the odd
5496 (window--resize-root-window-vertically): When resizing the
5497 minibuffer window try to affect only windows at the bottom of the
5500 2012-09-25 Chong Yidong <cyd@gnu.org>
5502 * subr.el (declare): Doc fix.
5504 * help-fns.el (help-fns--obsolete): Handle macros properly.
5506 2012-09-25 Chong Yidong <cyd@gnu.org>
5508 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5509 this function obsolete.
5511 * calendar/cal-x.el (calendar-two-frame-setup)
5512 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5513 * calendar/calendar.el (american-calendar, european-calendar)
5514 (calendar-for-loop):
5515 * comint.el (comint-dynamic-simple-complete)
5516 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5517 * desktop.el (desktop-load-default):
5518 * dired-x.el (dired-omit-here-always)
5519 (dired-hack-local-variables, dired-default-directory):
5520 * emacs-lisp/derived.el (derived-mode-class):
5521 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5522 * emacs-lock.el (toggle-emacs-lock):
5523 * epa.el (epa-display-verify-result):
5524 * epg.el (epg-sign-keys, epg-start-sign-keys)
5525 (epg-passphrase-callback-function):
5526 * eshell/esh-util.el (eshell-for):
5527 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5528 (eshell-add-to-window-buffer-names):
5529 * files.el (locate-file-completion):
5530 * imenu.el (imenu-example--create-c-index)
5531 (imenu-example--create-lisp-index)
5532 (imenu-example--lisp-extract-index-name)
5533 (imenu-example--name-and-position):
5534 * international/mule-cmds.el (princ-list):
5535 * international/mule-diag.el (decode-codepage-char):
5536 * international/mule-util.el (detect-coding-with-priority):
5537 * iswitchb.el (iswitchb-read-buffer):
5538 * mail/mailalias.el (mail-complete):
5539 * mail/sendmail.el (mail-sent-via):
5540 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5541 (mouse-major-mode-menu):
5542 * password-cache.el (password-read-and-add):
5543 * pcomplete.el (pcomplete-parse-comint-arguments):
5544 * progmodes/sh-script.el (sh-maybe-here-document):
5545 * replace.el (query-replace-regexp-eval):
5546 * savehist.el (savehist-load):
5547 * simple.el (choose-completion-delete-max-match):
5548 * term.el (term-dynamic-simple-complete):
5549 * vc/ediff-init.el (ediff-check-version):
5550 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5551 * vc/vc.el (vc-diff-switches-list):
5552 * view.el (view-return-to-alist-update): Likewise.
5554 * subr.el (eval-next-after-load, makehash, insert-string)
5555 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5557 (mode-line-inverse-video): Variable deleted.
5559 * international/mule-util.el (string-to-sequence): Remove.
5561 * calendar/calendar.el (calendar-version):
5562 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5563 (icalendar-convert-diary-to-ical):
5564 * cus-edit.el (custom-mode):
5565 * ansi-color.el (ansi-color-unfontify-region):
5566 * international/latin1-disp.el (latin1-char-displayable-p):
5567 * progmodes/cwarn.el (turn-on-cwarn-mode):
5568 * progmodes/which-func.el (which-func-update-1):
5569 Use define-obsolete-function-alias.
5571 * net/newst-backend.el (newsticker-cache-filename):
5572 * net/newst-treeview.el (newsticker-groups-filename):
5573 Fix incorrect obsolescence declaration.
5575 * allout.el (allout-passphrase-hint-string): Likewise.
5576 (allout-init): Use a declare form to mark obsolete.
5578 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5579 this applies to functions.
5581 * iswitchb.el (iswitchb-read-buffer): Move code of
5582 iswitchb-define-mode-map here, and delete that obsolete function.
5584 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5585 font-lock-reference-face.
5587 2012-09-25 Glenn Morris <rgm@gnu.org>
5589 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5592 * eshell/em-term.el (eshell-term-name):
5593 Default to term-term-name. (Bug#12485)
5595 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5597 * progmodes/python.el (python-shell-send-buffer): Better handling
5598 of "if __name__ == '__main__':" conditionals when sending the buffer.
5600 2012-09-24 Glenn Morris <rgm@gnu.org>
5602 * eshell/esh-cmd.el (eshell-find-alias-function):
5603 Tighten up file-name regexp. (Bug#12499)
5605 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5607 Enhancements for triple-quote string syntax.
5608 * progmodes/python.el (python-quote-syntax): Remove.
5609 (python-syntax-propertize-function): New value.
5610 (python-syntax-count-quotes, python-syntax-stringify):
5613 2012-09-24 Chong Yidong <cyd@gnu.org>
5615 * mail/supercite.el (sc-version): Remove obsolete function.
5616 (sc-describe): Don't mark as obsolete, since it is bound.
5617 (sc-submit-bug-report): Remove.
5619 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5620 (cvs-commit-buffer-require-final-newline): Remove.
5621 (log-edit-require-final-newline)
5622 (log-edit-changelog-full-paragraphs): Default to t.
5624 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5625 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5626 * vc/vc.el (vc-checkout-carefully): Likewise.
5628 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5629 (emerge-version): Remove.
5631 * progmodes/compile.el (compile-internal): Remove.
5632 (compilation-parse-errors-function): Fix typo.
5634 * international/mule.el (set-char-table-default): Remove.
5635 (set-coding-priority, make-coding-system, generic-char-p)
5636 (charset-list, charset-bytes, charset-id): Use declare to mark
5637 functions as obsolete.
5639 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5640 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5641 * vc/vc-hooks.el (vc-default-registered): Don't use
5642 vc-master-templates.
5644 * font-lock.el (font-lock-reference-face):
5645 Use define-obsolete-variable-alias.
5647 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5648 * calendar/calendar.el (calendar-font-lock-keywords):
5649 * calendar/diary-lib.el (diary-font-lock-keywords)
5650 (diary-fancy-font-lock-keywords):
5651 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5652 * textmodes/reftex-index.el (reftex-insert-index):
5653 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5654 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5655 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5656 * progmodes/prolog.el (prolog-font-lock-keywords):
5657 * progmodes/idlwave.el (idlwave-idl-keywords):
5658 * progmodes/ada-mode.el (ada-font-lock-keywords):
5659 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5661 2012-09-24 Glenn Morris <rgm@gnu.org>
5663 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5665 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5667 * progmodes/python.el (python-indent-line): More consistent cursor
5670 2012-09-23 Stefan Merten <smerten@oekonux.de>
5672 * textmodes/rst.el: Fix compiler warning.
5674 2012-09-23 Roland Winkler <winkler@gnu.org>
5676 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5677 Transcribe also LaTeX hyphenation.
5678 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5679 bibtex-reformat-previous-options.
5681 2012-09-23 Roland Winkler <winkler@gnu.org>
5683 * proced.el (proced-renice-command): New variable.
5684 (proced-marked-processes): New function.
5685 (proced-with-processes-buffer): New macro.
5686 (proced-send-signal): Use them.
5687 (proced-renice): New command bound to r.
5689 2012-09-23 Roland Winkler <winkler@gnu.org>
5691 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5692 ibuffer-saved-filter-groups has one element, shortcut the call of
5693 completing-read. (Bug#12331)
5695 2012-09-23 Chong Yidong <cyd@gnu.org>
5697 * bindings.el (mode-line-toggle-read-only):
5698 * bs.el (bs-toggle-readonly):
5699 * buff-menu.el (Buffer-menu-toggle-read-only):
5700 * dired.el (dired-toggle-read-only):
5701 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5703 2012-09-23 Chong Yidong <cyd@gnu.org>
5705 * image.el (image-type-available-p): Adapt to init-image-library
5708 2012-09-22 Juri Linkov <juri@jurta.org>
5710 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5711 `dired-toggle-read-only'. (Bug#12462)
5713 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5715 * subr.el (temp-output-buffer-show): New function.
5716 (with-output-to-temp-buffer): Call temp-output-buffer-show
5717 instead of internal-temp-output-buffer-show.
5719 2012-09-22 Chong Yidong <cyd@gnu.org>
5721 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5724 * repeat.el (repeat): Doc fix (Bug#12348).
5726 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5729 * simple.el (shell-command-on-region): Doc fix.
5730 (read-only-mode): Doc fix.
5732 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5734 * emacs-lisp/timer.el (run-with-idle-timer)
5735 (timer-activate-when-idle): Warn against reinvoking an idle timer
5736 from within its own timer action. (Bug#12447)
5738 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5740 * cus-start.el (window-combination-limit): Add new optional
5742 * window.el (temp-buffer-window-show)
5743 (window--try-to-split-window): Handle new values of
5744 window-combination-limit (Bug#1806).
5745 (split-window): Test window-combination-limit for t instead of
5747 (display-buffer-at-bottom): New buffer display action function.
5748 * help.el (temp-buffer-resize-regexps): New option.
5749 (temp-buffer-resize-mode): Rewrite doc-string.
5750 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5751 Don't resize reused window. Suggested by Glenn Morris.
5753 2012-09-22 Stefan Merten <smerten@oekonux.de>
5755 * textmodes/rst.el: Revamp section title faces.
5756 (rst-official-version)
5757 (rst-package-emacs-version-alist): Sync with official version
5759 (rst-faces-defaults, rst-set-level-default)
5760 (rst-level-face-max, rst-level-face-base-color)
5761 (rst-level-face-base-light, rst-level-face-format-light)
5762 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5763 (rst-adornment-faces-alist): Match new setup.
5764 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5765 (rst-level-5, rst-level-6): New faces.
5767 2012-09-22 Chong Yidong <cyd@gnu.org>
5769 * simple.el (undo): Handle indirect buffers (Bug#8207).
5771 2012-09-21 Leo Liu <sdl.web@gmail.com>
5773 IDO: Disable match re-ordering for buffer switching.
5774 * ido.el (ido-buffer-disable-smart-matches): New variable.
5775 (ido-set-matches-1): Use it. (Bug#2042)
5777 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5779 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5780 Fix 2011-05-17 change. (Bug#12418)
5782 2012-09-21 Leo Liu <sdl.web@gmail.com>
5784 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5786 2012-09-21 Glenn Morris <rgm@gnu.org>
5788 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5789 Be more robust about locating simple.el.
5791 2012-09-21 Glenn Morris <rgm@gnu.org>
5793 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5795 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5797 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5799 2012-09-20 Juri Linkov <juri@jurta.org>
5801 * replace.el (query-replace-read-from): Use `read-regexp' instead
5802 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5803 (occur-read-primary-args): Use `read-regexp' instead of
5805 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5806 `read-from-minibuffer'.
5807 * isearch.el (isearch-occur): Use `read-regexp' instead of
5809 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5810 `read-from-minibuffer'.
5811 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5812 of `read-string'. (Bug#7567)
5814 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5815 and allow accepting a list of strings prepended to a list of
5816 standard default values. Doc fix. (Bug#12321)
5818 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5820 * replace.el (read-regexp): Don't add ": " when PROMPT already
5821 ends with a colon and space. (Bug#12321)
5823 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5825 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5828 2012-09-20 Stefan Merten <smerten@oekonux.de>
5830 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5831 Fixes feature request bug#11711.
5832 (rst-mode): Create `imenu-create-index-function'.
5833 (rst-get-stripped-line): Delete after refactoring.
5834 (rst-section-tree, rst-section-tree-rec)
5835 (rst-section-tree-point): Refactor and document properly.
5836 (rst-imenu-find-adornments-for-position)
5837 (rst-imenu-convert-cell, rst-imenu-create-index):
5840 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5843 (macroexp--expand-all): Use it.
5844 (macroexp--funcall-and-return): Remove by folding it into its sole
5845 caller (macroexp--warn-and-return).
5846 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5847 Use macroexp--obsolete-warning.
5849 * calc/calc.el: Fix last change by removing the whole chunk, since it
5850 was only needed back when Calc was not bundled.
5852 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5854 * emacs-lisp/debug.el (debug): Restore assignment to
5855 debugger-old-buffer removed on 2012-09-08.
5857 2012-09-20 Juri Linkov <juri@jurta.org>
5859 * dired-aux.el (dired-diff): Remove (require 'diff) since
5860 `diff-latest-backup-file' is now autoloaded.
5862 2012-09-20 Chong Yidong <cyd@gnu.org>
5864 * vc/diff.el (diff-latest-backup-file): Autoload.
5866 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5868 * calc/calc.el: Remove redundant autoload shape check.
5869 (sel-mode): Don't defvar.
5870 (calc-get-stack-element): Add `sel-mode' arg instead.
5871 (calc-top, calc-top-list): Pass it this additional argument.
5872 * calc/calc-store.el (calc-store-map):
5873 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5874 (calc-map-equation, calc-outer-product, calc-inner-product):
5875 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5877 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5879 2012-09-19 Juri Linkov <juri@jurta.org>
5881 * dired-aux.el (dired-diff): Add (require 'diff) because
5882 `diff-latest-backup-file' is not autoloaded.
5883 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5884 of `dired-get-filename' to t to not report error when there is
5885 no default file on the current line.
5887 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5889 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5890 macroexp--eval-if-compile.
5891 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5892 (macroexp--expand-all): Use them (bug#12371).
5894 * doc-view.el (doc-view-guess-paper-size)
5895 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5897 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5899 New feature: set optimal slice from BoundingBox information.
5900 * doc-view.el (doc-view-mode-map): Add keybinding.
5901 (doc-view-menu): Add menu entry.
5902 (doc-view-set-slice): Adapt docstring.
5903 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5904 (doc-view-scale-bounding-box)
5905 (doc-view-set-slice-from-bounding-box): New functions.
5906 (doc-view-paper-sizes): New defvar.
5908 2012-09-19 Glenn Morris <rgm@gnu.org>
5910 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5911 (byte-compile-log-warning): Autoload. (Bug#12371)
5913 * calendar/calendar.el (calendar-american-month-header)
5914 (calendar-european-month-header, calendar-iso-month-header)
5915 (calendar-month-header): New options.
5916 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5917 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5919 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5921 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5923 2012-09-18 Juri Linkov <juri@jurta.org>
5925 * dired-aux.el (dired-diff): Restore original functionality of
5926 getting the default value, but keep new feature of using the
5927 latest existing backup file (`diff-latest-backup-file').
5929 2012-09-18 Juri Linkov <juri@jurta.org>
5931 * dired.el (dired-mark): If the region is active in Transient Mark
5932 mode, mark all files in the active region. Doc fix.
5933 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5934 Doc fix. (Bug#10624)
5936 2012-09-18 Juri Linkov <juri@jurta.org>
5938 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5939 attributes for M-n are pulled from the file at point.
5940 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5941 Suggested by Drew Adams. (Bug#10624)
5943 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5945 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5946 whitespace after "end".
5947 (ruby-do-end-to-brace): Collapse block to one line if it fits
5950 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5952 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5954 (debug): Don't remove debugger window when debugger is expected
5957 2012-09-18 Chong Yidong <cyd@gnu.org>
5959 * custom.el (defface): Doc fix.
5961 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5963 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5965 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5966 to initialize query-on-exit; then test that instead (bug#12288).
5968 2012-09-17 Stefan Merten <smerten@oekonux.de>
5970 * textmodes/rst.el: Add support for `testcover'.
5971 (rst-defcustom-testcover, rst-testcover-add-compose)
5972 (rst-testcover-add-1value): New functions.
5973 (rst-portable-mark-active-p): Replace by `use-region-p'.
5974 (rst-update-section, rst-classify-adornment)
5975 (rst-find-title-line): Mark `1value' forms.
5976 (rst-classify-adornment): Remove superfluous form.
5977 (rst-update-section, rst-get-adornments-around)
5978 (rst-adornment-complete-p, rst-get-next-adornment)
5979 (rst-adjust, rst-promote-region)
5980 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5981 (rst-find-pfx-in-region, rst-section-tree-rec)
5982 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5983 (rst-toc-node, rst-toc, rst-forward-section)
5984 (rst-iterate-leftmost-paragraphs)
5985 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5986 (rst-bullet-list-region)
5987 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5988 (rst-compile-find-conf, rst-compile)
5989 (rst-repeat-last-character): Fix style.
5991 2012-09-17 Chong Yidong <cyd@gnu.org>
5993 * comint.el (comint--complete-file-name-data): Don't add a space
5994 if the status is `sole'; that adds a gratuitous space in the
5995 completion-cycling case (Bug#12092).
5997 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5999 2012-09-17 Richard Stallman <rms@gnu.org>
6001 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6002 only in the mime-shown mode, not in raw mode.
6003 (rmail-mime): Toggle off mime by displaying the message without
6004 mime processing. (Bug#12305)
6006 * mail/rmail.el (rmail-retry-failure):
6007 Turn off mime processing first. (Bug#12037)
6009 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6011 2012-09-17 Chong Yidong <cyd@gnu.org>
6013 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6014 (shell-dynamic-complete-functions): Convert to defcustom.
6015 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6017 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6018 * comint.el (comint-prompt-read-only):
6019 * custom.el (defcustom):
6020 * hi-lock.el (hi-lock-mode):
6021 * ibuffer.el (ibuffer-formats):
6022 * ielm.el (ielm-prompt-read-only):
6023 * novice.el (disable-command):
6024 * saveplace.el (toggle-save-place):
6025 * speedbar.el (speedbar-supported-extension-expressions):
6026 * startup.el (auto-save-list-file-prefix, init-file-user)
6027 (after-init-hook, inhibit-startup-echo-area-message):
6028 * strokes.el (strokes-help):
6029 * time-stamp.el (time-stamp):
6030 * calendar/calendar.el (calendar, diary-file):
6031 * calendar/diary-lib.el (diary-mail-entries, diary)
6032 (diary-list-entries-hook):
6033 * calendar/holidays.el (holidays, calendar-holidays):
6034 * calendar/lunar.el (lunar-phases):
6035 * calendar/solar.el (sunrise-sunset):
6036 * emulation/edt.el (edt-load-keys):
6037 * emulation/viper.el (viper-mode):
6038 * eshell/em-alias.el (eshell-command-aliases-list):
6039 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6040 * international/ogonek.el (ogonek-information):
6041 * net/tramp-cmds.el (tramp-bug):
6042 * net/quickurl.el (quickurl-reread-hook-postfix):
6043 * play/decipher.el (decipher-font-lock-keywords):
6044 * progmodes/cc-styles.el (c-set-style):
6045 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6046 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6047 * progmodes/octave-mod.el (octave-mode):
6048 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6049 * progmodes/verilog-mode.el (verilog-read-defines):
6050 * textmodes/two-column.el (2C-mode): Likewise.
6052 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6054 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6055 that holds many addresses.
6057 2012-09-16 Chong Yidong <cyd@gnu.org>
6059 * align.el (align-areas): Call the indication function with
6060 positions instead of markers for arguments (Bug#12343).
6062 * files.el (parse-colon-path): Use split-string (Bug#12351).
6064 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6065 (display-buffer-function): Mark as obsolete.
6067 * progmodes/compile.el (compilation-parse-errors): Accept list
6068 values similar to font-lock-keywords (Bug#12136).
6069 Suggested by Oleksandr Manzyuk.
6070 (compilation-error-regexp-alist): Doc fix.
6072 2012-09-15 Glenn Morris <rgm@gnu.org>
6074 * version.el (emacs-bzr-version-bzr): New function.
6075 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6077 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6078 checkouts, check the parent dirstate matches the branch.
6079 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6082 * version.el (emacs-bzr-version): Doc fix.
6083 (emacs-bzr-version-dirstate): New function.
6084 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6085 is local try and check that it matches the branch. If not, just
6086 use dirstate information. (Bug#12441)
6088 2012-09-14 Juri Linkov <juri@jurta.org>
6090 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6093 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6097 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6098 Remove obsolete byte-compiler hack that tried to silence some warnings.
6099 (edebug-submit-bug-report): Remove.
6100 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6101 Remove aliases, use the un-prefixed name instead.
6102 (edebug-pop-to-buffer): Consider other frames.
6103 (edebug-original-read):: Make it more obvious that it's always defined.
6104 (edebug--make-form-data-entry, edebug--form-data-name)
6105 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6106 single-dashed name, and implement with cl-defstruct.
6107 (edebug-set-form-data-entry): Use the standard accessors.
6108 (edebug-make-top-form-data-entry): Use push.
6109 (edebug-no-match): Drop useless `funcall'.
6110 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6112 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6113 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6114 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6115 (easy-menu-define, with-custom-print): Remove redundant specs.
6116 (edebug-outside-overriding-local-map)
6117 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6118 (edebug--display): Bind unread-command-events directly to nil rather
6119 than binding it to unread-command-events and later setting it to nil.
6120 (edebug--display): Kill edebug-eval-buffer here...
6121 (edebug--recursive-edit): ...rather than here.
6122 Bind standard-output and standard-input.
6123 (edebug-eval): Check cl-macroexpand-all is fboundp.
6124 (edebug-temp-display-freq-count): Fix last change.
6126 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6127 * subr.el (noreturn, 1value): Add `debug' spec.
6128 * emacs-lisp/advice.el: Require cl-lib.
6129 (ad-copy-tree): Remove, use copy-tree instead.
6130 (ad-dolist): Remove use dolist or cl-dolist instead.
6131 (ad-do-return): Remove, use cl-return instead.
6132 (defadvice): Add `debug' spec.
6134 2012-09-13 Juri Linkov <juri@jurta.org>
6136 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6139 2012-09-13 Glenn Morris <rgm@gnu.org>
6141 * calc/calc.el (math-compose-expr):
6142 * calc/calc-ext.el (math-compose-expr):
6143 * progmodes/cc-defs.el (cl-macroexpand-all):
6144 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6145 (cl-macroexpand-all): Update declarations.
6147 * vc/vc.el: No need to require ediff.
6148 (ediff-load-version-control): Declare.
6149 (ediff-vc-internal): Fix declaration.
6150 (vc-version-ediff): Require ediff.
6152 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6154 Use a more backwards-compatible timer format (Bug#12430).
6155 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6156 being right after USECS, as that better supports old code that
6157 inadvisedly looked directly at the timer vector.
6159 2012-09-13 Kenichi Handa <handa@gnu.org>
6161 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6162 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6163 `coding-priority' property of these language environment.
6165 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6167 Fix glitches caused by addition of psec to timers (Bug#12430).
6168 * image.el (image-animate-timer):
6169 * time.el (display-time-world-timer):
6170 Use timer--function and timer--args rather than raw access to
6173 2012-09-13 Glenn Morris <rgm@gnu.org>
6175 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6176 If not compiling a file, try using load-file-name.
6178 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6182 (edebug-update-eval-list): Use `push'.
6184 * emacs-lisp/edebug.el: Use lexical-binding.
6185 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6186 Mark unused args with underscore.
6187 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6188 (edebug-form-data): Use defvar-local.
6189 (edebug-make-before-and-after-form, edebug-make-after-form):
6191 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6192 Not dynamically scoped any more.
6193 (edebug--enter-trace): Add arguments `function' and `args'.
6194 Rename from edebug-enter-trace.
6195 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6196 (edebug--update-coverage): Add `after-index' and `value' args.
6197 Rename from edebug-update-coverage.
6198 (edebug-slow-after): Call it accordingly.
6199 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6200 edebug-recursive-edit.
6201 (edebug--display): Call it accordingly. Add args `value',
6202 `offset-index', and `arg-mode'. Rename from edebug-display.
6203 (edebug-debugger, edebug): Call it accordingly.
6204 (edebug-eval-display-list): Use dolist.
6206 2012-09-12 Juri Linkov <juri@jurta.org>
6208 * info.el (Info-search): Don't check for isearch-mode and
6209 isearch-regexp before let-binding search-spaces-regexp to
6210 Info-search-whitespace-regexp.
6211 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6212 search-whitespace-regexp if isearch-lax-whitespace or
6213 isearch-regexp-lax-whitespace is non-nil.
6214 (Info-mode): Don't set local variable search-whitespace-regexp.
6215 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6217 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6220 (debugger-env-macro): Remove support for unread-command-char.
6222 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6223 the temporary map re-appearing on emulation-mode-map-alists.
6225 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6228 * ehelp.el (with-electric-help): Accept functions in
6229 electric-help-form-to-execute.
6230 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6231 And replace unread-command-char -> unread-command-events.
6233 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6235 Sync with Tramp 2.2.6.
6237 * net/tramp.el (tramp-accept-process-output): Don't use
6238 JUST-THIS-ONE in the XEmacs case.
6240 * net/trampver.el: Update release number.
6242 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6244 * emacs-lisp/debug.el (debugger-previous-window-height):
6246 (debug): When debugger-jumping-flag is non-nil try to restore
6247 height of debugger window. (Bug#8789)
6249 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6252 overriding-local-map and pre/post-command-hook here.
6253 (edebug-recursive-edit): Do it here instead (bug#12345).
6254 (edebug-outside-unread-command-char): Remove all uses of
6255 unread-command-char.
6257 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6258 inhibit-debugger is bound instead.
6260 2012-09-11 Bastien Guerry <bzg@gnu.org>
6262 * subr.el (set-temporary-overlay-map): Add a docstring.
6265 2012-09-11 Bastien Guerry <bzg@gnu.org>
6267 * minibuffer.el (completion-table-subvert): Fix docstring.
6270 2012-09-11 Bastien Guerry <bzg@gnu.org>
6272 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6274 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6276 * progmodes/sql.el: Version 3.1
6277 (sql-db2-escape-newlines): New variable.
6278 (sql-escape-newlines-filter): Use it.
6280 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6282 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6284 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6286 * vc/diff-mode.el (diff-mode-menu):
6287 Bind diff-remove-trailing-whitespace.
6289 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6291 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6292 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6293 (emacs-lisp-byte-code-mode): New functions.
6294 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6295 (eval-defun-2): Remove bogus interactive spec.
6296 (lisp-indent-line): Remove redundant whole-exp code, now done in
6297 indent-according-to-mode.
6298 (save-match-data): Remove redundant indent data.
6300 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6303 2012-09-09 Juri Linkov <juri@jurta.org>
6305 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6306 (replace-lax-whitespace, query-replace-regexp)
6307 (query-replace-regexp-eval, replace-regexp): Doc fix.
6308 (perform-replace, replace-highlight): Let-bind
6309 isearch-lax-whitespace to replace-lax-whitespace and
6310 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6312 * isearch.el (isearch-query-replace): Let-bind
6313 replace-lax-whitespace to isearch-lax-whitespace and
6314 replace-regexp-lax-whitespace to
6315 isearch-regexp-lax-whitespace. (Bug#10885)
6317 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6319 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6321 2012-09-09 Alan Mackenzie <acm@muc.de>
6323 * progmodes/cc-engine.el (c-state-cache-init):
6324 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6325 (c-record-parse-state-state):
6326 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6328 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6330 * register.el (register-separator): Rename from
6331 separator-register. All uses changed. Doc fix.
6332 (register): Fix version.
6334 2012-09-09 Chong Yidong <cyd@gnu.org>
6336 * replace.el (query-replace-map): Bind four new symbols for
6337 requesting window scrolling.
6339 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6340 query-replace-map (Bug#8948).
6342 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6344 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6345 since they are now in query-replace-map.
6347 * window.el (scroll-other-window-down): Make the arg optional.
6349 2012-09-09 Chong Yidong <cyd@gnu.org>
6351 * files.el (hack-local-variables-confirm): Use quit-window to kill
6352 the *Local Variables* buffer.
6354 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6356 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6357 not just expect to be at its beginning. Adjust callees.
6358 Succeed when do-end block has no space before the pipe character.
6359 (ruby-brace-to-do-end): When the original block is one-liner,
6360 convert to multiline. Reindent the result.
6362 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6364 * register.el (register): New group.
6365 (separator-register): New user option.
6366 (increment-register): Route it to `append-to-register', if
6367 register contains text. Implication is that `C-x r +' can now be
6368 used for appending to a text register (bug#12217).
6369 (append-to-register, prepend-to-register): Add separator based on
6370 `separator-register'.
6372 2012-09-08 Alan Mackenzie <acm@muc.de>
6374 AWK Mode: make auto-newline work when there's "==" in the pattern.
6375 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6377 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6378 Test more rigorously for "=" token.
6380 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6382 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6383 Only fail when reached LIMIT.
6385 2012-09-08 Chong Yidong <cyd@gnu.org>
6387 * dired.el (dired-mode-map): Don't bind M-=.
6389 * dired-aux.el (dired-diff): Use backup file as default.
6391 2012-09-08 Drew Adams <drew.adams@oracle.com>
6393 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6395 2012-09-08 Chong Yidong <cyd@gnu.org>
6397 * subr.el (syntax-after, syntax-class): Doc fix.
6399 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6401 * window.el (display-buffer-in-previous-window): New buffer
6402 display action function.
6404 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6405 (debugger-previous-window): New variable.
6406 (debug): Rewrite using display-buffer-in-previous-window,
6407 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6409 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6411 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6413 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6415 * progmodes/python.el (python-shell-send-string):
6416 When default-directory is remote, create temp file on remote
6418 (python-shell-send-file): When file is remote, pass local view of
6419 file paths to remote Python interpreter. (Bug#12340)
6421 2012-09-07 Chong Yidong <cyd@gnu.org>
6423 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6425 * files.el (after-find-file): Don't fail on a read-only buffer if
6426 require-final-newline is `visit' or `visit-save' (Bug#11156).
6428 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6430 * userlock.el (ask-user-about-supersession-threat):
6431 Use read-char-choice (Bug#12093).
6433 2012-09-07 Chong Yidong <cyd@gnu.org>
6435 * subr.el (buffer-narrowed-p): New function.
6437 * ses.el (ses-widen):
6438 * simple.el (count-words--buffer-message):
6439 * net/browse-url.el (browse-url-of-buffer): Use it.
6441 * simple.el (count-words-region): Don't signal an error if there
6442 is a non-nil prefix arg and the mark is not set.
6444 * help.el (describe-key-briefly): Allow the message to be seen
6445 when invoked from the minibuffer (Bug#7014).
6447 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6449 * progmodes/ruby-mode.el (ruby-end-of-defun)
6450 (ruby-beginning-of-defun): Simplify, allow indentation before
6451 block beginning and end keywords.
6452 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6453 (ruby-end-of-defun): Expect that the point is at the beginning of
6456 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6460 (cl--make-usage-args): Strip _ from argument names.
6462 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6464 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6465 obsolete alias speedbar-key-map.
6466 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6467 (vhdl-index-menu-init): Don't use obsolete variable
6468 font-lock-maximum-size.
6470 2012-09-06 Chong Yidong <cyd@gnu.org>
6472 * frame.el (window-system-version): Mark as obsolete.
6474 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6475 of obsolete variable speedbar-key-map.
6477 2012-09-06 Juri Linkov <juri@jurta.org>
6479 * replace.el (replace-lax-whitespace): New defcustom.
6480 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6481 (replace-string, replace-regexp): Mention it in docstrings.
6482 (perform-replace, replace-highlight): Let-bind
6483 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6484 to the values of replace-lax-whitespace and regexp-flag.
6485 Don't let-bind search-whitespace-regexp. (Bug#10885)
6487 * isearch.el (isearch-query-replace): Let-bind
6488 replace-lax-whitespace instead of let-binding
6489 replace-search-function and replace-re-search-function.
6490 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6491 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6492 (isearch-toggle-symbol): Set isearch-regexp to nil
6493 in isearch-word mode (like in isearch-toggle-word).
6495 2012-09-06 Juri Linkov <juri@jurta.org>
6497 * replace.el (replace-search-function)
6498 (replace-re-search-function): Set default values to nil.
6499 (perform-replace): Let-bind isearch-related variables based on
6500 replace-related values, call `isearch-search-fun' and let-bind
6501 the result to `search-function'. Remove code that sets
6502 `search-function' and `search-string' separately for
6504 (replace-highlight): Add new argument `delimited-flag' and
6505 rename other arguments to the names used in `perform-replace'.
6506 Let-bind `isearch-word' to the argument `delimited-flag'.
6507 (Bug#10885, bug#10887)
6509 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6511 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6512 ruby-beginning-of-indent, simplify, allow all keywords to have
6513 indentation before them.
6514 (ruby-beginning-of-indent): Adjust for above. Search until the
6515 found point is not inside a string or comment.
6516 (ruby-font-lock-keywords): Allow symbols to start with "@"
6517 character, give them higher priority than variables.
6518 (ruby-syntax-propertize-function)
6519 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6520 matchers. Expression expansions are not comments when inside a
6521 string, and there comment syntax status is irrelevant.
6522 (ruby-match-expression-expansion): New function. Check that
6523 expression expansion is inside a string, and it's not escaped.
6524 (ruby-font-lock-keywords): Use it.
6526 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6528 * help.el (temp-buffer-max-height): New default value.
6529 (temp-buffer-resize-frames): New option.
6530 (resize-temp-buffer-window): Optionally resize frame.
6532 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6533 (fit-frame-to-buffer): New function.
6535 2012-09-05 Glenn Morris <rgm@gnu.org>
6537 * emulation/cua-rect.el (cua--init-rectangles):
6538 * textmodes/picture.el (picture-mode-map):
6539 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6540 like forward-char and backward-char. (Bug#12317)
6542 2012-09-05 Leo Liu <sdl.web@gmail.com>
6544 * progmodes/flymake.el (flymake-warning-re): New variable.
6545 (flymake-parse-line): Use it.
6547 2012-09-05 Glenn Morris <rgm@gnu.org>
6549 * calendar/holidays.el (holiday-christian-holidays):
6550 Rename an entry. (Bug#12289)
6552 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6557 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * loadup.el: Load macroexp. Remove hack.
6560 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6561 (macroexp--expand-all): Use it to get better warnings.
6562 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6563 (internal-macroexpand-for-load): New functions.
6564 (macroexp--pending-eager-loads): New var.
6565 (emacs-startup-hook): New hack to replace one in loadup.el.
6566 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6567 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6568 (cl-psetf): Simplify.
6569 (cl-defstruct): Add indent rule.
6571 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6573 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6574 over `user-mail-address' for the SMTP MAIL FROM envelope.
6575 (smtpmail-via-smtp): Ditto.
6577 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6579 * progmodes/ruby-mode.el: Clean up keybindings.
6580 (ruby-mode-map): Don't bind ruby-electric-brace,
6581 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6582 backward-kill-word, reindent-then-newline-and-indent.
6583 (ruby-mark-defun): Remove.
6584 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6585 (ruby-mode): Set local beginning-of-defun-function and
6586 end-of-defun-function values.
6588 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6590 * window.el (temp-buffer-window-setup-hook)
6591 (temp-buffer-window-show-hook): New hooks.
6592 (temp-buffer-window-setup, temp-buffer-window-show)
6593 (with-temp-buffer-window): New functions.
6594 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6595 (special-display-popup-frame): Make sure the window used shows BUFFER.
6597 * help.el (temp-buffer-resize-mode): Fix doc-string.
6598 (resize-temp-buffer-window): New optional argument WINDOW.
6600 * files.el (recover-file, save-buffers-kill-emacs):
6601 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6603 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6605 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6606 remote definition of `default-directory', ensure we can connect.
6608 2012-09-02 Juri Linkov <juri@jurta.org>
6610 Toggle whitespace matching mode with M-s SPC.
6611 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6613 * isearch.el (search-whitespace-regexp): Doc fix.
6614 Remove cons cell customization.
6615 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6616 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6618 (isearch-forward, isearch-forward-regexp): Doc fix.
6619 (isearch-toggle-lax-whitespace): New command.
6620 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6621 (re-search-forward-lax-whitespace)
6622 (re-search-backward-lax-whitespace): New functions.
6623 (isearch-whitespace-regexp): Remove function.
6624 (isearch-query-replace): Let-bind replace-search-function and
6625 replace-re-search-function.
6626 (isearch-occur): Let-bind search-spaces-regexp according to the
6627 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6628 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6629 condition for C-q SPC.
6630 (isearch-search-fun-default): Use new functions mentioned above.
6631 (isearch-search-forward, isearch-search-backward): Remove functions.
6632 (isearch-search): Don't let-bind search-spaces-regexp.
6633 (isearch-lazy-highlight-space-regexp): Remove variable.
6634 (isearch-lazy-highlight-lax-whitespace)
6635 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6636 (isearch-lazy-highlight-new-loop): Use them.
6637 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6639 2012-09-02 Chong Yidong <cyd@gnu.org>
6641 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6643 2012-09-02 Glenn Morris <rgm@gnu.org>
6645 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6647 2012-09-01 Glenn Morris <rgm@gnu.org>
6649 * term.el: Tidy up menu definitions.
6650 (term-mode-map): Use easymenu for In/Out, Complete menus.
6651 (term-pager-break-map): Initialize in the defvar.
6652 (term-terminal-menu, term-signals-menu): Define with easymenu.
6653 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6654 (term-pager-menu): New, extracted from term-process-pager.
6655 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6656 (term-update-mode-line): Propertize line/char and page items.
6657 (term-process-pager): Move keymap initialization elsewhere.
6659 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6661 * window.el (switch-to-prev-buffer): Handle additional values of
6662 BURY-OR-KILL argument. Don't switch in minibuffer window.
6663 (switch-to-next-buffer): Don't switch in minibuffer window.
6664 (quit-restore-window): New function based on quit-window.
6665 Handle additional values of former KILL argument.
6666 (quit-window): Call quit-restore-window with appropriate
6667 interpretation of KILL argument.
6668 (display-buffer-below-selected): New buffer display action
6671 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6673 * minibuffer.el (completion-at-point-functions): Complete docstring
6676 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6678 Better seed support for (random).
6679 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6680 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6681 * play/mpuz.el, play/tetris.el, play/zone.el:
6682 * calc/calc-comb.el (math-init-random-base):
6683 * play/blackbox.el (bb-init-board):
6684 * play/life.el (life):
6685 * server.el (server-use-tcp):
6686 * type-break.el (type-break):
6687 Remove unnecessary call to (random t).
6688 * net/sasl.el (sasl-unique-id-function):
6689 Change (random t) to (random), now that the latter is more random.
6690 * play/life.el (life-initialized): Remove no-longer-needed var.
6692 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6694 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6695 Consider frame's buffer predicate when choosing the buffer.
6698 2012-08-30 Richard Stallman <rms@gnu.org>
6700 * simple.el (special-mode-map): Delete binding for `z'.
6702 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6704 * progmodes/compile.el (compilation-always-kill): Doc fix.
6706 2012-08-30 Chong Yidong <cyd@gnu.org>
6708 * window.el (display-buffer-reuse-frames): Make the obsolescence
6709 message more informative.
6711 2012-08-30 Glenn Morris <rgm@gnu.org>
6713 * paren.el (show-paren-delay):
6714 Add a :set function. Doc fix. (Bug#12297)
6716 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6718 * progmodes/compile.el (compilation-always-kill): New var.
6719 (compilation-start): Use it.
6721 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6724 * files.el (read-only-mode): Move to simple.el.
6726 * files.el (read-only-mode): New minor mode.
6727 (toggle-read-only): Use it and mark obsolete.
6728 (find-file--read-only):
6729 * vc/vc.el (vc-next-action, vc-checkout):
6730 * vc/vc-cvs.el (vc-cvs-checkout):
6731 * obsolete/vc-mcvs.el (vc-mcvs-update):
6732 * ffap.el (ffap--toggle-read-only): Update callers.
6734 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6736 * eshell/esh-ext.el (eshell-external-command): Do not examine
6737 remote shell scripts.
6738 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6740 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6743 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6745 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6747 2012-08-28 Leo Liu <sdl.web@gmail.com>
6749 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6750 completion-at-point. (Bug#12220)
6752 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6754 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6756 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6759 be buffer-local; add delete-trailing-whitespace (bug#12259).
6761 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6763 * progmodes/hideif.el (hif-compress-define-list):
6764 Fix typo. (Bug#11951)
6766 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6768 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6769 buffer local setting.
6771 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6772 rcirc-encode-coding-system.
6774 2012-08-28 Leo Liu <sdl.web@gmail.com>
6776 * net/rcirc.el (rcirc-split-message): New function.
6777 (rcirc-send-message): Use it. (Bug#12051)
6779 2012-08-28 Juri Linkov <juri@jurta.org>
6781 * info.el (Info-fontify-node): Hide empty lines at the end of
6782 the node. (Bug#12272)
6784 2012-08-27 Drew Adams <drew.adams@oracle.com>
6786 * dired.el (dired-pop-to-buffer): Make window start at beginning
6787 of buffer (Bug#12281).
6789 2012-08-26 Chong Yidong <cyd@gnu.org>
6791 * window.el (special-display-regexps, special-display-frame-alist)
6792 (special-display-buffer-names, special-display-function)
6793 (display-buffer-reuse-frames): Mark as obsolete.
6795 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6797 * help.el (help-print-return-message): Don't treat
6798 display-buffer-reuse-frames specially.
6800 2012-08-26 Chong Yidong <cyd@gnu.org>
6802 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6803 New variable, replacing gdb-frame-parameters.
6804 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6805 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6806 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6807 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6808 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6809 the functions directly with gdb-display-buffer-other-frame-action.
6810 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6811 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6812 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6813 (gdb-display-registers-buffer): Define directly.
6814 (def-gdb-display-buffer): Macro deleted.
6815 (gdb-display-buffer): Remove second and third args, callers don't
6816 use them. Defer to the default display-buffer behavior, apart
6817 from making windows dedicated.
6818 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6820 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6822 * window.el (display-buffer-pop-up-frame): Handle a
6823 pop-up-frame-parameters alist entry.
6824 (display-buffer): Document it.
6826 2012-08-26 Chong Yidong <cyd@gnu.org>
6828 * isearch.el (search-whitespace-regexp): Make string and nil
6829 values apply to both ordinary and regexp search. Allow a cons
6830 cell value to distinguish between the two.
6831 (isearch-whitespace-regexp, isearch-search-forward)
6832 (isearch-search-backward): New functions.
6833 (isearch-occur, isearch-search-fun-default, isearch-search)
6834 (isearch-lazy-highlight-new-loop): Use them.
6835 (isearch-forward, isearch-forward-regexp): Doc fix.
6837 2012-08-26 Chong Yidong <cyd@gnu.org>
6839 * faces.el (help-argument-name): Always inherit from italic
6842 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6844 * window.el (window--even-window-heights): Even heights when
6845 WINDOW and the selected window form a vertical combination.
6846 (display-buffer-use-some-window): Provide that window used gets
6847 sized back by quit-window. (Bug#11880) and (Bug#12091)
6849 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6851 Fix file time stamp problem with bzr and CVS (Bug#12001).
6852 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6853 in the file's time stamp, since the version control system loses
6856 2012-08-22 Juri Linkov <juri@jurta.org>
6858 * info.el (Info-fontify-node): Hide the suffix of the
6859 Info file name in the header line. (Bug#12187)
6861 2012-08-22 Glenn Morris <rgm@gnu.org>
6863 * calendar/cal-tex.el (cal-tex-weekly-common):
6864 Restore leading blank page.
6866 2012-08-22 Le Wang <l26wang@gmail.com>
6868 * misc.el (forward-to-word, backward-to-word): Activate or extend
6869 the region under `shift-select-mode'. (Bug#12231)
6871 2012-08-22 Bastien Guerry <bzg@gnu.org>
6873 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6874 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6875 gives details on why the space is never needed.
6877 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6879 * window.el (walk-window-tree, window-with-parameter):
6880 New optional argument MINIBUF to control whether these functions
6881 should run on the minibuffer window.
6882 (window-at-side-list): Don't operate on minibuffer window.
6883 (window-in-direction): Simplify and rewrite doc-string.
6884 (window--size-ignore): Rename to window--size-ignore-p.
6886 (display-buffer-in-atom-window, window--major-non-side-window)
6887 (window--major-side-window, display-buffer-in-major-side-window)
6888 (delete-side-window, display-buffer-in-side-window):
6890 (window--side-check, window-deletable-p, delete-window)
6891 (delete-other-windows, split-window): Handle side windows and
6892 atomic windows appropriately.
6893 (window--display-buffer): Call display-buffer-record-window also
6894 when the window buffer did not change.
6896 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6898 * help-fns.el (help-fns--key-bindings):
6899 Abbreviate non-symbol remap targets. (Bug#12174)
6901 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6903 * dired.el (dired-mark-remembered): Don't clobber point.
6906 2012-08-22 Glenn Morris <rgm@gnu.org>
6908 * progmodes/bug-reference.el (bug-reference): New custom group.
6909 (bug-reference-bug-regexp): Make it a defcustom.
6911 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6913 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6914 (js-paren-indent-offset, js-square-indent-offset)
6915 (js-curly-indent-offset): Add :safe (Bug#12257).
6917 2012-08-22 Edward O'Connor <hober0@gmail.com>
6919 * json.el (json-key-format): Add error properties.
6920 (json-encode-key): New function.
6921 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6922 Use json-encode-key.
6924 2012-08-22 Glenn Morris <rgm@gnu.org>
6926 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6927 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6928 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6929 Update for above change.
6931 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6933 * cus-face.el (custom-face-attributes): Fix customize type for the
6934 :underline attribute. (Bug#11805)
6936 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6938 * window.el (window-point-1, set-window-point-1): Remove.
6939 (window-in-direction, record-window-buffer)
6940 (set-window-buffer-start-and-point, split-window-below)
6941 (window--state-get-1, display-buffer-record-window):
6942 Replace calls to window-point-1 and set-window-point-1 by calls to
6943 window-point and set-window-point respectively.
6945 2012-08-21 Glenn Morris <rgm@gnu.org>
6947 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6948 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6951 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6952 (cal-tex-shortday): New function.
6953 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6954 (cal-tex-cursor-filofax-daily): Use the above.
6956 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6958 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6959 (cal-tex-cursor-filofax-week): Use them.
6961 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6963 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6964 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6966 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6967 (cal-tex-end-document): Don't rely on buffer name.
6969 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6971 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6972 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6973 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6976 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6977 (cal-tex-cursor-week, cal-tex-cursor-week2)
6978 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6979 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6980 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6981 (cal-tex-insert-preamble, cal-tex-b-document)
6982 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6983 Improve cal-tex-cmd usage.
6985 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6986 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6987 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6988 (cal-tex-weekly-paper): New function.
6989 (cal-tex-cursor-week, cal-tex-cursor-week2)
6990 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6991 (cal-tex-cursor-day): Use it.
6993 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6994 (cal-tex-cursor-filofax-week): Remove leading blank page.
6996 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6997 Add autoload cookie. For now at least, don't use color, since
6998 no other cal-tex function does.
7000 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7001 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7002 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7004 2012-08-21 Juri Linkov <juri@jurta.org>
7006 * info.el (Info-file-attributes): New variable.
7007 (info-insert-file-contents): Add file attributes to
7008 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7009 `Info-toc-nodes' when previous modtime of the Info file is less
7011 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7012 of info.el. (Bug#12230)
7014 2012-08-20 Glenn Morris <rgm@gnu.org>
7016 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7017 * calendar/holidays.el (calendar-holiday-list):
7018 Report errors with display-warning rather than beep'n'sleep.
7020 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7022 * net/tramp.el (tramp-accept-process-output): Accept only output
7023 from PROC. Otherwise, process filters and sentinels might be
7024 confused. (Bug#12145)
7026 2012-08-20 Chong Yidong <cyd@gnu.org>
7028 * descr-text.el (describe-text-properties-1): Use overlays-in to
7029 report on empty overlays (Bug#3322).
7031 2012-08-20 Glenn Morris <rgm@gnu.org>
7033 * mail/rmailout.el (rmail-output-read-file-name):
7034 Trap and report errors in rmail-output-file-alist elements.
7036 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7037 since most non-font-lock faces are not also variables).
7039 2012-08-20 Edward Reingold <reingold@iit.edu>
7041 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7042 New function. (Bug12160)
7044 2012-08-19 Glenn Morris <rgm@gnu.org>
7046 * mail/rmailout.el (rmail-output-read-file-name):
7047 Fix previous change (when the alist is nil or does not match).
7049 2012-08-19 Chong Yidong <cyd@gnu.org>
7051 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7054 2012-08-18 Chong Yidong <cyd@gnu.org>
7056 * simple.el (yank-handled-properties): New defcustom.
7057 (yank-excluded-properties): Add font-lock-face and category.
7060 * subr.el (remove-yank-excluded-properties):
7061 Obey yank-handled-properties. The special handling of font-lock-face
7062 and category is now done this way, instead of being hard-coded.
7063 (insert-for-yank-1): Remove font-lock-face handling.
7064 (yank-handle-font-lock-face-property)
7065 (yank-handle-category-property): New function.
7067 2012-08-17 Glenn Morris <rgm@gnu.org>
7069 * mail/rmailout.el (rmail-output-read-file-name):
7070 Check rmail-output-file-alist against the full message body
7071 in the correct rmail buffer. (Bug#12214)
7073 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7075 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7076 Eliminate superfluous prompt. (Bug#12203)
7078 2012-08-17 Chong Yidong <cyd@gnu.org>
7080 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7081 font spec, set the font directly (Bug#3228).
7083 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7085 * window.el (delete-window): Fix last fix.
7087 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7089 * window.el (window-valid-p): Move to window.c.
7090 (window-child, window-child-count, window-last-child)
7091 (window-normalize-window, window-combined-p)
7092 (window-combinations, window-atom-root, window-min-size)
7093 (window-sizable, window-sizable-p, window-size-fixed-p)
7094 (window-min-delta, window-max-delta, window--resizable)
7095 (window--resizable-p, window-resizable, window-total-size)
7096 (window-full-height-p, window-full-width-p, window-body-size)
7097 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7098 (minimize-window, window-deletable-p, delete-window)
7099 (delete-other-windows, set-window-buffer-start-and-point)
7100 (next-buffer, previous-buffer, split-window, balance-windows-2)
7101 (set-window-text-height, window-buffer-height)
7102 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7103 (truncated-partial-width-window-p): Minor code adjustments.
7104 In doc-strings state whether the argument window has to denote a
7105 live, valid or any window.
7107 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7109 * progmodes/subword.el (subword-forward-function)
7110 (subword-backward-function, subword-forward-regexp)
7111 (subword-backward-regexp): New variables.
7112 (subword-forward, subword-forward-internal, subword-backward-internal):
7113 Use new variables, eg so that different "word" definitions
7114 can be easily used. (Bug#11411)
7116 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7119 for composite selectors.
7120 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7121 operation just because we can't find a previous revision.
7123 2012-08-15 Chong Yidong <cyd@gnu.org>
7125 * frame.el (set-frame-font): Accept font objects.
7127 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7129 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7131 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7133 * man.el (Man-overstrike-face, Man-underline-face)
7134 (Man-reverse-face): Remove variables.
7135 (Man-overstrike, Man-underline, Man-reverse): New faces.
7136 (Man-fontify-manpage): Use them instead of the variables.
7137 (Man-cleanup-manpage): Comment change.
7138 (Man-ansi-color-map): New variable.
7139 (Man-fontify-manpage): Use it.
7140 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7142 Implement ANSI SGR parameters 22-27 (bug#12146).
7143 * ansi-color.el (ansi-colors): Doc fix.
7144 (ansi-color-context, ansi-color-context-region): Doc fix.
7145 (ansi-color--find-face): New function.
7146 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7147 Rename the local variable `face' to `codes' since it is now a list of
7148 ansi codes. Doc fix.
7149 (ansi-color-get-face): Remove.
7150 (ansi-color-parse-sequence): New function, derived from
7151 ansi-color-get-face.
7152 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7155 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * subr.el (read-passwd): Allow use from a minibuffer.
7159 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7161 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7162 inside comments and strings as identifiers.
7164 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7165 expression to evaluate. This allows to evaluate expressions with
7166 embedded whitespace.
7167 (gud-tooltip-tips): Add a blank before the newline in the
7168 message-box text, for the benefit of message-box emulation on
7171 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7172 messages from GDB, pop them up in a tooltip to give feedback to
7174 (gdb-tooltip-print-1): Quote the expression to evaluate.
7175 This allows to evaluate expressions with embedded whitespace.
7176 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7177 if the TTY name is nil or empty (which happens when communicating
7178 with the inferior via pipes, e.g. on MS-Windows).
7179 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7180 don't send that to the GUD buffer.
7182 2012-08-14 Glenn Morris <rgm@gnu.org>
7184 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7185 Optimize away setq-default with no args, as for setq. (Bug#12195)
7187 2012-08-14 Chong Yidong <cyd@gnu.org>
7189 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7191 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7194 2012-08-14 Glenn Morris <rgm@gnu.org>
7196 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7198 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7200 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7201 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7202 Use cached shell name.
7204 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7206 * progmodes/python.el (python-shell-send-string):
7207 (python-shell-send-setup-code): Do not use `format' with `message'.
7209 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7211 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7212 (ruby-percent-literal-beg-re): New constant.
7213 (ruby-syntax-general-delimiters-goto-beg): Rename to
7214 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7215 (ruby-syntax-propertize-general-delimiters): Rename to
7216 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7217 popular term. Adjust comments everywhere.
7218 (ruby-syntax-propertize-percent-literal): Only propertize when not
7219 inside a simple string or comment. When the literal is unclosed,
7220 leave the text after it unpropertized.
7221 (ruby-syntax-methods-before-regexp): New constant.
7222 (ruby-syntax-propertize-function): Use it to recognize regexps.
7223 Don't look at the text after regexp, just use the whitelist.
7225 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7227 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7228 non-nil always load the compiled file if it exists. (Bug#12197)
7230 2012-08-14 Chong Yidong <cyd@gnu.org>
7232 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7233 (hi-lock-set-pattern): When deciding whether to use font lock or
7234 overlays, look at font-lock-mode instead of font-lock-fontified
7236 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7237 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7239 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7241 * subr.el (internal--after-with-selected-window): Fix typo
7244 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7246 Use `completion-table-dynamic' for completion functions.
7247 * progmodes/python.el
7248 (python-shell-completion--do-completion-at-point)
7249 (python-shell-completion--get-completions):
7251 (python-shell-completion-complete-at-point): New function.
7252 (python-completion-complete-at-point): Use it.
7254 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7256 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7257 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7259 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * subr.el (function-get): Refine `autoload' arg so it can also
7262 autoload functions for gv.el (bug#12191).
7263 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7266 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7267 Prefer pcase-let over destructuring-bind.
7268 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7269 Also, remove whitespace as we go, rather than after accumulating the
7272 * subr.el (internal--before-with-selected-window)
7273 (internal--after-with-selected-window): Fix typo seleted->selected.
7274 (with-selected-window): Adjust callers.
7275 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7277 2012-08-13 Bastien Guerry <bzg@gnu.org>
7279 * window.el (special-display-popup-frame): Minor docstring
7280 enhancement. (Bug#12172)
7282 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7284 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7286 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7289 * files.el (hack-local-variables-filter): Remove useless eval.
7291 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7293 * subr.el (with-selected-window): Fix last change.
7295 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * subr.el (internal--before-with-seleted-window)
7298 (internal--after-with-seleted-window): New functions.
7299 (with-selected-window): Use them, to replace dependency on
7302 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7304 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7305 binding for `newline'.
7306 (ruby-move-to-block): When moving backward, stop at block opening,
7308 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7309 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7310 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7311 `ruby-toggle-block'.
7313 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * ibuffer.el (ibuffer-do-toggle-read-only):
7316 * dired.el (dired-toggle-read-only):
7317 * buff-menu.el (Buffer-menu-toggle-read-only):
7318 * bindings.el (mode-line-toggle-read-only):
7319 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7321 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7323 * descr-text.el (describe-char): Put the overlays over the
7324 "displayed as" character.
7326 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7328 * calc/calc-units.el (math-default-units-table): Give an
7330 (math-put-default-units): Add options to put composite units and
7331 unit systems in the default units table.
7332 (calc-convert-units): Send composite units to
7333 `math-put-default-units' when appropriate.
7335 2012-08-11 Glenn Morris <rgm@gnu.org>
7337 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7339 * tutorial.el (help-with-tutorial):
7340 * emacs-lisp/copyright.el (copyright-update-directory):
7341 * emacs-lisp/autoload.el (autoload-find-generated-file)
7342 (autoload-find-file): Disable local eval: (for insurance).
7344 * files.el (hack-local-variables-filter): If an eval: form is not
7345 known to be safe, and enable-local-variables is :safe, then ignore
7346 the form totally, as is done for non-eval forms. (Bug#12155)
7347 This is CVE-2012-3479.
7349 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7351 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7352 (rx-form): Simplify.
7354 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7356 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7357 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7358 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7359 (ruby-syntax-propertize-function): Adjust for changes in
7360 `ruby-syntax-propertize-heredoc'.
7362 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7364 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7365 binding (use `M-;' instead).
7366 (ruby-singleton-class-p): New function.
7367 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7369 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7371 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7373 2012-08-10 Chong Yidong <cyd@gnu.org>
7375 * progmodes/python.el (python-shell-get-process-name): Don't mess
7376 with same-window-buffer-names.
7378 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7379 (eshell-remove-from-window-buffer-names): Make obsolete.
7380 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7381 (eshell): Just use pop-to-buffer-same-window instead.
7383 2012-08-10 Chong Yidong <cyd@gnu.org>
7385 * bindings.el: Bind M-= back to count-words-region.
7387 * simple.el (count-words-region): Accept a prefix arg for acting
7388 on the entire buffer.
7389 (count-words--buffer-message): New helper function.
7391 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7393 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7394 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7395 (event-start, event-end): Use posn-at-point to return a more
7397 (posnp): New function.
7398 * mouse.el (popup-menu-normalize-position): Use it.
7400 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7402 * mouse.el (popup-menu-normalize-position): New function.
7403 (popup-menu): Use `popup-menu-normalize-position' to normalize
7404 the form for POSITION argument.
7406 * term/x-win.el (x-menu-bar-open):
7407 Use the value returend from (posn-at-point) as position
7408 passed to `popup-menu'.
7410 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7412 * calc/calccomp.el (math-compose-expr): Add extra argument
7413 indicating that parentheses should be put around products in
7414 denominators. Give multiplication precedence over division during
7417 2012-08-09 Chong Yidong <cyd@gnu.org>
7419 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7420 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7421 (Man-untabify-command, manual-program): Convert to defcustom
7424 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7426 * descr-text.el (describe-char): Don't insert extra newlines
7429 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7430 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7432 * align.el (align-region): Delete temporary markers (Bug#10047).
7433 Plus some code cleanups.
7435 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7437 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7438 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7439 (python-shell-internal-last-output): Use make-local-variable
7440 instead of make-variable-buffer-local.
7442 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7444 * progmodes/python.el: Enhancements to forward-sexp.
7445 (python-nav-forward-sexp): Rename from
7446 python-nav-forward-sexp-function.
7447 (python-nav--forward-sexp, python-nav--backward-sexp):
7450 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7452 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7453 modes and simplification modes.
7455 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7457 * delsel.el (delete-selection-pre-hook): Don't propagate the
7458 file-supersession signals (bug#12161).
7460 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7462 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7463 (cl-map-extents): Add compatibility aliases (bug#12135).
7465 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7467 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7468 tests by `ignore-error'.
7469 (tramp-find-shell): Open also a new shell, when cache is already
7470 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7472 2012-08-08 Juri Linkov <juri@jurta.org>
7474 * bookmark.el: Add `defaults' property to the bookmark record.
7475 (bookmark-current-buffer): Doc fix.
7476 (bookmark-make-record): Add `defaults' property with default values
7477 to the bookmark record.
7478 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7479 with `bookmark-insert-current-bookmark'.
7480 (bookmark-set): Get `defaults' property from the bookmark record
7481 and use it in `read-from-minibuffer'.
7482 (bookmark-insert-current-bookmark): Remove function.
7484 * info.el (Info-bookmark-make-record): Add `defaults' property
7485 with values of canonical Info node name, the current Info file
7486 name and the current Info node name. (Bug#12107)
7488 2012-08-08 Juri Linkov <juri@jurta.org>
7490 * files.el (basic-save-buffer): Use `buffer-name' as the default
7491 of `read-file-name' when buffer is not visiting a file (bug#12128).
7493 2012-08-08 Juri Linkov <juri@jurta.org>
7495 * info.el (Info-isearch-search): Doc fix.
7496 (Info-search): Change search-failed message from "initial node" to
7497 "end of node" (bug#12078).
7498 (Info-isearch-search): Change `isearch-string-state' to
7499 `isearch--state-string'.
7501 2012-08-08 Glenn Morris <rgm@gnu.org>
7503 * language/persian.el: Remove file.
7504 * language/misc-lang.el: Move unique part of persian.el here.
7505 * loadup.el: Remove language/persian.
7507 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7509 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7511 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7513 * progmodes/python.el: Fix defsubst warning.
7514 (python-syntax-context) Rename from python-info-ppss-context.
7515 (python-syntax-context-type): Rename from
7516 python-info-ppss-context-type.
7517 (python-syntax-comment-or-string-p): Rename from
7518 python-info-ppss-comment-or-string-p.
7520 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7522 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7524 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7526 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7527 a defcustom that is quoted with backquote.
7529 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7530 Fix handling of interactive spec when the body uses return.
7531 (math-do-arg-check, math-define-function-body): Use backquote forms.
7532 * calc/calc-ext.el (math-defcache): Likewise.
7533 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7534 * allout.el (allout-new-exposure): Likewise.
7535 * calc/calcalg2.el (math-tracing-integral): Likewise.
7536 * info.el (Info-last-menu-item): Likewise.
7537 * emulation/vip.el (vip-loop): Likewise.
7538 * textmodes/artist.el (artist-funcall): Likewise.
7539 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7540 Construct menu-item directly.
7542 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7545 2012-08-07 Chong Yidong <cyd@gnu.org>
7547 * simple.el (deactivate-mark): Preserve text properties when
7548 saving the primary selection (Bug#8384).
7550 2012-08-07 Kevin Ryde <user42@zip.com.au>
7552 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7553 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7554 and continue processing (Bug#12110).
7556 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7559 syntax-propertize-function (bug#10095).
7561 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7564 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7565 describe-function-1.
7566 (describe-function-1): Use them. Move compiler macro after sig.
7567 (help-fns--compiler-macro): Use function-get. Assume we're already in
7568 standard-output. Adjust layout to new call order.
7570 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7571 re-binding a symbol that has a symbol-macro (bug#12119).
7573 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7575 * language/persian.el: New file. (Bug#11812)
7576 * loadup.el: Add language/persian.el.
7578 2012-08-06 Chong Yidong <cyd@gnu.org>
7580 * window.el (window--maybe-raise-frame): New function.
7581 (window--display-buffer): Split off from here.
7582 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7583 (display-buffer-pop-up-window, display-buffer-use-some-window):
7584 Obey an inhibit-switch-frame action alist entry.
7585 (display-buffer): Update doc.
7587 * replace.el (occur-after-change-function): Avoid losing focus by
7588 using the inhibit-switch-frame display parameter (Bug#12139).
7590 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7592 Make internal shell process buffer names start with space.
7593 * progmodes/python.el (python-shell-make-comint): Add optional
7595 (run-python-internal): Use it.
7596 (python-shell-internal-get-or-create-process): Check for new
7597 internal buffer names.
7599 2012-08-06 Glenn Morris <rgm@gnu.org>
7601 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7602 Do less getting and setting of environment variables.
7604 2012-08-05 Chong Yidong <cyd@gnu.org>
7606 * proced.el (proced): Add substitution string to docstring to
7607 trigger autoloading of the proced library on C-h f (Bug#1768).
7609 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7610 Don't show defvars which have no second argument (Bug#8638).
7612 * imenu.el (imenu-generic-expression): Move documentation here
7613 from imenu--generic-function.
7614 (imenu--generic-function): Refer to imenu-generic-expression.
7616 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7618 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7619 indentation declaration.
7620 (viper-loop): Add indentation declaration (Bug#7025).
7622 2012-08-05 Chong Yidong <cyd@gnu.org>
7624 * help-fns.el (describe-variable): Add hyperlink for
7625 directory-local variables files. Improve buffer-local and
7626 permanent-local reporting; suggested by MON KEY (Bug#6644).
7628 * help-mode.el (help-dir-local-var-def): New button type.
7630 * files.el (kill-buffer-hook): Provide a defvar.
7632 2012-08-05 Glenn Morris <rgm@gnu.org>
7634 * eshell/esh-ext.el (eshell/addpath):
7635 Also update eshell-path-env. (Bug#12013)
7637 2012-08-05 Chong Yidong <cyd@gnu.org>
7639 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7641 * fringe.el (fringe-styles): Add docstring.
7642 (fringe--check-mode): New function.
7643 (set-fringe-mode, set-fringe-style): Use it.
7644 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7646 * files.el (set-auto-mode): Fix invalid setq call.
7648 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * isearch.el: Misc simplification; use defstruct.
7651 (isearch-mode-map): Dense maps now work like sparse ones.
7652 (isearch--state): New defstruct.
7653 (isearch-string-state, isearch-message-state, isearch-point-state)
7654 (isearch-success-state, isearch-forward-state)
7655 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7656 (isearch-wrapped-state, isearch-barrier-state)
7657 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7658 replaced by defstruct's accessors.
7659 (isearch--set-state): Rename from isearch-top-state and change
7661 (isearch-push-state): Use new isearch--get-state.
7662 (isearch-toggle-word): Disable regexp when enabling word.
7663 (isearch-message-prefix): Remove unused arg _c-q-hack.
7664 (isearch-message-suffix): Remove unused arg _ellipsis.
7666 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7668 * simple.el (list-processes--refresh): For a server use :host or
7669 :local as the address.
7670 (list-processes): Doc fix.
7672 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7674 * lisp/mpc.el: Support password in host argument.
7675 (mpc--proc-connect): Parse and use new password element.
7676 Set mpc-proc variable instead of returning process.
7677 (mpc-proc): Adjust accordingly.
7679 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7681 * whitespace.el (whitespace-display-mappings): Use Unicode
7682 codepoints, instead of emacs-mule codepoints. See
7683 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7686 * files.el (file-truename): Don't skip symlink-chasing part on
7687 windows-nt. Incorporate the resolution of 8+3 short aliases on
7688 Windows into the loop that recursively chases symlinks.
7689 Compare directory and its parent case-insensitively on MS-Windows and
7692 2012-08-03 Chong Yidong <cyd@gnu.org>
7694 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7696 * sort.el (sort-regexp-fields): Doc fix.
7698 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7700 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7701 labels regex position point at the expected place.
7703 2012-08-03 MON KEY <monkey@sandpframing.com>
7705 * net/imap.el (imap-interactive-login, imap-authenticate)
7706 (imap-mailbox-lsub, imap-mailbox-list)
7707 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7708 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7709 (imap-parse-response): Doc fix.
7711 2012-08-03 João Távora <joaotavora@gmail.com>
7713 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7714 if sexp scanning does not move point (Bug#5734).
7716 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7718 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7719 Add listings, minted, and ctable packages.
7720 (reftex-label-alist-builtin): Move listings, minted, and ctable
7721 entries before LaTeX.
7722 (reftex-label-alist): Docfix.
7724 2012-08-02 Bastien Guerry <bzg@gnu.org>
7726 * replace.el (occur): Fix docstring (bug#12122).
7728 2012-08-02 Glenn Morris <rgm@gnu.org>
7730 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7732 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7734 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7735 * international/mule-cmds.el: Create
7736 inactivate-current-input-method-function as an obsolete alias for
7737 deactivate-current-input-method-function. See Katsumi Yamaoka in
7738 <http://bugs.gnu.org/10150#46>.
7740 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7742 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7745 2012-08-01 Glenn Morris <rgm@gnu.org>
7747 * progmodes/autoconf.el (autoconf-definition-regexp):
7748 Add AH_TEMPLATE, adjust submatch numbering.
7749 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7750 (autoconf-current-defun-function): Update for above change.
7751 (autoconf-current-defun-function): First skip to end of current word.
7753 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7755 * calendar/cal-html.el (cal-html-insert-agenda-days):
7756 Fix typo. (Bug#12018)
7758 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7760 Shell processes: enhancements to startup and CEDET compatibility.
7761 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7762 (python-shell-make-comint): accept-process-output at startup.
7763 (run-python-internal): Set inferior-python-mode-hook to nil.
7764 (python-shell-internal-get-or-create-process): call sit-for.
7765 (python-preoutput-result): Add obsolete alias.
7766 (python-shell-internal-send-string): Use it.
7767 (python-shell-send-setup-code): Remove call to
7768 accept-process-output.
7770 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7772 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7775 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7777 * calc-mode.el (calc-basic-simplification-mode): Rename from
7778 `calc-limited-simplification-mode'.
7779 (calc-alg-simplification-mode): New function.
7780 (calc-set-simplify-mode): Adjust message.
7782 * calc.el (calc-set-mode-line): Adjust mode line display for
7783 basic simplification mode.
7785 * calc-help.el (calc-m-prefix-help): Update help message.
7787 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7788 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7790 2012-07-31 Bastien Guerry <bzg@gnu.org>
7792 * man.el (man): Fix comment. (bug#12101)
7794 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7796 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7797 Don't return a non-nil value when no suitable buffer was found.
7799 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7801 * progmodes/python.el (run-python-internal): Disable font lock for
7804 2012-07-30 Stefan Merten <smerten@oekonux.de>
7806 * textmodes/rst.el: Silence `checkdoc-ispell'.
7807 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7808 (rst-official-version, rst-official-cvs-rev)
7809 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7810 (rst-mode-map): New key binding.
7812 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7814 Update .PHONY listings in makefiles.
7815 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7816 autoloads, update-subdirs, updates, bzr-update, update-authors,
7817 compile-onefile, compile-calc, backup-compiled-files,
7818 compile-after-backup, compile-one-process, mh-autoloads,
7819 bootstrap-clean, distclean, maintainer-clean.
7821 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7823 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7824 (calc-set-mode-line): Don't display "AlgSimp ".
7826 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7827 (calc-lim-simplify-mode): New function.
7828 (calc-set-simplify-mode): Default to 'alg.
7829 (calc-default-simplify-mode): Make algebraic simplifications
7832 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7833 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7835 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7836 indicate new simplification modes.
7838 * calc/README: Mention new default simplification mode.
7840 * calc/calc.el (math-normalize-error): New variable.
7841 (math-normalize): Set `math-normalize-error' to t
7842 when there's an error.
7844 * calc/calc-alg.el (math-simplify): Don't simplify when
7845 `math-normalize' returns an error.
7847 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7849 * international/mule-cmds.el (set-locale-environment): Revert last
7850 change, since display-graphic-p returns nil when this function is
7851 called during startup. Instead...
7853 * term/w32console.el (terminal-init-w32console): ...setup the
7854 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7856 2012-07-29 Juri Linkov <juri@jurta.org>
7858 * simple.el (goto-line): Don't display default line number in the
7859 prompt because it should be displayed by `read-number' (bug#9952).
7860 Add the current line number to the defaults of `goto-line' to
7861 allow its easier modification by users with `M-n' (bug#9201).
7863 * subr.el (read-number): Support multiple default values like in
7864 other minibuffer reading functions. Replace `read' with
7865 `string-to-number' for consistency with `number-to-string'.
7867 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7869 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7870 * emulation/viper-init.el (viper-deactivate-input-method-action):
7871 Rename from viper-inactivate-input-method-action.
7872 (viper-deactivate-input-method):
7873 Rename from viper-inactivate-input-method.
7874 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7875 * international/mule-cmds.el (deactivate-input-method):
7876 Rename from inactivate-input-method.
7877 Also run input-method-deactivate-hook.
7878 (deactivate-current-input-method-function):
7879 Rename from inactivate-current-input-method-function.
7880 (input-method-deactivate-hook): New hook.
7881 (input-method-inactivate-hook): Mark obsolete.
7882 (inactivate-input-method): Mark obsolete.
7884 * international/quail.el (quail-activate):
7885 Also run quail-deactivate-hook.
7886 (quail-deactivate): Rename from quail-inactivate.
7887 * international/robin.el (robin-activate):
7888 Also run robin-deactivate-hook.
7889 (robin-deactivate): Rename from robin-inactivate.
7891 2012-07-29 Chong Yidong <cyd@gnu.org>
7893 * simple.el (indicate-copied-region): New function.
7894 (kill-ring-save): Split off from here.
7896 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7897 (kill-rectangle): Set deactivate-mark to t on read-only error.
7899 * register.el (copy-to-register, copy-rectangle-to-register):
7900 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7901 (append-to-register, prepend-to-register): Call indicate-copied-region.
7903 2012-07-29 Juri Linkov <juri@jurta.org>
7905 * simple.el (async-shell-command-buffer): New defcustom.
7906 (shell-command): Use it. (Bug#4719)
7908 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7910 * international/mule-cmds.el (set-locale-environment): In a
7911 console session on MS-Windows, set up keyboard and terminal
7912 encoding from the OEM codepage, not the ANSI codepage.
7915 2012-07-28 Chong Yidong <cyd@gnu.org>
7917 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7920 2012-07-28 Leo Liu <sdl.web@gmail.com>
7922 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7923 the alist (bug#12029).
7925 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7927 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7928 (compile-always, compile-first)
7929 ($(lisp)/calendar/cal-loaddefs.el)
7930 ($(lisp)/calendar/diary-loaddefs.el)
7931 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7932 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7933 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7934 instead of on update-subdirs.
7935 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7937 2012-07-28 Chong Yidong <cyd@gnu.org>
7939 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7940 directory if vc-deduce-backend returns nil (Bug#7350).
7942 * simple.el (delete-trailing-lines): New option.
7943 (delete-trailing-whitespace): Obey it (Bug#11879).
7945 2012-07-28 David Engster <deng@randomsample.de>
7947 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7948 Explanation of new 'symbol-qnames feature in doc-strings.
7949 (xml-maybe-do-ns): Return expanded names as plain symbols if
7950 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7951 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7953 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7955 Consistent completion in inferior python with emacs -nw.
7956 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7957 binding in inferior-python-mode-map with "\t".
7958 (python-shell-completion-complete-at-point)
7959 (python-completion-complete-at-point): Remove interactive spec.
7961 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7963 * calc/calccomp.el (math-compose-expr): Undo previous change.
7965 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7967 * progmodes/python.el (python-mode-map): Add keybinding for
7969 (python-shell-make-comint): Fix pop-to-buffer call.
7970 (run-python): Autoload. New arg SHOW.
7971 (python-shell-get-or-create-process): Do not pop python process
7974 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7976 * notifications.el (notifications-on-action-signal)
7977 (notifications-on-closed-signal): Use also the bus address for the map.
7978 (notifications-notify, notifications-close-notification)
7979 (notifications-get-capabilities): Add optional argument BUS.
7981 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7983 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7984 Add support for the lstlisting and minted environments, and for the
7986 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7987 labels written in keyvals syntax.
7989 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7991 * calc/calccomp.el (math-compose-expr): Use parentheses when
7992 there is a product in the denominator of a fraction.
7994 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7996 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7997 ($(lisp)/calendar/diary-loaddefs.el)
7998 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7999 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8000 Fixes failures in parallel bootstrap because subdirs.el is being
8001 rewritten while the autoload files are built at the same time,
8002 which needs to load subdirs.el.
8004 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8006 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8007 (mouse-drag-line): Don't exit tracking when a switch-frame or
8008 switch-window event occurs (Bug#12006).
8010 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * mouse.el (popup-menu): Fix last change.
8014 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8016 Autoload from Lisp with more care. Follow aliases when looking for
8017 function properties.
8018 * subr.el (autoloadp): New function.
8019 (symbol-file): Use it.
8020 (function-get): New function.
8021 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8023 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8024 (lisp-indent-function):
8025 * emacs-lisp/gv.el (gv-get):
8026 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8027 * emacs-lisp/byte-opt.el (byte-optimize-form):
8028 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8029 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8031 * emacs-lisp/cl.el: Don't propagate function properties any more.
8033 * speedbar.el (speedbar-add-localized-speedbar-support):
8034 * emacs-lisp/disass.el (disassemble-internal):
8035 * desktop.el (desktop-load-file):
8036 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8037 (describe-function-1):
8038 * emacs-lisp/find-func.el (find-function-noselect):
8039 * emacs-lisp/elp.el (elp-instrument-function):
8040 * emacs-lisp/advice.el (ad-has-proper-definition):
8041 * apropos.el (apropos-safe-documentation, apropos-macrop):
8042 * emacs-lisp/debug.el (debug-on-entry):
8043 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8044 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8045 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8047 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8049 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8050 function, not an obsolete variable (Bug#12046).
8052 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8054 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8056 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8058 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8059 window only if it is still live (Bug#12034).
8061 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8063 * subr.el (redirect-frame-focus): Add advertised calling
8064 convention (Bug#12030).
8066 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8068 Prefer typical American spelling for "acknowledgment".
8069 * vc/add-log.el (change-log-acknowledgment): Rename from
8070 change-log-acknowledgement, with an alias for the old name.
8072 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8074 * calc-alg.el (math-simplify-divide): Don't cross multiply
8075 in an equation when the lhs is a variable.
8077 2012-07-24 Julien Danjou <julien@danjou.info>
8079 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8082 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8084 * startup.el (command-line): Don't display an empty user name in
8085 the error message about non-existent home directory, when
8086 init-file-user was set to an empty string. See
8087 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8088 for the details and context.
8090 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8092 * ses.el (ses-cell-formula-aset): New macro.
8093 (ses-cell-references-aset): New macro.
8094 (ses-cell-p): New function.
8095 (ses-rename-cell): Do no longer rely on complex operations like
8096 ses-cell-set-formula or ses-set-cell to change the cell and handle
8097 the undo at the same time, but rather use lower level new macros
8098 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8099 the undo directly. Refresh the mode line.
8101 2012-07-21 Leo Liu <sdl.web@gmail.com>
8103 * progmodes/cc-cmds.el (c-defun-name):
8104 Use match-string-no-properties instead for consistency.
8106 2012-07-20 Leo Liu <sdl.web@gmail.com>
8108 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8111 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8113 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8115 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8116 * progmodes/bug-reference.el, misearch.el: Provide themselves
8119 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8120 of narrowed buffer (bug#11966).
8122 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8124 * ses.el (ses-rename-cell): Set new name also in reference list of
8125 cells of which the renamed cell depends.
8127 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8129 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8130 to check whether menu-bar is shown or not. If not shown,
8131 show the menu-bar as a popup menu instead of using tmm.
8132 * mouse.el (popup-menu): Accept `point' as `position' argument.
8134 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8136 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8137 up inside string symbol literal (bug#11923).
8139 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8141 * startup.el (fancy-startup-text): Read the whole tutorial, not
8142 just its first 256 bytes. Prevents gibberish in display of the
8145 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8147 Drop idle buffer compaction due to an absence of the
8149 * compact.el: Remove.
8151 2012-07-19 Sam Steingold <sds@gnu.org>
8153 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8154 vc-bzr-pull & vc-bzr-merge-branch.
8155 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8156 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8157 for consistency with compilation-error-regexp-alist.
8158 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8159 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8160 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8161 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8163 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8165 * emacs-lisp/chart.el: Use lexical-binding.
8166 (chart-emacs-storage): Don't hardcode the list of entries.
8168 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8170 Next round of tweaks caused by Fgarbage_collect changes.
8171 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8173 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8175 Compact buffers when idle.
8176 * compact.el: New file.
8178 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * subr.el (eventp): Presume that if it looks vaguely like an event,
8181 it's an event (bug#10190).
8183 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8185 Enhancements to ppss related code (thanks Stefan).
8186 * progmodes/python.el (python-indent-context)
8187 (python-indent-calculate-indentation, python-indent-dedent-line)
8188 (python-indent-electric-colon, python-nav-forward-block)
8189 (python-mode-abbrev-table)
8190 (python-info-assignment-continuation-line-p): Simplify checks
8192 (python-info-continuation-line-p): Cleanup.
8193 (python-info-ppss-context): Do not catch 'quote.
8194 (python-info-ppss-context-type)
8195 (python-info-ppss-comment-or-string-p): Simplify.
8197 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8199 * progmodes/python.el: Enhancements to eldoc support.
8200 (python-info-current-symbol): New function.
8201 (python-eldoc-at-point): Use python-info-current-symbol.
8202 (python-info-current-defun): Fix cornercase on first defun scan.
8203 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8204 and signal error when no inferior python process is available.
8206 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8208 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8209 assume it's always t.
8210 (vc-git-registered): Remove caching, the function is only called
8212 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8214 2012-07-18 Chong Yidong <cyd@gnu.org>
8216 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8218 * simple.el (count-words): Report on narrowing (Bug#9959).
8220 * bindings.el: Bind M-= to count-words.
8222 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8224 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8226 * progmodes/sh-script.el (sh-imenu-generic-expression):
8227 Capture a function with `function' keyword and without parentheses
8228 like "function FOO" (bug#11856).
8230 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8232 * window.el (split-window-sensibly): Make WINDOW argument
8235 2012-07-18 Chong Yidong <cyd@gnu.org>
8237 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8239 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8240 and make C-x 8 RET exit isearch (Bug#11439).
8242 * international/iso-transl.el: Move isearch-mode-map key
8243 definitions to isearch.el.
8245 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8247 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8248 (eieio-defclass): Use gv-define-setter when possible.
8250 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8252 Reflect recent changes in Fgarbage_collect.
8253 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8254 reflect new format of data returned by Fgarbage_collect.
8256 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8258 New utility functions + python-info-ppss-context fix (Bug#11910).
8259 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8260 (python-info-ppss-comment-or-string-p): New functions.
8261 (python-info-ppss-context): Small fix for string check.
8263 2012-07-17 Juri Linkov <juri@jurta.org>
8265 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8266 (dired-do-async-shell-command): Don't add `*' at the end of the
8267 command (Bug#11815).
8268 (dired-do-shell-command): Doc fix.
8269 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8270 Join the individual commands using either "&" or ";" as the
8271 separator depending on the values of these trailing characters.
8272 At the end re-add the trailing "&". (Bug#10598)
8274 * simple.el (async-shell-command): Sync the interactive spec with
8275 `shell-command'. Doc fix.
8276 (shell-command): Doc fix.
8278 2012-07-17 Juri Linkov <juri@jurta.org>
8280 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8282 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8284 Final renames and doc fixes for movement commands (bug#11899).
8285 * progmodes/python.el (python-nav-beginning-of-statement):
8286 Rename from python-nav-statement-start.
8287 (python-nav-end-of-statement): Rename from
8288 python-nav-statement-end.
8289 (python-nav-beginning-of-block): Rename from
8290 python-nav-block-start.
8291 (python-nav-end-of-block): Rename from python-nav-block-end.
8293 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8295 * progmodes/python.el (python-shell-send-string-no-output):
8296 Allow accept-process-output to quit, keeping shell process ready for
8297 future interactions (Bug#11868).
8299 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8303 * emacs-lisp/elint.el (elint-find-args-in-code):
8304 Use help-function-arglist, so as to handle lexical byte-code.
8306 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8309 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8311 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8312 Avoid spuriously marking the buffer as modified because of c-is-sws.
8314 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8315 as not-a-comment (bug#11946).
8317 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8318 for uninterned vars.
8320 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8321 Use read-event since we don't really want to read chars but bytes.
8323 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8324 $$..$$ but also $..$ using regexps (bug#11953).
8325 Use tex-verbatim for \url and \path.
8326 (tex-font-lock-keywords): Define as defconst like the others.
8327 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8329 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8331 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8332 alias for insert-char.
8334 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8336 * progmodes/python.el: Simplified imenu implementation.
8337 (python-nav-jump-to-defun): Remove command.
8338 (python-mode-map): Use `imenu' instead.
8339 (python-nav-list-defun-positions-cache)
8340 (python-imenu-include-defun-type, python-imenu-make-tree)
8341 (python-imenu-subtree-root-label, python-imenu-index-alist):
8343 (python-nav-list-defun-positions, python-nav-read-defun)
8344 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8345 (python-imenu-make-tree, python-imenu-create-index):
8347 (python-mode): Update to interact with imenu by setting
8348 `imenu-extract-index-name-function' only.
8350 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8352 * progmodes/python.el: Enhancements to navigation commands.
8353 (python-nav-backward-sentence)
8354 (python-nav-forward-sentence): Remove.
8355 (python-nav-backward-statement, python-nav-forward-statement)
8356 (python-nav-statement-start, python-nav-statement-end)
8357 (python-nav-backward-block, python-nav-forward-block)
8358 (python-nav-block-start, python-nav-block-end)
8359 (python-nav-forward-sexp-function)
8360 (python-info-current-line-comment-p)
8361 (python-info-current-line-empty-p): New functions.
8362 (python-indent-context): Use `python-nav-statement-start'.
8364 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8366 * eshell/em-ls.el (eshell/ls): Use `apply'.
8368 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8369 multi-hops, instead of Tramp internals.
8371 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8373 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8374 when F1 and F2 are located on different hosts.
8376 2012-07-14 Chong Yidong <cyd@gnu.org>
8378 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8379 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8380 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8381 (xterm-mouse--read-event-sequence-1000)
8382 (xterm-mouse--read-event-sequence-1006): New functions. For old
8383 mouse protocol, handle M-mouse-X events correctly.
8384 (xterm-mouse-event): New arg specifying mouse protocol.
8385 (turn-on-xterm-mouse-tracking-on-terminal)
8386 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8387 sequence to toggle extended coordinates on newer XTerms.
8388 This appears to be harmless on terminals which do not support this.
8390 2012-07-14 Leo Liu <sdl.web@gmail.com>
8392 Add fringe bitmap indicators for flymake. (Bug#11253)
8393 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8394 (flymake-make-overlay): New arg BITMAP.
8395 (flymake-error-bitmap, flymake-warning-bitmap)
8396 (flymake-fringe-indicator-position): New user variables.
8398 * fringe.el: New bitmap exclamation-mark.
8400 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8402 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8405 2012-07-14 Chong Yidong <cyd@gnu.org>
8407 * electric.el (electric-pair-post-self-insert-function): Fix pair
8408 insertion in empty-region case (Bug#11520).
8410 2012-07-14 Chong Yidong <cyd@gnu.org>
8412 * bindings.el: Consolidate ctl-x-r-map bindings.
8413 Bind copy-rectangle-as-kill to C-x r w.
8415 * rect.el, register.el: Move bindings to bindings.el.
8417 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8419 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8421 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8423 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8425 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8427 * bindings.el (top): Use `mapc' instead of `mapcar'.
8429 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8431 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8433 * progmodes/sql.el (sql-comint): Suppress the check for program on
8434 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8437 2012-07-13 Chong Yidong <cyd@gnu.org>
8439 * bindings.el: Assign a non-nil permanent-local property to
8440 per-buffer variables which lack a default value (Bug#11930).
8442 * help-fns.el (describe-variable): In the "automatically becomes
8443 local" notice, take note of permanent-local variables.
8445 2012-07-13 Chong Yidong <cyd@gnu.org>
8447 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8448 to allow printing the message when called from Lisp.
8450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8451 Remove toggle-read-only.
8453 * bs.el (bs-toggle-readonly):
8454 * buff-menu.el (Buffer-menu-toggle-read-only):
8455 Remove with-no-warnings around toggle-read-only.
8457 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8458 Remove with-no-warnings around toggle-read-only.
8459 (ffap-read-only, ffap-read-only-other-window)
8460 (ffap-read-only-other-frame): Callers changed.
8462 * help-mode.el: Don't require view package.
8463 (help-mode-finish): Set buffer-read-only instead of calling
8466 * bindings.el (mode-line-toggle-read-only):
8467 * dired.el (dired-toggle-read-only):
8468 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8469 with non-nil second arg.
8471 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8472 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8475 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8477 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8480 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8482 More CL cleanups and reduction of use of cl.el.
8483 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8484 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8485 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8486 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8487 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8488 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8489 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8490 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8491 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8492 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8493 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8494 * eshell/em-cmpl.el, eshell/em-banner.el:
8495 * calendar/parse-time.el: Use cl-lib.
8496 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8497 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8498 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8499 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8500 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8501 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8502 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8503 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8504 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8505 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8506 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8507 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8508 `lambda' rather than with `quote'.
8509 (eshell-do-opt): Adjust accordingly.
8510 (eshell-process-option): Simplify.
8511 * eshell/esh-var.el:
8512 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8513 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8514 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8515 to `pcase--dontcare'.
8516 * emacs-lisp/cl.el (labels): Mark obsolete.
8517 (cl--letf, letf): Move to cl-lib.
8518 (cl--letf*, letf*): Remove.
8519 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8520 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8521 (cl-progv): Rewrite.
8522 (cl--letf, cl-letf): Move from cl.el.
8523 (cl-letf*): New macro.
8524 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8526 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8528 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8530 2012-07-11 Chong Yidong <cyd@gnu.org>
8532 * vc/log-edit.el (log-edit-vc-backend): New variable.
8533 (log-edit): Doc fix.
8535 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8536 argument of log-edit to set up all local variables.
8537 (vc-start-logentry): New optional arg specifying VC backend.
8539 * vc/vc.el (vc-checkin): Use it.
8540 (vc-deduce-fileset): Handle Log Edit buffers.
8541 (vc-diff): Make first argument optional too.
8543 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8545 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8547 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8548 command, just in case. The function is not needed anymore.
8549 (eshell-external-command): Do not call `eshell-remote-command'.
8551 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8553 Reduce use of (require 'cl).
8554 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8555 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8556 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8557 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8558 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8559 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8560 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8561 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8562 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8563 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8564 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8565 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8566 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8567 (byte-compile-unfold-bcf, byte-compile-check-variable):
8568 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8569 (byte-compile-nilconstp):
8570 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8571 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8573 * emacs-lisp/gv.el (cond): Make it a valid place.
8574 (if): Simplify slightly.
8576 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8577 (pcase--self-quoting-p): New function.
8578 (pcase--u1): Use it.
8580 2012-07-10 Glenn Morris <rgm@gnu.org>
8582 * emacs-lisp/authors.el (authors-fixed-entries):
8583 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8585 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8587 Rename configure.in to configure.ac (Bug#11603).
8588 * emacs-lisp/authors.el (authors-canonical-file-name):
8589 * progmodes/autoconf.el (autoconf-mode):
8590 Prefer configure.ac to configure.in.
8592 2012-07-08 Chong Yidong <cyd@gnu.org>
8594 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8595 Implement the mouse-1-click-follows-link handling properly.
8597 * info.el (Info-link-keymap): Use follow-link mechanism for
8598 header-line links (Bug#374).
8600 * simple.el (deactivate-mark): Do not set the primary selection
8601 if another program has acquired it (Bug#11772).
8603 2012-07-07 Kevin Ryde <user42@zip.com.au>
8605 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8606 (woman-decode-region): Replace escaped-escapes without destroying
8607 bold or underline (Bug#11552).
8608 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8610 2012-07-07 Chong Yidong <cyd@gnu.org>
8612 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8613 (interprogram-cut-function, interprogram-paste-function):
8614 Mention that we typically mean the clipboard.
8616 2012-07-06 Glenn Morris <rgm@gnu.org>
8618 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8620 * files.el (toggle-read-only): Restrict message to interactive use.
8622 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8624 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8626 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8628 2012-07-06 Glenn Morris <rgm@gnu.org>
8630 * Makefile.in (compile-one-process): Rename from "recompile".
8632 * Makefile.in (bzr-update): "compile" is the same as "recompile
8633 autoloads", but parallelizable, so use that instead.
8635 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8637 * window.el (quit-window): Always restore window height when
8638 it's saved in quit-restore parameter (Bug#11810).
8640 2012-07-06 Glenn Morris <rgm@gnu.org>
8642 * simple.el (kill-whole-line): Doc tweak.
8644 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8646 * files.el (file-relative-name): Compare file names
8647 case-insensitively if on MS-Windows or MS-DOS, or if
8648 read-file-name-completion-ignore-case is non-nil. Don't use
8649 case-fold-search for this purpose. (Bug#11827)
8651 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8653 * calendar/cal-dst.el (calendar-current-time-zone):
8654 Return calendar-current-time-zone-cache if non-nil.
8656 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8657 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8659 * calendar/cal-dst.el (calendar-current-time-zone):
8660 Return calendar-current-time-zone-cache if non-nil.
8662 2012-07-06 Glenn Morris <rgm@gnu.org>
8664 * Makefile.in (cvs-update): Remove old alias.
8666 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8668 Sync with Tramp 2.2.6-pre.
8670 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8671 compatible declaration.
8673 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8674 Protect `list-load-path-shadows' call.
8676 * net/tramp-compat.el (top): Require packages, which aren't
8677 autoloaded anymore for XEmacs. Protect call of
8678 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8679 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8680 it hurts at least for SXEmacs.
8681 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8682 standard-value for `temporary-file-directory'.
8684 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8685 Redirect stderr to /dev/null.
8686 (tramp-sh-handle-write-region): uid and gid can be floats.
8687 Reported by Russell Sim <russell.sim@gmail.com>.
8688 (tramp-sh-handle-vc-registered): Hide errors.
8689 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8690 and `start-file-process'.
8691 (tramp-maybe-open-connection): Check also whether `non-essential'
8694 2012-07-04 Chong Yidong <cyd@gnu.org>
8696 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8697 (xml-parse-tag): Likewise, and avoid changing entity tables.
8698 (xml-syntax-table): Define from scratch, making sure not to give
8699 x2000 and other Unicode spaces whitespace syntax, since those are
8701 (xml-parse-fragment): Delete unused function.
8702 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8703 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8704 (xml-entity-ref, xml-pe-reference-re)
8705 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8706 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8707 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8708 (xml-entity-value-re): Use syntax references in regexps where
8709 possible; no need to define inside a let-binding.
8710 (xml-parse-dtd): Use xml-pe-reference-re.
8711 (xml-entity-or-char-ref-re): New defconst.
8712 (xml-parse-string, xml-substitute-special): Use it.
8714 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8716 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8717 (find-file--read-only): New function.
8718 (find-file-read-only, find-file-read-only-other-window)
8719 (find-file-read-only-other-frame): Use it.
8720 (insert-file-contents-literally): Don't `fset'.
8721 (get-free-disk-space): Use locate-dominating-file.
8723 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8724 function is already compiled.
8726 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8728 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8730 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8731 files on the same host.
8733 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8735 * help-fns.el (describe-function-1): Only call
8736 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8738 2012-07-03 Chong Yidong <cyd@gnu.org>
8740 * xml.el: Protect parser against XML bombs.
8741 (xml-entity-expansion-limit): New variable.
8742 (xml-parse-string, xml-substitute-special): Use it.
8743 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8745 2012-07-03 Glenn Morris <rgm@gnu.org>
8747 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8748 Allow linking to specific messages in debbugs reports (eg 123#5).
8750 2012-07-02 Chong Yidong <cyd@gnu.org>
8752 * xml.el: Fix entity and character reference expansion, allowing
8753 them to expand into markup as per XML spec.
8754 (xml-default-ns): New variable.
8755 (xml-entity-alist): Use XML spec definitions for lt and amp.
8756 (xml-parse-region): Make first two arguments optional.
8757 Discard text properties.
8758 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8759 All callers changed.
8760 (xml-parse-tag): Call xml-parse-tag-1. For backward
8761 compatibility, this function should not modify buffer contents.
8762 (xml-parse-tag-1): Fix opening-tag regexp.
8763 (xml-parse-string): Rewrite, handling entity and character
8764 references properly.
8765 (xml--entity-replacement-text): Signal an error if a parameter
8766 entity is undefined.
8768 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8770 * comint.el (comint-output-filter): Filter out repeated prompts.
8772 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8773 and file-name-absolute-p.
8774 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8777 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8780 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8781 Rename from byte-compile--refiy-function. All uses changed.
8783 2012-07-01 Chong Yidong <cyd@gnu.org>
8785 * xml.el (xml--parse-buffer): New function. Move most of
8786 xml-parse-region here.
8787 (xml-parse-region): Copy region into a temporary buffer, since
8788 parameter entity substitution requires changing buffer contents.
8789 Use xml--parse-buffer.
8790 (xml-parse-file): Use xml--parse-buffer.
8791 (xml-parse-dtd): Make parameter entity substitution work right.
8792 Use proper regexps for ELEMENT declarations (Bug#7172).
8794 2012-06-30 Glenn Morris <rgm@gnu.org>
8796 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8798 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8799 Remove outdated and unnecessary dbus declarations.
8801 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8803 * emacs-lisp/timer.el (timer-until): Subtract results of
8804 float-time, instead of taking float-time of the result of
8805 time-subtract, since float-time signals an error for negative time
8808 2012-06-30 Chong Yidong <cyd@gnu.org>
8810 * xml.el (xml-*-re): Convert defvars into defconsts, and
8811 eval-and-compile them so eval-and-compile works on derivatives.
8812 (xml--entity-replacement-text): Use eval-and-comple.
8814 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8816 * vc/vc-git.el (vc-git-registered): Use cache property
8818 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8819 `vc-git-working-revision' in order to benefit from the cache.
8820 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8822 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8824 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8825 removed (likely outside Emacs). (Bug#11757)
8827 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8829 * emacs-lisp/cl-lib.el: Require macroexp.
8831 2012-06-30 Chong Yidong <cyd@gnu.org>
8833 * xml.el: Implement XML parameter entities.
8834 (xml-parameter-entity-alist): New variable.
8835 (xml-parse-region, xml-parse-fragment): Preserve previous values
8836 of xml-entity-alist and xml-parameter-entity-alist, so that
8837 repeated calls on different documents do not change them.
8838 (xml-parse-tag): Fix doctype regexp.
8839 (xml--entity-replacement-text): New function.
8840 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8841 properly requires url retrieval which is unimplemented.
8842 (xml-escape-string): Doc fix.
8844 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8846 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8848 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8850 * fringe.el (fringe-mode): Doc fix.
8852 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8854 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8856 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8857 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8859 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8861 * calendar/cal-dst.el (calendar-current-time-zone):
8862 Return calendar-current-time-zone-cache if non-nil.
8864 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8866 * progmodes/which-func.el (which-func-format):
8867 Add mouse-face. (Bug#11698)
8869 2012-06-29 Leo Liu <sdl.web@gmail.com>
8871 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8873 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8875 * minibuffer.el (minibuffer-confirm-exit-commands):
8876 Add completion-at-point (bug#11725).
8878 2012-06-29 Glenn Morris <rgm@gnu.org>
8880 * progmodes/f90.el (f90-font-lock-keywords-2):
8881 Add some preprocessor elements. (Bug#10499)
8883 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8886 Use syntax-propertize (bug#11739).
8888 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8890 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8892 2012-06-28 Julien Danjou <julien@danjou.info>
8894 * term.el (term-handle-colors-array): Use a set of new faces to
8895 color the terminal. Also uses :inverse-video property.
8896 (term-default-fg-color): Set to nil by default, deprecate in favor
8898 (term-default-bg-color): Set to nil by default, deprecate in favor
8900 (term-current-face): Use `term-face' by default.
8901 (term-bold-attribute): Variable deleted.
8903 2012-06-28 Glenn Morris <rgm@gnu.org>
8905 * simple.el (completion-list-mode-finish):
8906 Don't use toggle-read-only. (Since completion-list-mode has
8907 a special mode-class, it wasn't doing anything extra anyway.)
8909 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8911 Make inlining of other-mode interpreted functions work (bug#11799).
8912 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8913 (byte-compile): Use it to fix compilation of lexical-binding closures.
8914 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8915 function, if needed.
8917 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * help-mode.el (help-make-xrefs): Don't just withstand
8920 cyclic-variable-indirection but any error in documentation-property.
8922 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8924 * bindings.el (bindings--define-key): New function.
8925 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8926 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8927 * bindings.el: Use it to purecopy define-key bindings.
8929 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8931 * emacs-lisp/cl.el (flet): Mark obsolete.
8932 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8933 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8934 * progmodes/js.el (js-c-fill-paragraph):
8935 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8936 (ebrowse-switch-member-buffer-to-derived-class):
8937 * play/5x5.el (5x5-solver): Use cl-flet.
8939 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8940 (cl--symbol-function): New macro.
8941 (cl--letf, cl--letf*): Use it.
8943 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8944 Strip "toggle-" if any.
8946 2012-06-27 Glenn Morris <rgm@gnu.org>
8948 * info.el (Info-default-directory-list): Move here from paths.el.
8949 * paths.el: Remove file, which is now empty.
8950 * loadup.el: No longer load "paths".
8952 * custom.el (custom-initialize-delay): Doc fix.
8954 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8955 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8956 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8957 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8958 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8959 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8960 * eshell/eshell.el (eshell-defgroup): Remove alias.
8962 2012-06-27 Chong Yidong <cyd@gnu.org>
8964 * help.el (help-enable-auto-load): New variable.
8966 * help-fns.el (help-fns--autoloaded-p): New function.
8967 (describe-function-1): Refer to a function as "autoloaded" if it
8968 was autoloaded at any time in the past. Perform autoloading if
8969 help-enable-auto-load is non-nil.
8971 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8973 * makefile.w32-in (compile, compile-always): Depend on
8974 update-subdirs, not on subdirs.el. Otherwise, several different
8975 sub-targets of 'bootstrap' running in parallel could
8976 simultaneously write to subdirs.el, producing a garbled file.
8978 2012-06-26 Sam Steingold <sds@gnu.org>
8980 * files.el (file-name-base): New convenience function.
8981 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8982 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8983 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8984 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8985 * textmodes/ispell.el, textmodes/reftex-ref.el:
8986 * textmodes/tex-mode.el: Use it.
8987 Did not touch cedet and org because they are maintained elsewhere.
8989 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8991 * calendar/calendar.el (calendar-exit): Don't try to delete or
8992 iconify last frame. See:
8993 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8995 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8997 * server.el (server-process-filter): Remember dir in the
8998 process's `server-client-directory' properties.
9000 2012-06-24 Chong Yidong <cyd@gnu.org>
9002 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9005 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9007 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9009 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * help-fns.el (describe-variable): Don't croak when doc is not found.
9012 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9013 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9014 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9015 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9016 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9018 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9020 2012-06-23 Chong Yidong <cyd@gnu.org>
9022 * info.el (Info-mouse-follow-link): Accept symbol values of
9023 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9024 (Info-fontify-node): Use Info-link-keymap for all navigation
9025 buttons, with link-args property to perform the desired action.
9026 (Info-link-keymap): Doc fix.
9027 (Info-next-link-keymap, Info-prev-link-keymap)
9028 (Info-up-link-keymap): Delete now-unused keymaps.
9030 2012-06-23 Chong Yidong <cyd@gnu.org>
9032 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9034 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9037 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9039 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9044 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9045 the requote function doesn't work properly (bug#11714).
9047 2012-06-23 Glenn Morris <rgm@gnu.org>
9049 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9051 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9053 Further GV/CL cleanups.
9054 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9056 (gv--defun-declaration): New function.
9057 (defun-declarations-alist): Use it.
9058 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9059 (gv-place): Autoload.
9060 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9061 original definition of dotimes and dolist.
9062 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9063 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9064 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9065 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9066 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9067 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9068 to the function's definition.
9069 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9073 * env.el: Don't use CL.
9075 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9077 Support higher-resolution time stamps (Bug#9000).
9079 * calendar/time-date.el (with-decoded-time-value): New arg
9080 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9081 (encode-time-value): New optional arg PICO. New type 3.
9082 (time-to-seconds) [!float-time]: Support the new picoseconds
9083 component if it's used.
9084 (seconds-to-time, time-subtract, time-add):
9085 Support ps-resolution time stamps as well.
9087 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9088 (timerp): Timer vectors now have length 9, not 8.
9089 (timer--time): Support new-style (4-part) time stamps.
9090 (timer-next-integral-multiple-of-time): Time stamps now have
9091 picosecond resolution, so take a bit more care about rounding.
9092 (timer-relative-time, timer-inc-time): New optional arg psecs.
9093 (timer-set-time-with-usecs): Set psecs to 0.
9094 (timer--activate): Check psecs component, too.
9096 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9098 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9101 Move the non-essential binding to the post/pre-command-hook where it is
9102 more obviously correct.
9104 * subr.el (read-passwd): Don't use a history at all.
9105 * savehist.el (savehist-save): Remove password saved accidentally
9106 because of the above bug.
9108 2012-06-22 Bastien Guerry <bzg@gnu.org>
9110 * files.el (toggle-read-only): Display a message telling whether
9111 the buffer is read-only or not (bug#11726).
9113 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9115 * emacs-lisp/gv.el: New file.
9116 * subr.el (push, pop): Extend to generalized variables.
9117 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9118 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9119 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9120 gv-define-simple-setter, and gv-define-expander.
9121 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9122 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9123 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9124 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9125 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9127 (cl-defstruct): Don't define setf-method any more.
9128 * emacs-lisp/cl.el (flet): Don't autoload.
9129 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9130 (define-setf-expander, defsetf, define-modify-macro)
9131 (cl-struct-setf-expander): Move from cl-lib.el.
9132 * emacs-lisp/syntax.el:
9133 * emacs-lisp/ewoc.el:
9134 * emacs-lisp/smie.el:
9135 * emacs-lisp/cconv.el:
9136 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9137 (timer--time): Use gv-define-simple-setter.
9138 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9139 to avoid coding-system problems in subr.el. Adjust all users.
9140 (macroexp--maxsize, macroexp-small-p): New functions.
9141 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9142 * scroll-bar.el (scroll-bar-mode):
9143 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9144 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9145 * winner.el (winner-configuration, winner-make-point-alist)
9146 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9147 * files.el (locate-file-completion-table): Avoid list*.
9149 2012-06-22 Chong Yidong <cyd@gnu.org>
9151 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9152 (dired-create-files): Doc fix (Bug#11329).
9153 (dired-do-copy): Doc fix (Bug#11334).
9154 (dired-mark-read-string): Doc fix (Bug#11553).
9156 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9157 Doc fix (Bug#11326).
9158 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9159 (dired-dwim-target): Doc fix.
9161 * wdired.el (wdired-mode): Doc fix.
9163 2012-06-22 Glenn Morris <rgm@gnu.org>
9165 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9166 (pcmpl-rpm-cache-stamp-file): New constant.
9167 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9168 (pcmpl-rpm-packages): Optionally cache list of packages.
9170 * pcmpl-rpm.el (pcmpl-rpm): New group.
9171 (pcmpl-rpm-query-options): New option.
9172 (pcmpl-rpm-packages): No need to inline it.
9173 Use pcmpl-rpm-query-options.
9175 * calendar/calendar.el (calendar-in-read-only-buffer):
9176 Avoid some needless mode changes.
9178 2012-06-21 Chong Yidong <cyd@gnu.org>
9180 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9181 (desktop-path): Remove . from the default value (Bug#10977).
9182 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9184 2012-06-20 Chong Yidong <cyd@gnu.org>
9186 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9188 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9190 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9193 2012-06-20 Chong Yidong <cyd@gnu.org>
9195 * term.el (term-window-width): Handle the case of a missing right
9197 (term-check-size): Use window-text-height (Bug#5445).
9198 (term-mode): Use define-derived-mode. Minor cleanups.
9199 Set font-lock-defaults (Bug#7692).
9200 (term-move-columns, term-insert-char, term-emulate-terminal)
9201 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9203 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9205 * net/ange-ftp.el (ange-ftp-get-passwd):
9206 Bind `enable-recursive-minibuffers'.
9207 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9209 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9211 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9213 2012-06-19 Glenn Morris <rgm@gnu.org>
9215 * progmodes/python.el (python-mode): Derive from prog-mode.
9217 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9219 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9220 (edt-user-menu-bar-update-buffers): New functions.
9221 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9223 2012-06-19 Chong Yidong <cyd@gnu.org>
9225 * subr.el (with-selected-window): Preserve the selected window's
9226 terminal's top-frame (Bug#4702).
9228 * window.el (save-selected-window): Likewise.
9230 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9232 * progmodes/python.el (python-rx-constituents): Move backquote.
9233 (python-skeleton-define, python-define-auxiliary-skeleton):
9236 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9238 * minibuffer.el (read-file-name-default): Revert the patch from
9241 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9243 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9244 (pcase--u1, pcase--q1): Don't use apply-partially.
9246 2012-06-18 Glenn Morris <rgm@gnu.org>
9248 * progmodes/python.el (python-proc, python-buffer)
9249 (python-send-receive, python-send-string): Fix obsolete versions.
9251 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9253 * window.el (special-display-p): Completely remove stringp
9254 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9256 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9258 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9260 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9262 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9263 * net/tramp-sh.el (tramp-maybe-open-connection):
9264 Throw if `non-essential' is non-nil.
9266 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9268 * window.el (special-display-p): Signal an error if BUFFER-NAME
9269 is not a string (Bug#11713).
9271 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9273 * progmodes/python.el (python-info-beginning-of-backslash):
9274 Rename from python-info-beginning-of-backlash, as a spelling fix.
9276 2012-06-17 Chong Yidong <cyd@gnu.org>
9278 * term.el (term-emulate-terminal): If term-check-size is called,
9279 move point to the process mark without resetting point (Bug#4635).
9281 2012-06-17 Glenn Morris <rgm@gnu.org>
9283 * international/mule-cmds.el (mule-menu-keymap)
9284 (set-language-environment, set-locale-environment): Doc tweaks.
9286 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9288 * cus-face.el (custom-face-attributes): Add wave-style underline
9290 * faces.el (set-face-attribute): Update docstring to describe
9291 wave-style underline attribute.
9293 2012-06-16 Chong Yidong <cyd@gnu.org>
9295 * term/xterm.el (terminal-init-xterm): Discard input before
9296 querying background mode (Bug#10959).
9298 2012-06-16 Stefan Merten <smerten@oekonux.de>
9300 * textmodes/rst.el: Added and corrected some comments.
9301 (rst-re-alist-def): Improve symbol syntax.
9302 (rst-mode-syntax-table): Correct syntax entries.
9303 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9304 (rst-official-version, rst-official-cvs-rev): Update version
9307 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9309 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9310 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9312 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9314 * progmodes/python.el: New python.el merge.
9315 (python-guess-indent): Obsolete var.
9316 (python-indent-guess-indent-offset): New defcustom.
9317 (python-indent): Obsolete var.
9318 (python-indent-offset): New defcustom.
9319 (python-python-command, python-jython-command): Delete var.
9320 (python-shell-interpreter): New defcustom.
9321 (python-pdbtrack-do-tracking-p): Delete var.
9322 (python-pdbtrack-activate): New defcustom.
9323 (python-use-skeletons): Obsolete var.
9324 (python-skeleton-autoinsert): New defcustom.
9325 (inferior-python-filter-regexp, python-continuation-offset)
9326 (python-honour-comment-indentation, python-indent-string-contents)
9327 (python-jython-packages, python-mode-hook)
9328 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9329 (python-shell-prompt-alist)
9330 (python-source-modes): Delete defcustoms.
9331 (python-check-buffer-name, python-eldoc-setup-code)
9332 (python-eldoc-string-code, python-ffap-setup-code)
9333 (python-ffap-string-code, python-fill-comment-function)
9334 (python-fill-decorator-function, python-fill-paren-function)
9335 (python-fill-string-function, python-imenu-include-defun-type)
9336 (python-imenu-make-tree, python-imenu-subtree-root-label)
9337 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9338 (python-shell-compilation-regexp-alist)
9339 (python-shell-completion-module-string-code)
9340 (python-shell-completion-pdb-string-code)
9341 (python-shell-completion-setup-code)
9342 (python-shell-completion-string-code)
9343 (python-shell-enable-font-lock, python-shell-exec-path)
9344 (python-shell-extra-pythonpaths)
9345 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9346 (python-shell-process-environment)
9347 (python-shell-prompt-block-regexp)
9348 (python-shell-prompt-output-regexp)
9349 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9350 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9351 (python-shell-virtualenv-path): New defcustoms.
9352 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9353 (inferior-python-mode-syntax-table, python--prompt-regexp)
9354 (python-buffer, python-command python-python-command)
9355 (python-default-template, python-imports, python-indent-index)
9356 (python-indent-list, python-indent-list-length)
9357 (python-mode-running, python-pdbtrack-is-tracking-p)
9358 (python-preoutput-continuation, python-preoutput-leftover)
9359 (python-preoutput-result, python-preoutput-skip-next-prompt)
9360 (python-prev-dir/file, python-recursing)
9361 (python-saved-check-command, python-version-checked)
9362 (python-which-func-length-limit)
9363 (view-return-to-alist): Delete vars.
9364 (python-check-custom-command, python-dotty-syntax-table)
9365 (python-imenu-index-alist, python-indent-current-level)
9366 (python-indent-dedenters, python-indent-levels)
9367 (python-nav-beginning-of-defun-regexp)
9368 (python-nav-list-defun-positions-cache)
9369 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9370 (python-shell-internal-buffer)
9371 (python-skeleton-available): New vars.
9372 (def-python-skeleton): Delete macro.
9373 (python-skeleton-define): New macro.
9374 (python-define-auxiliary-skeleton, python-rx): New macros.
9375 (python-insert-class): Delete command.
9376 (python-skeleton-class): New command.
9377 (python-insert-def): Delete command.
9378 (python-skeleton-def): New command.
9379 (python-insert-for): Delete command.
9380 (python-skeleton-for): New command.
9381 (python-insert-if): Delete command.
9382 (python-skeleton-if): New command.
9383 (python-insert-try/except, python-insert-try/finally): Delete commands.
9384 (python-skeleton-try): New command.
9385 (python-insert-while): Delete command.
9386 (python-skeleton-while): New command.
9387 (python-backspace): Delete command.
9388 (python-indent-dedent-line-backspace): New command.
9389 (python-electric-colon): Delete command.
9390 (python-indent-electric-colon): New command.
9391 (python-guess-indent): Delete command.
9392 (python-indent-guess-indent-offset): New command.
9393 (python-shift-left): Delete command.
9394 (python-indent-shift-left): New command.
9395 (python-shift-right): Delete command.
9396 (python-indent-shift-right): New command.
9397 (python-find-function): Delete command.
9398 (python-nav-jump-to-defun): New command.
9399 (python-next-statement): Delete command.
9400 (python-nav-forward-sentence): New command.
9401 (python-previous-statement): Delete command.
9402 (python-nav-backward-sentence): New command.
9403 (python-fill-paragraph): Delete command.
9404 (python-fill-paragraph-function): New command.
9405 (python-send-buffer): Delete command.
9406 (python-shell-send-buffer): New command.
9407 (python-send-defun): Delete command.
9408 (python-shell-send-defun): New command.
9409 (python-send-region, python-send-region-and-go): Delete commands.
9410 (python-shell-send-region)
9411 (python-shell-switch-to-shell): New commands.
9412 (python-send-string): Delete command.
9413 (python-shell-send-string): New command.
9414 (python-switch-to-python): Delete command.
9415 (python-shell-switch-to-shell): New command.
9416 (python-describe-symbol): Delete command.
9417 (python-eldoc-at-point): New command.
9418 (python--set-prompt-regexp, python-args-to-list)
9419 (python-after-info-look, python-check-version)
9420 (python-check-comint-prompt, python-find-imports)
9421 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9422 (python-unload-function, python-expand-template)
9423 (python-maybe-jython, python-preoutput-filter)
9424 (python-pdbtrack-get-source-buffer)
9425 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9426 (python-pdbtrack-toggle-stack-tracking)
9427 (python-pdbtrack-track-stack-file, python-initial-text)
9428 (python-first-word, python-comment-line-p, python-send-command)
9429 (python-setup-brm, python-sentinel, python-set-proc)
9430 (python-skip-out, python-input-filter, python-outdent-p)
9431 (python-outline-level, python-backslash-continuation-line-p)
9432 (python-end-of-block, python-end-of-statement, python-mark-block)
9433 (python-beginning-of-block, python-beginning-of-statement)
9434 (python-blank-line-p, python-beginning-of-string)
9435 (python-open-block-statement-p): Delete functions.
9436 (python-indent-line, python-indent-line-1): Delete functions.
9437 (python-indent-line): New function.
9438 (python-indentation-levels): Delete function.
9439 (python-indent-calculate-levels): New function.
9440 (python-proc): Delete function.
9441 (python-shell-get-process): New function.
9442 (python-send-receive): Delete function.
9443 (python-shell-send-string-no-output): New function.
9444 (python-module-path): Delete function.
9445 (python-ffap-module-path): New function.
9446 (python-completion-at-point)
9447 (python-symbol-completions): Delete functions.
9448 (python-completion-complete-at-point): New function.
9449 (python-load-file): Delete function.
9450 (python-shell-send-file): New function.
9451 (python-calculate-indentation): Delete function.
9452 (python-indent-calculate-indentation): New function.
9453 (python-skip-comments/blanks): Delete function.
9454 (python-util-forward-comment): New function.
9455 (python-continuation-line-p): Delete function.
9456 (python-info-continuation-line-p): New function.
9457 (python-which-func, python-current-defun): Delete function.
9458 (python-info-current-defun): New function.
9459 (python-beginning-of-defun): Delete function.
9460 (python-nav-beginning-of-defun): New function.
9461 (python-close-block-statement-p)
9462 (python-block-end-p): Delete function.
9463 (python-info-closing-block): New function.
9464 (python-comint-output-filter-function)
9465 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9466 (python-fill-comment, python-fill-decorator, python-fill-paren)
9467 (python-fill-string, python-imenu-make-element-tree)
9468 (python-imenu-make-tree, python-imenu-tree-assoc)
9469 (python-indent-context, python-indent-dedent-line)
9470 (python-indent-line-function)
9471 (python-indent-post-self-insert-function)
9472 (python-indent-toggle-levels)
9473 (python-info-assignment-continuation-line-p)
9474 (python-info-beginning-of-backlash)
9475 (python-info-block-continuation-line-p)
9476 (python-info-closing-block-message)
9477 (python-info-line-ends-backslash-p)
9478 (python-info-looking-at-beginning-of-defun)
9479 (python-info-ppss-context, python-info-ppss-context-type)
9480 (python-nav-list-defun-positions, python-nav-read-defun)
9481 (python-nav-sentence-end, python-nav-sentence-start)
9482 (python-pdbtrack-comint-output-filter-function)
9483 (python-pdbtrack-set-tracked-buffer)
9484 (python-shell-calculate-exec-path)
9485 (python-shell-calculate-process-environment)
9486 (python-shell-completion--do-completion-at-point)
9487 (python-shell-completion--get-completions)
9488 (python-shell-completion-complete-at-point)
9489 (python-shell-completion-complete-or-indent)
9490 (python-shell-get-or-create-process)
9491 (python-shell-get-process-name)
9492 (python-shell-internal-get-or-create-process)
9493 (python-shell-internal-get-process-name)
9494 (python-shell-internal-send-string, python-shell-make-comint)
9495 (python-shell-parse-command, python-shell-send-setup-code)
9496 (python-skeleton-add-menu-items)
9497 (python-util-clone-local-variables, python-util-position)
9498 (run-python-internal, python-indentation-levels)
9499 (python-nav-beginning-of-defun)
9500 (python-completion-complete-at-point): New functions.
9501 (run-python): Change arguments. New API requirements.
9503 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9505 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9508 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9509 (macroexp--expand-all): Use it.
9511 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9512 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9513 Use `cl-function' instead.
9515 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9517 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9518 Suggested by Stefan Monnier while discussing bug#11657.
9520 2012-06-14 Sam Steingold <sds@gnu.org>
9522 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9524 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9526 * play/doctor.el (doctor-doc): Remove parameter and use
9527 doctor-sent instead of sent.
9528 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9530 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * files.el: Require cl-lib.
9533 (file-name-non-special): Replace case -> cl-case.
9535 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9537 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9538 mapping from #' to function*.
9540 2012-06-13 Chong Yidong <cyd@gnu.org>
9542 * mouse.el (mouse-drag-track): Do not set the mark if the user
9543 releases the mouse without selecting anything (Bug#11588).
9545 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9547 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9548 as well (bug#11646).
9550 * loadup.el: Count byte-code functions as well.
9552 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9553 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9555 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9556 (bug#11649). Add cl-defun and cl-defmacro.
9558 2012-06-13 Drew Adams <drew.adams@oracle.com>
9560 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9563 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9565 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9566 Otherwise, it blocks in batch mode.
9568 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9570 * help-mode.el (bookmark-make-record-default): Declare.
9572 2012-06-13 Chong Yidong <cyd@gnu.org>
9574 * emacs-lisp/package.el (list-packages): Compute a list of
9575 packages that are newly-available since the last list-packages
9577 (package-menu--new-package-list): New var.
9578 (package-menu--generate, package-menu--print-info)
9579 (package-menu--status-predicate, package-menu-mark-install):
9580 Handle new status label "new".
9582 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9584 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9585 conversion to backquotes.
9587 2012-06-12 Chong Yidong <cyd@gnu.org>
9589 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9590 Rename from gud-inhibit-global-bindings.
9592 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9594 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9595 hook from nxml-glyph-set-hook.
9597 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9600 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9602 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9603 Convert to defcustom.
9605 2012-06-12 Drew Adams <drew.adams@oracle.com>
9607 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9609 (help-mode): Use them.
9611 2012-06-11 Glenn Morris <rgm@gnu.org>
9613 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9614 Use preprocessor face for directives.
9615 (fortran-directive-re): Doc fix.
9617 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9619 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9620 conversion to backquotes (bug#11652).
9622 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9623 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9624 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9625 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9626 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9627 (cl-ninth, cl-tenth): Mark them as inlinable.
9628 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9629 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9630 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9631 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9632 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9633 (cl-list*, cl-adjoin): Don't put an autoload manually.
9634 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9635 (cl--compiler-macro-list*): Add autoload cookie.
9636 (cl--compiler-macro-cXXr): New function.
9638 * help-fns.el (help-fns--compiler-macro): New function extracted from
9639 describe-function-1; follow aliases and use `compiler-macro' property.
9640 (describe-function-1): Use it.
9642 2012-06-11 Chong Yidong <cyd@gnu.org>
9644 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9645 is uninstalled, if imagemagick is installed.
9647 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * emacs-lisp/cl-lib.el: Use lexical-binding.
9650 (cl-map-extents, cl-maclisp-member): Remove.
9651 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9652 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9653 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9654 * emacs-lisp/cl-extra.el: Use lexical-binding.
9655 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9656 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9657 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9658 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9659 * emacs-lisp/cl-seq.el: Use lexical-binding.
9660 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9661 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9662 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9663 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9664 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9667 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9669 Sync with Tramp 2.2.6-pre.
9671 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9672 `print-length' and `print-level' to nil, in order to avoid
9673 truncation. Reported by Christopher Schmidt
9674 <christopher@ristopher.com>.
9676 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9678 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9680 (tramp-compat-copy-directory): Add optional argument
9681 COPY-CONTENTS. It is not handled yet.
9683 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9684 (tramp-ftp-file-name-p): Simplify.
9686 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9687 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9690 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9691 (tramp-methods): Do not use `tramp-password-end-of-line'.
9692 (tramp-completion-function-alist-putty): Handle UNIX case.
9693 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9694 (tramp-do-file-attributes-with-stat)
9695 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9696 gid as real numbers. They could run out of integer range on cygwin.
9697 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9698 (tramp-sh-handle-expand-file-name): Handle hops.
9699 (tramp-open-connection-setup-interactive-shell):
9700 Use `tramp-cleanup'. Move check for busyboxes ...
9701 (tramp-find-shell): ... here. Simplify implementation.
9702 Set "remote-shell" property also for alternative shells.
9703 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9704 If failing, a regular file would be written otherwise.
9705 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9706 (tramp-find-inline-encoding): Cache the coding commands in the
9707 process cache. Apply test command on the remote side, if defined.
9708 (tramp-find-inline-compress): Cache the compress commands in the
9710 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9711 when requested. Handle hops.
9712 (tramp-current-connection): New defvar.
9713 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9714 Throw `suppress', if there was a failed connection shortly before.
9715 Handle user interrupt. (Bug#10187)
9716 (tramp-get-inline-compress, tramp-get-inline-coding):
9717 Read connection properties from the process cache.
9719 * net/tramp-smb.el (tramp-smb-server-version)
9720 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9722 (tramp-smb-prompt): Extend for powershell prompt.
9723 (tramp-smb-file-name-handler-alist): Add handlers for
9724 `process-file', `shell-command' and `start-file-process'.
9725 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9726 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9727 (tramp-smb-file-name-p): Simplify.
9728 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9729 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9730 (tramp-smb-shell-quote-argument): New defuns.
9731 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9732 Implement using "tar". By this, time-stamps are preserved.
9733 (tramp-smb-handle-copy-file): Handle also the case of directories.
9734 (tramp-smb-do-file-attributes-with-stat)
9735 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9736 Use `tramp-get-connection-buffer').
9737 (tramp-smb-handle-rename-file): Use "rename", when source and
9738 target are on the same share.
9739 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9740 Use `tramp-smb-server-version'.
9741 (tramp-smb-wait-for-output): Remove prompt.
9743 * net/tramp.el (top): Require 'cl.
9744 (tramp-methods, tramp-rsh-end-of-line):
9745 Remove `tramp-password-end-of-line' from docstring.
9746 (tramp-save-ad-hoc-proxies): New defcustom.
9747 (tramp-completion-function-alist): Adapt docstring.
9748 (tramp-default-password-end-of-line): Remove defcustom.
9749 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9750 (tramp-user-regexp, tramp-file-name-regexp-unified)
9751 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9752 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9753 (tramp-remote-file-name-spec-regexp): New defconst.
9754 (tramp-file-name-structure): Extend structure for hops.
9755 (tramp-get-method-parameter): Move up.
9756 (tramp-file-name-p, tramp-dissect-file-name)
9757 (with-parsed-tramp-file-name): Handle hops.
9758 (tramp-file-name-hop): New defun.
9759 (tramp-make-tramp-file-name): New optional arg HOP.
9760 (tramp-message-show-progress-reporter-message): New defvar.
9761 (tramp-with-progress-reporter): Use it. We cannot use
9762 `tramp-message-show-message' here, because this suppresses also
9764 (tramp-error-with-buffer): Suppress buffer view, if
9765 `tramp-message-show-message' is nil.
9766 Use `tramp-get-connection-buffer'.
9767 (tramp-cleanup): New defun.
9768 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9769 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9771 (tramp-completion-handle-file-name-all-completions): Handle hops.
9772 Fix an error when called from ido.
9773 (tramp-completion-dissect-file-name): Use better local variable
9774 name. Add hop to the vector.
9775 (tramp-handle-insert-file-contents): Use progress-reporter for the
9777 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9779 (tramp-check-for-regexp): Simplify search.
9780 (tramp-enter-password): Remove it. Move implementation ...
9781 (tramp-action-password): ... here.
9782 (tramp-mode-string-to-int, tramp-local-host-p)
9783 (tramp-make-tramp-temp-file, tramp-read-passwd)
9784 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9785 Set tramp-autoload cookie.
9787 * net/trampver.el: Update release number.
9789 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9790 Michael Albinus <michael.albinus@gmx.de>
9792 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9793 (tramp-parse-group, tramp-parse-file)
9794 (tramp-parse-shostkeys-sknownhosts): New defuns.
9795 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9796 (tramp-parse-shosts-group, tramp-parse-sconfig)
9797 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9798 (tramp-parse-sknownhosts, tramp-parse-hosts)
9799 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9801 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9802 (tramp-parse-putty-group): Don't narrow.
9803 (tramp-parse-putty): Make a loop.
9804 (tramp-file-name-handler): Catch the `suppress' signal.
9806 2012-06-11 Chong Yidong <cyd@gnu.org>
9808 * image.el (imagemagick-register-types): Put the ImageMagick entry
9809 at the end of image-type-file-name-regexps.
9811 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9813 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9814 (pcase, pcase-let*, pcase-dolist): Use them.
9816 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9818 * emacs-lisp/pcase.el (pcase--let*): New function.
9819 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9820 (pcase--expand): Use macroexp-let².
9822 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9825 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9826 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9827 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9828 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9829 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9831 2012-06-10 Glenn Morris <rgm@gnu.org>
9833 * mail/rmail.el (rmail-yank-current-message): Leave point at
9834 correct position. (Bug#11660)
9836 2012-06-10 Chong Yidong <cyd@gnu.org>
9838 * allout-widgets.el: Fix code header.
9840 2012-06-10 Chong Yidong <cyd@gnu.org>
9842 * cus-edit.el (customize-changed-options-previous-release):
9845 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9847 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9849 2012-06-09 Chong Yidong <cyd@gnu.org>
9851 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9853 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9855 * window.el (special-display-popup-frame): Don't use
9856 window--display-buffer (Bug#11651).
9858 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9860 Fix parallel builds: make sure loaddefs.el is not being written
9861 while Lisp files are compiled.
9862 (compile): Don't depend on 'mh-autoloads'.
9863 (compile-CMD, compile-SH): Depend on 'autoloads'.
9864 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9866 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9868 2012-06-09 Chong Yidong <cyd@gnu.org>
9870 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9871 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9872 Doc fixes (Bug#11225).
9874 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9877 a function if there's a clear indication that it has a compiler-macro.
9878 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9879 (macro-declarations-alist): Add arglist to declaration functions.
9880 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9881 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9882 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9883 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9884 Also add autoload to find the compiler macro.
9885 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9886 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9887 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9888 (cl--compiler-macro-get): New functions, replacing calls to
9889 cl-define-compiler-macro.
9890 (cl-typep) [compiler-macro]: Use macroexp-let².
9892 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9894 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9895 string properly, fixes Bug#11473.
9897 2012-06-08 Chong Yidong <cyd@gnu.org>
9899 * faces.el (set-face-attribute): Doc fix.
9900 (modify-face): Don't use :bold and :italic.
9901 (error, warning, success): Tweak definitions.
9903 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9904 (custom-modified, custom-set, custom-changed, custom-themed)
9905 (custom-saved, custom-button, custom-button-mouse)
9906 (custom-button-pressed, custom-state, custom-comment-tag)
9907 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9908 (custom-group-subtitle): Use new-style face specs.
9909 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9910 (custom-set-face, custom-changed-face, custom-saved-face)
9911 (custom-button-face, custom-button-pressed-face)
9912 (custom-documentation-face, custom-state-face)
9913 (custom-comment-face, custom-comment-tag-face)
9914 (custom-variable-tag-face, custom-variable-button-face)
9915 (custom-face-tag-face, custom-group-tag-face-1)
9916 (custom-group-tag-face): Remove obsolete face alias.
9918 * epa.el (epa-validity-high, epa-validity-medium)
9919 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9920 (epa-field-name, epa-field-body):
9921 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9922 (font-lock-keyword-face, font-lock-builtin-face)
9923 (font-lock-function-name-face, font-lock-variable-name-face)
9924 (font-lock-type-face, font-lock-constant-face):
9925 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9926 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9927 * speedbar.el (speedbar-button-face, speedbar-file-face)
9928 (speedbar-directory-face, speedbar-tag-face)
9929 (speedbar-selected-face, speedbar-highlight-face)
9930 (speedbar-separator-face):
9931 * whitespace.el (whitespace-newline, whitespace-space)
9932 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9933 (whitespace-line, whitespace-space-before-tab)
9934 (whitespace-space-after-tab, whitespace-indentation)
9936 * emulation/cua-base.el (cua-global-mark):
9937 * eshell/em-prompt.el (eshell-prompt):
9938 * net/newst-plainview.el (newsticker-new-item-face)
9939 (newsticker-old-item-face, newsticker-immortal-item-face)
9940 (newsticker-obsolete-item-face, newsticker-date-face)
9941 (newsticker-statistics-face, newsticker-default-face):
9942 * net/newst-reader.el (newsticker-feed-face)
9943 (newsticker-extra-face, newsticker-enclosure-face):
9944 * net/newst-treeview.el (newsticker-treeview-face)
9945 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9946 (newsticker-treeview-immortal-face)
9947 (newsticker-treeview-obsolete-face)
9948 (newsticker-treeview-selection-face):
9949 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9950 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9951 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9952 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9953 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9954 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9955 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9957 * progmodes/vera-mode.el (vera-font-lock-number)
9958 (vera-font-lock-function, vera-font-lock-interface):
9959 * textmodes/table.el (table-cell): Use new-style face specs, and
9960 don't use the old :bold and :italic attributes.
9962 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9963 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9964 (ebrowse-member-class, ebrowse-progress): Likewise.
9965 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9966 (ebrowse-file-name-face, ebrowse-default-face)
9967 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9968 (ebrowse-progress-face): Remove obsolete faces.
9970 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9971 Inherit from error and warning faces respectively.
9973 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9975 (flyspell-incorrect-face, flyspell-duplicate-face):
9976 Remove obsolete aliases.
9978 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9980 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9983 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * startup.el (argv, argi): Make lexically scoped.
9986 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9987 * emacs-lisp/cl-macs.el: Use lexical-binding.
9988 Rename cl-bind-* to cl--bind-*.
9989 * files.el: Don't require `cl' since it doesn't use it.
9990 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9992 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9994 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9995 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9996 instead of calling external sort utility.
9997 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9999 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10001 * descr-text.el (describe-char): Mention how to insert the
10002 character, if the current input method doesn't support it.
10003 See the discussion in this thread for the details:
10004 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10006 2012-06-08 Sam Steingold <sds@gnu.org>
10008 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10009 XF86Back to previous-buffer.
10010 (minibuffer-local-map): Bind them to next-history-element and
10011 previous-history-element respectively.
10012 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10013 help-go-back respectively.
10014 * info.el (Info-mode-map): Bind them to Info-history-forward and
10015 Info-history-back respectively.
10016 These are the keys next to Up on the ThinkPad keyboard.
10018 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10020 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10021 * emacs-lisp/cl-macs.el: Provide itself.
10022 (cl--labels-convert-cache): New var.
10023 (cl--labels-convert): New function.
10024 (cl-flet, cl-labels): New implementation with new semantics, relying on
10026 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10027 (cl-closure-vars, cl--function-convert-cache)
10028 (cl--function-convert): Move from cl-macs.el.
10029 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10030 rename by removing the "cl-" prefix.
10031 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10033 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10035 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10036 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10037 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10038 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10039 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10040 (cl-hash-table-count): Add old compatibility aliases.
10042 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10043 Use macroexpand-all-environment instead.
10044 (cl--old-macroexpand): New var.
10045 (cl--sm-macroexpand): New function.
10046 (cl-symbol-macrolet): Use it during macro expansion.
10047 (cl--function-convert-cache): New var.
10048 (cl--function-convert): New function, extracted from
10049 cl-macroexpand-all.
10050 (cl-lexical-let): Use it.
10052 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10053 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10054 (cl-member): Remove old alias.
10056 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10057 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10058 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10059 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10060 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10061 (cl-macroexpand-cmacs): Remove var.
10062 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10063 Use macroexpand-all instead.
10065 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10068 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10069 (macroexp-copyable-p): New functions and macros.
10070 * emacs-lisp/edebug.el (edebug-unwrap):
10071 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10072 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10073 (pcase--let*): Remove.
10074 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10075 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10076 macroexp-const-p instead.
10077 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10079 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10080 instead of "cl-" for internal definitions. Use macroexp-const-p.
10081 (cl-old-bc-file-form): Remove var.
10082 (cl-const-exprs-p): Remove fun.
10083 (cl-labels, cl-macrolet): Use backquote.
10084 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10085 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10086 (cl-define-setf-expander): Rename from cl-define-setf-method.
10087 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10089 * international/mule-cmds.el: Don't require CL.
10090 (view-hello-file): Don't use `letf'.
10092 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10094 * tmm.el (tmm-prompt): Use string-prefix-p.
10095 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10096 (tmm-add-prompt): Use minibuffer-completion-help.
10097 (tmm-delete-map): Remove.
10099 * subr.el (kbd): Make it its own function.
10101 2012-06-07 Stefan Merten <smerten@oekonux.de>
10103 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10104 Silence compiler warnings. Fix versions.
10105 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10106 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10107 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10108 (rst-package-emacs-version-alist): Correct Emacs version to
10109 represent major merge with upstream.
10110 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10112 2012-06-06 Glenn Morris <rgm@gnu.org>
10114 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10115 Only print environment variables if set.
10117 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10119 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10120 (macroexp--cons): Rename from maybe-cons.
10121 (macroexp--accumulate): Rename from macroexp-accumulate.
10122 (macroexp--all-forms): Rename from macroexpand-all-forms.
10123 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10124 (macroexp--expand-all): Rename from macroexpand-all-1.
10126 2012-06-06 Sam Steingold <sds@gnu.org>
10128 * calendar/calendar.el (calendar-in-read-only-buffer):
10129 Call `special-mode' to enable the standard read-only keybindings.
10131 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10133 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10134 with "loading" messages (bug#11635).
10136 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10138 * files.el (enable-remote-dir-locals): New option.
10139 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10141 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10142 Ensure, that the temp directory is local.
10144 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10145 `temporary-file-directory'.
10147 * progmodes/python.el (python-send-region): Ensure, that the
10148 temporary file is created also in the remote case.
10150 2012-06-06 Glenn Morris <rgm@gnu.org>
10152 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10153 (vc-rcs-update-changelog): Use it.
10155 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10157 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10158 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10159 (vc-sccs-diff): Replace use of the external vcdiff script.
10161 2012-06-05 Glenn Morris <rgm@gnu.org>
10163 * ledit.el: Move to obsolete/.
10165 2012-06-05 Sam Steingold <sds@gnu.org>
10167 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10170 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10172 * emacs-lisp/cust-print.el: Move to obsolete.
10174 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10175 compiler-macro expansion.
10177 Add native compiler-macro support.
10178 * emacs-lisp/macroexp.el (macroexpand-all-1):
10179 Support compiler-macros directly. Properly follow aliases and apply
10180 the compiler macros more thoroughly.
10181 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10182 macroexpand now properly follows aliases.
10183 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10184 (cl-compiler-macroexpand): Use new prop.
10185 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10187 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10189 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10191 * window.el (get-lru-window, get-mru-window, get-largest-window):
10192 New argument NOT-SELECTED to avoid picking the selected window.
10193 (window--display-buffer-1, window--display-buffer-2): Replace by
10194 new function window--display-buffer
10195 (display-buffer-same-window, display-buffer-reuse-window)
10196 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10197 Use window--display-buffer.
10198 (display-buffer-use-some-window): Remove temporary dedication
10199 hack by calling get-lru-window and get-largest-window with
10200 NOT-SELECTED argument non-nil. Call window--display-buffer.
10202 2012-06-05 Glenn Morris <rgm@gnu.org>
10204 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10205 Replace external vcdiff script.
10207 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10211 2012-06-04 Chong Yidong <cyd@gnu.org>
10213 * image.el (imagemagick-types-inhibit): Revert last change.
10215 (imagemagick-enabled-types): Remove CIN and EPS*.
10217 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10219 * emacs-lisp/cl-lib.el: Rename from cl.el.
10220 * emacs-lisp/cl.el: New compatibility file.
10221 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10222 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10223 to obey the "cl-" prefix.
10224 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10226 2012-06-03 Glenn Morris <rgm@gnu.org>
10228 * emacs-lisp/authors.el (authors-aliases): Addition.
10230 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10233 2012-06-03 Stefan Merten <smerten@oekonux.de>
10235 * textmodes/rst.el: Add comments.
10236 (rst-transition, rst-adornment): New faces.
10237 (rst-adornment-faces-alist): Make default safe to reevaluate.
10239 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10240 Improve customization tags.
10241 (rst-define-level-faces): Clarify meaning.
10243 2012-06-03 Chong Yidong <cyd@gnu.org>
10245 * progmodes/compile.el (compilation-mode-line-fail)
10246 (compilation-mode-line-run, compilation-mode-line-exit):
10248 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10250 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10252 * progmodes/which-func.el (which-func-update-ediff-windows):
10253 New function. Use it in ediff-select-hook (Bug#11478).
10255 2012-06-03 Chong Yidong <cyd@gnu.org>
10257 * bindings.el: Remove explicit help text from format-mode-line.
10258 It is now supplied by mode-line-default-help-echo.
10259 (mode-line-front-space, mode-line-end-spaces)
10260 (mode-line-misc-info): New variables.
10261 (mode-line-modes, mode-line-position): Move the default value to
10262 the variable definition.
10263 (mode-line-default-help-echo): New defcustom.
10264 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10265 (mode-line-modified-help-echo): New functions.
10266 (mode-line-mule-info, mode-line-modified): Use them.
10267 (mode-line-eol-desc, propertized-buffer-identification):
10268 Consistency fixes for help text.
10269 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10270 set-buffer-file-coding-system (Bug#289).
10271 (mode-line-mule-info-help-echo): Update help text.
10273 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10275 * simple.el (execute-extended-command): Set real-this-command
10278 2012-06-02 Chong Yidong <cyd@gnu.org>
10280 Remove incorrect uses of "modeline" in comments, docstrings, and
10281 function/variable names (Bug#10329).
10283 * cus-edit.el (mode-line):
10284 * dframe.el (dframe-mouse-hscroll):
10285 * emacs-lisp/re-builder.el:
10286 * emacs-lisp/easy-mmode.el (define-minor-mode):
10287 * frame.el (set-frame-name):
10288 * help.el (lookup-minor-mode-from-indicator):
10289 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10290 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10291 (c-toggle-hungry-state):
10292 * progmodes/antlr-mode.el (antlr-language-alist):
10293 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10294 * progmodes/vhdl-mode.el (vhdl-mode):
10295 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10296 * term/ns-win.el (ns-face-at-pos):
10297 * term/sup-mouse.el (sup-mouse-report):
10298 * textmodes/flyspell.el (flyspell-mode-line-string):
10299 * textmodes/ispell.el (ispell-highlight-face):
10300 * textmodes/reftex-global.el:
10301 * vc/vc-arch.el (vc-arch-mode-line-string):
10302 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10303 * vc/vc-git.el (vc-git-mode-line-string):
10304 * vc/vc-hooks.el (vc-display-status)
10305 (vc-default-mode-line-string):
10306 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10308 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10310 * dired.el (dired-sort-set-mode-line): Rename from
10311 dired-sort-set-modeline. All callers changed.
10313 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10314 eshell-status-in-modeline.
10316 * foldout.el (foldout-mode-line-string): Rename from
10317 foldout-modeline-string. All callers changed.
10318 (foldout-update-mode-line): Rename from foldout-update-modeline.
10320 * subr.el (redraw-modeline): Make into obsolete alias.
10322 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10323 timeclock-modeline-display. Make old name an alias.
10324 (timeclock-update-mode-line): Likewise. All callers changed.
10325 (timeclock-mode-line-display): No need to check before using
10327 (timeclock-relative, timeclock-day-over-hook)
10328 (timeclock-use-elapsed, timeclock-mode-string)
10329 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10331 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10332 crisp-mode-modeline-string.
10334 * play/solitaire.el (solitaire-build-mode-line): Rename from
10335 solitaire-build-modeline. All callers changed.
10337 * play/zone.el (zone-hiding-mode-line): Rename from
10338 zone-hiding-modeline. All callers changed.
10339 (zone): Remove unusued `modeline-hidden-level' property.
10341 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10342 xscheme-modeline-initialize. All callers changed.
10344 * strokes.el (strokes-lighter): Rename from
10345 strokes-modeline-string.
10347 * textmodes/sgml-mode.el (html-face-tag-alist)
10348 (html-tag-face-alist): Use mode-line face instead of obsolete
10351 2012-06-02 Stefan Merten <smerten@oekonux.de>
10353 * textmodes/rst.el: Always require `cl'.
10354 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10356 2012-06-02 Chong Yidong <cyd@gnu.org>
10358 * image.el (imagemagick-enabled-types): Rename from
10359 imagemagick-types-enable. Add many more types.
10360 (imagemagick-types-inhibit): Change default to nil.
10361 (imagemagick-filter-types): Caller changed.
10363 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * emacs-lisp/cl-macs.el: Use backquotes.
10366 (cl-transform-function-property): Use eval-and-compile rather than
10368 (defstruct): Use declare-function instead of with-no-warnings.
10370 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10371 (byte-compile-output-docform): Re-add the print-circle bindings.
10372 (byte-compile-fix-header): Use #$ just because it's shorter.
10373 (byte-compile-output-file-form): Remove defun/defmacro.
10375 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10377 * simple.el (choose-completion): Remove now obsolete binding for
10380 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10382 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10383 in order to avoid "Stack overflow in regexp matcher".
10385 2012-05-31 Glenn Morris <rgm@gnu.org>
10387 * image.el: For clarity, call imagemagick-register-types at
10388 top-level, rather than relying on a custom :initialize.
10389 (imagemagick-types-enable): New option. (Bug#11557)
10390 (imagemagick-filter-types): New function. (Bug#7406)
10391 (imagemagick-register-types): Use imagemagick-filter-types.
10392 If disabling support, remove elements altogether rather
10393 than using an impossible regexp.
10394 (imagemagick-types-inhibit): Give it the default init function.
10396 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10399 Handle arbitrary file name lengths (Bug#11585).
10401 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10403 * desktop.el (desktop-read): Clear previous and next buffers for
10404 all windows and bury *Messages* buffer (bug#11556).
10406 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10408 Add `declare' for `defun'. Align `defmacro's with it.
10409 * emacs-lisp/easy-mmode.el (define-minor-mode)
10410 (define-globalized-minor-mode): Don't autoload the var definitions.
10411 * emacs-lisp/byte-run.el: Use lexical-binding.
10412 (defun-declarations-alist, macro-declarations-alist): New vars.
10413 (defmacro, defun): Use them.
10414 (make-obsolete, define-obsolete-function-alias)
10415 (make-obsolete-variable, define-obsolete-variable-alias):
10417 (macro-declaration-function): Mark obsolete.
10418 * emacs-lisp/autoload.el: Use lexical-binding.
10419 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10421 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10423 * textmodes/ispell.el (ispell-with-no-warnings):
10425 (ispell-kill-ispell, ispell-change-dictionary):
10426 Use `called-interactively-p' for Emacs instead of obsolete
10429 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10431 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10432 (macro-declaration-function): Move var from C code.
10433 (macro-declaration-function): Define function with defalias.
10434 * emacs-lisp/macroexp.el (macroexpand-all-1):
10435 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10436 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10437 defun/defmacro any more.
10438 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10439 Provide fallback for unknown arglist.
10440 (byte-compile-arglist-warn): Change calling convention.
10441 (byte-compile-output-file-form): Move print-vars binding.
10442 (byte-compile-output-docform): Simplify accordingly.
10443 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10444 (byte-compile-defmacro-declaration): Remove.
10445 (byte-compile-file-form-defmumble): Generalize to defalias.
10446 (byte-compile-output-as-comment): Return byte-positions.
10447 Simplify callers accordingly.
10448 (byte-compile-lambda): Use `assert'.
10449 (byte-compile-defun, byte-compile-defmacro): Remove.
10450 (byte-compile-file-form-defalias):
10451 Use byte-compile-file-form-defmumble.
10452 (byte-compile-defalias-warn): Remove.
10454 2012-05-29 Stefan Merten <smerten@oekonux.de>
10456 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10457 possible. Fix authors. Improve comments. Improve loading of `cl'.
10459 (rst-mode-abbrev-table): Merge definition.
10460 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10461 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10463 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10465 * calendar/icalendar.el
10466 (icalendar-export-region): Export UID properly.
10468 2012-05-29 Leo Liu <sdl.web@gmail.com>
10469 * calendar/icalendar.el (icalendar-import-format):
10470 Add `icalendar-import-format-uid' (Bug#11525).
10471 (icalendar-import-format-uid): New.
10472 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10475 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10477 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10478 different alternative patterns.
10479 (pcase-codegen): Be more careful to preserve identity.
10480 (pcase--u1): Don't forget to mark vars as used.
10482 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10483 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10484 (byte-compile-from-buffer): ...rather than here.
10486 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10487 functions from byte-compile-function-environment.
10489 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10491 * window.el (window-deletable-p): Avoid deleting the root window
10492 of a frame with an active minibuffer.
10494 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10496 * simple.el (choose-completion): Use quit-window (Bug#11567).
10498 2012-05-29 Chong Yidong <cyd@gnu.org>
10500 * whitespace.el (whitespace-cleanup): Fix usage of
10501 whitespace-empty-at-bob-regexp (Bug#11492).
10503 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10505 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10506 revert (Bug#11488).
10508 2012-05-29 Juri Linkov <juri@jurta.org>
10510 * isearch.el (isearch-mode-map): Bind `M-s _' to
10511 `isearch-toggle-symbol'. Bind `M-s c' to
10512 `isearch-toggle-case-fold'.
10513 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10514 (isearch-forward): Add `M-s _' to the docstring.
10515 (isearch-forward-symbol, isearch-toggle-case-fold)
10516 (isearch-symbol-regexp): New functions. (Bug#11381)
10518 2012-05-29 Juri Linkov <juri@jurta.org>
10520 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10521 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10522 a function, call it to get the regexp.
10523 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10524 property `isearch-message-prefix' instead of the string "word ".
10525 (isearch-search-fun-default): For the case of `isearch-word',
10526 return a lambda that calls re-search-forward/re-search-backward
10527 with a regexp returned by `word-search-regexp' or by the function
10530 2012-05-29 Juri Linkov <juri@jurta.org>
10532 * isearch.el (isearch-search-fun-default): New function.
10533 (isearch-search-fun): Move default part to the new function
10534 `isearch-search-fun-default'.
10535 (isearch-search-fun-function): Set the default value to
10536 `isearch-search-fun-default'. (Bug#11381)
10538 * comint.el (comint-history-isearch-end):
10539 Use `isearch-search-fun-default'.
10540 (comint-history-isearch-search): Use `isearch-search-fun-default'
10541 and remove spacial case for `isearch-word'.
10542 (comint-history-isearch-wrap): Remove spacial case for
10545 * hexl.el (hexl-isearch-search-function):
10546 Use `isearch-search-fun-default'.
10548 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10549 Use `word-search-regexp' for `isearch-word'.
10551 * misearch.el (multi-isearch-search-fun):
10552 Use `isearch-search-fun-default'.
10554 * simple.el (minibuffer-history-isearch-search):
10555 Use `isearch-search-fun-default' and remove spacial case for
10557 (minibuffer-history-isearch-wrap): Remove spacial case for
10560 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10561 Remove spacial case for `isearch-word'.
10562 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10564 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10566 Decrease XEmacs incompatibilities.
10567 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10568 Use `string-match'.
10569 (flyspell-delete-region-overlays): Use alternative definition for
10571 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10572 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10573 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10574 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10575 `define-obsolete-face-alias' under XEmacs, but old method.
10577 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10578 `with-no-warnings' definition or Emacs alias.
10579 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10580 (ispell-word): Do not use `region-p' if XEmacs.
10582 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10584 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10585 Check for `ispell-dictionary-base-alist' instead of full
10586 `ispell-dictionary-alist'.
10587 (ispell-init-process): Show spellchecker when starting new Ispell
10590 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10593 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10595 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10597 * version.el (motif-version-string, gtk-version-string)
10598 (ns-version-string): Declare.
10600 2012-05-27 Juri Linkov <juri@jurta.org>
10602 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10603 after the `eval-defun-1' specialcaseing
10604 like in `edebug-eval-defun' (bug#10181).
10606 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10607 like in `eval-defun-1'.
10609 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10611 * mail/sendmail.el (mail-yank-region):
10612 Recognize rmail-yank-current-message in addition to insert-buffer.
10613 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10614 a *mail* buffer created through rmail-start-mail with sendmail as
10617 2012-05-27 Chong Yidong <cyd@gnu.org>
10619 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10620 Default to 256 (Bug#11267).
10622 * help.el (describe-mode): Doc fix.
10624 2012-05-26 Glenn Morris <rgm@gnu.org>
10626 * w32-fns.el (w32-init-info): Remove.
10627 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10629 * info.el (info-initialize): For self-contained NS builds, put the
10630 included info/ directory at the front. (Bug#2791)
10632 * paths.el (Info-default-directory-list): Make it a defcustom,
10633 mainly so that we can use custom-initialize-delay.
10635 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10637 * subr.el (buffer-has-markers-at): Mark obsolete.
10639 * subr.el (lambda): Use declare.
10641 * emacs-lisp/lisp-mode.el (lambda):
10642 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10644 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10646 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10648 2012-05-26 Glenn Morris <rgm@gnu.org>
10650 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10652 2012-05-25 Glenn Morris <rgm@gnu.org>
10654 * paths.el: Remove no-byte-compile.
10655 * loadup.el: No need to load paths.el uncompiled.
10657 * image.el (imagemagick-types-inhibit): Doc fix.
10659 * version.el: Remove no-byte-compile and associated formatting.
10660 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10661 is ancient code from when there was an "inc-vers.el".
10663 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * progmodes/gdb-mi.el: Minor style changes.
10666 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10667 Turn into minor modes.
10668 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10669 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10670 (gdb-shell): Remove unneeded let-binding.
10671 (gdb-get-many-fields): Eliminate O(n²) behavior.
10673 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10675 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10676 platforms that don't link in fontset.c.
10678 2012-05-25 Juri Linkov <juri@jurta.org>
10680 Use the same diff color scheme as in modern VCSes (bug#10181).
10682 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10683 to avoid confusion with `diff-added' that now uses green colors.
10684 (diff-removed): Use shades of red.
10685 (diff-added): Use shades of green.
10686 (diff-changed): Leave just the yellow color.
10687 (diff-use-changed-face): New variable.
10688 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10689 how to highlight context diff changes.
10690 (diff-refine-change): Use shades of yellow.
10691 (diff-refine-removed): New face that uses shades of red.
10692 (diff-refine-added): New face that uses shades of green.
10693 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10694 `diff-refine-removed' in the call to `smerge-refine-subst'
10695 depending on the value of `diff-use-changed-face'.
10697 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10698 (smerge-other): Use shades of green.
10699 (smerge-base): Use shades of yellow.
10700 (smerge-refined-change): Empty face.
10701 (smerge-refined-removed): New face that uses shades of red.
10702 (smerge-refined-added): New face that uses shades of green.
10703 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10704 args `props-r' and `props-a', and use them. Doc fix.
10705 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10706 on its value use different faces `smerge-refined-change',
10707 `smerge-refined-removed', `smerge-refined-added' in the call to
10708 `smerge-refine-subst'.
10710 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10711 Add face condition `min-colors 88' with shades of red.
10712 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10713 `min-colors 88' with shades of green.
10714 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10715 `min-colors 88' with shades of yellow.
10717 2012-05-24 Glenn Morris <rgm@gnu.org>
10719 * paths.el (prune-directory-list, remote-shell-program): Move to...
10720 * files.el (prune-directory-list, remote-shell-program): ...here.
10721 For the latter, delay initialization, prefer ssh, just search PATH.
10723 * paths.el (term-file-prefix): Move to faces.el (the only user).
10724 * faces.el (term-file-prefix): Move here, make it a defcustom.
10726 * paths.el (news-directory, news-path, news-inews-program):
10727 Move to gnus/nnspool.el.
10729 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10731 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10732 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10733 Make the latter a defcustom, with a delayed initialization.
10735 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10736 These were deleted from Gnus itself late 2010.
10738 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10740 * progmodes/which-func.el (which-func-ff-hook):
10741 Check against user-error, not error.
10743 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10744 cl-specs.el, which no longer exists.
10746 2012-05-22 Glenn Morris <rgm@gnu.org>
10748 * info.el (info-emacs-bug): New command.
10749 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10750 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10752 2012-05-21 Glenn Morris <rgm@gnu.org>
10754 * makefile.w32-in (update-subdirs-SH):
10755 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10757 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10762 Simplify Maven regexp, and make sure the file can't start with a space
10765 2012-05-21 Glenn Morris <rgm@gnu.org>
10767 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10768 Scrap superfluous subshells.
10770 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10772 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10773 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10775 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10777 * calc/calc.el (calc-ensure-consistent-units): New variable.
10779 * calc/calc-units.el (math-consistent-units-p)
10780 (math-check-unit-consistency): New functions.
10781 (calc-quick-units, calc-convert-units):
10782 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10784 (calc-extract-units): Fix typo.
10786 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10790 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10791 (flyspell-default-deplacement-commands): Don't spell check after
10792 repeated window/frame switches (e.g. triggered by mouse-movement).
10793 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10794 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10795 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10796 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10797 Remove unused vars.
10798 (flyspell-get-casechars, flyspell-get-not-casechars):
10799 Simplify; Don't bother removing a ] just to add it back.
10800 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10802 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10804 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10806 (math-function-table): Add support for more C functions.
10808 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10810 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10811 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10812 Protect delay handling for otherchars against empty otherchars.
10814 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10817 their respective macro declarations.
10818 * skeleton.el (define-skeleton):
10819 * progmodes/compile.el (define-compilation-mode):
10820 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10821 (define-ibuffer-filter):
10822 * emacs-lisp/generic.el (define-generic-mode):
10823 * emacs-lisp/easy-mmode.el (define-minor-mode)
10824 (define-globalized-minor-mode):
10825 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10826 * emacs-lisp/byte-run.el (defsubst):
10827 * custom.el (deftheme): Add doc-string metadata.
10829 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10831 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10833 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10837 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10838 * emacs-lisp/cl-macs.el: Idem.
10839 * emacs-lisp/cl-specs.el: Remove.
10841 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10843 Minor renaming of internal CL functions and variables.
10844 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10845 (cl--position): Rename from cl-position.
10846 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10847 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10848 (cl--random-state): Rename from *random-state*.
10850 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10852 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10853 parens around the arg list (bug#11499).
10855 2012-05-17 Juri Linkov <juri@jurta.org>
10857 * isearch.el (word-search-regexp, word-search-backward)
10858 (word-search-forward, word-search-backward-lax)
10859 (word-search-forward-lax): Move functions from search.c
10860 (bug#10145, bug#11381).
10862 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10864 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10865 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10866 Delay for otherchars as for normal word components.
10868 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * minibuffer.el (completion--sifn-requote): Fix last change.
10871 (minibuffer-local-must-match-filename-map):
10872 Move define-obsolete-variable-alias before its var.
10874 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10876 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10878 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10880 (completion--string-equal-p): New function.
10881 (completion--twq-all): Use it to get better assertion failure data.
10883 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10884 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10885 (shell--requote-argument): New functions.
10886 (shell-completion-vars): Use them.
10887 (shell--parse-pcomplete-arguments): Rename from
10888 shell-parse-pcomplete-arguments.
10889 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10890 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10891 Obey comint-file-name-quote-list.
10893 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10894 (smie-indent-keyword): Use it.
10896 2012-05-14 Stefan Merten <smerten@oekonux.de>
10898 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10900 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * net/rlogin.el (rlogin-mode-map): Fix last change.
10904 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10906 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10907 the following \r\n using a single `process-send-string', since the
10908 Lotus SMTP server refuses to accept any commands if they are sent
10909 with two `process-send-string's (Bug#11444).
10911 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * shell.el (shell-parse-pcomplete-arguments):
10914 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10916 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10918 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10919 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10920 (image-transform-width, image-transform-fit-width): New functions.
10921 (image-transform-properties): Use them.
10922 (image-transform-check-size): New function.
10923 (image-toggle-display-image): Use it (for testing).
10924 (image-transform-set-rotation): Reduce angle mod 360.
10925 Delete obsolete comment.
10927 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10929 * image-mode.el: Fix scaling (bug#11399).
10930 (image-transform-resize): Doc fix.
10931 (image-transform-properties): Default scale is 1 and height should
10934 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10936 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10937 than hard-coding `car', to fix misbehavior when moving forward.
10939 2012-05-13 Chong Yidong <cyd@gnu.org>
10941 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10942 (tabulated-list-entries, tabulated-list-padding)
10943 (tabulated-list-sort-key): Make permanent-local.
10945 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10946 (electric-buffer-list): Put electric buffer menu
10947 command descriptions in this docstring, instead of the docstring
10948 of electric-buffer-menu-mode. Code cleanups.
10949 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10950 Electric-buffer-menu-mode.
10951 (electric-buffer-update-highlight): Minor code cleanup.
10953 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10955 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10958 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10960 Move define-obsolete-variable-alias before the var's definition.
10961 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10962 * tooltip.el (tooltip-hook):
10963 * textmodes/reftex-toc.el (reftex-toc-map):
10964 * textmodes/reftex-sel.el (reftex-select-label-map)
10965 (reftex-select-bib-map):
10966 * textmodes/reftex-index.el (reftex-index-map)
10967 (reftex-index-phrases-map):
10968 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10969 * progmodes/meta-mode.el (meta-mode-map):
10970 * novice.el (disabled-command-hook):
10971 * loadhist.el (unload-hook-features-list):
10972 * frame.el (blink-cursor):
10973 * files.el (find-file-not-found-hooks, write-file-hooks)
10974 (write-contents-hooks):
10975 * emulation/tpu-edt.el (GOLD-map):
10976 * emacs-lock.el (emacs-lock-from-exiting):
10977 * emacs-lisp/generic.el (generic-font-lock-defaults):
10978 * emacs-lisp/chart.el (chart-map):
10979 * dos-fns.el (register-name-alist):
10980 * dired-x.el (dired-omit-files-p):
10981 * desktop.el (desktop-enable):
10982 * cus-edit.el (custom-mode-hook):
10983 * buff-menu.el (buffer-menu-mode-hook):
10984 * bookmark.el (bookmark-read-annotation-text-func)
10985 (bookmark-exit-hooks):
10986 * allout.el (allout-mode-deactivate-hook)
10987 (allout-exposure-change-hook, allout-structure-added-hook)
10988 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10989 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10990 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10991 comes before the corresponding variable's definition.
10993 2012-05-12 Chong Yidong <cyd@gnu.org>
10995 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10996 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10997 (Buffer-menu-mode-map): Bind it.
10998 (Buffer-menu--pretty-name): Add a mouse-face property.
11000 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11003 (prolog-upper-case-string, prolog-lower-case-string)
11004 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11005 (prolog-use-smie, prolog-smie-grammar): New vars.
11006 (prolog-smie-forward-token, prolog-smie-backward-token)
11007 (prolog-smie-rules): New funs.
11008 (prolog-comment-indent): Remove.
11009 (prolog-mode-variables): Use default comment indentation instead.
11011 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11012 (prolog-mode): Don't call them any more.
11013 (prolog-electric-colon, prolog-electric-dash)
11014 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11016 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11018 * minibuffer.el (completion--twq-all): Again, allow case differences.
11020 * term.el: Move keymap initialization code to be more idiomatic.
11021 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11022 (term-terminal-menu): Move initialization into declaration.
11023 (term-escape-char): Let the user set it in her .emacs.
11025 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11026 Provide SMIE-based indentation (not enabled by default yet).
11027 (sh-mode-map): Don't bind electric keys.
11028 Use electric-pair-mode instead of skeleton-pair.
11029 (sh-assignment-regexp): Fit within 80 columns.
11030 (sh-indent-supported): Specify actual shell name instead of boolean.
11031 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11032 (sh-maybe-here-document): Use it. Make obsolete.
11033 (sh-electric-here-document-mode) New minor mode.
11034 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11035 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11036 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11037 (sh-smie-rc-grammar, sh-use-smie): New vars.
11038 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11039 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11040 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11041 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11042 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11043 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11044 (sh-set-shell): Use smie-setup if requested.
11046 * term.el (term-set-escape-char): Properly set term-escape-char.
11047 See http://stackoverflow.com/questions/10524656.
11049 2012-05-10 Chong Yidong <cyd@gnu.org>
11051 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11052 Use url-generic-parse-url, and handle host names and Windows
11053 filenames properly.
11054 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11055 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11056 URL schemes to work on.
11057 (ffap--toggle-read-only): New function.
11058 (ffap-read-only, ffap-read-only-other-window)
11059 (ffap-read-only-other-frame): Use it.
11060 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11061 necessary for ffap-url-unwrap-remote.
11063 2012-05-10 Dave Abrahams <dave@boostpro.com>
11065 * cus-start.el (create-lockfiles): Add it.
11067 2012-05-09 Chong Yidong <cyd@gnu.org>
11069 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11070 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11072 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11074 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11076 2012-05-09 Chong Yidong <cyd@gnu.org>
11078 * ansi-color.el (ansi-color-process-output): Check for validity of
11079 comint-last-output-start before using it. This avoids a bad
11080 interaction with gdb-mi's input/output buffer.
11082 2012-05-09 Glenn Morris <rgm@gnu.org>
11084 * files.el (dir-locals-read-from-file):
11085 Mention dir-locals in any error message.
11087 2012-05-09 Chong Yidong <cyd@gnu.org>
11089 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11090 package (Bug#11410).
11092 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11093 variables into description.
11095 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11098 shell-delimiter-argument-list (bug#11348).
11099 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11101 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11103 * textmodes/rst.el: Silence byte-compiler warnings.
11104 (rst-re-alist, rst-reset-section-caches): Move around.
11105 (rst-re): Use `characterp', not `char-valid-p'.
11106 (font-lock-beg, font-lock-end): Declare.
11108 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11109 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11111 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11113 2012-05-08 Glenn Morris <rgm@gnu.org>
11115 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11117 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11119 * vc/log-edit.el: Add GNU coding standards highlighting.
11120 (log-edit-font-lock-gnu-style)
11121 (log-edit-font-lock-gnu-keywords): New vars.
11122 (log-edit-font-lock-keywords): New fun.
11123 (log-edit-mode): Don't fold case in font-lock.
11124 (log-edit-font-lock-keywords): Do not assume case-folding.
11126 * imenu.el: Misc cleanup. Make docstrings out of comments.
11127 Use lexical-binding.
11128 (imenu--index-alist, imenu--last-menubar-index-alist)
11129 (imenu-menubar-modified-tick): Use defvar-local.
11130 (imenu--split-menu): Remove unused var.
11131 (imenu--cleanup-seen): Declare as global.
11132 (imenu--cleanup): Use dolist.
11134 * subr.el (defvar-local): Add debug spec and doc-string position.
11136 2012-05-08 Glenn Morris <rgm@gnu.org>
11138 * language/burmese.el, language/cham.el, language/czech.el:
11139 * language/english.el, language/georgian.el, language/greek.el:
11140 * language/japanese.el, language/khmer.el, language/korean.el:
11141 * language/lao.el, language/misc-lang.el, language/romanian.el:
11142 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11143 * language/thai.el, language/utf-8-lang.el:
11144 Remove no-byte-compile setting.
11146 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11148 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11150 * progmodes/make-mode.el (makefile-browse):
11151 Remove unnecessary interactive. (Bug#11324)
11153 2012-05-07 Glenn Morris <rgm@gnu.org>
11155 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11157 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11159 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11161 * loadup.el: Preload newcomment.el.
11162 * newcomment.el: Move autoload-only code to toplevel.
11164 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11165 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11166 Handle new :right-align column property.
11167 (tabulated-list-print-col): Idem, plus use `display' text-property to
11168 try and preserve alignment for variable pitch fonts.
11170 2012-05-07 Chong Yidong <cyd@gnu.org>
11172 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11173 (tabulated-list-use-header-line): New var.
11174 (tabulated-list-init-header): Use it.
11175 (tabulated-list-print-fake-header): New function.
11176 (tabulated-list-print): Use it.
11177 (tabulated-list-sort-button-map): Add non-header-line commands.
11178 (tabulated-list-init-header): Add column name property to basic
11180 (tabulated-list-col-sort): Handle non-header-line button case.
11181 (tabulated-list--sort-by-column-name): Fix a corner case.
11183 * buff-menu.el (list-buffers--refresh):
11184 Handle Buffer-menu-use-header-line.
11186 2012-05-06 Chong Yidong <cyd@gnu.org>
11188 * buff-menu.el: Convert to Tabulated List mode.
11189 (Buffer-menu-buffer+size-width): Make obsolete.
11190 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11191 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11192 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11193 documentation into docstring of buffer-menu.
11194 (Buffer-menu-toggle-files-only): Add an informative message.
11195 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11196 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11197 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11198 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11199 (Buffer-menu-execute, Buffer-menu-select)
11200 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11201 (Buffer-menu-bury): Use Tabulated List machinery.
11202 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11203 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11205 (list-buffers--refresh): New function.
11206 (list-buffers-noselect): Use it.
11207 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11208 (Buffer-menu--pretty-file-name): New helper functions.
11210 * loadup.el: Preload tabulated-list.
11212 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11213 tabulated-list-sort-column.
11214 (tabulated-list-init-header): Add the initial aligning space even
11215 if tabulated-list-padding is zero.
11217 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11219 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11220 whose cdr is not a cons cell correctly (bug#11038).
11222 2012-05-06 Chong Yidong <cyd@gnu.org>
11224 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11225 Accept additional plist in column descriptors.
11226 (tabulated-list-init-header): Obey it.
11227 (tabulated-list-get-entry): New function.
11228 (tabulated-list-put-tag): Use it. Use string-width instead of
11230 (tabulated-list--column-number): New function.
11231 (tabulated-list-print): Use it.
11232 (tabulated-list-print-col): New function.
11233 Set `tabulated-list-column-name' property on each column's text.
11234 (tabulated-list-print-entry): Use it.
11235 (tabulated-list-delete-entry, tabulated-list-set-col):
11237 (tabulated-list-sort-column): New command (Bug#11337).
11239 * buff-menu.el (list-buffers): Move C-x C-b binding from
11240 buff-menu.el to bindings.el.
11242 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11243 :advertised-binding feature.
11245 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11247 * progmodes/compile.el (compilation-internal-error-properties):
11248 Calculate start position correctly when end-col is set but
11249 end-line is not (Bug#11382).
11251 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11253 * man.el (Man-unindent): Use text-property-default-nonsticky to
11254 prevent untabify from inheriting face properties (Bug#11408).
11256 2012-05-05 Stefan Merten <smerten@oekonux.de>
11258 * textmodes/rst.el: Major merge with upstream development up to
11259 Docutils SVN r7399 / rst.el V1.2.1.
11261 Clarify maintainership and authors.
11263 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11264 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11265 (rst-official-version, rst-official-cvs-rev, rst-version)
11266 (rst-package-emacs-version-alist): New functions and variables
11267 for version information.
11269 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11270 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11271 (rst-mode-syntax-table, rst-mode): New and corrected functions
11272 and variables representing reStructuredText features.
11274 (rst-re): New function for reStructuredText regexes. Use in
11277 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11278 (rst-mode-map): Rebind keys.
11280 (rst-mode-lazy, rst-font-lock-keywords)
11281 (rst-font-lock-extend-region)
11282 (rst-font-lock-extend-region-internal)
11283 (rst-font-lock-extend-region-extend)
11284 (rst-font-lock-find-unindented-line-limit)
11285 (rst-font-lock-find-unindented-line-match)
11286 (rst-adornment-level, rst-font-lock-adornment-level)
11287 (rst-font-lock-adornment-match)
11288 (rst-font-lock-handle-adornment-pre-match-form)
11289 (rst-font-lock-handle-adornment-matcher): Major revision of
11290 font-locking. Integrate with other code. Use `jit-lock-mode'.
11292 (rst-preferred-adornments, rst-adjust-hook)
11293 (rst-new-adornment-down, rst-preferred-bullets)
11294 (rst-preferred-bullets, rst-indent, rst-indent-width)
11295 (rst-indent-field, rst-indent-literal-normal)
11296 (rst-indent-literal-minimized, rst-indent-comment): Change,
11297 extend and improve customization.
11299 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11300 (rst-normalize-cursor-position, rst-get-decoration)
11301 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11302 (rst-rstrip, rst-toc-insert-find-delete-contents)
11303 (rst-shift-fill-region, rst-compute-bullet-tabs)
11304 (rst-debug-print-tabs, rst-debug-mark-found)
11305 (rst-shift-region-guts, rst-shift-region-right)
11306 (rst-shift-region-left, rst-use-char-classes)
11307 (rst-font-lock-keywords-function)
11308 (rst-font-lock-indentation-point)
11309 (rst-font-lock-find-unindented-line-begin)
11310 (rst-font-lock-find-unindented-line-end)
11311 (rst-font-lock-find-unindented-line)
11312 (rst-font-lock-adornment-point, rst-font-lock-level)
11313 (rst-adornment-level-alist): Remove functions and variables.
11315 (rst-compare-adornments, rst-get-adornment-match)
11316 (rst-suggest-new-adornment, rst-get-adornments-around)
11317 (rst-adornment-complete-p, rst-get-next-adornment)
11318 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11319 (rst-straighten-adornments): Standardize function names to
11320 use "adornment" instead of "decoration". Correct callers.
11321 Similar standardizing in many places.
11323 (rst-update-section, rst-adjust, rst-promote-region)
11324 (rst-enumerate-region, rst-bullet-list-region)
11325 (rst-repeat-last-character): Correct use of `interactive'.
11327 (rst-classify-adornment, rst-find-all-adornments)
11328 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11329 (rst-find-leftmost-column, rst-repeat-last-character):
11330 Refactor functions.
11332 (rst-find-title-line, rst-reset-section-caches)
11333 (rst-get-adornments-around, rst-adjust-adornment-work)
11334 (rst-arabic-to-roman, rst-roman-to-arabic)
11335 (rst-insert-list-pos, rst-insert-list-new-item)
11336 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11339 (rst-all-sections, rst-section-hierarchy)
11340 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11343 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11344 configuration instead of only buffer. Change where necessary.
11346 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11347 (rst-shift-region, rst-adaptive-fill): New functions for
11348 indentation and filling.
11350 (rst-comment-line-break, rst-comment-indent)
11351 (rst-comment-insert-comment, rst-comment-region)
11352 (rst-uncomment-region): New functions for handling comments.
11354 (rst-compile): Quote shell arguments.
11356 (rst-compile-pdf-preview, rst-compile-slides-preview):
11357 Delete temporary files after use.
11359 2012-05-05 Glenn Morris <rgm@gnu.org>
11361 * calendar/cal-html.el: Optionally include holidays in the output.
11362 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11363 (cal-html-holidays): New option.
11364 (cal-html-css-default): Add holiday entry.
11365 (holiday-in-range): Autoload it.
11366 (cal-html-htmlify-entry): Add optional class argument.
11367 (cal-html-htmlify-list): Add optional holidays argument.
11368 (cal-html-insert-agenda-days): Include holidays in the output.
11369 (cal-html-one-month): Maybe include holidays.
11371 * calendar/holidays.el (holiday-in-range):
11372 Move here from cal-tex-list-holidays.
11373 * calendar/cal-tex.el (cal-tex-list-holidays):
11374 Make it an obsolete alias for holiday-in-range. Update all callers.
11376 2012-05-05 Chong Yidong <cyd@gnu.org>
11378 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11381 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11383 * files.el (file-auto-mode-skip): New var.
11384 (set-auto-mode-1): Use it.
11386 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11388 * repeat.el: Use lexical-binding.
11389 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11390 (repeat-undo-count): Remove.
11392 * progmodes/octave-mod.el (octave-abbrev-start):
11393 * progmodes/f90.el (f90-abbrev-start):
11394 * face-remap.el (text-scale-adjust):
11395 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11397 * emacs-lisp/pcase.el (pcase--let*): New function.
11398 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11400 (pcase--split-pred): Be more clever about ruling out overlap between
11401 a predicate and some constant pattern.
11402 (pcase--q1): Use `null' instead of (eq foo nil).
11404 * subr.el (setq-local, defvar-local): New macros.
11405 (kbd): Redefine as an alias.
11406 (with-selected-window): Leave unrelated frames alone.
11407 (set-temporary-overlay-map): New function.
11409 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * subr.el (user-error): New function.
11412 * window.el (switch-to-buffer):
11413 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11414 (smerge-match-conflict):
11415 * simple.el (previous-matching-history-element)
11416 (next-matching-history-element, goto-history-element, undo-more)
11418 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11419 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11420 (next-file, tags-loop-scan, list-tags, complete-tag):
11421 * progmodes/compile.el (compilation-loop):
11422 * mouse.el (mouse-minibuffer-check):
11423 * man.el (Man-bgproc-sentinel, Man-goto-page):
11424 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11425 (Info-history-forward, Info-follow-reference, Info-menu)
11426 (Info-extract-menu-item, Info-extract-menu-counting)
11427 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11428 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11429 (Info-next-reference, Info-prev-reference, Info-index)
11430 (Info-index-next, Info-follow-nearest-node)
11431 (Info-copy-current-node-name):
11432 * imenu.el (imenu--make-index-alist)
11433 (imenu-default-create-index-function, imenu-add-to-menubar):
11434 * files.el (basic-save-buffer, recover-file):
11435 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11436 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11437 (checkdoc-message-text, checkdoc-defun):
11438 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11439 * cus-edit.el (customize-changed-options, customize-rogue)
11440 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11441 (custom-variable-mark-to-reset-standard)
11442 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11444 * completion.el (check-completion-length):
11445 * comint.el (comint-search-arg)
11446 (comint-previous-matching-input-string-position)
11447 (comint-previous-matching-input)
11448 (comint-replace-by-expanded-history-before-point, comint-send-input)
11449 (comint-copy-old-input, comint-backward-matching-input)
11450 (comint-goto-process-mark, comint-set-process-mark):
11451 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11452 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11454 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11456 * dabbrev.el (dabbrev--ignore-case-p): New function.
11457 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11460 * files.el (automount-dir-prefix): Mark as obsolete.
11462 2012-05-04 Glenn Morris <rgm@gnu.org>
11464 * patcomp.el, play/bruce.el: Move to obsolete/.
11466 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11468 Fix minor Y10k bugs.
11469 * arc-mode.el (archive-unixdate):
11470 * autoinsert.el (auto-insert-alist):
11471 * calc/calc-forms.el (math-this-year):
11472 * emacs-lisp/copyright.el (copyright-current-year)
11473 (copyright-update-year, copyright):
11474 * tar-mode.el (tar-clip-time-string):
11475 * time.el (display-time-update):
11476 Don't assume years have 4 digits.
11478 2012-05-04 Chong Yidong <cyd@gnu.org>
11480 * dos-w32.el (file-name-buffer-file-type-alist)
11481 (direct-print-region-use-command-dot-com):
11482 * ffap.el (ffap-menu-regexp):
11483 * find-file.el (ff-special-constructs):
11484 * follow.el (follow-debug):
11485 * forms.el (forms--debug):
11486 * iswitchb.el (iswitchb-all-frames):
11487 * ido.el (ido-all-frames):
11488 * emacs-lisp/timer.el (timer-max-repeats):
11489 * mail/feedmail.el (feedmail-mail-send-hook)
11490 (feedmail-mail-send-hook-queued):
11491 * mail/footnote.el (footnote-signature-separator):
11492 * mail/mailabbrev.el (mail-alias-separator-string)
11493 (mail-abbrev-mode-regexp):
11494 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11495 * progmodes/idlwave.el (idlwave-libinfo-file)
11496 (idlwave-default-completion-case-is-down)
11497 (idlwave-library-routines): Convert defvars to defcustoms.
11499 * mail/rmail.el (rmail-decode-mime-charset):
11500 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11501 (idlwave-shell-fix-inserted-breaks)
11502 (idlwave-shell-activate-alt-keybindings)
11503 (idlwave-shell-use-breakpoint-glyph):
11504 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11506 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11508 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11510 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11512 * progmodes/verilog-mode.el (font-lock-keywords):
11513 Fix mis-highligting auto. Reported by Craig Barner.
11514 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11515 defines from global name space. Reported by Dan Dever.
11516 (verilog-auto-reset, verilog-auto-reset-widths)
11517 (verilog-auto-tieoff): Support using unbased numbers for
11518 AUTORESET and AUTOTIEOFF.
11519 (verilog-submit-bug-report): Update variable list.
11520 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11521 parenthesis from not matching. Reported by Michael Rytting.
11522 (verilog-auto-template-lint): Fix hash error when linting modules
11523 with no used templates.
11524 (verilog-warn, verilog-warn-error)
11525 (verilog-warn-fatal): When non-interactive report multiple
11526 warnings before exiting. Suggested by Brad Dobbie.
11527 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11528 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11529 to report unused template errors. Reported by Brad Dobbie.
11530 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11531 nets, bug438. Reported by Vns Blore.
11532 (verilog-auto-inout-module, verilog-auto-reg)
11533 (verilog-read-decls, verilog-read-sub-decls-sig)
11534 (verilog-signals-edit-wire-reg, verilog-signals-with):
11535 Fix passing of Verilog data types in ANSI input/output ports
11536 such as "output logic" into the AUTOs. Special case "wire" and
11537 "reg" for backwards compatibility presuming Verilog 2001.
11538 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11539 (verilog-preprocess): Fix replication of preprocess output.
11540 Reported by Brad Dobbie.
11541 (verilog-auto-inst-interfaced-ports):
11542 Create verilog-auto-inst-interfaced-ports, bug429.
11543 Reported by Julian Gorfajn.
11544 (verilog-after-save-font-hook)
11545 (verilog-before-save-font-hook): New variable.
11546 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11547 (verilog-save-font-mods): Wrap disabling fontification, reported
11549 (verilog-do-indent, verilog-pretty-declarations-auto)
11550 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11551 Reported by Pierre-David Pfister.
11552 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11553 of class declarations, bug292. Reported by Kevin Heilman.
11554 (verilog-read-decls): Fix 'parameter type' not appearing in
11555 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11556 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11557 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11558 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11559 Reported by David Kravitz.
11561 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11563 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11564 assignment with tests in ifs and for loops.
11565 (verilog-extended-complete-re, verilog-complete-reg): Change so
11566 that DPI inport functions don't look like fuction declarations.
11567 (verilog-pretty-expr): Don't line up assignment
11568 operations to the test and increment in if and for loops
11569 (verilog-extended-complete-re, verilog-complete-reg): Change so
11570 that DPI inport functions don't look like fuction declarations.
11572 2012-05-03 Kenichi Handa <handa@m17n.org>
11574 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11575 decoding, and show a warning message without signaling an error
11578 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * emacs-lisp/bytecomp.el
11581 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11582 since cconv.el might have introduced :fun-body, internal-make-closure,
11583 and friends for bytecomp to handle (bug#11391).
11584 * custom.el (defcustom): Avoid ((λ ..) ..).
11586 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11588 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11590 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11592 * notifications.el (dbus-debug):
11593 * term/linux.el (gpm-mouse-enable):
11594 * term/screen.el (xterm-register-default-colors): Declare.
11596 2012-05-02 Chong Yidong <cyd@gnu.org>
11598 * cus-start.el (gc-cons-percentage, exec-suffixes)
11599 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11600 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11601 (make-cursor-line-fully-visible, void-text-area-pointer)
11602 (font-list-limit): Add customization data.
11604 * allout.el (allout-exposure-change-functions)
11605 (allout-structure-added-functions)
11606 (allout-structure-deleted-functions)
11607 (allout-structure-shifted-functions): Rename abnormal hooks from
11608 *-hook, and convert to defcustoms.
11609 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11610 Convert to defcustoms.
11611 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11613 * allout-widgets.el: Hook callers changed.
11615 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11617 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11618 the yanked message in preference to the default value of
11619 buffer-file-coding-system.
11621 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11623 * window.el (display-buffer--action-function-custom-type):
11626 2012-05-02 Alan Mackenzie <acm@muc.de>
11628 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11630 2012-05-01 Glenn Morris <rgm@gnu.org>
11632 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11634 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11636 * cus-edit.el (custom-variable-documentation): Simplify with format.
11638 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11639 Stefan Monnier <monnier@iro.umontreal.ca>
11641 * simple.el (suggest-key-bindings, execute-extended-command):
11642 Move from keyboard.c.
11644 2012-05-01 Chong Yidong <cyd@gnu.org>
11646 * follow.el: Eliminate advice.
11647 (set-process-filter, process-filter, sit-for): Advice deleted.
11648 (follow-mode-off-hook): Obsolete hook removed.
11649 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11651 (follow-auto): Use a :set function.
11652 (follow-mode): Rewritten. Don't advise process filters.
11653 (follow-switch-to-current-buffer-all, follow-scroll-up)
11654 (follow-scroll-down): Assume follow-mode is bound.
11655 (follow-comint-scroll-to-bottom)
11656 (follow-align-compilation-windows): New functions.
11657 (follow--window-sorter): New function.
11658 (follow-all-followers): Use it to explicitly sort windows by their
11659 positions; don't make assumptions about next-window order.
11660 (follow-windows-start-end, follow-delete-other-windows-and-split)
11661 (follow-calc-win-start): Doc fix.
11662 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11663 vertical-motion unnecessarily.
11664 (follow-adjust-window): New function.
11665 (follow-post-command-hook): Use it.
11666 (follow-call-set-process-filter, follow-call-process-filter)
11667 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11668 (follow-stop-intercept-process-output, follow-generic-filter):
11670 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11671 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11672 New functions, replacing advice on scroll-bar-* commands.
11673 (follow-mwheel-scroll): New function (Bug#4112).
11675 * comint.el (comint-adjust-point): New function.
11676 (comint-postoutput-scroll-to-bottom): Use it.
11677 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11679 2012-05-01 Glenn Morris <rgm@gnu.org>
11681 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11682 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11683 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11684 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11685 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11686 Remove no-byte-compile setting.
11688 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11691 all-completions code to not return a number in the last cdr.
11693 2012-04-30 Leo Liu <sdl.web@gmail.com>
11695 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11698 2012-04-29 Chong Yidong <cyd@gnu.org>
11700 * follow.el (follow-calc-win-end): Rewrite to handle partial
11701 screen lines correctly (Bug#8390).
11702 (follow-avoid-tail-recenter): Minor cleanup.
11704 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11706 Avoid the obsolete `assoc' package.
11707 * speedbar.el (speedbar-refresh): Avoid adelete.
11708 (speedbar-file-lists): Simplify and avoid aput.
11709 * man.el (Man--sections, Man--refpages): New vars, replacing
11710 Man-sections-alist and Man-refpages-alist.
11711 (Man-build-section-alist, Man-build-references-alist):
11712 Use them; avoid aput.
11713 (Man--last-section, Man--last-refpage): New vars.
11714 (Man-follow-manual-reference): Use them.
11715 Use the `default' arg of completing-read.
11716 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11718 2012-04-27 Chong Yidong <cyd@gnu.org>
11720 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11722 * startup.el (x-apply-session-resources): New function.
11724 * term/ns-win.el (ns-initialize-window-system):
11725 * term/w32-win.el (w32-initialize-window-system):
11726 * term/x-win.el (x-initialize-window-system): Use it to properly
11727 set menu-bar-mode and other vars from X resources, even if the
11728 initial frame is not a window-system frame (Bug#2299).
11730 * subr.el (read-key): Avoid running filter function when setting
11731 up temporary tool bar entries (Bug#9922).
11733 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11735 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11738 2012-04-27 Chong Yidong <cyd@gnu.org>
11740 * select.el (xselect--encode-string): New function, split from
11741 xselect-convert-to-string.
11742 (xselect-convert-to-string): Use it.
11743 (xselect-convert-to-filename, xselect-convert-to-os)
11744 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11745 returned strings are properly encoded (Bug#11315).
11747 2012-04-27 Chong Yidong <cyd@gnu.org>
11749 * simple.el (delete-active-region): Move to killing custom group.
11751 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11753 * progmodes/which-func.el (which-func-current): Quote %
11754 characters for mode-line processing.
11756 2012-04-27 Chong Yidong <cyd@gnu.org>
11758 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11759 reaching eob (Bug#11286).
11761 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11763 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11764 (gdb): Make it buffer-local and init to zero.
11765 (gdb-control-commands-regexp): New variable.
11766 (gdb-send): Don't wrap in "-interpreter-exec console" if
11767 gdb-control-level is positive. Increment gdb-control-level
11768 whenever the command matches gdb-control-commands-regexp, and
11769 decrement it each time the command is "end". (Bug#11279)
11771 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11773 * window.el (adjust-window-trailing-edge, enlarge-window)
11774 (shrink-window, window-resize):
11775 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11776 windows (Bug#11276).
11778 2012-04-27 Chong Yidong <cyd@gnu.org>
11780 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11781 fix "missing prefix" warning. All callers changed.
11783 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11785 * emacs-lisp/assoc.el: Move to obsolete/.
11787 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11789 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11791 * term/ns-win.el (ns-define-service):
11792 * progmodes/pascal.el (pascal-goto-defun):
11793 * progmodes/js.el (js--read-tab):
11794 * progmodes/etags.el (tags-lazy-completion-table):
11795 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11796 * emacs-lisp/ewoc.el (ewoc--wrap):
11797 * emacs-lisp/assoc.el (aput, adelete, amake):
11798 * doc-view.el (doc-view-convert-current-doc):
11799 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11801 2012-04-26 Chong Yidong <cyd@gnu.org>
11803 * image.el (image-type-from-buffer): Only return supported image
11806 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11807 value, for symmetry with diff-end-of-hunk.
11808 (diff-split-hunk, diff-find-source-location)
11809 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11810 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11811 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11812 compute the relevant hunk or file properly (Bug#6005).
11813 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11815 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11824 * vc/vc.el: Replace lexical-let by lexical-binding.
11825 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11826 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11827 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11829 2012-04-26 Chong Yidong <cyd@gnu.org>
11831 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11832 (diff-mode-shared-map): Bind it to / and [remap undo].
11834 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11835 (ediff-window-setup-function): Use it as the default, to set up
11836 windows based on whether the current frame is graphical (Bug#2138).
11837 (ediff-choose-window-setup-function-automatically): Make obsolete.
11839 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11841 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11843 * ffap.el: Remove old code for obsolete package.
11844 (ffap-complete-as-file-p): Remove.
11846 Use completion-table-with-quoting for comint and pcomplete.
11847 * comint.el (comint--unquote&requote-argument)
11848 (comint--unquote-argument, comint--requote-argument): New functions.
11849 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11850 (comint-quote-filename): Use regexp-opt-charset.
11851 (comint--common-suffix, comint--common-quoted-suffix)
11852 (comint--table-subvert): Remove.
11853 (comint-unquote-function, comint-requote-function): New vars.
11854 (comint--complete-file-name-data): Use them with
11855 completion-table-with-quoting.
11856 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11857 * pcomplete.el (pcomplete-arg-quote-list)
11858 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11859 (pcomplete-unquote-argument-function): Default to non-nil.
11860 (pcomplete-unquote-argument): Simplify.
11861 (pcomplete--common-quoted-suffix): Remove.
11862 (pcomplete-requote-argument-function): New var.
11863 (pcomplete--common-suffix): New function.
11864 (pcomplete-completions-at-point): Use completion-table-with-quoting
11865 and completion-table-subvert.
11867 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11868 (minibuffer--double-dollars): Preserve properties.
11869 (completion--sifn-requote): New function.
11870 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11872 * minibuffer.el: Add support for completion of quoted/escaped data.
11873 (completion-table-with-quoting, completion-table-subvert): New funs.
11874 (completion--twq-try, completion--twq-all): New functions.
11875 (completion--nth-completion): New function.
11876 (completion-try-completion, completion-all-completions): Use it.
11878 2012-04-25 Leo Liu <sdl.web@gmail.com>
11880 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11881 Use compilation-message if available to find real filename.
11883 2012-04-25 Chong Yidong <cyd@gnu.org>
11885 * vc/diff-mode.el (diff-setup-whitespace): New function.
11886 (diff-mode): Use it.
11888 * vc/diff.el (diff-sentinel):
11889 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11890 Whitespace mode variables based on diff style (Bug#8612).
11892 2012-04-25 Leo Liu <sdl.web@gmail.com>
11894 * progmodes/python.el (python-send-region): Add suffix .py to the
11897 * files.el (auto-mode-alist): Use javascript-mode instead.
11899 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11901 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11903 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11904 (soap-resolve-references-for-array-type): Hack to prevent self
11905 references, see Bug#9.
11906 (soap-parse-envelope): Report the contents of the 'detail' node
11907 when receiving a fault reply.
11908 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11910 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11911 (soap-inspect-simple-type): New function.
11913 * net/soap-client.el (soap-simple-type): New struct.
11914 (soap-default-xsd-types, soap-default-soapenc-types)
11915 (soap-decode-basic-type, soap-encode-basic-type):
11916 support unsignedInt and double basic types.
11917 (soap-resolve-references-for-simple-type)
11918 (soap-parse-simple-type, soap-encode-simple-type): New function.
11919 (soap-parse-schema): Parse xsd:simpleType declarations.
11921 * net/soap-client.el (soap-default-xsd-types)
11922 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11923 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11924 the local name of "soapenc:Array".
11925 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11926 decoding integer, byte and anyURI xsd types.
11928 2012-04-25 Chong Yidong <cyd@gnu.org>
11930 * cus-edit.el (custom-buffer-create-internal): Update header text.
11932 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11934 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11935 settings on 'system-type', not on 'window-system'. On MS-Windows,
11936 set interactive-mode on in GDB.
11938 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11940 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11941 (ruby-syntax-propertize-regexp): Remove.
11942 (ruby-syntax-propertize-function): Split regexp into chunks.
11943 Match following code directly.
11945 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11947 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11948 (ruby-syntax-propertize-regexp): New function.
11949 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11950 by a special keyword.
11952 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11953 (ruby-syntax-general-delimiters-goto-beg)
11954 (ruby-syntax-propertize-general-delimiters): New functions.
11955 (ruby-syntax-propertize-function): Use them to handle GDL.
11956 (ruby-font-lock-keywords): Move old handling of GDL...
11957 (ruby-font-lock-syntactic-keywords): .. to here.
11958 (ruby-calculate-indent): Adjust indentation for GDL.
11960 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11962 * notifications.el (top): Remove unneeded declarations.
11963 (notifications-specification-version): Change to "1.2".
11964 (notifications-interface, notifications-notify-method)
11965 (notifications-close-notification-method): Fix docstring.
11966 (notifications-get-capabilities-method): New defconst.
11967 (notifications-notify): Add :action-items, :resident and
11968 :transient hints. Change "image_data" to "image-data" and
11969 "image_path" to "image-path".
11970 (notifications-get-capabilities): New defun.
11972 2012-04-24 Leo Liu <sdl.web@gmail.com>
11974 * progmodes/python.el: Move hideshow setup to the end.
11976 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11978 * window.el (handle-select-window): Clear echo area since this is
11979 no more done by read_char (Bug#11304).
11981 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11983 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11984 and `/ M' to filter-derived-mode.
11985 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11986 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11987 (ibuffer-mark-by-mode): Use default rather than initial-input.
11988 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11990 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11992 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11993 (ibuffer-filter-by-derived-mode): New filter.
11994 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11996 2012-04-23 Andreas Politz <politza@fh-trier.de>
11998 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12000 2012-04-23 Chong Yidong <cyd@gnu.org>
12002 * cus-edit.el (customize-apropos, customize-apropos-options):
12003 Disable matching of non-option variables (Bug#11176).
12004 (customize-option, customize-option-other-window)
12005 (customize-changed-options): Doc fix.
12006 (customize-apropos-options, customize-apropos-faces)
12007 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12009 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12010 Fix word list splitting (Bug#11132).
12011 (apropos-symbol, apropos-keybinding, apropos-label)
12012 (apropos-property, apropos-function-button)
12013 (apropos-variable-button, apropos-misc-button): New faces.
12014 (apropos-symbol-face, apropos-keybinding-face)
12015 (apropos-label-face, apropos-property-face, apropos-match-face):
12016 Variables removed (Bug#8396).
12017 (apropos-library-button, apropos-format-plist, apropos-print)
12018 (apropos-print-doc, apropos-describe-plist): Callers changed.
12020 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12022 * net/xesam.el (xesam-mode-map): Use let-bound map in
12023 initialization. (Bug#11292)
12025 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12027 Preserve ispell session localwords when switching back to
12030 * textmodes/ispell.el (ispell-buffer-session-localwords):
12031 New buffer-local variable to hold buffer session localwords.
12032 (ispell-kill-ispell): Add option 'clear to delete session
12034 (ispell-command-loop, ispell-change-dictionary)
12035 (ispell-buffer-local-words): Preserve session localwords when
12038 * textmodes/flyspell.el (flyspell-process-localwords)
12039 (flyspell-do-correct): Preserve session localwords when needed.
12041 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12043 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12044 using obsolete `translation-table-for-input'.
12045 (ispell-word, ispell-process-line, ispell-complete-word):
12046 Use plain `insert' instead of removed `ispell-insert-word'.
12048 2012-04-22 Chong Yidong <cyd@gnu.org>
12050 * cus-edit.el (custom-variable-menu)
12051 (custom-variable-reset-saved, custom-face-menu)
12052 (custom-face-reset-saved): If there is no saved value, make the
12053 "reset-saved" operation bring back the default (Bug#9509).
12054 (custom-face-state): Properly detect themed faces.
12056 * faces.el (face-spec-set): Stop supporting deprecated form of
12059 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12061 Move functions from C to Lisp. Make non-blocking method calls
12062 the default. Implement further D-Bus standard interfaces.
12064 * net/dbus.el (dbus-message-internal): Declare function.
12065 Remove unneeded function declarations.
12066 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12067 (dbus-message-type-method-return, dbus-message-type-error)
12068 (dbus-message-type-signal): Declare variables. Remove local
12070 (dbus-interface-dbus, dbus-interface-peer)
12071 (dbus-interface-introspectable, dbus-interface-properties)
12072 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12074 (dbus-interface-objectmanager): New defconst.
12075 (dbus-call-method, dbus-call-method-asynchronously)
12076 (dbus-send-signal, dbus-method-return-internal)
12077 (dbus-method-error-internal, dbus-register-service)
12078 (dbus-register-signal, dbus-register-method): New defuns, moved
12080 (dbus-call-method-handler, dbus-setenv)
12081 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12083 (dbus-call-method-non-blocking): Make it an obsolete function.
12084 (dbus-unregister-object, dbus-unregister-service)
12085 (dbus-handle-event, dbus-register-property)
12086 (dbus-property-handler): Obey the new structure of
12087 `bus-registered-objects'.
12088 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12089 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12090 Use `dbus-call-method'.
12092 2012-04-22 Chong Yidong <cyd@gnu.org>
12094 * cus-edit.el (custom-commands, custom-reset-menu)
12095 (Custom-reset-standard): Tweak labels.
12096 (custom-reset-button-menu): Change default to t.
12097 (custom-buffer-create-internal): For the custom-reset-button-menu
12098 case, put the revert button first.
12099 (custom-group-subtitle): New face.
12100 (custom-group-value-create): Align docstring to a specific column.
12102 * wid-edit.el (widget-documentation-link-add): Don't handle
12103 indentation in this function.
12104 (widget-documentation-string-indent-to): New function.
12105 (widget-documentation-string-value-create): Use it.
12107 * autorevert.el (auto-revert):
12108 * epg-config.el (epg):
12109 * ibuffer.el (ibuffer):
12112 * eshell/eshell.el (eshell):
12113 * net/ange-ftp.el (ange-ftp):
12114 * progmodes/ebnf2ps.el (postscript):
12115 * progmodes/flymake.el (flymake):
12116 * progmodes/prolog.el (prolog):
12117 * progmodes/verilog-mode.el (verilog-mode):
12118 * progmodes/which-func.el (which-func):
12119 * term/xterm.el (xterm):
12120 * textmodes/picture.el (picture):
12121 * textmodes/tildify.el (tildify):
12122 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12123 customization buffers.
12125 2012-04-22 Alan Mackenzie <acm@muc.de>
12127 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12128 Adding a ) can hide the resulting (..) from searches. Fix it.
12129 Bound the backward search to the position of the existing (.
12131 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12133 * progmodes/verilog-mode.el (verilog-mode): Check whether
12134 which-func-modes is t before adding verilog-mode.
12135 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12137 2012-04-21 Leo Liu <sdl.web@gmail.com>
12139 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12141 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12143 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12144 filling of the last column of a table (Bug#5635).
12145 (woman-find-next-control-line): New arg, specifying an additional
12146 regexp component for the control line.
12147 (woman2-roff-buffer): Use it.
12148 (woman-break-table): New function.
12149 (woman2-TS): Use it.
12151 2012-04-21 Chong Yidong <cyd@gnu.org>
12153 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12154 (woman-horizontal-escapes, woman-negative-vertical-space)
12155 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12156 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12158 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * minibuffer.el (completion-file-name-table): Complete user names.
12162 2012-04-20 Leo Liu <sdl.web@gmail.com>
12164 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12167 2012-04-20 Chong Yidong <cyd@gnu.org>
12169 * server.el (server-execute): Respect initial-buffer-choice if it
12170 is a string and there are no files to open (Bug#2825).
12171 (server-create-window-system-frame, server-create-tty-frame):
12172 Don't switch buffers here.
12173 (server-process-filter): Only try to open a window system frame if
12174 compiled with graphical support (Bug#8314).
12176 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12178 * battery.el (battery-echo-area-format): Display remaining time
12179 for sysfs backend too (Bug#11269).
12180 (battery-linux-sysfs): Fix conditional for the charge.
12182 2012-04-20 Chong Yidong <cyd@gnu.org>
12184 * progmodes/gdb-mi.el (gdb): Revert previous change.
12185 (gdb-inferior-io--init-proc): New function.
12186 (gdb-init-1): Use it.
12187 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12188 responsible for allocating a new pty and hooking it to gdb when
12189 the old pty gets an EIO due to process exit.
12190 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12191 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12192 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12194 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12196 * window.el (window-min-size, window-sizable, window-min-delta)
12197 (window-max-delta, window--resizable, window-resizable)
12198 (window-total-size, window-full-height-p, window-full-width-p)
12199 (window-in-direction, window--resize-mini-window, window-resize)
12200 (window--resize-child-windows-normal)
12201 (window--resize-child-windows, window--resize-siblings)
12202 (window--resize-this-window, adjust-window-trailing-edge)
12203 (enlarge-window, shrink-window): Doc fixes.
12205 2012-04-20 Chong Yidong <cyd@gnu.org>
12207 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12208 New function to call delete-process on the gdb-inferior buffer's pty.
12209 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12210 pty process (Bug#11273).
12211 (gdb-update): New arg to suppress talking to the gdb process.
12212 (gdb-done-or-error): Use it.
12213 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12214 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12215 sentinel not being called.
12217 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12219 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12221 2012-04-20 Glenn Morris <rgm@gnu.org>
12223 * net/network-stream.el (open-network-stream): Doc fix.
12225 2012-04-20 Chong Yidong <cyd@gnu.org>
12227 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12229 2012-04-20 Alan Mackenzie <acm@muc.de>
12231 Ensure searching for keywords is case sensitive.
12233 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12234 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12235 (c-defun-name, c-mark-function, c-cpp-define-name)
12236 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12237 (c-context-line-break): Bind case-fold-search to nil.
12239 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12240 Bind case-fold-search to nil.
12242 2012-04-20 Chong Yidong <cyd@gnu.org>
12244 * mail/sendmail.el (mail-bury): Call return action with the right
12245 Rmail buffer (Bug#11242).
12247 * server.el (server-process-filter): Handle corner case where both
12248 tty and nowait options are present (Bug#11102).
12250 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12252 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12253 (top level): Put into the executable the ident-style '$Id:' tag on
12254 windows-nt as well.
12256 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * electric.el (electric-indent-post-self-insert-function): Check that
12259 electric-indent-mode is enabled in current buffer.
12261 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12263 * imenu.el (imenu-progress-message): Restore; it is "used" in
12264 erc/erc-imenu.el and net/snmp-mode.el.
12266 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12268 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12269 (mouse-avoidance-nudge-mouse): Remove unused binding.
12271 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12273 * descr-text.el (describe-char):
12274 * progmodes/python.el (python-describe-symbol):
12275 Don't call `toggle-read-only', set `buffer-read-only'.
12277 * imenu.el (imenu-default-goto-function): Mark unused args.
12278 (imenu-progress-message): Remove obsolete macro; all callers changed.
12280 * subr.el (keymap-canonicalize): Remove unused binding.
12281 (read-passwd): Mark unused arg.
12283 * tutorial.el (tutorial--display-changes): Remove unused binding.
12284 (tutorial--save-tutorial-to): Remove unused variable.
12286 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12287 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12288 (package-generate-autoloads, package-menu--generate)
12289 (package-menu--find-upgrades): Remove unused bindings.
12291 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12292 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12293 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12294 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12295 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12296 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12297 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12298 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12299 (cua-delete-char-rectangle): Mark unused args.
12300 (cua-align-rectangle): Remove unused binding.
12302 * mail/rmail.el (compilation--message->loc)
12303 (epa--find-coding-system-for-mime-charset): Declare.
12305 * net/dbus.el (dbus-register-service): Declare.
12306 (dbus-name-owner-changed-handler): Remove unused binding.
12308 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12309 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12310 (nxml-scan-backward-within): Mark unused arg.
12311 (nxml-dynamic-markup-word): Remove unused binding.
12313 * mouse.el (mouse-menu-major-mode-map):
12314 * emacs-lisp/authors.el (authors-scan-change-log)
12315 (authors-add-to-author-list):
12316 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12317 * emacs-lisp/smie.el (smie-auto-fill):
12318 * mail/sendmail.el (mail-bury):
12319 * mail/unrmail.el (unrmail):
12320 * net/tls.el (open-tls-stream):
12321 * textmodes/picture.el (picture-mouse-set-point):
12322 Remove unused bindings.
12324 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12326 * net/tramp.el (tramp-action-password): Let-bind
12327 `enable-recursive-minibuffers' to t.
12329 2012-04-18 Sam Steingold <sds@gnu.org>
12331 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12332 instead of 'string to accommodate values like [f11].
12333 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12334 * progmodes/gdb-mi.el: Likewise.
12336 2012-04-18 Leo Liu <sdl.web@gmail.com>
12338 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12340 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12343 2012-04-18 Chong Yidong <cyd@gnu.org>
12345 * simple.el (line-move): Use forward-line if in batch mode
12348 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12350 * files.el (after-find-file): Do not try to add a final newline if
12351 the buffer is read-only (Bug#11156).
12353 2012-04-17 Richard Stallman <rms@gnu.org>
12355 * mail/rmail.el (rmail-start-mail):
12356 Pass (rmail-mail-return...) for the return-action.
12357 Pass (rmail-yank-current-message...) for the yank-action.
12358 (rmail-yank-current-message): New function.
12359 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12360 (rmail-reply): Likewise.
12361 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12363 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12364 buffer, not the last. Reject temp buffers. Use the rmail-mode
12365 buffer, not newbuf.
12367 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12369 * server.el (server-ensure-safe-dir): Simplify.
12371 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12373 * emacs-lisp/smie.el: Provide smarter auto-filling.
12374 (smie-auto-fill): New function.
12375 (smie-setup): Use it.
12377 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12379 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12381 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12382 (comment-indent): Use it.
12384 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12386 * ses.el: The overall change is to add cell renaming, that is
12387 setting fancy names for cell symbols other than name matching
12388 "\\`[A-Z]+[0-9]+\\'" regexp .
12389 (ses-localvars): Add ses--renamed-cell-symb-list.
12390 (ses-create-cell-variable): New defun.
12391 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12392 (ses-relocate-formula): Relocate formulas only for cells the
12393 symbols of which are not renamed, i.e. symbols whose names do not
12394 match regexp "\\`[A-Z]+[0-9]+\\'".
12395 (ses-relocate-all): Relocate values only for cells the symbols of
12396 which are not renamed.
12397 (ses-load): Create cells variables as the (ses-cell ...) are read,
12398 in order to check row col consistency with cell symbol name only
12399 for cells that are not renamed.
12400 (ses-replace-name-in-formula): New defun.
12401 (ses-rename-cell): New defun.
12403 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12405 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12406 New option (bug#11118).
12407 (perl-calculate-indent): Respect it.
12409 2012-04-17 Glenn Morris <rgm@gnu.org>
12411 * dired-aux.el (dired-mark-read-string): Doc fix.
12413 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12415 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12416 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12418 2012-04-17 Glenn Morris <rgm@gnu.org>
12420 * mouse.el (mouse-drag-track):
12421 * speedbar.el (speedbar-frame-mode):
12422 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12424 2012-04-16 Leo Liu <sdl.web@gmail.com>
12426 * progmodes/python.el: Trivial cleanup.
12428 2012-04-16 Glenn Morris <rgm@gnu.org>
12430 * vc/vc.el (vc-string-prefix-p):
12431 * vc/pcvs-util.el (cvs-string-prefix-p):
12432 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12433 * mpc.el (mpc-string-prefix-p):
12434 Make all of these into obsolete aliases for string-prefix-p.
12436 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12438 * textmodes/two-column.el: Move custom options to the start.
12439 (frame-width): Remove compat definition.
12440 (2C-associate-buffer, 2C-dissociate):
12441 Use with-current-buffer rather than save-excursion.
12442 (2C-dissociate): Force a mode-line update.
12443 (2C-autoscroll): Use ignore-errors.
12445 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12448 * emacs-lisp/cl-extra.el (*random-state*):
12449 Remove unnecessary declaration.
12451 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12453 * play/cookie1.el (cookie-snarf):
12454 Give an explicit error if input file cannot be read.
12456 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12458 * progmodes/perl-mode.el (c-macro-expand):
12459 Remove unnecessary autoload (it is in loaddefs.el).
12461 * textmodes/picture.el (picture-desired-column)
12462 (picture-update-desired-column): Convert comments to doc-strings.
12463 (picture-substitute): Remove function.
12464 (picture-mode-map): Initialize in the defvar.
12466 * woman.el: Remove eval-after-load for tar-mode.
12467 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12468 (woman-tar-extract-file): Autoload it.
12470 * frame.el (automatic-hscrolling): Make this alias obsolete.
12472 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12474 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12475 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12476 (ispell-dictionary-base-alist): Revert to original XEmacs
12477 friendly version for default. [:alpha:] will be added in
12478 `ispell-set-spellchecker-params' if needed.
12480 2012-04-16 Chong Yidong <cyd@gnu.org>
12482 * image.el (imagemagick--file-regexp): New variable.
12483 (imagemagick-register-types): Use it.
12484 (imagemagick-types-inhibit): Add :set function. Allow new value
12485 of t to inhibit all types.
12487 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12488 so we can preload it.
12490 * loadup.el (fboundp): Preload regexp-opt, needed by
12491 imagemagick-register-types.
12493 2012-04-15 Chong Yidong <cyd@gnu.org>
12495 * frame.el (scrolling): Remove nearly unused customization group.
12497 * scroll-all.el (scroll-all-mode): Move to windows group.
12499 2012-04-15 Chong Yidong <cyd@gnu.org>
12501 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12503 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12505 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12506 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12508 2012-04-15 Glenn Morris <rgm@gnu.org>
12510 * simple.el (process-file-side-effects): Doc fix.
12512 2012-04-15 Glenn Morris <rgm@gnu.org>
12514 * international/mule-cmds.el (set-language-environment): Doc fix.
12516 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12518 * server.el (server-auth-key, server-generate-key): Doc fixes.
12519 (server-get-auth-key): Doc fix. Use `string-match-p'.
12520 (server-start): Reflow docstring.
12522 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12524 * server.el (server-generate-key): `called-interactively-p'
12525 requires a parameter.
12527 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12529 * server.el (server-auth-key): New variable.
12530 (server-generate-key, server-get-auth-key): New function.
12531 (server-start): Use the new variable and functions to allow
12532 setting a permanent server key (bug#9423).
12534 2012-04-14 Leo Liu <sdl.web@gmail.com>
12536 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12538 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12541 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12542 Emacs uses American spelling.
12544 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12546 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12547 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12548 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12549 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12551 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12553 * progmodes/which-func.el (which-func-modes): Change default.
12555 2012-04-14 Kim F. Storm <storm@cua.dk>
12557 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12558 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12560 2012-04-14 Chong Yidong <cyd@gnu.org>
12562 * custom.el (custom-theme-set-variables): Doc fix.
12564 2012-04-14 Glenn Morris <rgm@gnu.org>
12566 * international/mule.el (set-auto-coding-for-load): Doc fix.
12568 2012-04-14 Alan Mackenzie <acm@muc.de>
12570 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12571 imenu work again for Objective C Mode. Correct the *-index values,
12572 these having been disturbed by a previous change in 2011-08.
12574 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12575 Correct two search limits.
12577 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12579 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12581 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12583 * international/characters.el: Fix sorting.
12585 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12587 * international/characters.el: Add more missing Latin case pairs.
12589 2012-04-14 Glenn Morris <rgm@gnu.org>
12591 * files.el (dir-locals-set-class-variables): Doc fix.
12593 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12595 * international/characters.el: Add set-case-syntax-pair call for
12596 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12597 counterpart. (Bug#11209)
12599 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12601 2012-04-14 Glenn Morris <rgm@gnu.org>
12603 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12605 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12607 * textmodes/ispell.el (ispell-dictionary-base-alist):
12608 Add data for Hebrew.
12610 2012-04-14 Chong Yidong <cyd@gnu.org>
12612 * net/rcirc.el (rcirc-cmd-quit):
12613 Revert 2012-03-18 change (Bug#11192).
12615 2012-04-14 Glenn Morris <rgm@gnu.org>
12617 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12619 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12621 * minibuffer.el (completion-in-region-mode-map):
12622 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12624 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12626 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12628 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12630 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12631 to allow `C-M-f' and `C-M-b' to move to the nearest path
12632 separator (bug#9511).
12634 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12636 * avoid.el: Require cl when compiling. And also move the
12637 `provide' to the end.
12639 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12641 * avoid.el (mouse-avoidance-banish-position): New variable.
12642 (mouse-avoidance-banish-destination): Use it (bug#10165).
12644 2012-04-13 Leo Liu <sdl.web@gmail.com>
12646 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12648 2012-04-13 Ken Brown <kbrown@cornell.edu>
12650 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12651 this is no longer needed now that cygstart understands file:// URLs.
12652 (browse-url-filename-alist): For the same reason, don't modify
12653 file:// URLs on Cygwin.
12655 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12658 the region on shift if the binding is already shifted (bug#11221).
12660 2012-04-12 Glenn Morris <rgm@gnu.org>
12662 * mail/mailpost.el: Move to obsolete/.
12664 2012-04-12 Drew Adams <drew.adams@oracle.com>
12666 * imenu.el (imenu--generic-function): Ignore invisible definitions
12669 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12671 * hexl.el (hexl-bits): New variable.
12672 (hexl-options): Mention the variable in the doc string.
12673 (hexl-rulerise, hexl-line-displen): New functions.
12674 (hexl-mode): Mention the new variable.
12675 (hexl-mode, hexl-current-address, hexl-current-address):
12677 (hexl-ascii-start-column): New function.
12678 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12679 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12681 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12683 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12684 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12685 the encoding, as expected by hunspell.
12687 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12689 * battery.el (battery--linux-sysfs-regexp): New const.
12690 (battery-status-function): Use it. Remove yeeloong special case.
12691 (battery-yeeloong-sysfs): Remove.
12692 (battery-echo-area-format): Remove yeeloong special case.
12694 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12696 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12697 Reported by Noah Friedman.
12699 * subr.el (read-passwd): Use read-string.
12701 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12703 * vcursor.el (vcursor-move): Increase the priority of the overlay
12706 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12708 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12709 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12711 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12713 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12714 define-minor-mode (bug#10760).
12716 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12718 * progmodes/grep.el (rgrep): Tweak the find command line so
12719 that directories matching `grep-find-ignored-files' won't be
12720 pruned (bug#10351).
12722 2012-04-11 Chong Yidong <cyd@gnu.org>
12724 * startup.el (command-line): Remove support for long-obsolete
12725 variable font-lock-face-attributes.
12727 2012-04-11 Glenn Morris <rgm@gnu.org>
12729 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12731 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12733 * window.el (window--state-get-1): Obey window-point-insertion-type.
12735 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12737 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12738 to previous function when point is on the first character of a
12739 function. Take care of that in `narrow-to-defun' (bug#6157).
12741 2012-04-11 Glenn Morris <rgm@gnu.org>
12743 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12744 not just file-errors.
12746 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12747 (vc-bzr-sha1): Use internal sha1.
12749 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12751 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12753 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12755 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12756 that start in the middle of the line (bug#10496).
12758 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12760 * battery.el (battery-linux-proc-acpi): Only one battery is
12761 discharged at a time, but that seems to confuse battery.el when
12762 computing `rate-type' for the battery not being discharged
12765 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12767 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12769 * international/quail.el: Use dolist and simplify.
12770 (quail-define-package, quail-update-keyboard-layout)
12771 (quail-define-rules): Use dolist.
12772 (quail-insert-kbd-layout, quail-get-translation): CSE.
12774 * tmm.el: Use dolist, remove left over hook.
12775 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12777 (calendar-load-hook): Don't mess with it.
12779 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12780 Use derived-mode-p. Run the diff asynchronously.
12782 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12784 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12786 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12788 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12789 (list-dynamic-libraries--loaded): New function.
12790 (list-dynamic-libraries--refresh): Use it.
12792 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12794 * progmodes/python.el (python-fill-paragraph):
12795 Make python-fill-region in a multiline string work when font-lock is
12796 disabled (bug#7018).
12798 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12800 * language/european.el (cp775): Add oem/legacy (en)coding on
12801 DOS/MS Windows for the Baltic languages. There are still plenty
12802 of texts written in this encoding/codepage (bug#6519).
12804 2012-04-10 Glenn Morris <rgm@gnu.org>
12806 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12807 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12809 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12811 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12812 next-line "n" and previous-line "p" in order to make recentf more
12813 consistent with ibuffer, dired or org-mode (bug#9387).
12815 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12817 * image.el (put-image): Return the overlay created instead of the
12818 optional input string (bug#7834). Note that this may break code
12819 that is (for some reason or other) depending on `put-image'
12820 returning the string.
12822 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12824 * simple.el (zap-to-char): Allow zapping using input methods
12827 * textmodes/fill.el (fill-region): Leave point and mark where they
12828 were before filling (bug#5399).
12830 2012-04-09 Glenn Morris <rgm@gnu.org>
12832 * version.el (emacs-bzr-get-version):
12833 Handle lightweight checkouts of local branches.
12835 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12837 * international/characters.el: Recover lost case pairs. (Bug#11209)
12839 2012-04-09 Chong Yidong <cyd@gnu.org>
12841 * custom.el (custom-variable-p): Return nil for non-symbol
12842 arguments instead of signaling an error.
12843 (user-variable-p): Obsolete alias for custom-variable-p.
12845 * apropos.el (apropos-variable):
12846 * files-x.el (read-file-local-variable):
12847 * simple.el (set-variable):
12848 * woman.el (woman-mini-help):
12849 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12851 2012-04-09 Glenn Morris <rgm@gnu.org>
12853 * startup.el (normal-top-level): Don't look for leim-list.el
12854 in places where it will not be found. (Bug#910)
12856 * international/mule-cmds.el (set-default-coding-systems):
12857 * files.el (normal-mode):
12858 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12859 This function was removed with ucs-tables.el in 2008.
12861 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12863 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12864 ispell-encoding8-command to "-i", without a trailing space.
12865 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12866 separate command-line arguments, to specify the encoding, since
12867 that's how hunspell expects it.
12869 2012-04-08 Glenn Morris <rgm@gnu.org>
12871 * loadup.el: Load bindings before cus-start.
12872 This reduces somewhat the number of "rogue" settings in emacs -Q.
12874 2012-04-07 Glenn Morris <rgm@gnu.org>
12876 * version.el (emacs-bzr-get-version): New function.
12877 (emacs-bzr-version): New variable.
12878 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12879 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12881 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12883 * international/uni-bidi.el, international/uni-category.el:
12884 * international/uni-combining.el, international/uni-decimal.el:
12885 * international/uni-decomposition.el, international/uni-digit.el:
12886 * international/uni-lowercase.el, international/uni-mirrored.el:
12887 * international/uni-name.el, international/uni-numeric.el:
12888 * international/uni-titlecase.el, international/uni-uppercase.el:
12889 Update for Unicode 6.1.
12891 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12893 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12895 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12897 * window.el (shrink-window): Mention the `window-min-height'
12898 variable in the doc string.
12900 2012-04-05 Bastien Guerry <bzg@altern.org>
12902 * color.el (color-lighten-name): Fix typo.
12904 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * server.el (server--on-display-p): New function.
12907 (server--on-display-p): Use it.
12909 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12911 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12914 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12916 * comint.el (comint--common-quoted-suffix): Check string boundary
12917 before comparing (bug#11158).
12918 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12920 2012-04-04 Chong Yidong <cyd@gnu.org>
12922 * minibuffer.el (completion-extra-properties): Doc fix.
12924 * subr.el (delayed-warnings-hook): Doc fix.
12926 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12928 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12929 selection (Bug#11159).
12930 (epa-insert-keys): Inform that the default public key will be
12931 exported if no key is selected.
12933 2012-04-04 Richard Stallman <rms@gnu.org>
12935 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12937 2012-04-03 Chong Yidong <cyd@gnu.org>
12939 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12940 mail-insert-file, not its obsolete alias mail-attach-file.
12942 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12944 * notifications.el (notifications-notify): Fix docstring.
12946 2012-04-02 Glenn Morris <rgm@gnu.org>
12948 * emacs-lisp/authors.el (authors-aliases): Another addition.
12950 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12952 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12953 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12954 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12956 2012-04-01 Chong Yidong <cyd@gnu.org>
12958 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12959 Handle root directory properly.
12960 (copy-directory): Caller changed.
12962 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12963 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12965 2012-03-31 Glenn Morris <rgm@gnu.org>
12967 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12969 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12971 * calendar/calendar.el (calendar-window-list)
12972 (calendar-hide-window): Restore. (Bug#11140)
12973 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12975 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12977 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12979 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12980 Check if file is a symlink (Bug#10489).
12982 * files.el (copy-directory): Likewise.
12984 2012-03-30 Chong Yidong <cyd@gnu.org>
12986 * image.el (imagemagick-types-inhibit)
12987 (imagemagick-register-types): Doc fix.
12989 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12991 * textmodes/ispell.el (ispell-get-extended-character-mode):
12992 Disable extended-char-mode for hunspell. hunspell does not support it
12993 and treats ~word as ordinary words in pipe mode.
12995 2012-03-30 Glenn Morris <rgm@gnu.org>
12997 * tutorial.el (help-with-tutorial): Ensure local variables don't
12998 happen to make the buffer read-only. (Bug#11127)
13000 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13002 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13003 (perl-calculate-indent): Return `noindent' in strings.
13005 2012-03-28 Sam Steingold <sds@gnu.org>
13007 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13008 instead of the broken adhockery which does not prevent calendar
13009 buffers from being displayed at random after exit.
13010 (calendar-window-list, calendar-hide-window): Remove the broken
13013 2012-03-28 Glenn Morris <rgm@gnu.org>
13015 * replace.el (query-replace-map): Doc fix.
13017 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13019 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13020 contents. (Bug#11109)
13022 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13024 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13026 (avl-tree--check, avl-tree--check-node): New funs.
13028 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13030 * window.el (switch-to-visible-buffer): New option.
13031 (switch-to-prev-buffer, switch-to-next-buffer):
13032 Observe switch-to-visible-buffer. Make sure that checking for a window
13033 showing a buffer already is done on the same frame.
13035 2012-03-27 Glenn Morris <rgm@gnu.org>
13037 * startup.el (mail-host-address): Doc fix.
13039 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13042 than 197 variables.
13044 2012-03-26 Ami Fischman <ami@fischman.org>
13046 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13048 2012-03-26 Glenn Morris <rgm@gnu.org>
13050 * files.el (save-buffers-kill-emacs): Doc fix.
13052 * startup.el (normal-top-level, command-line, command-line-1):
13053 Give them doc strings.
13055 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13057 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13058 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13060 2012-03-25 Chong Yidong <cyd@gnu.org>
13062 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13063 theme if it was previously enabled before (Bug#11031).
13065 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13066 spec with custom-face-get-current-spec if its :shown-value is not
13067 determined yet (Bug#9337).
13068 (customize-create-theme, custom-theme-revert): Doc fixes.
13070 * button.el (button-at): Minor addition to docstring.
13072 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13074 * vc/vc.el (vc-merge): Fix a prompt.
13076 2012-03-24 Chong Yidong <cyd@gnu.org>
13078 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13081 * button.el (button-at): Minor addition to docstring.
13083 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13085 * newcomment.el (comment-choose-indent): No space after BOL.
13087 2012-03-22 Sam Steingold <sds@gnu.org>
13089 * window.el (switch-to-prev-buffer): Revert last patch because the
13090 bug turned out to be an advertised feature (Elisp manual 28.14).
13092 2012-03-22 Glenn Morris <rgm@gnu.org>
13094 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13095 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13097 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13099 * net/network-stream.el (network-stream-open-starttls): Make error
13100 message under Windows be less misleading.
13102 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13104 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13105 understands (bug#9942).
13107 2012-03-22 Chong Yidong <cyd@gnu.org>
13109 * simple.el (end-of-visible-line): Handle return value of
13110 next-single-property-change properly (Bug#9371).
13112 2012-03-22 Kenichi Handa <handa@m17n.org>
13114 * international/quail.el (quail-insert-kbd-layout): Fix previous
13115 change. To avoid unwanted bidi reordering, use
13116 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13118 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13120 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13121 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13122 (ruby-beginning-of-indent): Be more careful with the difference
13123 between word-boundary and symbol boundary.
13124 (ruby-mode-syntax-table): Make : a symbol constituent.
13126 2012-03-21 Andreas Politz <politza@fh-trier.de>
13128 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13130 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13132 * progmodes/etags.el (tags-completion-at-point-function):
13135 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13137 2012-03-21 Sam Steingold <sds@gnu.org>
13139 * progmodes/etags.el (tags-completion-at-point-function):
13140 Avoid the error when point is inside the pattern.
13142 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13144 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13147 2012-03-21 Drew Adams <drew.adams@oracle.com>
13149 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13151 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13153 * ido.el (ido-set-current-directory, ido-read-internal)
13154 (ido-choose-completion-string, ido-completion-help): Handle nil
13155 value of ido-completion-buffer (Bug#11008).
13157 2012-03-21 Sam Steingold <sds@gnu.org>
13159 * window.el (switch-to-prev-buffer): Do not switch to a visible
13160 window previous buffer, just like with the frame previous buffers.
13162 2012-03-21 Chong Yidong <cyd@gnu.org>
13164 * faces.el (make-face, make-empty-face, copy-face):
13165 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13168 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13171 (widget-complete): Remove broken use of it.
13173 2012-03-20 Chong Yidong <cyd@gnu.org>
13175 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13176 Use string-width and truncate-string-width to handle arbitrary
13179 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13181 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13182 to draw rectangles, not squares. (Regression introduced by revno
13183 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13185 2012-03-18 Chong Yidong <cyd@gnu.org>
13187 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13188 it is not yet defined (for temacs).
13190 2012-03-18 Leo Liu <sdl.web@gmail.com>
13192 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13195 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13197 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13198 (ispell-choices-win-default-height, ispell-silently-savep)
13199 (ispell-dictionary-alist, ispell-encoding8-command)
13200 (ispell-check-version, ispell-aspell-find-dictionary)
13201 (ispell-valid-dictionary-list, ispell-words-keyword)
13202 (ispell-get-word, ispell-internal-change-dictionary)
13203 (ispell-region, ispell-skip-region-list)
13204 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13205 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13206 (ispell-message-text-end, ispell-message)
13207 (ispell-buffer-local-parsing): Doc fix.
13209 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13211 * htmlfontify.el: Add support for code block fontification for ODT
13212 export (Bug #9914).
13213 (hfy-optimisations): Define new option
13215 (hfy-fontify-buffer): Honor above setting.
13216 (hfy-begin-span, hfy-end-span): New routines factored out form
13217 `hfy-fontify-buffer'.
13218 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13219 that permit insertion of custom tags.
13220 (hfy-fontify-buffer): Use above handlers.
13221 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13222 (hfy-face-to-css): Re-defined to be a variable.
13223 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13224 over multiple runs. This is made possible by having the caller let
13225 bind a special variable `hfy-user-sheet-assoc'.
13226 (htmlfontify-string): New defun.
13227 (hfy-compile-face-map): Make sure that the last char in the
13228 buffer is correctly fontified.
13229 (hfy-face-resolve-face): Whitespace only change.
13231 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13233 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13234 message more clear.
13236 2012-03-16 Leo Liu <sdl.web@gmail.com>
13238 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13240 2012-03-16 Alan Mackenzie <acm@muc.de>
13242 Further optimize the handling of large macros.
13244 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13245 limit to a call of `c-literal-limits'.
13246 (c-determine-+ve-limit): New function.
13247 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13248 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13249 In CASE 5B, restrict a search limit to 500.
13250 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13252 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13253 Restrict macro bounds to +-500 from after-change's BEG END.
13255 2012-03-16 Leo Liu <sdl.web@gmail.com>
13257 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13259 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13261 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13262 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13264 2012-03-16 Glenn Morris <rgm@gnu.org>
13266 * view.el (view-buffer, view-buffer-other-window)
13267 (view-buffer-other-frame): Doc fixes re special mode-class.
13269 * subr.el (eval-after-load): If named feature is provided not from
13270 a file, run after-load forms. (Bug#10946)
13272 * calendar/calendar.el (calendar-insert-at-column):
13273 Handle non-unit-width characters a bit better. (Bug#10978)
13275 2012-03-15 Chong Yidong <cyd@gnu.org>
13277 * emacs-lisp/ring.el (ring-extend): New function.
13278 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13280 * comint.el (comint-read-input-ring)
13281 (comint-add-to-input-history): Grow comint-input-ring lazily.
13283 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13285 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13286 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13288 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13289 (imenu-add-to-menubar): Don't add a redundant index.
13290 (imenu-update-menubar): Handle a dynamically composed keymap.
13292 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13294 * mail/sendmail.el (mail-encode-header):
13295 Bind rfc2047-encode-encoded-words to nil.
13297 2012-03-13 Glenn Morris <rgm@gnu.org>
13299 * calendar/calendar.el (calendar-string-spread):
13300 Handle non-unit-width characters a bit better. (Bug#10978)
13302 2012-03-13 Leo Liu <sdl.web@gmail.com>
13304 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13305 directory and file as argument (Bug#10822).
13307 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13309 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13310 For dynamically generated code, follow $PC.
13311 (gdb-disassembly-handler-custom): Handle no function name case.
13313 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13315 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13316 * emulation/ws-mode.el (ws-query-replace):
13317 * sort.el (sort-regexp-fields):
13318 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13320 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13322 * dabbrev.el: Fix cycle completion order (bug#10963).
13323 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13324 (dabbrev-completion): Don't use an obarray; provide
13325 a cycle-sort-function.
13327 2012-03-12 Leo Liu <sdl.web@gmail.com>
13329 * simple.el (kill-new): Use equal-including-properties for comparison.
13330 (kill-do-not-save-duplicates): Doc fix.
13332 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13334 * dabbrev.el: Fix cycle completion (bug#10963).
13335 Use lexical binding and wrap to 80 columns.
13336 (dabbrev-completion): Delay computing the list of completions.
13338 2012-03-12 Kenichi Handa <handa@m17n.org>
13340 * international/quail.el (quail-insert-kbd-layout): Surround each
13341 row by LRO and PDF instead of inserting many LRMs. Pad the left
13342 and right of each non-spacing marks. Insert invisible space
13343 between lower and upper characters to prevent composition.
13345 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13347 * minibuffer.el (minibuffer-complete): Don't get confused when the
13348 function is run twice via different commands (bug#10958).
13349 (complete-with-action): Fix docstring.
13351 2012-03-12 Chong Yidong <cyd@gnu.org>
13353 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13354 (nxml-completion-at-point-function): New function.
13355 (nxml-mode): Use it.
13356 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13358 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13359 Load generated autoloads file before byte compiling (Bug#10970).
13360 (package--make-autoloads-and-compile): New helper fun.
13362 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13364 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13366 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13368 * autorevert.el (auto-revert-handler): Ensure, that
13369 file-readable-p is applied only for local files or in
13370 auto-revert-tail-mode.
13372 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13374 * server.el (server-eval-at): Handle non-tcp connections.
13375 Decode result string.
13377 * server.el (server-msg-size): New constant.
13378 (server-reply-print): New function.
13379 (server-eval-and-print): Use it.
13380 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13381 Handle -print-nonl.
13383 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13385 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13388 2012-03-11 Chong Yidong <cyd@gnu.org>
13390 * simple.el (goto-line): Doc fix (Bug#9938).
13392 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13394 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13395 when finished (Bug#10963).
13397 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13399 * window.el (split-window-below): Fix bug in case where
13400 split-window-keep-point is nil (Bug#10971).
13402 2012-03-11 Juri Linkov <juri@jurta.org>
13404 * replace.el (replace-highlight): Set isearch-word to nil
13405 unconditionally. (Bug#10887)
13407 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13409 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13410 mairix-replace-illegal-chars; all callers changed. Don't remove
13411 ^, ~, and = characters: they are meaningful in mairix search specs.
13412 (mairix-widget-create-query): Add usage information about mairix
13413 search forms: negating words, searching for substrings, etc.
13415 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13417 * international/fontset.el (font-encoding-alist): Add an entry for
13418 ksx1001 (Bug#5667).
13420 2012-03-10 Richard Stallman <rms@gnu.org>
13422 * mail/sendmail.el (mail-encode-header):
13423 Set rfc2047-encode-encoded-words.
13425 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13427 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13428 view buffer means not swapped.
13429 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13430 (rmail-write-region-annotate): Error if real text has disappeared.
13432 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13434 2012-03-10 Chong Yidong <cyd@gnu.org>
13436 * emulation/cua-rect.el (cua--init-rectangles):
13437 * emulation/cua-base.el (cua--init-keymaps):
13438 Add delete-forward-char to remappings (Bug#9666).
13440 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13442 * speedbar.el (speedbar-unhighlight-one-tag-line):
13443 Avoid unhighlighting due to frame switching (Bug#10275).
13445 2012-03-10 Chong Yidong <cyd@gnu.org>
13447 * minibuffer.el (completion-in-region, completion-help-at-point):
13448 Give the completion field overlay a high priority (Bug#6830).
13450 * dired.el (dired-goto-file): Recognize absolute file name
13451 listings (Bug#7126).
13452 (dired-goto-file-1): New helper function.
13453 (dired-toggle-read-only): Inhibit warnings.
13455 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13457 * net/dbus.el (dbus-property-handler): Return empty array if
13458 there are no properties.
13460 2012-03-09 Leo Liu <sdl.web@gmail.com>
13462 * savehist.el (savehist-printable): Stricter check for string
13465 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13467 * mail/smtpmail.el (smtpmail-send-it):
13468 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13471 2012-03-09 Glenn Morris <rgm@gnu.org>
13473 * files.el (dir-locals-find-file):
13474 Don't check result is regular, readable.
13475 (dir-locals-read-from-file): Demote errors.
13477 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13479 * international/quail.el (quail-insert-kbd-layout):
13480 Insert invisible LRM characters before each character in a keyboard
13481 layout cell, to prevent their reordering by bidi display engine.
13482 For details, see the discussion in
13483 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13485 2012-03-08 Alan Mackenzie <acm@muc.de>
13487 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13488 the starting position; make it extend the marked region when
13489 invoked repeatedly - all under appropriate circumstances.
13490 Fixes bugs #5525, #10906.
13492 2012-03-08 Glenn Morris <rgm@gnu.org>
13494 * files.el (locate-dominating-file, dir-locals-find-file):
13495 Undo 2012-03-06 change.
13497 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13499 * international/quail.el (quail-help):
13500 Force bidi-paragraph-direction be left-to-right. See discussion in
13501 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13504 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13506 Avoid superfluous registering of signals. (Bug#10807)
13508 * notifications.el (notifications-on-action-object)
13509 (notifications-on-close-object): New defvars.
13510 (notifications-on-action-signal, notifications-on-closed-signal):
13511 Unregister the signal if not needed any longer.
13512 (notifications-notify): Register `notifications-action-signal' or
13513 `notifications-closed-signal', if :on-action or :on-close has been
13514 passed as argument.
13516 2012-03-07 Chong Yidong <cyd@gnu.org>
13518 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13521 2012-03-06 Glenn Morris <rgm@gnu.org>
13523 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13524 (x-disown-selection-internal, x-get-selection-internal):
13525 Doc fix (add arglist signatures). (Bug#10783)
13527 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13529 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13530 Handle breakpoints with no "type".
13532 2012-03-06 Glenn Morris <rgm@gnu.org>
13534 * files.el (locate-dominating-file): Add optional predicate argument.
13535 (dir-locals-find-file): Make use of above change.
13537 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13539 * info.el (Info-insert-dir): Also try "dir.gz".
13541 2012-03-06 Glenn Morris <rgm@gnu.org>
13543 * files.el (dir-locals-find-file):
13544 Ignore non-readable or non-regular files. (Bug#10928)
13546 * files.el (locate-dominating-file): Doc fix.
13548 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13550 * calendar/calendar.el (calendar-set-mode-line):
13551 `getenv' returns a string. (Bug#10951)
13553 2012-03-05 Leo Liu <sdl.web@gmail.com>
13555 * simple.el (backward-delete-char-untabify): Constrain point to
13558 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13560 2012-03-05 Chong Yidong <cyd@gnu.org>
13562 * simple.el (count-words): If called from Lisp, return the word
13563 count, for symmetry with `count-lines'. Arglist changed.
13564 (count-words--message): Args changed. Consolidate counting code
13565 from count-words and count-words-region.
13566 (count-words-region): Caller changed.
13567 (count-lines-region): Make it an obsolete alias.
13569 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13571 * saveplace.el (save-place-to-alist)
13572 (save-place-ignore-files-regexp): Allow value nil to disable this
13575 2012-03-04 Chong Yidong <cyd@gnu.org>
13577 * faces.el (face-spec-reset-face): For the default face, reset the
13578 attributes to default values (Bug#10748).
13580 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13582 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13583 previous patch: Check `message-send-mail-function', and not the
13584 default function (bug#10897).
13586 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13588 * notifications.el (notifications-on-action-signal)
13589 (notifications-on-closed-signal): Check for unique service name of
13590 incoming event. Fix error in removing entry.
13591 (top): Register for signals with wildcard service name.
13592 (notifications-notify): Use daemon unique service name for map entries.
13594 2012-03-04 Chong Yidong <cyd@gnu.org>
13596 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13598 2012-03-04 Glenn Morris <rgm@gnu.org>
13600 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13601 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13602 (expand-abbrev, define-abbrev-table): Doc fixes.
13604 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13606 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13607 `message-default-send-mail-function' and not `send-mail-function'
13608 when doing the prompting for `sendmail-query-once' before sending
13609 in Message buffers (bug#10897).
13611 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13612 This is inconsistent with all the other stream functions, which leave
13613 the setting up to the higher levels (if so wanted) (bug#10931).
13615 2012-03-02 Alan Mackenzie <acm@muc.de>
13617 Depessimize the handling of very large macros.
13619 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13620 (c-macro-cache-syntactic): New variables to implement a one
13621 element macro cache.
13622 (c-invalidate-macro-cache): New function.
13623 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13624 Adapt to use the new cache.
13625 (c-state-safe-place): Use better the cache of safe positions.
13626 (c-state-semi-nonlit-pos-cache)
13627 (c-state-semi-nonlit-pos-cache-limit):
13628 New variables for...
13629 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13630 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13631 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13632 Use c-state-semi-safe-place.
13634 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13635 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13637 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13639 * jka-compr.el (jka-compr-call-process):
13640 Apply `file-accessible-directory-p' only when the default directory is
13643 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13645 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13646 access of FILE2, if FILE1 does not exist.
13648 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13649 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13651 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13652 Add "PAGER=" to `process-environment'.
13654 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13656 * progmodes/sql.el: Bug fix
13657 (sql-get-login-ext): Save login values in globals.
13658 (sql-get-login): Use new version of `sql-get-login-ext'.
13659 (sql-interactive-mode): Set global `sql-connection' to nil.
13660 (sql-connect): Set global values for connection.
13661 (sql-product-interactive): Save global values as buffer local.
13663 2012-02-29 Leo Liu <sdl.web@gmail.com>
13665 * abbrev.el (define-abbrevs): Reset sys to nil.
13667 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13669 * files.el (file-equal-p): Rename from `files-equal-p'.
13670 Return nil when one or both files don't exist.
13671 (file-subdir-of-p): Now only top directory must exists,
13672 return nil if it doesn't.
13673 (copy-directory): No need to test with `file-subdir-of-p' after
13675 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13678 2012-02-28 Glenn Morris <rgm@gnu.org>
13680 * shell.el (shell-mode):
13681 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13682 * play/landmark.el (landmark-font-lock-face-O):
13683 * play/handwrite.el (handwrite):
13684 * play/gomoku.el (gomoku-O):
13685 * net/browse-url.el (browse-url-browser-display):
13686 * international/mule.el (define-charset):
13687 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13688 * filesets.el (filesets-find-file-delay):
13689 * eshell/em-xtra.el (eshell-xtra):
13690 * eshell/em-unix.el (eshell-grep):
13691 * emulation/viper.el (viper-mode):
13692 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13693 * emacs-lisp/easymenu.el (easy-menu-define):
13694 * calendar/timeclock.el (timeclock-use-display-time):
13696 * bookmark.el (bookmark-save-flag):
13697 Doc fix (standardize possessive apostrophe usage).
13699 2012-02-27 Chong Yidong <cyd@gnu.org>
13701 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13702 Fix key-binding lookup for ESC key (Bug#9146).
13704 * font-lock.el (font-lock-specified-p): Rename from
13705 font-lock-spec-present. Callers changed.
13707 2012-02-27 Daniel Hackney <dan@haxney.org>
13709 * emacs-lisp/package.el (package-compute-transaction):
13710 Handle holding a package version to t in package-load-list.
13712 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13714 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13715 (tramp-get-inode, tramp-get-device): Use cached values.
13717 2012-02-26 Alan Mackenzie <acm@muc.de>
13719 Check there is a font-lock specification before doing initial
13722 * font-core.el (font-lock-mode): Move the conditional from
13723 :after-hook to font-lock-initial-fontify.
13724 (font-lock-default-function): Move the check for a specification
13725 to font-lock-spec-present.
13727 * font-lock.el (font-lock-initial-fontify): Call ...
13728 (font-lock-spec-present): New function.
13730 2012-02-26 Jim Blandy <jimb@red-bean.com>
13732 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13733 (gdb-send): Apply it to the operand of the '-interpreter-exec
13734 console' command, so that we can pass arguments with (say) quotes
13735 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13737 2012-02-26 Chong Yidong <cyd@gnu.org>
13739 * help-fns.el (describe-function-1): Clarify description of
13740 remapping (Bug#10844).
13742 * files.el (files-equal-p): Doc fix.
13743 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13744 and quit the loop once a mismatch is found.
13746 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13748 * bs.el (bs--show-with-configuration): Don't throw an error
13749 if the window cannot be split; otherwise, subsequent calls to
13750 bs-show fail, restoring a stale window config. (Bug#10882)
13752 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13754 * term/ns-win.el (global-map): Bind ns-drag-file to
13755 ns-find-file (Bug#5855, Bug#10050).
13757 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13759 * calendar/parse-time.el (parse-time-string): Allow extractor to
13762 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13764 * net/tramp.el (tramp-file-name-for-operation):
13765 Add `files-equal-p' and `file-subdir-of-p'.
13767 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13768 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13769 Add COPY-CONTENTS argument.
13771 2012-02-25 Chong Yidong <cyd@gnu.org>
13773 Add custom groups for VC backends, for consistency with vc-bzr.
13775 * vc/vc-arch.el (vc-arch):
13776 * vc/vc-cvs.el (vc-cvs):
13777 * vc/vc-git.el (vc-git):
13778 * vc/vc-hg.el (vc-hg):
13779 * vc/vc-mtn.el (vc-mtn):
13780 * vc/vc-rcs.el (vc-rcs):
13781 * vc/vc-sccs.el (vc-sccs):
13782 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13783 All relevant defcustoms reassigned.
13785 2012-02-25 Chong Yidong <cyd@gnu.org>
13787 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13789 * term/x-win.el (x-initialize-window-system): Reduce default for
13790 x-selection-timeout to 5 seconds (Bug#8869).
13792 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13794 * files.el (files-equal-p, file-subdir-of-p): New functions.
13795 (copy-directory): Error when trying to copy a directory on itself.
13796 Add missing copy-contents arg to tramp handler.
13797 * dired-aux.el (dired-copy-file-recursive): Same.
13798 (dired-create-files): Modify destination when source is equal to
13799 dest when copying files.
13800 Return also when dest is a subdir of source. (Bug#10489)
13802 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13804 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13807 2012-02-23 Alan Mackenzie <acm@muc.de>
13809 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13810 parameter "after-hook:" to allow the expansion to run code after
13811 the execution of the mode hooks.
13813 * font-lock.el (font-lock-initial-fontify): New function extracted
13814 from font-lock-mode-internal.
13816 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13819 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13821 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13822 (completion--cache-all-sorted-completions): New function.
13823 (completion-all-sorted-completions): Use it.
13824 (completion--do-completion, minibuffer-force-complete):
13825 Use it to re-instate the flush hook.
13827 * icomplete.el (icomplete-completions): Replace last fix with a better
13830 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13832 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13833 when it might call us back infinitely (bug#10797).
13835 2012-02-23 Glenn Morris <rgm@gnu.org>
13837 * minibuffer.el (completion-category-overrides): Doc fix.
13839 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13841 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13842 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13844 2012-02-23 Glenn Morris <rgm@gnu.org>
13846 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13847 (authors-obsolete-files-regexps, authors-ignored-files)
13848 (authors-ambiguous-files, authors-renamed-files-alist):
13851 2012-02-23 Juri Linkov <juri@jurta.org>
13853 * isearch.el (isearch-occur): Sync interactive spec with occur's
13854 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13856 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13858 2012-02-22 Juri Linkov <juri@jurta.org>
13860 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13861 (ucs-insert): Doc fix. Check for hex digits in the string.
13862 Don't display `nil' in the error message. (Bug#10857)
13864 2012-02-22 Alan Mackenzie <acm@muc.de>
13866 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13868 2012-02-22 Glenn Morris <rgm@gnu.org>
13870 * ffap.el (ffap-c-path):
13871 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13873 2012-02-22 Chong Yidong <cyd@gnu.org>
13875 * custom.el (load-theme): Doc fix.
13877 2012-02-22 Glenn Morris <rgm@gnu.org>
13879 * dired-x.el (dired-guess-shell-alist-default):
13880 Remove escape sequences from nroff output. (Bug#172)
13882 2012-02-21 Glenn Morris <rgm@gnu.org>
13884 * vc/emerge.el (emerge-defvar-local):
13885 Set `permanent-local' property rather than unused `preserved'.
13887 * textmodes/picture.el (picture-delete-char): New alias.
13888 (picture-mode-map): Use it. (Bug#10860)
13889 (picture-mode): Doc fix.
13891 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13893 * newcomment.el (uncomment-region-default): Remove unused binding.
13895 2012-02-21 Glenn Morris <rgm@gnu.org>
13897 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13898 (picture-self-insert, picture-tab-chars): Doc fix.
13899 (picture-mode-map): Fix C-a, C-e.
13901 2012-02-20 Glenn Morris <rgm@gnu.org>
13903 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13905 2012-02-20 Leo Liu <sdl.web@gmail.com>
13907 * icomplete.el (icomplete-completions): Check FROM arg before
13908 passing to substring (Bug#10850).
13910 2012-02-19 Chong Yidong <cyd@gnu.org>
13912 * comint.el: Require ansi-color.
13913 (comint-output-filter-functions): Add ansi-color-process-output.
13915 * ansi-color.el: Don't set comint-output-filter-functions; it is
13916 now in the initial value defined in comint.el.
13917 (ansi-color-apply-face-function): New variable.
13918 (ansi-color-apply-on-region): Use it.
13919 (ansi-color-apply-overlay-face): New function.
13921 * shell.el (shell): No need to require ansi-color.
13922 (shell-mode): Use ansi-color-apply-face-function to highlight
13923 color escapes using font-lock-face property (Bug#10835).
13925 2012-02-19 Chong Yidong <cyd@gnu.org>
13927 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13928 mode-line formats (Bug#10839).
13930 2012-02-18 Glenn Morris <rgm@gnu.org>
13932 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13934 * mail/undigest.el (unforward-rmail-message): Doc fix.
13936 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13938 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13940 * international/characters.el (script-list): Sync with the latest
13941 Unicode Character Database.
13943 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13945 * international/titdic-cnv.el: Remove duplicate coding tag.
13946 * language/cham.el: Likewise.
13947 * language/tai-viet.el: Likewise.
13949 2012-02-18 Glenn Morris <rgm@gnu.org>
13951 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13952 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13953 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13954 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13955 * calendar/holidays.el (holiday-bahai-holidays)
13956 (calendar-holidays, list-holidays):
13957 Use utf-8 Bahá'í in doc-strings, menus, etc.
13959 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13961 * saveplace.el (save-place-ignore-files-regexp): New variable
13962 allowing for excluding files from saving their location of point.
13963 The default value matches the temporary commit message editing
13964 files from Git, SVN, Bazaar, and Mercurial.
13965 (save-place-to-alist): Use it.
13967 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13968 Stefan Monnier <monnier@iro.umontreal.ca>
13970 * newcomment.el (uncomment-region-default): Don't leave extra space
13971 when an arg is provided (bug#8150).
13973 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13975 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13977 2012-02-17 Glenn Morris <rgm@gnu.org>
13979 * net/socks.el: Require network-stream. (Bug#10599)
13981 2012-02-17 Kenichi Handa <handa@m17n.org>
13983 * international/charprop.el:
13984 * international/uni-name.el:
13985 * international/uni-old-name.el:
13986 * international/uni-comment.el: Regenerate.
13988 2012-02-16 Glenn Morris <rgm@gnu.org>
13990 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13991 Interactively in calendar buffer, give an error if not on a date.
13993 2012-02-15 Glenn Morris <rgm@gnu.org>
13995 * shell.el (shell-delimiter-argument-list):
13996 Revert 2011-02-17 change. (Bug#8027)
13998 2012-02-15 Chong Yidong <cyd@gnu.org>
14000 * minibuffer.el (completion-at-point-functions): Doc fix.
14002 * custom.el (defcustom): Doc fix; note use of defvar.
14004 2012-02-15 Glenn Morris <rgm@gnu.org>
14006 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14009 2012-02-14 Glenn Morris <rgm@gnu.org>
14011 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14013 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14015 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14016 way the ports list is computed.
14017 (smtpmail-query-smtp-server): Prompt the user for a port number if
14018 we can't connect to any of the standard ports (bug#10810).
14020 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14022 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14024 2012-02-13 Glenn Morris <rgm@gnu.org>
14026 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14028 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14030 * net/gnutls.el (gnutls-trustfiles): New variable.
14031 (gnutls-negotiate): Use it.
14033 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14035 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14036 does its stuff if Gnus is running.
14038 2012-02-13 Alan Mackenzie <acm@muc.de>
14040 Fix a loop in c-set-fl-decl-start.
14042 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14043 c-backward-syntactic-ws actually moves backwards.
14045 2012-02-13 Leo Liu <sdl.web@gmail.com>
14047 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14048 beginning so that all \C-o chars are removed.
14050 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14052 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14054 2012-02-12 Alan Mackenzie <acm@muc.de>
14056 Fix infinite loop with long macros.
14057 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14059 2012-02-12 Chong Yidong <cyd@gnu.org>
14061 * window.el (display-buffer): Doc fix (Bug#10785).
14063 2012-02-12 Glenn Morris <rgm@gnu.org>
14065 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14066 (x-disown-selection-internal, x-get-selection-internal):
14067 Sync docs with the xselect.c versions.
14069 * allout-widgets.el: Add missing license notice.
14071 2012-02-11 Glenn Morris <rgm@gnu.org>
14073 * select.el (x-get-selection-internal, x-own-selection-internal)
14074 (x-disown-selection-internal):
14075 * x-dnd.el (x-get-selection-internal): Update declarations.
14077 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14079 * window.el (window-sides-slots):
14080 * tool-bar.el (tool-bar-position):
14081 * term/xterm.el (xterm-extra-capabilities):
14082 * ses.el (ses-self-reference-early-detection):
14083 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14084 (verilog-auto-wire-type)
14085 (verilog-auto-delete-trailing-whitespace)
14086 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14087 (verilog-auto-tieoff-declaration):
14088 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14089 (sql-oracle-statement-starters, sql-oracle-scan-on):
14090 * progmodes/prolog.el (prolog-align-comments-flag)
14091 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14092 (prolog-left-indent-regexp, prolog-paren-indent-p)
14093 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14094 (prolog-types, prolog-mode-specificators)
14095 (prolog-determinism-specificators, prolog-directives)
14096 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14097 (prolog-electric-dot-flag)
14098 (prolog-electric-dot-full-predicate-template)
14099 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14100 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14101 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14102 (prolog-program-switches, prolog-prompt-regexp)
14103 (prolog-debug-on-string, prolog-debug-off-string)
14104 (prolog-trace-on-string, prolog-trace-off-string)
14105 (prolog-zip-on-string, prolog-zip-off-string)
14106 (prolog-use-standard-consult-compile-method-flag)
14107 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14108 (prolog-imenu-max-lines, prolog-info-predicate-index)
14109 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14110 (prolog-char-quote-workaround):
14111 * progmodes/cc-vars.el (c-defun-tactic):
14112 * net/tramp.el (tramp-encoding-command-interactive)
14113 (tramp-local-end-of-line):
14114 * net/soap-client.el (soap-client):
14115 * net/netrc.el (netrc-file):
14116 * net/gnutls.el (gnutls):
14117 * minibuffer.el (completion-category-overrides)
14118 (completion-cycle-threshold)
14119 (completion-pcm-complete-word-inserts-delimiters):
14120 * man.el (Man-name-local-regexp):
14121 * mail/feedmail.el (feedmail-display-full-frame):
14122 * international/characters.el (glyphless-char-display-control):
14123 * eshell/em-ls.el (eshell-ls-date-format):
14124 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14125 (lisp-lambda-list-keyword-parameter-indentation)
14126 (lisp-lambda-list-keyword-parameter-alignment):
14127 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14128 * dired-x.el (dired-omit-verbose):
14129 * cus-theme.el (custom-theme-allow-multiple-selections):
14130 * calc/calc.el (calc-highlight-selections-with-faces)
14131 (calc-lu-field-reference, calc-lu-power-reference)
14132 (calc-note-threshold):
14133 * battery.el (battery-mode-line-limit):
14134 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14135 (archive-7z-update):
14136 * allout.el (allout-prefixed-keybindings)
14137 (allout-unprefixed-keybindings)
14138 (allout-inhibit-auto-fill-on-headline)
14139 (allout-flattened-numbering-abbreviation):
14140 * allout-widgets.el (allout-widgets-auto-activation)
14141 (allout-widgets-icons-dark-subdir)
14142 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14143 (allout-widgets-theme-dark-background)
14144 (allout-widgets-theme-light-background)
14145 (allout-widgets-item-image-properties-emacs)
14146 (allout-widgets-item-image-properties-xemacs)
14147 (allout-widgets-run-unit-tests-on-load)
14148 (allout-widgets-time-decoration-activity)
14149 (allout-widgets-hook-error-post-time)
14150 (allout-widgets-track-decoration):
14151 Add missing :version tags to new defcustoms and defgroups.
14153 * progmodes/sql.el (sql-ansi-statement-starters)
14154 (sql-oracle-statement-starters): Add custom type.
14156 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14157 (prolog-system-version): Give it a type.
14159 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14161 * term/pc-win.el (x-select-text, x-selection-owner-p)
14162 (x-own-selection-internal, x-disown-selection-internal)
14163 (x-get-selection-internal): Sync doc strings and argument lists
14164 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14166 2012-02-11 Leo Liu <sdl.web@gmail.com>
14168 * progmodes/python.el (python-end-of-statement): Fix infinite
14171 2012-02-10 Glenn Morris <rgm@gnu.org>
14173 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14174 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14176 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14178 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14179 about SMTP before checking the From header.
14181 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14182 into own function for reuse by emacsbug.el.
14184 2012-02-10 Leo Liu <sdl.web@gmail.com>
14186 * subr.el (condition-case-unless-debug): Rename from
14187 condition-case-no-debug. All callers changed.
14188 (with-demoted-errors): Fix caller.
14190 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14191 * nxml/rng-valid.el (rng-do-some-validation):
14192 * emacs-lisp/package.el (package-refresh-contents)
14193 (package-menu-execute):
14194 * desktop.el (desktop-create-buffer):
14195 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14197 2012-02-10 Glenn Morris <rgm@gnu.org>
14199 * textmodes/bibtex.el:
14200 Add missing :version tags for new/changed defcustoms.
14202 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14204 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14206 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14207 (smtpmail-via-smtp): Use it, or fall back on the From address.
14208 (smtpmail-send-it): Ditto.
14210 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14212 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14213 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14214 (byte-compile-tmp-var): New const.
14215 (byte-compile-defvar): Use it to minimize .elc size.
14216 Just use `defvar' rather than simulate it (bug#10761).
14218 2012-02-09 Glenn Morris <rgm@gnu.org>
14220 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14222 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14225 * progmodes/compile.el (compilation-error-screen-columns)
14226 (compilation-first-column, compilation-filter-start): Doc fixes.
14228 * vc/log-view.el (log-view-toggle-entry-display):
14229 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14231 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14232 (report-emacs-bug-can-use-xdg-email):
14233 (report-emacs-bug-insert-to-mailer): Doc fixes.
14234 (report-emacs-bug): Message fix.
14236 * net/browse-url.el (browse-url-can-use-xdg-open)
14237 (browse-url-xdg-open): Doc fixes.
14239 * electric.el (electric-indent-mode, electric-pair-mode)
14240 (electric-layout-rules, electric-layout-mode): Doc fixes.
14241 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14243 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14245 * server.el (server-unselect-display): Don't inadvertently kill
14246 the current buffer. (Bug#10729)
14248 2012-02-08 Glenn Morris <rgm@gnu.org>
14250 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14251 (sql-list-table): Doc fixes.
14253 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14254 Comment out (does nothing).
14256 * completion.el (dynamic-completion-mode):
14257 * dirtrack.el (dirtrack-debug-mode):
14258 * electric.el (electric-layout-mode):
14259 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14260 * face-remap.el (text-scale-mode, buffer-face-mode):
14261 * iimage.el (iimage-mode):
14262 * image-mode.el (image-transform-mode):
14263 * minibuffer.el (completion-in-region-mode):
14264 * scroll-lock.el (scroll-lock-mode):
14265 * simple.el (next-error-follow-minor-mode):
14266 * tar-mode.el (tar-subfile-mode):
14267 * tooltip.el (tooltip-mode):
14268 * vcursor.el (vcursor-use-vcursor-map):
14269 * wid-browse.el (widget-minor-mode):
14270 * emulation/tpu-edt.el (tpu-edt-mode):
14271 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14272 * international/iso-ascii.el (iso-ascii-mode):
14273 * language/thai-util.el (thai-word-mode):
14274 * mail/supercite.el (sc-minor-mode):
14275 * net/goto-addr.el (goto-address-mode):
14276 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14277 * progmodes/cwarn.el (cwarn-mode):
14278 * progmodes/flymake.el (flymake-mode):
14279 * progmodes/glasses.el (glasses-mode):
14280 * progmodes/hideshow.el (hs-minor-mode):
14281 * progmodes/pascal.el (pascal-outline-mode):
14282 * textmodes/enriched.el (enriched-mode):
14283 * vc/smerge-mode.el (smerge-mode):
14284 Doc fixes (minor mode argument).
14286 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14288 * ls-lisp.el (ls-lisp-sanitize): New function.
14289 (ls-lisp-insert-directory): Use it to fix or remove any elements
14290 in file-alist with missing attributes. (Bug#4673)
14292 2012-02-07 Alan Mackenzie <acm@muc.de>
14294 Fix spurious recognition of c-in-knr-argdecl.
14296 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14297 putative K&R region.
14299 2012-02-07 Alan Mackenzie <acm@muc.de>
14301 * progmodes/cc-engine.el (c-forward-objc-directive):
14302 Prevent looping in "#pragma mark @implementation".
14304 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14306 * notifications.el (notifications-on-closed-signal): Make `reason'
14307 optional. (Bug#10744)
14309 2012-02-07 Glenn Morris <rgm@gnu.org>
14311 * emacs-lisp/easy-mmode.el (define-minor-mode):
14312 Doc fixes for the macro and the mode it defines.
14314 * image.el (imagemagick-types-inhibit): Doc fix.
14316 * cus-start.el (imagemagick-render-type): Add it.
14318 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14320 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14321 Set the default at load time, too, so that `font-lock-fontify-buffer'
14322 can be called without setting up the entire mode first. This fixes
14323 a bug in `mm-inline-text' with C MIME parts.
14325 2012-02-06 Chong Yidong <cyd@gnu.org>
14327 * simple.el (list-processes--refresh): Delete exited processes
14330 * comint.el (comint-next-prompt): next-single-char-property-change
14331 and prev-single-char-property-change never return nil (Bug#8657).
14333 * custom.el (defcustom): Doc fix (Bug#9711).
14335 2012-02-05 Chong Yidong <cyd@gnu.org>
14337 * cus-edit.el (custom-variable-reset-backup): Quote the value
14338 before storing it in the customized-value property (Bug#6712).
14339 (custom-display): Add a customization type tag.
14340 (custom-buffer-create-internal): Improve tooltip message.
14342 * wid-edit.el (widget-field-value-get): New optional arg to
14343 suppress trailing whitespace truncation.
14344 (character): Use it (Bug#2689).
14346 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14348 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14349 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14351 2012-02-05 Chong Yidong <cyd@gnu.org>
14353 * cus-edit.el (custom-variable-value-create): For mismatched
14354 types, show the current value (Bug#7600).
14356 * custom.el (defcustom): Doc fix.
14358 2012-02-05 Glenn Morris <rgm@gnu.org>
14360 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14362 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14364 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14365 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14366 (pp-last-sexp): Use `looking-at-p'.
14368 2012-02-04 Glenn Morris <rgm@gnu.org>
14370 * files.el (revert-buffer):
14371 Doc fix (mention revert-buffer-in-progress-p).
14373 * emacs-lisp/ert-x.el (ert-simulate-command):
14374 Check deferred-action-list (which is obsolete) is bound.
14376 * subr.el (with-wrapper-hook): Doc fixes.
14378 * simple.el (filter-buffer-substring-functions)
14379 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14381 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14383 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14384 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14386 2012-02-04 Leo Liu <sdl.web@gmail.com>
14388 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14390 2012-02-04 Glenn Morris <rgm@gnu.org>
14392 * image.el (image-extension-data): Add obsolete alias.
14394 * isearch.el (isearch-update): Doc fix.
14396 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14398 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14400 2012-02-03 Glenn Morris <rgm@gnu.org>
14402 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14403 (image-animate-timeout): Doc fix.
14405 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14407 2012-02-02 Glenn Morris <rgm@gnu.org>
14409 * server.el (server-auth-dir): Doc fix.
14410 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14412 * subr.el (run-mode-hooks): Doc fix.
14414 2012-02-02 Juri Linkov <juri@jurta.org>
14416 * image-mode.el (image-toggle-display-image): Remove tautological
14417 `major-mode' from the `derived-mode-p' test.
14419 2012-02-02 Kenichi Handa <handa@m17n.org>
14421 * composite.el (compose-region): Cancel previous change.
14423 2012-02-02 Kenichi Handa <handa@m17n.org>
14425 * composite.el (compose-region, compose-string): Signal error for
14426 a null string component (Bug#6988).
14428 2012-02-01 Chong Yidong <cyd@gnu.org>
14430 * view.el (view-buffer-other-window, view-buffer-other-frame):
14431 Handle special modes like view-buffer (Bug#10650).
14432 (view-buffer): Simplify.
14434 * frame.el (set-frame-font): Tweak meaning of third argument.
14436 * dynamic-setting.el (font-setting-change-default-font):
14437 Use set-frame-font (Bug#9982).
14439 2012-02-01 Glenn Morris <rgm@gnu.org>
14441 * progmodes/compile.el (compilation-internal-error-properties):
14442 Respect compilation-first-column in the "*compilation*" buffer.
14444 * emacs-lisp/easy-mmode.el (define-minor-mode):
14445 Relax :variable's test for a named function.
14447 2012-01-31 Alan Mackenzie <acm@muc.de>
14449 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14452 2012-01-31 Chong Yidong <cyd@gnu.org>
14454 * frame.el (set-frame-font): New arg ALL-FRAMES.
14456 * menu-bar.el (menu-set-font): Use set-frame-font.
14458 * faces.el (face-spec-reset-face): Don't apply unspecified
14459 attribute values to the default face.
14461 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14463 * progmodes/cwarn.el (cwarn): Remove dead link.
14464 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14465 Remove * from defcustom docstrings.
14466 (turn-on-cwarn-mode): Make obsolete.
14467 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14468 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14470 2012-01-31 Glenn Morris <rgm@gnu.org>
14472 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14473 Fix :variable handling of mode a symbol not equal to modefun.
14474 Allow named functions to be used as the cdr of :variable.
14476 2012-01-30 Glenn Morris <rgm@gnu.org>
14478 * emacs-lisp/authors.el (authors-fixed-entries):
14479 Remove reference to deleted file rnewspost.el.
14481 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14483 * window.el (window-with-parameter): Remove unused variable `windows'.
14484 (window--side-check): Remove unused variable `code'.
14485 (window--resize-siblings): Remove unused variable `first'.
14486 (adjust-window-trailing-edge): Remove unused variable `failed'.
14487 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14488 Use `let', not `let*'.
14489 (balance-windows-2): Remove unused variable `found'.
14490 (window--state-put-2): Remove unused variable `splits'.
14491 (window-state-put): Remove unused variable `selected'.
14492 (same-window-p): Use `string-match-p'.
14493 (display-buffer-assq-regexp): Remove unused variable `value'.
14494 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14495 Mark argument ALIST as ignored.
14496 (pop-to-buffer): Remove unused variable `old-window'.
14498 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14500 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14501 and .lzma compressed files.
14503 2012-01-29 Chong Yidong <cyd@gnu.org>
14505 * frame.el (window-system-default-frame-alist): Doc fix.
14507 * dynamic-setting.el (font-setting-change-default-font): Don't
14508 change the default face if SET-FONT argument is non-nil (Bug#9982).
14510 2012-01-29 Samuel Bronson <naesten@gmail.com>
14512 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14514 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14516 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14517 breakpoints in files outside current directory (Bug#6098).
14519 2012-01-29 Chong Yidong <cyd@gnu.org>
14521 * progmodes/python.el: Require ansi-color at top-level.
14523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14524 Define and use in Emacs Lisp mode (Bug#9360).
14525 (lisp-mode-abbrev-table): Add doc.
14526 (lisp-mode-variables): Don't set local-abbrev-table.
14527 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14529 2012-01-28 Roland Winkler <winkler@gnu.org>
14531 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14533 2012-01-28 Roland Winkler <winkler@gnu.org>
14535 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14536 (bibtex-set-dialect): Use it. Either set global values of
14537 dialect-dependent variables or bind these variables buffer-locally
14539 (bibtex-mode): Call bibtex-set-dialect via
14540 hack-local-variables-hook.
14541 (bibtex-dialect): Update docstring.
14542 Add safe-local-variable predicate.
14543 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14544 bibtex-set-dialect.
14545 (bibtex-mode-map): Define menu for each dialect.
14546 (bibtex-entry): Fix docstring.
14548 2012-01-28 Chong Yidong <cyd@gnu.org>
14550 * eshell/esh-arg.el (eshell-quote-argument): New function.
14552 * eshell/esh-ext.el (eshell-invoke-batch-file):
14553 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14554 first arg to eshell-parse-command (Bug#10523).
14556 2012-01-28 Drew Adams <drew.adams@oracle.com>
14558 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14559 `default-directory' is non-nil.
14561 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14563 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14564 line that displays system-configuration-options. (Bug#9924)
14566 2012-01-28 Drew Adams <drew.adams@oracle.com>
14568 * descr-text.el (describe-char): Show information about POS, in
14569 addition to information about the character at POS. Improve and
14570 update the doc string. Change "code point" to "code point in
14571 charset", to avoid confusion with the character's Unicode code
14572 point shown above that. (Bug#10129)
14574 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14576 * descr-text.el (describe-char): Show the raw character, not only
14577 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14578 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14581 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14583 * emacs-lisp/package.el (package-install):
14584 Run package-refresh-contents if there is no archive yet (Bug#9798).
14586 2012-01-28 Chong Yidong <cyd@gnu.org>
14588 * emacs-lisp/package.el (package-maybe-load-descriptor):
14589 New function, split from package-maybe-load-descriptor.
14590 (package-maybe-load-descriptor): Use it.
14591 (package-download-transaction): Fully load required packages
14592 inside the loop, so that `require' calls work (Bug#10593).
14593 (package-install): No need to call package-initialize now.
14595 2012-01-28 Chong Yidong <cyd@gnu.org>
14597 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14599 * tooltip.el (tooltip-mode): Doc fix.
14600 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14602 * frame.el (set-cursor-color): Doc fix (Bug#352).
14604 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14605 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14607 * cus-edit.el (custom-buffer-create-internal): Fix search button
14608 action (Bug#10542).
14609 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14611 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14613 * dired.el (dired-mark-files-regexp):
14614 Include any subdirectory components. (Bug#10445)
14616 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14618 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14619 Handle [host]:port syntax. (Bug#10533)
14621 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14623 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14625 2012-01-26 Glenn Morris <rgm@gnu.org>
14627 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14628 * term.el (term-raw-escape-map): Use Control-X-prefix.
14629 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14631 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14633 * window.el (window-state-get, window--state-get-1): Don't deal
14634 with fixed-sizeness of windows. Simplify code.
14636 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14638 * window.el (window--state-get-1, window--state-put-2):
14639 Don't save and restore the mark.
14641 2012-01-25 Chong Yidong <cyd@gnu.org>
14643 * custom.el (custom-variable-p): Doc fix.
14645 2012-01-25 Glenn Morris <rgm@gnu.org>
14647 * dired.el (dired-goto-file): Handle some of the more common
14648 characters that `ls -b' escapes. (Bug#10596)
14650 * progmodes/compile.el (compilation-next-error-function):
14651 Respect compilation-first-column in the "*compilation*" buffer.
14652 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14654 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14656 2012-01-24 Glenn Morris <rgm@gnu.org>
14658 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14660 2012-01-24 Julien Danjou <julien@danjou.info>
14662 * color.el (color-rgb-to-hsl): Fix value computing.
14663 (color-hue-to-rgb): New function.
14664 (color-hsl-to-rgb): New function.
14665 (color-clamp, color-saturate-hsl, color-saturate-name)
14666 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14667 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14669 2012-01-24 Glenn Morris <rgm@gnu.org>
14671 * vc/vc-rcs.el (vc-rcs-create-tag):
14672 * vc/vc-sccs.el (vc-sccs-create-tag):
14673 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14675 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14677 * eshell/esh-util.el (eshell-read-hosts-file):
14678 Skip comment lines. (Bug#10549)
14680 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14682 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14684 * subr.el (display-delayed-warnings): Doc fix.
14685 (collapse-delayed-warnings): New function to collapse identical
14687 (delayed-warnings-hook): Add it.
14689 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14691 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14693 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14694 (tramp-default-user-alist): Don't add "pscp".
14695 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14696 property "login-as", if set. (Bug#10530)
14698 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14700 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14701 "plink1" and "psftp". (Bug#10530)
14703 2012-01-21 Kenichi Handa <handa@m17n.org>
14705 * international/mule-cmds.el (prefer-coding-system): Show a
14706 warning message if the default value of file-name-coding-system
14709 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14711 * windmove.el (windmove-reference-loc):
14712 Fix windmove-reference-loc miscalculation.
14714 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14716 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14719 2012-01-21 Glenn Morris <rgm@gnu.org>
14721 * international/mule.el (auto-coding-alist): Add .tbz.
14723 * files.el (local-enable-local-variables): Doc fix.
14724 (inhibit-local-variables-regexps): Rename from
14725 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14726 Doc fix. Add some extensions from auto-coding-alist.
14727 (inhibit-local-variables-suffixes):
14728 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14729 (inhibit-local-variables-p):
14730 New function, extracted from set-auto-mode-1.
14731 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14732 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14733 (hack-local-variables): Doc fix. Make the mode-only case
14734 respect enable-local-variables and friends.
14735 Respect inhibit-local-variables-regexps for file-locals, but
14736 not for directory-locals.
14737 (set-visited-file-name):
14738 Take account of inhibit-local-variables-regexps.
14739 Whether it applies may change as the file name is changed.
14740 * jka-cmpr-hook.el (jka-compr-install):
14741 * jka-compr.el (jka-compr-uninstall):
14742 Update for inhibit-first-line-modes-suffixes name change.
14744 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14746 * help-macro.el (make-help-screen): Temporarily restore original
14747 binding for minor-mode-map-alist (Bug#10454).
14749 2012-01-19 Julien Danjou <julien@danjou.info>
14751 * color.el (color-name-to-rgb): Use the white color to find the max
14752 color component value and return correctly computed values.
14753 (color-name-to-rgb): Add missing float conversion for max value.
14755 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14757 * window.el (window--state-get-1, window-state-get): Do not use
14758 special state value for window-persistent-parameters.
14759 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14760 (window--state-put-2): Reset all window parameters to nil before
14761 assigning values of persistent parameters.
14763 2012-01-18 Alan Mackenzie <acm@muc.de>
14765 Eliminate sluggishness and hangs in fontification of "semicolon
14768 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14769 Change value 10000 -> 3000.
14770 (c-state-safe-place): Reformulate so it doesn't stack up an
14771 infinite number of wrong entries in c-state-nonlit-pos-cache.
14772 (c-determine-limit-get-base, c-determine-limit): New functions to
14773 determine backward search limits disregarding literals.
14774 (c-find-decl-spots): Amend commenting.
14775 (c-cheap-inside-bracelist-p): New function which detects "={".
14777 * progmodes/cc-fonts.el
14778 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14780 (c-font-lock-declarations): Fix an occurrence of point being
14781 undefined. Check additionally for point being in a bracelist or
14782 near a macro invocation without a semicolon so as to avoid a
14783 fruitless time consuming search for a declarator. Give a more
14784 precise search limit for declarators using the new
14787 2012-01-18 Glenn Morris <rgm@gnu.org>
14789 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14790 (set-auto-mode): Doc fixes.
14792 2012-01-17 Glenn Morris <rgm@gnu.org>
14794 * isearch.el (search-nonincremental-instead): Fix doc typo.
14796 * dired.el (dired-insert-directory): Handle newlines in directory name.
14797 (dired-build-subdir-alist): Unescape newlines in directory name.
14799 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14801 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14802 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14803 (tramp-action-terminal): Use it. (Bug#10530)
14805 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14807 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14809 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14811 * window.el (window-state-ignored-parameters): Remove variable.
14812 (window--state-get-1): Rename argument MARKERS to IGNORE.
14813 Handle persistent window parameters. Make copy of clone-of
14814 parameter only if requested. (Bug#10348)
14815 (window--state-put-2): Install a window parameter only if it has
14816 a non-nil value or an existing parameter shall be overwritten.
14818 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14820 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14822 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14824 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14825 don't pass the (nil) value of `upnode' to string-match.
14827 2012-01-14 Chong Yidong <cyd@gnu.org>
14829 * startup.el (command-line): Fix X resource class for cursorColor.
14830 Fix values recognized by the cursorBlink resource.
14832 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14834 * epg.el (epg--make-temp-file): Avoid permission race condition
14835 when running on old Emacs versions (bug#10403).
14837 2012-01-14 Glenn Morris <rgm@gnu.org>
14839 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14841 2012-01-13 Alan Mackenzie <acm@muc.de>
14843 Fix filling for when filladapt mode is enabled.
14845 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14846 c-mask-paragraph, pass in `fill-paragraph' rather than
14847 `fill-region-as-paragraph'. (This is a reversion of a previous
14849 * progmodes/cc-mode.el (c-basic-common-init):
14850 Make fill-paragraph-handle-comment buffer local and set it to nil.
14852 2012-01-13 Glenn Morris <rgm@gnu.org>
14854 * dired.el (dired-switches-escape-p): New function.
14855 (dired-insert-directory): Use dired-switches-escape-p.
14856 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14858 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14860 2012-01-12 Glenn Morris <rgm@gnu.org>
14862 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14863 changes in adaptive-fill-regexp. (Bug#10276)
14865 2012-01-11 Alan Mackenzie <acm@muc.de>
14867 Fix Emacs bug #10463 - put `widen's around the critical spots.
14869 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14870 widen around each invocation of c-state-pp-to-literal. Remove an
14871 unused let variable.
14873 2012-01-11 Glenn Morris <rgm@gnu.org>
14875 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14878 2012-01-10 Chong Yidong <cyd@gnu.org>
14880 * net/network-stream.el (network-stream-open-starttls):
14881 Avoid emitting a confusing error message when the server gives a bad
14882 response to the capability command.
14884 2012-01-10 Glenn Morris <rgm@gnu.org>
14886 * mail/unrmail.el (unrmail): Tweak previous change.
14888 2012-01-09 Chong Yidong <cyd@gnu.org>
14890 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14892 2012-01-08 Alan Mackenzie <acm@muc.de>
14894 Optimize font locking in long enum definitions.
14896 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14897 arm to a cond form to handle enums.
14898 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14899 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14901 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14903 * files.el (move-file-to-trash): Preserve default file modes on error.
14906 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14908 * faces.el (set-face-attribute): Clarify the meaning of the nil
14911 * subr.el (with-selected-frame): Mention that the selected frame
14912 is restored (bug#9980).
14914 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14917 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14918 (password-read): Don't autoload unused function.
14920 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14922 * progmodes/which-func.el (which-func-mode): Turn into a
14923 non-interactive function and mark as obsolete (bug#10428).
14925 2012-01-06 Chong Yidong <cyd@gnu.org>
14927 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14928 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14929 functions, along with 1 and -1.
14931 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14933 * time.el (display-time-load-average)
14934 (display-time-default-load-average): Doc fixes. See the thread
14936 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14939 2012-01-06 Glenn Morris <rgm@gnu.org>
14941 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14942 has no messages. (Bug#10377)
14944 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14945 than Info-edit. (Bug#10385)
14947 * time.el (display-time-load-average, display-time-next-load-average):
14950 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14951 local setting of buffer-read-only to the input buffer. (Bug#10419)
14953 * calendar/calendar.el (calendar-mode):
14954 Locally set scroll-margin to 0. (Bug#10379)
14956 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14958 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14960 2012-01-05 Glenn Morris <rgm@gnu.org>
14962 * eshell/em-unix.el (diff-no-select): Autoload it.
14963 (eshell/diff): Use diff-no-select. (Bug#10420)
14965 2012-01-05 Chong Yidong <cyd@gnu.org>
14967 * shell.el (shell-dynamic-complete-functions): Revert last change.
14968 (shell-command-completion-function): New function.
14969 (shell-completion-vars): Use it to implement
14970 shell-completion-execonly (Bug#10417).
14972 * custom.el (enable-theme): Don't set custom-safe-themes.
14974 * cus-theme.el (custom-theme-merge-theme):
14975 Ignore custom-enabled-themes and custom-safe-themes.
14977 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14979 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14980 first prompt in `sql-interacive-mode'.
14981 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14983 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14984 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14985 context of original buffer. Invoke `sql-login-hook'.
14987 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14989 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14990 letters in cite-prefix.
14992 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14994 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14996 2012-01-03 Chong Yidong <cyd@gnu.org>
14998 * shell.el (shell-dynamic-complete-functions):
14999 Put pcomplete-completions-at-point, so as to try
15000 comint-filename-completion first (Bug#10417).
15002 2012-01-02 Richard Stallman <rms@gnu.org>
15004 * battery.el (battery-status-function):
15005 Detect when to use battery-yeeloong-sysfs.
15006 (battery-echo-area-format): Add string for Yeeloong.
15007 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15008 (battery-yeeloong-sysfs): New function.
15010 2012-01-02 Chong Yidong <cyd@gnu.org>
15012 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15013 (dirtrack): Merge code for handling relative filenames in prompt
15014 from shell-dir-cookie-watcher.
15015 (dirtrack-debug-message): New arg to avoid excess format calls.
15017 * shell.el (shell-dir-cookie-re): Variable deleted.
15018 (shell-dir-cookie-watcher): Function deleted.
15019 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15020 with dirtrack-mode.
15022 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15024 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15025 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15028 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15030 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15032 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15034 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15035 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15037 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15039 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15040 also for alternative shells.
15041 (tramp-open-connection-setup-interactive-shell): Check, whether
15042 the shell is a busybox.
15043 (tramp-send-command): Don't suppress multiple prompts for
15044 busyboxes, it hurts.
15046 2011-12-28 Chong Yidong <cyd@gnu.org>
15048 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15049 (gdb-get-source-file): Move mode line update to
15050 gdb-get-source-file (Bug#10087).
15052 2011-12-25 Chong Yidong <cyd@gnu.org>
15054 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15055 gud-gdb-marker-filter without taking it as an argument.
15056 (gud-gdb-run-command-fetch-lines): Caller changed.
15057 (gud-gdb-completion-function): New variable.
15058 (gud-gdb-completion-at-point): Use it.
15059 (gud-gdb-completions-1): Split from gud-gdb-completions.
15061 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15062 function as separate arguments.
15063 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15064 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15065 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15066 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15067 (gdb-stopped, def-gdb-auto-update-trigger)
15068 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15069 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15071 (gud-gdbmi-completions): New function.
15072 (gdb): Use it for generating the completion table.
15074 2011-12-24 Alan Mackenzie <acm@muc.de>
15076 Introduce a mechanism to widen the region used in context font
15077 locking. Use this to protect declarations from losing their contexts.
15079 * progmodes/cc-langs.el (c-before-font-lock-functions):
15080 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15081 (c-before-context-fontification-functions): New defvar, a list of
15082 functions to be run just before context (etc.) font locking.
15084 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15085 New, functionality extracted from
15086 c-neutralize-syntax-in-and-mark-CPP.
15087 (c-in-after-change-fontification): New variable.
15088 (c-after-change): Set c-in-after-change-fontification.
15089 (c-set-fl-decl-start): Rejig its interface, so it can be called
15090 from both after-change and context fontifying.
15091 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15093 (c-standard-font-lock-fontify-region-function): New variable.
15094 (c-font-lock-fontify-region): New function.
15096 2011-12-24 Juri Linkov <juri@jurta.org>
15098 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15101 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15103 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15104 existence of source file. (Bug#10325)
15106 2011-12-23 Alan Mackenzie <acm@muc.de>
15108 Fix unstable fontification inside templates.
15110 * progmodes/cc-langs.el (c-before-font-lock-functions):
15111 Newly created from the singular version. The (c c++ objc) entry now
15112 additionally has c-set-fl-decl-start. The other languages (apart
15113 from AWK) have that as a single entry.
15115 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15116 The functionality for "local" declarations has been extracted to
15117 c-set-fl-decl-start.
15119 * progmodes/cc-mode.el (c-common-init, c-after-change):
15120 Changes due to pluralisation of c-before-font-lock-functions.
15121 (c-set-fl-decl-start): New function, extracted from
15122 c-font-lock-enclosing-decls and enhanced.
15124 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15126 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15128 2011-12-22 Juri Linkov <juri@jurta.org>
15130 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15132 2011-12-22 Chong Yidong <cyd@gnu.org>
15134 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15136 2011-12-21 Drew Adams <drew.adams@oracle.com>
15138 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15140 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15142 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15144 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15146 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15147 highlighting and support. Fix up comments for capitalization.
15148 (cfengine-mode-debug): New var.
15149 (cfengine3-mode): Change the modeline indicator to "CFE3".
15150 (cfengine3-font-lock-keywords): Improve defun highlighting.
15151 (cfengine2-actions): Rename from `cfengine-actions'.
15152 (cfengine2-font-lock-keywords): Rename from
15153 `cfengine-font-lock-keywords'.
15154 (cfengine2-imenu-expression): Rename from
15155 `cfengine-imenu-expression'.
15156 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15157 (cfengine2-beginning-of-defun): Rename from
15158 `cfengine-beginning-of-defun'.
15159 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15160 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15161 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15162 modeline indicator to "CFE2".
15163 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15164 (cfengine-mode-abbrevs): Mark obsolete.
15166 2011-12-21 Chong Yidong <cyd@gnu.org>
15168 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15171 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15173 * window.el (window-normalize-buffer-to-display): Remove.
15174 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15176 2011-12-19 Chong Yidong <cyd@gnu.org>
15178 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15179 Don't signal an error in a predicate function; return non-nil.
15180 (vc-dir-mark-file): Move the error here.
15181 (vc-dir-mark-unmark): If acting on the region, keep going if one
15182 of the entries cannot be marked/unmarked.
15183 (vc-dir-mark-all-files): If current entry is a directory, mark
15184 only child files, as documented.
15186 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15188 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15189 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15192 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15194 * term/ns-win.el (ns-get-selection-internal)
15195 (ns-store-selection-internal): Declare.
15196 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15197 Declare as obsolete.
15198 (ns-get-pasteboard, ns-paste-secondary):
15199 Use ns-get-selection-internal.
15200 (ns-set-pasteboard, ns-copy-including-secondary):
15201 Use ns-store-selection-internal.
15203 2011-12-17 Chong Yidong <cyd@gnu.org>
15205 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15206 (vc-deduce-fileset): Doc fix.
15208 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15210 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15212 2011-12-13 Sam Steingold <sds@gnu.org>
15214 * man.el (Man-getpage-in-background): When running under a
15215 window-system, ignore $MANWIDTH and $COLUMNS.
15217 2011-12-15 Kenichi Handa <handa@m17n.org>
15219 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15220 (setup-ethiopic-environment-internal): Comment out key-binding for
15221 ethio-toggle-punctuation.
15223 2011-12-13 Alan Mackenzie <acm@muc.de>
15225 Add the switch statement to AWK Mode.
15227 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15228 "default" to the keywords regexp.
15230 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15231 expression as the rest.
15232 (c-nonlabel-token-key): Allow string literals for AWK.
15233 Refactor for the other modes.
15235 Large brace-block initialisation makes CC Mode slow: Fix.
15236 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15237 routines. Limit backward searching in c-font-lock-enclosing.decl.
15239 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15240 pp-state and literal type in addition to the limits.
15241 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15242 (c-state-literal-at): Use the above new defun.
15243 (c-slow-in-literal, c-fast-in-literal): Remove.
15244 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15247 being in a literal. Add a limit for backward searching.
15249 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15252 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15254 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15256 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15258 * window.el (delete-other-windows): Use correct frame in call to
15259 window-with-parameter.
15261 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15263 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15264 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15265 (makefile-gmake-statements, makefile-makepp-statements):
15266 Use it and add new makepp keywords.
15267 (makefile-makepp-font-lock-keywords): Add new patterns.
15268 (makefile-match-function-end): Match new [...] and [[...]].
15270 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15272 * ses.el (ses-call-printer-return, ses-cell-property-get)
15273 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15274 (ses-create-cell-variable, ses-reset-header-string)
15275 (ses-cell-set-formula, ses-repair-cell-reference-all)
15276 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15277 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15278 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15279 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15280 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15281 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15282 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15283 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15284 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15285 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15286 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15287 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15289 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15291 * ses.el: The overall change is to add cell renaming, that is
15292 setting fancy names for cell symbols other than name matching
15293 "\\`[A-Z]+[0-9]+\\'" regexp .
15294 (ses-create-cell-variable): New defun.
15295 (ses-relocate-formula): Relocate formulas only for cells the
15296 symbols of which are not renamed, i.e. symbols whose names do not
15297 match regexp "\\`[A-Z]+[0-9]+\\'".
15298 (ses-relocate-all): Relocate values only for cells the symbols of
15299 which are not renamed.
15300 (ses-load): Create cells variables as the (ses-cell ...) are read,
15301 in order to check row col consistency with cell symbol name only
15302 for cells that are not renamed.
15303 (ses-replace-name-in-formula): New defun.
15304 (ses-rename-cell): New defun.
15306 2011-12-11 Chong Yidong <cyd@gnu.org>
15308 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15309 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15311 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15313 * window.el (other-window): Fix docstring.
15315 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15317 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15318 `from' or `to' address before taking its substring.
15319 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15320 encoded name is chopped in the middle of the encoded string, and
15321 thus displayed encoded.
15323 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15325 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15327 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15329 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15330 to use texinfo-update-node and commands that call it if the
15331 Texinfo file uses @node lines without next/prev/up pointers.
15332 Correct outdated description about texinfo-master-menu.
15333 (texinfo-all-menus-update, texinfo-master-menu)
15334 (texinfo-update-node, texinfo-every-node-update)
15335 (texinfo-multiple-files-update): Doc fix. Warn against updating
15336 all the @node lines.
15337 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15338 argument is numeric. Explain better in the doc string what the
15339 function really does.
15340 (texinfo-insert-master-menu-list): Improve the error message
15341 displayed if there's no menu in the Top node.
15342 (Bug#2975) See also this thread:
15343 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15345 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15347 * speedbar.el (speedbar-supported-extension-expressions):
15348 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15350 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15352 * printing.el (pr-mode-alist):
15353 * simple.el (filter-buffer-substring-functions)
15354 (completion-list-insert-choice-function):
15355 * window.el (window-with-parameter, window-atom-root)
15356 (window-sides-slots, window-size-fixed, window-min-delta)
15357 (window-max-delta, window--resize-mini-window)
15358 (window--resize-child-windows-normal, window-tree)
15359 (delete-other-windows, quit-window, split-window)
15360 (display-buffer-record-window, special-display-buffer-names)
15361 (special-display-regexps, special-display-popup-frame)
15362 (same-window-p, split-window-sensibly)
15363 (display-buffer-overriding-action, display-buffer-alist)
15364 (display-buffer-base-action, display-buffer, switch-to-buffer)
15365 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15366 (fit-window-to-buffer, recenter-positions)
15367 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15368 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15369 and remove unneeded backslashes in docstrings.
15371 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15373 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15375 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15376 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15378 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15379 when reading the makefile (bug#10116).
15381 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15383 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15386 2011-12-06 Glenn Morris <rgm@gnu.org>
15388 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15390 2011-12-06 Chong Yidong <cyd@gnu.org>
15392 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15394 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15396 * textmodes/table.el (table-shorten-cell): Fix typo.
15398 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15400 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15402 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15404 * descr-text.el (describe-char): Fix display of strong
15405 right-to-left characters and directional embeddings and overrides.
15407 * simple.el (what-cursor-position): Fix display of codepoints of
15408 strong right-to-left characters.
15410 2011-12-05 Chong Yidong <cyd@gnu.org>
15412 * faces.el (read-color): Doc fix.
15414 2011-12-05 Glenn Morris <rgm@gnu.org>
15416 * align.el (align--set-marker): Add doc-string.
15417 Don't try to move something that is not a marker. (Bug#10216)
15419 2011-12-04 Glenn Morris <rgm@gnu.org>
15421 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15422 overly zealous deletion of trailing whitespace.
15424 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15426 * server.el (server-delete-client): On Windows, do not try to delete
15428 (server-process-filter): On Windows, treat requests for a tty frame as
15429 if they were for a GUI frame if the running server is in GUI mode.
15431 2011-12-03 Glenn Morris <rgm@gnu.org>
15433 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15435 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15437 * electric.el: Streamline electric-indent's hook.
15438 (electric-indent-chars): Revert to simple list.
15439 (electric-indent-functions): New var.
15440 (electric-indent-post-self-insert-function): Use it.
15442 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15443 there's no inferior buffer (bug#10196).
15444 (prolog-consult-compile): Don't use toggle-read-only.
15446 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15448 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15449 interrupt. (Bug#10187)
15451 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15453 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15456 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15459 2011-12-02 Juri Linkov <juri@jurta.org>
15461 * info.el (Info-search): Display "end of manual" when Isearch
15462 reaches the end of single-file Info manual. (Bug#9918)
15464 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15466 * isearch.el (isearch-message-prefix): Run the input method part
15467 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15469 2011-12-02 Juri Linkov <juri@jurta.org>
15471 * isearch.el (isearch-occur): Use `word-search-regexp' for
15473 (isearch-search-and-update): Add condition for `isearch-word' and
15474 call `word-search-regexp'. (Bug#10145)
15476 2011-12-01 Glenn Morris <rgm@gnu.org>
15478 * eshell/em-hist.el (eshell-hist-initialize):
15479 Handle eshell-history-size nil and HISTSIZE set or unset.
15480 (eshell-history-file-name, eshell-history-size): Fix custom type.
15482 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15484 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15486 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15488 * progmodes/verilog-mode.el (verilog-pretty-expr):
15489 Rework verilog-pretty-expr to handle new assignment operators in system
15490 verilog, such as += *= and the like.
15491 (verilog-assignment-operator-re): Regular expression to find the
15492 assigment operator in a verilog assignment.
15493 (verilog-assignment-operation-re): Regular expression to find an
15494 assignment statement for pretty-expr.
15495 (verilog-in-attribute-p): Query returns true if point is in an
15496 attribute context; used to skip these for expression line up from
15498 (verilog-in-parameter-p): Query returns true if point is in an
15499 parameter definition context; used to skip these for expression
15500 line up from pretty-expr.
15501 (verilog-in-parenthesis-p): Query returns true if point is in a
15502 parenthetical expression, specifically ( ) but not [ ] or { };
15503 used by pretty-expr.
15504 (verilog-just-one-space): If there is no space, don't add one.
15505 (verilog-get-lineup-indent-2): Specifically skip just attribute
15506 contexts for expression lineup, rather than skipping all
15507 parenthetical expressions.
15508 (verilog-calculate-indent): Fix comment, and fix indent.
15509 (verilog-do-indent): Indent declarations in lists (suggested by
15511 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15513 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15516 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15518 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15519 parameters with embedded comments. Reported by Ray Stevens.
15520 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15521 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15522 Reported by Tim Holt.
15523 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15524 instantiated by upper module causing wrong expansion until AUTOed a
15525 second time. Reported by K C Buckenmaier.
15526 (verilog-diff-auto): Fix showing .* as a difference when
15527 `verilog-auto-star-save' off. Reported by Dan Dever.
15528 (verilog-auto-reset, verilog-read-always-signals)
15529 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15530 temporary signals in reset list if
15531 verilog-auto-reset-blocking-in-non is nil, and match assignment
15532 style to each signal's assignment type, bug381.
15533 Reported by Thomas Esposito.
15534 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15535 (verilog-uvm-statement-re): Support UVM indentation and
15536 highlighting, with old OVM keywords only.
15537 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15538 Support AUTOTIEOFF creating non-wire data types.
15539 Suggested by Jonathan Greenlaw.
15540 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15541 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15542 (verilog-inject-sense, verilog-read-inst-pins)
15543 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15544 Fix mismatching parenthesis inside commented out code when deleting
15545 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15546 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15547 non-numeric vector width. Reported by Alex Reed.
15548 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15549 detecting signals with parameter widths. Reported by Alex Reed.
15550 (verilog-auto-delete-trailing-whitespace):
15551 With `verilog-auto-delete-trailing-whitespace' remove trailing
15552 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15553 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15554 Fix verilog-scan-cache corruption when running user AUTO expansion
15555 hooks that call indentation routines.
15556 (verilog-simplify-range-expression): Fix typo ignoring lower case
15558 (verilog-delete-auto): Fix delete-autos to also remove user created
15559 automatics, as long as they start with AUTO.
15560 (verilog-batch-diff-auto, verilog-diff-auto)
15561 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15562 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15563 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15564 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15565 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15566 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15567 is disabled and its cache will get corrupt, causing AUTOS not to
15568 expand. Instead use only -quick functions.
15569 (verilog-scan-region): Fix scanning over escaped quotes.
15570 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15571 (verilog-re-search-backward-quick)
15572 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15573 related functions now ignore strings, to fix misparsing of strings
15574 with magic comments embedded in them.
15575 (verilog-read-auto-template):
15576 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15577 Reported by Brad Dobbie.
15578 (verilog-read-auto-template):
15579 Fix 'verilog-auto-inst-template-numbers' with comments.
15580 Reported by Brad Dobbie.
15581 (verilog-auto-inst, verilog-auto-inst-param)
15582 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15583 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15584 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15585 debugging templates without merge conflicts, bug357.
15586 Reported by Brad Dobbie.
15587 (verilog-read-auto-template):
15588 Fix verilog-auto-inst-template-numbers with multiple templates.
15589 Reported by Brad Dobbie.
15590 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15591 abbrevs so user won't be asked to save.
15592 (verilog-read-auto-lisp-present): Fix to start at beginning of
15593 buffer in case called outside of verilog-auto.
15594 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15595 to "X-2". Reported by Matthew Myers.
15596 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15597 all inputs from module templates. Reported by Leith Johnson.
15598 (verilog-module-inside-filename-p): Fix locating programs as with
15600 (verilog-auto-inst-port): Fix vl-width expressions when using
15601 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15602 (verilog-decls-get-regs, verilog-decls-get-signals,
15603 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15604 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15605 verilog-read-decls): Combine reg and wire structures into one var
15606 structure to represent SystemVerilog concepts.
15607 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15608 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15609 (verilog-auto-wire-type, verilog-insert-definition):
15610 Add verilog-auto-wire-type and AUTOLOGIC to support using
15611 SystemVerilog "logic" keyword instead of "wire"/"reg".
15612 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15613 to declares outputs that also have assignments (presumably in an
15614 ifdef or generate if so there's not a driver conflict).
15615 Reported by Matthew Myers.
15616 (verilog-auto-declare-nettype, verilog-insert-definition):
15617 Add verilog-auto-declare-nettype to fix declarations using
15618 `default_nettype none. Reported by Julian Gorfajn.
15619 (verilog-read-always-signals-recurse, verilog-read-decls)
15620 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15621 malformed end statement, bug325. Reported by Joshua Wise and
15623 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15624 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15625 when expanding .* in interfaces, bug320.
15626 Reported by Pierre-David Pfister.
15627 (verilog-read-module-name): Fix import statements between module
15628 name and open parenthesis, bug317.
15629 Reported by Pierre-David Pfister.
15630 (verilog-simplify-range-expression): Fix simplification of
15631 multiplications inside AUTOWIRE connections, bug303.
15632 (verilog-auto-inst-port): Support parameter expansion in
15633 multidimensional arrays.
15634 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15635 after "assert property". Reported by Julian Gorfajn.
15636 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15637 with multiplication, bug303.
15638 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15639 Reported by Jan Frode Lonnum.
15641 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15643 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15644 (hfy-shell-file-name, hfy-shell):
15645 * international/fontset.el (x-decompose-font-name): Fix typos.
15647 2011-11-29 Ken Brown <kbrown@cornell.edu>
15649 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15650 (gdb-version): Remove defvar.
15651 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15652 (gdb-gud-context-command, gdb-non-stop-handler)
15653 (gdb-current-context-command, gdb-stopped): Use it.
15654 (gdb-init-1): Enable pretty printing here.
15655 (gdb-non-stop-handler): Don't enable pretty-printing here.
15656 Check to see if the target supports non-stop mode; if not, turn off
15657 non-stop mode. Use the following.
15658 (gdb-check-target-async): New defun.
15659 (gud-watch, gdb-stopped): Fix whitespace.
15660 (gdb-get-source-file): Don't try to display the source file if
15661 `gdb-main-file' is nil.
15663 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15665 * align.el: Try to generate fewer markers (bug#10047).
15666 (align--set-marker): New macro.
15667 (align-region): Use it.
15669 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15671 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15673 2011-11-29 Chong Yidong <cyd@gnu.org>
15675 * indent.el (indent-for-tab-command, indent-according-to-mode):
15677 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15679 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15681 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15682 aware of remote file names. (Bug#10124)
15684 2011-11-29 Chong Yidong <cyd@gnu.org>
15686 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15688 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15690 * files.el (find-file): Don't use force-same-window (bug#10144).
15691 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15692 use pop-to-buffer if the selected window can't be used.
15693 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15695 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15697 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15700 2011-11-28 Chong Yidong <cyd@gnu.org>
15702 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15704 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15706 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15707 gdb-get-source-file-list on gdb-create-source-file-list.
15709 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15711 * whitespace.el (whitespace-newline): Use a different foreground
15712 color for 16-color light-background displays.
15714 2011-11-24 Chong Yidong <cyd@gnu.org>
15716 * window.el (display-buffer--special-action): Doc fix.
15718 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15720 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15721 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15722 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15723 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15724 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15725 (avl-tree-stack-first):
15726 * emacs-lisp/cconv.el (cconv--analyse-use):
15727 * net/gnutls.el (gnutls-negotiate): Fix typos.
15729 2011-11-24 Glenn Morris <rgm@gnu.org>
15731 * lpr.el (lpr-windows-system, lpr-lp-system):
15732 * mail/binhex.el (binhex-begin-line):
15733 * progmodes/grep.el (grep-history, grep-find-history):
15734 * textmodes/flyspell.el:
15735 * vc/pcvs-defs.el (cvs-global-menu):
15736 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15737 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15738 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15740 * net/tls.el: Fix case of "GnuTLS".
15742 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15744 * version.el (emacs-build-system): Give it a doc-string.
15746 2011-11-24 Juri Linkov <juri@jurta.org>
15748 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15750 2011-11-24 Glenn Morris <rgm@gnu.org>
15752 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15753 if called on a non-mime message just toggle the headers. (Bug#8006)
15755 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15757 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15758 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15759 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15760 (allout-rebullet-heading, allout-open-sibtopic)
15761 (allout-toggle-current-subtree-encryption)
15762 (allout-toggle-subtree-encryption, allout-encrypt-string)
15763 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15764 (allout-distinctive-bullets-string, allout-auto-activation):
15765 * window.el (window-normalize-buffer-to-display):
15766 * progmodes/verilog-mode.el (verilog-batch-indent):
15767 * textmodes/bibtex.el (bibtex-field-braces-opt)
15768 (bibtex-field-strings-opt):
15769 * vc/cvs-status.el (cvs-tree-merge):
15772 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15774 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15775 `non-essential' to t, in order to avoid remote connections.
15777 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15779 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15780 On MS-DOS and MS-Windows, compare with loaddefs.el
15781 case-insensitively.
15783 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15785 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15787 2011-11-23 Glenn Morris <rgm@gnu.org>
15789 * paths.el (rmail-file-name): Reformat the doc-string so that it
15792 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15793 (rmail-auto-file): Ignore case in the "special" field names,
15794 as mail-fetch-field does for all others.
15796 * mail/rmail.el (rmail-forward):
15797 * mail/rmailkwd.el (rmail-set-label):
15798 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15799 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15801 * mail/rmail.el (rmail-current-message): Doc fix.
15803 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15805 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15807 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15809 2011-11-22 Glenn Morris <rgm@gnu.org>
15811 * mail/rmailmm.el (test-rmail-mime-handler)
15812 (test-rmail-mime-bulk-handler)
15813 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15815 2011-11-21 Juri Linkov <juri@jurta.org>
15817 * calc/calc.el (calc-read-key-sequence):
15818 Let-bind `input-method-function' to nil. (Bug#10018)
15820 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15822 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15823 Tell the caller that the next line needs recomputation, even
15824 though it doesn't start a sexp (bug#10094).
15826 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15828 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15830 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15833 Use force-same-window.
15835 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15837 * descr-text.el (describe-char-unicode-data):
15838 * json.el (json-string-escape):
15839 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15840 (Footnote-unicode, Footnote-style-p):
15841 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15843 2011-11-20 Chong Yidong <cyd@gnu.org>
15845 * window.el (replace-buffer-in-windows): Restore interactive spec.
15847 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15849 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15851 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15852 (byte-compile-global-not-obsolete-vars): New var.
15853 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15855 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15857 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15859 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15860 * progmodes/pascal.el (electric-pascal-equal):
15861 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15862 * xml.el (xml-substitute-special): Fix typos.
15864 2011-11-20 Glenn Morris <rgm@gnu.org>
15866 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15867 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15869 (rmail-decode-mime-charset): Mark as obsolete.
15871 * mail/rmailsum.el (rmail-message-regexp-p-1):
15872 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15873 Before using mime functions, check they are set. (Bug#10077)
15875 2011-11-19 Juri Linkov <juri@jurta.org>
15877 * info.el (Info-finder-find-node): Use `package--builtins' instead
15878 of `package-alist'. Use node names formed by the pattern "Keyword "
15879 and the keyword name.
15881 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15883 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15885 2011-11-19 Juri Linkov <juri@jurta.org>
15887 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15888 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15889 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15890 `old-history', `old-history-forward'. Add let-binding
15891 `window-selected'. Remove calls to `kill-buffer',
15892 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15893 before calling `Info-find-node', so `Info-find-node-2' will reread
15894 the Info file. Restore window positions only when `window-selected'
15897 2011-11-19 Juri Linkov <juri@jurta.org>
15899 * isearch.el (isearch-lazy-highlight-new-loop):
15900 Remove condition `(not isearch-error)'. (Bug#9918)
15902 * misearch.el (multi-isearch-search-fun): Add condition
15903 `(not bound)' to ignore lazy-highlighting search.
15904 Add the search-failed message "end of multi" when the end of
15905 multi-sequence is reached. Uncapitalize the search-failed
15906 message "Repeat for next buffer".
15908 * info.el (Info-search): Add the search-failed message
15909 "end of the manual" when the end of the manual is reached
15912 2011-11-19 Juri Linkov <juri@jurta.org>
15914 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15915 Use non-destructive `remove' instead of `delete' because
15916 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15917 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15919 2011-11-19 Juri Linkov <juri@jurta.org>
15921 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15922 to nil instead of binding `search-ring' and `regexp-search-ring'.
15925 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15927 * simple.el (line-move): Force movement by logical lines for any
15928 hscrolled window, not only when auto-hscroll-mode is on.
15929 (line-move-visual): Update doc string to that effect. (Bug#10076)
15931 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15933 * language/european.el (macintosh): Define as alias for mac-roman.
15935 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15937 * mail/rmailmm.el (rmail-mime-display-header)
15938 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15939 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15940 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15941 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15942 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15944 (rmail-mime-entity-segment): To get past the tagline, move forward
15945 2 more lines, to account for the 2 empty lines that precede and
15946 follow the line with the buttons.
15947 (rmail-mime-update-tagline): Move one more line, to get past the
15948 empty line that follows the buttons in the tagline. (Bug#9520)
15950 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15952 * window.el (window-max-delta-1, window-min-delta-1)
15953 (window-min-size-1, window-state-get-1, window-state-put-1)
15954 (window-state-put-2): Use "window--" prefix.
15956 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15958 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15959 (smie-warning-count): New var.
15960 (smie-set-prec2tab): Use it.
15961 (smie-bnf->prec2): Improve warnings. Add docstring.
15962 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15963 (smie-bnf--set-class): New function.
15964 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15967 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15968 (compilation-error-properties, compilation-move-to-column):
15969 Handle compilation-first-column while in the target buffer.
15971 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15972 Don't hardcode point-min==1.
15974 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15975 (eshell-rewrite-for-command): Remove workaround.
15976 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15977 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15978 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15980 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15982 2011-11-17 Glenn Morris <rgm@gnu.org>
15984 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15985 Ignore buffer-local generated-autoload-file if it is the same
15986 as the global value. (Bug#10049)
15988 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15990 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15991 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15992 (reftex-toc-previous-heading, reftex-toc-max-level)
15993 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15994 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15995 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15996 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15997 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15998 (reftex-toc-rename-label, reftex-toc-visit-location)
15999 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16000 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16001 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16002 leaving "*toc*" only for references to the buffer.
16004 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16006 * window.el (window-resize, delete-window, split-window):
16007 Replace window-splits by window-combination-resize.
16008 * cus-start.el (window-splits): Replace by window-combination-resize.
16010 2011-11-17 Glenn Morris <rgm@gnu.org>
16012 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16013 Make bash entry derive from sh entry, not shell entry.
16015 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16017 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16020 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16022 * menu-bar.el (menu-bar-file-menu):
16023 * printing.el (pr-ps-utility):
16024 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16025 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16026 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16027 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16028 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16029 (icalendar--convert-cyclic-to-ical)
16030 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16031 (icalendar--convert-ical-to-diary)
16032 (icalendar--convert-recurring-to-diary)
16033 (icalendar--convert-non-recurring-all-day-to-diary)
16034 (icalendar-import-format-sample):
16035 * progmodes/idlw-shell.el (idlwave-shell-mode):
16036 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16037 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16038 (vhdl-ps-print-init): Fix typos.
16040 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16042 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16043 FSF and collapse date sequence, obscure author/maintainer email address
16044 better, remove extra version line, track relocation of author's webpage.
16046 * progmodes/python.el (python-pdbtrack-input-prompt)
16047 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16048 regular python pdb prompts. Adjustments shamelessly taken exactly as
16049 suggested in EmacsWiki page (tiny change):
16050 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16052 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16054 * expand.el (expand-pos, expand-index, expand-point):
16055 Remove redundant info from docstring.
16056 (expand-add-abbrevs): Doc fix.
16057 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16058 (expand-sample-perl-mode-expand-list): Fix typos.
16060 * net/dbus.el (dbus-event-member-name):
16061 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16062 * term/pc-win.el (msdos-create-frame-with-faces):
16063 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16065 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16067 * window.el (split-window, window-state-get-1)
16068 (window-state-put-1, window-state-put-2): Rename occurrences of
16069 window-nest to window-combination-limit.
16070 * cus-start.el (window-nest): Rename to window-combination-limit.
16072 2011-11-16 Chong Yidong <cyd@gnu.org>
16074 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16075 regexp (Bug#10033).
16077 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16079 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16080 `completing-read' will remove *Completions* and will preserve
16081 current-buffer for us.
16082 (tmm-add-prompt): Users of *Completions* will always (re)set its
16084 (tmm-old-comp-map): Remove.
16086 2011-11-16 Glenn Morris <rgm@gnu.org>
16088 * mail/rmailedit.el: Require rmailmm when compiling.
16089 (rmail-old-mime-state): New declaration.
16090 (rmail-edit-current-message): If editing a mime message,
16091 edit the "raw" message from the mbox buffer.
16092 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16094 2011-11-15 Glenn Morris <rgm@gnu.org>
16096 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16097 which wasn't being used. Add optional arg to force given state.
16098 (rmail-mime): Add optional arg to force given state.
16100 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16102 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16103 * frame.el (display-mm-dimensions-alist):
16104 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16105 (outline-move-subtree-down):
16106 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16107 (newsticker--treeview-do-get-node):
16108 * net/quickurl.el (quickurl-list-buffer-name):
16109 * progmodes/dcl-mode.el (dcl-mode):
16110 * progmodes/gdb-mi.el (gdb-mapcar*):
16111 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16113 2011-11-15 Glenn Morris <rgm@gnu.org>
16115 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16116 in a boolean sense, so just make it a boolean, and fix the doc.
16117 (rmail-show-mime-function, rmail-mime-feature)
16118 (rmail-require-mime-maybe): Doc fixes.
16119 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16121 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16123 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16125 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16126 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16127 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16128 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16130 2011-11-15 Glenn Morris <rgm@gnu.org>
16132 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16133 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16134 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16135 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16136 (rmail-mime, rmail-show-mime): Doc fixes.
16138 * term/ns-win.el (mode-line-frame-identification):
16139 Leave it alone. (Bug#10051)
16141 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16143 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16144 Handle empty buffers. (Bug#9978)
16146 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16148 * international/mule.el (define-charset):
16149 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16150 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16151 * progmodes/verilog-mode.el (verilog-backward-token):
16152 * textmodes/ispell.el (lookup-words):
16153 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16155 2011-11-14 Glenn Morris <rgm@gnu.org>
16157 * progmodes/executable.el
16158 (executable-make-buffer-file-executable-if-script-p):
16159 Handle file-modes returning nil.
16161 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16162 message - not necessary, and causes problems. (Bug#9831)
16164 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16166 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16168 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16169 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16170 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16172 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16174 * window.el (window-resize, delete-window): Use window-splits
16175 variable instead of function.
16176 (window-state-get-1, window-state-put-2, window-state-put):
16177 Don't deal with windows' splits status.
16179 2011-11-12 Glenn Morris <rgm@gnu.org>
16181 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16182 (apropos-documentation): Doc fixes.
16184 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16186 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16187 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16189 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16191 * electric.el (electric-indent-post-self-insert-function): Make it
16192 possible for a char to only indent in some circumstances.
16193 (electric-indent-mode): Simplify.
16195 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16197 * window.el (windows-with-parameter): Remove unused function.
16198 (windows-at-side): Rename to window-at-side-list.
16199 (window-check, window-atom-check, window-atom-check-1)
16200 (window-side-check, window-size-ignore, window-size-fixed-1)
16201 (window-in-direction-2): Prefix with "window--".
16202 (window-tree-1): Rename to window--subtree, fix doc-string.
16204 2011-11-11 Glenn Morris <rgm@gnu.org>
16206 * subr.el (eval-after-load): If FILE is already loaded,
16207 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16209 2011-11-10 Glenn Morris <rgm@gnu.org>
16211 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16212 Call svn via vc-svn-command rather than vc-do-command.
16213 (vc-svn-command): Add --non-interactive. (Bug#9993)
16214 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16216 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16217 Add toggle-read-only. (Bug#7292)
16218 * files.el (toggle-read-only): Mention that it should only
16219 be used interactively. (Bug#10006)
16221 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16224 Adjust regexp for OCaml warnings.
16226 * electric.el (electric-pair-post-self-insert-function): Let user
16227 turn it off buffer-locally (bug#9932).
16229 * progmodes/python.el (python-beginning-of-statement):
16230 Rewrite (bug#2703).
16232 * progmodes/compile.el: Better handle TABs (bug#9749).
16233 (compilation-internal-error-properties)
16234 (compilation-next-error-function): Obey the target buffer's
16235 compilation-error-screen-columns.
16237 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16239 * progmodes/meta-mode.el: Remove obsolete comments.
16240 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16241 Fix typos in docstrings.
16243 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16245 * window.el (window-size-fixed-p): Rewrite doc-string.
16246 (window-resizable-p): Rename to window--resizable-p. Update callers.
16247 (window--resizable): New function. Make all callers of
16248 window-resizable call window--resizable instead.
16249 (window-resizable): Rewrite in terms of window--resizable.
16251 2011-11-08 Glenn Morris <rgm@gnu.org>
16253 * progmodes/delphi.el (delphi-mode-syntax-table):
16254 Let define-derived-mode define a proper syntax table. (Bug#9994)
16256 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16258 * window.el: Stay away from defsubst.
16259 (window-list-no-nils): Remove.
16260 (window-state-get-1, window-state-get): Use backquote instead.
16262 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16264 * emacs-lisp/find-func.el (find-function-read):
16265 Fix incorrect use of default argument in `completing-read'.
16267 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16269 * window.el (display-buffer-function, special-display-function):
16270 Mention display-buffer-record-window but do not mention
16271 help-setup parameter in doc-strings.
16272 (window-min-delta): Fix doc-string typo.
16274 2011-11-08 Chong Yidong <cyd@gnu.org>
16276 * window.el (window-total-height, window-total-width): Doc fix.
16277 (window-body-size): Move from C.
16278 (window-body-height, window-body-width): Move to C.
16280 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16282 * window.el: Make special-display like display-buffer-alist (bug#9532).
16283 (display-buffer--special-action): New function, morphed
16284 from display-buffer--special.
16285 (display-buffer): Use it to handle special-display-buffers at higher
16286 priority (just after display-buffer-alist).
16287 (display-buffer-fallback-action, display-buffer--other-frame-action)
16288 (pop-to-buffer-same-window): Remove display-buffer--special.
16290 2011-11-07 Glenn Morris <rgm@gnu.org>
16292 * calendar/cal-menu.el (cal-menu-set-date-title):
16293 Do nothing if not in a calendar. (Bug#9976)
16295 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16297 * files.el (find-file): Always use selected-window.
16299 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16301 * window.el (window-combinations): Make WINDOW argument
16302 mandatory. Rewrite doc-string.
16303 (walk-window-subtree, window-atom-check, window-min-delta)
16304 (window-max-delta, window--resize-this-window)
16305 (window--resize-root-window-vertically, window-tree)
16306 (balance-windows, window-state-put): Rewrite doc-strings as to
16307 not mention the term "subwindow".
16308 (window--resize-subwindows-skip-p): Rename to
16309 window--resize-child-windows-skip-p.
16310 (window--resize-subwindows-normal): Rename to
16311 window--resize-child-windows-normal.
16312 (window--resize-subwindows): Rename to
16313 window--resize-child-windows.
16314 (window-or-subwindow-p): Rename to window--in-subtree-p.
16316 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16318 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16319 Ensure that mbox format messages end in two newlines (Bug#9974).
16321 2011-11-06 Chong Yidong <cyd@gnu.org>
16323 * window.el (window-combination-p): Function deleted; its
16324 side-effect is not used in any existing code.
16325 (window-combinations, window-combined-p): Call window-*-child
16328 2011-11-05 Chong Yidong <cyd@gnu.org>
16330 * window.el (window-valid-p): Rename from window-any-p.
16331 (window-size-ignore, window-state-get): Callers changed.
16332 (window-normalize-window): Rename from window-normalize-any-window.
16333 New arg LIVE-ONLY, replacing window-normalize-live-window.
16334 (window-normalize-live-window): Delete.
16335 (window-combination-p, window-combined-p, window-combinations)
16336 (walk-window-subtree, window-atom-root, window-min-size)
16337 (window-sizable, window-sizable-p, window-size-fixed-p)
16338 (window-min-delta, window-max-delta, window-resizable)
16339 (window-resizable-p, window-full-height-p, window-full-width-p)
16340 (window-current-scroll-bars, window-point-1, set-window-point-1)
16341 (window-at-side-p, window-in-direction, window-resize)
16342 (adjust-window-trailing-edge, maximize-window, minimize-window)
16343 (window-deletable-p, delete-window, delete-other-windows)
16344 (record-window-buffer, unrecord-window-buffer)
16345 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16346 (quit-window, split-window, window-state-put)
16347 (set-window-text-height, fit-window-to-buffer)
16348 (shrink-window-if-larger-than-buffer): Callers changed.
16350 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16352 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16353 rfc2047-decode-string.
16354 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16357 * window.el (window-body-height, window-body-width): Mention in
16358 the doc string that the return values are in frame's canonical
16361 2011-11-03 Alan Mackenzie <acm@muc.de>
16363 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16364 change in cc-engine.el.
16366 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16368 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16370 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16372 * window.el (quit-window): Call unrecord-window-buffer after
16373 showing another buffer in the window. (Bug#9937)
16374 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16376 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16378 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16379 Accept status with more than 9 shelves. (Bug#9935)
16380 Reported by Colin D Bennett <colin@gibibit.com>.
16382 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16384 * help.el (with-help-window): Don't reference
16385 temp-buffer-show-specifiers in doc-string.
16387 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16389 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16392 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16394 * whitespace.el: New version 13.2.2.
16395 (whitespace-newline-mode): Disable properly. Reported by Sarah
16398 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16400 * net/newst-treeview.el: Remove "Time-stamp".
16401 (newsticker--group-manage-orphan-feeds): Do not call
16402 newsticker--treeview-tree-update.
16403 (newsticker-treeview-update, newsticker-treeview):
16404 Call newsticker--treeview-tree-update if necessary.
16406 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16408 * window.el (window-iso-combination-p, window-iso-combined-p)
16409 (window-iso-combinations): Remove "iso-" infix.
16410 Suggested by Chong Yidong.
16411 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16412 (window-max-delta-1, window-resize, window--resize-siblings)
16413 (window--resize-this-window, adjust-window-trailing-edge)
16414 (split-window, balance-windows-1)
16415 (shrink-window-if-larger-than-buffer):
16416 * calendar/calendar.el (calendar-generate-window):
16417 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16419 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16421 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16422 in place (bug#9907).
16423 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16424 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16425 (eshell-structure-basic-command, eshell-rewrite-while-command)
16426 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16427 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16428 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16429 (eshell-do-pipelines-synchronously, eshell-eval-command):
16430 Use backquotes and prefer setq to set.
16431 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16432 (eshell-macrop): Use functionp.
16433 (eshell-do-eval): Handle multiple expressions in `while' body.
16435 2011-10-30 Chong Yidong <cyd@gnu.org>
16437 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16438 instead of set-mark (Bug#9810).
16440 2011-10-30 Chong Yidong <cyd@gnu.org>
16442 * window.el (split-window-below, split-window-right): Rename from
16443 split-window-above-each-other and split-window-side-by-side
16444 respectively. All callers changed.
16445 (split-window-sensibly, split-window-sensibly): Use them.
16446 (split-window-keep-point): Doc fix.
16448 * isearch.el: Add isearch-scroll property to split-window-below
16449 and split-window-right.
16451 * follow.el (follow-mode):
16452 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16453 * progmodes/ada-xref.el (ada-gdb-application):
16454 * emulation/vip.el (vip-buffer-in-two-windows):
16455 * image-dired.el (image-dired-dired-with-window-configuration):
16456 * dired-x.el (dired-do-find-marked-files):
16457 * dired.el (dired-pop-to-buffer):
16458 * bs.el (bs--show-with-configuration):
16459 * vc/emerge.el (emerge-setup-windows):
16460 * textmodes/two-column.el (2C-two-columns):
16461 * textmodes/reftex-toc.el (reftex-toc):
16462 * progmodes/gdb-mi.el (gdb-setup-windows):
16463 * progmodes/fortran.el (fortran-window-create):
16464 * net/newst-treeview.el (newsticker--treeview-window-init):
16465 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16466 * emulation/tpu-edt.el (tpu-gold-map):
16467 * emulation/crisp.el (crisp-mode-map):
16468 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16470 2011-10-29 Chong Yidong <cyd@gnu.org>
16472 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16474 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16476 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16477 forged Ispell output (Bug#7904).
16479 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16481 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16483 * doc-view.el: Avoid ugly errors about not finding nil.
16484 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16485 (doc-view-dvipdf-program, doc-view-unoconv-program)
16486 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16487 Avoid nil or absolute file name as default value.
16488 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16490 2011-10-28 Alan Mackenzie <acm@muc.de>
16492 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16494 2011-10-28 Alan Mackenzie <acm@muc.de>
16496 Amend the handling of c-beginning/end-of-defun in nested declaration
16499 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16500 cc-langs.el. Change it to a defcustom.
16502 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16505 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16506 Prevent "class foo : bar" being spuriously recognized as a label.
16508 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16509 Add parameter `inclusive' (to include enclosing braces in the region).
16510 (c-widen-to-enclosing-decl-scope): New function.
16511 (c-while-widening-to-decl-block): New macro.
16512 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16513 outward for defun boundaries, and correspondingly change symbol
16514 `respect-enclosure' to `go-outward'.
16515 (c-declaration-limits): Change algorithm to report only the "innermost"
16516 defun's boundaries.
16518 2011-10-28 Deniz Dogan <deniz@dogan.se>
16520 * net/rcirc.el (rcirc-mode): Use hard newlines.
16522 2011-10-28 Alan Mackenzie <acm@muc.de>
16524 Amend to indent and fontify macros "which include their own semicolon"
16525 correctly, using the "virtual semicolon" mechanism.
16527 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16529 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16530 Recode to scan one line at a time rather than having \n and \r
16531 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16532 (c-forward-label): Amend for virtual semicolons.
16533 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16535 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16536 of the new C macros.
16538 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16539 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16540 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16541 (c-opt-cpp-macro-define): Make into a full language variable.
16542 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16543 AWK Mode (including \n, \r) removed, no longer needed.
16545 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16546 Invoke c-make-macro-with-semi-re.
16548 * progmodes/cc-vars.el (c-macro-with-semi-re):
16549 (c-macro-names-with-semicolon): New variables.
16550 (c-make-macro-with-semi-re): New function.
16552 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16554 * vc/log-edit.el: Fill empty field rather than adding new one.
16555 (log-edit-add-field): New function.
16556 (log-edit-insert-changelog): Use it.
16558 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16560 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16562 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16564 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16565 (gdb--check-interpreter): New function.
16568 2011-10-27 Glenn Morris <rgm@gnu.org>
16570 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16571 (least-positive-float, least-negative-float)
16572 (least-positive-normalized-float, least-negative-normalized-float)
16573 (float-epsilon, float-negative-epsilon):
16574 Remove unnecessary declarations.
16576 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16577 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16578 (least-positive-float, least-negative-float)
16579 (least-positive-normalized-float, least-negative-normalized-float)
16580 (float-epsilon, float-negative-epsilon): Add doc-strings,
16581 based on those in cl.texi.
16583 * files.el (set-visited-file-name): If the major-mode changed,
16584 reload the local variables. (Bug#9796)
16586 2011-10-27 Chong Yidong <cyd@gnu.org>
16588 * subr.el (change-major-mode-after-body-hook): New hook.
16589 (run-mode-hooks): Run it.
16591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16592 Use change-major-mode-before-body-hook.
16594 * simple.el (fundamental-mode):
16595 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16596 change introducing fundamental-mode-hook.
16598 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16600 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16602 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16604 * ido.el (ido-file-name-all-completions-1): Do not require
16605 tramp.el explicitly. (Bug#7583)
16607 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16609 * progmodes/octave-mod.el:
16610 * progmodes/octave-inf.el: Update maintainer.
16612 2011-10-26 Chong Yidong <cyd@gnu.org>
16614 * subr.el (with-wrapper-hook): Rewrite doc.
16616 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16618 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16619 filenames "/method:foo:". (Bug#9793)
16621 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16623 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16626 2011-10-24 Glenn Morris <rgm@gnu.org>
16628 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16630 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16632 * notifications.el: Add the requirement of a running D-Bus session
16633 bus to the Commentary.
16635 2011-10-24 Juri Linkov <juri@jurta.org>
16637 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16638 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16641 2011-10-24 Juri Linkov <juri@jurta.org>
16643 * info.el (Info-following-node-name-re): Add newline to the list
16644 of allowed characters for leading space. (Bug#9824)
16646 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16648 * progmodes/octave-inf.el (inferior-octave-mode-map):
16649 Fix C-c C-h binding.
16650 * progmodes/octave-mod.el (octave-help): Remove.
16652 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16654 Sync with Tramp 2.2.3.
16656 * net/tramp-cache.el (top): Pacify byte-compiler using
16657 `init-file-user' and `site-run-file'.
16659 * net/trampver.el: Update release number.
16661 2011-10-23 Chong Yidong <cyd@gnu.org>
16663 * files.el (toggle-read-only): Remove obsolete comment about
16666 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16667 for toggle-read-only. Note that this hasn't called vc-next-action
16668 since 2008-05-02, though it wasn't documented at the time.
16670 * vc/ediff-init.el (ediff-toggle-read-only-function):
16671 Use toggle-read-only.
16673 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16675 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16678 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16679 correct faulty logical expression.
16680 (c-parse-state-state, c-record-parse-state-state):
16681 (c-replay-parse-state-state): New defvar/defuns.
16682 (c-debug-parse-state): Use new functions.
16684 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16686 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16687 last fix. Use window-in-direction correctly.
16689 2011-10-21 Chong Yidong <cyd@gnu.org>
16691 * progmodes/idlwave.el (idlwave-mode):
16692 * progmodes/vera-mode.el (vera-mode): No need to set
16693 require-final-newline; that's done in prog-mode.
16694 Suggested by Stefan Monnier.
16696 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16698 * mouse.el (mouse-drag-window-above)
16699 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16700 (mouse-drag-mode-line-1, mouse-drag-header-line)
16701 (mouse-drag-vertical-line-rightward-window): Remove.
16702 (mouse-drag-line): New function.
16703 (mouse-drag-mode-line, mouse-drag-header-line)
16704 (mouse-drag-vertical-line): Call mouse-drag-line.
16705 * window.el (window-at-side-p, windows-at-side): New functions.
16707 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16709 * tar-mode.el (tar-grind-file-mode):
16710 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16712 2011-10-21 Chong Yidong <cyd@gnu.org>
16714 * progmodes/idlwave.el (idlwave-mode):
16715 * progmodes/vera-mode.el (vera-mode):
16716 Use mode-require-final-newline.
16718 2011-10-20 Glenn Morris <rgm@gnu.org>
16720 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16722 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16724 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16726 2011-10-20 Chong Yidong <cyd@gnu.org>
16728 * emulation/cua-base.el (cua-mode):
16729 * mail/footnote.el (footnote-mode):
16730 * mail/mailabbrev.el (mail-abbrevs-mode):
16731 * net/xesam.el (xesam-minor-mode):
16732 * progmodes/bug-reference.el (bug-reference-mode):
16733 * progmodes/cap-words.el (capitalized-words-mode):
16734 * progmodes/compile.el (compilation-minor-mode)
16735 (compilation-shell-minor-mode):
16736 * progmodes/gud.el (gud-tooltip-mode):
16737 * progmodes/hideif.el (hide-ifdef-mode):
16738 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16739 * progmodes/subword.el (subword-mode):
16740 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16741 * progmodes/which-func.el (which-function-mode):
16742 * term/tvi970.el (tvi970-set-keypad-mode):
16743 * term/vt100.el (vt100-wide-mode):
16744 * textmodes/flyspell.el (flyspell-mode):
16745 * textmodes/ispell.el (ispell-minor-mode):
16746 * textmodes/nroff-mode.el (nroff-electric-mode):
16747 * textmodes/paragraphs.el (use-hard-newlines):
16748 * textmodes/refill.el (refill-mode):
16749 * textmodes/reftex.el (reftex-mode):
16750 * textmodes/rst.el (rst-minor-mode):
16751 * textmodes/sgml-mode.el (html-autoview-mode)
16752 (sgml-electric-tag-pair-mode):
16753 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16754 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16755 * emulation/crisp.el (crisp-mode):
16756 * emacs-lisp/eldoc.el (eldoc-mode):
16757 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16758 minor mode behavior.
16760 2011-10-19 Juri Linkov <juri@jurta.org>
16762 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16763 the list of hard-coded chars with escape-glyph face.
16765 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16767 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16769 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16771 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16774 2011-10-19 Glenn Morris <rgm@gnu.org>
16776 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16777 Ignore ignored files. (Bug#9726)
16779 2011-10-19 Chong Yidong <cyd@gnu.org>
16781 Doc fix for minor modes, stating that an omitted argument enables
16782 the mode unconditionally when called from Lisp.
16784 * abbrev.el (abbrev-mode):
16785 * allout.el (allout-mode):
16786 * autoinsert.el (auto-insert-mode):
16787 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16788 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16789 (global-auto-revert-mode):
16790 * battery.el (display-battery-mode):
16791 * composite.el (global-auto-composition-mode)
16792 (auto-composition-mode):
16793 * delsel.el (delete-selection-mode):
16794 * desktop.el (desktop-save-mode):
16795 * dired-x.el (dired-omit-mode):
16796 * dirtrack.el (dirtrack-mode):
16797 * doc-view.el (doc-view-minor-mode):
16798 * double.el (double-mode):
16799 * electric.el (electric-indent-mode, electric-pair-mode):
16800 * emacs-lock.el (emacs-lock-mode):
16801 * epa-hook.el (auto-encryption-mode):
16802 * follow.el (follow-mode):
16803 * font-core.el (font-lock-mode):
16804 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16805 * help.el (temp-buffer-resize-mode):
16806 * hilit-chg.el (highlight-changes-mode)
16807 (highlight-changes-visible-mode):
16808 * hi-lock.el (hi-lock-mode):
16809 * hl-line.el (hl-line-mode, global-hl-line-mode):
16810 * icomplete.el (icomplete-mode):
16811 * ido.el (ido-everywhere):
16812 * image-file.el (auto-image-file-mode):
16813 * image-mode.el (image-minor-mode):
16814 * iswitchb.el (iswitchb-mode):
16815 * jka-cmpr-hook.el (auto-compression-mode):
16816 * linum.el (linum-mode):
16817 * longlines.el (longlines-mode):
16818 * master.el (master-mode):
16819 * mb-depth.el (minibuffer-depth-indicate-mode):
16820 * menu-bar.el (menu-bar-mode):
16821 * minibuf-eldef.el (minibuffer-electric-default-mode):
16822 * mouse-sel.el (mouse-sel-mode):
16823 * msb.el (msb-mode):
16824 * mwheel.el (mouse-wheel-mode):
16825 * outline.el (outline-minor-mode):
16826 * paren.el (show-paren-mode):
16827 * recentf.el (recentf-mode):
16828 * reveal.el (reveal-mode, global-reveal-mode):
16829 * rfn-eshadow.el (file-name-shadow-mode):
16830 * ruler-mode.el (ruler-mode):
16831 * savehist.el (savehist-mode):
16832 * scroll-all.el (scroll-all-mode):
16833 * scroll-bar.el (scroll-bar-mode):
16834 * server.el (server-mode):
16835 * shell.el (shell-dirtrack-mode):
16836 * simple.el (auto-fill-mode, transient-mark-mode)
16837 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16838 (line-number-mode, column-number-mode, size-indication-mode)
16839 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16840 * strokes.el (strokes-mode):
16841 * time.el (display-time-mode):
16842 * t-mouse.el (gpm-mouse-mode):
16843 * tool-bar.el (tool-bar-mode):
16844 * tooltip.el (tooltip-mode):
16845 * type-break.el (type-break-mode-line-message-mode)
16846 (type-break-query-mode):
16847 * view.el (view-mode):
16848 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16849 (global-whitespace-mode, global-whitespace-newline-mode):
16850 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16852 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16853 Fix autogenerated docstring.
16855 2011-10-19 Juri Linkov <juri@jurta.org>
16857 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16858 by checking environment variables "DESKTOP_SESSION" and
16859 "XDG_CURRENT_DESKTOP". (Bug#9779)
16861 2011-10-19 Juri Linkov <juri@jurta.org>
16863 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16864 (browse-url-chromium-program, browse-url-chromium-arguments):
16866 (browse-url-default-browser): Check for `browse-url-chromium' and
16867 call `browse-url-chromium-program'.
16868 (browse-url-chromium): New command. (Bug#9779)
16870 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16872 * facemenu.el (list-colors-duplicates): On Windows, detect more
16873 duplicates by assuming that only colors matching "^System" are
16874 special "system colors". (Bug#9722)
16876 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16878 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16879 to distinguish the author from the committer.
16881 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16883 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16885 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16887 * international/mule.el (sgml-html-meta-auto-coding-function):
16888 Add support for detecting encoding in HTML5 specified only as
16889 <meta charset="UTF-8">. Implementation just makes http-equiv and
16890 content-type parts from HTML4 encoding string optional. (Bug#9716)
16892 2011-10-18 Glenn Morris <rgm@gnu.org>
16894 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16896 2011-10-18 Chong Yidong <cyd@gnu.org>
16898 * faces.el (cursor): Doc fix.
16900 2011-10-17 Chong Yidong <cyd@gnu.org>
16902 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16904 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16906 * dirtrack.el (dirtrack): Support shell buffers with path
16907 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16909 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16911 * json.el: Bump version to 1.3 and note change in History.
16912 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16914 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16916 * comint.el (comint-insert-input, comint-send-input)
16917 (comint-get-old-input-default, comint-backward-matching-input)
16918 (comint-next-prompt): Use nil instead of `input' for field property of
16919 past user input (bug#114).
16921 * minibuffer.el (completion--replace): Inherit surrounding properties
16923 (minibuffer-complete-and-exit): Use it.
16925 * comint.el (comint--table-subvert): Quote the all-completions output
16928 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16930 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16932 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16933 window on right of selected. (Bug#9350) Reword other window
16934 entries and separate them from frame entries.
16936 2011-10-15 Glenn Morris <rgm@gnu.org>
16938 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16941 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16943 * net/network-stream.el (network-stream-open-starttls):
16944 Improve detection of failure due to lack of TLS support.
16946 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16947 putting the input text in front and in bold.
16949 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16951 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16953 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16956 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16957 unread-command-events rather than pushing yet-another event.
16959 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16961 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16962 the explanation of the possible choices. Make the options passed
16963 to completing-read shorter.
16965 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16967 * textmodes/flyspell.el (flyspell-large-region): Make sure
16968 extended character mode is used if defined (Bug#1339).
16970 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16972 * simple.el (what-cursor-position): Fix the display of the
16973 character info for LRE, LRO, RLE, and RLO characters by appending
16976 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16978 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16979 even in case of error; add debug spec; simplify data flow.
16980 (with-timeout-handler): Remove.
16982 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16984 Fix Bug#6019, Bug#9315.
16986 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16987 complete `buffer-file-name', the local file name part could look
16988 remotely (for example on VMS).
16990 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16991 `tramp-run-real-handler'.
16992 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16993 already quoted by '"'.
16995 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16996 Let `file-name-handler-alist' be nil, the local file name part
16997 could look remotely (for example on VMS).
16999 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17001 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17003 (flyspell-post-command-hook): ...to here.
17005 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17007 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17009 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17010 using completion. Protect against "slow" callers.
17011 Remove the "message hack".
17013 2011-10-11 Juri Linkov <juri@jurta.org>
17015 * isearch.el (isearch-lazy-highlight-word): New variable.
17016 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17019 2011-10-11 Glenn Morris <rgm@gnu.org>
17021 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17022 like f90-previous-statement does.
17024 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17026 * eshell/eshell.el (eshell-command): History should be saved
17027 only in interactive use, to avoid error.
17029 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17031 * minibuffer.el (completion-file-name-table): Fix last change,
17032 i.e. ignore normal errors but not the other ones.
17034 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17036 * window.el (special-display-buffer-names)
17037 (special-display-regexps): Remove some remnants of earlier
17038 changes from doc-strings.
17039 (quit-windows-on): New function.
17041 * vc/vc.el (vc-revert, vc-rollback):
17042 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17043 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17044 (Bug#6183) (Bug#7074) (Bug#7447)
17046 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17048 * window.el (frame-auto-hide-function): Add version tag.
17051 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17053 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17056 2011-10-09 Leo Liu <sdl.web@gmail.com>
17058 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17061 2011-10-08 Glenn Morris <rgm@gnu.org>
17063 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17064 before the first code statement zero indent. (Bug#9690)
17066 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17068 * simple.el (count-words-region): Always count in the region.
17069 Report the number of lines and characters too.
17070 (count-words): New command, which counts in the buffer if the
17071 region is inactive, as count-words-region used to.
17072 (count-words--message): New function. Handle plurals.
17073 (count-lines-region): Make it an alias for count-words-region.
17075 * bindings.el (esc-map): Replace count-lines-region with
17076 count-words-region.
17078 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17080 * window.el (window--delete): Delete dedicated frame
17081 unconditionally when argument KILL is non-nil. (Bug#9699)
17082 (switch-to-buffer): Fix doc-string typo.
17084 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17086 * eshell/eshell.el (eshell-command): Avoid using hooks.
17088 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17090 * bindings.el ([M-left],[M-right]): Bind to left-word and
17091 right-word respectively.
17093 2011-10-07 Glenn Morris <rgm@gnu.org>
17095 * cus-start.el (debug-on-quit): Fix custom type.
17097 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17099 * subr.el (define-key-after): Clarify that the function is not
17100 useful for non-menu keymaps.
17102 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17104 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17106 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17107 in current minibuffer (Fix bug with recursive minibuffers).
17109 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17111 * progmodes/gdb-mi.el (gdb): Doc fix.
17113 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17115 * window.el (frame-auto-hide-function): New option replacing
17116 frame-auto-delete. Suggested by Stefan Monnier.
17117 (window--delete): Call frame-auto-hide-function instead of
17118 investigating frame-auto-delete.
17119 (window-point-1, set-window-point-1): New functions.
17120 (window-in-direction, record-window-buffer, window-state-get-1)
17121 (display-buffer-record-window): Use window-point-1 instead of
17123 (set-window-buffer-start-and-point): Use set-window-point-1.
17125 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17127 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17129 2011-10-05 Glenn Morris <rgm@gnu.org>
17131 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17132 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17134 2011-10-05 Leo Liu <sdl.web@gmail.com>
17136 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17137 works with buffer object.
17139 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17141 * mpc.el (mpc-tool-bar-map): Add labels.
17143 2011-10-04 Glenn Morris <rgm@gnu.org>
17145 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17147 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17149 * window.el (window--delete): New function.
17150 (frame-auto-delete): Resuscitate option.
17151 (bury-buffer, replace-buffer-in-windows)
17152 (quit-window): Rewrite using window--delete.
17153 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17154 Pass display-buffer-mark-dedicated to window--display-buffer-2
17157 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17159 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17160 returns a list (bug#9554). Add remote file name completion.
17161 * comint.el (comint--table-subvert): Curry and get quote&unquote
17162 functions as arguments.
17163 (comint--complete-file-name-data): Adjust call accordingly.
17164 * pcomplete.el (pcomplete--table-subvert): Remove.
17165 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17167 * minibuffer.el (completion-table-case-fold): Use currying.
17168 (completion--styles-type, completion--cycling-threshold-type):
17170 (completion-styles, completion-category-overrides)
17171 (completion-cycle-threshold): Use them.
17172 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17173 completion-table-case-fold.
17175 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17177 * minibuffer.el (completion-category-overrides): Fix type of styles
17178 and add more user friendly tags (bug#9660).
17180 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17182 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17183 (mule-input-method-string): New widget.
17184 (default-input-method, language-info-custom-alist): Use it.
17186 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17188 * pcomplete.el: Require comint.
17189 (pcomplete--common-suffix): Remove.
17190 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17191 (pcomplete--table-subvert): Sync with comint--table-subvert.
17192 (pcomplete--entries): Use comint-completion-file-name-table.
17193 * comint.el (comint-unquote-filename): Simplify.
17194 (comint-completion-file-name-table): New function (bug#9616).
17195 (comint--complete-file-name-data): Use it.
17197 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17198 (pcmpl-gnu-tar-buffer): Remove.
17199 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17200 around. Make sure pcomplete-suffix-list is only changed temporarily.
17201 Don't look inside the tar's file if it's too large.
17203 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17205 * cus-edit.el (custom-mode-map):
17206 * epa.el (epa-key-list-mode-map):
17207 * man.el (Man-mode-map):
17208 * startup.el (splash-screen-keymap):
17209 * simple.el (special-mode-map): Use scroll-up-command and
17210 scroll-down-command.
17212 * progmodes/idlw-help.el (idlwave-help-mode-map):
17213 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17214 * net/newst-plainview.el (newsticker-mode-map):
17215 * emulation/ws-mode.el (wordstar-mode-map):
17216 * emulation/vi.el (vi-com-map):
17217 * calc/calc-graph.el (calc-graph-show-dumb):
17218 * term/sun.el (terminal-init-sun):
17219 * term/ns-win.el (global-map):
17220 * progmodes/grep.el (grep-mode-map):
17221 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17222 * mail/rmail.el (rmail-mode-map):
17223 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17225 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17226 custom-safe-themes as special.
17228 2011-10-01 Julien Danjou <julien@danjou.info>
17230 * notifications.el (notifications-notify): Fix docstring.
17232 2011-10-01 Per Starbäck <per@starback.se>
17234 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17236 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17238 * startup.el (command-line-1): Fix last fix by inserting
17239 initial-scratch-message into *scratch* before displaying it.
17240 (Bug#9605) and (Bug#9636)
17242 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17244 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17245 window is hscrolled, move by logical lines. (Bug#9607)
17246 (line-move-visual): Update the doc string to the above effect.
17248 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17250 * window.el (display-buffer-record-window): When WINDOW is the
17251 selected window use `point' instead of `window-point'. (Bug#9626)
17253 * startup.el (command-line-1): Use insert-before-markers when
17254 inserting initial-scratch-message. (Bug#9605)
17256 * help.el (help-window): Remove variable.
17258 2011-09-29 Glenn Morris <rgm@gnu.org>
17260 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17262 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17264 * descr-text.el (describe-char-categories): Accept category
17265 descriptions more than one line long.
17267 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17269 * simple.el (delete-trailing-whitespace): Fix last change.
17271 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17272 Don't confuse "y => 3" as the beginning of a `y' operation.
17274 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17275 object has more than 4 slots (bug#9613).
17277 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17279 * subr.el (with-output-to-temp-buffer):
17280 * net/quickurl.el (quickurl, quickurl-browse-url):
17281 Fix typos in docstrings.
17283 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17285 * minibuffer.el (completion-styles)
17286 (completion-category-overrides): Cross reference each other in doc
17289 2011-09-27 Glenn Morris <rgm@gnu.org>
17291 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17292 to split-string. (Bug#9606)
17294 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17296 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17299 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17301 * emacs-lisp/package.el (list-packages): Fix echo area message.
17303 2011-09-27 Leo Liu <sdl.web@gmail.com>
17305 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17307 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17309 * net/dbus.el (dbus-unregister-object): Don't release services for
17310 registered signals. (Bug#9581)
17312 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17314 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17315 function that picks between cfengine 2 and 3 support
17316 automatically. Update docs accordingly.
17318 2011-09-22 Kenichi Handa <handa@m17n.org>
17320 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17322 (indian-itrans-v5-table-for-tamil): New variable.
17323 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17325 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17327 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17328 that's true if the current command involved collapsing of text.
17329 It's reset to false at the beginning of the next command.
17330 (allout-post-command-business): Move the cursor to the beginning
17331 of entry if the cursor is hidden and collapsing activity just
17334 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17336 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17337 tracking (Bug#9541).
17339 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17341 * net/newst-reader.el (newsticker-html-renderer)
17342 (newsticker-show-news): Automatically load html rendering package
17343 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17344 because w3m-fill-column is let-bound" and the error "Symbol's value
17345 as variable is void: w3m-fill-column".
17347 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17349 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17350 Release services only if they are defined. (Bug#9581)
17352 2011-09-23 Richard Stallman <rms@gnu.org>
17354 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17355 distinguish start of paragraph from start of its text.
17357 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17359 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17360 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17361 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17363 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17365 * international/mule-diag.el (mule-diag): Insert a newline after
17366 each fontset description.
17368 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17370 * simple.el (delete-trailing-whitespace):
17371 Document last change; simplify.
17373 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17375 * simple.el (delete-trailing-whitespace): Also delete
17376 extra newlines at the end of the buffer.
17378 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17379 (picture-newline): Use forward-line so as to ignore fields.
17381 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17383 * subr.el (with-wrapper-hook): Fix edebug spec.
17385 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17387 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17390 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17392 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17393 Fix nasty bug using wrong cached values.
17395 2011-09-23 Alan Mackenzie <acm@muc.de>
17397 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17399 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17401 * window.el (pop-to-buffer): Ensure right window is selected if we
17402 chose another frame.
17404 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17406 * simple.el (what-cursor-position): Use get-char-property-change
17407 and next-single-char-property-change, to be able to show display
17408 properties that come from overlays as well as text properties.
17410 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17412 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17414 * cmuscheme.el (run-scheme, switch-to-scheme):
17415 * cus-edit.el (customize-group, custom-buffer-create)
17416 (customize-browse):
17418 * shell.el (shell):
17419 * mail/sendmail.el (mail):
17420 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17422 2011-09-22 Richard Stallman <rms@gnu.org>
17424 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17425 move back only to line beg, don't move back over blank lines.
17427 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17429 * files.el (copy-directory): Set directory attributes only in case
17430 they could be retrieved from the source directory. (Bug#9565)
17432 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17434 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17435 (hs-find-block-beginning, hs-hide-level-recursive):
17436 Ignore strings as well as comments. (Bug#9502)
17438 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17440 * progmodes/sql.el (sql-comint-postgres):
17441 Convert port number to a string. (Bug#9566)
17443 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17445 * window.el (quit-window): Undedicate window when switching to
17446 previous buffer. Reported by Thierry Volpiatto
17447 <thierry.volpiatto@gmail.com>.
17448 (special-display-popup-frame): When popping up a new frame reset
17449 its previous buffers to nil. Simplify code.
17451 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17453 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17454 and process filter, as done also in `shell-command'.
17456 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17458 * window.el (set-window-buffer-start-and-point):
17459 Call set-window-start with NOFORCE argument t.
17460 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17461 (quit-window): Reword doc-string. Handle new format of
17462 quit-restore parameter. Don't delete window if it has a
17463 previous buffer we can show instead of the present one.
17464 (display-buffer-record-window): Rewrite using a new format for
17465 the quit-restore window parameter
17466 (special-display-popup-frame, display-buffer-same-window)
17467 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17468 (display-buffer-pop-up-window, display-buffer-use-some-window):
17469 Adapt symbol passed to display-buffer-record-window.
17470 * help.el (help-window-setup): Handle new format of quit-restore
17473 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17475 * faces.el (face-list): Fix docstring (bug#9564).
17477 * window.el (display-buffer--action-function-custom-type):
17478 Don't include internal functions in the Custom interface.
17480 2011-09-20 Juri Linkov <juri@jurta.org>
17482 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17483 (Info-forward-node, Info-backward-node, Info-next-preorder)
17484 (Info-last-preorder): Use it. (Bug#9528)
17486 2011-09-20 Juri Linkov <juri@jurta.org>
17488 * info.el (Info-last-preorder): Visit last menu item only when
17489 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17491 2011-09-20 Julien Danjou <julien@danjou.info>
17493 * password-cache.el (password-cache-remove): Remove entries even if the
17494 value is nil, so that password with a nil value (negative caching) is
17495 possible to invalidate.
17497 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17499 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17500 all whitespace around breakpoint. (Bug#9553)
17501 (f90-find-breakpoint): Only break at whitespace inside a comment.
17503 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17505 * minibuffer.el (completion-file-name-table): Keep track of errors.
17506 (completion-table-with-predicate): Handle the case where pred1 is nil.
17507 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17509 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17511 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17512 (debugger-return-value): Signal an error if the debugging context does
17513 not await any return value.
17515 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17516 * image-mode.el (image-toggle-display-text)
17517 (image-toggle-display-image): Stay away from evil `intangible'.
17519 2011-09-19 Leo Liu <sdl.web@gmail.com>
17521 * replace.el (occur-revert-arguments): Make it permanent-local.
17522 (occur-mode): Don't call font-lock-defontify.
17524 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17526 * net/ldap.el (ldap-search-internal): Don't push empty search
17529 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17531 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17533 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17535 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17536 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17538 2011-09-18 Juri Linkov <juri@jurta.org>
17540 * buff-menu.el (Buffer-menu-mode-map):
17541 * dired.el (dired-mode-map):
17542 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17543 (lisp-interaction-mode-map):
17544 * emacs-lisp/package.el (package-menu-mode-map):
17545 * epa.el (epa-key-list-mode-map):
17546 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17547 (menu-bar-options-menu):
17548 * outline.el (outline-mode-menu-bar-map):
17549 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17550 * vc/vc-dir.el (vc-dir-menu-map):
17551 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17552 Capitalize non-function content words in menu item strings.
17554 * dired.el (dired-mode-map): Add menu item for
17555 `image-dired-dired-toggle-marked-thumbs'.
17557 2011-09-18 Juri Linkov <juri@jurta.org>
17559 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17560 to `isearch-case-fold-search' and restore its original value
17561 after the `isearch-mode' call.
17563 2011-09-18 Juri Linkov <juri@jurta.org>
17565 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17566 because `zgrep' returns 1 for successful matches (bug#9226).
17568 2011-09-18 Juri Linkov <juri@jurta.org>
17570 * info.el (Info-extract-menu-node-name): Check the second match
17571 for empty string (second test-case of bug#9528).
17572 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17573 intermediate nodes to the history (first test-case of bug#9528).
17575 2011-09-18 Juri Linkov <juri@jurta.org>
17577 * info.el (Info-mode-syntax-table): New variable.
17578 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17580 2011-09-18 Juri Linkov <juri@jurta.org>
17582 * info.el (Info-file-supports-index-cookies):
17583 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17584 outputs one more line for long file names (bug#4142).
17586 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17588 * newcomment.el (comment-normalize-vars): If prompting for
17589 comment-start, set comment-start-skip too (Bug#8424).
17591 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17593 * icomplete.el: Fix previous fix of Bug#5849.
17594 (icomplete-mode): Don't set completion-show-inline-help.
17595 (icomplete-minibuffer-setup): Set completion-show-inline-help
17596 locally during icompletion.
17598 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17600 * woman.el (woman2-process-escapes): Don't delete unrecognized
17601 escapes (Bug#7843).
17603 * files.el (inhibit-first-line-modes-regexps): Add image files.
17604 (hack-local-variables-prop-line): Return nil for malformed
17605 prop-lines (Bug#9044).
17607 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17609 * net/tramp.el (top): Don't require 'shell.
17610 (tramp-methods): Fix docstring.
17611 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17612 Return complete remote file name. Handle "smb" case.
17613 Use `tramp-tmpdir', if defined for the respective method.
17614 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17616 * net/tramp-compat.el (top): Require 'shell.
17618 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17619 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17620 `tramp-current-host'.
17621 (tramp-get-remote-tmpdir): Remove.
17623 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17624 `tramp-tmpdir' entries.
17625 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17626 (tramp-smb-handle-file-attributes): Ignore errors.
17627 (tramp-smb-wait-for-output): Check also for process end.
17629 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17631 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17632 when sending QUIT (bug#9312).
17634 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17636 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17637 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17638 occur-mode-display-occurrence.
17639 (occur-edit-mode): Add usage message.
17640 (occur-cease-edit): New command.
17641 (occur-after-change-function): Use text properties to find the
17642 position of the prefix text.
17643 (occur-engine): Set stickiness of prefix text properties.
17645 2011-09-17 Glenn Morris <rgm@gnu.org>
17647 * progmodes/etags.el (complete-tag):
17648 Fix call to completion-in-region. (Bug#9526)
17650 2011-09-17 Juri Linkov <juri@jurta.org>
17652 * textmodes/ispell.el (ispell-word): Add to the error message
17653 the word, ispell program name and current dictionary (bug#9121).
17654 (ispell-tex-arg-end): Capitalize "error" in the error message.
17656 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17658 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17661 2011-09-17 Juri Linkov <juri@jurta.org>
17663 * window.el (window-safe-min-height, window-safe-min-width):
17664 Fix typos (followup to bug#9522).
17666 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17668 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17670 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17672 * simple.el (line-move): If goal-column is set, move by logical
17673 lines, not by display lines. (Bug#971)
17674 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17675 to reflect the above change.
17677 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17679 * image.el (imagemagick-register-types): Use regexp-opt.
17681 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17683 * window.el (display-buffer-base-action): Rename from
17684 display-buffer-default-action. Make default value empty.
17685 (display-buffer-overriding-action): Convert to defvar.
17686 (display-buffer-fallback-action): New var.
17688 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17690 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17692 (package--add-to-archive-contents): If there is a duplicate entry
17693 with an older version, remove it.
17694 (package-menu-mark-delete, package-menu-mark-install)
17695 (package-menu-mark-unmark): Make unused args optional.
17696 (package-menu-mark-obsolete-for-deletion):
17697 Use package-menu-get-status instead of a regexp search.
17698 (package-menu-get-status): Use tabulated-list-entry.
17699 (package-menu-mark-upgrades): New command.
17700 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17701 (package-menu-execute): Do installation before deletion.
17702 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17703 instead of checking major-mode.
17704 (package-menu--find-upgrades): New function.
17706 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17708 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17709 passwords in the log buffer.
17710 (smtpmail-process-filter): Update the process marker so that the
17711 "broken by peer" status message is inserted in the right place.
17713 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17715 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17716 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17717 bibtex-completion-at-point-function.
17718 (bibtex-completion-at-point-function): Use them.
17720 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17722 * mpc.el (mpc-constraints-tag-lookup): New function.
17723 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17724 also to browser "album|playlist".
17726 2011-09-14 Juri Linkov <juri@jurta.org>
17728 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17729 (isearch-edit-string): Use length of `isearch-string' when
17730 `isearch-fail-pos' returns nil.
17731 (isearch-message): Remove duplicate code and call
17732 `isearch-fail-pos' with arg `t'.
17734 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17736 * replace.el (occur-mode-goto-occurrence): Don't force using other
17739 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17741 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17743 * window.el (display-buffer-window): Remove.
17744 (display-buffer-record-window): Use help-setup window parameter
17745 instead of variable display-buffer-window.
17746 (display-buffer-function, special-display-buffer-names)
17747 (special-display-function): Mention help-setup parameter instead
17748 of display-buffer-window in doc-string.
17749 * help.el (help-window-setup): New argument help-window.
17750 Use help-window-setup parameter instead of display-buffer-window.
17751 Reword some messages.
17752 (with-help-window): Pass window used for displaying the buffer
17753 to help-window-setup. Don't set display-buffer-window.
17755 2011-09-13 Glenn Morris <rgm@gnu.org>
17757 * emacs-lisp/debug.el (debugger-make-xrefs):
17758 Preserve point. (Bug#9462)
17760 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17762 * window.el (window-deletable-p): Use next-frame.
17764 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17766 * window.el (window-auto-delete): Remove.
17767 (window-deletable-p): Remove argument FORCE. Don't deal with
17768 dedication and previous buffers.
17769 (switch-to-prev-buffer): Don't delete window.
17770 (delete-windows-on): Delete a window's frame if and only if the
17771 window is dedicated.
17772 (replace-buffer-in-windows): Delete buffer's window or frame if
17773 and only if window is dedicated.
17774 (quit-window): Handle quit-restore as before last change.
17775 (bury-buffer): Delete window only if window-deletable-p returns t.
17777 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17779 * window.el (window-deletable-p): Never delete the last frame on a
17782 2011-09-13 Glenn Morris <rgm@gnu.org>
17784 * help.el (describe-key-briefly): Copy previous standard-output change.
17786 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17788 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17790 2011-09-13 Glenn Morris <rgm@gnu.org>
17792 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17793 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17795 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17797 * dired-aux.el (dired-mark-read-string): Don't return default
17798 value on empty input (Bug#9361).
17799 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17800 Omit initial minibuffer contents.
17801 (dired-do-chmod): Signal an error on empty input.
17802 (dired-mark-read-string): Don't return default on empty input.
17804 * files.el (file-modes-symbolic-to-number): Doc fix.
17806 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17808 * international/mule-cmds.el (ucs-completions): Remove.
17809 (read-char-by-name): Use complete-with-action instead; add metadata.
17811 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17813 * window.el (display-buffer--action-function-custom-type)
17814 (display-buffer--action-custom-type): New vars.
17815 (display-buffer-alist, display-buffer-default-action)
17816 (display-buffer-overriding-action): Add defcustom types.
17818 * frame.el (delete-other-frames): Doc fix (Bug#276).
17820 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17822 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17824 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17826 Change modes that used same-window-* vars to use switch-to-buffer.
17828 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17829 Use switch-to-buffer.
17831 * cus-edit.el (customize-group, custom-buffer-create)
17832 (customize-browse, custom-buffer-create-other-window):
17833 Use switch-to-buffer or switch-to-buffer-other-window.
17835 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17836 (Info-prev, Info-up, Info-speedbar-goto-node)
17837 (info-display-manual): Use switch-to-buffer.
17838 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17840 * mail/sendmail.el (mail): Use switch-to-buffer.
17841 (mail-recover): Use switch-to-buffer-other-window.
17843 * cmuscheme.el (run-scheme, switch-to-scheme):
17845 * shell.el (shell):
17846 * net/rlogin.el (rlogin):
17847 * net/telnet.el (telnet, rsh):
17848 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17850 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17852 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17854 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17856 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17857 so don't mention it (bug#9301).
17858 (dired-sort-toggle-or-edit): Clarify string further.
17860 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17861 match `x', `w32' and `ns', like the manual says (bug#9029).
17863 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17864 (process-kill-buffer-query-function): Mention the buffer name in
17867 * image-mode.el (image-next-line): The line parameter is mandatory
17870 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17871 which can be useful (bug#9301).
17873 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17875 * subr.el (match-string): Mention that the current buffer should
17876 be the same as the search was done in (bug#9282).
17878 * facemenu.el: Disable the remove-* commands if the mark isn't
17881 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17883 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17885 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17887 * replace.el (occur-mode-goto-occurrence)
17888 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17889 and display-buffer.
17891 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17894 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17895 special-display and same-window variables.
17896 (mail-other-window): Use switch-to-buffer-other-window.
17897 (mail-other-frame): USe switch-to-buffer-other-frame.
17899 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17900 Use display-buffer-other-frame.
17901 (gdb-display-gdb-buffer): Use pop-to-buffer.
17903 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17905 * progmodes/python.el: Don't set same-window-buffer-names.
17907 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17909 * window.el (display-buffer-alist): Add *Python*.
17911 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17913 * window.el (display-buffer-alist): Add entry for buffers
17914 previously handled same-window-*.
17915 (display-buffer-alist, display-buffer-default-action)
17916 (display-buffer-overriding-action): Mark as risky.
17917 (display-buffer-alist): Document action function changes.
17918 (display-buffer--same-window-action)
17919 (display-buffer--other-frame-action): New variables.
17920 (switch-to-buffer, display-buffer-other-frame): Use them.
17921 (display-buffer): Rename reuse-frame entry to reusable-frames.
17922 (display-buffer-reuse-selected-window): Function deleted.
17923 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17924 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17925 (display-buffer-special): New function.
17926 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17927 display-buffer-reuse-or-pop-window. Split off special-display
17928 part into display-buffer-special.
17929 (display-buffer-use-some-window): Don't perform any special
17930 pop-up-frames handling.
17931 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17932 (display-buffer--maybe-same-window): Rename from
17933 display-buffer-maybe-same-window.
17935 * info.el: Don't set same-window-regexps.
17936 (info-setup): New function.
17937 (info-other-window, info): Call it.
17939 * cus-edit.el: Don't set same-window-regexps.
17940 (customize-group): New argument.
17941 (customize-group-other-window): Use it.
17942 (customize-face, customize-face-other-window): Likewise.
17943 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17947 * progmodes/gud.el: Don't set same-window-regexps.
17952 * mail/sendmail.el:
17953 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17955 2011-09-10 Juri Linkov <juri@jurta.org>
17957 * isearch.el (isearch-edit-string): Remove obsolete mention of
17958 `C-w' (`isearch-yank-word-or-char') from docstring.
17959 (isearch-query-replace): Fix typo in docstring (bug#9466).
17961 2011-09-10 Juri Linkov <juri@jurta.org>
17963 * paren.el (show-paren-function): Don't show escaped parens.
17964 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17966 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17968 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17969 (mm-default-file-encoding): Remove autoload forms, they are
17970 replaced with autoload cookies in mml.el and mm-encode.el.
17971 (mail-add-attachment): New command.
17972 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17973 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17975 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17977 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17979 * simple.el (count-words-region): Use buffer if there's no region
17982 2011-09-09 Juri Linkov <juri@jurta.org>
17984 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17985 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17986 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17988 2011-09-09 Alan Mackenzie <acm@muc.de>
17990 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17991 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17993 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17995 Fix for Savannah bug#9392.
17996 * simple.el (mail-encode-mml): New defvar.
17998 * mail/rmail.el (mail-encode-mml): Add a defvar.
17999 (rmail-enable-mime-composing): Default to t.
18000 (rmail-forward): Use MIME method of forwarding only if both
18001 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18002 Set mail-encode-mml non-nil if the MIME method was used.
18004 * mail/sendmail.el (mml-to-mime): Add autoload form.
18005 (mail-encode-mml): Add a defvar.
18006 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18008 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18009 message through mml-to-mime, and reset mail-encode-mml to nil.
18011 2011-09-09 Glenn Morris <rgm@gnu.org>
18013 * woman.el (woman-if-body): When processing an .el block,
18014 do not delete the next .el block as well. (Bug#9447)
18015 (woman-special-characters): Add oq, cq, and hy characters.
18017 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18019 * window.el (window-deletable-p): Make sure window is live before
18020 invoking window-prev-buffers.
18022 2011-09-08 Leo Liu <sdl.web@gmail.com>
18024 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18026 2011-09-08 Juri Linkov <juri@jurta.org>
18028 * progmodes/compile.el (compilation-environment): Make it
18029 a defcustom (bug#8340).
18031 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18033 * window.el (frame-auto-delete): Rename to window-auto-delete.
18034 Make it control auto-deletion of windows and/or frames.
18035 (window-deletable-p): New argument FORCE. Rewrite conditions
18036 for deleting window/frame. (Bug#9419)
18037 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18038 Rewrite handling of case when window/frame can be deleted.
18039 (delete-windows-on): Call window-deletable-p with new FORCE
18040 argument t. (Bug#9456)
18042 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18044 * help-mode.el (help-mode): Restore autoload.
18046 2011-09-07 Juri Linkov <juri@jurta.org>
18048 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18049 `compilation-environment'. Set buffer-local
18050 `compilation-environment' to `thisenv' later after (funcall mode).
18053 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18054 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18055 instead of replacing its value. (Bug#8340)
18057 2011-09-07 Juri Linkov <juri@jurta.org>
18059 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18060 based on text properties put by `grep-filter' instead of matching
18062 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18063 to the value of `grep-error-screen-columns' (bug#9438).
18065 2011-09-07 Juri Linkov <juri@jurta.org>
18067 * simple.el (next-error-highlight, next-error-highlight-no-select):
18068 Doc fix (bug#9432).
18070 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18072 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18073 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18075 2011-09-07 Leo Liu <sdl.web@gmail.com>
18077 * net/rcirc.el (rcirc-mode): Conditionally initialize
18080 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18082 * emacs-lisp/find-func.el (find-function-C-source): Only set
18083 find-function-C-source-directory after checking that we found a source
18084 file there (bug#9440).
18086 2011-09-06 Alan Mackenzie <acm@muc.de>
18088 * isearch.el (isearch-other-meta-char): Wherever a key list is
18089 unread, "unread" the prefix arg, too. This fixes bug #8901.
18091 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18093 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18095 2011-09-05 Juri Linkov <juri@jurta.org>
18097 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18099 2011-09-05 Juri Linkov <juri@jurta.org>
18101 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18102 keeping point where processing of grep matches begins, and
18103 continue to delete remaining escape sequences from the same point.
18104 (grep-filter): Make leading zero optional in "0?1;31m" because
18105 git-grep emits "\033[1;31m" escape sequences unlike expected
18106 "\033[01;31m" as GNU Grep does (bug#9408).
18107 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18109 2011-09-05 Juri Linkov <juri@jurta.org>
18111 * subr.el (y-or-n-p): Capitalize "yes".
18113 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18115 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18116 `tramp-cache-unload-hook' where appropriate.
18117 (tramp-methods): Rename `tramp-remote-sh' to
18118 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18119 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18121 * net/tramp-sh.el (top): Don't require 'shell.
18122 (tramp-methods): Add `tramp-remote-shell' and
18123 `tramp-remote-shell-args' entries.
18124 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18125 (tramp-sh-handle-shell-command): Remove.
18126 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18127 Use `tramp-remote-shell'.
18129 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18131 * mail/sendmail.el (sendmail-query-once-function): Delete.
18132 (sendmail-query-once): Save directly to send-mail-function.
18133 Update message-send-mail-function too.
18135 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18137 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18139 * progmodes/python.el (python-mode-map): Use correct function to
18140 start python interpreter from menu-bar (as reported by Geert
18142 (inferior-python-mode-map): Fix typo.
18143 (python-shell-map): Remove.
18145 2011-09-03 Deniz Dogan <deniz@dogan.se>
18147 * net/rcirc.el (rcirc-print): Simplify code for
18148 rcirc-scroll-show-maximum-output. There is no need to walk
18149 through all windows to find the right one.
18151 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18153 * help.el (help-return-method): Doc fix.
18155 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18157 * window.el (window-deletable-p): Don't return a non-nil value
18158 when there's a buffer that was shown in the window before.
18160 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18161 Set window's previous buffers to nil.
18163 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18165 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18166 newline before and after the tag line, so it doesn't interfere
18167 with determining the paragraph direction of bidirectional text.
18169 2011-09-03 Leo Liu <sdl.web@gmail.com>
18171 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18173 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18175 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18176 (pop-to-buffer): Change interactive spec. Pass second argument
18177 directly to display-buffer.
18178 (display-buffer): Fix interactive spec. Use functionp to
18179 distinguish between a function and a list of functions.
18181 * abbrev.el (edit-abbrevs):
18182 * arc-mode.el (archive-extract):
18183 * autoinsert.el (auto-insert):
18184 * bookmark.el (bookmark-bmenu-list):
18185 * files.el (find-file):
18186 * view.el (view-buffer):
18187 * progmodes/compile.el (compilation-goto-locus):
18188 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18190 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18192 * window.el (display-buffer-alist): Doc fix.
18193 (display-buffer): Add docstring. Don't treat
18194 display-buffer-default specially.
18195 (display-buffer-reuse-selected-window)
18196 (display-buffer-same-window, display-buffer-maybe-same-window)
18197 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18198 (display-buffer-pop-up-window)
18199 (display-buffer-reuse-or-pop-window)
18200 (display-buffer-use-some-window): New functions.
18201 (display-buffer-default-action): Use them.
18202 (display-buffer-default): Delete.
18203 (pop-to-buffer-1): Fix choice of actions.
18205 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18207 * minibuffer.el (completion--insert-strings): Don't get confused by
18208 completion entries that end with an LF char.
18210 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18212 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18214 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18216 * window.el (display-buffer): Restore interactive spec.
18217 (display-buffer-same-window, display-buffer-other-window):
18219 (pop-to-buffer-1): New function. Use the above.
18220 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18221 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18223 * view.el (view-buffer-other-window, view-buffer-other-frame):
18224 Just use pop-to-buffer.
18226 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18228 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18230 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18232 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18234 2011-08-31 Richard Stallman <rms@gnu.org>
18236 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18237 of the separation of rmail-view-buffer from rmail-buffer.
18238 If you say no to "replace original", the decrypt is in the
18239 view buffer. If you say yes, the decrypt goes into the
18242 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18244 * window.el (display-buffer-window): Rewrite doc-string.
18245 (display-buffer-record-window): New function.
18246 (display-buffer-macro-specifiers)
18247 (display-buffer-even-window-sizes, display-buffer-set-height)
18248 (display-buffer-set-width, display-buffer-in-window)
18249 (display-buffer-reuse-window, display-buffer-split-specifiers)
18250 (display-buffer-side-specifiers, display-buffer-split-window-1)
18251 (display-buffer-split-window, display-buffer-split-atom-window)
18252 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18253 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18254 (display-buffer-other-window-means-other-frame)
18255 (display-buffer-normalize-special)
18256 (display-buffer-normalize-default)
18257 (display-buffer-normalize-argument)
18258 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18259 (display-buffer-normalize-specifiers, display-buffer-frame)
18260 (display-buffer-same-window, display-buffer-same-frame)
18261 (display-buffer-other-window)
18262 (display-buffer-same-frame-other-window)
18263 (display-buffer-other-frame, pop-to-buffer-same-window)
18264 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18265 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18266 (switch-to-buffer-same-frame)
18267 (switch-to-buffer-other-window-same-frame)
18268 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18269 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18270 (display-buffer-alist-set): Remove.
18271 (display-buffer-function, special-display-buffer-names)
18272 (special-display-regexps, special-display-function):
18273 In doc-string refer to display-buffer-window and quit-restore
18275 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18276 (special-display-frame-alist, special-display-popup-frame)
18277 (same-window-buffer-names, same-window-regexps, same-window-p)
18278 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18279 (split-window-preferred-function, split-height-threshold)
18280 (split-width-threshold, window-splittable-p)
18281 (split-window-sensibly, window--try-to-split-window)
18282 (window--frame-usable-p, even-window-heights)
18283 (window--even-window-heights, window--display-buffer-1)
18284 (window--display-buffer-2, display-buffer-other-frame):
18285 Restore old Emacs 23 code, order and doc-strings where applicable.
18286 (display-buffer-default, display-buffer-assq-regexp): New functions.
18287 (display-buffer-alist): Rewrite doc-string.
18288 (display-buffer-default-action)
18289 (display-buffer-overriding-action): New variables.
18290 (display-buffer, switch-to-buffer): Rewrite.
18291 (pop-to-buffer): Restore Emacs 23 behavior but use
18292 window-normalize-buffer-to-display.
18293 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18294 Restore Emacs 23 behavior but use
18295 window-normalize-buffer-to-switch-to.
18296 (pop-to-buffer-same-window): Rewrite.
18297 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18298 Rewrite using Emacs 23 options.
18300 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18302 * net/tramp.el (tramp-root-regexp): Remove.
18303 (tramp-completion-file-name-regexp-unified)
18304 (tramp-completion-file-name-regexp-separate)
18305 (tramp-completion-file-name-regexp-url): Don't use leading volume
18306 letter on w32 systems. (Bug#5303, Bug#9311)
18307 (tramp-drop-volume-letter): Simplify definition.
18308 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18310 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18312 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18315 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18317 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18319 2011-08-29 Juri Linkov <juri@jurta.org>
18321 * isearch.el (isearch-done): Don't display message "Mark saved"
18322 when arg `edit' is non-nil to prevent its flicker in the echo area.
18324 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18326 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18327 obsolete packages for deletion.
18329 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18331 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18332 (help-mode): Derive help-mode from special-mode. Don't invoke
18333 view-mode from help-mode.
18334 (help-xref-override-view-map): Remove.
18335 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18336 view-mode is not used anymore.
18338 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18340 * server.el (server-port): Doc fix.
18342 * cus-theme.el (custom-theme-choose-mode): Inherit from
18343 special-mode (Bug#9124).
18344 (custom-theme-choose-mode-map): Add special-mode to parent.
18346 2011-08-28 Alan Mackenzie <acm@muc.de>
18348 * progmodes/cc-fonts.el
18349 (c-make-font-lock-BO-decl-search-function): New function.
18350 (c-basic-matchers-after - "Fontify the clauses after various
18351 keywords"): Extract the three keyword lists for the 3 erroneous
18352 constructs from the list of four, and use the new function above
18353 in place of an old one.
18355 2011-08-28 Deniz Dogan <deniz@dogan.se>
18357 * net/rcirc.el (rcirc-insert-prev-input)
18358 (rcirc-insert-next-input): Remove unused argument.
18360 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18362 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18364 2011-08-27 Alan Mackenzie <acm@muc.de>
18366 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18367 handle function pointer parameters properly.
18369 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18371 * window.el (display-buffer-reuse-window): Fix case where
18372 selected window was reused with non-nil OTHER-WINDOW argument.
18375 2011-08-27 Deniz Dogan <deniz@dogan.se>
18377 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18378 oftc's NickServ messages.
18380 2011-08-27 Glenn Morris <rgm@gnu.org>
18382 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18384 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18386 * emacs-lisp/package.el (package-install): Call package-initialize
18387 if called interactively.
18389 2011-08-26 Leo Liu <sdl.web@gmail.com>
18391 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18393 2011-08-25 Juri Linkov <juri@jurta.org>
18395 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18396 `search-whitespace-regexp' (bug#9364).
18398 2011-08-25 Juri Linkov <juri@jurta.org>
18400 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18401 `regexp-search-ring' to their global values to protect from
18402 updating by `read-from-minibuffer' (bug#9185).
18404 2011-08-25 Juri Linkov <juri@jurta.org>
18406 * textmodes/ispell.el (ispell-command-loop): Add newline
18407 at the end of the "Use option `i'..." line.
18409 2011-08-25 Juri Linkov <juri@jurta.org>
18411 * battery.el (display-battery-mode): If `battery-status-function'
18412 or `battery-mode-line-format' is nil, display the message and set
18413 `display-battery-mode' to nil (bug#9363).
18415 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18417 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18418 bidi-string-mark-left-to-right; they are unnecessary now.
18420 2011-08-25 Deniz Dogan <deniz@dogan.se>
18422 * net/quickurl.el: Documentation typo fixes.
18424 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18426 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18428 2011-08-25 Glenn Morris <rgm@gnu.org>
18430 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18432 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18433 (smtpmail-via-smtp): Handle nil response from smtp.
18435 2011-08-24 Juri Linkov <juri@jurta.org>
18437 * proced.el (proced-marked): Inherit from `error' instead of
18438 `font-lock-warning-face'.
18440 * ibuffer.el (ibuffer-marked-face): Change default face from
18441 `font-lock-warning-face' to `warning'.
18442 (ibuffer-deletion-face): Change default face from
18443 `font-lock-type-face' to `error'.
18445 * battery.el (battery-update): Use the face `error' instead of
18446 `font-lock-warning-face' (bug#6117).
18448 2011-08-24 Juri Linkov <juri@jurta.org>
18450 * faces.el (success): Change face color from "Green3" to
18451 "ForestGreen" on light background (bug#9353).
18453 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18455 * window.el (quit-window): Rename from quit-restore-window.
18456 Use same arglist as old quit-window.
18457 (frame-auto-delete): Doc fix.
18459 * view.el (view-mode-exit): Use quit-window.
18461 2011-08-24 Juri Linkov <juri@jurta.org>
18463 * isearch.el (isearch-ring-adjust1): Start visiting previous
18464 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18465 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18466 for empty search string (when the last search string is reused
18467 automatically) to adjust the isearch ring to the last element and
18468 prepare the correct index for further M-p commands (bug#9185).
18470 2011-08-24 Kenichi Handa <handa@m17n.org>
18472 * international/ucs-normalize.el: If decomposition property of
18473 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18475 (nfd, nfkd): Likewise.
18477 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18479 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18480 from process filters aren't reliably transmitted to the surrounding
18481 accept-process-output.
18482 (mpc-proc-check): New function.
18483 (mpc-proc-sync): Use it (bug#8293)
18485 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18487 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18488 Add compatibility functions (bug#9313).
18490 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18492 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18494 * international/uni-bidi.el: Regenerate.
18496 2011-08-23 Kenichi Handa <handa@m17n.org>
18498 * international/charprop.el:
18499 * international/uni-bidi.el:
18500 * international/uni-category.el:
18501 * international/uni-combining.el:
18502 * international/uni-comment.el:
18503 * international/uni-decimal.el:
18504 * international/uni-decomposition.el:
18505 * international/uni-digit.el:
18506 * international/uni-lowercase.el:
18507 * international/uni-mirrored.el:
18508 * international/uni-name.el:
18509 * international/uni-numeric.el:
18510 * international/uni-old-name.el:
18511 * international/uni-titlecase.el:
18512 * international/uni-uppercase.el: Regenerate.
18514 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18516 * help.el (help-window-setup): Fix message displayed when other
18517 window is reused. (Bug#9341)
18519 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18521 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18522 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18524 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18526 * shell.el (shell-parse-pcomplete-arguments): New function.
18527 (shell-completion-vars): Use it instead (bug#9160).
18529 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18531 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18532 strings and comments (bug#9333).
18534 * emacs-lisp/debug.el (debug-arglist): New function.
18535 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18536 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18538 2011-08-22 Juri Linkov <juri@jurta.org>
18540 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18541 Revert regexp that highlights output switches to its old
18542 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18544 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18545 to check for empty output (bug#9226).
18547 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18549 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18550 symbol-constituent as the default, as that stops font-lock from
18551 working properly (Bug#8843).
18553 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18555 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18556 `coding-system-for-*' around the process open call to avoid
18557 auth-source side effects.
18558 (smtpmail-try-auth-methods): Expand the secret password.
18559 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18562 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18564 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18566 * emacs-lisp/find-func.el (find-function-noselect): New arg
18569 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18570 signal an error for built-in functions (Bug#6664).
18572 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18574 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18575 (smtpmail-try-auth-methods): Use it.
18577 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18579 * font-lock.el (font-lock-fontify-region)
18580 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18581 (font-lock-default-unfontify-buffer)
18582 (font-lock-default-fontify-region)
18583 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18585 * progmodes/compile.el (compilation-error-properties):
18586 Fix confusion between file struct and message struct (Bug#9319).
18587 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18590 * net/browse-url.el (browse-url-firefox): Don't call
18591 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18593 2011-08-20 Glenn Morris <rgm@gnu.org>
18595 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18597 * tutorial.el (tutorial--default-keys): Update some default bindings.
18599 * files.el (hack-local-variables): Fully ignore case for "mode:".
18601 2011-08-20 Alan Mackenzie <acm@muc.de>
18603 Resolve invalid use of a regexp in regexp-opt.
18605 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18606 detection for a java annotation.
18608 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18609 detection for a java annotation.
18611 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18613 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18615 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18617 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18620 2011-08-20 Alan Mackenzie <acm@muc.de>
18622 Fontify CPP expressions correctly when starting in the middle of
18623 such a construct. Mainly for when jit-lock etc. starts a chunk
18626 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18628 (c-make-font-lock-search-form): New function, extracted from
18629 c-make-font-lock-search-function.
18630 (c-make-font-lock-search-function): Use the above function.
18631 (c-make-font-lock-context-search-function): New function.
18632 (c-cpp-matchers): Enhance the preprocessor expression case with
18634 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18635 which takes an expression.
18637 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18639 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18641 * window.el (display-buffer-reuse-window)
18642 (display-buffer-pop-up-window): Don't reuse or split a side
18645 2011-08-19 Glenn Morris <rgm@gnu.org>
18647 * files.el (hack-local-variables-prop-line, hack-local-variables):
18648 Downcase "Mode:". (Bug#9331)
18650 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18652 * international/characters.el: Add L and R categories.
18654 * subr.el (bidi-string-mark-left-to-right): Rename from
18655 string-mark-left-to-right. Use category search.
18657 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18659 2011-08-18 Juri Linkov <juri@jurta.org>
18661 * faces.el (error, warning, success): New faces with definitions
18662 copied from old default values of `font-lock-warning-face',
18663 `compilation-warning', `compilation-info' (bug#6117).
18665 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18667 * progmodes/compile.el (compilation-error): Inherit from `error'.
18668 (compilation-warning): Inherit from `warning'.
18669 (compilation-info): Inherit from `success'.
18671 * dired.el (dired-marked): Inherit from `warning'.
18672 (dired-flagged): Inherit from `error'.
18674 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18676 * mail/smtpmail.el (auth-source): Require to avoid problems with
18677 binding variables (bug#9298). Also clean up some unused
18680 * net/network-stream.el (network-stream-open-starttls):
18681 Support using starttls.el without using gnutls-cli.
18683 2011-08-17 Juri Linkov <juri@jurta.org>
18685 * progmodes/grep.el (rgrep): Handle the case when
18686 `grep-find-command' is a cons cell (bug#9278).
18688 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18690 * window.el (display-buffer-pop-up-frame): Run frame creation
18691 function with BUFFER current (as special-display-popup-frame
18692 does). Reported by Drew Adams.
18694 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18696 * epa-mail.el: Simplify GnuPG group expansion using
18698 (epa-mail-group-alist, epa-mail-group-modtime)
18699 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18700 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18701 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18704 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18706 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18708 2011-08-16 Alan Mackenzie <acm@muc.de>
18710 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18711 Correct, to avoid the inside of macros.
18713 2011-08-16 Richard Stallman <rms@gnu.org>
18715 * epa-mail.el: Handle GnuPG group definitions.
18716 (epa-mail-group-alist, epa-mail-group-modtime)
18717 (epa-mail-gnupg-conf-file): New variables.
18718 (epa-mail-parse-groups, epa-mail-sync-groups)
18719 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18720 (epa-mail-expand-recipients): New functions.
18721 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18723 * mail/rmail.el (rmail-epa-decrypt): New command.
18725 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18726 Don't bind buffer-read-only, just inhibit-read-only.
18727 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18728 (epa-decrypt-armor-in-region): Make error message clearer.
18730 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18732 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18733 and "a2b" to "ab" for `prefix'.
18735 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18737 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18739 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18740 Fourquet (Bug#8804).
18742 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18744 * startup.el (argi): Declare as global variable (bug#9275).
18746 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18748 * subr.el (string-mark-left-to-right): Search the entire string
18749 for RTL script, not just the terminating character. Doc fix.
18751 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18753 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18755 (js--regexp-literal, js-syntax-propertize-function): Remove.
18756 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18757 (js-mode-map): Don't rebind electric keys.
18758 (js-insert-and-indent): Remove.
18759 (js-mode): Setup electric-layout and electric-indent instead.
18761 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18763 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18765 * epa.el (epa-progress-callback-function): Fix the logic of
18766 displaying progress.
18767 * epa-file.el (epa-file-insert-file-contents): Make progress
18768 display more user-friendly.
18769 (epa-file-write-region): Ditto.
18771 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18773 * subr.el (string-mark-left-to-right): New function.
18775 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18776 Use string-mark-left-to-right.
18777 (list-buffers-noselect): Caller changed.
18779 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18780 Use string-mark-left-to-right.
18781 (tabulated-list-print): Recenter after moving point.
18783 2011-08-10 Juri Linkov <juri@jurta.org>
18785 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18786 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18787 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18789 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18791 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18794 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18796 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18797 character. (Bug#6594)
18799 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18801 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18802 (image-dired--with-db-file): New macro.
18803 (image-dired-write-tags, image-dired-remove-tag)
18804 (image-dired-create-gallery-lists, image-dired-write-comments)
18805 (image-dired-get-comment, image-dired-mark-tagged-files)
18806 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18807 (image-dired-gallery-generate): Use insert-file-contents.
18809 * time.el (display-time-world-list, display-time-world-display):
18810 * time-stamp.el (time-stamp-string):
18811 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18812 set-time-zone-rule (Bug#7337).
18814 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18816 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18817 (epg-error-to-string, epg-errors-to-string): New function.
18818 (epg-wait-for-completion): Reverse errors list.
18819 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18820 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18821 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18822 (epg-sign-keys, epg-generate-key-from-file)
18823 (epg-generate-key-from-string): Format errors by using
18824 epg-errors-to-string (bug#9255).
18825 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18827 2011-08-07 Juri Linkov <juri@jurta.org>
18829 * faces.el (list-faces-display): Remove extra angle bracket
18830 from `help-mode-map'.
18832 * info.el (Info-history-toc-nodes): Doc fix.
18834 * longlines.el (longlines-mode): Doc fix.
18836 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18838 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18839 of statements and in a few more cases (bug#9183).
18841 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18843 (cl-transform-lambda): Use them (bug#9239).
18845 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18847 * window.el (display-buffer-same-window)
18848 (display-buffer-same-frame, display-buffer-other-window)
18849 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18850 (pop-to-buffer-other-window)
18851 (pop-to-buffer-same-frame-other-window)
18852 (pop-to-buffer-other-frame): Make them defuns.
18853 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18855 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18857 * subr.el (make-composed-keymap): Move from C. Change calling
18858 convention, and improve docstring to bring attention to a subtle point.
18859 * minibuffer.el (completing-read-default): Adjust accordingly.
18861 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18863 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18864 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18866 * net/trampver.el: Update release number.
18868 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18870 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18873 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18875 * mail/sendmail.el (sendmail-query-once): Restore the current
18876 buffer after querying (bug#9074).
18878 * dired.el (dired-flagged): Use different faces for marked and
18879 flagged files (bug#6117).
18881 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18884 * ido.el (ido-mode): Switch off the message if called
18887 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18888 before 587, since it appears that that's more likely to work for
18891 * cus-edit.el (custom-file): When running under emacs -q, always
18892 refuse to save the customizations, even if the .emacs file doesn't
18895 * info.el: Remove the `Info-beginning-of-buffer' function
18898 * net/network-stream.el (network-stream-open-starttls):
18899 Use `starttls-available-p' to see whether starttls.el can be used.
18901 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18903 * window.el (display-buffer-in-window): Don't set dedicated status
18904 of window here (Bug#9215).
18905 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18906 (display-buffer-pop-up-side-window)
18907 (display-buffer-in-side-window): Set dedicated status of window here.
18909 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18911 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18912 before binding generated-autoload-file.
18914 2011-08-01 Deniz Dogan <deniz@dogan.se>
18916 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18918 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18920 Sync with Tramp 2.2.2.
18922 * net/trampver.el: Update release number.
18924 2011-07-30 Juri Linkov <juri@jurta.org>
18926 * dired-aux.el (dired-touch-initial): Remove function.
18927 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18928 current time, and `default' to the last modification time of the
18929 current marked file (bug#6887).
18931 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18933 * simple.el (goto-line): Use string-to-number to provide a
18934 numeric argument to read-number (bug#9163).
18936 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18938 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18939 connection process, it could be nil.
18941 2011-07-27 Leo Liu <sdl.web@gmail.com>
18943 Simplify url handling in rcirc-mode.
18945 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18946 (rcirc-browse-url-at-mouse): Remove.
18947 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18949 2011-07-26 Alan Mackenzie <acm@muc.de>
18951 Fontify bitfield declarations properly.
18953 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18954 (c-symbol-chars): Now exported as a lang variable.
18955 (c-not-primitive-type-keywords): New lang variable.
18957 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18958 QT keyword "more" to prevent "more slots: ...." being spuriously
18959 parsed as a bitfield declaration.
18961 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18962 Refactor and enhance to handle bitfield declarations.
18963 (c-punctuation-in): New function.
18964 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18965 declarations properly.
18967 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18969 * calendar/icalendar.el (icalendar--all-events): Take care of
18970 multiple vcalendars in a single file.
18971 (icalendar--convert-float-to-ical): Checkdoc fixes.
18973 2011-07-25 Deniz Dogan <deniz@dogan.se>
18975 * image.el (insert-image): Clarifying docstring.
18977 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18979 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18980 `tramp-send-command-and-check' if there is no error.
18981 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18983 2011-07-22 Alan Mackenzie <acm@muc.de>
18985 Prevent cc-langs.elc being loaded at run time.
18987 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18990 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18991 "(require 'cc-langs)". Quote a form so it will evaluate at
18992 (cc-mode's) compilation time.
18994 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18996 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18997 loading. (Bug#9114)
18999 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19001 * window.el (display-buffer-pop-up-window)
19002 (display-buffer-pop-up-side-window)
19003 (display-buffer-in-side-window): Call display-buffer-set-height
19004 and display-buffer-set-width after setting the new window's
19005 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19007 2011-07-20 Sam Steingold <sds@gnu.org>
19009 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19010 (etags-tags-included-tables): Call `convert-standard-filename' on
19011 the file names contained in TAGS so that windows Emacs can handle
19012 TAGS files created by cygwin ctags.
19014 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19016 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19017 which apparently didn't work.
19019 2011-07-19 Roland Winkler <winkler@gnu.org>
19021 * proced.el (proced-send-signal): For *Marked Processes* buffer
19022 put point at beginning of buffer.
19024 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19026 * proced.el (proced-format): Make header lines align with the text
19029 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19031 * view.el (view-buffer): Allow running in `special' modes if we're
19032 visiting a file (bug#8615).
19034 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19036 * window.el (display-buffer-alist-of-strings-p)
19037 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19039 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19042 2011-07-18 Alan Mackenzie <acm@muc.de>
19044 Fontify declarators properly when, e.g., a jit-lock chunk begins
19045 inside a declaration.
19047 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19049 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19051 (c-complex-decl-matchers): Insert reference to
19052 c-font-lock-enclosing-decls.
19054 * progmodes/cc-engine.el (c-backward-single-comment):
19055 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19056 to nil around calls to (forward-comment -1).
19058 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19060 * image.el (put-image): Doc typo fix.
19062 * progmodes/etags.el (tags-search): Doc typo fix.
19064 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19065 password if we get errors 550 to 554.
19067 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19069 * net/gnutls.el (gnutls-log-level): Remove.
19071 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19072 indentation character (bug#6380).
19074 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19076 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19077 to clarify what the problem is (bug#4291).
19079 * simple.el (current-kill): Clarify what
19080 `interprogram-paste-function' does (bug#7500).
19081 (auto-fill-mode): Document `auto-fill-function' in relation to
19082 `auto-fill-mode' (bug#2470).
19084 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19086 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19087 method if slot is read-only (bug#9035).
19089 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19091 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19092 * window.el (pop-to-buffer): Select window used even if it was
19093 selected before, see discussion of (Bug#8615), (Bug#6954).
19094 Pass argument NORECORD on to select-frame-set-input-focus.
19096 2011-07-15 Glenn Morris <rgm@gnu.org>
19098 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19101 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19103 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19104 (gnutls-negotiate): Use it.
19106 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19108 * net/gnutls.el (gnutls-negotiate):
19109 Upcase `gnutls-algorithm-priority'.
19111 2011-07-15 Glenn Morris <rgm@gnu.org>
19113 * jka-compr.el (jka-compr-verbose): Move from here...
19114 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19115 Add missing :version tag.
19116 * info.el: No need to require jka-compr when compiling.
19118 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19120 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19121 (gnutls-negotiate): Use it.
19123 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19125 * info.el (Info-beginning-of-buffer): New command.
19126 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19127 announcing `b' as the key (bug#8325).
19128 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19130 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19132 * international/mule-cmds.el
19133 (describe-specified-language-support): Make the error message
19134 clearer (bug#8905).
19136 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19138 * isearch.el (isearch-barrier): Add a doc string, since it's
19139 mentioned in a function doc string (bug#8678).
19141 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19143 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19144 buffer argument (Bug#9083) and self-identifying label argument.
19146 2011-07-15 Glenn Morris <rgm@gnu.org>
19148 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19150 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19152 * man.el (Man-fontify-manpage): Fix message when formatting the
19153 man page (bug#7929).
19155 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19157 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19158 argument LRM; if non-nil, append an invisible LRM character to the
19160 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19161 last argument non-nil, when formatting buffer names.
19162 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19163 paragraph direction.
19165 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19167 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19168 the man page name (bug#7929).
19170 * image.el (put-image): Mention the `put-image' overlay property
19173 * scroll-bar.el (set-scroll-bar-mode): Mention that
19174 `scroll-bar-mode' lists the values (bug#7772).
19176 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19177 command (bug#7729).
19179 * rect.el (apply-on-rectangle): Return the point after the last
19181 (string-rectangle): Go to the point after the last operation
19184 * printing.el (pr-toggle-region): Clarify the documentation
19185 slightly (bug#7493).
19187 * time.el (display-time-update):
19188 Allow `display-time-mail-function' to return nil (bug#7158).
19189 Fix suggested by Detlev Zundel.
19191 * vc/diff.el (diff): Clarify the order the file names are read
19194 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19195 the doc string (bug#7015).
19197 * font-lock.el (font-lock-maximum-decoration): Mention what
19198 numeric levels mean (bug#6935).
19200 * startup.el (initial-buffer-choice): Don't mention the `none'
19201 selection, which is against policy.
19203 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19205 * window.el (display-buffer-normalize-special):
19206 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19208 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19210 * subr.el (version<, version<=, version=): Mention "-CVS" and
19211 "-12345" alpha version numbers.
19213 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19215 * bindings.el: Add advertised binding for set-mark-command
19218 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19220 * bindings.el (mode-line-other-buffer):
19221 * bookmark.el (bookmark-bmenu-2-window):
19222 * bs.el (bs-cycle-next, bs-cycle-previous):
19223 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19226 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19229 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19231 * follow.el (follow-debug-message, follow-redisplay):
19232 * jka-cmpr-hook.el (with-auto-compression-mode):
19233 Fix typos in docstrings.
19235 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19237 * subr.el (with-silent-modifications): Clarify somewhat what the
19238 macro inhibits (bug#6525).
19240 * simple.el (eval-expression): Note what it does if called
19241 interactively (bug#6495).
19243 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19245 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19246 Use pop-to-buffer buffer-or-name if it is nil.
19248 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19249 Remove switch-to-buffer.
19251 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19253 * files.el (make-directory): Clarify that an error will be raised
19254 if there's an error (bug#6397).
19256 * startup.el (initial-buffer-choice): Add `none' as a choice
19259 * subr.el (add-hook): Clarify section about buffer-local hooks
19262 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19264 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19266 * tabify.el (untabify): Preserve the current column so that point
19267 doesn't move (bug#6032).
19269 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19271 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19272 Rewrite to avoid awkward possessive "s" (bug#5986).
19274 2011-07-13 Glenn Morris <rgm@gnu.org>
19276 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19277 (dired-insert-directory): Give a message the first time
19278 if ls is found not to support --dired.
19280 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19282 * simple.el (toggle-truncate-lines): Clarify what is toggled
19283 (bug#5580). Text by Drew Adams.
19285 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19287 * simple.el (blink-matching-open): Make the error message from the
19288 last change less verbose.
19290 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19292 * font-lock.el (font-lock-comment-face): Use the high contrast
19293 "yellow" color for font-lock-comment-face on low color terminals
19294 using a dark background color (bug#4221).
19296 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19298 * dired.el (dired-insert-set-properties): Make the doc string
19299 reflect what it does now (bug#5325).
19301 * simple.el (blink-matching-open): Say that we were unable to find
19302 the match within the limit, if we're limited (bug#5122).
19304 * international/mule-cmds.el (prefer-coding-system): Add an
19305 example (bug#4869).
19307 * progmodes/etags.el (tags-search): Document `file-list-form'
19310 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19312 * net/browse-url.el (browse-url-default-browser)
19313 (browse-url-browser-function): Make the default browser choice a
19314 bit more logical (bug#4300). Also clean up the doc string.
19316 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19318 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19319 binary endings (bug#4440).
19321 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19323 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19324 which can be pretty annoying (bug#8971).
19326 * jka-compr.el (jka-compr-verbose): New variable, and use
19327 throughout (bug#8971).
19329 * info.el (Info-find-file): Fall back on the installation
19330 directory if we can't find the info node anywhere else.
19332 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19334 * vc/vc.el (vc-revert-file):
19335 Don't set file time-stamp in the past. (Bug#5181)
19337 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19339 * files.el (after-find-file): Give a better error message when
19340 trying to find a symlink that points to a file that doesn't exist
19343 * progmodes/cc-vars.el: Remove (probably) misleading comment
19346 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19348 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19350 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19352 * mouse-sel.el: Hack restoring functionality, while keeping
19353 compatibility with 2010-07-03 changes to mouse selection.
19354 (mouse-sel-primary-overlay): New var.
19355 (mouse-sel-selection-alist): Use it.
19356 (mouse-sel-mode): Doc fix; remove points that are default features
19359 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19361 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19362 Fix previous fix (bug#2490).
19364 2011-07-12 Roland Winkler <winkler@gnu.org>
19366 * textmodes/bibtex.el (bibtex-initialize):
19367 Use pop-to-buffer-same-window.
19368 (bibtex-search-entries): Fix interactive call.
19370 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19373 Fontise bytecomp Error lines more correctly (bug#2490).
19374 Fix suggested by Johan Bockgård.
19376 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19378 * dired-x.el (dired-guess-default): Use `delete-dups'.
19380 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19382 * dired.el (dired-mark-prompt):
19383 * dired-aux.el (dired-read-shell-command): Doc fix.
19385 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19387 * mail/sendmail.el (sendmail-query-once):
19388 Use `customize-save-variable' unconditionally, now that it works under
19391 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19393 * cus-edit.el (custom-file): Take an optional no-error variable.
19394 (customize-save-variable): Set the variable, and give a warning if
19395 running under "emacs -q".
19397 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19399 * loadhist.el (unload-feature-special-hooks):
19400 Add `auto-coding-functions', `fill-nobreak-predicate' and
19401 `find-directory-functions' (bug#5327).
19403 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19405 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19407 * cus-edit.el (custom-guess-name-alist): -alist variables should
19408 use the `alist' type (bug#3120). Suggested by Drew Adams.
19410 * printing.el: Add documentation to all the `pr-toggle-' commands.
19412 2011-07-11 Leo Liu <sdl.web@gmail.com>
19414 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19415 backends where it makes sense (bug#2623).
19417 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19419 * dired-x.el (dired-guess-default): Remove duplicate shell command
19420 entries (bug#2028).
19421 (dired-guess-default): Fix grammar in doc string (bug#2028).
19422 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19424 * subr.el (remove-duplicates): New conveniency function.
19426 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19428 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19431 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19433 * window.el (display-buffer-normalize-default): Don't invert
19434 meaning of even-window-heights. Reported by Eli Zaretskii
19437 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19439 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19441 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19443 * window.el (display-buffer): Fix arguments to
19444 display-buffer-reuse-window in last change.
19446 * faces.el (link): Use a less saturated blue on light backgrounds.
19448 * startup.el (fancy-startup-text, fancy-about-text)
19449 (fancy-startup-tail): Use font-lock faces, for background safety.
19451 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19453 * emulation/viper-cmd.el (viper-change-state-to-vi):
19454 Limit triggering of abbrev expansion (Bug#9038).
19456 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19458 * window.el (display-buffer-default-specifiers): Remove.
19459 (display-buffer-macro-specifiers): Remove default specifiers.
19460 (display-buffer-alist): Default to nil.
19461 (display-buffer-reuse-window): New optional argument other-window.
19462 (display-buffer-pop-up-window): Allow splitting internal
19463 windows. Check whether a live window was created.
19464 (display-buffer-other-window-means-other-frame)
19465 (display-buffer-normalize-arguments): Rename to
19466 display-buffer-normalize-argument and rewrite. Set the
19467 other-window specifier.
19468 (display-buffer-normalize-special): New function.
19469 (display-buffer-normalize-options): Rename to
19470 display-buffer-normalize-default and rewrite.
19471 (display-buffer-normalize-options-inhibit): Remove.
19472 (display-buffer-normalize-specifiers): Rewrite.
19473 (display-buffer): Process other-window specifier and call
19474 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19476 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19477 (display-buffer-alist-set): Don't handle 'unset default values.
19478 (display-buffer-in-window, display-buffer-alist-set):
19479 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19480 <tassilo@member.fsf.org>.
19482 2011-07-09 Leo Liu <sdl.web@gmail.com>
19484 * register.el (insert-register): Restore accidental change on
19485 2011-06-26. (Bug#9028)
19487 2011-07-09 Glenn Morris <rgm@gnu.org>
19489 * subr.el (remq): Handle the empty list. (Bug#9024)
19491 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19493 * mail/sendmail.el (send-mail-function): No longer delay custom
19495 * custom.el (custom-initialize-delay): Doc fix.
19497 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19499 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19501 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19503 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19504 human-friendly prompt.
19506 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19508 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19509 provided by a particular plugin.
19511 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19513 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19514 save customizations (with "emacs -Q"), just set the variable
19515 instead of erroring out.
19517 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19519 2011-07-08 Juri Linkov <juri@jurta.org>
19521 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19522 (archive-zip-update-case): Use 7z if found by `executable-find'.
19523 The order of searching the available programs is the same as in
19524 `archive-zip-extract' (bug#8968).
19526 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19528 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19529 (menu-bar-options-menu): Tweak descriptions.
19531 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19533 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19534 menu items into verb phrases (bug#1421). Also refill to fit under
19537 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19539 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19540 (Info-read-node-name): Doc fix (Bug#1084).
19542 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19543 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19544 (end-of-sexp, beginning-of-sexp)
19545 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19546 (forward-symbol, forward-same-syntax, word-at-point)
19547 (sentence-at-point): Doc fix (Bug#1144).
19549 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19551 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19552 should cover it (bug#1281).
19554 * cus-edit.el (custom-show): Mark as obsolete.
19556 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19557 negotiation fails, then possibly try again with a non-encrypted
19558 connection (bug#9017).
19560 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19563 2011-07-07 Richard Stallman <rms@gnu.org>
19565 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19566 property, and handle its changed format.
19567 Look for the correct line number.
19568 Use file's line contents (but not past first =) to find
19569 correct line in message.
19571 2011-07-07 Kenichi Handa <handa@m17n.org>
19573 * international/characters.el (build-unicode-category-table):
19575 (unicode-category-table): Set it by unicode-property-table-internal.
19577 * international/mule-cmds.el (char-code-property-alist): Move to
19579 (get-char-code-property): Call unicode-property-table-internal to
19580 load a file. Call get-unicode-property-internal where necessary.
19581 (put-char-code-property): Call unicode-property-table-internal to
19582 load a file. Call put-unicode-property-internal where necessary.
19583 put-unicode-property-internal where necessary.
19584 (char-code-property-description):
19585 Call unicode-property-table-internal to load a file.
19587 * international/charprop.el:
19588 * international/uni-bidi.el:
19589 * international/uni-category.el:
19590 * international/uni-combining.el:
19591 * international/uni-comment.el:
19592 * international/uni-decimal.el:
19593 * international/uni-decomposition.el:
19594 * international/uni-digit.el:
19595 * international/uni-lowercase.el:
19596 * international/uni-mirrored.el:
19597 * international/uni-name.el:
19598 * international/uni-numeric.el:
19599 * international/uni-old-name.el:
19600 * international/uni-titlecase.el:
19601 * international/uni-uppercase.el: Regenerate.
19603 * loadup.el: Load international/charprop.el before
19604 international/characters.
19606 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19608 * window.el (next-buffer, previous-buffer): Signal an error if
19609 called from a minibuffer window.
19611 * bindings.el: Revert 2011-07-04 change.
19613 2011-07-06 Richard Stallman <rms@gnu.org>
19615 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19616 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19617 Treat markers like ints.
19618 (rmail-mime-entity): Doc fix.
19620 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19622 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19623 defcustom again for backwards compatibility.
19625 * simple.el (shell-command-on-region): Fill.
19627 * dired-aux.el (dired-kill-line): Add a doc string.
19629 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19630 to "\\sw\\|\\s_" (bug#358).
19632 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19633 (dired-unmark-backward): Ditto.
19634 (dired-flag-backup-files): Ditto.
19636 * dired-x.el (dired-mark-sexp): Ditto.
19638 2011-07-06 Richard Stallman <rms@gnu.org>
19640 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19641 (rmail-mime-entity): New arg TRUNCATED.
19642 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19644 (rmail-mime-save): Warn if entity is truncated.
19645 (rmail-mime-toggle-hidden): Likewise, for showing.
19646 (rmail-mime-process-multipart): Record when an entity is truncated.
19648 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19649 if ENTITY is a string.
19651 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19653 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19654 of faces when `M-C-x'-ing their definitions (bug#8378).
19655 Also clean up the code slightly.
19657 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19658 because that makes the colors go away.
19660 * mail/sendmail.el (send-mail-function): Change the default to
19661 `sendmail-query-once'.
19662 (sendmail-query-once): Add an autoload cookie.
19664 * net/network-stream.el (network-stream-open-starttls): Try using
19665 a plain connection even if the server offered STARTTLS, and we
19666 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19667 capability. This should make smtpmail.el work in slightly more
19670 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19672 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19674 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19676 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19678 * progmodes/sql.el: Version 3.0
19679 (sql-product-alist): Add product :completion-object,
19680 :completion-column, and :statement attributes.
19681 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19682 (sql-mode-syntax-table): Mark all punctuation.
19683 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19685 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19686 (sql-mode-oracle-font-lock-keywords): Improve.
19687 (sql-oracle-show-reserved-words): New function for development.
19688 (sql-product-font-lock): Simplify for source code buffers.
19689 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19691 (sql-highlight-product): Set product specific syntax table.
19692 (sql-mode-map): Add statement movement functions.
19693 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19695 (sql-statement-regexp, sql-beginning-of-statement)
19696 (sql-end-of-statement, sql-signum): New functions.
19697 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19698 (sql-show-sqli-buffer): Bug fix.
19699 (sql-interactive-mode): Store connection data as buffer local.
19700 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19701 with sql-interactive-mode.
19702 (sql-save-connection): Save buffer local settings.
19703 (sql-connection-menu-filter): Change menu entry name.
19704 (sql-product-interactive): Bug fix.
19705 (sql-preoutput-hold): New variable.
19706 (sql-interactive-remove-continuation-prompt): Bug fixes.
19707 (sql-debug-redirect): New variable.
19708 (sql-str-literal): New function.
19709 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19711 (sql-oracle-save-settings, sql-oracle-restore-settings)
19712 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19713 (sql-completion-object, sql-completion-column)
19714 (sql-completion-sqlbuf): New variables.
19715 (sql-build-completions-1, sql-build-completions)
19716 (sql-try-completion): New functions.
19717 (sql-read-table-name): Use them.
19718 (sql-contains-names): New buffer local variable.
19719 (sql-list-all, sql-list-table): Use it.
19720 (sql-oracle-completion-types): New variable.
19721 (sql-oracle-completion-object, sql-sqlite-completion-object)
19722 (sql-postgres-completion-object): New functions.
19724 2011-07-06 Glenn Morris <rgm@gnu.org>
19726 * window.el (pop-to-buffer): Doc fix.
19728 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19730 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19732 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19734 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19736 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19738 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19740 * button.el (button): Inherit from link face. Suggested by Dan
19743 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19745 * progmodes/gdb-mi.el: Fit in 80 columns.
19746 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19749 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19750 if imenu is simply not configured (bug#8941).
19752 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19754 * allout.el (allout-post-undo-hook): New allout outline-change
19755 event hook to signal undo activity.
19756 (allout-post-command-business): Run allout-post-undo-hook if an
19757 undo just occurred.
19758 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19759 * allout-widgets.el (allout-widgets-after-undo-function):
19760 Ensure the integrity of the current item's decoration after it has been
19761 in the vicinity of an undo.
19762 (allout-widgets-mode): Include allout-widgets-after-undo-function
19763 on the new allout-post-undo-hook.
19765 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19767 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19768 Let define-derived-mode define it.
19769 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19770 cycles of abbrev-table inheritance (bug#8998).
19772 2011-07-05 Roland Winkler <winkler@gnu.org>
19774 * textmodes/bibtex.el: Add support for biblatex.
19775 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19776 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19777 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19778 (bibtex-entry-alist, bibtex-field-alist): New variables.
19779 (bibtex-entry-field-alist): Obsolete alias for
19780 bibtex-BibTeX-entry-alist.
19781 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19782 (bibtex-set-dialect): New command.
19783 (bibtex-entry-type, bibtex-entry-head)
19784 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19785 Bind via bibtex-set-dialect.
19786 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19787 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19788 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19789 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19790 Define via bibtex-set-dialect.
19791 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19792 Obey bibtex-no-opt-remove-re.
19793 (bibtex-vec-push, bibtex-vec-incr): New functions.
19794 (bibtex-format-entry, bibtex-field-list)
19795 (bibtex-print-help-message, bibtex-validate)
19796 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19798 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19800 * progmodes/compile.el (compilation-goto-locus):
19801 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19802 * bs.el (bs-cycle-next, bs-cycle-previous):
19803 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19804 * bindings.el (mode-line-other-buffer):
19805 * autoinsert.el (auto-insert):
19806 * arc-mode.el (archive-extract):
19807 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19809 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19811 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19812 Fix check of `emacs-lock-unlockable-modes'.
19813 Coerce true values of `emacs-lock--try-unlocking' to t.
19815 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19817 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19818 * emacs-lock.el: New file.
19820 2011-07-05 Julien Danjou <julien@danjou.info>
19822 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19823 than `boundp' to check if face is set.
19825 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19827 * register.el (registerv-make):
19828 * window.el (window-min-height): Fix typos in docstrings.
19830 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19832 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19835 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19837 * server.el (server-execute): Catch quit and call
19838 `server-return-error' to pass the error back to emacsclient and
19839 close the connection (bug#8942).
19841 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19843 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19844 insecure exception for current topic. Also note that auto-saves
19845 are handled differently.
19847 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19848 State variables for tracking auto-save inhibition situation.
19850 (allout-write-contents-hook-handler): Rename from
19851 'allout-write-file-hook-handler', and describe how it depends on
19852 write-contents-functions sensitivity to non-nil value to prevent
19855 (allout-auto-save-hook-handler): Remove. auto-save does not check
19856 this in individual buffers, only in the starting buffer, so this
19857 is not the right way for us to inhibit auto-save in a buffer
19858 according to its condition.
19860 (allout-mode): Use new allout-write-contents-hook-handler, and
19861 only with write-contents-functions. Remove auto-save provisions -
19862 they're implemented elsewhere.
19864 (allout-before-change-handler): If undo is in progress, note that
19865 for attention of allout-post-command-business.
19867 (allout-post-command-business): If the command we're following was
19868 an undo, check for change in the status of encrypted items and
19869 adjust auto-save inhibitions accordingly.
19871 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19872 according to whether there are or aren't any plain-text topics
19873 pending encryption.
19875 (allout-inhibit-auto-save-info-for-decryption):
19876 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19877 if there are plain-text topics pending encryption.
19879 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19880 buffer-saved-size and some allout state to not inhibit auto-saves
19881 if there are no longer any plain-text topics pending encryption.
19883 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19884 No longer provide for exemption of the current topic.
19886 2011-07-04 Juri Linkov <juri@jurta.org>
19888 Add 7z operations to delete and save changed members (bug#8968).
19889 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19891 (archive-7z-write-file-member): New function.
19892 (archive-7z-summarize): Fix the number of dashes in the
19895 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19897 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19900 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19902 * bindings.el: Ignore next-buffer and previous-buffer in
19903 minibuffer-local-map.
19905 * font-lock.el (font-lock-builtin-face): Change light background
19906 color to dark slate blue (Bug#6693).
19908 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19910 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19912 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19914 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19915 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19916 Add switch-to-buffer.
19918 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19920 * isearch.el (isearch-search-fun-function): Clarify further the
19921 meaning of the function returned.
19923 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19925 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19927 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19928 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19930 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19931 `tramp-default-remote-path' does not exist.
19932 (tramp-send-command-and-read): New optional argument NOERROR.
19933 (tramp-open-connection-setup-interactive-shell)
19934 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19935 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19936 (tramp-process-sentinel): Flush also process' connection property.
19937 (tramp-sh-handle-start-file-process): Do not set process
19938 sentinel. It is done now ...
19939 (tramp-maybe-open-connection): ... here. (Bug#8929)
19941 2011-07-04 MON KEY <monkey@sandpframing.com>
19943 * play/animate.el (animate-string): Doc fixes and allow changing
19944 the buffer name (bug#5417).
19946 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19948 * play/animate.el (animation-buffer-name): Rename from *animate*.
19950 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19952 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19953 This is simpler and helps future-proof the code.
19954 (timer-until): Use time-subtract and float-time.
19955 (timer--time-less-p): Use time-less-p.
19957 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19959 * type-break.el (timep): Use the value of `float-time' to avoid a
19960 byte-compiler warning.
19962 * server.el (server-eval-and-print): Return any result, even nil.
19964 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19966 * type-break.el: Accept time formats that the builtins accept.
19967 (timep, type-break-time-difference): Accept any format that
19968 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19969 This is simpler and helps future-proof the code.
19970 (type-break-time-difference): Round rather than ignoring
19971 subseconds components.
19973 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19975 * info.el (Info-apropos-matches): Make non-interactive, since it
19976 doesn't seem to do anything useful as a command (bug#8829).
19978 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19980 * frame.el (frame-background-mode, frame-set-background-mode):
19981 Move from faces.el.
19982 (frame-default-terminal-background): New function.
19984 * custom.el (custom-push-theme): Don't record faces in `changed'
19985 theme; this doesn't work correctly for per-frame face settings.
19986 (disable-theme): Use face-set-after-frame-default to reset faces.
19987 (custom--frame-color-default): New function.
19989 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19991 * dired.el (dired-flagging-regexp): Remove unused variable
19994 2011-03-29 Kevin Ryde <user42@zip.com.au>
19996 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19997 `perl-Test2' extend to match possible "fail #N" rep count
20000 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20002 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20003 `smtpmail-via-smtp' now returns the error instead of nil.
20005 * isearch.el (isearch-search-fun-function): Clarify the doc string
20008 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20010 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20011 unnecessary spaces (bug#8987).
20013 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20015 * net/network-stream.el (open-network-stream): Use the
20016 :end-of-capability command thoughout.
20018 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20020 * net/network-stream.el (open-network-stream): Add the
20021 :end-of-capability command parameter, used by pop3.el.
20023 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20025 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20027 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20028 for list)" (bug#6475).
20030 * files.el (file-expand-wildcards): Ignore non-readable
20031 sub-directories while trying to find matches instead of signaling
20032 an error (bug#6297).
20034 * man.el (Man-reference-regexp): Allow matching possible
20035 word-wrapped references (bug#6289).
20037 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20038 for consistency with the other vc buffers (bug#6197).
20039 (vc-checkin): Ditto.
20041 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20043 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20045 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20047 * custom.el (defcustom): Clarify that :set is only used in the
20048 Customize user interface (bug#6089).
20050 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20051 associated with a file, refuse to run instead of erroring out
20054 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20055 the doc string, since it appears that using `fill-column' always
20056 controls the width (bug#7845).
20058 * simple.el (shell-command-on-region): Say where the error output
20059 went if `shell-command-default-error-buffer' is set (bug#6857).
20061 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20063 * allout.el (allout-yank-processing): Adjust cursor position for
20064 backwards-deleted space.
20066 (allout-rebullet-heading): Register changes with
20067 allout-exposure-changed-hook, so the modified topic is properly
20070 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20072 * minibuffer.el (completion-in-region): Document PREDICATE
20075 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20076 of keyword/argument pairs (bug#6904).
20078 * replace.el (multi-occur):
20079 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20081 2011-07-02 Drew Adams <drew.adams@oracle.com>
20083 * dired.el (dired-mark-if): Make the message about whether it's
20084 marking or unmarking clearer (bug#8523).
20086 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20088 * disp-table.el (display-table-print-array): New function.
20089 (describe-display-table): Use it to print the vectors more pretty
20092 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20094 * window.el (window-state-get-1): Don't assign clone numbers.
20095 Add clone-of item to list of window parameters.
20096 (window-state-put-2): Don't process clone numbers.
20097 (display-buffer-alist): Fix doc-string.
20099 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20101 * subr.el (remq): Don't allocate if it's not needed.
20102 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20103 (keymap--merge-bindings): New functions.
20104 (keymap-canonicalize): Use them to refine the canonicalization.
20105 * minibuffer.el (minibuffer-local-completion-map)
20106 (minibuffer-local-must-match-map): Move initialization from C.
20107 (minibuffer-local-filename-completion-map): Move initialization from C;
20108 don't inherit from anything here.
20109 (minibuffer-local-filename-must-match-map): Make obsolete.
20110 (completing-read-default): Use make-composed-keymap to combine
20111 minibuffer-local-filename-completion-map with either
20112 minibuffer-local-must-match-map or
20113 minibuffer-local-filename-completion-map.
20115 2011-07-01 Glenn Morris <rgm@gnu.org>
20117 * type-break.el (type-break-time-sum): Use dolist.
20119 * textmodes/flyspell.el (flyspell-word-search-backward):
20120 Replace CL function.
20122 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20124 * mouse.el (mouse--strip-first-event): New function.
20125 (function-key-map): Use it to map fringe clicks to normal clicks
20128 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20129 (vc-bzr-revision-completion-table): Add support for annotate and date.
20131 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20132 inherit from parent.
20134 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20136 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20137 (dired-show-file-type): Doc fixup (bug#8818).
20139 * dired.el (dired-mode): Fix up the doc string as suggested by
20140 Drew Adams (bug#8817).
20142 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20143 cookie, since the manual says that it should be possible to add
20144 this function to `find-file-hook' (bug#8709).
20146 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20148 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20149 here. Noted Ted Zlatanov as the maintainer.
20150 (cfengine-common-settings, cfengine-common-syntax): New functions
20151 to set up common things between `cfengine-mode' and
20153 (cfengine3-mode): New mode.
20154 (cfengine3-defuns cfengine3-defuns-regex
20155 (cfengine3-class-selector-regex cfengine3-category-regex)
20156 (cfengine3-vartypes cfengine3-font-lock-keywords)
20157 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20158 (cfengine3-indent-line): Add from cfengine3.el.
20160 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20162 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20164 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20166 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20168 * window.el (same-window-buffer-names, same-window-regexps)
20169 (same-window-p, special-display-frame-alist)
20170 (special-display-popup-frame, special-display-function)
20171 (special-display-buffer-names, special-display-regexps)
20172 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20173 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20174 (split-window-preferred-function, split-height-threshold)
20175 (split-width-threshold, even-window-heights)
20176 (display-buffer-mark-dedicated, window-splittable-p)
20177 (split-window-sensibly, window-safely-shrinkable-p):
20179 (display-buffer): Don't spread args with function specifier
20180 because special-display-popup-frame won't like it.
20182 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20184 Time-stamp simplifications and fixes.
20185 These improve accuracy slightly, and future-proof the code
20186 against some potential changes to current-time format.
20188 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20189 by using time-since and float-time.
20191 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20192 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20193 + NNN microseconds".
20195 * type-break.el (type-break-time-sum): Rewrite using time-add.
20197 * play/hanoi.el (hanoi-current-time-float): Remove.
20198 All uses replaced by float-time.
20200 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20201 This yields a more-accurate answer.
20202 (rng-time-to-float): Remove; no longer needed.
20204 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20206 * calendar/timeclock.el (timeclock-seconds-to-time):
20207 Defalias to seconds-to-time, since they're the same thing.
20209 * emacs-lisp/elp.el (elp-elapsed-time):
20210 * emacs-lisp/benchmark.el (benchmark-elapse):
20211 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20213 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20215 * window.el (bury-buffer): Don't iconify the only frame.
20216 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20217 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20219 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20221 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20222 Add mouse-yank-primary.
20224 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20226 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20228 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20230 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20231 (find-library-name): Use it to find relative load names when provided
20232 absolute file name (bug#8803).
20234 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20236 * textmodes/flyspell.el (flyspell-word): Consider words that
20237 differ only in case as potential doublons (bug#5687).
20239 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20240 Remove two rather uninteresting debugging-like messages to make
20241 debbugs.el more silent.
20243 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20244 a password-like phrase.
20246 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20248 * progmodes/cc-guess.el: New file.
20250 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20252 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20253 derived from `c-basic-common-init'.
20255 * progmodes/cc-mode.el (top-level): Require cc-guess.
20256 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20258 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20260 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20262 2011-06-30 Alan Mackenzie <acm@muc.de>
20264 * progmodes/cc-engine.el (c-guess-continued-construct):
20265 Correct the handling of template-args-cont, particularly for when font
20266 lock is disabled. Name this case as "CASE G".
20268 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20270 * allout.el (allout-yank-processing): Fix injection of extra space
20271 between bullet and non-whitespace character in first topic when
20272 pasting, ensuring that the actual spacing in the pasted topic
20273 following the bullet char is preserved. This extra space was
20274 causing pasted encrypted topics to get a decrypted status even
20275 when the content was actually still encrypted. Now the decryption
20276 status from before the paste is preserved.
20278 (allout-flag-region): Set all allout overlays so they evaporate
20279 when reduced to zero length (evanescent), to prevent overlay
20282 2011-06-30 Glenn Morris <rgm@gnu.org>
20284 * w32-fns.el (w32-charset-info-alist): Declare.
20286 * find-dired.el (find-grep-options): Simplify.
20288 * term/ns-win.el (ns-set-resource): Declare.
20290 * ses.el (row, col): Declare dynamic variables honestly.
20292 * textmodes/reftex-parse.el (index-tags): Declare.
20294 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20296 * cus-edit.el (customize-push-and-save): New function.
20298 * files.el (hack-local-variables-confirm): Use it.
20300 * custom.el (load-theme): New arg NO-CONFIRM.
20301 Use customize-push-and-save (Bug#8720).
20302 (custom-enabled-themes): Doc fix.
20304 * cus-theme.el (customize-create-theme)
20305 (custom-theme-merge-theme): Callers to load-theme changed.
20307 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20309 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20310 short URLs have at least one dot in them (bug #7614).
20312 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20313 nil, because using a pty is apparently too slow (bug #895).
20315 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20317 * mail/sendmail.el (sendmail-query-once): New function.
20318 (sendmail-query-once-function): New variable.
20320 2011-06-29 Glenn Morris <rgm@gnu.org>
20322 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20324 * ses.el (top-level): Require cl when compiling.
20325 (ses-set-localvars): Fix error statement.
20326 Call it at compile time to silence a storm of warnings.
20328 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20330 * window.el (normalize-live-buffer): Rename to
20331 window-normalize-buffer.
20332 (normalize-live-frame): Rename to window-normalize-frame.
20333 (normalize-any-window): Rename to window-normalize-any-window.
20334 (normalize-live-window): Rename to window-normalize-live-window.
20335 (make-window-atom): Rename to window-make-atom.
20336 (window-resize-reset): Rename to window--resize-reset.
20337 (window-resize-reset-1): Rename to window--resize-reset-1.
20338 (resize-mini-window): Rename to window--resize-mini-window.
20339 (resize-subwindows-skip-p): Rename to
20340 window--resize-subwindows-skip-p.
20341 (resize-subwindows-normal): Rename to
20342 window--resize-subwindows-normal.
20343 (resize-subwindows): Rename to window--resize-subwindows.
20344 (resize-other-windows): Rename to window--resize-siblings.
20345 (resize-this-window): Rename to window--resize-this-window.
20346 (resize-root-window): Rename to window--resize-root-window.
20347 (resize-root-window-vertically): Rename to
20348 window--resize-root-window-vertically.
20349 (normalize-buffer-to-display): Rename to
20350 window-normalize-buffer-to-display.
20351 (normalize-buffer-to-switch-to): Rename to
20352 window-normalize-buffer-to-switch-to.
20353 Correspondingly update all callers of the functions listed
20355 (display-buffer-alist, display-buffer-normalize-arguments)
20356 (display-buffer-normalize-options, display-buffer)
20357 (display-buffer-alist-set): Use "function" instead of
20360 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20362 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20363 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20364 debbugs.gnu.org. Mention acknowledgment email.
20366 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20368 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20369 buffer multibyteness, since it shouldn't matter.
20371 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20373 * window.el (display-buffer-in-side-window): Handle dedicated
20374 windows as in display-buffer-reuse-window.
20375 (display-buffer-normalize-alist): Use value of override
20377 (display-buffer-normalize-specifiers): Use value of
20378 other-window-means-other-frame specifier.
20379 (display-buffer-alist): Rewrite some texts in widgets.
20380 (display-buffer): Spread arguments when calling function
20381 specified by fun-with-args.
20383 2011-06-28 Deniz Dogan <deniz@dogan.se>
20385 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20388 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20389 selectors (Bug#5732).
20390 (css-proprietary-nmstart-re): Use `regexp-opt'.
20392 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20394 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20395 (eshell-ls-date-format): New defcustom.
20396 (eshell-ls-file): Use it.
20398 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20400 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20402 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20404 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20405 (ange-ftp-make-tmp-name): New arg.
20406 (ange-ftp-file-local-copy): Use it.
20408 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20410 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20411 no-conversion (Bug#8870).
20413 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20415 * window.el (window-right, window-left, window-child)
20416 (window-child-count, window-last-child)
20417 (window-iso-combination-p, walk-window-tree-1)
20418 (window-atom-check-1, window-tree-1, delete-window)
20419 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20420 new naming conventions - window-vchild, window-hchild,
20421 window-next and window-prev are now called window-top-child,
20422 window-left-child, window-next-sibling and window-prev-sibling
20424 (resize-window-reset): Rename to window-resize-reset.
20425 (resize-window-reset-1): Rename to window-resize-reset-1.
20426 (resize-window): Rename to window-resize.
20427 (window-min-height, window-min-width)
20428 (resize-mini-window, resize-this-window, resize-root-window)
20429 (resize-root-window-vertically, adjust-window-trailing-edge)
20430 (enlarge-window, shrink-window, maximize-window)
20431 (minimize-window, delete-window, quit-restore-window)
20432 (split-window, balance-windows, balance-windows-area-adjust)
20433 (balance-windows-area, window-state-put-2)
20434 (display-buffer-even-window-sizes, display-buffer-set-height)
20435 (display-buffer-set-width, set-window-text-height)
20436 (fit-window-to-buffer): Rename all "resize-window" prefixed
20437 calls to use the "window-resize" prefix convention.
20438 (display-buffer-alist): Fix symbol for label specifier.
20439 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20440 corresponding specifier.
20441 Reported by Juanma Barranquero <lekktu@gmail.com>.
20443 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20445 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20447 (ses-call-printer): Does not pass an empty string to formatter when the
20448 cell is empty to keep from barking printer Calc math-format-value.
20450 2011-06-27 Richard Stallman <rms@gnu.org>
20452 * battery.el (battery-mode-line-limit): New variable.
20453 (battery-update): Handle it.
20455 * mail/rmailmm.el (rmail-mime-process-multipart):
20456 Handle truncated messages.
20458 2011-06-27 Glenn Morris <rgm@gnu.org>
20460 * progmodes/flymake.el (flymake-err-line-patterns):
20461 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20463 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20465 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20466 (ses--clean-!, ses--clean-_): New functions.
20467 (ses-range): Add configurability of readout order, and conversion
20470 * ses.el (ses-repair-cell-reference-all): New function.
20471 (ses-cell-symbol): Set macro as safe, so that it can be used in
20474 * ses.el: Update cycle detection algorithm.
20475 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20476 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20477 (ses-set-localvars): New function.
20478 (ses-make-cell): Add property-list as a cell element.
20479 (ses-cell-property-get-fun, ses-cell-property-get)
20480 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20481 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20483 (ses-cell-property-set, ses-cell-property-pop)
20484 (ses-cell-property-get-handle): New macro.
20485 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20486 New aliases, used for code readability.
20487 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20489 (ses-self-reference-early-detection): New defcustom.
20490 (ses-formula-references): Robustify against self-referring cells.
20491 (ses-mode): Use ses-set-localvars.
20492 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20493 before lauching the update processing.
20494 (ses-initialize-Dijkstra-attempt): New function.
20495 (ses-recalculate-cell): Update for cycle detection based on
20496 Dijkstra algorithm.
20498 * ses.el: Fix commenting and indenting convention.
20500 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20502 * bs.el (bs-cycle-next): Complete last change.
20504 2011-06-27 Drew Adams <drew.adams@oracle.com>
20506 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20508 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20510 * net/network-stream.el (network-stream-open-starttls):
20511 Don't re-get capabilities unless we've reestablished connection.
20512 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20514 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20515 to binary to possibly avoid line encoding issues on Windows (among
20518 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20520 * net/network-stream.el (open-network-stream): Return an :error
20521 saying what the problem was, if possible.
20523 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20526 * net/network-stream.el (network-stream-open-starttls): If we
20527 wanted to use STARTTLS, and the server offered it, but we weren't
20528 able to because we had no STARTTLS support, then close the connection.
20529 (open-network-stream): Return an :error element, if present.
20531 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20533 * hl-line.el (hl-line-sticky-flag): Doc fix.
20534 (global-hl-line-sticky-flag): New option (Bug#8323).
20535 (global-hl-line-highlight): Obey it.
20537 * vc/vc.el (vc-revert-show-diff): Default to t.
20539 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20541 * allout-widgets.el (allout-widgets-post-command-business):
20542 Stop decorating intermediate isearch matches. They're not being
20543 undecorated when an isearch is continued past, and isearch
20544 automatically collapses them. This leads to "widget leaks", where
20545 decorated items accumulate in collapsed areas. Lines with lots of
20546 hidden widgets can slow down cursor travel, substantially.
20547 Too much complicated machinery would be needed to ensure undecoration,
20548 so we're doing without this nicety.
20550 (allout-widgets-tally-string): Don't try to do a hash-table-count
20551 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20552 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20553 *Messages* when allout-widgets-maintain-tally is t.
20555 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20557 * window.el (display-buffer-normalize-argument): Rename to
20558 display-buffer-normalize-arguments. Handle special meaning of
20559 LABEL argument. Respect special-display-function when popping up
20560 a new frame. Fix code searching for a window showing the buffer
20562 (display-buffer-normalize-specifiers):
20563 Call display-buffer-normalize-arguments.
20564 (display-buffer-in-window): Don't undedicate the window if its
20565 buffer remains the same.
20566 Reported by Drew Adams <drew.adams@oracle.com>.
20567 (display-buffer-alist): Add choice for same-window macro
20569 (display-buffer): Mention special meaning of LABEL argument in
20570 doc-string. Fix quoting. Don't pop up a new frame even as
20573 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20575 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20576 avoid deleting the current window in some cases (bug#8911).
20578 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20580 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20583 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20585 * net/network-stream.el (network-stream-open-starttls):
20586 Use built-in TLS support if `gnutls-available-p' is true.
20587 (network-stream-open-tls): Ditto.
20589 2011-06-26 Leo Liu <sdl.web@gmail.com>
20591 * register.el (registerv): New struct.
20592 (registerv-make): New function.
20593 (jump-to-register, describe-register-1, insert-register):
20594 Support the jump-func, print-func and insert-func slot of a registerv
20597 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20599 * vc/vc.el (vc-revert-show-diff): New defcustom.
20600 (vc-diff-internal): New arg specifying diff buffer.
20601 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20602 reuse an existing *vc-diff* buffer (Bug#8927).
20604 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20606 2011-06-26 Glenn Morris <rgm@gnu.org>
20608 * progmodes/f90.el (f90-critical-indent): New option.
20609 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20610 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20611 (f90-mode): Doc fix.
20612 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20613 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20614 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20615 (f90-match-end): Handle block, critical.
20617 2011-06-25 Glenn Morris <rgm@gnu.org>
20619 * calendar/diary-lib.el (diary-included-files): Doc fix.
20620 (diary-include-files): New function, extracted from
20621 diary-include-other-diary-files and diary-mark-included-diary-files.
20622 (diary-include-other-diary-files, diary-mark-included-diary-files):
20623 Just call diary-include-files.
20624 (diary-mark-entries): Reset diary-included-files on first call.
20626 * calendar/diary-lib.el (diary-mark-entries)
20627 (diary-mark-included-diary-files):
20628 Visit included diary-files in temp buffers.
20630 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20631 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20632 (f90-start-block-re, f90-imenu-generic-expression)
20633 (f90-looking-at-program-block-start, f90-no-block-limit):
20634 Add support for submodules.
20636 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20637 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20639 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20641 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20642 buffer-file-type before setting its value, to avoid disastrous
20643 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20645 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20647 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20649 * ses.el (ses-unload-function):
20650 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20652 * proced.el (proced-unload-function):
20653 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20655 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20657 * server.el (server-create-window-system-frame): Add parameters arg.
20658 (server-process-filter): Doc fix. Handle frame-parameters.
20660 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20662 Fix bug#8730, bug#8781.
20664 * loadhist.el (unload--set-major-mode): New function.
20665 (unload-feature): Use it.
20667 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20668 (python-unload-function): New function.
20670 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20672 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20674 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20676 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20677 the candidates list.
20679 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20681 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20683 2011-06-23 Richard Stallman <rms@gnu.org>
20685 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20686 (rmail-variables): Set next-error-move-function.
20687 (rmail-what-message): Take argument POS.
20688 (rmail-next-error-move): New function.
20690 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20692 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20693 messages for adjacent non-terminals.
20695 2011-06-23 Richard Stallman <rms@gnu.org>
20697 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20698 (rmail-show-message-1): Preserve buffer modified flag.
20699 (rmail-start-mail): Don't specify use of rmail-mail-return;
20700 that's done by mail-bury now.
20701 (rmail-mail-return): Handle arg NEWBUF.
20703 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20705 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20708 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20710 * window.el (get-lru-window, get-mru-window)
20711 (get-largest-window): Never return a minibuffer window.
20712 (display-buffer-pop-up-window): Fix a bug that could lead to
20713 reusing the minibuffer window.
20714 (display-buffer): Pass original specifier argument to
20715 display-buffer-function instead of the normalized one.
20716 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20718 2011-06-22 Leo Liu <sdl.web@gmail.com>
20720 * minibuffer.el (completing-read-function)
20721 (completing-read-default): Move from minibuf.c.
20723 2011-06-22 Richard Stallman <rms@gnu.org>
20725 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20726 to Rmail even if not started by a special Rmail command.
20728 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20729 Copy the buffer currently showing just one message.
20731 2011-06-22 Roland Winkler <winkler@gnu.org>
20733 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20734 (bibtex-clean-entry): First delete the old key so that a
20735 customized algorithm for generating the new key does not get
20736 confused by the old key.
20737 (bibtex-url): Obey regexp of first step.
20738 (bibtex-search-entries): Do not use add-to-list with local
20741 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20743 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20744 stored a user name, then query for the password first, instead of
20745 waiting for SMTP to give an error message and the trying again.
20747 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20749 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20750 BUFFER in call-process.
20752 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20754 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20756 (smtpmail-try-auth-methods): Require user name and password from
20759 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20761 * window.el (display-buffer-default-specifiers)
20762 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20763 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20764 (split-window): Normalize SIDE argument (Bug#8916).
20766 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20767 (special-display-frame-alist, special-display-popup-frame):
20768 Remove duplicate declarations. These are now in window.el.
20770 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20772 * mail/smtpmail.el (smtpmail-via-smtp):
20773 Set :use-starttls-if-possible so that we always use STARTTLS if the
20774 server supports it. SMTP servers that support STARTTLS commonly
20777 * net/network-stream.el (network-stream-open-starttls): Support
20778 upgrading to STARTTLS always, even if we don't have built-in support.
20779 (open-network-stream): Add the :always-query-capabilities keyword.
20781 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20782 upgrades with `open-network-stream', and rely solely on
20783 auth-source for all credentials. Big changes throughout the file,
20785 (smtpmail-auth-credentials): Remove.
20786 (smtpmail-starttls-credentials): Remove.
20787 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20790 * net/network-stream.el (network-stream-open-starttls):
20791 Provide support for client certificates both for external and built-in
20793 (auth-source): Require.
20794 (open-network-stream): Document the :client-certificate keyword.
20795 (network-stream-certificate): Change cert-cert to cert and
20798 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20800 * net/tramp-cache.el (top): Don't load the persistency file when
20801 "emacs -Q" has been called.
20803 2011-06-21 Tim Harper <timcharper@gmail.com>
20805 * term/ns-win.el (ns-initialize-window-system):
20806 Set application-specific `ApplePressAndHoldEnabled' system
20807 resource to NO as it is not yet supported by the NS port.
20809 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20811 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20812 (list-dynamic-libraries): ...not here.
20814 2011-06-21 Leo Liu <sdl.web@gmail.com>
20816 * subr.el (sha1): Implement sha1 using secure-hash.
20818 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20820 * window.el (display-buffer-alist): In default value do not
20821 enforce searching a window on any but the selected frame.
20822 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20823 (display-buffer-select-window): Remove function.
20824 (display-buffer-in-window): When a window on another frame gets
20825 reused, do not select it any more but just raise its frame if
20826 necessary (Bug#8851) and (Bug#8856).
20827 (display-buffer-normalize-options): Handle pop-up-frames related
20828 options more faithfully.
20829 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20830 window if it is on another frame.
20831 (display-buffer-alist, display-buffer-default-specifiers):
20832 Don't make new frame unsplittable by default.
20833 (display-buffer-normalize-argument): Fix doc-string typo and use
20834 'same-frame-other-window instead of 'other-window when associating
20835 with display-buffer-macro-specifiers.
20837 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20839 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20841 (5x5-mode-map, 5x5-mode-menu): Bind them.
20842 (5x5-draw-grid): Tweak the solver's rendering.
20844 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20846 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20847 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20849 2011-06-21 Drew Adams <drew.adams@oracle.com>
20851 * menu-bar.el: Use function variable instead of switch-to-buffer.
20852 (menu-bar-select-buffer-function): New variable.
20853 (menu-bar-update-buffers): Use it (bug#8876).
20855 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20857 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20860 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20862 * x-dnd.el (x-dnd-version-from-flags)
20863 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20864 and long as number (Bug#8899).
20865 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20867 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20869 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20870 (completion-try-completion, completion-all-completions): Compute the
20871 metadata argument if it's missing; make it optional (bug#8795).
20873 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20874 (widget-complete): Use new :completion-function property.
20875 (widget-completions-at-point): New function.
20876 (default): Use :completion-function instead of :complete.
20877 (widget-default-completions): Rename from widget-default-complete;
20879 (widget-string-complete, widget-file-complete, widget-color-complete):
20881 (file, symbol, function, variable, coding-system, color):
20882 * international/mule-cmds.el (default-input-method, charset)
20883 (language-info-custom-alist):
20884 * cus-edit.el (face): Use new property :completions.
20886 * progmodes/pascal.el (pascal-completions-at-point): New function.
20887 (pascal-mode): Use it.
20888 (pascal-mode-map): Use completion-at-point.
20889 (pascal-toggle-completions): Make obsolete.
20890 (pascal-complete-word, pascal-show-completions):
20891 * progmodes/octave-mod.el (octave-complete-symbol):
20892 Redefine as obsolete alias.
20893 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20894 Signal absence of completion info for old Octave,
20895 (inferior-octave-complete): Redefine as obsolete alias.
20896 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20897 (meta-completions-at-point): Rename from meta-complete-symbol and
20898 adapt it for use on completion-at-point-functions.
20899 (meta-common-mode): Use it.
20900 (meta-looking-at-backward, meta-match-buffer): Remove.
20901 (meta-complete-symbol): Redefine as obsolete alias.
20902 (meta-common-mode-map): Use completion-at-point.
20903 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20904 (makefile-mode-map): Use completion-at-point.
20905 (makefile-completions-at-point): Rename from makefile-complete and
20906 adapt it for use on completion-at-point-functions.
20907 (makefile-mode): Use it.
20908 (makefile-complete): Redefine as obsolete alias.
20910 2011-06-20 Deniz Dogan <deniz@dogan.se>
20912 * net/rcirc.el: Delete trailing whitespaces once and for all.
20914 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20916 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20918 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20920 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20922 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20924 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20926 * window.el (display-buffer-other-window-means-other-frame):
20927 Call display-buffer-normalize-alist.
20928 (display-buffer-normalize-specifiers-1): Rename to
20929 display-buffer-normalize-argument. New argument other-frame.
20931 (display-buffer-normalize-specifiers-2): Rename to
20932 display-buffer-normalize-options.
20933 (display-buffer-normalize-alist-1): New function.
20934 (display-buffer-normalize-specifiers-3): Rename to
20935 display-buffer-normalize-alist.
20936 Call display-buffer-normalize-alist-1.
20937 (display-buffer-normalize-options-inhibit): New variable.
20938 (display-buffer-normalize-specifiers): Rewrite calling
20939 display-buffer-normalize-alist,
20940 display-buffer-normalize-argument, and
20941 display-buffer-normalize-options. Don't call the latter if
20942 display-buffer-normalize-options-inhibit is non-nil.
20943 (frame-auto-delete): New option.
20944 (window-deletable-p): Use frame-auto-delete.
20945 (window-list-no-nils, window-state-ignored-parameters)
20946 (window-state-get-1, window-state-get, window-state-put-list)
20947 (window-state-put-1, window-state-put-2, window-state-put):
20949 (display-buffer-normalize-options): Move special-display-p group
20950 after pop-up-frame group (Bug#8851) and (Bug#8856).
20952 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20954 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20956 (rx-submatch-n): New function.
20959 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20962 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20964 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20966 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20967 anytime existing face settings are present (Bug#8889).
20969 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20970 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20971 Remove unused argument.
20973 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20975 * window.el (display-buffer-default-specifiers):
20976 Remove pop-up-frame. Add pop-up-window-min-height,
20977 pop-up-window-min-width, and another reuse-window specifier
20978 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20979 (display-buffer-normalize-specifiers-2):
20980 Handle split-height-threshold and split-width-threshold also when
20981 pop-up-windows is unset. Add a reuse-window specifier for the
20982 case popping up a new window fails.
20983 (special-display-popup-frame): Remove double quoting.
20984 (display-buffer-normalize-specifiers-1): Fix thinko.
20986 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20988 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20989 according to comint-completion-addsuffix.
20991 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20992 (pcomplete-suffix-list): Mark as obsolete.
20993 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20994 pcomplete-seen in the closure.
20995 (pcomplete-comint-setup): Setup completion-at-point as well.
20996 (pcomplete--entries): New function.
20997 (pcomplete--env-regexp): New var.
20998 (pcomplete-entries): Rewrite to work with partial-completion and
20999 without relying on pcomplete-suffix-list.
21000 (pcomplete-pare-list): Remove, unused.
21002 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21004 * window.el (display-buffer-alist): Set pop-up-window-min-height
21005 and pop-up-window-min-width in default value. Reported by
21006 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21007 other-window-means-other-frame.
21008 (display-buffer-macro-specifiers): Comment out entry for
21009 other-window specifier.
21010 (display-buffer-other-window-means-other-frame): New function.
21011 (display-buffer-normalize-specifiers-1): New arguments
21012 buffer-name and label. Treat other-window case specially.
21013 (display-buffer-normalize-specifiers-2): Treat other-window case
21015 (display-buffer-normalize-specifiers-3): New function.
21016 (display-buffer-normalize-specifiers):
21017 Call display-buffer-normalize-specifiers-3.
21019 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21021 * window.el (same-window-p): Fix two typos introduced when
21022 adding with-no-warnings.
21023 (display-buffer-normalize-specifiers-1): Don't check
21024 pop-up-frames for 'unset initialization.
21025 (display-buffer-normalize-specifiers-2): Major rewrite using
21026 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21027 (pop-up-frames, display-buffer-reuse-frames)
21028 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21029 Suggested by David Engster <deng@randomsample.de>.
21030 (even-window-heights): Initialize to 'unset.
21031 (display-buffer-alist-set): Handle new 'unset initializations.
21032 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21035 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21037 * window.el (display-buffer-normalize-specifiers-1):
21038 Respect current value of pop-up-frames for most reasonable values of
21039 second argument of display-buffer (Bug#8865).
21040 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21041 (switch-to-buffer-other-window-same-frame)
21042 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21044 (display-buffer): Don't check noninteractive when calling
21045 display-buffer-pop-up-frame.
21046 (display-buffer-pop-up-frame): Never pop up a frame in
21047 noninteractive mode (Bug#8857).
21048 (enlarge-window, shrink-window): Don't report an error when the
21049 window can't be resized as requested (Bug#8862).
21051 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21053 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21055 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21057 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21059 2011-06-15 Alan Mackenzie <acm@muc.de>
21061 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21062 for declarators, disable knr checking to speed up for normal files.
21063 2: Refactor, replacing a sequence of nested if forms by a cond form.
21065 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21067 * net/network-stream.el (open-network-stream): Add the keyword
21068 :always-query-capabilities for the case where you want to force a
21069 `plain' network connection, but the protocol still requires the
21070 capabilitiy command (i.e., SMTP and EHLO).
21072 * subr.el (process-live-p): Rename from `process-alive-p' for
21073 consistency with other `-live-p' functions.
21075 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21077 * window.el (same-window-buffer-names, same-window-regexps)
21078 (special-display-frame-alist, special-display-popup-frame)
21079 (special-display-function, special-display-buffer-names)
21080 (special-display-regexps, pop-up-frame-alist)
21081 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21082 (pop-up-windows, split-window-preferred-function)
21083 (split-height-threshold, split-width-threshold, even-window-heights)
21084 (display-buffer-mark-dedicated): Don't encourage the use of
21085 display-buffer-alist from Elisp code.
21087 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21089 * progmodes/python.el (python-mode): Derive from prog-mode.
21090 * progmodes/ps-mode.el (ps-mode):
21091 * progmodes/mixal-mode.el (mixal-mode):
21092 * progmodes/cfengine.el (cfengine-mode):
21093 * progmodes/ld-script.el (ld-script-mode): Likewise.
21095 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21097 * window.el (display-buffer-alist): Trim default value to avoid
21098 popping up a new frame (Bug#8857) or reusing an arbitrary window
21100 (display-buffer): Do not fall back on popping up a new frame in
21101 batch mode (Bug#8857).
21103 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21105 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21106 (custom-theme-summary): New function.
21107 (customize-themes): Use it.
21109 2011-06-13 Glenn Morris <rgm@gnu.org>
21111 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21113 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21115 * help.el (help-window): Remove variable.
21116 (help-window-point-marker, temp-buffer-max-height)
21117 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21118 (help-print-return-message): Don't set help-window.
21119 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21120 (help-window-setup-finish): Remove.
21121 (help-window-display-message, help-window-setup)
21122 (with-help-window): Major rewrite based on new
21123 display-buffer-window variable.
21125 * help-mode.el (help-mode-finish): Remove help-window related
21128 * view.el (view-exits-all-viewing-windows): Remove reference to
21129 view-return-to-alist in doc-string.
21130 (view-return-to-alist): Make obsolete.
21131 (view-buffer): Call pop-to-buffer-same-window and remove
21133 (view-buffer-other-window): Call pop-to-buffer-other-window and
21134 simplify code. Ignore second argument.
21135 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21136 simplify code. Ignore second argument.
21137 (view-return-to-alist-update): Make obsolete.
21138 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21139 Rewrite using quit-restore window parameters.
21140 (view-mode-exit): Rename second argument to EXIT-ONLY.
21141 Rewrite using quit-restore-window.
21142 (View-exit, View-exit-and-edit, View-leave, View-quit)
21143 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21144 appropriate arguments.
21145 (view-end-message): Use quit-restore window parameter.
21147 * window.el (display-buffer-function): Rewrite doc-string.
21148 (display-buffer-window, display-buffer-alist): New variables.
21149 (display-buffer-split-specifiers)
21150 (display-buffer-side-specifiers)
21151 (display-buffer-macro-specifiers): New constants.
21152 (display-buffer-even-window-sizes, display-buffer-set-height)
21153 (display-buffer-set-width, display-buffer-select-window)
21154 (display-buffer-in-window, display-buffer-reuse-window)
21155 (display-buffer-split-window-1, display-buffer-split-window)
21156 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21157 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21158 (display-buffer-in-side-window, normalize-buffer-to-display)
21159 (display-buffer-normalize-specifiers-1)
21160 (display-buffer-normalize-specifiers-2)
21161 (display-buffer-normalize-specifiers, display-buffer-frame):
21163 (display-buffer): Major rewrite.
21164 (display-buffer-other-window, display-buffer-other-frame)
21165 (pop-to-buffer, switch-to-buffer-other-window)
21166 (switch-to-buffer-other-frame): Rewrite.
21167 (display-buffer-same-window, display-buffer-same-frame)
21168 (display-buffer-same-frame-other-window)
21169 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21170 (pop-to-buffer-other-window)
21171 (pop-to-buffer-same-frame-other-window)
21172 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21173 (switch-to-buffer-other-window-same-frame): New functions.
21174 (same-window-p, special-display-p): Rewrite disabling warnings.
21176 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21177 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21179 (same-window-buffer-names, same-window-regexps)
21180 (special-display-frame-alist, special-display-popup-frame)
21181 (special-display-function, special-display-buffer-names)
21182 (special-display-regexps, pop-up-frame-alist)
21183 (pop-up-frame-function, split-window-preferred-function)
21184 (split-height-threshold, split-width-threshold)
21185 (even-window-heights): Make obsolete.
21187 2011-06-12 Glenn Morris <rgm@gnu.org>
21189 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21190 Misc simplifications.
21192 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21194 * window.el (window-safely-shrinkable-p): Restore function which
21195 was inadvertently removed in change from 2011-06-11. Declare as
21198 * calendar/calendar.el (calendar-generate-window):
21199 Use window-iso-combined-p instead of combination of one-window-p and
21200 window-safely-shrinkable-p.
21202 2011-06-12 Glenn Morris <rgm@gnu.org>
21204 * progmodes/fortran.el (fortran-mode-syntax-table):
21205 * progmodes/f90.el (f90-mode-syntax-table):
21206 Set % to punctuation. (Bug#8820)
21207 (f90-find-tag-default): Remove, no longer needed.
21209 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21211 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21213 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21215 * image.el (image-animated-p): Return animation delay in seconds.
21216 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21217 (image-animate-timeout): Remove DELAY argument. Don't assume
21218 every subimage has the same delay; get it from image-animated-p.
21219 (image-animate): Caller changed.
21221 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21223 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21224 to ignored backtrace functions.
21226 2011-06-11 Glenn Morris <rgm@gnu.org>
21228 * calendar/appt.el (appt-disp-window-function): Doc fix.
21229 (appt-check): Handle overlapping appointments. (Bug#8337)
21231 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21233 * window.el (window-tree-1, window-tree): New functions, moving
21234 the latter to window.el.
21235 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21236 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21237 (bw-refresh-edges): Remove.
21238 (balance-windows-1, balance-windows-2): New functions.
21239 (balance-windows): Rewrite in terms of window tree functions,
21240 balance-windows-1 and balance-windows-2.
21241 (bw-adjust-window): Remove.
21242 (balance-windows-area-adjust): New function with functionality of
21243 bw-adjust-window but using resize-window.
21244 (set-window-text-height): Rewrite doc-string.
21245 Use normalize-live-window and resize-window.
21246 (enlarge-window-horizontally, shrink-window-horizontally):
21247 Rename argument to DELTA.
21248 (window-buffer-height): New function.
21249 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21250 Rewrite using new window resize routines.
21251 (kill-buffer-and-window, mouse-autoselect-window-select):
21252 Use ignore-errors instead of condition-case.
21253 (quit-window): Call delete-frame instead of delete-windows-on
21254 for the only buffer on frame.
21256 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21258 * loadup.el (top-level): Load window before files for the sake
21259 of replace-buffer-in-windows.
21261 * files.el (read-buffer-to-switch)
21262 (switch-to-buffer-other-window)
21263 (switch-to-buffer-other-frame, display-buffer-other-frame):
21266 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21267 (previous-buffer): Move to window.el.
21269 * bindings.el (unbury-buffer): Move to window.el.
21271 * window.el (delete-other-windows-vertically): Move after
21272 definition of delete-other-windows.
21273 (other-window, delete-windows-on, replace-buffer-in-windows):
21274 Move here from window.c.
21275 (record-window-buffer, unrecord-window-buffer)
21276 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21277 (switch-to-next-buffer): New functions.
21278 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21279 from simple.el. Call switch-to-next-buffer.
21280 (previous-buffer): Move here from simple.el.
21281 Call switch-to-prev-buffer.
21282 (bury-buffer): Move here from buffer.c. Switch to previous
21283 buffer when window cannot be deleted.
21284 (unbury-buffer): Move here from bindings.el.
21285 (ctl-x-map): Move binding for other-window from window.c to
21287 (read-buffer-to-switch, switch-to-buffer-other-window)
21288 (switch-to-buffer-other-frame): Move here from files.el.
21289 (normalize-buffer-to-switch-to): New functions.
21290 (switch-to-buffer): Move here from buffer.c.
21291 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21293 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21295 * window.el (window-min-height, window-min-width): Move here
21296 from window.c. Add defcustoms and rewrite doc-strings.
21297 (resize-mini-window, resize-window): New functions.
21298 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21299 Move here from window.c.
21300 (maximize-window, minimize-window): New functions.
21301 (delete-window, delete-other-windows, split-window): Move here
21303 (window-split-min-size): New function.
21304 (split-window-keep-point): Mention split-window-above-each-other
21305 instead of split-window-vertically.
21306 (split-window-above-each-other, split-window-vertically):
21307 Rename split-window-vertically to split-window-above-each-other
21308 and provide defalias for old definition.
21309 (split-window-side-by-side, split-window-horizontally):
21310 Rename split-window-horizontally to split-window-side-by-side
21311 and provide defalias for the old definition.
21312 (ctl-x-map): Move bindings for delete-window,
21313 delete-other-windows and enlarge-window here from window.c.
21314 Replace bindings for split-window-vertically and
21315 split-window-horizontally by bindings for
21316 split-window-above-each-other and split-window-side-by-side.
21318 * cus-start.el (all): Remove entries for window-min-height and
21319 window-min-width. Add entries for window-splits and
21322 2011-06-09 Glenn Morris <rgm@gnu.org>
21324 * calendar/appt.el (appt-mode-line): New function.
21325 (appt-check, appt-disp-window): Use it.
21327 * files.el (hack-one-local-variable-eval-safep):
21328 Allow minor-modes with explicit +/-1 arguments.
21330 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21332 * term/xterm.el (xterm): Add defgroup.
21333 (xterm-extra-capabilities): Add defcustom to supply known xterm
21334 capabilities, skip querying them, or query them (default).
21335 (terminal-init-xterm): Use it.
21336 (terminal-init-xterm-modify-other-keys): New function to set up
21337 modifyOtherKeys support to simplify `terminal-init-xterm'.
21339 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21341 * window.el (resize-window-reset, resize-window-reset-1)
21342 (resize-subwindows-skip-p, resize-subwindows-normal)
21343 (resize-subwindows, resize-other-windows, resize-this-window)
21344 (resize-root-window, resize-root-window-vertically)
21345 (window-deletable-p, window-or-subwindow-p)
21346 (frame-root-window-p): New functions.
21348 2011-06-09 Glenn Morris <rgm@gnu.org>
21350 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21351 (ange-ftp-get-files): Use it.
21353 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21355 * mail/sendmail.el (mail-recover-1, mail-recover):
21356 * files.el (recover-file, recover-session):
21357 Handle dired-listing-switches not being just a single short option.
21359 2011-06-09 Glenn Morris <rgm@gnu.org>
21361 * calendar/appt.el (appt-display-message, appt-disp-window):
21362 Handle lists of appointments.
21364 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21366 * window.el (one-window-p): Move down in code.
21367 Rewrite doc-string.
21368 (window-current-scroll-bars): Rewrite doc-string.
21369 Normalize live window argument.
21370 (walk-windows, get-window-with-predicate, count-windows):
21371 Rewrite doc-string. Use window-list-1.
21372 (window-in-direction-2, window-in-direction, get-mru-window):
21375 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21377 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21378 Doc fix (Bug#8713).
21380 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21382 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21384 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21386 * loadhist.el (unload-feature-special-hooks):
21387 Add `comint-output-filter-functions'.
21389 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21391 * calendar/appt.el (appt-check): Move some initializations into the let.
21393 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21395 * window.el (window-height): Defalias to window-total-height.
21396 (window-width): Defalias to window-body-width.
21398 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21400 * image-mode.el (image-toggle-animation): New command.
21401 (image-mode-map): Bind it to RET.
21402 (image-mode): Update message.
21403 (image-toggle-display-image): Avoid a spurious cache flush.
21404 (image-transform-rotation): Doc fix.
21405 (image-transform-properties): Return quickly in the normal case.
21406 (image-animate-loop): Rename from image-animate-max-time.
21408 * image.el (image-animate-max-time): Move to image-mode.el.
21409 (create-animated-image): Remove unnecessary function.
21410 (image-animate): Rename from image-animate-start. New arg.
21411 (image-animate-stop): Remove; just use image-animate-timer.
21412 (image-animate-timer): Use car-safe.
21413 (image-animate-timeout): Rename argument.
21415 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21417 * window.el (get-lru-window, get-largest-window): Move here from
21418 window.c. Rename first argument to ALL-FRAMES.
21419 Rephrase doc-strings.
21420 (get-buffer-window-list): Rewrite using window-list-1.
21421 Rephrase doc-string.
21422 (window-safe-min-height, window-safe-min-width): New constants.
21423 (window-size-ignore, window-min-size, window-min-size-1)
21424 (window-sizable, window-sizable-p, window-size-fixed-1)
21425 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21426 (window-max-delta-1, window-max-delta, window-resizable)
21427 (window-resizable-p, window-total-height, window-total-width)
21428 (window-body-width): New functions.
21429 (window-full-height-p, window-full-width-p): Rewrite using
21431 (window-body-height): Rewrite using window-body-size.
21433 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21435 * window.el (window-right, window-left, window-child)
21436 (window-child-count, window-last-child, window-any-p)
21437 (normalize-live-buffer, normalize-live-frame)
21438 (normalize-any-window, normalize-live-window)
21439 (window-iso-combination-p, window-iso-combined-p)
21440 (window-iso-combinations)
21441 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21442 (windows-with-parameter, window-with-parameter)
21443 (window-atom-root, make-window-atom, window-atom-check-1)
21444 (window-atom-check, window-side-check, window-check):
21446 (ignore-window-parameters, window-sides, window-sides-vertical)
21447 (window-sides-slots): New variables.
21448 (window-size-fixed): Move down in code. Minor doc-string fix.
21450 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21452 * comint.el (comint-dynamic-complete-as-filename)
21453 (comint-dynamic-complete-filename): Correctly call
21454 completion-in-region.
21456 2011-06-05 Deniz Dogan <deniz@dogan.se>
21458 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21461 2011-06-05 Deniz Dogan <deniz@dogan.se>
21463 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21464 (rcirc): Use it to prompt for encryption.
21466 2011-06-05 Roland Winkler <winkler@gnu.org>
21468 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21469 (bibtex-search-entries): New command bound to C-c C-a.
21470 (bibtex-display-entries): New function.
21472 2011-06-05 Roland Winkler <winkler@gnu.org>
21474 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21475 (bibtex-insert-kill): After yanking insert newline if necessary.
21476 (bibtex-initialize): Call bibtex-string-files-init only once.
21477 (bibtex-mode): Do not call easy-menu-add.
21478 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21479 (bibtex-yank): Set arg properly if nil.
21481 2011-06-05 Roland Winkler <winkler@gnu.org>
21483 * textmodes/bibtex.el (bibtex-search-entry-globally):
21485 (bibtex-search-entry): Use it.
21487 2011-06-05 Roland Winkler <winkler@gnu.org>
21489 * textmodes/bibtex.el (bibtex-entry-format): New option
21491 (bibtex-format-entry, bibtex-reformat): Honor this option.
21492 (bibtex-parse-entry): Return fields in proper order.
21494 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21496 * doc-view.el (doc-view-remove-if): Move computation of result out
21497 of `dolist' to silence misleading lexical-binding warning.
21499 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21501 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21502 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21504 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21506 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21509 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21511 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21512 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21513 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21514 (tramp-parse-putty):
21515 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21516 (tramp-completion-function-alist-ssh)
21517 (tramp-completion-function-alist-telnet)
21518 (tramp-completion-function-alist-su)
21519 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21522 * net/tramp-ftp.el:
21524 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21525 load "tramp.el" `tramp-set-completion-function'.
21527 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21529 * shell.el: Require and use pcomplete.
21530 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21531 (shell-completion-vars): Set pcomplete-default-completion-function.
21533 2011-06-04 Deniz Dogan <deniz@dogan.se>
21535 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21538 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21540 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21542 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21544 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21545 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21546 * vc/log-view.el (log-view-beginning-of-defun):
21547 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21548 (smerge-refine-forward, smerge-refine-chopup-region):
21549 Silence warning for unused `dotimes' counter variables.
21551 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21553 * net/tramp.el (tramp-with-progress-reporter): Rename from
21554 with-progress-reporter. Use `declare'.
21555 * net/tramp-smb.el:
21557 * net/tramp-gvfs.el: Update all uses.
21559 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21561 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21562 buffer isn't killed before making it current.
21564 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21566 Silence various byte-compiler warnings.
21567 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21568 `access-type' and new obsolescence format.
21569 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21571 (byte-compile-check-variable): New `access-type' argument.
21572 Only warn if the access-type is obsolete.
21573 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21574 (byte-compile-variable-set): Adjust callers.
21575 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21576 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21577 setting it as obsolete.
21578 * simple.el (minibuffer-completing-symbol):
21579 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21580 access as obsolete.
21581 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21583 * international/quail.el (quail-mouse-choose-completion): Remove unused
21584 code referring to obsolete var.
21585 (quail-choose-completion-string): Remove.
21586 * server.el (server-clients-with, server-kill-buffer-query-function)
21587 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21588 * proced.el (proced-send-signal):
21589 * emacs-lisp/lisp.el (lisp-complete-symbol):
21590 Replace completion-annotate-function with completion-extra-properties.
21592 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21594 * simple.el (goto-line): Use read-number.
21595 (overriding-map-is-bound): Remove.
21596 (saved-overriding-map): Change default.
21597 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21598 Take the map as argument.
21599 (universal-argument, negative-argument, digit-argument): Use it.
21600 (restore-overriding-map): Adjust.
21601 (do-auto-fill): Use fill-forward-paragraph.
21602 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21604 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21605 (minibuffer-inactive-mode): New major mode.
21606 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21607 the *Messages* buffer" hack.
21608 (mouse-popup-menubar): Don't burp if the event is a normal key.
21610 Miscellaneous tweaks.
21611 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21612 lexical scoping as in subr.el's dolist and dotimes.
21613 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21614 Silence compiler warning.
21615 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21616 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21617 * international/ccl.el (ccl-compile): Trivial simplification.
21618 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21619 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21620 `printflag' argument.
21621 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21622 Purecopy the whole obsolescence data.
21624 2011-06-01 Leo Liu <sdl.web@gmail.com>
21626 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21627 improve doc-string as suggested by Marco Pessotto
21628 <melmothx@gmail.com>.
21629 (rcirc-print): Fix last change.
21631 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21633 * minibuffer.el (complete-with-action): Return nil for the metadata and
21634 boundaries of non-functional tables.
21635 (completion-table-dynamic): Return nil for the metadata.
21636 (completion-table-with-terminator): Add default case, using
21637 complete-with-action.
21638 (completion--metadata): New function.
21639 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21640 to try and avoid pathological performance problems.
21641 (completion--embedded-envvar-table): Return `category' metadata.
21643 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21645 * subr.el (process-alive-p): New tiny convenience function.
21647 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21649 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21650 content but also its previous major mode.
21652 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21654 * emacs-lisp/debug.el (debug): Restore the previous content of the
21655 *Backtrace* buffer when we exit with C-M-c.
21657 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21659 * minibuffer.el: Add metadata method to completion tables.
21660 (completion-category-overrides): New defcustom.
21661 (completion-metadata, completion--field-metadata)
21662 (completion-metadata-get, completion--styles)
21663 (completion--cycle-threshold): New functions.
21664 (completion-try-completion, completion-all-completions):
21665 Add `metadata' argument to choose completion-styles.
21666 (completion--do-completion): Use metadata to choose cycling.
21667 (completion-all-sorted-completions): Use metadata for sorting.
21668 Remove :completion-cycle-penalty which is not needed any more.
21669 (completion--try-word-completion): Add `metadata' argument.
21670 (minibuffer-completion-help): Check metadata for annotation function
21672 (completion-file-name-table): Return `category' metadata.
21673 (minibuffer-completing-file-name): Make obsolete.
21674 * simple.el (minibuffer-completing-symbol): Make obsolete.
21675 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21676 completion-try-completion.
21678 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21680 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21682 2011-05-30 Leo Liu <sdl.web@gmail.com>
21684 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21685 (rcirc-print): Decode all incoming messages (bug#8744).
21686 (rcirc-decode-coding-system): Allow value nil for automatic coding
21689 2011-06-01 Glenn Morris <rgm@gnu.org>
21691 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21693 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21695 * image.el (image-animate-max-time): Allow nil and t values.
21697 (create-animated-image): Doc fix.
21698 (image-animate-start): Remove second arg; just use
21699 image-animate-max-time.
21700 (image-animate-timeout): Doc fix. Args changed.
21702 * image-mode.el (image-toggle-display-image): Ensure that the
21703 image spec passed to the animate timer is the same object as in
21704 the buffer's display property (Bug#6981).
21705 (image-transform-properties): Doc fix.
21707 * image.el (image-animate-max-time): Default to nil.
21709 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21711 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21712 entire buffer list (Bug#8184).
21714 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21716 * image.el (imagemagick-types-inhibit)
21717 (imagemagick-register-types): Doc fix.
21719 2011-05-29 Deniz Dogan <deniz@dogan.se>
21721 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21724 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21726 * select.el: Don't perform clipboard-manager saving in hooks;
21727 leave the hooks empty.
21729 2011-05-28 Leo Liu <sdl.web@gmail.com>
21731 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21732 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21733 (occur-edit-mode): New major mode (Bug#8463).
21734 (occur-after-change-function): New function.
21735 (occur-engine): Give Occur tags a read-only property.
21737 2011-05-28 Kevin Ryde <user42@zip.com.au>
21739 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21741 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21743 * bindings.el (help-echo): Make the initial non-indicator dash
21744 empty on graphical terminals (Bug#7295).
21746 * files.el (auto-mode-alist): Move config rule after the
21747 in-stripping one (Bug#8547).
21749 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21751 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21752 setting (Bug#8740).
21754 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21756 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21757 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21760 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21762 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21764 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21766 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21767 (hs-hide-block-at-point, hs-find-block-beginning)
21768 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21771 2011-05-28 Glenn Morris <rgm@gnu.org>
21773 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21775 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21777 * help-fns.el (describe-function-1): If the function is a derived
21778 major mode, print the parent mode.
21780 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21781 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21783 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21785 * minibuffer.el (completion--capf-wrapper): Check applicability before
21786 returning non-nil for non-exclusive completion data.
21787 * progmodes/etags.el (tags-completion-at-point-function):
21788 * info-look.el (info-lookup-completions-at-point): Mark as
21790 (info-complete): Adjust accordingly.
21792 * info-look.el: Convert to lexical-binding and completion-at-point.
21793 (info-lookup-completions-at-point): New function.
21794 (info-complete): Use it and completion-in-region.
21796 2011-05-28 Drew Adams <drew.adams@oracle.com>
21798 * isearch.el: Let M-e start with point at the first mismatched char.
21799 (isearch-fail-pos): New function.
21800 (isearch-edit-string): Use it.
21802 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21804 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21806 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21808 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21809 traversal functions for avl-trees.
21810 (avl-tree--stack): New struct.
21811 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21812 (avl-tree-enter): Add optional `updatefun' arg.
21813 (avl-tree--do-enter): Add optional `updatefun' arg.
21814 Change return value.
21815 (avl-tree-delete): Add optional `test' and `nilflag' args.
21816 (avl-tree--do-delete): Add `test' and `nilflag' args.
21817 Change return value.
21818 (avl-tree-member): Add optional `nilflag'
21819 (avl-tree-member-p): New function.
21820 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21821 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21822 (avl-tree-stack-empty-p): New functions.
21824 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21825 avl-tree--del-balance1 and make it work both ways.
21826 (avl-tree--del-balance2): Remove.
21827 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21828 make it work both ways.
21829 (avl-tree--enter-balance2): Remove.
21830 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21832 (avl-tree--mapc, avl-tree-map): Add direction argument.
21834 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21836 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21838 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21840 * select.el: Support clipboard managers with built-in function
21841 x-clipboard-manager-save, via delete-frame-functions and
21843 (xselect-convert-to-targets): Add MULTIPLE target to list.
21844 (xselect-convert-to-save-targets): New function.
21846 2011-05-27 Kenichi Handa <handa@m17n.org>
21848 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21849 let-binding rfc2047-encode-encoded-words to nil.
21851 2011-05-27 Glenn Morris <rgm@gnu.org>
21853 * mail/emacsbug.el: Don't require url-util.
21855 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21857 * files.el (set-auto-mode):
21858 Also respect mode: entries at the end of the file. (Bug#8586)
21860 2011-05-26 Glenn Morris <rgm@gnu.org>
21862 * files.el (hack-local-variables-prop-line, hack-local-variables):
21863 Downcase mode names, as seems to be traditional.
21864 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21866 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21867 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21869 2011-05-25 Julien Danjou <julien@danjou.info>
21871 * textmodes/rst.el (rst-define-level-faces): Do not define face
21872 symbol if it is already defined.
21874 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21876 * play/5x5.el (5x5-new-game, 5x5-randomize):
21877 Reset 5x5-solver-output to nil when a new grid is cast.
21878 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21879 these debugging traces, as defmacro breaks the compiled code.
21881 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21883 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21885 2011-05-24 Leo Liu <sdl.web@gmail.com>
21887 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21888 (vc-bzr-sha1): Adapt.
21890 * sha1.el: Remove. Function `sha1' is now builtin.
21892 * bindings.el: Provide sha1 feature.
21894 2011-05-24 Kenichi Handa <handa@m17n.org>
21896 * mail/sendmail.el: Require `rfc2047'.
21897 (mail-insert-from-field): Do not perform RFC2047 encoding.
21898 (mail-encode-header): New function.
21899 (sendmail-send-it): Set buffer-file-coding-system of the work
21900 buffer to the return value of select-message-coding-system.
21901 Call mail-encode-header.
21903 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21905 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21907 * mail/supercite.el (sc-default-cite-frame):
21908 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21910 2011-05-24 Glenn Morris <rgm@gnu.org>
21912 * progmodes/python.el (brm-menu): Declare.
21914 * emulation/viper.el (viper-set-hooks): Declare.
21916 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21917 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21918 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21919 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21920 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21921 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21923 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21925 Add an :exit-function for completion-at-point.
21927 * minibuffer.el (completion--done): New fun.
21928 (completion--do-completion): Use it. New arg `expect-exact'.
21929 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21930 since completion--do-completion does it for us now.
21931 (minibuffer-force-complete): Use completion--done and
21932 completion--replace. Handle sole-completion case with more care.
21933 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21934 (completion-extra-properties): New var.
21935 (completion-annotate-function): Make obsolete.
21936 (minibuffer-completion-help): Adjust accordingly.
21937 Use completion-list-insert-choice-function.
21938 (completion-at-point, completion-help-at-point):
21939 Bind completion-extra-properties.
21940 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21941 * simple.el (completion-list-insert-choice-function): New var.
21942 (completion-setup-function): Preserve it.
21943 (choose-completion): Pay attention to it, shuffle the code a bit.
21944 (choose-completion-string): New arg `insert-function'.
21946 * textmodes/bibtex.el: Convert to lexical binding.
21947 (bibtex-mode-map): Use completion-at-point.
21948 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21949 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21950 (bibtex-complete): Define as obsolete alias.
21951 (bibtex-complete-internal): Remove.
21952 (bibtex-format-entry): Remove unused sub-group in regexp.
21953 * shell.el (shell--command-completion-data)
21954 (shell-environment-variable-completion):
21955 * pcomplete.el (pcomplete-completions-at-point):
21956 * comint.el (comint--complete-file-name-data): Use :exit-function
21957 instead of completion-table-with-terminator so it also works for
21960 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21962 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21964 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21967 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21969 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21971 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21972 customization variable and implement: If non-nil, auto-fill will
21973 be inhibited while on topic's header line.
21975 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21977 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21978 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21979 always have a solution in grid size = 5 cases.
21980 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21981 (5x5-solver-output, 5x5-log-buffer): New vars.
21982 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21983 Make these variables buffer local to achieve 5x5 multi-session-ness.
21984 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21985 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21986 (5x5-solve-suggest): New funs.
21987 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21988 randomize a grid so that we ensure that there is always a solution.
21989 (5x5-make-random-grid): Allow other movement than flipping.
21991 2011-05-23 Kevin Ryde <user42@zip.com.au>
21993 * emacs-lisp/advice.el (ad-read-advised-function):
21994 Use `function-called-at-point' as the default, if it has
21995 advice and passes PREDICATE.
21997 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21999 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22000 byte-compile-lambda if it's actually a lambda.
22002 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22003 Fix function quoting. Use backquote better.
22005 2011-05-22 Yuanle Song <sylecn@gmail.com>
22007 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22008 matching (Bug#8516).
22010 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22012 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22013 different face (Bug#8178).
22015 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22017 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22018 defface (Bug#8144).
22020 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22022 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22023 funcall as well (bug#8712). Warn when performing those conversions.
22024 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22026 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22028 2011-05-22 Glenn Morris <rgm@gnu.org>
22030 * files.el (hack-local-variables-prop-line): Small simplifications.
22031 (hack-local-variables, hack-local-variables-prop-line):
22032 If MODE-ONLY, return the mode, rather than just `t'.
22034 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22036 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22038 2011-05-21 Glenn Morris <rgm@gnu.org>
22040 * files.el (hack-local-variables-prop-line, hack-local-variables):
22041 If only interested in the mode, don't bother doing the other stuff.
22043 * image-mode.el (image-after-revert-hook):
22044 Redraw all frames on which the image is visible. (Bug#8567)
22046 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22048 * wid-edit.el (widget-checklist-match-inline):
22049 Fix 2011-04-19 change. (Bug#8649)
22051 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22053 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22054 Also allow singlespace after single-letter capitals followed by a dot.
22056 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22057 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22059 2011-05-20 Nix <nix@esperi.org.uk>
22061 * files.el (basic-save-buffer-2):
22062 Fix handling of break-hardlink-on-save with non-existent files.
22064 2011-05-19 Deniz Dogan <deniz@dogan.se>
22066 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22067 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22069 2011-05-19 Glenn Morris <rgm@gnu.org>
22071 * progmodes/f90.el (f90-type-def-re):
22072 Handle "type, bind(c)". (Bug#8691)
22074 * emacs-lisp/autoload.el (batch-update-autoloads):
22075 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22077 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22079 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22080 property for the correct connection in case of multihops.
22082 2011-05-18 Glenn Morris <rgm@gnu.org>
22084 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22085 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22087 Rationalize calendar handling of day and month abbrev-arrays.
22088 * calendar/calendar.el (calendar-customized-p): New function.
22089 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22090 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22092 (calendar-abbrev-length, calendar-day-abbrev-array)
22093 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22094 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22095 Elements may no longer be nil.
22096 (calendar-day-name, calendar-month-name):
22097 Update for changed nature of abbrev arrays.
22098 * calendar/diary-lib.el (diary-name-pattern):
22099 Update for changed nature of abbrev arrays.
22100 (diary-mark-entries-1): Update calendar-make-alist calls.
22101 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22102 * calendar/cal-html.el (cal-html-day-abbrev-array):
22103 Simply inherit from calendar-day-abbrev-array.
22105 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22107 * progmodes/grep.el (grep-mode): Disable default
22108 compilation-directory-matcher setting (bug#8684).
22110 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22112 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22113 instead of "head" and "tail". There were problems with SunOS 5.9,
22114 and it performs better.
22116 2011-05-17 Glenn Morris <rgm@gnu.org>
22118 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22120 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22121 Replace obsolete function.
22123 * shell.el (pcomplete-parse-arguments-function): Declare.
22125 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22126 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22127 (appt-check): Doc fixes.
22128 (appt-disp-window-function, appt-delete-window-function):
22129 Remove needless special case in custom :type.
22130 (appt-display-count): Default to 0, not nil.
22131 (appt-check): Reset appt-display-count to 0, not nil.
22133 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22135 * progmodes/python.el (python-font-lock-keywords):
22136 Add the Python 3.X keyword "nonlocal" (bug#8639).
22138 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22140 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22142 2011-05-16 Kevin Ryde <user42@zip.com.au>
22144 * info-look.el (makefile-automake-mode): New setups, looking in
22145 automake manual, then makefile-mode.
22146 (makefile-mode): Remove automake manual, have it just in
22147 makefile-automake-mode since there's various things different or
22148 not relevant to plain make.
22149 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22150 believe a hypothetical automake-mode would go to makefile-mode,
22151 not the other way around.
22153 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22155 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22156 hunk-end tags (Bug#8672).
22158 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22159 vc-annotate-show-diff-revision-at-line (Bug#8671).
22161 2011-05-14 Glenn Morris <rgm@gnu.org>
22163 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22164 in the middle of an existing one with multiple authors. (Bug#8645)
22165 (change-log-font-lock-keywords): Also handle multiple author lines
22166 with leading tabs. (Bug#8644)
22168 * calendar/appt.el (appt-check): Rename some local variables.
22169 Some simplification/reordering.
22171 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22172 (feedmail-sendmail-f-doesnt-sell-me-out)
22173 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22174 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22175 (feedmail-queue-runner-message-sender): Set :version.
22176 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22177 (bbdb-dwim-net-address, vm-mail): Declare.
22178 (feedmail-binmail-gnulinuxish-template):
22179 Rename from feedmail-binmail-linuxish-template.
22180 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22181 Use insert-buffer-substring.
22183 2011-05-14 Bill Carpenter <bill@carpenter.org>
22185 * mail/feedmail.el (feedmail-patch-level): Increase.
22186 (feedmail-debug): New custom group.
22187 (feedmail-confirm-outgoing-timeout)
22188 (feedmail-sendmail-f-doesnt-sell-me-out)
22189 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22190 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22191 (feedmail-sender-line, feedmail-from-line)
22192 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22193 (feedmail-spray-this-address)
22194 (feedmail-spray-address-fiddle-plex-list)
22195 (feedmail-queue-use-send-time-for-date)
22196 (feedmail-queue-use-send-time-for-message-id)
22197 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22198 (feedmail-buffer-eating-function):
22200 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22201 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22202 (feedmail-message-action-scroll-down): New functions.
22203 (feedmail-queue-directory, feedmail-queue-draft-directory):
22204 Use expand-file-name.
22205 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22206 Remove C-v help entry.
22207 (feedmail-queue-buffer-file-name): New variable.
22208 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22209 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22210 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22211 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22212 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22213 (feedmail-message-action-toggle-spray)
22214 (feedmail-run-the-queue-no-prompts)
22215 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22216 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22217 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22218 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22219 (feedmail-envelope-deducer, feedmail-fiddle-from)
22220 (feedmail-fiddle-sender, feedmail-default-date-generator)
22221 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22222 (feedmail-fiddle-spray-address)
22223 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22224 (feedmail-fiddle-list-of-fiddle-plexes)
22225 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22226 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22227 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22228 Change default. Doc fix.
22229 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22230 (feedmail-binmail-linuxish-template): New constant.
22231 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22232 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22233 (feedmail-send-it): Add debug call.
22234 Use feedmail-queue-buffer-file-name, and
22235 feedmail-send-it-immediately-wrapper.
22236 (feedmail-message-action-send): Add debug call.
22237 Use feedmail-send-it-immediately-wrapper.
22238 (feedmail-queue-express-to-queue): Add debug call.
22239 Run feedmail-queue-express-hook.
22240 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22241 (feedmail-message-action-help-blat):
22242 Rename from feedmail-queue-send-edit-prompt-help-first.
22243 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22244 Check line-endings. Handle errors better.
22245 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22246 Doc fix. Add debug call.
22247 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22248 Use feedmail-queue-send-edit-prompt-inner.
22249 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22250 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22251 from feedmail-queue-send-edit-prompt.
22252 (feedmail-queue-send-edit-prompt-help)
22253 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22254 (feedmail-tidy-up-slug): Add debug call.
22255 Respect feedmail-queue-slug-suspect-regexp.
22256 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22257 (feedmail-dump-message-to-queue): Add debug call.
22258 Expand queue-directory.
22259 (feedmail-dump-message-to-queue): Change message slightly.
22260 Use feedmail-say-chatter.
22261 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22262 (feedmail-send-it-immediately-wrapper): New function.
22263 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22264 Insert empty string rather than newline. Handle full-frame case.
22265 Use catch/throw. Use feedmail-say-chatter.
22266 (feedmail-fiddle-from): Try mail-host-address.
22267 (feedmail-default-message-id-generator): Doc fix.
22268 Bind system-time-locale. Handle missing end.
22269 (feedmail-fiddle-x-mailer): Add debug call.
22270 Handle feedmail-x-mailer-line being nil.
22271 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22272 Add debug call. Use buffer-substring-no-properties.
22273 (feedmail-say-debug, feedmail-say-chatter): New functions.
22274 (feedmail-find-eoh): Give an explicit error.
22276 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22278 * net/newst-treeview.el (newsticker-treeview-face): Change default
22279 family from helvetica to sans.
22280 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22281 etc/images/newsticker.
22283 * net/newst-reader.el (newsticker-feed-face): Change default
22284 family from helvetica to sans.
22286 * net/newst-plainview.el (newsticker-new-item-face)
22287 (newsticker-old-item-face, newsticker-immortal-item-face)
22288 (newsticker-obsolete-item-face, newsticker-date-face)
22289 (newsticker-statistics-face): Change default family from
22291 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22292 etc/images/newsticker.
22294 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22295 (newsticker--process-auto-mark-filter-match): Tell user about
22298 2011-05-13 Didier Verna <didier@xemacs.org>
22300 Common Lisp indentation improvements on defmethod and lambda-lists.
22301 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22303 (lisp-lambda-list-keyword-parameter-indentation)
22304 (lisp-lambda-list-keyword-parameter-alignment)
22305 (lisp-lambda-list-keyword-alignment): New customizable user options.
22306 (lisp-indent-defun-method): Improve docstring.
22307 (extended-loop-p): Fix comment.
22308 (lisp-indent-lambda-list-keywords-regexp): New variable.
22309 (lisp-indent-lambda-list): New function.
22310 (lisp-indent-259): Use it.
22311 (lisp-indent-defmethod): Support for more than one
22312 method qualifier and properly indent methods lambda-lists.
22313 (defgeneric): Provide a missing common-lisp-indent-function property.
22315 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22317 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22318 bounds for the empty string (bug#8667).
22320 2011-05-13 Glenn Morris <rgm@gnu.org>
22322 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22324 * mail/sendmail.el (sendmail-program): Try executable-find first.
22325 (sendmail-send-it): `sendmail-program' cannot be unbound.
22327 * calendar/appt.el (appt-make-list): Simplify.
22328 (appt-time-msg-list): Doc fix.
22329 (appt-check): Change mode-line message at the time of the appointment.
22331 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22333 * progmodes/ld-script.el (ld-script-keywords)
22334 (ld-script-builtins): Update keywords list.
22336 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22338 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22340 * shell.el (shell-completion-vars): New function.
22342 * simple.el (read-shell-command): Use it.
22343 (blink-matching-open): No need for " [...]" in minibuffer-message.
22345 2011-05-12 Glenn Morris <rgm@gnu.org>
22347 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22348 (appt-check): Simplify.
22350 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22352 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22353 literal "/dev/null".
22355 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22357 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22360 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22362 * progmodes/which-func.el (which-function):
22363 Use add-log-current-defun instead of add-log-current-defun-function,
22364 which might not be defined (Bug#8260).
22366 2011-05-12 Glenn Morris <rgm@gnu.org>
22368 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22369 Let byte-compile-initial-macro-environment always take precedence.
22371 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22373 * net/rcirc.el: Add support for SSL/TLS connections.
22374 (rcirc-server-alist): New field `encryption'.
22375 (rcirc): Check `encryption' settings.
22376 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22377 Merge make-local-variable into `set'.
22378 (rcirc--connection-open-p): New function.
22379 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22380 the process is not a network process (e.g. running gnutls-cli).
22381 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22382 Make rcirc-(en|de)code-coding-system local here.
22383 (rcirc-mode): Merge make-local-variable into `set'.
22384 (rcirc-parent-buffer): Make permanent buffer-local.
22385 (rcirc-multiline-minor-mode): Don't do it here.
22386 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22387 there's no server buffer.
22389 2011-05-11 Glenn Morris <rgm@gnu.org>
22391 * newcomment.el (comment-kill): Prefix "unused" local.
22393 * term/w32console.el (get-screen-color): Declare.
22395 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22396 Handle symbol elements of byte-compile-initial-macro-environment.
22398 2011-05-10 Leo Liu <sdl.web@gmail.com>
22400 * bookmark.el (bookmark-bmenu-mode-map):
22401 Bind bookmark-bmenu-search to `/'.
22403 * mail/footnote.el: Convert to utf-8 encoding.
22404 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22405 (Footnote-unicode): New function.
22406 (footnote-style-alist): Add unicode style to the list.
22407 (footnote-style): Doc fix.
22409 2011-05-10 Jim Meyering <meyering@redhat.com>
22411 Fix doubled-word typos.
22412 * international/quail.el (quail-insert-kbd-layout): and and -> and
22413 * kermit.el: and and -> and
22414 * net/ldap.el (ldap-search-internal): to to -> to
22415 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22416 * progmodes/js.el (js-mode): and and -> and
22417 * textmodes/artist.el (artist-move-to-xy): at at -> at
22418 (artist-draw-region-trim-line-endings): if if -> if
22419 And Safetyc -> Safety.
22420 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22422 2011-05-10 Glenn Morris <rgm@gnu.org>
22423 Stefan Monnier <monnier@iro.umontreal.ca>
22425 * files.el (hack-one-local-variable-eval-safep):
22426 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22428 2011-05-10 Glenn Morris <rgm@gnu.org>
22430 * calendar/diary-lib.el (diary-list-entries-hook)
22431 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22432 (diary-nongregorian-marking-hook, diary-list-entries)
22433 (diary-include-other-diary-files, diary-mark-entries)
22434 (diary-mark-included-diary-files): Doc fixes.
22436 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22438 * misc.el: Require tabulated-list.el during compilation.
22440 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22442 * progmodes/compile.el (compilation-start):
22443 Run compilation-filter-hook for the async case too.
22444 (compilation-filter-hook): Doc fix.
22446 2011-05-09 Deniz Dogan <deniz@dogan.se>
22448 * wdired.el: Remove outdated installation comment. Fix usage
22451 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22453 * misc.el: Implement new command `list-dynamic-libraries'.
22454 (list-dynamic-libraries--loaded-only-p): New variable.
22455 (list-dynamic-libraries--refresh): New function.
22456 (list-dynamic-libraries): New command.
22458 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22461 Fix the ant regexp to handle end-line and end-column info from jikes.
22462 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22463 higher priority to avoid clobbering by gnu.
22465 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22467 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22468 if the face has existing theme settings (Bug#8454).
22470 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22472 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22473 Only match variables declared via `my' or `our' (Bug#8261).
22475 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22476 special file names `.' and `..' (Bug#8259).
22478 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22480 * progmodes/grep.el (grep-mode-font-lock-keywords):
22481 Remove buffer-changing entries.
22482 (grep-filter): New function.
22483 (grep-mode): Add it to compilation-filter-hook.
22485 * progmodes/compile.el (compilation-filter-hook)
22486 (compilation-filter-start): New defvars.
22487 (compilation-filter): Call compilation-filter-hook prior to
22488 updating the process mark.
22490 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22492 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22494 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22496 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22497 mailclient-send-it even if window-system is nil. (Bug#8595)
22499 * term/w32console.el (terminal-init-w32console):
22500 Call get-screen-color and use its output to set the frame
22501 background-mode. (Bug#8597)
22503 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22505 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22506 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22508 (defgeneric, eieio--defmethod): Use them.
22509 (eieio-defgeneric): Remove.
22510 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22512 2011-05-07 Glenn Morris <rgm@gnu.org>
22514 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22515 Use let rather than let*.
22516 (timeclock-find-discrep): Remove unused local.
22518 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22520 * calendar/appt.el (appt-time-msg-list): Doc fix.
22522 2011-05-06 Noah Friedman <friedman@splode.com>
22524 * apropos.el (apropos-print-doc): Only use
22525 emacs-lisp-docstring-fill-column when it is bound to an integer,
22526 per that variable's documentation.
22528 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22530 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22531 and warnings are not silently discarded (e.g. use -d instead of -P).
22533 2011-05-06 Glenn Morris <rgm@gnu.org>
22535 * calendar/appt.el (appt-message-warning-time): Doc fix.
22536 (appt-warning-time-regexp): New option.
22537 (appt-make-list): Respect appt-message-warning-time.
22539 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22541 (diary-add-to-list): Strip comments from the displayed string.
22542 (diary-mode): Set comment-start and comment-end.
22544 * vc/diff-mode.el (smerge-refine-subst): Declare.
22545 (diff-refine-hunk): Don't require smerge-mode when compiling.
22547 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22549 * simple.el (list-processes): Return nil as the docstring says.
22551 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22553 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22555 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22556 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22557 determining of binary transfer. (Bug#7383)
22559 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22562 Fix port computation bug. (Bug#8618)
22564 2011-05-05 Glenn Morris <rgm@gnu.org>
22566 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22568 * simple.el (shell-dynamic-complete-functions)
22569 (comint-dynamic-complete-functions): Declare.
22571 * net/network-stream.el (gnutls-negotiate):
22572 * simple.el (tabulated-list-print): Fix declarations.
22574 * progmodes/gud.el (syntax-symbol, syntax-point):
22575 Remove unnecessary and incorrect declarations.
22577 * emacs-lisp/check-declare.el (check-declare-scan):
22578 Handle byte-compile-initial-macro-environment in bytecomp.el.
22580 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22582 Fix earlier half-done eieio-defmethod change (bug#8338).
22583 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22584 Streamline and change calling convention.
22585 (defmethod): Adjust accordingly and simplify.
22586 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22587 new eieio--defmethod.
22588 (slot-boundp): Minor CSE simplification.
22590 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22592 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22593 (glasses-make-readable): Use glasses-separate-capital-groups.
22595 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22597 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22598 (warning-series): Doc fix.
22599 (display-warning): Don't try to create the buffer if we just found it.
22601 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22603 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22604 (autoload-find-generated-file): New function.
22605 (generate-file-autoloads): Bind generated-autoload-file to
22607 (update-file-autoloads, update-directory-autoloads):
22608 Use autoload-find-generated-file. If called interactively, prompt for
22609 output file (Bug#7989).
22610 (batch-update-autoloads): Doc fix.
22612 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22614 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22616 2011-05-04 Glenn Morris <rgm@gnu.org>
22618 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22619 function, so it follows changes in calendar-date-style.
22620 (diary-fancy-date-matcher): New function.
22621 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22622 (diary-fancy-font-lock-fontify-region-function):
22623 Use diary-fancy-date-pattern as a function.
22625 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22626 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22628 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22630 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22631 instead of positional arguments. Allow :keylist and :crlfiles
22633 (open-gnutls-stream): Call it.
22635 * net/network-stream.el (network-stream-open-starttls): Adjust to
22636 call `gnutls-negotiate' with :process and :hostname arguments.
22638 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22640 * minibuffer.el (completion--message): New function.
22641 (completion--do-completion, minibuffer-complete)
22642 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22643 (completion--do-completion): Don't ignore completion-auto-help when in
22646 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22647 internal encoding (e.g. tibetan zero is not whitespace).
22648 (global-whitespace-mode): Prefer save-current-buffer.
22649 (whitespace-trailing-regexp): Remove useless save-match-data.
22650 (whitespace-empty-at-bob-regexp): Minor simplification.
22652 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22654 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22656 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22658 * textmodes/ispell.el (ispell-add-per-file-word-list):
22659 Use `concat' to create string for insertion.
22661 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22663 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22664 Avoid open-line which runs post-self-insert-hook.
22665 (bibtex-fill-entry): Remove unused `end' var.
22667 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22669 * textmodes/ispell.el (ispell-add-per-file-word-list):
22670 Protect against `nil' value of `comment-start' (Bug#8579).
22672 2011-05-03 Leo Liu <sdl.web@gmail.com>
22674 * isearch.el (isearch-yank-pop): New command.
22675 (isearch-mode-map): Bind it to `M-y'.
22676 (isearch-forward): Mention it.
22678 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22680 * simple.el (minibuffer-complete-shell-command): Remove.
22681 (minibuffer-local-shell-command-map): Use completion-at-point.
22682 (read-shell-command): Setup completion vars here instead.
22683 (read-expression-map): Bind TAB to symbol completion.
22685 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22686 error directly rather via storing it into `results'.
22688 2011-05-02 Leo Liu <sdl.web@gmail.com>
22690 * vc/diff.el: Fix description.
22692 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22694 * server.el (server-eval-at): New function.
22696 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22698 * net/network-stream.el (open-network-stream): Take a :nowait
22699 parameter and pass it on to `make-network-process'.
22700 (network-stream-open-plain): Ditto.
22702 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22704 * faces.el (face-spec-set-match-display): Don't match toolkit
22705 options on terminal frames.
22707 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22709 * progmodes/pascal.el: Use lexical binding.
22710 (pascal-mode-map): Remove author preferences.
22712 * pcomplete.el (pcomplete-std-complete): Don't abuse
22713 completion-at-point.
22715 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22717 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22718 removing code that has been dead since 1991 or so.
22720 * startup.el (command-line): When warning about "_emacs", use a
22721 delayed warning to allow the user to filter it out.
22723 2011-04-28 Deniz Dogan <deniz@dogan.se>
22725 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22726 user has not joined.
22728 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22730 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22731 aren't any completions at point.
22733 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22735 * subr.el (display-delayed-warnings): New function.
22736 (delayed-warnings-hook): New variable.
22738 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22740 * minibuffer.el (completion-at-point, completion-help-at-point):
22741 Don't presume that a given completion-at-point-function will always
22742 use the same calling convention.
22744 * pcomplete.el (pcomplete-completions-at-point):
22745 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22746 pcomplete-seen is non-nil.
22747 (pcomplete-comint-setup): Also recognize the new comint/shell
22748 completion functions.
22749 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22750 pcomplete-seen is non-nil.
22752 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22754 * calendar/icalendar.el (diary-lib): Add require statement.
22755 (icalendar--create-uid): Read out a uid from a text-property on
22756 the first character in the entry. This allows for code to add its
22757 own uid to the entry.
22758 (icalendar--convert-float-to-ical): Add export of
22759 `diary-float'-entries save for those with the optional DAY
22762 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22764 * subr.el (shell-quote-argument): Use alternate escaping strategy
22765 when we spot a variable reference in a string.
22767 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22769 * cus-start.el (all): Define customization for debug-on-event.
22771 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22773 * subr.el (shell-quote-argument): Escape correctly under Windows.
22775 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22777 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22779 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22781 * net/tramp.el (tramp-process-actions): Add POS argument.
22782 Delete region between POS and (pos).
22784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22785 Use `nil' position in `tramp-process-actions' call.
22786 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22788 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22789 position in `tramp-process-actions' call.
22791 * net/trampver.el: Update release number.
22793 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22795 * custom.el (defcustom): Obey lexical-binding.
22797 Fix octave-inf completion problems reported by Alexander Klimov.
22798 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22799 Inherit from octave-mode-syntax-table.
22800 (inferior-octave-mode): Set info-lookup-mode.
22801 (inferior-octave-completion-at-point): New function.
22802 (inferior-octave-complete): Use it and completion-in-region.
22803 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22804 comint-filename-completion.
22805 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22806 symbol elements which shouldn't be word elements.
22807 (octave-font-lock-keywords, octave-beginning-of-defun)
22808 (octave-function-header-regexp): Adjust regexps accordingly.
22809 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22811 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22813 * net/gnutls.el (gnutls-errorp): Declare before first use.
22815 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22817 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22818 verify-error, and verify-hostname-error parameters. Check whether
22819 default trustfile exists before going to use it. Add missing
22820 argument to gnutls-message-maybe call. Return value.
22821 Reported by Claudio Bley <claudio.bley@gmail.com>.
22822 (open-gnutls-stream): Add usage example.
22824 * net/network-stream.el (network-stream-open-starttls): Give host
22825 parameter to `gnutls-negotiate'.
22826 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22827 * subr.el (shell-quote-argument): Escape correctly under Windows.
22829 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22831 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22832 Use correct match group (bug#8438).
22834 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22836 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22837 (package-menu--generate): New arg specifying packages to show.
22838 (package-menu-refresh, package-menu-execute, list-packages):
22840 (package-show-package-list): New function, replacing deleted
22841 package--list-packages (renamed because it is non-internal).
22843 * finder.el (finder-list-matches): Use package-show-package-list
22844 instead of deleted package--list-packages.
22846 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22847 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22848 (vc-annotate-mode-map): Bind it to RET.
22850 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22852 * progmodes/etags.el (next-file): Don't use set-buffer to change
22853 buffers (Bug#8478).
22855 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22857 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22859 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22860 (apropos-accumulator): Doc fix.
22861 (apropos-function, apropos-macro, apropos-command)
22862 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22863 (apropos-plist): Add face property.
22864 (apropos-symbols-internal): Fix indentation.
22865 (apropos-print): Simplify help, and recognize apropos-multi-type.
22866 (apropos-print-doc): Use button-type-get to extract the button's
22867 face property. Fill docstring (Bug#8352).
22869 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22871 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22873 * play/mpuz.el (mpuz-silent): Doc fix.
22874 (mpuz-mode-map): Use mapc.
22875 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22876 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22877 Fix typos in docstrings.
22879 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22880 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22882 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22884 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22886 * minibuffer.el (completion--do-completion): Avoid the "Next char
22887 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22889 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22890 mouse-2 into unread-command-events, it is interpreted correctly.
22892 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22893 (image-toggle-display): Doc fix.
22895 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22897 * textmodes/page.el (what-page): Use line-number-at-pos to
22898 calculate line number (Bug#6825).
22900 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22902 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22903 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22904 Pass argument NO-DEFAULT to `find-tag-interactive'.
22906 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22908 Lexical-binding cleanup.
22910 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22911 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22912 * progmodes/ada-prj.el (ada-prj-initialize-values)
22913 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22914 (ada-prj-show-value):
22915 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22916 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22917 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22918 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22919 * progmodes/bug-reference.el (bug-reference-push-button):
22920 * progmodes/fortran.el (fortran-line-length):
22921 * progmodes/glasses.el (glasses-change):
22922 * progmodes/octave-mod.el (octave-fill-paragraph):
22923 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22924 (python-pdbtrack-grub-for-buffer, python-sentinel):
22925 * progmodes/sql.el (sql-save-connection):
22926 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22927 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22928 Mark unused parameters.
22930 * progmodes/compile.el (compilation--flush-directory-cache)
22931 (compilation--flush-parse, compile-internal): Mark unused parameters.
22932 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22933 (compilation-next-error-function): Remove unused variable `timestamp'.
22935 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22936 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22938 * progmodes/dcl-mode.el (dcl-end-of-command):
22939 Remove unused variable `start'.
22940 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22941 (dcl-option-value-basic, dcl-option-value-offset)
22942 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22943 Mark unused parameters.
22944 (dcl-save-local-variable): Remove unused variable `val'.
22947 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22948 Mark unused parameters.
22949 (delphi-ignore-changes): Move before first use.
22950 (delphi-charset-token-at): Remove unused variable `start'.
22951 (delphi-else-start): Remove unused variable `if-count'.
22952 (delphi-comment-block-start, delphi-comment-block-end):
22953 Remove unused variable `kind'.
22954 (delphi-indent-line): Remove unused variable `new-point'.
22956 * progmodes/ebrowse.el (ebrowse-files-list)
22957 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22958 Mark unused parameters. Don't quote `lambda'.
22959 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22960 Don't quote `lambda'.
22961 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22962 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22963 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22964 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22965 Use `ignore-errors'.
22966 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22967 (ebrowse-view/find-file-and-search-pattern)
22968 (ebrowse-view/find-member-declaration/definition):
22969 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22970 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22971 Rename parameter PREFIX-ARG to PREFIX.
22972 (ebrowse-tags-read-name): Remove unused variables `start' and
22974 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22977 * progmodes/etags.el (local-find-tag-hook): Declare.
22978 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22979 Mark unused parameters.
22981 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22982 (executable-interpret): Mark unused parameter.
22984 * progmodes/flymake.el (flymake-process-sentinel)
22985 (flymake-after-change-function)
22986 (flymake-create-temp-with-folder-structure)
22987 (flymake-get-include-dirs-dot): Mark unused parameters.
22988 (flymake-safe-delete-directory): Remove unused variable `err'.
22990 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22991 (speedbar-timer-fn, speedbar-line-text)
22992 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22993 (speedbar-center-buffer-smartly): Declare functions.
22994 (gdb-find-watch-expression): Remove unused variable `array'.
22995 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22996 (gdb-starting): Mark unused parameters.
22997 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22998 (gdb-table-string): Remove unused variable `res'.
22999 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23000 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23001 (gdb-display-buffer): Remove unused variable `cur-size'.
23003 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23004 allow lexical-binding compilation.
23005 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23006 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23007 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23008 Mark unused parameters.
23009 (gud-gdb-marker-filter): Remove unused variable `match'.
23010 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23011 lambda expressions and funcall them, instead of using `fset'.
23013 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23014 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23016 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23017 variable `header-beg'; use `let'.
23019 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23020 `restart', `last-sexp' and `at-do'.
23022 * progmodes/js.el (js--debug): Mark unused parameter.
23023 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23024 (js--splice-into-items): Remove unused variable `item'.
23025 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23027 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23028 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23029 (makefile-complete): Remove unused variable `try'.
23030 (makefile-fill-paragraph, makefile-match-function-end):
23031 Mark unused parameters.
23033 * progmodes/octave-inf.el (inferior-octave-complete):
23034 Remove unused variable `proc'.
23035 (inferior-octave-output-digest): Mark unused parameter.
23037 * progmodes/perl-mode.el (perl-calculate-indent):
23038 Remove unused variable `err'.
23040 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23041 (prolog-indent-line): Mark unused parameters.
23042 (prolog-indent-line): Remove unused variable `beg'.
23044 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23045 (reporter-dont-compact-list): Declare.
23047 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23048 Remove unused variable `char'.
23049 (sh-debug): Mark unused parameter.
23050 (sh-get-indent-info): Remove unused variable `start'.
23051 (sh-calculate-indent): Remove unused variable `var'.
23053 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23054 (simula-electric-keyword): Remove unused variable `null'.
23055 (simula-search-backward, simula-search-forward): Remove unused
23056 variables `begin' and `end'.
23058 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23059 Remove unused variable `pos'.
23060 (vera-electric-tab, vera-comment-uncomment-region):
23061 Mark unused parameters.
23062 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23064 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23066 * emacs-lisp/package.el (package--builtins, package-alist)
23067 (package-load-descriptor, package-built-in-p, package-activate)
23068 (define-package, package-installed-p)
23069 (package-compute-transaction, package-buffer-info)
23070 (package--push): Doc fix. Distinguish more clearly between
23071 version strings and version lists.
23073 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23075 Lexical-binding cleanup.
23077 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23078 (5x5-make-mutate-best):
23079 * play/fortune.el (fortune-in-buffer):
23080 * play/gomoku.el (gomoku-init-display):
23081 * play/solitaire.el (solitaire, solitaire-do-check):
23082 * play/tetris.el (tetris-default-update-speed-function):
23083 Mark unused parameters.
23085 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23086 (bubbles--shift): Remove unused variable `char-org'.
23087 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23088 (bubbles--show-images): Remove unused variable `char'.
23090 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23091 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23092 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23093 (decipher-analyze-buffer): Use ?\s.
23094 (decipher-make-checkpoint): Remove unused variable `mapping'.
23096 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23098 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23099 Remove unused variable `result'; use `let'.
23101 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23102 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23103 (gametree-children-shown-p, gametree-compute-reduced-score):
23104 Use `ignore-errors'.
23106 * play/handwrite.el (ps-lpr-switches): Declare.
23107 (handwrite): Remove unused variables `pmin' and `lastp'.
23109 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23111 * play/landmark.el (landmark-init-display)
23112 (landmark-update-naught-weights): Mark unused parameters.
23113 (landmark-y): Remove unused variable `noise'. Simplify.
23114 (landmark-human-plays): Remove unused variable `score'.
23116 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23117 (mpuz-try-proposal): Remove unused variable `game'.
23119 * play/zone.el (life-patterns): Declare.
23121 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23123 * vc/vc.el (ediff-vc-internal): Declare function.
23125 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23127 * shell.el: Use lexical-binding and std completion UI.
23128 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23129 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23130 comint-preoutput-filter-functions rather than on
23131 comint-output-filter-functions.
23132 (shell-command-completion, shell--command-completion-data)
23133 (shell-filename-completion, shell-environment-variable-completion)
23134 (shell-c-a-p-replace-by-expanded-directory): New functions.
23135 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23136 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23137 (shell-dynamic-complete-environment-variable): Use them.
23138 (shell-dynamic-complete-as-environment-variable)
23139 (shell-dynamic-complete-as-command): Remove.
23140 (shell-match-partial-variable): Match past point.
23141 * comint.el: Clean up use of completion-at-point-functions.
23142 (comint-completion-at-point): New function.
23143 (comint-mode): Use it completion-at-point-functions.
23144 (comint-dynamic-complete): Make it obsolete.
23145 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23146 (comint-c-a-p-replace-by-expanded-history): New function.
23147 (comint-dynamic-complete-functions)
23148 (comint-replace-by-expanded-history): Use it.
23149 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23150 termination strings. Try harder to avoid second try-completion.
23151 (completion-in-region-mode-map): Disable bindings that don't work yet.
23153 * comint.el: Use lexical-binding. Require CL.
23154 (comint-dynamic-complete-functions): Use comint-filename-completion.
23155 (comint-completion-addsuffix): Tweak custom type.
23156 (comint-filename-completion, comint--common-suffix)
23157 (comint--common-quoted-suffix, comint--table-subvert)
23158 (comint--complete-file-name-data): New functions.
23159 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23160 (comint-dynamic-list-filename-completions): Use them.
23161 (comint-dynamic-simple-complete): Make obsolete.
23163 * minibuffer.el (completion-in-region-mode):
23164 Keep completion-in-region-mode--predicate global.
23165 (completion-in-region--postch):
23166 Assume completion-in-region-mode--predicate is not null.
23168 * progmodes/flymake.el (flymake-start-syntax-check-process):
23169 Obey `dir'. Simplify.
23171 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23172 we're in VC after all.
23174 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23176 * vc/vc.el (vc-diff-build-argument-list-internal)
23177 (vc-version-ediff, vc-ediff): New commands.
23178 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23180 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23182 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23185 * obsolete/erc-hecomplete.el: Make obsolete.
23186 * obsolete/: Standardize obsolescence info in the header.
23188 2011-04-20 Glenn Morris <rgm@gnu.org>
23190 * calendar/solar.el (solar-horizontal-coordinates):
23191 Use the longitude argument rather than `calendar-longitude'.
23192 (solar-date-next-longitude): Remove unused locals.
23194 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23196 * whitespace.el: New version 13.2.1.
23198 2011-04-20 felix <EmacsWiki> (tiny change)
23200 * whitespace.el (global-whitespace-mode): Keep highlight when
23201 switching between major modes on a file.
23203 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23205 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23206 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23207 multi-line comments as well.
23209 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23211 Lexical-binding cleanup.
23213 * arc-mode.el (archive-mode-revert):
23214 * cmuscheme.el (scheme-interactively-start-process):
23215 * custom.el (custom-initialize-delay):
23216 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23217 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23218 * emacs-lock.el (emacs-lock-clear-sentinel):
23219 * ezimage.el (defezimage):
23220 * follow.el (follow-avoid-tail-recenter):
23221 * fringe.el (set-fringe-mode-1):
23222 * generic-x.el (bat-generic-mode-compile):
23223 * help-mode.el (help-info-variable, help-do-xref)
23224 (help-mode-revert-buffer):
23225 * help.el (view-emacs-todo):
23226 * iswitchb.el (iswitchb-completion-help):
23227 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23228 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23229 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23230 * locate.el (locate-update):
23231 * longlines.el (longlines-encode-region)
23232 (longlines-after-change-function):
23233 * outline.el (outline-isearch-open-invisible):
23234 * ps-def.el (declare-function, charset-dimension, char-width)
23236 * ps-mule.el (ps-mule-plot-string):
23237 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23238 (recentf-edit-list-select, recentf-edit-list-validate)
23239 (recentf-open-files-action):
23240 * rect.el (delete-whitespace-rectangle-line)
23241 (rectangle-number-line-callback):
23242 * register.el (window-configuration-to-register)
23243 (frame-configuration-to-register):
23244 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23245 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23246 (xselect-convert-to-targets, xselect-convert-to-delete)
23247 (xselect-convert-to-filename, xselect-convert-to-charpos)
23248 (xselect-convert-to-lineno, xselect-convert-to-colno)
23249 (xselect-convert-to-os, xselect-convert-to-host)
23250 (xselect-convert-to-user, xselect-convert-to-class)
23251 (xselect-convert-to-name, xselect-convert-to-integer)
23252 (xselect-convert-to-atom, xselect-convert-to-identity):
23253 * subr.el (declare, ignore, process-kill-without-query)
23254 (text-clone-maintain):
23255 * terminal.el (te-get-char, te-tic-sentinel):
23256 * tool-bar.el (tool-bar-make-keymap):
23257 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23258 * type-break.el (type-break-mode, type-break-noninteractive-query):
23259 * view.el (View-back-to-mark):
23260 * wid-browse.el (widget-browse-action, widget-browse-widget)
23261 (widget-browse-widgets, widget-browse-sexp):
23262 * widget.el (define-widget-keywords):
23263 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23264 Mark unused parameters.
23266 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23267 (align-areas): Remove unused variable `look'.
23268 (align-region): Remove unused variables `real-end' and `pos-list'.
23270 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23272 * bindings.el (mode-line-modified, mode-line-remote):
23273 Mark unused parameters.
23274 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23276 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23277 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23279 * comint.el (comint-history-isearch-pop-state)
23280 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23281 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23282 (comint-substitute-in-file-name): Doc fix.
23284 * completion.el (cmpl-statistics-block): Mark unused parameter.
23285 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23286 (save-completions-to-file, load-completions-from-file):
23287 Remove unused local variable `e'.
23289 * composite.el (compose-chars): Remove unused variable `len'.
23290 (lgstring-insert-glyph): Remove unused variable `g'.
23291 (compose-glyph-string): Remove unused variables `ascent',
23292 `descent', `lbearing' and `rbearing'.
23293 (compose-glyph-string-relative): Remove unused variables
23294 `lbearing', `rbearing' and `wadjust'.
23295 (compose-gstring-for-graphic): Remove unused variables `header',
23296 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23297 (compose-gstring-for-terminal): Remove unused variables `header'
23298 and `nchars'. Use `let', not `let*'.
23300 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23301 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23302 (Custom-buffer-done, custom-buffer-create-internal)
23303 (custom-browse-visibility-action, custom-browse-group-tag-action)
23304 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23305 (widget-magic-mouse-down-action, custom-toggle-parent)
23306 (custom-add-parent-links, custom-toggle-hide-variable)
23307 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23308 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23309 (custom-face-menu-create, custom-variable-menu-create, get)
23310 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23311 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23312 (customize-apropos): Remove unused variable `tests'.
23313 (custom-group-value-create): Remove unused variable `hidden-p'.
23314 (sort-fold-case): Declare.
23316 * cus-theme.el (custom-reset-standard-faces-list)
23317 (custom-reset-standard-variables-list): Declare.
23318 (customize-create-theme, custom-theme-revert, custom-theme-write)
23319 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23320 Mark unused parameters.
23322 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23324 * delim-col.el (delimit-columns-max): Move defvar before first use.
23326 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23327 (describe-char): Don't quote `lambda'. Mark unused parameter.
23329 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23330 (auto-insert): Declare.
23331 (desktop-restore-file-buffer): Rename desktop-* parameters;
23333 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23334 (desktop-buffer): Rename desktop-* parameters.
23336 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23337 (dframe-reposition-frame-xemacs, dframe-help-echo)
23338 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23339 Mark unused parameters.
23341 * dired-aux.el (backup-extract-version-start, overwrite-query)
23342 (overwrite-backup-query, rename-regexp-query)
23343 (rename-non-directory-query): Declare.
23344 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23345 (dired-add-entry): Remove unused variable `orig-file-name'.
23346 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23347 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23348 `dired-copy-preserve-time' directly.
23349 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23350 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23352 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23353 (dired-virtual-revert, dired-make-relative-symlink):
23354 Mark unused parameters.
23355 (manual-program): Declare.
23356 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23357 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23358 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23360 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23362 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23364 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23367 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23369 * electric.el (Electric-command-loop): Rename parameter
23370 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23372 * expand.el (expand-in-literal): Remove unused variable `here'.
23374 * facemenu.el (facemenu-add-new-color):
23375 Remove unused variable `docstring'.
23377 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23378 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23379 (face-attr-construct): Mark unused parameter. Doc fix.
23380 (read-color): Remove unused variable `hex-string'.
23382 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23383 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23384 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23385 (display-buffer-other-frame): Remove unused variable `old-window'.
23386 (kill-buffer-hook): Declare.
23387 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23388 Mark unused parameters.
23389 (after-find-file): Pass 1 to `auto-save-mode', not t.
23391 * files-x.el (auto-insert): Declare.
23392 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23394 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23395 variable `buf'. Mark unused parameter.
23396 (find-lisp-insert-directory): Mark unused parameter.
23398 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23399 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23400 (format-common-tail): Remove, unused.
23401 (format-deannotate-region): Remove unused variable `loc'.
23402 (format-annotate-region): Remove unused variable `p'.
23403 (format-annotate-single-property-change): Remove unused variables
23404 `default' and `tail'.
23406 * forms.el (read-file-filter): Declare.
23407 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23409 * frame.el (frame-creation-function-alist): Mark unused parameter.
23410 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23412 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23413 Remove unused parameters.
23414 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23415 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23417 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23418 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23419 (hfy-prepare-tag-map): Mark unused parameters.
23420 (htmlfontify-buffer): Use `called-interactively-p'.
23422 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23423 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23424 (ibuffer-do-occur): Mark unused parameters.
23425 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23426 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23428 * ibuffer.el: Don't quote `lambda'.
23429 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23430 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23431 Mark unused parameters.
23433 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23434 (ido-completing-read): Mark unused parameters.
23435 (ido-copy-current-word): Mark unused parameters;
23436 remove unused variable `name'.
23437 (ido-sort-merged-list): Remove unused parameter `dirs'.
23439 * ielm.el (ielm-input-sender): Mark unused parameter.
23440 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23441 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23442 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23443 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23444 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23446 * image-dired.el (image-dired-display-thumbs): Remove unused
23447 variables `curr-file' and `count'.
23448 (image-dired-remove-tag): Remove unused variable `start'.
23449 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23450 variable `curr-file'
23451 (image-dired-rotate-original): Remove unused variable `temp-file'.
23452 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23453 Remove unused variable `file'.
23454 (image-dired-gallery-generate): Remove unused variable `curr'.
23455 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23457 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23459 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23461 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23463 * isearch.el (minibuffer-history-symbol): Declare.
23464 (isearch-edit-string): Remove unused variable `err'.
23465 (isearch-message-prefix, isearch-message-suffix):
23466 Mark unused parameters.
23468 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23470 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23472 * makesum.el (double-column): Remove unused variable `cnt'.
23474 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23475 (ido-ignore-item-temp-list): Declare.
23477 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23478 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23479 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23480 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23483 * mouse-sel.el (mouse-extend-internal):
23484 Remove unused variable `orig-window-frame'.
23486 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23487 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23488 Move declarations before first use.
23489 (pcomplete-opt): Mark unused parameters; doc fix.
23491 * proced.el (proced-revert): Mark unused parameter.
23492 (proced-send-signal): Remove unused variable `err'.
23494 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23495 Rename parameter PREFIX-ARG to ARG.
23496 (ps-basic-plot-string, ps-basic-plot-whitespace):
23497 Mark unused parameters.
23499 * replace.el (replace-count): Define.
23500 (occur-revert-function): Mark unused parameters.
23501 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23502 (isearch-case-fold-search, isearch-string): Declare.
23503 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23504 bind `case-fold-search'. Remove unused variables `beg' and `end',
23506 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23507 COUNT and bind `replace-count'.
23508 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23511 * savehist.el (print-readably, print-string-length): Declare.
23513 * shadowfile.el (shadow-expand-cluster-in-file-name):
23514 Remove unused variable `cluster'.
23515 (shadow-copy-file): Remove unused variable `i'.
23516 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23517 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23518 (shadow-define-literal-group, shadow-define-regexp-group)
23519 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23521 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23522 (shell): Use `called-interactively-p'.
23523 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23525 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23526 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23527 (delete-backward-char): Remove unused variable `ocol'.
23528 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23529 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23530 (event-apply-hyper-modifier, event-apply-shift-modifier)
23531 (event-apply-control-modifier, event-apply-meta-modifier):
23532 Mark unused parameters.
23533 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23534 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23536 * speedbar.el (speedbar-ignored-directory-expressions)
23537 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23538 (speedbar-find-file, speedbar-dir-follow)
23539 (speedbar-directory-buttons-follow, speedbar-tag-find)
23540 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23541 (speedbar-buffers-line-directory, speedbar-buffer-click):
23542 Mark unused parameters.
23543 (speedbar-tag-file): Remove unused variable `mode'.
23544 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23546 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23548 * talk.el (talk): Remove unused variable `display'.
23550 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23551 (tar-write-region-annotate): Mark unused parameter.
23553 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23554 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23555 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23556 warning by another.
23558 * time-stamp.el (time-stamp-string-preprocess):
23559 Remove unused variable `require-padding'.
23561 * tree-widget.el (widget-glyph-enable): Declare.
23562 (tree-widget-action): Mark unused parameter.
23564 * w32-fns.el (x-get-selection): Mark unused parameter.
23565 (autoload-make-program, generated-autoload-file): Declare.
23567 * wdired.el (wdired-revert): Mark unused parameters.
23568 (wdired-xcase-word): Remove unused variable `err'.
23570 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23571 (whitespace-help-scroll): Remove unused variable `data-help'.
23573 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23574 (widget-image-insert, widget-after-change, default)
23575 (widget-default-format-handler, widget-default-notify)
23576 (widget-default-prompt-value, widget-info-link-action)
23577 (widget-url-link-action, widget-function-link-action)
23578 (widget-variable-link-action, widget-file-link-action)
23579 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23580 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23581 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23582 (widget-insert-button-action, widget-delete-button-action, visibility)
23583 (widget-documentation-link-action, widget-documentation-string-action)
23584 (widget-const-prompt-value, widget-regexp-match, symbol)
23585 (widget-coding-system-prompt-value)
23586 (widget-key-sequence-value-to-external, sexp)
23587 (widget-sexp-value-to-internal, character, vector, cons)
23588 (widget-choice-prompt-value, widget-boolean-prompt-value)
23589 (widget-color--choose-action): Mark unused parameters.
23590 (widget-item-match-inline, widget-choice-match-inline)
23591 (widget-checklist-match, widget-checklist-match-inline)
23592 (widget-group-match): Rename parameter VALUES to VALS.
23593 (widget-field-value-set): Remove unused variable `size'.
23594 (widget-color-action): Remove unused variables `value' and `start'.
23596 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23597 variable `dir'. Doc fix.
23598 (windmove-find-other-window): Don't pass it.
23600 * window.el (count-windows): Mark unused parameter.
23601 (bw-adjust-window): Remove unused variable `err'.
23603 * woman.el (woman-file-name): Remove unused variable `default'.
23604 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23605 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23606 (global-font-lock-mode): Declare.
23607 (woman-decode-region): Mark unused parameter.
23608 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23610 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23611 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23612 (x-dnd-handle-moz-url): Remove unused variable `title'.
23613 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23615 * xml.el (xml-parse-tag, xml-parse-attlist):
23616 Remove unused variable `pos'.
23618 2011-04-19 Glenn Morris <rgm@gnu.org>
23620 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23621 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23622 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23623 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23624 * calendar/cal-html.el (cal-html-insert-minical):
23625 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23626 (calendar-mark-date-pattern):
23627 Prefix "unused" locals.
23629 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23630 optional argument `style'.
23632 * calendar/appt.el (appt-make-list):
23633 * calendar/cal-china.el (calendar-chinese-date-string):
23634 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23635 (diary-hebrew-yahrzeit):
23636 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23637 * calendar/calendar.el (calendar-generate-window):
23638 * calendar/time-date.el (time-to-days):
23639 Remove unused local variables.
23641 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23643 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23644 glyphless-char-display table.
23645 (tabulated-list-glyphless-char-display): New var.
23647 2011-04-18 Sam Steingold <sds@gnu.org>
23649 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23650 to acknowledgments.
23652 2011-04-17 Glenn Morris <rgm@gnu.org>
23654 * calendar/diary-lib.el (diary-sexp-entry):
23655 * calendar/holidays.el (holiday-sexp):
23656 Set debug-on-error rather than the removed stack-trace-on-error.
23658 2011-04-16 Glenn Morris <rgm@gnu.org>
23660 * progmodes/f90.el: Use lexical-binding.
23661 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23663 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23665 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23666 (mail-mode): Setup mailalias completion here instead.
23667 * mail/mailalias.el: Use lexical-binding.
23668 (pattern, mailalias-done): Declare dynamic.
23669 (mail-completion-at-point-function): New function, from mail-complete.
23670 (mail-complete): Use it.
23671 (mail-completion-expand): New function.
23672 (mail-get-names): Use it.
23673 (mail-directory, mail-directory-process, mail-directory-stream):
23674 Don't use `pattern' for lexically bound arg.
23676 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23678 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23679 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23680 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23682 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23683 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23684 (byte-interactive-p): Define them again, for use when inlining
23687 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23689 * loadup.el: Use `string-to-number', not `string-to-int'.
23691 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23693 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23694 gud-gdb-complete-command.
23695 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23696 (gud-gdb-completion-at-point): New function.
23697 (gud-gdb-completions): Remove.
23699 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23701 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23702 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23703 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23704 whether `executable-find' is bound.
23706 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23708 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23710 * minibuffer.el (completion-in-region-mode-predicate)
23711 (completion-in-region-mode--predicate): New vars.
23712 (completion-in-region, completion-in-region--postch)
23713 (completion-in-region-mode): Use them.
23714 (completion--capf-wrapper): Also return the hook function.
23715 (completion-at-point, completion-help-at-point):
23716 Adjust and provide a predicate.
23718 Preserve arg names for advice of subr and lexical functions (bug#8457).
23719 * help-fns.el (help-function-arglist): Consolidate the subr and
23720 new-byte-code cases. Add argument `preserve-names' to extract names
23721 from the docstring when needed.
23722 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23723 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23724 (ad-arglist): Use help-function-arglist's new arg.
23725 (ad-definition-type): Use cond.
23727 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23729 * autorevert.el (auto-revert-handler):
23730 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23731 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23732 Don't quote lambda.
23734 * image-mode.el (image-transform-set-scale):
23735 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23737 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23739 * net/network-stream.el (network-stream-open-starttls): Only do
23740 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23741 Upgrades via gnutls-cli are too slow to be done opportunistically.
23743 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23745 * dframe.el (dframe-current-frame): Remove spurious quote.
23747 2011-04-12 Glenn Morris <rgm@gnu.org>
23749 * calendar/cal-tex.el (cal-tex-end-document):
23750 Try to automatically use latin1 input if needed.
23752 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23753 Don't try to cons a mark onto an empty element.
23755 2011-04-11 Leo Liu <sdl.web@gmail.com>
23757 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23759 (ido-kill-buffer-at-head): Support killing virtual buffers.
23761 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23763 * minibuffer.el (completion-show-inline-help): New var.
23764 (completion--do-completion, minibuffer-complete)
23765 (minibuffer-force-complete, minibuffer-complete-word):
23766 Inhibit minibuffer messages if completion-show-inline-help is nil.
23768 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23769 to avoid interference from inline help (Bug#5849).
23771 2011-04-10 Leo Liu <sdl.web@gmail.com>
23773 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23776 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23778 * image-mode.el (image-toggle-display-image): Signal an error if
23780 (image-transform-mode, image-transform-resize)
23781 (image-transform-set-rotation): Doc fix.
23782 (image-transform-set-resize): Delete.
23783 (image-transform-set-scale, image-transform-fit-to-height)
23784 (image-transform-fit-to-width): Handle image-toggle-display-image
23785 and image-transform-resize directly.
23787 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23789 * doc-view.el (doc-view-fit-width-to-window)
23790 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23791 New functions for fitting the shown image to the Emacs window size.
23792 (doc-view-mode-map): Add bindings for the new functions.
23794 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23796 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23797 Fix typo in docstring.
23799 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23801 * files.el (file-size-human-readable): Produce one digit after
23802 decimal, like "ls -lh" does.
23804 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23805 the file size representation.
23807 * simple.el (list-processes): If async subprocesses are not
23808 available, error out with a clear error message.
23810 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23812 * help.el (help-form-show): New function, to be called from C.
23813 Put help-form output in a buffer named differently than *Help*.
23815 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23817 * files.el (file-size-human-readable): New function.
23819 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23820 computing the representation inline. Don't require `cl'.
23822 2011-04-08 Glenn Morris <rgm@gnu.org>
23824 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23826 * net/browse-url.el (browse-url-firefox):
23827 Test system-type, not system-configuration.
23829 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23830 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23831 Use log-edit-empty-buffer-p. (Bug#7598)
23833 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23834 (rlogin-mode-map): Initialize in the defvar.
23835 (rlogin): Use ignore-errors.
23837 * replace.el (occur-mode-map): Some fixes for menu items.
23839 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23841 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23843 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23845 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23846 issuing unused warnings.
23848 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23851 * simple.el: Lisp reimplement of list-processes. Based on an
23852 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23853 (process-menu-mode): New major mode.
23854 (list-processes--refresh, list-processes):
23855 (process-menu-visit-buffer): New functions.
23857 * files.el (save-buffers-kill-emacs): Don't assume any return
23858 value of list-processes, which is undocumented anyway.
23860 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23862 * emacs-lisp/tabulated-list.el: New file.
23864 * emacs-lisp/package.el: Use Tabulated List mode.
23865 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23866 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23867 table format using Tabulated List mode variables.
23868 (package--push): New macro, replacing package-list-maybe-add.
23869 (package-menu--generate): Use package--push. Renamed from
23870 package--generate-package-list.
23871 (package-menu-refresh, list-packages): Use it.
23872 (package-menu--print-info): Rename from package-print-package.
23873 Return insertion data instead of inserting it directly.
23874 (package-menu-describe-package, package-menu-execute):
23875 Use tabulated-list-get-id.
23876 (package-menu-mark-delete, package-menu-mark-install)
23877 (package-menu-mark-unmark, package-menu-backup-unmark)
23878 (package-menu-mark-obsolete-for-deletion):
23879 Use tabulated-list-put-tag.
23880 (package--list-packages, package-menu-revert)
23881 (package-menu-get-package, package-menu-get-version)
23882 (package-menu-sort-by-column): Functions deleted.
23883 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23884 (package-menu--status-predicate, package-menu--version-predicate)
23885 (package-menu--name-predicate)
23886 (package-menu--description-predicate): Handle arguments in the
23887 Tabulated List format.
23888 (package-list-packages-no-fetch): Call list-packages.
23890 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23892 * files.el (after-find-file-from-revert-buffer): Remove variable.
23893 (after-find-file): Don't bind it.
23894 (revert-buffer-in-progress-p): New variable.
23895 (revert-buffer): Bind it.
23896 Pass nil for `after-find-file-from-revert-buffer'.
23898 * saveplace.el (save-place-find-file-hook): Use new variable
23899 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23901 2011-04-06 Glenn Morris <rgm@gnu.org>
23903 * Makefile.in (AUTOGEN_VCS): New variable.
23904 (autoloads): Use $AUTOGEN_VCS.
23906 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23907 * calendar/calendar.el (calendar-mode-map):
23908 Check for toolkit scroll bars. (Bug#8305)
23910 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23912 * minibuffer.el (completion-in-region--postch)
23913 (completion-in-region-mode): Remove unnecessary messages.
23915 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23917 * font-lock.el (font-lock-refresh-defaults):
23918 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23919 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23921 * info.el (Info-directory-list, Info-read-node-name-2)
23922 (Info-split-parameter-string): Doc fixes.
23923 (Info-virtual-nodes): Reflow docstring.
23924 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23925 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23926 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23927 Fix typos in docstrings.
23928 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23929 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23930 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23931 (Info-restore-desktop-buffer): Mark unused parameters.
23932 (Info-directory-find-file, Info-directory-find-node)
23933 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23934 (Info-virtual-index-find-node, Info-apropos-find-file)
23935 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23936 Mark unused parameters; fix typos in docstrings.
23937 (Info-virtual-index): Remove unused local variable `nodename'.
23939 2011-04-05 Deniz Dogan <deniz@dogan.se>
23941 * net/rcirc.el: Update my e-mail address.
23942 (rcirc-mode-map): Remove M-o binding.
23944 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23946 * startup.el (command-line): Save the cursor's theme-face
23947 directly, instead of using face-override-spec.
23949 * custom.el (load-theme): Minor optimization in assigning faces.
23951 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23953 * help-fns.el (describe-variable): Complete all variables having
23954 documentation, including keywords.
23955 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23957 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23959 Convert to lexical-binding.
23961 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23962 (bs--get-marked-string, bs--get-modified-string)
23963 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23964 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23965 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23967 * ehelp.el (electric-help-execute-extended)
23968 (electric-help-ctrl-x-prefix):
23969 * hexl.el (hexl-revert-buffer-function):
23970 * linum.el (linum-after-change, linum-after-scroll):
23971 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23973 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23975 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23982 * epg.el: Use lexical binding.
23984 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23986 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23988 * textmodes/flyspell.el (flyspell-word): Recognize default
23989 dictionary case for flyspell-mark-duplications-exceptions.
23990 Use regexp matching for languages.
23991 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23992 default dictionary (Bug#7926).
23994 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23996 * emacs-lisp/package.el (package--with-work-buffer):
23997 Recognize https URLs.
23999 * net/network-stream.el: Move from gnus/proto-stream.el.
24000 Change prefix to network-stream throughout.
24001 (open-protocol-stream): Merge into open-network-stream, leaving
24002 open-protocol-stream as an alias. Handle nil BUFFER args.
24004 * subr.el (open-network-stream): Move to net/network-stream.el.
24006 2011-04-02 Glenn Morris <rgm@gnu.org>
24008 * find-dired.el (find-exec-terminator): New option.
24009 (find-ls-option): Test for -ls support.
24010 (find-ls-subdir-switches): Test for -b in find-ls-option.
24011 (find-dired, find-grep-dired): Doc fixes.
24012 (find-dired): Use find-exec-terminator.
24014 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24015 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24016 (find-name-arg): Remove purecopy.
24018 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24019 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24020 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24021 accordingly. Don't add the null-device if not needed.
24023 * files.el (save-some-buffers): Doc fix.
24025 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24027 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24029 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24031 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24032 Use `dolist' rather than `mapcar'.
24034 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24036 Add lexical binding.
24038 * subr.el (apply-partially): Use new closures rather than CL.
24039 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24040 (dolist, dotimes): Use slightly different expansion for lexical code.
24041 (functionp): Move to C.
24042 (letrec): New macro.
24043 (with-wrapper-hook): Use it and apply-partially instead of CL.
24044 (eval-after-load): Preserve lexical-binding.
24045 (save-window-excursion, with-output-to-temp-buffer): Turn them
24048 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24050 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24052 (help-add-fundoc-usage): Don't add `Not documented'.
24053 (help-function-arglist): Handle closures, subroutines, and new
24054 byte-code-functions.
24055 (help-make-usage): Remove leading underscores.
24056 (describe-function-1): Handle closures.
24057 (describe-variable): Use special-variable-p for completion.
24059 * files.el (lexical-binding): Declare safe.
24061 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24062 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24063 (pcase): Add `let' pattern.
24064 Change memoization so it actually works.
24065 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24066 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24069 * emacs-lisp/macroexp.el: Use lexical binding.
24070 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24071 Don't convert ' to #' without checking that it's indeed quoting
24074 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24075 Use eval-sexp-add-defvars.
24076 (eval-sexp-add-defvars): New fun.
24078 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24080 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24082 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24083 than the internal `byte-compile-lambda'.
24084 (defmethod): Don't hide code under quotes.
24085 (eieio-defmethod): New `code' argument.
24087 * emacs-lisp/eieio-comp.el: Remove.
24089 * emacs-lisp/edebug.el (edebug-eval-defun)
24090 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24091 (edebug-toggle): Avoid `eval'.
24093 * emacs-lisp/disass.el (disassemble-internal): Handle new
24095 (disassemble-1): Handle new byte codes.
24097 * emacs-lisp/cl.el (pushnew): Silence warning.
24099 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24100 (cl-byte-compile-throw): Remove.
24101 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24103 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24106 * emacs-lisp/cconv.el: New file.
24108 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24109 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24110 (byte-compile-initial-macro-environment):
24111 Handle declare-function here.
24112 (byte-compile--lexical-environment): New var.
24113 (byte-stack-ref, byte-stack-set, byte-discardN)
24114 (byte-discardN-preserve-tos): New lap codes.
24115 (byte-interactive-p): Don't use any more.
24116 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24118 (byte-compile-lapcode): Use them and handle new lap codes.
24119 (byte-compile-obsolete): Remove.
24120 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24121 (byte-compile-arglist-warn): Check late def of inlinable funs.
24122 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24123 since they should have been expanded by now.
24124 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24125 (byte-compile-from-buffer): Remove unused second arg.
24126 (byte-compile-preprocess): New function.
24127 (byte-compile-toplevel-file-form): New function to distinguish
24128 file-form calls from outside from file-form calls from hunk-handlers.
24129 (byte-compile-file-form): Simplify.
24130 (byte-compile-file-form-defsubst): Remove.
24131 (byte-compile-file-form-defmumble): Simplify now that
24132 byte-compile-lambda always returns a byte-code-function.
24133 (byte-compile): Preprocess.
24134 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24135 Remove, not used any more.
24136 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24137 (byte-compile-make-args-desc): New funs.
24138 (byte-compile-lambda): Handle lexical functions. Always return
24139 a byte-code-function.
24140 (byte-compile-reserved-constants): New var, to make up room for
24141 closed-over variables.
24142 (byte-compile-constants-vector): Obey it.
24143 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24144 (byte-compile-macroexpand-declare-function): New function.
24145 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24146 byte-code-functions.
24147 (byte-compile-form): Check obsolescence here.
24148 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24149 (byte-compile-variable-ref): Remove.
24150 (byte-compile-dynamic-variable-op): New fun.
24151 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24152 (byte-compile-variable-set): New funs.
24153 (byte-compile-discard): Add 2 args.
24154 (byte-compile-stack-ref, byte-compile-stack-set)
24155 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24156 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24157 macroexpand-all instead.
24158 (byte-compile-quote-form): Remove.
24159 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24160 (byte-compile-bind, byte-compile-unbind): New funs.
24161 (byte-compile-let): Handle let* and lexical binding.
24162 (byte-compile-let*): Remove.
24163 (byte-compile-catch, byte-compile-unwind-protect)
24164 (byte-compile-track-mouse, byte-compile-condition-case):
24165 Handle a new :fun-body form, used for lexical scoping.
24166 (byte-compile-save-window-excursion)
24167 (byte-compile-with-output-to-temp-buffer): Remove.
24168 (byte-compile-defun): Simplify.
24169 (byte-compile-stack-adjustment): New fun.
24170 (byte-compile-out): Use it.
24171 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24173 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24176 * emacs-lisp/byte-opt.el: Use lexical binding.
24177 (byte-inline-lapcode): Remove (to bytecomp).
24178 (byte-compile-inline-expand): Pay attention to inlining to/from
24179 lexically bound code.
24180 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24182 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24183 any more and don't call compiler-macros.
24184 (byte-compile-splice-in-already-compiled-code): Remove.
24185 (byte-code): Don't inline any more.
24186 (disassemble-offset): Receive `bytes' as argument rather than via
24188 (byte-compile-tag-number): Declare before first use.
24189 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24190 `return' even if make-spliceable.
24191 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24192 obsolete interactive-p.
24193 (byte-optimize-lapcode): Optimize new lap-codes.
24194 Don't trip up on new form of `byte-constant' lap code.
24196 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24198 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24200 * custom.el (custom-initialize-default, custom-declare-variable):
24203 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24205 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24206 (COMPILE_FIRST): Add macroexp and cconv.
24207 * makefile.w32-in: Mirror changes in Makefile.in.
24209 * vc/cvs-status.el:
24213 * vc/smerge-mode.el:
24214 * textmodes/bibtex-style.el:
24215 * textmodes/css-mode.el:
24223 * emacs-lisp/smie.el:
24226 * abbrev.el: Use lexical binding.
24228 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24230 * info.el (info-display-manual): New function.
24232 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24234 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24236 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24238 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24239 an entry for that server in rcirc-authinfo. (Bug#8385)
24241 2011-03-31 Glenn Morris <rgm@gnu.org>
24243 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24245 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24247 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24249 * progmodes/python.el (python-default-interpreter)
24250 (python-python-command-args, python-jython-command-args)
24251 (python-which-shell, python-which-args, python-which-bufname)
24252 (python-file-queue, python-comint-output-filter-function)
24253 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24254 variables and functions.
24256 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24258 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24259 (completion-in-region-mode): New minor mode.
24260 (completion-in-region): Use it.
24261 (completion-in-region--data, completion-in-region-mode-map): New vars.
24262 (completion-in-region--postch): New function.
24263 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24265 (completion--capf-wrapper): New function.
24266 (completion-at-point): Use it to track well-behavedness of
24268 (completion-help-at-point): New command.
24270 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24272 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24273 syntax class to search for whitespace on a single line
24274 (Message-ID: <4D938140.4030905@redhat.com>).
24276 2011-03-30 Leo Liu <sdl.web@gmail.com>
24278 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24280 (edit-abbrevs-map): Bind them here.
24281 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24283 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24285 * allout.el (allout-hide-by-annotation, allout-flag-region):
24286 Reduce possibility of overlay leakage by making them volatile.
24288 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24289 hash is not shared between buffers. Mode initialization is
24290 responsible for giving it a useful starting value.
24291 (allout-item-span): Reduce possibility of overlay leakage by
24292 making them volatile.
24293 (allout-widgets-count-buttons-in-region): Add diagnostic function
24294 for tracking down button overlay leaks.
24296 2011-03-29 Leo Liu <sdl.web@gmail.com>
24298 * ido.el (ido-read-internal): Use the default history var
24299 minibuffer-history if no HISTORY is specified.
24301 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24303 * net/imap.el (imap-shell-open, imap-process-connection-type):
24304 Use imap-process-connection-type for 'shell' streams as well as
24305 Kerberos, SSL, other subprocesses.
24307 2011-03-28 Leo Liu <sdl.web@gmail.com>
24309 * abbrev.el (abbrev-table-empty-p): New function.
24310 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24311 nonempty ones. (Bug#5937)
24313 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24315 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24317 2011-03-27 Leo Liu <sdl.web@gmail.com>
24319 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24320 for foreground and background colors.
24321 (ansi-color-make-color-map): Adapt.
24323 2011-03-25 Leo Liu <sdl.web@gmail.com>
24325 * midnight.el (midnight-time-float): Remove. Note it calculates
24326 the microsecond component incorrectly and seconds-to-time does the
24328 Remove redundant (require 'timer).
24330 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24331 (ido-completions): Remove unused arguments. (Bug#8329)
24333 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24335 * minibuffer.el (completion--flush-all-sorted-completions):
24336 Remove itself from hook.
24337 (completion-at-point): Let the functions perform the completion
24338 immediately and return nil or t.
24339 * comint.el (comint-dynamic-complete-functions): Now identical to
24340 completion-at-point-functions.
24341 (comint-dynamic-list-input-ring): Remove unused var `index'.
24342 (comint--match-partial-filename, comint--unquote&expand-filename):
24343 New funs, split from comint-match-partial-filename.
24344 (comint-dynamic-complete): Use completion-at-point.
24345 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24347 2011-03-24 Drew Adams <drew.adams@oracle.com>
24349 * thingatpt.el: Support `defun'.
24351 2011-03-23 Leo Liu <sdl.web@gmail.com>
24353 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24355 * help-mode.el (help-mode-finish): Tweak regexp.
24357 2011-03-23 Glenn Morris <rgm@gnu.org>
24359 * eshell/esh-opt.el (eshell-eval-using-options):
24360 Do not bind unused local variable `eshell-option-stub'.
24362 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24364 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24366 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24367 keymap variable in `with-no-warnings' to avoid a warning when the
24368 keymap has been already `defconst'ed.
24370 2011-03-22 Leo Liu <sdl.web@gmail.com>
24372 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24373 encode all chars in abbrevs; otherwise use emacs-mule or
24374 utf-8-emacs. (Bug#8308)
24376 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24378 * simple.el (backward-delete-char-untabify):
24379 Avoid warning about using `delete-backward-char'.
24381 * image.el (image-type-file-name-regexps): Make it variable.
24382 `imagemagick-register-types' modifies it, and the user may want
24383 to add new extensions for known image types.
24384 (imagemagick-register-types): Throw error if not using ImageMagick.
24386 2011-03-22 Leo Liu <sdl.web@gmail.com>
24388 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24389 located before rcirc-prompt-end-marker.
24390 (rcirc-complete): Error if point is not after rcirc prompt.
24391 Handle the case when table is nil.
24392 (rcirc-user-authenticated): Define to fix compiler warning.
24394 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24396 * custom.el (custom--inhibit-theme-enable): Make it affect only
24397 custom-theme-set-variables and custom-theme-set-faces.
24398 (provide-theme): Ignore custom--inhibit-theme-enable.
24399 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24400 (custom-enabling-themes): Delete variable.
24401 (enable-theme): Accept only loaded themes as arguments.
24402 Ignore the special custom-enabled-themes variable.
24403 (custom-enabled-themes): Forbid themes from setting this.
24404 Eliminate use of custom-enabling-themes.
24405 (custom-push-theme): Quote "changed" custom var entry.
24407 2011-03-21 Leo Liu <sdl.web@gmail.com>
24409 * ido.el (ido-read-internal): Add ido-selected to history instead
24412 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24414 * subr.el (deferred-action-list, deferred-action-function):
24417 2011-03-21 Leo Liu <sdl.web@gmail.com>
24419 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24420 change on 2011-02-13 (bug#8309).
24422 * minibuffer.el (read-file-name-function): Change default value.
24423 (read-file-name--defaults): Rename from read-file-name-defaults.
24424 (read-file-name-default): Rename from read-file-name.
24425 (read-file-name): Call read-file-name-function.
24427 2011-03-21 Glenn Morris <rgm@gnu.org>
24429 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24432 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24434 * cus-theme.el: Add missing provide statement.
24435 (customize-create-theme): Extract theme value correctly.
24436 (custom-theme-visit-theme): Autoload.
24437 (customize-create-theme): Prompt before inserting default faces.
24439 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24441 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24442 units and musical notes.
24444 2011-03-20 Leo Liu <sdl.web@gmail.com>
24446 * ido.el (ido-read-internal): Use completing-read-default.
24447 (ido-completing-read): Fix compatibility with completing-read.
24449 2011-03-20 Christian Ohler <ohler@gnu.org>
24451 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24452 (ert-delete-all-tests): Use `called-interactively-p' rather than
24454 (ert--make-xrefs-region): Respect END.
24456 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24458 * dired-aux.el (dired-create-directory): Signal an error if the
24459 directory already exists (Bug#8246).
24461 * facemenu.el (list-colors-display): Call list-faces-display
24462 inside with-help-window.
24463 (list-colors-print): Use display property to align the final
24464 column, instead of checking window-width.
24466 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24468 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24469 windows-nt systems.
24470 (emerge-protect-metachars): Quote correctly for ms-dos and
24471 windows-nt systems.
24473 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24475 * info.el (info-initialize): Replace all uses of `:' with
24476 path-separator for compatibility with non-Unix systems.
24477 Cache quoting of path-separator. (Bug#8258)
24479 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24481 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24482 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24483 (mouse-avoidance-mode): Fix typos in docstrings.
24485 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24487 * startup.el (package-subdirectory-regexp): Move from package.el.
24488 Omit \\` and \\', and let callers add them.
24490 * emacs-lisp/package.el (package-strip-version)
24491 (package-load-all-descriptors): Add \\` and \\' to
24492 package-subdirectory-regexp before using it.
24493 (package-untar-buffer): New arg DIR; ensure that file untars only
24494 into this expected directory. Remove superfluous delete-region.
24495 (package-unpack): Caller changed.
24496 (package-tar-file-info): Use package-subdirectory-regexp.
24498 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24500 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24501 diff-mode-shared-map (bug#8284).
24502 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24504 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24506 * calendar/time-date.el (format-seconds): Use assoc instead of
24507 assoc-string, since assoc-string doesn't exist in XEmacs.
24509 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24511 * custom.el (custom-known-themes): Reflow docstring.
24512 (custom-theme-load-path): Fix typo in docstring.
24513 (load-theme): Fix typo in error message.
24514 (custom-available-themes, custom-variable-theme-value):
24515 Use `let', not `let*'.
24517 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24519 * calc/README: Mention inclusion of musical notes.
24521 * calc/calc-units.el (calc-lu-quant): Rename from
24522 `calc-logunits-quantity'.
24523 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24524 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24525 (calc-db): Rename from `calc-dblevel'.
24526 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24527 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24528 (calc-np): Rename from `calc-nplevel'.
24529 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24530 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24531 (calc-lu-plus): Rename from `calc-logunits-add'.
24532 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24533 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24534 (calc-lu-minus): Rename from `calc-logunits-sub'.
24535 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24536 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24537 (calc-lu-times): Rename from `calc-logunits-mul'.
24538 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24539 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24540 (calc-lu-divide): Rename from `calc-logunits-div'.
24541 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24542 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24544 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24545 functions being autoloaded.
24547 * calc/calc.el (calc-lu-power-reference): Rename from
24548 `calc-logunits-power-reference'.
24549 (calc-lu-field-reference): Rename from
24550 `calc-logunits-field-reference'.
24552 * calc/calc-help.el (calc-l-prefix-help):
24553 Mention musical note functions.
24555 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24557 * minibuffer.el (completion-all-sorted-completions):
24558 Use :completion-cycle-penalty text property if present.
24560 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24562 * allout.el (allout-yank-processing): Adjust for new rebulleting
24563 regime so bullet being yanked is used without prompting the user
24566 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24568 * startup.el (command-line): Warn the user that _emacs is deprecated.
24570 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24572 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24573 (delphi-verbose, delphi-comment-face, delphi-string-face)
24574 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24575 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24576 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24577 (delphi-new-comment-line, delphi-font-lock-defaults)
24578 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24579 Fix typos in docstrings.
24581 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24583 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24584 Invert the roles of character and string values for INSTEAD, so a
24585 string is used for the more common case of a defaulting prompt.
24587 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24589 * progmodes/ruby-mode.el (ruby-backward-sexp):
24590 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24591 * play/gamegrid.el (gamegrid-make-face):
24592 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24593 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24594 * notifications.el (notifications-notify):
24595 * net/xesam.el (xesam-search-engines):
24596 * net/quickurl.el (quickurl-list-insert):
24597 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24599 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24601 * startup.el (command-line): Update package subdirectory regexp.
24603 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24605 * allout.el (allout-abbreviate-flattened-numbering)
24606 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24608 * subr.el (read-char-choice): Only show the cursor after the prompt,
24609 not after the answer.
24611 2011-03-15 Kevin Ryde <user42@zip.com.au>
24613 * help-fns.el (variable-at-point): Skip leading quotes, if any
24616 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24618 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24621 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24623 * shell.el (shell): When called interactively, offer to change the
24624 shell file name on remote hosts.
24626 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24628 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24629 integration for LDAP parameters. The host, base, user or binddn,
24630 and secret tokens can be specified in a netrc file, for instance.
24631 This is optional because an `auth-source' parameter must be
24632 specified in the search attributes.
24634 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24636 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24638 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24640 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24641 into declaration. Remove redundant and harmful binding.
24643 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24645 * files.el (file-ownership-preserved-p): Pass `integer' as an
24646 explicit 2nd argument to `file-attributes'. If the file's owner
24647 is the Administrators group on Windows, and the current user is
24648 Administrator, consider that a match.
24650 * server.el (server-ensure-safe-dir): Consider server directory
24651 safe on MS-Windows if its owner is the Administrators group while
24652 the current Emacs user is Administrator. Use `=' to compare
24653 numerical UIDs, since they could be integers or floats.
24655 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24657 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24659 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24661 Sync with Tramp 2.2.1.
24663 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24665 * net/trampver.el: Update release number.
24667 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24669 * progmodes/compile.el (compilation--previous-directory): Fix up
24670 various nil/dead-marker mismatches (bug#8014).
24671 (compilation-directory-properties, compilation-error-properties):
24672 Don't call it at a position past the one we're about to change.
24674 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24675 Disable obsolescence warnings in the file that declares it.
24677 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24679 * allout-widgets.el (allout-widgets-tally):
24680 Initialize allout-widgets-tally as a hash table rather than nil to
24681 prevent mode-line redisplay warnings. Also, clarify the module
24682 description and fix a comment typo.
24684 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24686 * help-fns.el (describe-variable): Don't complete keywords.
24687 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24689 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24691 * emacs-lisp/package.el (package-version-join): Impose a standard
24692 string representation for pre/alpha/beta version lists.
24693 (package-unpack-single): Standardize the directory name by passing
24694 it through package-version-join.
24695 (package-strip-rcs-id): Accept any version string that does not
24696 signal an error in version-to-list.
24698 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24700 * simple.el (delete-trailing-whitespace): Return nil for the
24701 benefit of `write-file-functions'.
24703 2011-03-10 Glenn Morris <rgm@gnu.org>
24705 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24707 * vc/vc-git.el (vc-git-program): New option.
24708 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24709 (vc-git--call): Use it.
24711 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24713 * cus-edit.el (Custom-newline): If no button at point, look
24714 for a subgroup button at start-of-line. (Bug#2298)
24716 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24718 2011-03-10 Julien Danjou <julien@danjou.info>
24720 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24721 `cursor-type' is nil.
24723 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24725 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24727 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24729 * allout.el: Change so yank of distinctive-bullet items
24730 preserves the existing header prefix, rebulleting it if necessary,
24731 rather than replacing it. This is necessary for proper operation
24732 of cooperative addons like allout-widgets.
24733 (allout-make-topic-prefix, allout-rebullet-heading):
24734 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24735 value as alternate bullet to be used, instead of prompting the user
24736 for a bullet character.
24738 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24741 Do not use `tramp-file-name-port', because this returns also
24742 `tramp-default-port'.
24744 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24746 * net/rcirc.el (rcirc-handler-001): Remove useless
24747 with-rcirc-process-buffer.
24748 (rcirc-check-auth-status): Swap arguments to string-match.
24750 2011-03-09 Glenn Morris <rgm@gnu.org>
24752 * shell.el (shell-mode):
24753 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24755 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24756 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24758 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24760 * emacs-lisp/package.el (package-refresh-contents)
24761 (package-menu-execute): Use condition-case-no-debug.
24763 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24765 * simple.el (shell-command-to-string): Use `process-file'.
24767 * emacs-lisp/package.el (package-tar-file-info): Handle also
24770 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24771 Use `equal' for upload base check.
24773 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24775 * textmodes/texinfo.el (texinfo-environments):
24776 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24778 2011-03-08 Glenn Morris <rgm@gnu.org>
24780 * cus-start.el (cursor-in-non-selected-windows):
24781 Fix :set quoting oddness. (Bug#8192)
24783 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24784 in some setf expressions. (Bug#2159)
24786 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24788 * custom.el (custom-available-themes): Return themes in
24789 alphabetical order.
24791 See ChangeLog.15 for earlier changes.
24793 ;; Local Variables:
24797 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24799 This file is part of GNU Emacs.
24801 GNU Emacs is free software: you can redistribute it and/or modify
24802 it under the terms of the GNU General Public License as published by
24803 the Free Software Foundation, either version 3 of the License, or
24804 (at your option) any later version.
24806 GNU Emacs is distributed in the hope that it will be useful,
24807 but WITHOUT ANY WARRANTY; without even the implied warranty of
24808 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24809 GNU General Public License for more details.
24811 You should have received a copy of the GNU General Public License
24812 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.