1 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
5 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Handle
8 2013-02-22 Glenn Morris <rgm@gnu.org>
10 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
11 (sgml-transformation-function): Give it a :set function.
14 * cmuscheme.el (scheme-buffer):
15 * progmodes/inf-lisp.el (inferior-lisp-buffer):
16 * progmodes/tcl.el (inferior-tcl-buffer):
17 * textmodes/tex-mode.el (tex-command): Doc fixes.
19 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
21 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
23 2013-02-21 Bastien Guerry <bzg@gnu.org>
25 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
27 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
29 * progmodes/python.el (python-info-current-defun): Enhance
30 match-data cluttering prevention.
32 2013-02-21 Glenn Morris <rgm@gnu.org>
34 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
35 loaded while outline-regexp is let bound. (Bug#9584)
37 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
39 * progmodes/python.el (python-info-current-defun): Fix failed
40 defun name retrieval because of unwanted match-data cluttering.
42 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
44 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
45 defconst. Apply independent check for ControlPersist.
47 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
48 temporarily, via "env".
50 2013-02-21 Glenn Morris <rgm@gnu.org>
52 * info.el (Info-enable-edit): Remove.
53 (Info-edit): Disable it rather than using Info-enable.
54 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
55 (Info-cease-edit): Make editing of Info files obsolete.
57 * informat.el (Info-tagify):
58 Handle buffers not visiting files. (Bug#13763)
60 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
62 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
64 2013-02-21 Glenn Morris <rgm@gnu.org>
66 * files.el (basic-save-buffer): Move check for existing parent
67 directory after hooks. (Bug#13773)
69 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
71 * simple.el (command-execute): Move from C. Add obsolete check.
72 (extended-command-history): Move from C.
74 2013-02-20 Ulrich Müller <ulm@gentoo.org>
76 * jka-cmpr-hook.el (jka-compr-compression-info-list)
77 (jka-compr-mode-alist-additions): Handle .txz suffix for
78 XZ-compressed tar archives (bug#13770).
80 2013-02-20 Bastien Guerry <bzg@gnu.org>
82 * outline.el (outline-regexp, outline-heading-end-regexp):
83 Make variables, not options (bug#13731).
85 2013-02-20 Glenn Morris <rgm@gnu.org>
87 * image.el (image-current-frame): Change from variable to function.
88 (image-show-frame): Rename from image-nth-frame. Update callers.
89 * image-mode.el (image-multi-frame): New variable.
90 (image-mode-map, image-mode, image-goto-frame):
91 Use image-multi-frame rather than image-current-frame.
92 (image-mode, image-goto-frame): Use image-current-frame as
93 function rather than as variable.
95 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
96 * emacs-lisp/cl-macs.el (cl--make-type-test)
97 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
99 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
101 * net/tramp-cache.el (tramp-get-hash-table): New defun.
102 (tramp-get-file-property, tramp-set-file-property)
103 (tramp-get-connection-property, tramp-set-connection-property): Use it.
104 (tramp-flush-file-property, tramp-flush-directory-property):
105 Rename argument to KEY.
106 (tramp-flush-connection-property): Simplify a little bit.
107 (tramp-connection-property-p): New defun.
108 (top): Reapply saved values only if there isn't a corresponding
109 entry in `tramp-connection-properties'.
111 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
113 * progmodes/python.el (python-indent-context):
114 Fix python-info-line-ends-backslash-p call.
115 (python-info-line-ends-backslash-p)
116 (python-info-beginning-of-backslash): Respect line-number argument.
117 (python-info-current-line-comment-p):
118 Fix behavior when not at beginning-of-line.
119 (python-util-position): Remove function.
120 (python-util-goto-line): New function.
122 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
124 * eshell/em-unix.el (eshell/su): Require tramp.
125 (eshell/sudo): Require tramp. Remove now unnecessary check.
127 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
128 `tramp-current-connection' in order to avoid an error when several
129 commands are invoked in a short time in eshell and friends.
131 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
133 Cleanup some of EIEIO's namespace.
134 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
135 Use it to define all the class-* and object-* field accessors (renamed
136 to eieio--class-* and eieio--object-*). Update all uses.
137 (eieio--class-num-slots, eieio--object-num-slots): Rename from
138 class-num-slots and object-num-slots.
139 (eieio--check-type): New macro.
140 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
141 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
142 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
143 (object-assoc-list-safe): Use it.
144 (eieio-defclass): Tighten regexp.
145 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
146 Remove unreachable code.
147 (object-class-fast): Declare obsolete.
148 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
149 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
150 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
151 Rename from class-name, object-name, object-set-name-string,
152 object-class, object-class-name, class-parents, class-children,
153 class-precedence-list, class-parent; with obsolete alias.
154 (class-of, class-direct-superclasses, class-direct-subclasses):
156 (eieio-defmethod): Use `memq'; remove unreachable code.
157 * emacs-lisp/eieio-base.el (eieio-persistent-read):
158 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
159 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
162 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
164 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
165 Use font-lock-keyword-face for macros and special forms (bug#8345).
167 2013-02-17 Didier Verna <didier@didierverna.net>
169 * net/network-stream.el (network-stream-open-starttls):
170 Check that response to the starttls-command is non-nil. (Bug#13706)
172 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
174 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
175 Don't assume all identifier chars have syntax word.
176 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
177 Remove bar-not-symbol. Adjust callers.
178 (lisp-mode-variables): Don't set a font-lock-syntax-table.
180 2013-02-17 Leo Liu <sdl.web@gmail.com>
182 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
184 2013-02-17 Glenn Morris <rgm@gnu.org>
186 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
188 * image-mode.el (image-mode-map): Add image-dired menu entry.
190 * image-dired.el (tumme): Make this alias obsolete.
192 2013-02-16 Glenn Morris <rgm@gnu.org>
194 * image.el (image-animated-types): Remove.
195 (image-multi-frame-p): Rename from image-animated-p, and generalize.
196 (image-animated-p): Make obsolete alias.
197 (image-animate, image-nth-frame, image-animate-timeout):
198 Use image-multi-frame-p.
199 (image-animate-timeout): If no delay, use image-default-frame-delay.
200 * image-mode.el (image-mode, image-toggle-animation):
201 Use image-multi-frame-p. (Bug#763, bug#10739)
202 (image-mode): Adjust startup message for a multi-frame image.
204 * image-mode.el (image-mode-map): Give it a menu.
206 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
208 * net/tramp-cache.el (tramp-connection-properties): New customer
210 (tramp-get-connection-property): Use it.
212 * net/tramp-compat.el (top): Require 'trampver.
214 * net/tramp-sh.el (tramp-remote-process-environment):
215 Set tramp-autoload cookie.
217 2013-02-16 Kevin Ryde <user42@zip.com.au>
219 * info-look.el (info-lookup-select-mode): If major-mode has no
220 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
222 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
224 * replace.el (read-regexp): Tighten the regexp that matches tag.
225 When tag is retrieved with `find-tag-default', use regexp that
226 matches tag at point. Also update docstring (Bug#13687).
228 2013-02-16 Eli Zaretskii <eliz@gnu.org>
230 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
231 add watch for the file, not its parent directory, since w32notify
232 sets up the watch for the directory internally. (Bug#13725)
234 2013-02-16 Glenn Morris <rgm@gnu.org>
236 * image.el (image-default-frame-delay): New variable.
237 (image-animated-p): Use image-default-frame-delay.
238 (image-minimum-frame-delay): New constant.
239 (image-animate-timeout): Use image-minimum-frame-delay.
241 * image.el (image-nth-frame): New, split from image-animate-timeout.
242 (image-animate-timeout): Use image-nth-frame.
243 * image-mode.el (image-goto-frame, image-next-frame)
244 (image-previous-frame): New commands.
245 (image-mode-map): Add new frame commands.
247 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
249 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
250 If col-desc already has help-echo, use it. (Bug#13563)
252 2013-02-16 Glenn Morris <rgm@gnu.org>
254 * image.el (image-current-frame): New variable.
255 (image-animate-timeout): Set image-current-frame.
256 * image-mode.el (image-mode): For animated images,
257 display a frame counter via mode-line-process.
259 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
261 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
263 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
265 2013-02-15 Alan Mackenzie <acm@muc.de>
267 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
268 global minor mode has been enabled, call the minor mode function
269 for a new buffer once only, after the major mode hook, whilst
270 allowing that hook explicitly to disable the minor mode.
271 (MODE-disable-in-buffer): New (generated) function.
272 (disable-MODE): New (generated) buffer local variable.
274 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
276 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
277 `iswitchb-next-match' and `iswitchb-prev-match' resply.
278 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
279 `ido-next-match' and `ido-prev-match' resply.
280 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
281 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
282 `icomplete-backward-completions' (Bug#13708).
284 2013-02-15 Glenn Morris <rgm@gnu.org>
286 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
288 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
290 * net/goto-addr.el (goto-address-fontify): Add start and end args.
291 (goto-address-fontify-region): Use them instead of narrowing, so
292 syntax-ppss has access to the whole buffer.
294 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
296 * progmodes/python.el: Explain how to restore "cc-mode"-like
297 forward-sexp movement in header documentation (Bug#13642).
298 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
299 comments and strings (GH bug 114).
301 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
303 * progmodes/python.el (python-info-current-defun): Fix current
304 defun detection (Bug#13618).
306 2013-02-15 Chong Yidong <cyd@gnu.org>
308 * xml.el (xml-parse-string): Fix typo in handling of bad character
311 2013-02-15 Glenn Morris <rgm@gnu.org>
313 * play/fortune.el (fortune-compile): Simplify and fix previous change.
315 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp.el (tramp-debug-message):
318 Add `tramp-condition-case-unless-debug'.
319 (tramp-debug-on-error): New defvar.
320 (tramp-condition-case-unless-debug): New defun.
321 (tramp-file-name-handler): Use it.
323 2013-02-14 Juri Linkov <juri@jurta.org>
325 * info.el (Info-isearch-filter): Treat non-nil values of
326 `search-invisible' including its default value `open'
327 like the value `t' to match hidden text. (Bug#13402)
329 2013-02-14 Glenn Morris <rgm@gnu.org>
331 * help-fns.el (find-lisp-object-file-name): Give special treatment
332 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
334 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
336 * net/quickurl.el (quickurl-save-urls):
337 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
339 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
341 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
342 depth for unfinished percent literal. Not using it in the caller.
343 (ruby-move-to-block): Jump over multiline literals of all types,
344 ignoring code-looking contents inside them.
345 (ruby-add-log-current-method): Improve performance at the expense
346 of accuracy. `ruby-block-contains-point' is relatively slow, so
347 only use it for method and singleton class blocks.
349 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
351 Use ControlMaster where applicable. (Bug#13677)
353 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
354 replacing `tramp-detect-ssh-controlmaster'.
355 (tramp-default-method): Use it.
357 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
358 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
360 [scpc, rsyncc]: Remove methods.
361 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
363 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
364 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
366 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
368 * emacs-lisp/package.el (package--initialized): Move before first use.
370 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
372 * icomplete.el (icomplete-hide-common-prefix): New user option.
373 (icomplete-first-match): New face.
374 (icomplete-completions): Correct handling of "complete but not
377 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
379 * descr-text.el (describe-char): Display the script (bug#13698).
381 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
383 * tmm.el: Use lexical-binding and current-active-maps.
384 (tmm-menubar): Use map-keymap and pcase.
385 (tmm--completion-table): New function.
386 (tmm-prompt): Use it to fix the menu order.
387 (tmm-get-keybind): Use current-active-maps.
389 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
391 Add dired-hide-details-mode. (Bug#6799)
393 * locate.el (locate-mode): Set parent mode property to dired-mode.
395 * find-dired.el (find-dired): Call dired-insert-set-properties on
396 initial information line. Set process mark on end of buffer.
397 (find-dired-sentinel):
398 Call dired-insert-set-properties on summary.
400 * dired.el (dired-hide-details-hide-symlink-targets)
401 (dired-hide-details-hide-information-lines): New options.
402 (dired-insert-directory):
403 Set properties after final treatment of output.
404 (dired-insert-set-properties):
405 Set dired-hide-details-* properties.
406 (dired-mode-map): Bind dired-hide-details-mode.
407 (dired-mode): Set buffer-invisibility-spec to a list.
408 (dired-next-line): Skip hidden lines.
409 (dired-previous-line): Use dired-next-line.
410 (dired-hide-details-mode): New minor mode.
411 (dired-hide-details-update-invisibility-spec): New function.
413 2013-02-13 Glenn Morris <rgm@gnu.org>
415 * play/yow.el: Move to obsolete/. (Bug#9384)
417 2013-02-13 Juri Linkov <juri@jurta.org>
419 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
420 to select `ediff-control-frame' and set input focus correctly on Xfce.
423 2013-02-13 Juri Linkov <juri@jurta.org>
425 * image-mode.el (image-mode-map):
426 * doc-view.el (doc-view-mode-map):
427 * vc/ediff-util.el (ediff-setup-keymap):
428 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
430 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
432 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
433 performance. Instead of recalculating indentation fully for each
434 line, sum up indentation depth based only on visited lines.
435 (ruby-parse-partial): Increase the depth after "do" even when END
437 (ruby-parse-partial): When END is in the middle of a percent
438 literal, increase the depth if the delimiter chars belong to the
441 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
443 * play/fortune.el (fortune-compile): Also make the compiled file
444 if it does not exist at all, not just if it is old. (Bug#5338)
446 2013-02-13 Glenn Morris <rgm@gnu.org>
448 * emacs-lisp/package.el (package-menu-execute): Doc fix.
450 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
452 * lisp/emacs-lisp/package.el (package-menu-execute):
453 Add optional noquery argument. (Bug#13625)
455 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
457 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
458 if DIR exists and PARENTS is non-nil.
460 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
462 * progmodes/js.el (js--multi-line-declaration-indentation):
463 Silence byte-compiler warning.
465 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
467 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
469 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
470 only if it doesn't exist.
472 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
475 2013-02-12 Tassilo Horn <tsdh@gnu.org>
477 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
478 UserInstallation when calling soffice to work around LibreOffice
481 2013-02-12 Glenn Morris <rgm@gnu.org>
483 * files.el (basic-save-buffer):
484 Offer to create a non-existing directory. (Bug#3016)
486 * calc/calc-graph.el (calc-graph-show-dumb):
487 * calendar/calendar.el (calendar-mode-map):
488 * cus-edit.el (custom-mode-map):
489 * ehelp.el (electric-help-map):
490 * emulation/vip.el (vip-mode-map):
491 * epa.el (epa-key-list-mode-map):
492 * info.el (Info-mode-map):
493 * mail/rmail.el (rmail-mode-map):
494 * mail/rmailsum.el (rmail-summary-mode-map):
495 * man.el (Man-mode-map):
496 * net/newst-plainview.el (newsticker-mode-map):
497 * progmodes/cpp.el (cpp-edit-mode-map):
498 * progmodes/grep.el (grep-mode-map):
499 * progmodes/idlw-help.el (idlwave-help-mode-map):
500 * simple.el (special-mode-map):
501 * startup.el (splash-screen-keymap):
502 * view.el (view-mode-map):
503 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
505 2013-02-11 Elias Pipping <pipping@lavabit.com>
507 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
510 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
512 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
514 2013-02-11 Glenn Morris <rgm@gnu.org>
516 * vc/diff.el (diff-use-labels): New variable.
517 (diff-no-select): Use --label rather than -L, and first
518 check that it is supported. (Bug#11067)
520 * files.el (enable-dir-local-variables): New variable.
521 (hack-dir-local-variables): Respect enable-dir-local-variables.
522 * tutorial.el (help-with-tutorial):
523 Ignore directory-local variables. (Bug#11127)
525 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
526 (vc-svn-global-switches): ... to here. (Bug#13513)
528 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
530 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
531 Handle "foo (bar, default: xxx): " prompts.
533 2013-02-10 Chong Yidong <cyd@gnu.org>
535 * files.el (basic-save-buffer-1): Do not set
536 buffer-file-coding-system-explicit (Bug#4533).
538 * mail/emacsbug.el (report-emacs-bug): Change binding of
539 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
541 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
543 * calc/calc.el (calc-allow-units-as-numbers): New variable.
544 * calc/calc-units.el (calc-convert-units): Use new variable.
546 2013-02-09 Eli Zaretskii <eliz@gnu.org>
548 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
550 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
553 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
554 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
555 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
556 coding-system-for-write instead.
558 * jka-compr.el (jka-compr-write-region): Don't bind
561 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
564 * files.el (file-name-buffer-file-type-alist): Remove defvar.
565 (insert-file-contents-literally): Remove reference to
566 file-name-buffer-file-type-alist.
568 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
570 (find-buffer-file-type-match, find-buffer-file-type): Remove.
571 (find-buffer-file-type-coding-system): Remove references to
572 find-buffer-file-type-match, find-buffer-file-type, and
574 Don't put find-buffer-file-type-coding-system into
575 file-coding-system-alist.
576 (find-file-binary, find-file-text): Bind coding-system-for-read
577 instead of file-name-buffer-file-type-alist.
579 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
581 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
582 converter (Bug#13622).
583 (doc-view-unoconv-program): Make obsolete alias.
584 (doc-view-odf->pdf-converter-program): New variable.
585 (doc-view-odf->pdf-converter-function): New variable.
586 (doc-view-mode-p): Use it.
587 (doc-view-odf->pdf-converter-unoconv):
588 Rename from `doc-view-odf->pdf-converter-unoconv'.
589 (doc-view-odf->pdf-converter-soffice): New function.
590 (doc-view-convert-current-doc):
591 Use `doc-view-odf->pdf-converter-function'.
593 2013-02-09 Chong Yidong <cyd@gnu.org>
595 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
596 view-echo-area-messages (Bug#13340).
598 * help.el (view-echo-area-messages): Use display-buffer.
600 * dired-x.el (dired-do-run-mail): Prompt for confirmation
603 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
605 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
606 Eval body right away, now that we do eager macroexpansion (bug#13605).
608 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
609 (fundamental-mode): Use run-mode-hooks.
611 * eshell/esh-proc.el (eshell/kill): Fix last change.
612 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
614 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
616 * eshell/esh-proc.el (eshell/kill): Rewrite.
618 * eshell/em-ls.el (show-almost-all): Declare.
619 (eshell-do-ls): Add support for -A argument.
621 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
623 * icomplete.el (icomplete-forward-completions)
624 (icomplete-backward-completions): Handle corner case (bug#13602).
626 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
628 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
629 be nil. Handle this. (Bug#13636)
631 2013-02-07 Richard Stallman <rms@gnu.org>
633 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
634 `save-buffer-coding-system'.
636 2013-02-07 Alan Mackenzie <acm@muc.de>
638 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
639 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
640 (c-parse-state-get-strategy): Don't return 'BOD any more.
641 (c-append-lower-brace-pair-to-state-cache):
642 Extra parameter HERE instead of narrowing.
643 Widen to top of buffer before searching backwards for a brace pair.
644 (c-state-push-any-brace-pair): Add HERE parameter to function call.
645 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
646 Narrow to parameter HERE, in place of being called narrowed.
647 (c-remove-stale-state-cache): Extra parameter HERE in place of
648 narrowing. Check there's an open brace in the cache before
649 searching for its match.
650 (c-invalidate-state-cache-1): Add HERE parameter to function call.
651 (c-parse-state-1): Don't narrow here for 'forward strategy,
652 instead passing extra parameter HERE to several functions.
653 Remove 'BOD strategy.
655 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
657 * emacs-lisp/package.el (describe-package-1): Tell what archive is
658 used to install the package.
660 2013-02-06 Glenn Morris <rgm@gnu.org>
662 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
663 if we can't get user input. (Bug#6567)
665 * startup.el (command-line): If simple.el is missing,
666 test and warn about for some possible causes.
668 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
670 * cus-start.el (all): Add ns-use-native-fullscreen.
672 2013-02-05 Glenn Morris <rgm@gnu.org>
674 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
676 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
677 Fix directory creation in fallback case.
679 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
681 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
682 (vc-update-change-log): Use dolist.
684 2013-02-04 Chong Yidong <cyd@gnu.org>
686 * thingatpt.el: Rewrite the URL detection routines, absorbing some
688 (thing-at-point-beginning-of-url-regexp): New var.
689 (thing-at-point-uri-schemes): Update list of URI schemes.
690 (thing-at-point-url-regexp): Variable deleted.
691 (thing-at-point-markedup-url-regexp): Disallow newlines.
692 (thing-at-point-newsgroup-regexp)
693 (thing-at-point-newsgroup-heads)
694 (thing-at-point-default-mail-uri-scheme): New variables.
695 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
696 method to find the possible bounds of the URI at point.
697 New optional argument to find ill-formed URIs.
698 (thing-at-point-url-at-point): Rewrite. New arguments for finding
699 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
700 the scheme-adding heuristics from ffap-url-at-point.
701 (thing-at-point--bounds-of-well-formed-url): New function.
702 Do parens matching to decide whether to include parens in the URI
705 * ffap.el: Require thingatpt.
706 (ffap-url-at-point): Delegate URI detection to thing-at-point.
707 All URI-valid characters are now recognized (Bug#5673).
708 (ffap-string-at-point): Use use-region-p.
709 (ffap-url-regexp): Extra character is handled by thing-at-point.
710 (ffap-string-at-point-mode-alist): Allow parentheses.
711 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
712 Convert to aliases; code moved to thingatpt.el.
713 (ffap-gnus-hook): Use setq-local.
715 2013-02-04 Glenn Morris <rgm@gnu.org>
717 * emacs-lisp/ert.el (ert--explain-format-atom):
718 Don't try to print non-characters as characters. (Bug#13543)
720 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
722 * net/tramp.el (tramp-debug-message): Extend function exclude list.
723 (tramp-backtrace): New defun.
724 (tramp-handle-insert-file-contents): Use `visit' when inserting
727 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
728 Use `remote-file-name-inhibit-cache'.
730 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
732 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
735 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
736 current-load-list (bug#13366).
738 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
740 * progmodes/compile.el (compilation-error-regexp-alist-alist):
741 Identify g++ template instantiation trace. (Bug#12287)
742 (compilation-mode-hook, compilation-start-hook)
743 (compilation-window-height): Simplify docstrings. (Bug#13379)
745 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
747 * mouse.el (mouse-drag-track): Always deactivate the mark before
748 running the final event's command since that command is in charge of
749 activating the mark if needed (bug#13523).
751 2013-02-02 Juri Linkov <juri@jurta.org>
753 * replace.el (perform-replace): Move let-bindings of isearch-*
754 variables deeper to the loop that searches for the next match.
755 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
756 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
759 * isearch.el (isearch-search-fun-default): Check for null
760 first element of isearch-cmds as a precaution when it's used
761 with inactive isearch.
763 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
765 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
766 error when buffer in question is narrowed so position 1 is out of
769 2013-02-02 Glenn Morris <rgm@gnu.org>
771 * textmodes/remember.el (remember-clipboard): Doc fix.
773 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
775 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
776 properties (bug#13179).
778 2013-02-02 Juri Linkov <juri@jurta.org>
780 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
781 instead of hard-coded default face `match'. (Bug#9438)
783 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
785 * vc/vc-arch.el (vc-arch-registered):
786 * vc/vc-bzr.el (vc-bzr-registered):
787 * vc/vc-cvs.el (vc-cvs-registered):
788 * vc/vc-git.el (vc-git-registered):
789 * vc/vc-hg.el (vc-hg-registered):
790 * vc/vc-mtn.el (vc-mtn-registered):
791 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
794 * info.el (Info-next-reference, Info-prev-reference): Add numeric
795 prefix argument. (Bug#11656)
797 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
799 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
801 2013-02-01 Glenn Morris <rgm@gnu.org>
803 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
804 if the backend is known not to support it.
806 * imenu.el (imenu-default-create-index-function):
807 Tweak infinite loop test to check for forward motion as well as none.
809 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
811 * net/soap-client.el (soap-invoke): Encode the string for
812 `url-request-data' as UTF-8.
813 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
815 2013-02-01 Glenn Morris <rgm@gnu.org>
817 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
819 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
821 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
823 * net/tramp.el (tramp-tramp-file-p): Comment check for
824 `string-as-unibyte'. The function does not exist on XEmacs, and
825 likely we need another approach.
827 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
828 `tramp-gw-*' variables are bound.
830 2013-01-31 Glenn Morris <rgm@gnu.org>
832 * files.el (basic-save-buffer-2): Choose coding system for
833 writing the file before backing it up, to reduce delay between
834 backing up and writing the new version. (Bug#13522)
836 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
838 * simple.el (cycle-spacing): New command.
839 (just-one-space): Use it.
841 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
843 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
844 (opascal-newline-always-indents): Remove custom.
845 (opascal-tab, opascal-newline): Remove commands.
846 (opascal-new-comment-line): Insert "\n" instead of calling newline.
847 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
848 (opascal-save-match-data): Remove, use save-match-data instead.
849 (opascal-save-state): Use with-silent-modifications.
851 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
854 2013-01-30 Juri Linkov <juri@jurta.org>
856 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
857 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
858 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
860 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
862 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
863 column if we're just deleting the backslashes.
864 (makefile-fill-paragraph): Use eolp.
866 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
868 * autorevert.el (auto-revert-use-notify): Fix docstring.
870 2013-01-30 Leo Liu <sdl.web@gmail.com>
872 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
874 2013-01-30 Glenn Morris <rgm@gnu.org>
876 * mouse.el (mouse-drag-line): Avoid pushing same event onto
877 unread-command-events twice in some cases. This tries to implement
878 the 2012-07-26 changes in a different way. (Bug#13560)
880 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
882 * progmodes/python.el
883 (python-pdbtrack-comint-output-filter-function): Enhancements on
884 stacktrace detection. (thanks @gnovak)
886 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
888 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
889 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
891 (jit-lock-register): Use setq-local.
893 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
895 * calc-units.el (math-default-units-table): Remove initial value.
896 (calc-convert-units): Treat expressions where all the units cancel as
897 if they didn't have units.
899 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
901 * net/tramp.el (tramp-process-connection-type): Fix docstring.
902 (tramp-completion-reread-directory-timeout): Fix type.
903 (tramp-connection-min-time-diff): New defcustom.
905 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
907 2013-01-30 Glenn Morris <rgm@gnu.org>
909 * imenu.el (imenu-default-create-index-function):
910 Put back a version of the infinite loop test removed 2013-01-23.
912 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
914 * progmodes/python.el (python-shell-parse-command):
915 Find python-shell-interpreter with modified environment.
917 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
919 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
921 2013-01-29 Alan Mackenzie <acm@muc.de>
923 Amend to fontify /regexp/s in actions correctly.
924 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
925 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
926 are no longer included.
927 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
928 What used to be these variables without "-line" in the name.
929 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
930 (c-awk-non-arith-op-bra-re): Now also matches {.
931 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
932 "return", and "case".
933 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
935 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
936 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
938 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
940 * autorevert.el (auto-revert-use-notify):
941 Use `custom-initialize-default' for initialization. (Bug#13583)
943 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
945 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
946 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
947 in `tramp-file-name-handler'.
948 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
950 (tramp-compute-multi-hops): Check, whether
951 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
953 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
955 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
958 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
960 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
961 checks made superfluous by the \_< operator.
962 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
963 temporarily) broken indentation.
964 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
965 Highlight nested constants, too. \_< broke that.
967 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
969 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
972 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
974 * autorevert.el (auto-revert-handler): Notifications which result
975 from a saved file shall not be taken into account. (Bug#13557)
977 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
979 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
980 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
981 (lisp-mode): Pass t for it. (Bug#13556)
983 2013-01-25 Alan Mackenzie <acm@muc.de>
985 AWK Mode: Fix indentation bug at top level. Bug #12274.
987 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
990 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
992 * net/socks.el (socks-nslookup-host): Use string-to-number.
994 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
996 * autorevert.el (auto-revert-remote-files)
997 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
998 (auto-revert-notify-enabled, auto-revert-use-notify)
999 (auto-revert-notify-watch-descriptor-hash-list)
1000 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1001 (auto-revert-notify-event-descriptor)
1002 (auto-revert-notify-event-action)
1003 (auto-revert-notify-event-file-name): Doc fix.
1004 (global-auto-revert-mode): Reorder checks.
1005 (auto-revert-notify-rm-watch): Respect changed values of
1006 `auto-revert-notify-watch-descriptor-hash-list'.
1007 (auto-revert-notify-add-watch): Check for
1008 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1009 `inotify-add-watch'. Watch `default-directory' instead of
1010 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1011 has a changed meaning now. (Bug#13540)
1012 (auto-revert-notify-handler): Change implementation wrt events
1013 returning from a directory.
1014 (auto-revert-handler): Reorder implementation for checks of remote
1016 (auto-revert-buffers): Fix parentheses error.
1018 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1020 * progmodes/python.el: Enhancements to header documentation about
1021 skeletons. (Bug#5716)
1023 * imenu.el (imenu-default-create-index-function): Remove useless
1024 infinite loop check. (Bug#13438)
1026 2013-01-25 Alan Mackenzie <acm@muc.de>
1028 Fix a bug in the state cache mechanism. Refactor this a bit.
1030 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1031 `cache-pos' element from the return value.
1032 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1033 buffer to enable proper searching from beyond HERE. Amend the
1034 test for detecting the sought brace pair. Amend the value written
1035 to the "brace desert cache" when the brace isn't found.
1036 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1037 and several other variables analogously.
1038 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1039 parameter to a locally calculated variable.
1040 (c-parse-state-1): Change the calling conventions to the two
1041 defuns involving `cache-pos'.
1043 2013-01-25 Chong Yidong <cyd@gnu.org>
1045 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1047 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1049 * paren.el (show-paren-function): Make sure to set 'priority and
1050 'face only if the overlay does exist.
1052 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1054 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1056 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1058 (tramp-sh-handle-set-file-acl): Improve error checking.
1060 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1062 * doc-view.el (doc-view-display): Force mode line update until all
1063 document is converted. Suggested by Stefan Monnier (Bug#13164).
1065 2013-01-23 Bastien Guerry <bzg@gnu.org>
1067 * paren.el (show-paren-function): Make sure an overlay exists
1068 before trying to delete it. Also use `pos' as a position only
1069 when it is an integer.
1071 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1073 * play/gametree.el (gametree-break-line-here): Use point-marker.
1075 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1077 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1078 Mark descriptive parts with `display' property.
1080 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1082 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1083 New variable to map standard dict names to hunspell ones.
1084 (ispell-set-spellchecker-params): Make sure specific dict names
1085 are used for standard dicts with hunspell.
1087 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1089 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1090 chars for note (%N) and url (%U).
1091 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1093 2013-01-21 Juri Linkov <juri@jurta.org>
1095 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1096 in addition to existing separate binding `meta f10' in `global-map'.
1099 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1101 Improve XEmacs compatibility.
1103 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1105 * net/tramp-adb.el (top): Require `time-date'.
1106 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1107 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1108 Use `tramp-file-name-handler'.
1109 (tramp-adb-maybe-open-connection):
1110 Use `tramp-compat-set-process-query-on-exit-flag'.
1112 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1113 Use `tramp-compat-funcall'.
1115 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1116 `tramp-compat-funcall'.
1118 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1120 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1121 reimplementation using "adb shell command ..." instead of running
1122 remote shell interactively.
1124 2013-01-20 Glenn Morris <rgm@gnu.org>
1126 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1127 Add native profiler menu entries.
1129 * profiler.el (profiler-running-p): New function.
1130 (profiler-cpu-profile): Use profiler-running-p.
1131 (profiler-report-mode-map): Add some more menu entries.
1133 2013-01-19 Glenn Morris <rgm@gnu.org>
1135 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1136 fixes 2012-12-07 change. (Bug#13499)
1138 2013-01-19 Leo Liu <sdl.web@gmail.com>
1140 * dired.el (dired-get-marked-files): Prune erroneous values due to
1141 last change. (Bug#13152)
1143 2013-01-19 Glenn Morris <rgm@gnu.org>
1145 * progmodes/etags.el (tags-table-check-computed-list):
1146 Preserve point in tags buffer. (Bug#13412)
1148 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1150 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1151 Chong Yidong <cyd@gnu.org>
1153 * image-mode.el (image-next-file, image-previous-file):
1154 New commands (Bug#8453).
1155 (image-mode-map): Bind them to n and p.
1156 (image-mode--images-in-directory): New helper function.
1158 2013-01-19 Chong Yidong <cyd@gnu.org>
1160 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1161 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1162 save and restore the old window configuration.
1164 2013-01-18 Leo Liu <sdl.web@gmail.com>
1166 * progmodes/js.el: Tweak autoload cookie for alias.
1168 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1170 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1171 buffer local, again. This was lost with the fix on 2013-01-12.
1173 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1175 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1176 order to support several eshell buffers in parallel.
1178 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1180 * autorevert.el (auto-revert-use-notify): In the :set function, do
1181 not modify `kill-buffer-hook'.
1182 (auto-revert-notify-rm-watch):
1183 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1184 (auto-revert-notify-add-watch): Do not call
1185 `auto-revert-notify-rm-watch', but add it to a buffer local
1188 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1191 call to `eval' rather than a backquoted lambda.
1193 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1196 to return an explicit nil.
1197 (advice--remove-function): Change accordingly.
1199 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1200 the use of nadvice.el.
1202 * progmodes/which-func.el (which-function): Silence imenu errors
1205 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1207 * progmodes/sql.el: (sql-imenu-generic-expression):
1208 (sql-mode-font-lock-object-name): Match schema qualified names.
1209 (sql-connect): Use string keys.
1210 (sql-product-interactive): Wait for interpreter prompt.
1211 (sql-comint-oracle): Set process coding based on NLS_LANG.
1213 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1215 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1216 (sql-interactive-remove-continuation-prompt):
1217 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1219 2013-01-14 Leo Liu <sdl.web@gmail.com>
1221 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1224 2013-01-14 Glenn Morris <rgm@gnu.org>
1226 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1227 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1229 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1231 * progmodes/python.el (python-nav-end-of-statement):
1232 Fix cornercase when handling multiline strings.
1234 2013-01-13 Richard Stallman <rms@gnu.org>
1236 * mail/sendmail.el (mail-position-on-field): Add doc string.
1238 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1239 Get current message boundaries and pass them to
1240 message-forward-make-body-mime. Minor style changes.
1242 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1244 * cus-start.el (all): Avoid warnings about
1245 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1247 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1249 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1251 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1253 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1254 (jit-lock--debug-fontifying): New var.
1255 (jit-lock--debug-fontify): New function.
1256 * subr.el (condition-case-unless-debug): Don't prevent catching the
1257 error, just let the debbugger run.
1258 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1259 timer code and don't drop errors silently.
1261 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1263 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1264 `permanent-local' property.
1265 (auto-revert-notify-handler): Use `file-equal-p'.
1267 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1269 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1270 file notification by ACTION. For filtering by file name, compare
1271 only the non-directory part of the file name.
1273 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * autorevert.el: Use cl-lib instead of cl.
1277 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1278 (vc-bzr-checkin): Use it.
1279 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1280 will preserve match-data.
1282 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1284 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1285 (js--declaration-keyword-re): New var.
1286 (js--multi-line-declaration-indentation): New function.
1287 (js--proper-indentation): Use it.
1289 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1291 * calc/calc.el (calc-highlight-selections-with-faces)
1293 * comint.el (comint-history-isearch-message):
1294 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1295 * ffap.el (ffap-string-at-point-region, ffap-next)
1296 (ffap-string-at-point, ffap-string-around)
1297 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1299 * font-lock.el (font-lock-keywords-alist)
1300 (font-lock-removed-keywords-alist):
1301 * help-mode.el (help-xref-symbol-regexp):
1302 * info.el (Info-find-emacs-command-nodes):
1303 * international/mule.el (add-to-coding-system-list):
1304 * isearch.el (isearch-message-function, isearch-fail-pos):
1305 * misearch.el (multi-isearch-next-buffer-function):
1306 * newcomment.el (comment-box):
1307 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1308 (pr-setting-database):
1309 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1310 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1311 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1312 (pike-font-lock-keywords-3):
1313 * progmodes/compile.el (compile):
1314 * progmodes/etags.el (tags-table-files)
1315 (tags-table-files-function, tags-included-tables-function):
1316 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1317 (gdb-restore-windows):
1318 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1319 (ps-n-up-filling-database):
1320 * server.el (server-buffer, server-log):
1321 * simple.el (newline, delete-backward-char, delete-forward-char)
1322 (minibuffer-history-isearch-message, kill-line, track-eol)
1323 (temporary-goal-column):
1324 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1325 (flyspell-default-deplacement-commands):
1326 * textmodes/ispell.el (ispell-accept-output):
1327 * textmodes/sgml-mode.el (html-tag-help):
1328 * vc/compare-w.el (compare-ignore-whitespace)
1329 (compare-ignore-case, compare-windows-dehighlight):
1330 * vc/diff.el (diff):
1331 * whitespace.el (whitespace-point)
1332 (whitespace-font-lock-refontify, whitespace-bob-marker)
1333 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1335 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1337 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1338 (auto-revert-notify-rm-watch): Ignore errors.
1339 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1340 inotify, and '(size last-write-time) for w32notify.
1341 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1342 watch fails - this is a fallback to the file modification check.
1343 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1344 (auto-revert-notify-event-action)
1345 (auto-revert-notify-event-file-name): New defuns.
1346 (auto-revert-notify-handler): Use them. Implement first
1347 plausibility checks.
1348 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1350 2013-01-11 Julien Danjou <julien@danjou.info>
1352 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1353 max are almost equal. Also return the correct value for V which is
1354 already between 0 and 1.
1356 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1358 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1360 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1362 * autorevert.el (auto-revert-notify-rm-watch)
1363 (auto-revert-notify-add-watch): Fix typos in w32notify function
1366 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1368 * autorevert.el (auto-revert-notify-enabled): Move up.
1369 (auto-revert-use-notify): New defcustom.
1370 (auto-revert-mode, global-auto-revert-mode)
1371 (auto-revert-notify-add-watch, auto-revert-handler)
1372 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1373 `auto-revert-notify-enabled'.
1375 2013-01-10 Elias Pipping <pipping@exherbo.org>
1377 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1378 * doc-view.el (doc-view-document->bitmap):
1379 Use doc-view-single-page-converter-function instead of
1380 single-page-converter arg; adjust callers.
1382 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1384 * progmodes/which-func.el (which-function): Understand Semantic's use
1385 of overlays in imenu--index-alist.
1387 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1389 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1390 (Man-man-k-use-anchor): New var.
1391 (Man-parse-man-k): New function.
1392 (Man-completion-table): Use it.
1393 (man): Flush the completion cache between uses.
1395 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1397 * autorevert.el: Add file watch support.
1398 (auto-revert-notify-enabled): New defconst.
1399 (auto-revert-notify-watch-descriptor-hash-list)
1400 (auto-revert-notify-watch-descriptor)
1401 (auto-revert-notify-modified-p): New defvars.
1402 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1403 (auto-revert-notify-handler): New defuns.
1404 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1405 when mode is disabled.
1406 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1407 (auto-revert-buffers): Add file watches for active buffers.
1409 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1411 * cus-start.el (toplevel): Only allow float values for
1412 scroll-up-aggressively and scroll-down-aggressively.
1413 Allow any number for line-spacing.
1415 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1418 (doc-view-pdf->png-converter-function): Use mupdf if available.
1419 (doc-view-djvu->png-converter-function)
1420 (doc-view-ps->png-converter-function): Remove.
1421 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1422 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1423 (doc-view-already-converted-p): Adjust accordingly.
1424 (doc-view-mode-p): Simplify.
1425 (doc-view-enlarge): Use setq-local.
1426 (doc-view-pdf->png-converter-ghostscript)
1427 (doc-view-djvu->png-converter-ddjvu)
1428 (doc-view-pdf->png-converter-mupdf): Rework to call
1429 doc-view-start-process directly.
1430 (doc-view-pdf/ps->png): Simplify accordingly.
1431 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1432 (doc-view-document->bitmap): Rename from doc-view-document->png.
1433 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1434 (doc-view-set-slice-from-bounding-box): Fix completion table.
1435 (doc-view-mode): Use add-hook for after-revert-hook.
1437 2013-01-10 Glenn Morris <rgm@gnu.org>
1439 * emacs-lisp/authors.el (authors-ignored-files)
1440 (authors-valid-file-names, authors-renamed-files-alist):
1441 Add some more entries.
1443 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1445 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1446 `t' pseudo-window entry.
1448 2013-01-10 Alan Mackenzie <acm@muc.de>
1450 Fix bugs in the c-parse-state mechanism. Reuse some markers
1451 instead of continually generating new ones.
1453 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1454 (c-state-old-cpp-end-marker): New variables.
1455 (c-append-lower-brace-pair-to-state-cache): Start a backward
1456 search for "}" definitively outside CPP constructs.
1457 (c-remove-stale-state-cache): Inform the caller of a need to
1458 search back for a brace pair in certain circumstances.
1459 (c-state-maybe-marker): New macro.
1460 (c-parse-state): Reuse markers when appropriate.
1462 2013-01-10 Glenn Morris <rgm@gnu.org>
1464 * simple.el (execute-extended-command): Doc fix.
1465 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1467 2013-01-10 Chong Yidong <cyd@gnu.org>
1469 * faces.el (read-face-name): Doc fix.
1471 2013-01-10 Roland Winkler <winkler@gnu.org>
1473 * emacs-lisp/crm.el: Allow any regexp for separators.
1474 (crm-default-separator): All spaces around the default comma separator.
1475 (crm--completion-command): New macro.
1476 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1477 (crm-complete-and-exit): Handle non-single-char separators.
1479 2013-01-09 Elias Pipping <pipping@lavabit.com>
1481 * doc-view.el: Add support for DjVu (bug#13164).
1482 (doc-view-djvu->png-converter-function): New config var.
1483 (doc-view-single-page-converter-function, doc-view--image-type)
1484 (doc-view--image-file-extension): New vars.
1485 (doc-view-mode): Initialize them.
1486 (doc-view-goto-page): Use them.
1487 (doc-view-mode-p): Add support for ddjvu.
1488 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1489 (doc-view-set-up-single-converter): New funs.
1490 (doc-view-pdf/ps->png): Extend for djvu.
1491 (doc-view-document->png): Rename from doc-view-pdf->png.
1492 (doc-view-convert-current-doc): Handle djvu.
1493 (doc-view-insert-image, doc-view-display)
1494 (doc-view-already-converted-p): Don't hardcode png.
1495 (doc-view-set-doc-type): Recognize djvu docs.
1497 2013-01-09 Elias Pipping <pipping@lavabit.com>
1499 * doc-view.el: Add support for mupdf converter (bug#13164).
1500 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1501 (doc-view-ps->png-converter-function): New config vars.
1502 (doc-view-pdf->png-converter-ghostscript)
1503 (doc-view-ps->png-converter-ghostscript)
1504 (doc-view-pdf->png-converter-mupdf): New functions.
1505 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1507 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1509 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1510 first in session cache: When `tramp-own-remote-path' is in
1511 `tramp-remote-path', the remote path is only set in the session
1514 2013-01-09 Glenn Morris <rgm@gnu.org>
1516 * emacs-lisp/trace.el (trace-function-foreground)
1517 (trace-function-background): Doc fix.
1519 2013-01-09 Juri Linkov <juri@jurta.org>
1521 * international/mule-cmds.el (read-char-by-name): Move let-binding
1522 of completion-ignore-case around completing-read to fix regression
1523 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1524 `string-match-p' using the nil value of `case-fold-search' and
1525 `completion-ignore-case' in `completion-pcm--all-completions'.
1528 2013-01-09 Glenn Morris <rgm@gnu.org>
1530 * progmodes/compile.el (compilation-parse-errors):
1531 Fix typo. (Bug#13369)
1533 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1535 * comint.el (comint-send-input): Check size of buffer before
1536 waiting for process output, in case already accepted. (Bug#13290)
1538 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1541 * net/tramp-adb.el (tramp-adb-get-toolbox):
1542 Fix misspelling of 'unknown'.
1544 2013-01-08 Juri Linkov <juri@jurta.org>
1546 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1547 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1548 Use underline style wave on terminals that support it. (Bug#13000)
1550 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1553 the predicate returns nil.
1555 * simple.el: Use lexical-binding.
1556 (primitive-undo): Use pcase.
1557 (minibuffer-history-isearch-push-state): Use a closure.
1559 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1561 * simple.el (primitive-undo): Move from undo.c.
1563 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1565 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1566 (cvs-mode-remove-handled): Use it (bug#13380).
1568 * emacs-lisp/nadvice.el (advice--tweak): New function.
1569 (advice--remove-function, advice--subst-main): Use it.
1571 * emacs-lisp/advice.el: Update commentary.
1573 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1575 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1576 Remove spurious entry.
1578 2013-01-08 Glenn Morris <rgm@gnu.org>
1580 * net/tramp.el (tramp-default-host-alist): Add :version.
1582 2013-01-08 Juri Linkov <juri@jurta.org>
1584 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1585 single completion. (Bug#12456)
1586 (info--manual-names): Expand node completions into an explicit list
1587 before appending it to another list. Filter out internal buffers
1588 with the leading space in the buffer name. (Bug#10771)
1590 2013-01-08 Juri Linkov <juri@jurta.org>
1592 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1593 that defaults to the Top node.
1594 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1595 the short format (FILENAME) goes to the Top node.
1596 (Info-build-node-completions): Rename arg `file' to `filename'.
1599 2013-01-07 Bastien Guerry <bzg@gnu.org>
1601 * menu-bar.el (menu-bar-search-documentation-menu):
1602 Use `apropos-user-option' and fix the help message.
1604 2013-01-07 Bastien Guerry <bzg@gnu.org>
1606 * apropos.el (apropos-do-all): Update docstring.
1607 (apropos-user-option-button): New face.
1608 (apropos-user-option): Rename from `apropos-variable' and update
1610 (apropos-variable): Rewrite, now show all variables by default.
1611 (apropos-print): Mention "User option" instead of "Variable" when
1612 printing doc for user options. (Bug#13276)
1614 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1616 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1617 Handle filename correctly, when parsing "source -> target" symlink
1619 (tramp-adb-handle-set-file-times): New defun.
1621 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1624 advice list when the interactive-spec of ad-Advice-* changes.
1626 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1628 * wid-edit.el (widget-default-get): Work for inlined elements.
1631 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1633 * net/tramp.el (tramp-default-host-alist): New defcustom.
1634 (tramp-find-host): Use it.
1635 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1636 `eshell-directory-change-hook'.
1638 * net/tramp-adb.el (top): Add adb specific entry in
1639 `tramp-default-host-alist'.
1640 (tramp-adb-file-name-host): Remove function.
1641 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1642 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1644 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1646 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1648 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1650 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1652 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1653 consist of more than one digit.
1654 (tramp-adb-file-name-handler-alist):
1655 Use `tramp-handle-file-exists-p' consistently.
1656 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1657 (tramp-adb-handle-file-exists-p): Remove function.
1658 (tramp-adb-file-name-host): New defun.
1659 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1661 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1663 2013-01-06 Chong Yidong <cyd@gnu.org>
1665 * vc/vc.el (vc-next-action): Detect buffer modifications
1666 conflicting with locking VCS operation (Bug#11490).
1668 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1670 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1672 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1673 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1675 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1677 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1678 parsing of ls output using regular expression (handle filenames
1679 with spaces). Use virtual device number.
1680 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1683 2013-01-04 Daiki Ueno <ueno@gnu.org>
1685 * epg.el: Silence byte-compiler warnings.
1686 (epg--start): Use delete-char instead of delete-backward-char.
1687 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1689 2013-01-04 Daiki Ueno <ueno@gnu.org>
1691 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1692 Suggested by Eli Zaretskii <eliz@gnu.org>.
1694 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1696 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1697 non-negative integers. Otherwise, the default values are used.
1698 (tramp-convert-file-attributes): Convert uid and gid to integers.
1700 2013-01-04 Glenn Morris <rgm@gnu.org>
1702 * term.el (term-handle-colors-array): Ensure face attributes
1703 are fully specified, not nil. (Bug#13337)
1705 * term.el (term-default-fg-color, term-default-bg-color):
1708 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1709 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1710 rather than 'jka-compr being loaded. (Bug#13338)
1712 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1714 * icomplete.el (icomplete-completions):
1715 Honor icomplete-prospects-height once more following
1716 2012-11-29 changes. (Bug#13224)
1718 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1721 of called-interactively-p as well (bug#13237).
1723 * view.el (view--enable, view--disable): Rename from view-mode-enable
1724 and view-mode-disable and assume it's called from view-mode.
1725 (view-mode-enable, view-mode-disable): Redefine as obsolete
1726 compatibility layer above view-mode.
1727 (view-mode-enter): Call `view-mode'.
1729 * files.el (after-find-file): Call `view-mode'.
1731 * doc-view.el (doc-view-scale-internally): New var.
1732 (doc-view-enlarge, doc-view-insert-image): Obey it.
1734 2013-01-03 Daiki Ueno <ueno@gnu.org>
1736 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1739 2013-01-03 Glenn Morris <rgm@gnu.org>
1741 * mail/rmail.el (rmail-set-header-1): Ignore case.
1742 Handle multi-line headers. (Bug#13330)
1744 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1745 Handle paragraph starting at beginning of buffer.
1747 * subr.el (eval-after-load): Don't purecopy the form, so that it
1748 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1750 * emacs-lisp/byte-run.el (defun): Place cl declarations
1751 after any interactive spec. (Bug#13265)
1753 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1755 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1756 defun. Don't check for DECL if DOCSTRING isn't a string.
1759 2013-01-02 Glenn Morris <rgm@gnu.org>
1761 * eshell/em-cmpl.el (eshell-pcomplete):
1762 More thoroughly imitate pcomplete. (Bug#13293)
1764 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1765 Return nil for empty path elements. (Bug#13296)
1767 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1769 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1770 order to improve efficiency (Based on Daniel Colascione's
1771 <dancol@dancol.org> patch). (Bug#13182)
1773 2013-01-02 Glenn Morris <rgm@gnu.org>
1775 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1777 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1779 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1780 neither DOCSTRING nor DECL was given. (Bug#13316)
1782 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1784 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1786 (tramp-do-copy-or-rename-file): Ignore errors when calling
1787 `set-file-extended-attributes'.
1789 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1790 Add handler for `file-acl'.
1791 (tramp-smb-handle-file-acl): New defun.
1793 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1795 * calc/README: Mention ISO 8601 week-numbering dates.
1797 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1799 * view.el (view-mode-enable): New argument run-view-mode-hook.
1800 Run view-mode-hook only when it's non-nil (Bug#13315).
1801 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1804 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1806 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1807 (No device connected, invalid device name). (Bug #13299)
1809 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1811 * window.el (window-resizable--p): Rename to window-resizable-p.
1812 (window-resize-no-error): New function.
1814 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1815 broken in fix from 2012-12-28.
1817 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * subr.el (special-form-p): Don't signal errors on undef aliases.
1821 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1823 * calc/calc-forms.el (math-parse-date): Try using
1824 `math-parse-iso-date' when it looks like it might be needed.
1825 Allow times of 24:00.
1826 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1829 2012-12-30 Glenn Morris <rgm@gnu.org>
1831 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1832 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1833 (rmail-summary-displayed, rmail-summary): Declare.
1834 (mairix-rmail-display): Just require rmail.
1836 2012-12-30 Chong Yidong <cyd@gnu.org>
1838 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1839 check for the tarball contents.
1841 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1843 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1844 tarfile content listings (Bug#13136).
1846 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1848 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1849 Insert the undecoded text of the message being forwarded. (Bug#9521)
1851 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1853 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1854 integers, if they are real numbers. (Bug#13282)
1856 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1857 Return `t' on success.
1859 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1860 Add handler for `set-file-selinux-context'.
1862 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1864 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1865 (tramp-sh-handle-set-file-acl): Return `t' on success.
1867 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1869 * files.el (backup-buffer-copy, basic-save-buffer-2):
1870 If set-file-extended-attributes fails, fall back on set-file-modes
1871 instead of signaling an error. (Bug#13298)
1872 (basic-save-buffer): Likewise.
1874 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1876 * progmodes/python.el: Support other commands triggering
1877 python-indent-line so indentation cycling continues to work.
1878 (python-indent-trigger-commands): New defcustom.
1879 (python-indent-line): Use it.
1881 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1883 * progmodes/python.el (python-shell-send-region): Add blank lines
1884 for non sent code so backtraces remain correct.
1886 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1888 * progmodes/python.el: Remove cl dependency.
1889 (python-syntax-count-quotes): Replace incf call.
1890 (python-fill-string): Replace setf call.
1892 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1894 * info.el (info-other-window): New arg, for consistency with info.
1896 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1898 * mail/rmail.el (rmail-maybe-display-summary):
1899 Rewrite (Bug#13066).
1901 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1903 * epg.el (epg--start): Modify process-environment locally.
1905 2012-12-28 Daiki Ueno <ueno@gnu.org>
1907 * epg.el: Support pinentry-curses.
1908 Suggested by Werner Koch in
1909 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1910 (epg-agent-file, epg-agent-mtime): New variable.
1911 (epg--start): Record the modified time of gpg-agent socket file,
1912 to restore Emacs frame after pinentry-curses termination.
1913 (epg-wait-for-completion): Restore Emacs frame here.
1915 2012-12-27 Juri Linkov <juri@jurta.org>
1917 * info.el (Info-file-completions): New variable.
1918 (Info-read-node-name-1): Complete node names in the Info file
1919 when a file name is given. Call `Info-build-node-completions'
1921 (Info-build-node-completions): Add new arg `file'. When it is
1922 non-nil, visit it in a temporary buffer and cache its completions in
1923 `Info-current-file-completions'. Move most of the function body to
1924 `Info-build-node-completions-1'.
1925 (Info-build-node-completions-1): New function with the body from
1926 `Info-build-node-completions'. (Bug#12456)
1928 2012-12-27 Juri Linkov <juri@jurta.org>
1930 * frame.el (frame-maximization-style): Remove user option.
1931 (cycle-frame-maximized): Remove function.
1932 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1933 (toggle-frame-fullscreen): New command bound to <f11> instead of
1934 `toggle-frame-maximized'.
1935 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1937 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1939 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1941 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1942 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1943 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1944 for `file-accessible-directory-p'. (Bug#13275)
1946 2012-12-27 Sam Steingold <sds@gnu.org>
1948 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1949 continuations, see <http://stackoverflow.com/questions/3582436>.
1951 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1953 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1954 "module" and "def" to have indentation before them.
1955 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1957 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1959 2012-12-27 Alan Mackenzie <acm@muc.de>
1961 Speed up fontification where there's large brace blocks.
1962 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1963 to a call of c-beginning-of-decl-1.
1965 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1967 * comint.el (comint-adjust-window-point): New function.
1968 (comint-postoutput-scroll-to-bottom):
1969 Call comint-adjust-window-point (Bug#13248).
1971 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1973 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1975 (auto-mode-alist): Associate .gemspec files with ruby-mode
1976 (https://bugs.ruby-lang.org/issues/5453).
1978 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1980 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1981 Suppress coloring, if possible (required for BusyBox based systems like
1983 (tramp-adb-handle-file-attributes)
1984 (tramp-adb-handle-insert-directory)
1985 (tramp-adb-handle-file-name-all-completions): Use it.
1986 (tramp-adb-get-toolbox): New defun. Check for remote shell
1987 implementation (BusyBox or Toolbox).
1989 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1991 * startup.el (initial-buffer-choice): Allow function as value
1993 (command-line-1): Handle case where initial-buffer-choice
1994 specifies a function.
1995 * server.el (server-execute): Handle case where
1996 initial-buffer-choice specifies a function.
1998 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2000 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2002 (smtpmail-try-auth-methods): Forget the user name/password if the
2003 login is unsuccessful (bug#12424).
2005 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2007 * notifications.el (notifications-notify): Protect body with
2008 `with-demoted-errors'.
2010 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2011 Check properties of remote device. Restart connection, if there is a
2014 2012-12-21 Chong Yidong <cyd@gnu.org>
2016 * sort.el (sort-subr): Doc fix (Bug#13056).
2018 2012-12-21 Bastien Guerry <bzg@gnu.org>
2020 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2022 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2024 * simple.el (process-file): Overwrite stderr file, if exists.
2026 2012-12-21 Daiki Ueno <ueno@gnu.org>
2028 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2029 (epg-error): Set `error-message' property.
2031 2012-12-21 Chong Yidong <cyd@gnu.org>
2033 * international/mule-cmds.el (read-char-by-name): Signal an error
2034 if the user does not supply a valid character (Bug#13177).
2036 * simple.el (transpose-subr-1): Preserve marker positions by
2037 changing the insertion sequence (Bug#13122).
2039 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2041 * simple.el (kill-region): Deactivate mark even for empty regions
2044 2012-12-21 Chong Yidong <cyd@gnu.org>
2046 * help-fns.el (describe-variable): Make sure we get the right
2047 buffer name (Bug#13105). Suggested by Kelly Dean.
2049 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2051 * comint.el (comint-redirect-previous-input-string): New variable.
2052 (comint-redirect-setup, comint-redirect-cleanup)
2053 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2054 (comint-redirect-preoutput-filter): Fix verbose message.
2056 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2058 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2059 is too long for Tramp. See discussion in
2060 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2062 * progmodes/compile.el (compilation-start): Remove line escape
2065 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2067 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2070 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2072 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2073 following non-comment text (bug#13207).
2074 (lm-header-multiline): Continuation lines need to be indented more than
2076 (lm-homepage): New function.
2077 (lm-with-file): Don't be confused if narrowing is in effect.
2079 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2081 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2082 very beginning of a hunk (e.g. killing the first line).
2084 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2086 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2087 and text properties from returned ACL string.
2088 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2089 for "setfacl" command.
2091 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2093 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2094 `tramp-cleanup-this-connection', when the process has died.
2097 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2101 2012-12-17 Kevin Ryde <user42@zip.com.au>
2103 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2105 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2107 Add support for preserving ACL entries of files.
2109 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2110 `set-file-acl' handlers.
2112 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2113 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2115 * net/tramp-compat.el (tramp-compat-copy-file):
2116 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2119 Add `file-acl' and `set-file-acl' handlers.
2120 (tramp-gvfs-handle-copy-file):
2121 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2122 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2125 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2126 Add `file-acl' and `set-file-acl' handlers.
2127 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2128 (tramp-sh-handle-set-file-acl): New defuns.
2129 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2130 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2132 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2133 Add `file-acl' and `set-file-acl' handlers.
2134 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2136 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2138 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2139 use pop-to-buffer with NORECORD argument t. As buffer name, use
2140 *Metahelp* with a leading space (Bug#13190).
2142 2012-12-16 Romain Francoise <romain@orebokech.com>
2144 * files.el (file-extended-attributes)
2145 (set-file-extended-attributes): New functions.
2146 (backup-buffer): Use them to handle both SELinux context and ACL
2148 (backup-buffer-copy): Work with an alist of extended attributes,
2149 rather than an SELinux context.
2150 (basic-save-buffer-2): Ditto.
2152 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2154 * battery.el (battery-bsd-apm): New function.
2156 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2158 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2159 standard date formats.
2161 2012-12-15 Juri Linkov <juri@jurta.org>
2163 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2164 `isearch-insert-char-by-name'.
2165 (with-isearch-suspended): New defmacro with body mostly from
2166 `isearch-edit-string' except the part that sets
2167 `isearch-new-string' and `isearch-new-message'.
2168 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2169 body that sets `isearch-new-string' and `isearch-new-message'.
2170 (isearch-insert-char-by-name): New command.
2171 * international/mule-cmds.el (read-char-by-name): Let-bind
2172 `enable-recursive-minibuffers' to t.
2173 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2175 2012-12-15 Juri Linkov <juri@jurta.org>
2177 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2180 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2182 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2183 the prompt. (Bug#13045)
2185 2012-12-14 Glenn Morris <rgm@gnu.org>
2187 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2188 Try to include filename in non-bytecomp warning. (Bug#13132)
2190 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2192 Fix permissions bugs with setgid directories etc. (Bug#13125)
2193 * files.el (backup-buffer): Don't rely on 9th output of
2194 file-attributes, as it's now a placeholder. Instead, use the new
2195 optional arg of file-ownership-preserved-p.
2196 (file-ownership-preserved-p): New optional arg GROUP.
2197 Fix mishandling of setuid directories that would cause this
2198 function to return t when it should have returned nil.
2199 Document what happens if the file does not exist, and when
2200 it's not known whether the ownership will be preserved.
2201 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2203 (tramp-get-local-gid): Use group-gid for integer, as that's
2204 faster and more reliable.
2206 2012-12-14 Julien Danjou <julien@danjou.info>
2208 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2209 Update keywords list, data type and PL/pgSQL.
2211 2012-12-14 Dave Abrahams <dave@boostpro.com>
2213 * vc/ediff-util.el (ediff-buffer-type): New function.
2214 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2215 rather than taking it as as argument.
2216 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2218 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2220 * json.el: Add pretty-print option (bug#12634).
2221 (json-encoding-separator, json-encoding-default-indentation)
2222 (json--encoding-current-indentation, json-encoding-pretty-print)
2223 (json-encoding-lisp-style-closings): New vars.
2224 (json--with-indentation): New macro.
2225 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2226 (json-encode-array): Use it to obey json-encoding-pretty-print.
2227 (json-pretty-print-buffer, json-pretty-print): New commands.
2229 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2231 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2232 Extract `ruby-syntax-propertize-expansions'.
2233 (ruby-syntax-propertize-expansions): Only change syntax on
2234 certain string delimiters, to punctuation. This way the common
2235 functions like forward-word and thing-at-point still work.
2236 (ruby-match-expression-expansion): Improve readability.
2237 (ruby-block-contains-point): New function.
2238 (ruby-add-log-current-method): Handle several edge cases.
2240 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2242 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2243 unload-feature finishes even when aborting an ongoing edebug session.
2244 Also, do not worry about edebug-mode, unload-feature takes care of it.
2246 2012-12-13 Andreas Schwab <schwab@suse.de>
2248 * net/tls.el (tls-program): Update customize type.
2250 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2252 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2253 (edebug-setup-hook, cl-read-load-hooks): Use it.
2254 (edebug-unload-function): New function. (Bug#13163)
2256 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2258 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2259 Otherwise, there could be errors in autoloading. (Bug#13151)
2261 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2263 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2266 2012-12-13 Alan Mackenzie <acm@muc.de>
2268 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2269 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2270 around `forward-comment' not recognizing ^M as whitespace.
2272 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2274 * progmodes/python.el (python-skeleton-class)
2275 (python-skeleton-def): Do not add space after defun name.
2277 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2280 (cl--symbol-function): Remove (now that funbound is like nil).
2282 2012-12-12 Glenn Morris <rgm@gnu.org>
2284 * button.el (button--area-button-p): Fix typo.
2286 2012-12-12 Sam Steingold <sds@gnu.org>
2288 * frame.el (frame-maximization-style): New user option.
2289 (toggle-frame-maximized): Toggle frame maximization according to
2290 `frame-maximization-style', bound to <f11>.
2291 (cycle-frame-maximized): Cycle between all maximization styles and
2292 non-maximized frame, bound to shift-<f11>.
2294 2012-12-12 David Cadé <codename68@gmail.com>
2296 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2298 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2300 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2301 (eieio-override-prin1): Don't quote kewords and booleans.
2302 (object-write) <eieio-default-superclass>: Don't put closing parens
2303 on new line, avoid needless empty lines, align values that are objects
2304 with the slot keyword (instead of beginning on the same line).
2305 (eieio-list-prin1): Align value with slot keyword; increase
2306 eieio-print-depth before printing members of the list.
2308 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2310 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2311 a display text-property.
2312 (report-emacs-bug-hook): Don't bother deleting it any more.
2314 * hilit-chg.el (highlight-save-buffer-state): Delete.
2315 Use with-silent-modifications instead.
2316 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2318 * button.el: Handle buttons in display text-properties.
2319 (button--area-button-p, button--area-button-string):
2320 Use (STRING . STRING-POS) representation instead of just STRING.
2322 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2324 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2325 subdirectory be skipped.
2327 2012-12-11 Glenn Morris <rgm@gnu.org>
2329 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2331 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2332 Treat preprocessor lines embedded in continuations like comments.
2333 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2335 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2337 * calc/calc.el (calc-standard-date-formats): Add more date
2339 * calc/calc-forms.el (math-parse-iso-date): New function.
2340 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2341 (math-parse-iso-date-validate): Add extra error checking.
2342 (calc-date-notation): Add ability to access new date formats.
2344 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2347 font-lock as well as when there's no text-property.
2349 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2351 * hi-lock.el: Refine the choice of default face.
2352 (hi-lock-keyword->face): New function. Use it wherever we used
2354 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2355 (hi-lock--last-face): Remove var.
2356 (hi-lock--unused-faces): New var to replace it.
2357 (hi-lock-read-face-name): Use/maintain it.
2358 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2359 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2360 if it has another face.
2362 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2364 * subr.el (w32notify-handle-event): New function.
2365 (inotify-handle-event): Doc fix.
2367 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2369 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2371 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2373 * simple.el (just-one-space): Doc fix.
2375 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2377 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2379 2012-12-10 Le Wang <l26wang@gmail.com>
2381 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2382 narrowed buffer (bug#12361).
2384 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2386 * vc/vc-hooks.el (vc-state): Doc fix.
2388 2012-12-10 Glenn Morris <rgm@gnu.org>
2390 * mail/rmail.el (rmail-maybe-display-summary):
2391 Preserve buffer, in case select-window changes it. (Bug#13066)
2393 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2395 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2396 cl-load-hook where they belong.
2398 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2402 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2404 Parallelize byte compilation on MS-Windows.
2405 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2406 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2407 (WINS_BASIC): Define as concatenation of the above.
2408 (compile): Subdivide into 4 separate and independent jobs that can
2410 (compile0-CMD, compile0-SH): New targets for compiling
2411 COMPILE_FIRST files, which are prerequisites for the rest of the
2413 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2414 New targets for parallel compilation with cmd.exe.
2415 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2416 compiling under a Unixy shell.
2418 2012-12-09 Chong Yidong <cyd@gnu.org>
2420 * simple.el (set-mark-default-inactive): Delete this
2421 accidentally-introduced option.
2422 (set-mark-command, exchange-point-and-mark): Remove calls.
2424 2012-12-09 Glenn Morris <rgm@gnu.org>
2426 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2427 Respect a defcustom's :set function, if appropriate. (Bug#109)
2428 (eval-defun): Doc fix.
2430 2012-12-08 Juri Linkov <juri@jurta.org>
2432 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2433 (Info-fontify-node, Info-bookmark-make-record): Remove the
2434 file extension from Info-current-file (Bug#13016).
2436 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2439 point, still provide some default.
2440 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2441 names, since we don't use it right now. Actually return the list.
2442 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2444 2012-12-07 Chong Yidong <cyd@gnu.org>
2446 * novice.el (disabled-command-function): Remove a spurious help
2447 xref (Bug#13043). Suggested by Kelly Dean.
2449 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2450 syntax is specified (Bug#13025).
2452 * info.el (Info-set-mode-line): Remove the file extension from
2453 Info-current-file if there is one (Bug#13016).
2455 2012-12-07 Glenn Morris <rgm@gnu.org>
2457 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2458 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2459 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2460 and rmail-mime-decoded. (Bug#9841)
2462 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2463 (batch-unrmail, unrmail): Doc fixes.
2464 (unrmail): Respect unrmail-mbox-format.
2465 * mail/rmail.el (rmail-mbox-format): New option.
2466 (rmail-show-message-1): Respect rmail-mbox-format.
2468 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2470 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2472 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2474 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2475 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2476 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2477 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2478 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2479 (cl-progv): Don't rely on dynamic scoping to find the body.
2480 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2481 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2482 (cl-declaim): Use backquotes.
2483 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2484 Use "cl--" prefix for the object's tag.
2486 * ses.el: Use advice-add/remove.
2487 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2488 (copy-region-as-kill, yank): Use advice-add.
2489 (ses-unload-function): Use advice-remove.
2491 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2493 * button.el: Make them work in header-lines (bug#12817).
2494 (button-map): Add bindings for header-line and mode-line use.
2495 (button-get, button-put, button-label): `button' may now be a string.
2496 (button-activate): Don't make it a defsubst.
2497 (button--area-button-p, button--area-button-string): New functions.
2498 (make-text-button): Fix the return value when `beg' was a string.
2499 (push-button): Handle the mode-line case.
2501 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2504 (sql-signum): Remove. Use `cl-signum' instead.
2505 (sql-read-passwd): Remove; use read-passwd instread.
2506 (sql-get-login-ext): Use read-string.
2507 (sql-get-login): Use dolist and pcase.
2508 (sql--completion-table): Rename from sql-try-completion.
2509 Use complete-with-action.
2510 (sql-mode): Don't change abbrev-all-caps globally.
2511 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2512 (sql-postgres-completion-object): Initialize vars in their `let'.
2513 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2514 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2515 (sql-comint-interbase): Use a single append, without setq.
2516 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2518 * hi-lock.el: Rework the default face and the serialize regexp code.
2519 (hi-lock--auto-select-face-defaults): Remove.
2520 (hi-lock-string-serialize-serial): Remove.
2521 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2523 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2525 (hi-lock-set-pattern): Adjust accordingly.
2526 (hi-lock--regexps-at-point): Simplify accordingly.
2527 (hi-lock--auto-select-face-defaults): Remove.
2528 (hi-lock--last-face): New var to replace it.
2529 (hi-lock-read-face-name): Rewrite (bug#11095).
2530 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2532 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2534 * net/tramp.el (tramp-replace-environment-variables):
2535 Hide compiler warning.
2536 (tramp-file-name-for-operation): Remove `executable-find',
2537 `start-process', `call-process' and `call-process-region'.
2539 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2541 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2544 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2546 2012-12-06 Chong Yidong <cyd@gnu.org>
2548 * ffap.el (ffap-replace-file-component): Fix typo.
2550 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2553 fix open-paren-like token test (bug#12785).
2555 2012-12-06 Glenn Morris <rgm@gnu.org>
2557 * mail/rmailsum.el (rmail-new-summary): Tweak for
2558 rmail-maybe-display-summary changing buffer. (Bug#13066)
2560 2012-12-06 Juri Linkov <juri@jurta.org>
2562 * info.el (Info-fontify-node): Don't hide the last newline.
2565 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2567 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2568 so as to enable message-read-from-minibuffer to expand mail aliases.
2570 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2573 the `intangible' property.
2574 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2576 2012-12-05 Deniz Dogan <deniz@dogan.se>
2578 * net/rcirc.el (rcirc-urls): Update documentation.
2579 (rcirc-condition-filter): New function.
2580 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2581 and exclude consecutive duplicate URLs (Bug#6082).
2583 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2586 Check return code of copy command.
2588 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2589 Use group `tramp'. Add version.
2591 2012-12-05 Chong Yidong <cyd@gnu.org>
2593 * ffap.el (ffap-url-regexp): Don't require matching at front of
2595 (ffap-url-p): If only a substring matches, return that.
2596 (ffap-url-at-point): Use the return value of ffap-url-p.
2597 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2598 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2599 (ffap-guess-file-name-at-point): Likewise.
2600 (ffap-replace-file-component): Fix typo.
2602 * info.el (info-display-manual): Add existing Info buffers, whose
2603 files may not be in Info-directory-list, to the completion.
2604 (info--manual-names): New helper function.
2606 2012-12-05 Glenn Morris <rgm@gnu.org>
2608 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2609 New functions, for detecting and resolving conflicts. (Bug#10709)
2611 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2613 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2614 (hi-lock-auto-select-face-defaults): New buffer local variable.
2615 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2616 (hi-lock-unface-buffer): Prompt user with useful defaults.
2617 With prefix arg, unhighlight all hi-lock patterns in buffer.
2619 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2623 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2625 * Makefile.in (TRAMP_SRC):
2626 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2628 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2630 * net/tramp-adb.el: New package.
2632 2012-12-04 Chong Yidong <cyd@gnu.org>
2634 * terminal.el: Move to obsolete/.
2636 * longlines.el: Move to obsolete/.
2638 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2639 Remove code referring to longlines mode.
2641 2012-12-03 Juri Linkov <juri@jurta.org>
2643 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2645 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2647 * textmodes/ispell.el (ispell-init-process)
2648 (ispell-start-process, ispell-internal-change-dictionary):
2649 Make sure personal dictionary name is expanded after initial
2650 `default-directory' value. Use expanded strings for
2651 keep/restart checks and for value (Bug#13019).
2653 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2655 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2657 2012-12-03 Leo Liu <sdl.web@gmail.com>
2659 * files.el (dir-locals-read-from-file): Check file non-empty
2660 before reading. (Bug#13038)
2662 2012-12-03 Glenn Morris <rgm@gnu.org>
2664 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2665 Remove any version extension before checking filename. (Bug#13006)
2666 (jka-compr-compression-info-list): Belated :version bump.
2668 2012-12-03 Chong Yidong <cyd@gnu.org>
2670 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2672 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2673 (buffer-menu): Doc fix (Bug#12294).
2675 2012-12-03 Roland Winkler <winkler@gnu.org>
2677 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2678 of diary-show-all-entries in the diary buffer (Bug#12994).
2680 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2682 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2683 "<STDIN>". This is binary safe.
2685 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2687 * calc/calc-forms.el (math-absolute-from-iso-dt)
2688 (math-date-to-iso-dt, math-parse-iso-date-validate)
2689 (math-iso-dt-to-date): New functions.
2690 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2691 (math-fd-isoweekday): New variables.
2692 (calc-date-notation, math-parse-standard-date, math-format-date)
2693 (math-format-date-part): Add support for more formatting codes.
2695 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2697 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2698 current buffer's file name when called interactively (Bug#12488).
2700 2012-12-02 Juri Linkov <juri@jurta.org>
2702 * info.el (info-display-manual): Don't clobber an existing Info
2703 buffer (Bug#10770). Add completion (Bug#10771).
2705 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2707 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2708 before using it for comparison (Bug#5297).
2710 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2712 * textmodes/css-mode.el (css-current-defun-name): New function.
2715 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2716 (html-mode): Use it.
2718 2012-12-01 Chong Yidong <cyd@gnu.org>
2720 Modularize add-log-current-defun (Bug#2224).
2721 Suggested by Jari Aalto.
2723 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2724 (add-log-current-defun): Move mode-specific code to other files.
2725 (add-log-lisp-like-modes, add-log-c-like-modes)
2726 (add-log-tex-like-modes): Variables deleted.
2728 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2729 (lisp-mode-variables): Use it.
2731 * progmodes/cc-mode.el (c-common-init):
2732 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2733 add-log-current-defun-function.
2735 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2738 * progmodes/perl-mode.el (perl-current-defun-name): New.
2739 (perl-mode): Use it.
2741 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2742 Use lisp-current-defun-name.
2744 * textmodes/tex-mode.el (tex-current-defun-name): New.
2745 (tex-common-initialization): Use it.
2747 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2748 (texinfo-mode): Use it.
2750 2012-12-01 Chong Yidong <cyd@gnu.org>
2752 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2753 * progmodes/autoconf.el (autoconf-mode):
2754 * progmodes/js.el (js-mode):
2755 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2756 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2757 * progmodes/perl-mode.el (perl-mode):
2758 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2759 * textmodes/css-mode.el (css-mode):
2760 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2761 (sgml-tags-invisible, sgml-guess-indent):
2762 * textmodes/tex-mode.el (tex-common-initialization)
2763 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2764 (doctex-mode, plain-tex-mode, latex-mode):
2765 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2767 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2769 * vc/vc-hg.el (vc-hg-next-revision):
2770 Ensure use of default "tip" output format. (Bug#6968)
2772 2012-12-01 Kim F. Storm <storm@cua.dk>
2774 * startup.el (fancy-startup-tail): Add a clickable link
2777 2012-12-01 Chong Yidong <cyd@gnu.org>
2779 * startup.el (fancy-startup-tail): Improve the message about
2780 auto-save files (Bug#2176).
2782 * files.el (recover-session): Improve the descriptive message, and
2783 use substitute-command-keys.
2785 2012-12-01 Glenn Morris <rgm@gnu.org>
2787 * ido.el (ido-file-internal):
2788 Handle other-window, other-frame for dired. (Bug#13036)
2790 2012-11-30 Glenn Morris <rgm@gnu.org>
2792 * icomplete.el (icomplete-separator): Fix :version.
2794 2012-11-30 Chong Yidong <cyd@gnu.org>
2796 * shell.el (shell): For C-u M-x shell, use an inactive shell
2797 buffer as the default (Bug#1975).
2798 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2799 (shell-mode): Use them to reapply ansi colorization if Shell mode
2802 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2804 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2806 2012-11-30 Samuel Bronson <naesten@gmail.com>
2808 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2809 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2811 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2813 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2814 by move-to-column (Bug#3234).
2816 2012-11-30 Chong Yidong <cyd@gnu.org>
2818 * longlines.el (longlines-wrap-line, longlines-encode-region):
2819 Preserve text properties (Bug#1425).
2821 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2823 * vc/vc.el (vc-register): Allow registering a file which is
2824 already registered with a different backend (Bug#10589).
2826 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2827 Stefan Monnier <monnier@iro.umontreal.ca>
2829 * icomplete.el: Change separator; add ido-style commands.
2830 (icomplete-show-key-bindings): Remove custom var.
2831 (icomplete-get-keys): Remove function.
2832 (icomplete-forward-completions, icomplete-backward-completions):
2834 (icomplete-minibuffer-map): New var.
2835 (icomplete-minibuffer-setup): Use it.
2836 (icomplete-exhibit): Don't delay if the list of completions is known.
2837 (icomplete-separator): New custom.
2838 (icomplete-completions): Use it.
2839 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2840 (minibuffer-force-complete-and-exit): New command.
2841 (minibuffer--complete-and-exit): New function extracted from
2842 minibuffer-complete-and-exit.
2843 (minibuffer-complete-and-exit): Use it.
2845 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2846 error message when the file doesn't exist (bug#12974).
2848 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2850 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2852 2012-11-29 Glenn Morris <rgm@gnu.org>
2854 * files.el (hack-dir-local-variables): Warn if try to set
2855 coding via dir-locals, since it doesn't work. (Bug#7169)
2857 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2858 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2859 Set buffer-local value of desktop-save-buffer.
2860 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2862 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2863 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2865 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2866 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2868 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2871 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2873 * calc/calc-forms.el (calc-date-notation): Fix regexp
2874 used to find time codes. Fix symbol for seconds.
2876 2012-11-27 Glenn Morris <rgm@gnu.org>
2878 * emacs-lisp/derived.el (derived-mode-make-docstring):
2879 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2881 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2883 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2884 lexically scoped variables (bug#13005).
2886 2012-11-27 Glenn Morris <rgm@gnu.org>
2888 * vc/vc-hooks.el (vc-mistrust-permissions):
2889 Default to t, to avoid data-loss. (Bug#11490)
2891 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2893 * progmodes/python.el (python-indent-guess-indent-offset):
2894 If indentation is guessed make python-indent-offset buffer-local.
2896 Fix Imenu regression.
2897 * progmodes/python.el (python-nav-beginning-of-defun):
2898 Fix forward movement when statement(s) separates point from defun.
2899 (python-imenu-prev-index-position): New function.
2901 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2903 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2905 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2906 Don't set buffer-file-type. Return nil. (Bug#12989)
2908 2012-11-27 Glenn Morris <rgm@gnu.org>
2910 * hippie-exp.el (hippie-expand-try-functions-list):
2911 Re-autoload it. (Bug#12982)
2913 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2915 * descr-text.el (describe-char-padded-string):
2916 Call internal-char-font only on GUI frames. (Bug#11964)
2918 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2920 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2921 and obsoletion message.
2923 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2926 the constructs to keep outside of the `cl-block' (bug#12977).
2928 2012-11-27 Chong Yidong <cyd@gnu.org>
2930 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2931 keep reading until we get the up-event anyway, in order to process
2932 the up-event for mouse-1-click-follows-link (Bug#12971).
2934 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2937 base function is not yet defined (bug#12965).
2938 (ad-activate-advised-definition): Use ad-compile-function.
2939 (ad-activate): Use cond.
2941 2012-11-25 Leo Liu <sdl.web@gmail.com>
2943 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2946 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2948 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2949 reftex-section-info-function in order to be compatible with
2950 Texinfo integration.
2952 * textmodes/reftex.el (reftex-section-pre-regexp)
2953 (reftex-section-post-regexp, reftex-section-info-function):
2955 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2956 reftex-section-post-regexp, and reftex-section-info-function in order
2957 to be compatible with Texinfo integration.
2959 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2960 use reftex-section-pre-regexp variable in order to be compatible with
2961 Texinfo integration.
2963 2012-11-25 Chong Yidong <cyd@gnu.org>
2965 * faces.el: Make face-spec-set more analogous to setq.
2966 (face-spec-set): Change the third arg to specify whether this
2967 function is being called via defface, customize, or a third party.
2968 Set the appropriate symbol properties. Clear the override spec if
2969 setting via Custom. Initialize face if necessary. (Bug#4988)
2970 (face-spec-recalc): Allow theme faces to completely replace the
2971 defface spec, in the same way as custom faces (Bug#8454).
2973 * cus-face.el (custom-declare-face): Move face initialization to
2975 (custom-theme-set-faces): Don't initialize the face name here, as
2976 that is now done in face-spec-set.
2978 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2979 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2980 Simplify by using the new arg to face-spec-set.
2982 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2983 reset face-override-spec too, and use custom-declare-face.
2985 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2987 * term/ns-win.el (ns-initialize-window-system): Move creation of
2988 fontsets here (Bug#11964).
2990 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2992 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2995 2012-11-24 Chong Yidong <cyd@gnu.org>
2997 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3000 * custom.el (custom-theme-set-variables): Use a topological sort
3001 for ordering by custom dependencies (Bug#12952).
3002 (custom--sort-vars, custom--sort-vars-1): New functions.
3004 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3006 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3007 lexical-binding (bug#12938).
3009 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3011 * image-mode.el (image-transform-check-size): Use assertions only
3012 for images of type imagemagick.
3014 Otherwise no error, image-transform-fit-to-{width,height} is
3015 silently ignored, as before. Doc fix.
3017 2012-11-24 Chong Yidong <cyd@gnu.org>
3019 * faces.el (color-defined-p): Doc fix (Bug#12853).
3021 2012-11-24 Juri Linkov <juri@jurta.org>
3023 * dired.el (dired-mark): Add optional arg `interactive'.
3024 Check for `use-region-p' if `interactive' is non-nil.
3025 (dired-unmark, dired-flag-file-deletion): Add optional arg
3026 `interactive'. Call `dired-mark' with the arg `interactive'.
3029 * wdired.el: Revert 2012-10-17 change partly and replace it with
3030 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3031 (wdired-finish-edit): Add marks for new file names to
3032 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3033 after `revert-buffer'.
3034 (wdired-do-renames): Remove calls to `dired-remove-file',
3035 `dired-add-file', `dired-add-entry'. (Bug#11795)
3037 2012-11-24 Alan Mackenzie <acm@muc.de>
3039 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3041 Fix bugs in the state cache. Enhance a debugging mechanism.
3042 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3043 "brace at column zero" strategy for C++.
3044 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3045 (c-parse-state-point): New variable.
3046 (c-record-parse-state-state): Record old parse state with
3047 `copy-tree'. Record previous value of point.
3048 (c-debug-parse-state-double-cons): New debugging function.
3049 (c-debug-parse-state): Call the above new function.
3050 (c-toggle-parse-state-debug): Output a confirmatory message.
3052 * progmodes/cc-mode.el (c-before-change, c-after-change):
3053 Call c-invalidate-state-cache from `c-before-change' instead of
3056 2012-11-23 Chong Yidong <cyd@gnu.org>
3058 * find-cmd.el (find-constituents): Add executable, ipath,
3059 readable, samefile, writable, daystart, regextype (Bug#12856).
3061 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3065 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3067 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3068 definition. This fixes a bootstrap failure.
3069 (calc-gregorian-switch): In menu, put dates before regions.
3070 This is easier to follow, lines up better in the menu, and lets us
3071 coalesce regions that switch at the same time. Give country
3072 names, not "Vatican", as that's better for non-expert users.
3073 Use names that are stable between the date of switch and now, e.g.,
3074 Bohemia and Moravia (which existed then and now) and not
3075 Czechoslovakia (which didn't exist then and doesn't exist now).
3076 What is now the U.S. mostly did not switch at the same time as
3077 Britain, so omit the U.S. Correct spelling of "Britain".
3078 Catholic Switzerland was too much of a mess, so omit it.
3080 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3082 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3083 after the variable is changed.
3085 2012-11-21 Daniel Colascione <dancol@dancol.org>
3087 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3088 in SQL declarations for font-lock.
3089 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3091 2012-11-21 Glenn Morris <rgm@gnu.org>
3093 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3094 (face-italic-p): Add optional argument "inherit".
3096 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3097 Remove -p suffix from names, for consistency with other set-face-*.
3098 (set-face-inverse-video): Fix interactive spec.
3099 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3100 * textmodes/table.el (table--update-cell-face):
3101 Use set-face-inverse-video rather than now obsolete alias.
3103 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3105 * simple.el (line-move): Don't call line-move-partial if
3106 scroll-conservatively is in effect. (Bug#12927)
3108 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3110 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3111 Fallback on completion-at-point rather than
3112 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3113 (eshell-cmpl-initialize): Setup completion-at-point.
3115 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3117 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3119 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3121 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3122 are remote, check out-of-band property for both.
3124 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3129 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3131 More minor time fixes.
3132 * calendar/time-date.el: Commentary fix.
3133 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3134 too much other code depends on (0 0) time stamps.
3135 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3136 Add a couple of FIXME comments.
3138 Minor cleanup for times as lists of four integers.
3139 * files.el (dir-locals-directory-cache):
3140 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3142 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3143 * ps-bdf.el (bdf-file-newer-than-time):
3144 Process four-integers time stamps, not two. Doc fixes.
3146 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * uniquify.el (uniquify-managed): Use defvar-local.
3149 (rename-buffer, create-file-buffer): Advise with advice-add.
3150 (uniquify-unload-function): Unadvise accordingly.
3152 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3153 (trace-buffer): Don't purecopy.
3154 (trace-entry-message, trace-exit-message): Add `context' arg.
3155 (trace--timer): New var.
3156 (trace-make-advice): Adjust for use in nadvice.
3157 Add `context' argument. Delay `display-buffer' via a timer.
3158 (trace-function-internal): Use advice-add.
3159 (trace--read-args): New function.
3160 (trace-function-foreground, trace-function-background): Use it.
3161 (trace-function): Rename to trace-function-foreground and redefine as
3162 an alias to that new name.
3163 (untrace-function, untrace-all): Adjust to the use of nadvice.
3165 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3167 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3169 * subr.el (called-interactively-p-functions): New var.
3170 (internal--called-interactively-p--get-frame): New macro.
3171 (called-interactively-p, interactive-p): Rewrite in Lisp.
3172 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3173 (called-interactively-p-functions): Use it.
3174 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3175 (called-interactively-p-functions): Use it.
3176 * allout.el (allout-called-interactively-p): Don't assume
3177 called-interactively-p is a subr.
3179 2012-11-20 Glenn Morris <rgm@gnu.org>
3181 * profiler.el (profiler-report-mode-map): Add a menu.
3182 No need to bind `q' because we derive from special-mode.
3183 (profiler-report-find-entry): Handle calls from the menu-bar.
3185 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3187 * emacs-lisp/byte-run.el (defun-declarations-alist):
3188 Allow a compiler-macro to be a lambda expression.
3190 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3192 (python-syntax-context): Add compiler-macro.
3193 (python-font-lock-keywords): Simplify with De Morgan.
3195 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3197 * files.el (load-file): Require match in minibuffer selection, as was
3198 the case in Emacs-20 before we changed the spec to allow .elc files
3201 * json.el: Don't require cl since we don't use it.
3202 * color.el: Don't require cl.
3203 (color-complement): `caddr' -> `nth 2'.
3205 * calendar/time-date.el (time-to-seconds): De-obsolete.
3207 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3209 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3211 (math-date-to-julian-dt): Adjust the initial approximation for the
3212 year to deal with the new definition of the DATE.
3214 2012-11-19 Daniel Colascione <dancol@dancol.org>
3216 * term/w32-win.el (cygwin-convert-path-from-windows):
3217 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3219 2012-11-18 Chong Yidong <cyd@gnu.org>
3221 * filecache.el (file-cache--read-list): New function.
3222 (file-cache-add-directory-list, file-cache-add-file-list)
3223 (file-cache-delete-file-list, file-cache-delete-directory-list):
3224 Use it to read a list of files or directories (Bug#12846).
3225 (file-cache-add-file, file-cache-add-directory)
3226 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3227 (file-cache-delete-directory): Print an message.
3229 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3231 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3232 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3234 2012-11-18 Glenn Morris <rgm@gnu.org>
3236 * image.el (insert-image, insert-sliced-image): Doc fix.
3238 2012-11-18 Chong Yidong <cyd@gnu.org>
3240 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3243 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3245 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3246 response when the target file is in a subdirectory (Bug#12757).
3248 2012-11-18 Chong Yidong <cyd@gnu.org>
3250 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3252 2012-11-18 Glenn Morris <rgm@gnu.org>
3254 * emacs-lisp/cl-lib.el (face-underline-p):
3255 Use set-face-underline rather than the alias set-face-underline-p.
3257 * window.el (with-temp-buffer-window): Doc fix.
3258 * subr.el (with-output-to-temp-buffer):
3259 Add doc xref to with-temp-buffer-window.
3261 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3263 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3264 * calc/calc.el (math-format-date-cache): Declare.
3266 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3268 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3269 It also uses January 1, 1 AD as its day number 1.
3270 * calc/calc-forms.el (math-julian-date-beginning)
3271 (math-julian-date-beginning-int): Implement this.
3273 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3275 * descr-text.el (quail-find-key):
3276 * dired.el (desktop-file-name):
3277 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3278 * generic-x.el (comint-mode, comint-exec):
3279 * image-dired.el (widget-forward):
3280 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3281 (speedbar-change-expand-button-char)
3282 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3283 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3284 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3285 (widget-field-action, widget-value-set):
3286 * speedbar.el (imenu--make-index-alist):
3287 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3288 (ring-length, ring-insert):
3289 * vcursor.el (compare-windows-skip-whitespace):
3290 * woman.el (dired-get-filename):
3293 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3295 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3297 * calc/calc.el (calc-gregorian-switch): New variable.
3299 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3300 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3301 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3302 (math-leap-year-p): Add option to distinguish between Julian
3303 and Gregorian calendars.
3304 (math-day-number): Use `math-day-in-year' to do the computations.
3305 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3306 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3307 to do the computations.
3308 (math-date-to-dt): Use `math-date-to-julian-dt' and
3309 `math-date-to-gregorian-dt' to do the computations.
3310 (calcFunc-weekday, math-format-date-part): Use the new version of
3311 the DATE to determine the weekday.
3312 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3315 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3317 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3318 Cygwin; otherwise use 'file:'. (Bug#12914)
3319 (cygwin-convert-path-from-windows): Declare, to avoid
3320 byte-compiler warnings.
3322 2012-11-17 Andreas Politz <politza@fh-trier.de>
3324 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3325 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3326 prefix and negative numeric prefix args (Bug#12795).
3328 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3330 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3331 Don't signal an error with a score that is too low to add to the
3332 list of top scores. (Bug#12779)
3334 2012-11-17 Chong Yidong <cyd@gnu.org>
3336 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3338 * filecache.el (file-cache-add-file): Handle relative file name in
3339 the argument (Bug#12694).
3341 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3343 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3345 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3349 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3351 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3353 * window.el (enlarge-window, shrink-window): Don't mention return
3354 value in doc-string (Bug#12896).
3355 (window--display-buffer): Don't resize frames - it won't work
3356 with all window managers and defeat pop-up-frame-alist.
3357 (display-buffer-alist): In doc-string explain that CONDITION can
3358 be a function and which arguments are passed to it (Bug#12854).
3359 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3360 expressions (Bug#12854).
3361 (display-buffer): Pass ACTION argument to
3362 display-buffer-assq-regexp.
3364 2012-11-16 Glenn Morris <rgm@gnu.org>
3366 * window.el (fit-frame-to-buffer-bottom-margin)
3367 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3369 * faces.el (face-underline-p): Use face-attribute-specified-or.
3371 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3373 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3375 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3377 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3379 2012-11-16 Glenn Morris <rgm@gnu.org>
3381 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3382 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3384 * faces.el (face-underline-p): Doc fix. Handle :underline being
3385 things other than `t' (a string, a list).
3386 (face-inverse-video-p): Doc fix.
3387 (set-face-underline): Rename it back from set-face-underline-p.
3388 Doc fix. Allow interactive input of values other than t.
3389 (read-face-attribute): Apply formatting to :underline,
3390 since like :box and :stipple it can take list values.
3392 * term.el (ansi-term): Don't let C-x escape-char binding
3393 clobber the more standard C-c binding. (Bug#12842)
3395 * subr.el (set-temporary-overlay-map): Doc fix.
3397 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3399 * window.el (record-window-buffer)
3400 (display-buffer-record-window): When copying the markers to
3401 window-point preserve window-point-insertion-type. (Bug#12588)
3403 2012-11-16 Glenn Morris <rgm@gnu.org>
3405 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3406 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3407 Use new names for hooks rather than obsolete aliases.
3409 2012-11-15 Daniel Colascione <dancol@dancol.org>
3411 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3412 prefix instead of "file:" so that when FILE-NAME begins with "//",
3413 as it does when the target file is on a network share, url-handler
3416 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3418 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3419 a preactivated advice from an old advice.el; they're not compatible!
3421 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3423 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3424 Fix string-spec case.
3426 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3428 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3430 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3431 (advice--buffer-local-function-sample): New var.
3432 (advice--set-buffer-local, advice--buffer-local): New functions.
3433 (add-function, remove-function): Use them.
3435 2012-11-15 Drew Adams <drew.adams@oracle.com>
3437 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3439 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3442 potential binding of print-gensym to t, and prettify (back)quotes in
3443 case they appear in args's default values (bug#12884).
3445 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3447 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3448 (advice-eval-interactive-spec): New function.
3449 (advice--make-interactive-form): Support around advice (bug#12844).
3451 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3453 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3454 more strict. Add docstring.
3455 (ruby-expression-expansion-re): Extract from
3456 `ruby-match-expression-expansion'.
3457 (ruby-syntax-propertize-function): After everything else, search
3458 for expansions in string literals, mark their insides as
3459 whitespace syntax and save match data for font-lock.
3460 (ruby-font-lock-keywords): Use the 2nd group from expression
3462 (ruby-match-expression-expansion): Use the match data saved to the
3463 text property in ruby-syntax-propertize-function.
3465 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3470 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3472 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3473 start/end keyword a bit harder. Works with different values of N.
3475 (ruby-end-of-block): Update accordingly.
3477 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3479 * woman.el (woman-file-name): Don't mess with unread-command-events
3482 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3483 Remove out of date self-require hack.
3484 (ad-do-advised-functions): Use simple `dolist'.
3485 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3486 (ad-advice-definition): Redefine as functions.
3487 (ad-advice-classes): Move before first use.
3488 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3489 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3490 (ad--defalias-fset): Remove functions.
3491 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3492 (ad-get-orig-definition): Rewrite.
3493 (ad-make-advised-definition-docstring): Change base docstring.
3494 (ad-real-orig-definition): Rewrite.
3495 (ad-map-arglists): Change name of called function.
3496 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3497 (ad-make-advised-definition): Simplify.
3498 (ad-assemble-advised-definition): Tweak for new calling context.
3499 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3500 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3501 function and call ad-activate if needed.
3502 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3503 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3504 (ad-compile-function): Compile ad-Advice-*.
3505 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3506 (ad-start-advice, ad-stop-advice): Remove.
3508 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3510 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3511 period before class method names, not after. Remove handling of
3512 one impossible case. Add comments.
3514 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * emacs-lisp/advice.el: Remove support for freezing.
3517 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3518 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3519 Remove support for `freeze'.
3521 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3522 override the default.
3523 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3525 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3528 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3530 (advice--strip-macro): New function.
3531 (advice--defalias-fset): Use them to handle macros.
3532 (advice-add): Use them.
3533 (advice-member-p): Correctly handle macros.
3535 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3537 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3538 Never font-lock the beginning of singleton class as heredoc.
3540 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3542 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3544 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3546 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3547 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3548 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3550 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3552 Fix end-of-defun misbehavior.
3553 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3554 python-beginning-of-defun-function. Handle nested defuns
3556 (python-nav-end-of-defun): Rename from
3557 python-end-of-defun-function. Ensure forward movement.
3558 (python-info-current-defun): Reimplement to work as intended
3559 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3560 parent defuns as soon as possible.
3562 2012-11-13 Glenn Morris <rgm@gnu.org>
3564 * progmodes/flymake.el (flymake-error-bitmap)
3565 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3566 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3568 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3570 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3571 backward, always stop at indentation. Reverts the change from
3572 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3574 2012-11-13 Glenn Morris <rgm@gnu.org>
3576 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3577 Add ibuffer-filter-by-derived-mode.
3579 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3580 the same name shadowing each other.
3582 * window.el (with-temp-buffer-window): Doc tweak.
3584 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3586 * help.el (temp-buffer-max-height):
3587 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3588 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3590 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3592 * emacs-lisp/nadvice.el: New package.
3593 * subr.el (special-form-p): New function.
3594 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3595 (elp-all-instrumented-list): Remove var.
3596 (elp-not-profilable): Remove elp-wrapper.
3597 (elp-profilable-p): Use autoloadp and special-form-p.
3598 (elp--advice-name): New const.
3599 (elp-instrument-function): Use advice-add.
3600 (elp--instrumented-p): New predicate.
3601 (elp-restore-function): Use advice-remove.
3602 (elp-restore-all, elp-reset-all): Use mapatoms.
3603 (elp-set-master): Use elp--instrumented-p.
3604 (elp--make-wrapper): Rename from elp-wrapper, return a function
3605 suitable for advice-add. Use cl-inf.
3606 (elp-results): Use mapatoms+elp--instrumented-p.
3607 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3608 (debug-function-list): Remove var.
3609 (debug): Rename arg, and then let-bind it explicitly inside.
3610 (debugger-setup-buffer): Rename arg.
3611 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3612 (debugger-frame-number): Adjust to new debug-on-entry setup.
3613 (debug--implement-debug-on-entry): Rename from
3614 implement-debug-on-entry, add argument.
3615 (debugger-special-form-p): Remove, use special-form-p instead.
3616 (debug-on-entry): Use advice-add.
3617 (debug--function-list): New function.
3618 (cancel-debug-on-entry): Use it, along with advice-remove.
3619 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3620 (debugger-list-functions): Use debug--function-list instead of
3621 debug-function-list.
3622 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3623 (ad-special-form-p): Remove, use special-form-p instead.
3624 (ad-set-advice-info): Use add-function and remove-function.
3625 (ad--defalias-fset): Adjust accordingly.
3627 2012-11-10 Glenn Morris <rgm@gnu.org>
3629 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3630 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3631 (report-emacs-bug-create-existing-bugs-buffer)
3632 (report-emacs-bug-parse-query-results)
3633 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3635 * term.el (term-default-fg-color, term-default-bg-color):
3636 Make obsolete, rather than just saying "deprecated" in the doc.
3638 * term.el (term): Rename from `term-face'.
3639 (term-current-face, ansi-term-color-vector)
3640 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3643 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3645 * server.el (server-create-window-system-frame): Handle Nextstep
3646 specially (Bug#12780).
3648 2012-11-10 Glenn Morris <rgm@gnu.org>
3650 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3651 Unautoload, and make obsolete. (Bug#7449)
3653 2012-11-10 Chong Yidong <cyd@gnu.org>
3655 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3656 rename from diff-remove-trailing-whitespace (Bug#12831).
3658 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3661 miscompilation of trace.el.
3663 2012-11-10 Glenn Morris <rgm@gnu.org>
3665 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3667 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3672 2012-11-10 Chong Yidong <cyd@gnu.org>
3674 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3675 a defcustom with an appropriate :set function.
3676 (minibuffer-default--in-prompt-regexps): New function.
3678 2012-11-10 Glenn Morris <rgm@gnu.org>
3680 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3681 (define-modify-macro): Doc fixes.
3683 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3684 (gv-define-simple-setter): Update doc of `fix-return'.
3686 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3688 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3689 twice when `fix-return' is set (bug#12813).
3691 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3692 gv-define-simple-setter (bug#12812).
3694 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3697 2012-11-10 Glenn Morris <rgm@gnu.org>
3699 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3701 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3702 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3703 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3704 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3706 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3708 2012-11-10 Leo Liu <sdl.web@gmail.com>
3710 * ido.el (ido-set-matches-1): Improve flex matching performance by
3711 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3713 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3715 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3716 (ad--defalias-fset): New function.
3717 (ad-safe-fset): Remove.
3718 (ad-make-freeze-definition): Use cl-letf*.
3720 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * subr.el (dolist): Don't bind VAR in RESULT.
3724 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3725 (fset, documentation): Don't save real def since we don't advise.
3726 (ad-do-advised-functions): Remove problematic `result-form'.
3727 (ad-safe-fset): `ad-real-fset' => `fset'.
3728 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3729 uses CL's dolist internally.
3730 (ad-arglist): Remove unused arg `name'.
3731 (ad-docstring, ad-make-advised-docstring):
3732 `ad-real-documentation' => `documentation'.
3733 (warning-suppress-types): Declare.
3734 (ad-set-arguments): Simple CSE.
3735 (ad-recover-normality): Sanity check.
3737 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3738 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3740 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3742 * ses.el: symbol to coordinate mapping is made by symbol property
3743 `ses-cell'. This means that the same mapping is done for all SES
3744 sheets. That is good enough for cells with standard A1 names, but
3745 not for named cell. So a hash map is added for the latter.
3746 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3747 (ses-sym-rowcol): Use hashmap for named cell.
3748 (ses-is-cell-sym-p): New defun.
3749 (ses-decode-cell-symbol): New defun.
3750 (ses-create-cell-variable): Add cell to hashmap when name is not
3752 (ses-rename-cell): Check that cell new name is not already in
3753 spreadsheet with the use of ses-is-cell-sym-p
3754 (ses-rename-cell): Use hash map for named cells, but accept also
3755 renaming back to A1-like.
3757 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * emacs-lisp/advice.el: Use new dynamic docstrings.
3760 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3761 Use dynamic-docstring-function instead of ad-advice-info.
3762 (ad--make-advised-docstring): New function extracted from
3763 ad-make-advised-docstring.
3764 (ad-make-advised-docstring): Use it.
3765 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3767 (sql-help): Use it with dynamic-docstring-function.
3769 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3771 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * files.el (hack-one-local-variable--obsolete): New function.
3774 (hack-one-local-variable): Use it for obsolete settings.
3776 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3779 * progmodes/js.el (js--filling-paragraph): New var.
3780 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3781 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3784 2012-11-08 Julien Danjou <julien@danjou.info>
3786 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3787 `auto-mode-alist' (Bug#12835).
3789 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3791 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3792 (perl--prettify-symbols-alist): New const.
3793 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3795 (perl-font-lock-keywords-2): Use them.
3796 (perl-electric-noindent-p): New function.
3797 (perl-mode): Use it to set up electric-indent-mode.
3798 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3799 (perl-mode-map): Remove bindings for them.
3800 (perl-imenu-generic-expression, perl-outline-level):
3801 Match functions&packages in column>0.
3803 * env.el (env--substitute-vars-regexp): New const.
3804 (substitute-env-vars): Use it. Add `only-defined' arg.
3805 * net/tramp.el (tramp-replace-environment-variables): Use it.
3807 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3808 Byte-compile *before* eval in eval-and-compile.
3809 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3810 (byte-compile-file-form-autoload): Don't hide actual definition.
3811 (byte-compile-maybe-guarded): Accept `functionp' as well.
3813 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3815 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3817 * notifications.el (notifications-get-server-information-method):
3819 (notifications-get-capabilities): Fix docstring.
3820 (notifications-get-server-information): New defun.
3822 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3824 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3827 * textmodes/ispell.el: Experimental support for support debugging.
3828 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3830 (ispell-print-if-debug): New function to print stuff to
3831 `ispell-debug-buffer' if debugging is enabled.
3832 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3833 show some debugging info.
3834 (ispell-buffer-with-debug): New function that creates a debugging
3835 buffer and calls `ispell-buffer' with debugging enabled.
3837 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3838 comment in autoconf mode. (Bug#12768)
3840 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3842 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3843 frame-first-window, frame-root-window, frame-selected-window,
3844 minibuffer-selected-window, minibuffer-window,
3845 window-absolute-pixel-edges, window-at, window-body-height,
3846 window-body-width, window-display-table, window-combination-limit,
3847 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3848 window-inside-edges, window-inside-pixel-edges, window-left-child,
3849 window-left-column, window-margins, window-next-buffers,
3850 window-next-sibling, window-new-normal, window-new-total,
3851 window-normal-size, window-parameter, window-parameters, window-parent,
3852 window-pixel-edges, window-point, window-prev-buffers,
3853 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3854 window-start, window-text-height, window-top-child, window-top-line,
3855 window-total-height, window-total-width and window-use-time to the list
3856 of functions without side-effects.
3857 (toplevel): Add window-valid-p to the list of error-free functions
3858 without side-effects.
3860 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3862 * textmodes/ispell.el (ispell-program-name):
3863 Update spellchecker parameters when customized.
3865 2012-11-04 Glenn Morris <rgm@gnu.org>
3867 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3869 2012-11-04 Chong Yidong <cyd@gnu.org>
3871 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3872 same-window-* variables.
3874 2012-11-04 Juri Linkov <juri@jurta.org>
3876 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3877 (isearch-describe-key, isearch-describe-mode): Use a display
3878 action instead of binding same-window-* variables (Bug#10040).
3880 2012-11-03 Glenn Morris <rgm@gnu.org>
3882 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3883 Rename handler properties back from cl-- to cl-. (Bug#12788)
3885 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3887 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3889 * term/pc-win.el: Don't load term/internal from here.
3891 * loadup.el: Load term/internal from here.
3893 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3895 * progmodes/python.el (inferior-python-mode): Fix hang in
3896 jit-lock (Bug#12645).
3898 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3900 * window.el (switch-to-visible-buffer)
3901 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3903 2012-11-03 Glenn Morris <rgm@gnu.org>
3905 * emacs-lisp/cl-lib.el (cl--random-time):
3906 Rename from cl-random-time. (Bug#12773)
3907 (cl--gensym-counter, cl--random-state): Update callers.
3908 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3910 2012-11-03 Chong Yidong <cyd@gnu.org>
3912 * cus-start.el: Make cursor-type customizable (Bug#11633).
3914 2012-11-02 Glenn Morris <rgm@gnu.org>
3916 * filecache.el: No need to load find-lisp when compiling.
3917 (find-lisp-find-files): Autoload it.
3918 (file-cache-add-directory-recursively): Don't require find-lisp.
3920 * image.el (image-type-from-file-name): Trivial simplification.
3922 * emacs-lisp/bytecomp.el (byte-compile-eval):
3923 Decouple "noruntime" and "cl-functions" warnings.
3925 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3927 * play/gomoku.el (gomoku-display-statistics): Update mode line
3928 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3930 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3932 * window.el (quit-restore-window): If the window has been
3933 created on an existing frame and ended up as the sole window on
3934 that frame, do not delete it (Bug#12764).
3936 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3938 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3939 Rename from sh--inside-arithmetic-expression, handle more cases
3942 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3943 (sh-font-lock-open-heredoc): Use it (bug#12770).
3945 2012-10-30 Glenn Morris <rgm@gnu.org>
3947 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3949 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3951 2012-10-29 Chong Yidong <cyd@gnu.org>
3953 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3954 function key is stored in a keyboard macro (Bug#4894).
3956 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3958 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3960 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3962 (diff-unified->context, diff-context->unified)
3963 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3965 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3967 * files.el (find-alternate-file): Only ask one question (bug#12487).
3969 2012-10-29 Chong Yidong <cyd@gnu.org>
3971 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3972 Suggested by Dan Nicolaescu (Bug#6326).
3974 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3976 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3978 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3980 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3982 * face-remap.el (face-remap-add-relative): Handle the case where a
3983 face-remapping-alist entry is a cons cell (Bug#12762).
3985 2012-10-29 Kevin Ryde <user42@zip.com.au>
3987 * woman.el (woman-parse-numeric-value): Handle picas correctly
3990 2012-10-29 Glenn Morris <rgm@gnu.org>
3992 * emacs-lisp/cl.el (defsetf): Doc fix.
3994 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3997 syntax to the matching opener, if any (bug#12547).
3998 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3999 matching open as a "case-(".
4000 (sh-smie-rc-grammar): Add a corresponding rule for it.
4002 2012-10-28 Daniel Hackney <dan@haxney.org>
4004 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4005 "PKGNAME-autoloads.el" in case we created it.
4007 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4010 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4011 (completion--twq-all): Disable too-strict assertions.
4013 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4015 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4017 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4018 text to match the real keybindings.
4020 2012-10-27 Juri Linkov <juri@jurta.org>
4022 * wdired.el (wdired-keep-marker-rename): New defcustom.
4023 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4026 * dired.el (dired-keep-marker-rename): Add reference to
4027 `wdired-keep-marker-rename' in the docstring.
4028 Add default character value ?R to display initially in
4029 Customization UI instead of ?@.
4031 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4033 * window.el (display-buffer): In doc-string describe
4034 window-height and window-width alist entries.
4036 * time.el (display-time-world): Restore fit-window-to-buffer
4039 2012-10-27 Chong Yidong <cyd@gnu.org>
4041 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4043 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4045 * minibuffer.el (completion-category-overrides): New completion
4046 category `bookmark' (bug#11131).
4048 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4050 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4051 Silence bogus compiler warnings for ad-do-it.
4053 * bookmark.el (bookmark-completing-read): Set the completion category
4054 to `bookmark' (bug#11131).
4056 2012-10-26 Bastien <bzg@altern.org>
4057 Stefan Monnier <monnier@iro.umontreal.ca>
4059 * face-remap.el: Use lexical-binding.
4060 (text-scale-adjust): Improve docstring. Use itself for the temporary
4061 overlay-map bindings, so as to repeat the "Use..." message each time.
4063 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4065 * emacs-lisp/macroexp.el (macroexp--expand-all):
4066 Obey byte-compile-warning-enabled-p (bug#12486).
4068 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4069 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4071 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4073 * mouse.el (mouse-drag-line): Move last form into preceding when
4076 * help.el (resize-temp-buffer-window): Fix doc-string.
4078 2012-10-25 David Engster <deng@randomsample.de>
4080 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4081 Remove. This feature is already integrated in imenu.
4083 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4084 always loaded. Require `speedbar' unconditionally.
4086 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4090 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4092 * net/ldap.el (ldap-search-internal): The official ldif format starts
4093 with a "version: 1" header (bug#12724).
4095 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4098 2012-10-25 Glenn Morris <rgm@gnu.org>
4100 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4102 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4104 * minibuffer.el (minibuffer-force-complete): Use one more marker
4105 for the temporary-overlay-map command (bug#12619).
4107 2012-10-24 Chong Yidong <cyd@gnu.org>
4109 * time.el (display-time-world-mode): Derive from special-mode.
4110 (display-time-world): Use display-buffer (Bug#12708).
4111 (display-time-world-mode-map): Variable deleted.
4112 (display-time-world-display): Wrap the final delete-char inside
4115 2012-10-24 Chong Yidong <cyd@gnu.org>
4117 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4120 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4122 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * minibuffer.el (completion--all-sorted-completions-location): New var.
4125 (completion--cache-all-sorted-completions)
4126 (completion--flush-all-sorted-completions): Use it.
4127 (completion-in-region, completion-in-region--postch)
4128 (completion-at-point, completion-help-at-point): Use markers in
4129 completion-in-region--data (bug#12619).
4131 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * progmodes/compile.el (compilation-start): Try to handle common
4134 quoting of `cd' argument (bug#12640).
4136 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4139 2012-10-23 Glenn Morris <rgm@gnu.org>
4141 * progmodes/gud.el (gud-menu-map):
4142 Check gdb-active-process is bound. (Bug#12358)
4144 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4146 * repeat.el (repeat): Set real-this-command (bug#12232).
4148 * htmlfontify.el (hfy-post-html-hook):
4149 * filesets.el (filesets-cache-fill-content-hook):
4150 * arc-mode.el (archive-extract-hook):
4151 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4152 * net/rcirc.el (rcirc-sentinel-functions)
4153 (rcirc-receive-message-functions, rcirc-activity-functions)
4154 (rcirc-print-functions):
4155 * net/dbus.el (dbus-event-error-functions):
4156 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4157 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4158 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4159 * term/sun.el (sun-raw-prefix-hooks):
4160 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4162 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4164 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4165 Set `tramp-chunksize' to 1. This improves the performance.
4166 (tramp-smb-wait-for-output): Add timeout to
4167 `tramp-accept-process-output' calls.
4169 2012-10-23 Chong Yidong <cyd@gnu.org>
4171 * faces.el (font-list-limit): Define as an obsolete variable.
4173 * startup.el (command-line):
4174 * cus-start.el: Don't refer to font-list-limit.
4176 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4178 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4180 * subr.el (internal-temp-output-buffer-show): Rename from
4181 temp-output-buffer-show, since previously compiled files expect this name.
4183 2012-10-23 Glenn Morris <rgm@gnu.org>
4185 * image.el (image-type-from-file-name): If multiple types match,
4186 return the first one that is supported. (Bug#9045)
4188 2012-10-22 Glenn Morris <rgm@gnu.org>
4190 * image.el (imagemagick-enabled-types): Doc fix.
4192 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4194 * progmodes/which-func.el (which-func-current): The hash-table may have
4195 an explicit nil (bug#12338).
4197 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * electric.el (electric-pair-delete-selection-self-insert-function):
4200 Rename to electric-pair-will-use-region, return a boolean.
4201 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4203 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4204 (delete-selection-pre-hook): Use use-region-p.
4205 (delete-selection-self-insert-function): Remove.
4206 (self-insert-command): Obey self-insert-uses-region-functions.
4207 (self-insert-iso): Revert to previous setting, since we don't actually
4208 know what that command does.
4209 (delete-selection-self-insert-hooks): Remove.
4211 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4213 * delsel.el (delete-selection-helper): New function, extracted from
4214 delete-selection-pre-hook.
4215 (delete-selection-pre-hook): Use it.
4216 (delete-selection-self-insert-function): New function.
4217 (delete-selection-self-insert-hooks): New hook.
4218 (self-insert-command, self-insert-iso): Use it.
4219 * electric.el (electric-pair-syntax): New function, extracted from
4220 electric-pair-post-self-insert-function.
4221 (electric-pair-post-self-insert-function): Use it.
4222 (electric-pair-delete-selection-self-insert-function): New function.
4223 (electric-pair-mode): Require delsel and setup
4224 delete-selection-self-insert-hooks (bug#11520).
4226 2012-10-20 Chong Yidong <cyd@gnu.org>
4228 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4229 no changes to show (Bug#12586).
4231 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4232 list explicitly (Bug#12571).
4234 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4236 * progmodes/flymake.el (flymake-create-temp-inplace):
4239 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4241 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4243 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4245 * calc/calc-units.el (math-extract-units): Properly extract powers
4248 2012-10-20 Daniel Colascione <dancol@dancol.org>
4250 * frame.el (make-frame): Set x-display-name as we used to in order
4251 to unbreak creating an X11 frame from an Emacs daemon started
4254 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4256 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4257 the same completion-field (bug#12221).
4259 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4261 * emacs-lisp/debug.el (debug): Record height of debugger window
4262 also when debugger will be back (Bug#8789).
4264 2012-10-18 Chong Yidong <cyd@gnu.org>
4266 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4267 Convert to defcustom.
4268 (gdb-get-source-file): Don't bind pop-up-windows.
4270 * progmodes/gud.el (gud-display-line): Don't specially re-use
4271 other frames for the gdb-mi case (Bug#12648).
4273 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * emacs-lisp/advice.el: Clean up commentary a bit.
4276 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4277 (byte-code-function-p): Never redefine.
4279 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4281 2012-10-18 Glenn Morris <rgm@gnu.org>
4283 * dired.el (dired-sort-toggle): Some ls implementations only allow
4284 a single option string. (Bug#12666)
4286 * minibuffer.el (completion-cycle-threshold): Doc fix.
4288 2012-10-17 Kenichi Handa <handa@gnu.org>
4290 * international/mule.el (set-keyboard-coding-system):
4291 Recover input meta mode when the new coding system doesn not use 8-bit.
4292 Supply TERMINAL arg to set-input-meta-mode.
4294 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4296 * wdired.el (wdired-old-marks): New variable.
4297 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4298 (wdired-do-renames): Move point with renamed file and don't lose
4299 mark status (Bug#11795).
4301 2012-10-16 Juri Linkov <juri@jurta.org>
4303 * replace.el (query-replace-help): Mention multi-buffer replacement
4304 keys in the Help message. (Bug#12655)
4306 2012-10-15 Chong Yidong <cyd@gnu.org>
4308 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4310 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4312 * window.el (display-buffer): Doc fix.
4314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4315 Adjust the msft regexp to the output of Studio 2010, and move msft
4316 before edg-1. See the discussion on emacs-devel,
4317 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4320 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4323 (oset): Move uses of object-class-fast macro after its definition.
4325 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4327 2012-10-13 Chong Yidong <cyd@gnu.org>
4329 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4330 enabled, re-enable it (Bug#11963).
4332 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4334 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4335 non-nil, restore window configuration (Bug#12623).
4337 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * help-fns.el (describe-variable, describe-function-1):
4340 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4342 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4344 2012-10-12 Glenn Morris <rgm@gnu.org>
4346 * mail/rmailsum.el (rmail-header-summary):
4347 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4349 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4351 * progmodes/python.el (python-mode-map):
4352 Replace subtitute-key-definition with proper command remapping.
4353 (python-nav--up-list): Fix behavior for blocks on the same level.
4355 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4359 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4360 changes to the format of load-history.
4362 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4363 completion-ignore-case in case that var is buffer-local (bug#12615).
4365 2012-10-11 Kenichi Handa <handa@gnu.org>
4367 * international/eucjp-ms.el: Re-generated.
4369 2012-10-10 Kenichi Handa <handa@gnu.org>
4371 * select.el (xselect--encode-string): If a coding is specified for
4372 selection, and that is compatible with COMPOUND_TEXT, use it.
4374 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4376 * window.el (switch-to-buffer-preserve-window-point): New option.
4378 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4380 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4383 Don't document nil as a useful value (bug#12583).
4385 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4387 * net/tramp.el (tramp-debug-message):
4388 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4389 (with-tramp-progress-reporter): Rename from
4390 `tramp-with-progress-reporter'.
4391 (with-tramp-file-property, with-tramp-connection-property):
4392 Move from tramp-cache.el, rename from `with-file-property' and
4393 `with-connection-property', respectively.
4395 * net/tramp-cache.el: Remove `with-file-property' and
4396 `with-connection-property'.
4399 * net/tramp-gvfs.el:
4401 * net/tramp-smb.el: Adapt callees.
4403 * net/trampver.el: Update release number.
4405 2012-10-09 Glenn Morris <rgm@gnu.org>
4407 * w32-fns.el (set-message-beep):
4408 * term/w32-win.el (set-message-beep): Update declarations.
4410 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4413 (mode-line-widen, mode-line-input-method-map)
4414 (mode-line-coding-system-map, mode-line-remote)
4415 (mode-line-unbury-buffer, mode-line-bury-buffer)
4416 (mode-line-next-buffer, mode-line-previous-buffer):
4417 Replace save-selected-window+select-window => with-selected-window.
4419 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4420 * progmodes/cc-vars.el (bq-process): Remove, unused.
4422 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4424 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4426 Implemented `backward-up-list'-like navigation.
4427 * progmodes/python.el (python-nav-up-list)
4428 (python-nav-backward-up-list): New functions.
4429 (python-mode-map): Define substitute key for backward-up-list to
4430 python-nav-backward-up-list.
4432 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4434 * progmodes/python.el (python-fill-paragraph): Rename from
4435 python-fill-paragraph-function. Fixed fill-paragraph for
4436 decorators (Bug#12605).
4438 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4440 * progmodes/python.el (python-shell-output-filter): Handle extra
4441 carriage return in OSX (Bug#12409).
4443 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4445 Fix shell handling of unbalanced quotes and parens in output.
4446 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4447 (python-syntax-propertize-function): Use it.
4448 (python-shell-output-syntax-table): New var.
4449 (inferior-python-mode): Prevent unbalanced parens/quotes from
4450 previous output mess with current input context.
4452 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4454 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4455 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4457 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4459 * ffap.el (ffap-replace-file-component): Support Tramp file name
4460 syntax, not only ange-ftp's one.
4462 2012-10-08 Glenn Morris <rgm@gnu.org>
4464 * cus-start.el (message-log-max): Set :version.
4466 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4468 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4470 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4471 the minibuffer window (Bug#10851).
4473 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4475 Enhancements on forward-sexp movement.
4476 * progmodes/python.el (python-nav-beginning-of-statement)
4477 (python-nav-end-of-statement): Return point-marker.
4478 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4479 (python-info-current-symbol)
4480 (python-info-statement-starts-block-p): Rename from
4481 python-info-beginning-of-block-p.
4482 (python-info-statement-ends-block-p): Rename from
4483 python-info-end-of-block-p.
4484 (python-info-beginning-of-statement-p)
4485 (python-info-end-of-statement-p)
4486 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4489 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4492 frame-selected-windows.
4494 2012-10-08 Daniel Colascione <dancol@dancol.org>
4496 * battery.el (battery-status-function): Check for
4497 w32-battery-status itself, not system-time windows-nt.
4499 * frame.el: Require cl-lib.
4500 (display-format-alist): New variable mapping frame types to
4501 functions that initialize them.
4502 (window-system-for-display): New function: interprets
4503 display-format-alist.
4504 (make-frame-on-display): Remove existing display-selection logic
4505 and just forward to make-frame, which will now DTRT.
4506 (make-frame): Restructure to use window-system-for-display to
4507 figure out how to create a frame on a given display.
4508 (display-mouse-p): Look for frame-type w32, not a particular
4511 * loadup.el: Load w32 lisp code when we have the w32 feature.
4513 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4514 system-type windows-nt.
4516 * server.el (server-create-window-system-frame): Look for window
4518 (server-proces-filter): Only force a window system when windows-nt
4519 _and_ w32. Explain why.
4521 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4522 of window systems we configure for the mode.
4524 * startup.el (command-line): Mark window system is initialized
4525 after we've done it.
4527 * common-win.el (x-select-text): Look for w32, not windows-nt.
4529 * ns-win.el: Require cl-lib. Add ourselves to
4530 display-format-alist.
4531 (ns-initialize-window-system): Assert we're not initialized twice.
4533 * w32-win.el: Enable lexical binding; require cl-lib; add
4534 ourselves to display-format-alist.
4535 (w32-handle-dropped-file): Convert incoming dropped files from
4536 Windows paths to Cygwin ones before passing them on to the rest of
4538 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4539 (w32-initialize-window-system): Assert we're not initialized twice.
4541 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4542 (x-initialize-window-system): Assert we're not initialized twice.
4544 * w32-common-fns.el: New File.
4545 (w32-version, w32-using-nt, w32-get-clipboard-data)
4546 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4547 (w32-charset-info-alist, x-last-selected, text)
4548 (x-get-selection-value, x-selection-value): Move here.
4550 * w32-fns.el: Require w32-common-fns.
4551 (w32-version, w32-using-nt, w32-get-clipboard-data)
4552 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4553 (w32-charset-info-alist, x-last-selected, text)
4554 (x-get-selection-value, x-selection-value): Move to
4558 (w32-allow-system-shell, w32-system-shells): Define only in
4561 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4564 (read-passwd): Remove a few more potential sources of leaks.
4566 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4568 * progmodes/python.el (inferior-python-mode)
4569 (python-shell-make-comint): Fix initialization of local
4570 variables copied from parent buffer.
4572 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4574 * term/ns-win.el (ns-read-file-name): Update declaration to match
4576 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4577 it is set when font is acted upon.
4579 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4581 Enhancements to indentation.
4582 * progmodes/python.el (python-indent-context): Give priority to
4583 inside-string context. Make comments indentation markers.
4584 (python-indent-region): Do not mess with strings, unless it's the
4585 enclosing set of quotes.
4587 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * window.el (internal--before-save-selected-window)
4590 (internal--after-save-selected-window): New functions extracted from
4591 save-selected-window. Make sure we return the `alist' we construct.
4592 (save-selected-window): Use them.
4594 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4595 Use with-selected-window.
4597 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4598 forms that define macros (bug#12593).
4600 2012-10-07 Kenichi Handa <handa@gnu.org>
4602 * international/mule-conf.el (compound-text-with-extensions):
4603 Add :mime-charset property as x-ctext.
4605 2012-10-07 Stefan Merten <smerten@oekonux.de>
4607 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4608 (rst-indent-literal-normal, rst-indent-literal-minimized)
4609 (rst-indent-comment): Correct :version tag.
4610 (rst-official-cvs-rev): Correct version string.
4612 2012-10-07 Glenn Morris <rgm@gnu.org>
4614 * mail/rmailmm.el (rmail-mime-process-multipart):
4615 Do not confuse a multipart message with an epilogue
4616 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4618 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4620 Fix shell output retrieval and comint-prompt-regexp init.
4621 * progmodes/python.el (inferior-python-mode):
4622 (python-shell-make-comint): Fix initialization of
4623 comint-prompt-regexp from copied file local variables.
4624 (python-shell-fetched-lines): Remove var.
4625 (python-shell-output-filter-in-progress): Rename from
4626 python-shell-fetch-lines-in-progress.
4627 (python-shell-output-filter-buffer): Rename from
4628 python-shell-fetch-lines-string.
4629 (python-shell-fetch-lines-filter): Delete function.
4630 (python-shell-output-filter): New function.
4631 (python-shell-send-string-no-output): Use them.
4633 2012-10-07 Glenn Morris <rgm@gnu.org>
4635 * hi-lock.el (hi-lock-process-phrase):
4636 Try to make it less fragile. (Bug#7161)
4638 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4640 2012-10-06 Glenn Morris <rgm@gnu.org>
4642 * ehelp.el (electric-help-mode): Use help-mode rather than
4643 non-existent mode `help'.
4644 (electric-help-map): Use button-buffer-map. (Bug#10917)
4646 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4647 (reftex-create-bibtex-footer): Fix custom types.
4649 * progmodes/sh-script.el (sh-indent-after-continuation):
4650 Add explicit :group.
4652 * textmodes/rst.el (rst-preferred-decorations)
4653 (rst-shift-basic-offset): Clarify obsolescence versions.
4655 * profiler.el (profiler): Add missing group :version tag.
4656 * avoid.el (mouse-avoidance-banish-position):
4657 * proced.el (proced-renice-command):
4658 * calc/calc.el (calc-ensure-consistent-units):
4659 * calendar/icalendar.el (icalendar-import-format-uid):
4660 * net/tramp.el (tramp-save-ad-hoc-proxies):
4661 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4662 * progmodes/flymake.el (flymake-error-bitmap)
4663 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4664 * progmodes/sh-script.el (sh-indent-after-continuation):
4665 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4666 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4667 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4668 (vhdl-array-index-record-field-in-sensitivity-list)
4669 (vhdl-indent-comment-like-next-code-line):
4670 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4671 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4672 (reftex-cite-key-separator, reftex-create-bibtex-header)
4673 (reftex-create-bibtex-footer):
4674 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4675 (rst-indent-literal-normal, rst-indent-literal-minimized)
4676 (rst-indent-comment): Add missing custom :version tags.
4678 * calendar/timeclock.el (timeclock-modeline-display):
4679 Add missing obsolete alias for renamed user option.
4681 * strokes.el (strokes-modeline-string):
4682 * emulation/crisp.el (crisp-mode-modeline-string):
4683 * eshell/esh-mode.el (eshell-status-in-modeline):
4684 Aliases to defcustoms must come before the defcustom.
4686 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4687 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4688 (cal-tex-cursor-week-monday): Doc fixes.
4689 (cal-tex-cursor-week2-summary): Doc fix.
4690 Rename from cal-tex-cursor-week-at-a-glance.
4692 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4693 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4695 * calendar/calendar.el (calendar-mode-map):
4696 Add cal-tex-cursor-week2-summary.
4698 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4702 * subr.el (read-passwd-map): New var.
4703 (read-passwd): Use `read-string' again.
4704 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4706 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4708 * register.el (append-to-register, prepend-to-register):
4709 Deactivate mark, as does `copy-to-register' (bug#12389).
4711 2012-10-06 Chong Yidong <cyd@gnu.org>
4713 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4715 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4717 * international/characters.el: Fix simple mistake ((car chars) ->
4718 elt), delete duplicated code.
4720 2012-10-06 Glenn Morris <rgm@gnu.org>
4722 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4724 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4726 * color.el (color-hsl-to-rgb): Fix incorrect results for
4727 small and large hue values. (Bug#12559)
4729 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4731 Enhancements to docstring formatting when filling paragraphs.
4732 * progmodes/python.el (python-fill-docstring-style): Rename from
4733 python-fill-string-style. Added new style.
4734 (python-fill-string): Use new style. Better checks for
4737 2012-10-05 Glenn Morris <rgm@gnu.org>
4739 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4741 * color.el (color-name-to-rgb, color-rgb-to-hex)
4742 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4743 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4744 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4745 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4747 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4749 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4751 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4752 to get the correct size across symlinks.
4754 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4756 2012-10-04 Juri Linkov <juri@jurta.org>
4758 * replace.el (query-replace-interactive): Declare obsolete.
4759 (query-replace-read-from): Add the last incremental search string
4760 to the list of default values accessible via M-n.
4761 (map-query-replace-regexp): Use `read-regexp'.
4762 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4763 (map-query-replace-regexp, replace-string, replace-regexp):
4764 Fix docstrings to replace mentions of `query-replace-interactive'
4765 with alternatives. (Bug#12526)
4767 2012-10-04 Juri Linkov <juri@jurta.org>
4769 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4770 (dired-pop-to-buffer): Declare obsolete.
4771 (dired-mark-pop-up): Doc fix.
4773 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4775 Allow user to set docstring style for fill-paragraph.
4776 * progmodes/python.el
4777 (python-fill-comment-function, python-fill-string-function)
4778 (python-fill-decorator-function, python-fill-paren-function):
4779 Remove :safe for defcustoms.
4780 (python-fill-string-style): New defcustom
4781 (python-fill-paragraph-function): Enhance context detection.
4782 (python-fill-string): Honor python-fill-string-style settings.
4784 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4786 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4787 after setting its buffer (Bug#10805).
4789 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4791 Fix cornercase for string syntax.
4792 * progmodes/python.el (python-syntax-propertize-function):
4793 Simplify and enhance the regexp for unescaped quotes. Now it also
4794 matches quotes in weird situations like the single quote in
4796 (python-syntax-stringify): Simplify num-quotes detecting code.
4798 2012-10-03 Glenn Morris <rgm@gnu.org>
4800 * help-macro.el (three-step-help):
4801 Revert 2012-09-29 change. (Bug#12567)
4803 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4805 * menu-bar.el (kill-this-buffer): Don't do anything when
4806 `menu-frame' is not alive or visible (Bug#8184).
4808 * emacs-lisp/debug.el (debug): When quitting the debugger window
4809 restore current buffer (Bug#12502).
4811 2012-10-02 Chong Yidong <cyd@gnu.org>
4813 * progmodes/hideif.el (hif-lookup, hif-defined):
4814 Handle semantic-c-takeover-hideif.
4816 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4818 Change sampling interval units from ms to ns.
4819 * profiler.el (profiler-sampling-interval): Change units
4820 from ms to ns, multiplying the default by 1000000 so that
4822 (profiler-report-cpu-line-format): Give enough room for
4823 the maximum counters on 64-bit hosts.
4824 (profiler-report-render-calltree-1): Call them "CPU samples",
4825 not "Time (ms)", since they are not milliseconds now (and
4828 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4830 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4831 Fix querying BBDB for entries without a last name (Bug#11580).
4833 2012-10-02 Chong Yidong <cyd@gnu.org>
4835 * emacs-lisp/eieio.el: Restore Version header.
4837 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4839 * vc/diff-mode.el (diff--auto-refine-data): New var.
4840 (diff-hunk): Use it to delay refinement.
4841 (diff-mode): Remove overlays when we turn off font-lock.
4843 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4844 (table-initialize-table-fixed-width-mode)
4845 (table-set-table-fixed-width-mode): Remove functions.
4846 (table-command-list): Move initialization into declaration.
4847 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4848 (table-with-cache-buffer): Use `declare'.
4849 (table-span-cell): Simplify via CSE.
4850 (table-fixed-width-mode): Use define-minor-mode.
4851 (table-call-interactively, table-funcall, table-apply): Remove.
4852 (table-function): New function, to replace them.
4854 * bookmark.el (bookmark-search-pattern): Remove var.
4855 (bookmark-read-search-input): Remove function.
4856 (bookmark-bmenu-search): Reimplement using a minibuffer.
4858 * faces.el (modeline): Remove obsolete face name.
4860 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4861 and give a non-nil default value.
4862 (add-change-log-entry): Simplify accordingly.
4864 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4866 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4867 (vc-git-log-edit-toggle-amend): New function.
4868 (vc-git-log-edit-toggle-signoff): New function.
4869 (vc-git-log-edit-mode): New major mode.
4870 (vc-git-log-edit-mode-map): Keymap for it.
4871 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4873 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4875 (log-edit-toggle-header): New function.
4876 (log-edit-extract-headers): Accept function values in HEADERS alist.
4878 2012-10-01 David Engster <deng@randomsample.de>
4880 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4881 from symbol property and change message to be more consistent with
4883 (eieio-describe-generic): Add filename for each implementation.
4884 Fix indices for generic and normal methods.
4885 (eieio-method-def, eieio-class-def): New buttons.
4886 (eieio-help-find-method-definition)
4887 (eieio-help-find-class-definition): New functions.
4888 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4889 class, constructor and method definitions.
4891 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4892 information in symbol property.
4893 (scoped-class): Remove.
4894 (eieio-slot-name-index, call-next-method): Check if it is bound.
4896 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4898 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4899 (eieio-custom-mode): New major mode.
4900 (eieio-customize-object): Use it.
4902 2012-10-01 Eric Ludlam <zappo@gnu.org>
4904 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4905 specifying the expected class, and whether subclassing is allowed.
4906 (eieio-persistent-convert-list-to-object):
4907 (eieio-persistent-validate/fix-slot-value)
4908 (eieio-persistent-slot-type-is-class-p): New functions.
4909 (eieio-named::slot-missing): Doc fix.
4911 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4912 Stop using unused publd variable.
4914 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4915 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4916 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4917 (eieio-speedbar-handle-click): Do not specify a class for the
4918 method. Fixes method invocation order problems with EDE.
4920 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4922 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4923 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4925 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4927 * bookmark.el (bookmark-version-control): Give tags in the
4928 :type choices (Bug#12309), and improve doc string.
4929 (bookmark-write-file): Bind `print-circle' to `t' to allow
4930 circular custom bookmark types. (Bug#12503)
4932 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4934 Revert the FOLLOW-SYMLINKS change for file-attributes.
4935 * files.el (remote-file-name-inhibit-cache, after-find-file):
4936 * time.el (display-time-file-nonempty-p): Undo last change.
4938 * profiler.el (profiler-sampling-interval): Change default back to 1.
4939 See Stefan Monnier in
4940 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4942 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4944 Shell output catching a la gud-gdb.
4945 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4946 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4948 (python-shell-fetch-lines-filter): New function.
4949 (python-shell-send-string-no-output): Use them.
4951 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4953 * profiler.el (profiler-sampling-interval): Rename from
4954 profiler-sample-interval.
4955 (profiler-sampling-interval): Default to 10.
4956 (profiler-find-profile): New command (was profiler-find-log).
4957 (profiler-find-profile-other-window): New command.
4958 (profiler-find-profile-other-frame): New command.
4959 (profiler-profile): Introduce API-level data structure.
4961 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4963 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4964 * files.el (remote-file-name-inhibit-cache):
4965 * time.el (display-time-file-nonempty-p): Use it.
4966 * files.el (after-find-file): Don't chase links before calling
4967 file-exists-p, as file-exists-p already does the right thing.
4969 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4971 Merge from standalone RefTeX repository.
4973 The following ChangeLog entries are shortened versions of the
4974 original ones with file paths adapted. A not so strongly edited
4975 version of the original ChangeLog can be found in the commit log.
4977 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4978 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4979 Correctly handle new value type returned by `reftex-citation'.
4981 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4982 that entries with whitespace at various places are found.
4983 Doc fix. Include entries that are cross-referenced from cited entries.
4984 Include @String definitions in the resulting bib file. Add header
4985 and footer defined in `reftex-create-bibtex-header' and
4986 `reftex-create-bibtex-footer'.
4987 (reftex-do-citation): Make it possible again to insert
4988 non-existent entries. Save match data when asking for optional
4989 arguments. Return all keys, not just the first one.
4990 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4991 all citations in the same line.
4992 (reftex-parse-bibtex-entry): Accept additional optional argument
4993 `raw' and keep quotes or braces if it is non-nil. Match fields
4994 containing hyphens besides word constituents.
4995 (reftex-get-string-refs): New function.
4996 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4997 and ask if it should be reread in case it did.
4998 (reftex-pop-to-bibtex-entry)
4999 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5000 entries with spaces or tabs in front of arguments.
5001 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5002 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5003 Match entries containing numbers and symbol constituents.
5004 (reftex-do-citation, reftex-figure-out-cite-format):
5005 Use `reftex-cite-key-separator'.
5007 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5008 (reftex-mouse-view-crossref): Explain why point is set.
5010 * textmodes/reftex-global.el: Whitespace changes.
5012 * textmodes/reftex-index.el: Move provide statement to end of
5014 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5015 (reftex-index-visit-phrases-buffer): Set marker when visiting
5016 buffer. This allows for returning from the phrases file to the
5017 file one was just editing instead of the file where the last
5018 phrases was added from.
5019 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5020 punctuation syntax as it usually is not used as string quote in
5021 TeX-related modes and may occur unmatched. The change also
5022 prevents fontification of quoted content.
5023 (reftex-index-phrases-mode): Use it.
5025 * textmodes/reftex-parse.el (reftex-parse-from-file):
5026 Move backward one char if a `\' was matched after a section macro.
5027 (reftex-parse-from-file): Use beginning of match instead of end as
5030 * textmodes/reftex-ref.el: Adapt creation of
5031 `reftex-<package>-<macro>' functions to new structure of
5032 `reftex-ref-style-alist'.
5033 (reftex-reference): Use `reftex-ref-style-list' function.
5034 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5035 reference macro if `reftex-ref-macro-prompt' is non-nil.
5036 (reftex-reference): Pass refstyle to `reftex-format-special'.
5037 Determine reference macro by looking at
5038 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5039 Use only one special format function.
5040 (reftex-varioref-vref, reftex-fancyref-fref)
5041 (reftex-fancyref-Fref): Remove definitions. The functions are now
5042 generated from `reftex-ref-style-alist'.
5043 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5045 (reftex-format-special): New function.
5047 * textmodes/reftex-sel.el
5048 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5049 of `reftex-ref-style-alist'. Remove code for testing macro type.
5050 (reftex-select-toggle-varioref)
5051 (reftex-select-toggle-fancyref): Remove.
5052 (reftex-select-cycle-ref-style-internal)
5053 (reftex-select-cycle-ref-style-forward)
5054 (reftex-select-cycle-ref-style-backward): New functions.
5055 (reftex-select-label-map): Use `v' and `V' for general cycling
5056 through reference styles. Add `p' for switching between number
5057 and page reference types.
5059 * textmodes/reftex-toc.el (reftex-re-enlarge):
5060 Call `enlarge-window' only if there is something to do because in Emacs
5061 the horizontal version throws an error even if the parameter is 0.
5063 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5064 (reftex-plug-into-AUCTeX): Doc fix.
5065 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5066 string. Adapt to new name.
5067 (reftex-ref-style-alist): Change structure so that it is not
5068 possible to use multiple different package names within a style.
5069 Remove the symbols for symbols for macro type distinction.
5070 Add characters for macro selection.
5071 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5072 (reftex-create-bibtex-footer): New variables.
5073 (reftex-format-ref-function): Mention third argument of special
5075 (reftex-ref-style-alist, reftex-ref-style-default-list):
5077 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5078 to new implementation. Mark as obsolete. Add compatibility code
5079 for honoring the variable values in case they are set.
5080 (reftex-cite-format-builtin, reftex-bibliography-commands):
5081 Add support for ConTeXt.
5082 (reftex-format-ref-function, reftex-format-cite-function):
5084 (reftex-cite-key-separator): New variable.
5086 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5087 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5088 `reftex-syntax-table' because parens have to retain their paren
5089 syntax in order for parsing of BibTeX entries like @book(...) to
5091 (reftex-in-comment): Do not error out if `comment-start-skip' is
5092 not set. Deal correctly with escaped comment characters.
5093 (reftex-tie-multifile-symbols): Add doc string.
5094 Initialize `reftex-ref-style-list'.
5095 (reftex-untie-multifile-symbols): Add doc string.
5096 (reftex-add-index-macros): Doc fix.
5097 (reftex-ref-style-activate, reftex-ref-style-toggle)
5098 (reftex-ref-style-list): New functions.
5099 (reftex-mode-menu): Use them. Adapt to new structure of
5100 `reftex-ref-style-alist'.
5101 (reftex-select-with-char): Kill the RefTeX Select buffer when
5103 (reftex-remove-if): New function.
5104 (reftex-erase-all-selection-and-index-buffers)
5105 (reftex-mode-menu): Reference styles are now computed from
5106 `reftex-ref-style-alist'. Fix typo.
5107 (reftex-report-bug): New function.
5108 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5109 algorithms with O(n log n). Introduce optional argument SORT (not
5112 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5114 Enhancements for triple-quote string syntax.
5115 * progmodes/python.el (python-syntax-propertize-function):
5116 Match both quote cases in one regexp.
5117 (python-syntax-stringify): Handle matches properly.
5119 2012-09-30 Juri Linkov <juri@jurta.org>
5121 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5122 to nil around the call to `insert' to prevent
5123 directory time modification by lock_file. (Bug#2295)
5124 * tar-mode.el (tar-summarize-buffer): Idem.
5126 2012-09-30 Juri Linkov <juri@jurta.org>
5128 * facemenu.el (list-colors-sort): Add option "Luminance".
5129 (list-colors-sort-key): Implement it.
5131 * vc/diff-mode.el (diff-refine-removed):
5132 * vc/ediff-init.el (ediff-fine-diff-A):
5133 * vc/smerge-mode.el (smerge-refined-removed):
5134 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5136 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5138 * term/ns-win.el (x-file-dialog): New function.
5140 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5142 * ido.el (ido-max-directory-size): Default to nil; the current
5143 default is small for POSIX systems, and impractical on Windows 7
5144 now that lstat returns directory sizes for NTFS.
5146 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5148 In buffer display functions handle window-height/window-width
5149 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5150 * window.el (window--display-buffer): New argument ALIST.
5151 Obey window-height and window-width alist entries.
5152 (window--try-to-split-window): New argument ALIST.
5153 Bind window-combination-limit to t when the window's size shall be
5154 changed and window-combination-limit equals `window-size'.
5155 (display-buffer-in-atom-window)
5156 (display-buffer-in-major-side-window)
5157 (display-buffer-in-side-window, display-buffer-same-window)
5158 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5159 (display-buffer-pop-up-window, display-buffer-below-selected)
5160 (display-buffer-at-bottom, display-buffer-in-previous-window)
5161 (display-buffer-use-some-window): Adjust all callers of
5162 window--display-buffer and window--try-to-split-window.
5163 (fit-frame-to-buffer): New option.
5164 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5166 (display-buffer-in-major-side-window): Evaluate window-height /
5167 window-width alist entries.
5169 * help.el (temp-buffer-resize-frames)
5170 (temp-buffer-resize-regexps): Remove options.
5171 (temp-buffer-resize-mode): Adjust doc-string.
5172 (resize-temp-buffer-window): Don't consult
5173 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5174 temp-buffer-resize-frames.
5176 * dired.el (dired-mark-pop-up):
5177 Call display-buffer-below-selected with a fit-window-to-buffer alist
5180 2012-09-30 Chong Yidong <cyd@gnu.org>
5182 * server.el (server-host): Document the security implications.
5183 (server-auth-key): Doc fix.
5185 * startup.el (initial-buffer-choice): Doc fix.
5187 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5189 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5192 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5194 * help-fns.el (help-fns--obsolete): Fix last change.
5196 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5198 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5199 (minor-mode-map-alist): Remove redundant code.
5201 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5202 visited in a buffer.
5203 (cvs-insert-visited-file): New function.
5204 (find-file-hook): Use it.
5206 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5208 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5210 (log-edit-empty-buffer-p): Don't require a space after a header.
5212 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5214 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5216 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5217 a proper minor-mode.
5219 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5221 2012-09-29 Glenn Morris <rgm@gnu.org>
5223 * winner.el (winner-mode): Remove variable (let define-minor-mode
5225 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5227 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5228 (winner-mode): Use define-minor-mode.
5230 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5231 the full definition in loaddefs, rather than duplicating it.
5233 * help-macro.el (three-step-help): No need to autoload defcustom.
5235 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5236 (inferior-lisp-program, inferior-lisp-load-command)
5237 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5238 No need to autoload defcustoms.
5240 * hippie-exp.el (hippie-expand-try-functions-list)
5241 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5242 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5243 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5244 (hippie-expand-only-buffers): No need to autoload defcustoms.
5245 * progmodes/vhdl-mode.el (vhdl-line-expand):
5246 Explicitly load hippie-exp, so it does not get autoloaded
5247 while hippie-expand-try-functions-list is let-bound.
5249 2012-09-28 Glenn Morris <rgm@gnu.org>
5251 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5253 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5254 Only "cl.el" counts as cl these days.
5256 2012-09-28 Juri Linkov <juri@jurta.org>
5258 Display archive errors in the echo area instead of inserting
5261 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5262 to STDERR-TEST that can be a regexp matching a successful output.
5263 Create a temporary file and redirect stderr to it. Search for
5264 STDERR-TEST in the stderr output and display it in the echo area
5265 if no match is found.
5266 (archive-extract-by-file): New function like
5267 `archive-extract-by-stdout' but extracting archives to files
5268 and looking for successful matches in stdout. Function body is
5269 mostly copied from `archive-rar-extract'.
5270 (archive-rar-extract): Use `archive-extract-by-file'.
5271 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5273 2012-09-28 Leo Liu <sdl.web@gmail.com>
5275 * pcomplete.el (pcomplete-show-completions):
5276 Use minibuffer-message to make pcomplete usable in minibuffer.
5278 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5280 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5282 * type-break.el: Use lexical-binding.
5283 (type-break-mode): Use define-minor-mode.
5285 * emacs-lisp/pcase.el (pcase--mark-used): New.
5286 (pcase--u1): Use it (bug#12512).
5288 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5289 in load-history with the right file name.
5291 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5293 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5294 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5295 (doc-view-get-bounding-box): Make bounding box slicing work for
5296 ODF and DVI documents.
5298 2012-09-28 Glenn Morris <rgm@gnu.org>
5300 * type-break.el (type-break-mode, type-break-interval)
5301 (type-break-good-rest-interval, type-break-keystroke-threshold):
5302 No need to autoload.
5303 (type-break-good-rest-interval, type-break-keystroke-threshold):
5306 2012-09-28 Chong Yidong <cyd@gnu.org>
5308 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5311 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5313 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5315 2012-09-27 Glenn Morris <rgm@gnu.org>
5317 * faces.el (x-display-name): Declare (for without-x builds).
5319 * linum.el (linum-format): Don't autoload it. Improve :type.
5321 * progmodes/tcl.el: Don't require outline when compiling.
5322 (outline-regexp, outline-level): Declare.
5323 * textmodes/sgml-mode.el: Don't require outline when compiling.
5324 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5326 * term.el (term-ansi-reset):
5327 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5329 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5330 files for RCS and SCCS. (Bug#9781)
5332 2012-09-27 Chong Yidong <cyd@gnu.org>
5334 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5335 change; value should be t.
5337 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5339 * image-mode.el: Use lexical-binding.
5340 (image-mode-winprops): Use t to stand for the window of
5341 a buffer that's not displayed.
5342 * doc-view.el (doc-view-new-window-function): Handle the new
5344 (doc-view-enlarge): Make it a real nop if the size is not changed.
5345 (doc-view-display): Handle the case where the buffer is not (yet?)
5346 displayed in any window.
5347 (doc-view-saved-settings): New var.
5348 (doc-view-mode): Use it.
5349 (doc-view-fallback-mode): Set it.
5351 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5352 Set lexical-binding.
5353 (minibuffer-eldef-shorten-default): New var.
5354 (minibuffer-default-in-prompt-regexps): Use it for new default.
5355 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5357 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5359 * international/uni-bidi.el:
5360 * international/uni-category.el:
5361 * international/uni-name.el:
5362 * international/uni-numeric.el: Regenerate.
5364 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5365 Stefan Monnier <monnier@iro.umontreal.ca>
5367 * profiler.el: New file.
5369 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5372 (testcover-reinstrument): Simplify with CSE.
5374 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5376 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5378 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5380 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5381 (verilog-auto-input, verilog-auto-insert-lisp)
5382 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5383 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5384 (verilog-auto-unused, verilog-auto-wire)
5385 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5386 newline. Reported by Andrew Jones.
5387 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5388 Reported by Brad Dobbie.
5389 (verilog-batch-delete-trailing-whitespace):
5390 Create verilog-batch-delete-trailing-whitespace.
5391 Reported by Brad Dobbie.
5392 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5393 parameters from another module. Reported by Dan Katz.
5394 (verilog-auto, verilog-auto-assign-modport)
5395 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5396 AUTOINOUTMODPORT for UVM interface module shell generation.
5397 Reported by Brad Dobbie.
5398 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5400 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5401 Reported by Matt Martin.
5403 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5405 * window.el (window--resize-child-windows): When resizing child
5406 windows proportionally, process them in reverse order to
5407 preserve the "when splitting a window the new one gets the odd
5409 (window--resize-root-window-vertically): When resizing the
5410 minibuffer window try to affect only windows at the bottom of the
5413 2012-09-25 Chong Yidong <cyd@gnu.org>
5415 * subr.el (declare): Doc fix.
5417 * help-fns.el (help-fns--obsolete): Handle macros properly.
5419 2012-09-25 Chong Yidong <cyd@gnu.org>
5421 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5422 this function obsolete.
5424 * calendar/cal-x.el (calendar-two-frame-setup)
5425 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5426 * calendar/calendar.el (american-calendar, european-calendar)
5427 (calendar-for-loop):
5428 * comint.el (comint-dynamic-simple-complete)
5429 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5430 * desktop.el (desktop-load-default):
5431 * dired-x.el (dired-omit-here-always)
5432 (dired-hack-local-variables, dired-default-directory):
5433 * emacs-lisp/derived.el (derived-mode-class):
5434 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5435 * emacs-lock.el (toggle-emacs-lock):
5436 * epa.el (epa-display-verify-result):
5437 * epg.el (epg-sign-keys, epg-start-sign-keys)
5438 (epg-passphrase-callback-function):
5439 * eshell/esh-util.el (eshell-for):
5440 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5441 (eshell-add-to-window-buffer-names):
5442 * files.el (locate-file-completion):
5443 * imenu.el (imenu-example--create-c-index)
5444 (imenu-example--create-lisp-index)
5445 (imenu-example--lisp-extract-index-name)
5446 (imenu-example--name-and-position):
5447 * international/mule-cmds.el (princ-list):
5448 * international/mule-diag.el (decode-codepage-char):
5449 * international/mule-util.el (detect-coding-with-priority):
5450 * iswitchb.el (iswitchb-read-buffer):
5451 * mail/mailalias.el (mail-complete):
5452 * mail/sendmail.el (mail-sent-via):
5453 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5454 (mouse-major-mode-menu):
5455 * password-cache.el (password-read-and-add):
5456 * pcomplete.el (pcomplete-parse-comint-arguments):
5457 * progmodes/sh-script.el (sh-maybe-here-document):
5458 * replace.el (query-replace-regexp-eval):
5459 * savehist.el (savehist-load):
5460 * simple.el (choose-completion-delete-max-match):
5461 * term.el (term-dynamic-simple-complete):
5462 * vc/ediff-init.el (ediff-check-version):
5463 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5464 * vc/vc.el (vc-diff-switches-list):
5465 * view.el (view-return-to-alist-update): Likewise.
5467 * subr.el (eval-next-after-load, makehash, insert-string)
5468 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5470 (mode-line-inverse-video): Variable deleted.
5472 * international/mule-util.el (string-to-sequence): Remove.
5474 * calendar/calendar.el (calendar-version):
5475 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5476 (icalendar-convert-diary-to-ical):
5477 * cus-edit.el (custom-mode):
5478 * ansi-color.el (ansi-color-unfontify-region):
5479 * international/latin1-disp.el (latin1-char-displayable-p):
5480 * progmodes/cwarn.el (turn-on-cwarn-mode):
5481 * progmodes/which-func.el (which-func-update-1):
5482 Use define-obsolete-function-alias.
5484 * net/newst-backend.el (newsticker-cache-filename):
5485 * net/newst-treeview.el (newsticker-groups-filename):
5486 Fix incorrect obsolescence declaration.
5488 * allout.el (allout-passphrase-hint-string): Likewise.
5489 (allout-init): Use a declare form to mark obsolete.
5491 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5492 this applies to functions.
5494 * iswitchb.el (iswitchb-read-buffer): Move code of
5495 iswitchb-define-mode-map here, and delete that obsolete function.
5497 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5498 font-lock-reference-face.
5500 2012-09-25 Glenn Morris <rgm@gnu.org>
5502 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5505 * eshell/em-term.el (eshell-term-name):
5506 Default to term-term-name. (Bug#12485)
5508 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5510 * progmodes/python.el (python-shell-send-buffer): Better handling
5511 of "if __name__ == '__main__':" conditionals when sending the buffer.
5513 2012-09-24 Glenn Morris <rgm@gnu.org>
5515 * eshell/esh-cmd.el (eshell-find-alias-function):
5516 Tighten up file-name regexp. (Bug#12499)
5518 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5520 Enhancements for triple-quote string syntax.
5521 * progmodes/python.el (python-quote-syntax): Remove.
5522 (python-syntax-propertize-function): New value.
5523 (python-syntax-count-quotes, python-syntax-stringify):
5526 2012-09-24 Chong Yidong <cyd@gnu.org>
5528 * mail/supercite.el (sc-version): Remove obsolete function.
5529 (sc-describe): Don't mark as obsolete, since it is bound.
5530 (sc-submit-bug-report): Remove.
5532 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5533 (cvs-commit-buffer-require-final-newline): Remove.
5534 (log-edit-require-final-newline)
5535 (log-edit-changelog-full-paragraphs): Default to t.
5537 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5538 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5539 * vc/vc.el (vc-checkout-carefully): Likewise.
5541 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5542 (emerge-version): Remove.
5544 * progmodes/compile.el (compile-internal): Remove.
5545 (compilation-parse-errors-function): Fix typo.
5547 * international/mule.el (set-char-table-default): Remove.
5548 (set-coding-priority, make-coding-system, generic-char-p)
5549 (charset-list, charset-bytes, charset-id): Use declare to mark
5550 functions as obsolete.
5552 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5553 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5554 * vc/vc-hooks.el (vc-default-registered): Don't use
5555 vc-master-templates.
5557 * font-lock.el (font-lock-reference-face):
5558 Use define-obsolete-variable-alias.
5560 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5561 * calendar/calendar.el (calendar-font-lock-keywords):
5562 * calendar/diary-lib.el (diary-font-lock-keywords)
5563 (diary-fancy-font-lock-keywords):
5564 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5565 * textmodes/reftex-index.el (reftex-insert-index):
5566 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5567 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5568 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5569 * progmodes/prolog.el (prolog-font-lock-keywords):
5570 * progmodes/idlwave.el (idlwave-idl-keywords):
5571 * progmodes/ada-mode.el (ada-font-lock-keywords):
5572 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5574 2012-09-24 Glenn Morris <rgm@gnu.org>
5576 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5578 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5580 * progmodes/python.el (python-indent-line): More consistent cursor
5583 2012-09-23 Stefan Merten <smerten@oekonux.de>
5585 * textmodes/rst.el: Fix compiler warning.
5587 2012-09-23 Roland Winkler <winkler@gnu.org>
5589 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5590 Transcribe also LaTeX hyphenation.
5591 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5592 bibtex-reformat-previous-options.
5594 2012-09-23 Roland Winkler <winkler@gnu.org>
5596 * proced.el (proced-renice-command): New variable.
5597 (proced-marked-processes): New function.
5598 (proced-with-processes-buffer): New macro.
5599 (proced-send-signal): Use them.
5600 (proced-renice): New command bound to r.
5602 2012-09-23 Roland Winkler <winkler@gnu.org>
5604 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5605 ibuffer-saved-filter-groups has one element, shortcut the call of
5606 completing-read. (Bug#12331)
5608 2012-09-23 Chong Yidong <cyd@gnu.org>
5610 * bindings.el (mode-line-toggle-read-only):
5611 * bs.el (bs-toggle-readonly):
5612 * buff-menu.el (Buffer-menu-toggle-read-only):
5613 * dired.el (dired-toggle-read-only):
5614 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5616 2012-09-23 Chong Yidong <cyd@gnu.org>
5618 * image.el (image-type-available-p): Adapt to init-image-library
5621 2012-09-22 Juri Linkov <juri@jurta.org>
5623 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5624 `dired-toggle-read-only'. (Bug#12462)
5626 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5628 * subr.el (temp-output-buffer-show): New function.
5629 (with-output-to-temp-buffer): Call temp-output-buffer-show
5630 instead of internal-temp-output-buffer-show.
5632 2012-09-22 Chong Yidong <cyd@gnu.org>
5634 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5637 * repeat.el (repeat): Doc fix (Bug#12348).
5639 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5642 * simple.el (shell-command-on-region): Doc fix.
5643 (read-only-mode): Doc fix.
5645 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5647 * emacs-lisp/timer.el (run-with-idle-timer)
5648 (timer-activate-when-idle): Warn against reinvoking an idle timer
5649 from within its own timer action. (Bug#12447)
5651 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5653 * cus-start.el (window-combination-limit): Add new optional
5655 * window.el (temp-buffer-window-show)
5656 (window--try-to-split-window): Handle new values of
5657 window-combination-limit (Bug#1806).
5658 (split-window): Test window-combination-limit for t instead of
5660 (display-buffer-at-bottom): New buffer display action function.
5661 * help.el (temp-buffer-resize-regexps): New option.
5662 (temp-buffer-resize-mode): Rewrite doc-string.
5663 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5664 Don't resize reused window. Suggested by Glenn Morris.
5666 2012-09-22 Stefan Merten <smerten@oekonux.de>
5668 * textmodes/rst.el: Revamp section title faces.
5669 (rst-official-version)
5670 (rst-package-emacs-version-alist): Sync with official version
5672 (rst-faces-defaults, rst-set-level-default)
5673 (rst-level-face-max, rst-level-face-base-color)
5674 (rst-level-face-base-light, rst-level-face-format-light)
5675 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5676 (rst-adornment-faces-alist): Match new setup.
5677 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5678 (rst-level-5, rst-level-6): New faces.
5680 2012-09-22 Chong Yidong <cyd@gnu.org>
5682 * simple.el (undo): Handle indirect buffers (Bug#8207).
5684 2012-09-21 Leo Liu <sdl.web@gmail.com>
5686 IDO: Disable match re-ordering for buffer switching.
5687 * ido.el (ido-buffer-disable-smart-matches): New variable.
5688 (ido-set-matches-1): Use it. (Bug#2042)
5690 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5692 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5693 Fix 2011-05-17 change. (Bug#12418)
5695 2012-09-21 Leo Liu <sdl.web@gmail.com>
5697 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5699 2012-09-21 Glenn Morris <rgm@gnu.org>
5701 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5702 Be more robust about locating simple.el.
5704 2012-09-21 Glenn Morris <rgm@gnu.org>
5706 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5708 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5710 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5712 2012-09-20 Juri Linkov <juri@jurta.org>
5714 * replace.el (query-replace-read-from): Use `read-regexp' instead
5715 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5716 (occur-read-primary-args): Use `read-regexp' instead of
5718 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5719 `read-from-minibuffer'.
5720 * isearch.el (isearch-occur): Use `read-regexp' instead of
5722 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5723 `read-from-minibuffer'.
5724 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5725 of `read-string'. (Bug#7567)
5727 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5728 and allow accepting a list of strings prepended to a list of
5729 standard default values. Doc fix. (Bug#12321)
5731 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5733 * replace.el (read-regexp): Don't add ": " when PROMPT already
5734 ends with a colon and space. (Bug#12321)
5736 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5738 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5741 2012-09-20 Stefan Merten <smerten@oekonux.de>
5743 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5744 Fixes feature request bug#11711.
5745 (rst-mode): Create `imenu-create-index-function'.
5746 (rst-get-stripped-line): Delete after refactoring.
5747 (rst-section-tree, rst-section-tree-rec)
5748 (rst-section-tree-point): Refactor and document properly.
5749 (rst-imenu-find-adornments-for-position)
5750 (rst-imenu-convert-cell, rst-imenu-create-index):
5753 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5755 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5756 (macroexp--expand-all): Use it.
5757 (macroexp--funcall-and-return): Remove by folding it into its sole
5758 caller (macroexp--warn-and-return).
5759 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5760 Use macroexp--obsolete-warning.
5762 * calc/calc.el: Fix last change by removing the whole chunk, since it
5763 was only needed back when Calc was not bundled.
5765 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5767 * emacs-lisp/debug.el (debug): Restore assignment to
5768 debugger-old-buffer removed on 2012-09-08.
5770 2012-09-20 Juri Linkov <juri@jurta.org>
5772 * dired-aux.el (dired-diff): Remove (require 'diff) since
5773 `diff-latest-backup-file' is now autoloaded.
5775 2012-09-20 Chong Yidong <cyd@gnu.org>
5777 * vc/diff.el (diff-latest-backup-file): Autoload.
5779 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5781 * calc/calc.el: Remove redundant autoload shape check.
5782 (sel-mode): Don't defvar.
5783 (calc-get-stack-element): Add `sel-mode' arg instead.
5784 (calc-top, calc-top-list): Pass it this additional argument.
5785 * calc/calc-store.el (calc-store-map):
5786 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5787 (calc-map-equation, calc-outer-product, calc-inner-product):
5788 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5790 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5792 2012-09-19 Juri Linkov <juri@jurta.org>
5794 * dired-aux.el (dired-diff): Add (require 'diff) because
5795 `diff-latest-backup-file' is not autoloaded.
5796 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5797 of `dired-get-filename' to t to not report error when there is
5798 no default file on the current line.
5800 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5803 macroexp--eval-if-compile.
5804 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5805 (macroexp--expand-all): Use them (bug#12371).
5807 * doc-view.el (doc-view-guess-paper-size)
5808 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5810 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5812 New feature: set optimal slice from BoundingBox information.
5813 * doc-view.el (doc-view-mode-map): Add keybinding.
5814 (doc-view-menu): Add menu entry.
5815 (doc-view-set-slice): Adapt docstring.
5816 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5817 (doc-view-scale-bounding-box)
5818 (doc-view-set-slice-from-bounding-box): New functions.
5819 (doc-view-paper-sizes): New defvar.
5821 2012-09-19 Glenn Morris <rgm@gnu.org>
5823 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5824 (byte-compile-log-warning): Autoload. (Bug#12371)
5826 * calendar/calendar.el (calendar-american-month-header)
5827 (calendar-european-month-header, calendar-iso-month-header)
5828 (calendar-month-header): New options.
5829 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5830 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5832 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5834 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5836 2012-09-18 Juri Linkov <juri@jurta.org>
5838 * dired-aux.el (dired-diff): Restore original functionality of
5839 getting the default value, but keep new feature of using the
5840 latest existing backup file (`diff-latest-backup-file').
5842 2012-09-18 Juri Linkov <juri@jurta.org>
5844 * dired.el (dired-mark): If the region is active in Transient Mark
5845 mode, mark all files in the active region. Doc fix.
5846 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5847 Doc fix. (Bug#10624)
5849 2012-09-18 Juri Linkov <juri@jurta.org>
5851 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5852 attributes for M-n are pulled from the file at point.
5853 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5854 Suggested by Drew Adams. (Bug#10624)
5856 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5858 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5859 whitespace after "end".
5860 (ruby-do-end-to-brace): Collapse block to one line if it fits
5863 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5865 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5867 (debug): Don't remove debugger window when debugger is expected
5870 2012-09-18 Chong Yidong <cyd@gnu.org>
5872 * custom.el (defface): Doc fix.
5874 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5876 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5878 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5879 to initialize query-on-exit; then test that instead (bug#12288).
5881 2012-09-17 Stefan Merten <smerten@oekonux.de>
5883 * textmodes/rst.el: Add support for `testcover'.
5884 (rst-defcustom-testcover, rst-testcover-add-compose)
5885 (rst-testcover-add-1value): New functions.
5886 (rst-portable-mark-active-p): Replace by `use-region-p'.
5887 (rst-update-section, rst-classify-adornment)
5888 (rst-find-title-line): Mark `1value' forms.
5889 (rst-classify-adornment): Remove superfluous form.
5890 (rst-update-section, rst-get-adornments-around)
5891 (rst-adornment-complete-p, rst-get-next-adornment)
5892 (rst-adjust, rst-promote-region)
5893 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5894 (rst-find-pfx-in-region, rst-section-tree-rec)
5895 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5896 (rst-toc-node, rst-toc, rst-forward-section)
5897 (rst-iterate-leftmost-paragraphs)
5898 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5899 (rst-bullet-list-region)
5900 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5901 (rst-compile-find-conf, rst-compile)
5902 (rst-repeat-last-character): Fix style.
5904 2012-09-17 Chong Yidong <cyd@gnu.org>
5906 * comint.el (comint--complete-file-name-data): Don't add a space
5907 if the status is `sole'; that adds a gratuitous space in the
5908 completion-cycling case (Bug#12092).
5910 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5912 2012-09-17 Richard Stallman <rms@gnu.org>
5914 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5915 only in the mime-shown mode, not in raw mode.
5916 (rmail-mime): Toggle off mime by displaying the message without
5917 mime processing. (Bug#12305)
5919 * mail/rmail.el (rmail-retry-failure):
5920 Turn off mime processing first. (Bug#12037)
5922 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5924 2012-09-17 Chong Yidong <cyd@gnu.org>
5926 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5927 (shell-dynamic-complete-functions): Convert to defcustom.
5928 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5930 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5931 * comint.el (comint-prompt-read-only):
5932 * custom.el (defcustom):
5933 * hi-lock.el (hi-lock-mode):
5934 * ibuffer.el (ibuffer-formats):
5935 * ielm.el (ielm-prompt-read-only):
5936 * novice.el (disable-command):
5937 * saveplace.el (toggle-save-place):
5938 * speedbar.el (speedbar-supported-extension-expressions):
5939 * startup.el (auto-save-list-file-prefix, init-file-user)
5940 (after-init-hook, inhibit-startup-echo-area-message):
5941 * strokes.el (strokes-help):
5942 * time-stamp.el (time-stamp):
5943 * calendar/calendar.el (calendar, diary-file):
5944 * calendar/diary-lib.el (diary-mail-entries, diary)
5945 (diary-list-entries-hook):
5946 * calendar/holidays.el (holidays, calendar-holidays):
5947 * calendar/lunar.el (lunar-phases):
5948 * calendar/solar.el (sunrise-sunset):
5949 * emulation/edt.el (edt-load-keys):
5950 * emulation/viper.el (viper-mode):
5951 * eshell/em-alias.el (eshell-command-aliases-list):
5952 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5953 * international/ogonek.el (ogonek-information):
5954 * net/tramp-cmds.el (tramp-bug):
5955 * net/quickurl.el (quickurl-reread-hook-postfix):
5956 * play/decipher.el (decipher-font-lock-keywords):
5957 * progmodes/cc-styles.el (c-set-style):
5958 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5959 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5960 * progmodes/octave-mod.el (octave-mode):
5961 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5962 * progmodes/verilog-mode.el (verilog-read-defines):
5963 * textmodes/two-column.el (2C-mode): Likewise.
5965 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5967 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5968 that holds many addresses.
5970 2012-09-16 Chong Yidong <cyd@gnu.org>
5972 * align.el (align-areas): Call the indication function with
5973 positions instead of markers for arguments (Bug#12343).
5975 * files.el (parse-colon-path): Use split-string (Bug#12351).
5977 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5978 (display-buffer-function): Mark as obsolete.
5980 * progmodes/compile.el (compilation-parse-errors): Accept list
5981 values similar to font-lock-keywords (Bug#12136).
5982 Suggested by Oleksandr Manzyuk.
5983 (compilation-error-regexp-alist): Doc fix.
5985 2012-09-15 Glenn Morris <rgm@gnu.org>
5987 * version.el (emacs-bzr-version-bzr): New function.
5988 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5990 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5991 checkouts, check the parent dirstate matches the branch.
5992 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5995 * version.el (emacs-bzr-version): Doc fix.
5996 (emacs-bzr-version-dirstate): New function.
5997 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5998 is local try and check that it matches the branch. If not, just
5999 use dirstate information. (Bug#12441)
6001 2012-09-14 Juri Linkov <juri@jurta.org>
6003 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6006 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6010 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6011 Remove obsolete byte-compiler hack that tried to silence some warnings.
6012 (edebug-submit-bug-report): Remove.
6013 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6014 Remove aliases, use the un-prefixed name instead.
6015 (edebug-pop-to-buffer): Consider other frames.
6016 (edebug-original-read):: Make it more obvious that it's always defined.
6017 (edebug--make-form-data-entry, edebug--form-data-name)
6018 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6019 single-dashed name, and implement with cl-defstruct.
6020 (edebug-set-form-data-entry): Use the standard accessors.
6021 (edebug-make-top-form-data-entry): Use push.
6022 (edebug-no-match): Drop useless `funcall'.
6023 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6025 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6026 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6027 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6028 (easy-menu-define, with-custom-print): Remove redundant specs.
6029 (edebug-outside-overriding-local-map)
6030 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6031 (edebug--display): Bind unread-command-events directly to nil rather
6032 than binding it to unread-command-events and later setting it to nil.
6033 (edebug--display): Kill edebug-eval-buffer here...
6034 (edebug--recursive-edit): ...rather than here.
6035 Bind standard-output and standard-input.
6036 (edebug-eval): Check cl-macroexpand-all is fboundp.
6037 (edebug-temp-display-freq-count): Fix last change.
6039 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6040 * subr.el (noreturn, 1value): Add `debug' spec.
6041 * emacs-lisp/advice.el: Require cl-lib.
6042 (ad-copy-tree): Remove, use copy-tree instead.
6043 (ad-dolist): Remove use dolist or cl-dolist instead.
6044 (ad-do-return): Remove, use cl-return instead.
6045 (defadvice): Add `debug' spec.
6047 2012-09-13 Juri Linkov <juri@jurta.org>
6049 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6052 2012-09-13 Glenn Morris <rgm@gnu.org>
6054 * calc/calc.el (math-compose-expr):
6055 * calc/calc-ext.el (math-compose-expr):
6056 * progmodes/cc-defs.el (cl-macroexpand-all):
6057 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6058 (cl-macroexpand-all): Update declarations.
6060 * vc/vc.el: No need to require ediff.
6061 (ediff-load-version-control): Declare.
6062 (ediff-vc-internal): Fix declaration.
6063 (vc-version-ediff): Require ediff.
6065 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6067 Use a more backwards-compatible timer format (Bug#12430).
6068 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6069 being right after USECS, as that better supports old code that
6070 inadvisedly looked directly at the timer vector.
6072 2012-09-13 Kenichi Handa <handa@gnu.org>
6074 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6075 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6076 `coding-priority' property of these language environment.
6078 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6080 Fix glitches caused by addition of psec to timers (Bug#12430).
6081 * image.el (image-animate-timer):
6082 * time.el (display-time-world-timer):
6083 Use timer--function and timer--args rather than raw access to
6086 2012-09-13 Glenn Morris <rgm@gnu.org>
6088 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6089 If not compiling a file, try using load-file-name.
6091 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6093 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6095 (edebug-update-eval-list): Use `push'.
6097 * emacs-lisp/edebug.el: Use lexical-binding.
6098 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6099 Mark unused args with underscore.
6100 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6101 (edebug-form-data): Use defvar-local.
6102 (edebug-make-before-and-after-form, edebug-make-after-form):
6104 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6105 Not dynamically scoped any more.
6106 (edebug--enter-trace): Add arguments `function' and `args'.
6107 Rename from edebug-enter-trace.
6108 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6109 (edebug--update-coverage): Add `after-index' and `value' args.
6110 Rename from edebug-update-coverage.
6111 (edebug-slow-after): Call it accordingly.
6112 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6113 edebug-recursive-edit.
6114 (edebug--display): Call it accordingly. Add args `value',
6115 `offset-index', and `arg-mode'. Rename from edebug-display.
6116 (edebug-debugger, edebug): Call it accordingly.
6117 (edebug-eval-display-list): Use dolist.
6119 2012-09-12 Juri Linkov <juri@jurta.org>
6121 * info.el (Info-search): Don't check for isearch-mode and
6122 isearch-regexp before let-binding search-spaces-regexp to
6123 Info-search-whitespace-regexp.
6124 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6125 search-whitespace-regexp if isearch-lax-whitespace or
6126 isearch-regexp-lax-whitespace is non-nil.
6127 (Info-mode): Don't set local variable search-whitespace-regexp.
6128 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6130 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6133 (debugger-env-macro): Remove support for unread-command-char.
6135 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6136 the temporary map re-appearing on emulation-mode-map-alists.
6138 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6141 * ehelp.el (with-electric-help): Accept functions in
6142 electric-help-form-to-execute.
6143 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6144 And replace unread-command-char -> unread-command-events.
6146 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6148 Sync with Tramp 2.2.6.
6150 * net/tramp.el (tramp-accept-process-output): Don't use
6151 JUST-THIS-ONE in the XEmacs case.
6153 * net/trampver.el: Update release number.
6155 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6157 * emacs-lisp/debug.el (debugger-previous-window-height):
6159 (debug): When debugger-jumping-flag is non-nil try to restore
6160 height of debugger window. (Bug#8789)
6162 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6165 overriding-local-map and pre/post-command-hook here.
6166 (edebug-recursive-edit): Do it here instead (bug#12345).
6167 (edebug-outside-unread-command-char): Remove all uses of
6168 unread-command-char.
6170 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6171 inhibit-debugger is bound instead.
6173 2012-09-11 Bastien Guerry <bzg@gnu.org>
6175 * subr.el (set-temporary-overlay-map): Add a docstring.
6178 2012-09-11 Bastien Guerry <bzg@gnu.org>
6180 * minibuffer.el (completion-table-subvert): Fix docstring.
6183 2012-09-11 Bastien Guerry <bzg@gnu.org>
6185 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6187 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6189 * progmodes/sql.el: Version 3.1
6190 (sql-db2-escape-newlines): New variable.
6191 (sql-escape-newlines-filter): Use it.
6193 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6195 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6197 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6199 * vc/diff-mode.el (diff-mode-menu):
6200 Bind diff-remove-trailing-whitespace.
6202 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6205 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6206 (emacs-lisp-byte-code-mode): New functions.
6207 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6208 (eval-defun-2): Remove bogus interactive spec.
6209 (lisp-indent-line): Remove redundant whole-exp code, now done in
6210 indent-according-to-mode.
6211 (save-match-data): Remove redundant indent data.
6213 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6216 2012-09-09 Juri Linkov <juri@jurta.org>
6218 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6219 (replace-lax-whitespace, query-replace-regexp)
6220 (query-replace-regexp-eval, replace-regexp): Doc fix.
6221 (perform-replace, replace-highlight): Let-bind
6222 isearch-lax-whitespace to replace-lax-whitespace and
6223 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6225 * isearch.el (isearch-query-replace): Let-bind
6226 replace-lax-whitespace to isearch-lax-whitespace and
6227 replace-regexp-lax-whitespace to
6228 isearch-regexp-lax-whitespace. (Bug#10885)
6230 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6232 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6234 2012-09-09 Alan Mackenzie <acm@muc.de>
6236 * progmodes/cc-engine.el (c-state-cache-init):
6237 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6238 (c-record-parse-state-state):
6239 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6241 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6243 * register.el (register-separator): Rename from
6244 separator-register. All uses changed. Doc fix.
6245 (register): Fix version.
6247 2012-09-09 Chong Yidong <cyd@gnu.org>
6249 * replace.el (query-replace-map): Bind four new symbols for
6250 requesting window scrolling.
6252 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6253 query-replace-map (Bug#8948).
6255 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6257 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6258 since they are now in query-replace-map.
6260 * window.el (scroll-other-window-down): Make the arg optional.
6262 2012-09-09 Chong Yidong <cyd@gnu.org>
6264 * files.el (hack-local-variables-confirm): Use quit-window to kill
6265 the *Local Variables* buffer.
6267 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6269 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6270 not just expect to be at its beginning. Adjust callees.
6271 Succeed when do-end block has no space before the pipe character.
6272 (ruby-brace-to-do-end): When the original block is one-liner,
6273 convert to multiline. Reindent the result.
6275 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6277 * register.el (register): New group.
6278 (separator-register): New user option.
6279 (increment-register): Route it to `append-to-register', if
6280 register contains text. Implication is that `C-x r +' can now be
6281 used for appending to a text register (bug#12217).
6282 (append-to-register, prepend-to-register): Add separator based on
6283 `separator-register'.
6285 2012-09-08 Alan Mackenzie <acm@muc.de>
6287 AWK Mode: make auto-newline work when there's "==" in the pattern.
6288 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6290 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6291 Test more rigorously for "=" token.
6293 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6295 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6296 Only fail when reached LIMIT.
6298 2012-09-08 Chong Yidong <cyd@gnu.org>
6300 * dired.el (dired-mode-map): Don't bind M-=.
6302 * dired-aux.el (dired-diff): Use backup file as default.
6304 2012-09-08 Drew Adams <drew.adams@oracle.com>
6306 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6308 2012-09-08 Chong Yidong <cyd@gnu.org>
6310 * subr.el (syntax-after, syntax-class): Doc fix.
6312 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6314 * window.el (display-buffer-in-previous-window): New buffer
6315 display action function.
6317 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6318 (debugger-previous-window): New variable.
6319 (debug): Rewrite using display-buffer-in-previous-window,
6320 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6322 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6324 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6326 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6328 * progmodes/python.el (python-shell-send-string):
6329 When default-directory is remote, create temp file on remote
6331 (python-shell-send-file): When file is remote, pass local view of
6332 file paths to remote Python interpreter. (Bug#12340)
6334 2012-09-07 Chong Yidong <cyd@gnu.org>
6336 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6338 * files.el (after-find-file): Don't fail on a read-only buffer if
6339 require-final-newline is `visit' or `visit-save' (Bug#11156).
6341 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6343 * userlock.el (ask-user-about-supersession-threat):
6344 Use read-char-choice (Bug#12093).
6346 2012-09-07 Chong Yidong <cyd@gnu.org>
6348 * subr.el (buffer-narrowed-p): New function.
6350 * ses.el (ses-widen):
6351 * simple.el (count-words--buffer-message):
6352 * net/browse-url.el (browse-url-of-buffer): Use it.
6354 * simple.el (count-words-region): Don't signal an error if there
6355 is a non-nil prefix arg and the mark is not set.
6357 * help.el (describe-key-briefly): Allow the message to be seen
6358 when invoked from the minibuffer (Bug#7014).
6360 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6362 * progmodes/ruby-mode.el (ruby-end-of-defun)
6363 (ruby-beginning-of-defun): Simplify, allow indentation before
6364 block beginning and end keywords.
6365 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6366 (ruby-end-of-defun): Expect that the point is at the beginning of
6369 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6373 (cl--make-usage-args): Strip _ from argument names.
6375 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6377 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6378 obsolete alias speedbar-key-map.
6379 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6380 (vhdl-index-menu-init): Don't use obsolete variable
6381 font-lock-maximum-size.
6383 2012-09-06 Chong Yidong <cyd@gnu.org>
6385 * frame.el (window-system-version): Mark as obsolete.
6387 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6388 of obsolete variable speedbar-key-map.
6390 2012-09-06 Juri Linkov <juri@jurta.org>
6392 * replace.el (replace-lax-whitespace): New defcustom.
6393 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6394 (replace-string, replace-regexp): Mention it in docstrings.
6395 (perform-replace, replace-highlight): Let-bind
6396 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6397 to the values of replace-lax-whitespace and regexp-flag.
6398 Don't let-bind search-whitespace-regexp. (Bug#10885)
6400 * isearch.el (isearch-query-replace): Let-bind
6401 replace-lax-whitespace instead of let-binding
6402 replace-search-function and replace-re-search-function.
6403 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6404 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6405 (isearch-toggle-symbol): Set isearch-regexp to nil
6406 in isearch-word mode (like in isearch-toggle-word).
6408 2012-09-06 Juri Linkov <juri@jurta.org>
6410 * replace.el (replace-search-function)
6411 (replace-re-search-function): Set default values to nil.
6412 (perform-replace): Let-bind isearch-related variables based on
6413 replace-related values, call `isearch-search-fun' and let-bind
6414 the result to `search-function'. Remove code that sets
6415 `search-function' and `search-string' separately for
6417 (replace-highlight): Add new argument `delimited-flag' and
6418 rename other arguments to the names used in `perform-replace'.
6419 Let-bind `isearch-word' to the argument `delimited-flag'.
6420 (Bug#10885, bug#10887)
6422 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6424 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6425 ruby-beginning-of-indent, simplify, allow all keywords to have
6426 indentation before them.
6427 (ruby-beginning-of-indent): Adjust for above. Search until the
6428 found point is not inside a string or comment.
6429 (ruby-font-lock-keywords): Allow symbols to start with "@"
6430 character, give them higher priority than variables.
6431 (ruby-syntax-propertize-function)
6432 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6433 matchers. Expression expansions are not comments when inside a
6434 string, and there comment syntax status is irrelevant.
6435 (ruby-match-expression-expansion): New function. Check that
6436 expression expansion is inside a string, and it's not escaped.
6437 (ruby-font-lock-keywords): Use it.
6439 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6441 * help.el (temp-buffer-max-height): New default value.
6442 (temp-buffer-resize-frames): New option.
6443 (resize-temp-buffer-window): Optionally resize frame.
6445 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6446 (fit-frame-to-buffer): New function.
6448 2012-09-05 Glenn Morris <rgm@gnu.org>
6450 * emulation/cua-rect.el (cua--init-rectangles):
6451 * textmodes/picture.el (picture-mode-map):
6452 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6453 like forward-char and backward-char. (Bug#12317)
6455 2012-09-05 Leo Liu <sdl.web@gmail.com>
6457 * progmodes/flymake.el (flymake-warning-re): New variable.
6458 (flymake-parse-line): Use it.
6460 2012-09-05 Glenn Morris <rgm@gnu.org>
6462 * calendar/holidays.el (holiday-christian-holidays):
6463 Rename an entry. (Bug#12289)
6465 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6470 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * loadup.el: Load macroexp. Remove hack.
6473 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6474 (macroexp--expand-all): Use it to get better warnings.
6475 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6476 (internal-macroexpand-for-load): New functions.
6477 (macroexp--pending-eager-loads): New var.
6478 (emacs-startup-hook): New hack to replace one in loadup.el.
6479 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6480 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6481 (cl-psetf): Simplify.
6482 (cl-defstruct): Add indent rule.
6484 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6486 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6487 over `user-mail-address' for the SMTP MAIL FROM envelope.
6488 (smtpmail-via-smtp): Ditto.
6490 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6492 * progmodes/ruby-mode.el: Clean up keybindings.
6493 (ruby-mode-map): Don't bind ruby-electric-brace,
6494 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6495 backward-kill-word, reindent-then-newline-and-indent.
6496 (ruby-mark-defun): Remove.
6497 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6498 (ruby-mode): Set local beginning-of-defun-function and
6499 end-of-defun-function values.
6501 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6503 * window.el (temp-buffer-window-setup-hook)
6504 (temp-buffer-window-show-hook): New hooks.
6505 (temp-buffer-window-setup, temp-buffer-window-show)
6506 (with-temp-buffer-window): New functions.
6507 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6508 (special-display-popup-frame): Make sure the window used shows BUFFER.
6510 * help.el (temp-buffer-resize-mode): Fix doc-string.
6511 (resize-temp-buffer-window): New optional argument WINDOW.
6513 * files.el (recover-file, save-buffers-kill-emacs):
6514 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6516 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6518 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6519 remote definition of `default-directory', ensure we can connect.
6521 2012-09-02 Juri Linkov <juri@jurta.org>
6523 Toggle whitespace matching mode with M-s SPC.
6524 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6526 * isearch.el (search-whitespace-regexp): Doc fix.
6527 Remove cons cell customization.
6528 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6529 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6531 (isearch-forward, isearch-forward-regexp): Doc fix.
6532 (isearch-toggle-lax-whitespace): New command.
6533 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6534 (re-search-forward-lax-whitespace)
6535 (re-search-backward-lax-whitespace): New functions.
6536 (isearch-whitespace-regexp): Remove function.
6537 (isearch-query-replace): Let-bind replace-search-function and
6538 replace-re-search-function.
6539 (isearch-occur): Let-bind search-spaces-regexp according to the
6540 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6541 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6542 condition for C-q SPC.
6543 (isearch-search-fun-default): Use new functions mentioned above.
6544 (isearch-search-forward, isearch-search-backward): Remove functions.
6545 (isearch-search): Don't let-bind search-spaces-regexp.
6546 (isearch-lazy-highlight-space-regexp): Remove variable.
6547 (isearch-lazy-highlight-lax-whitespace)
6548 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6549 (isearch-lazy-highlight-new-loop): Use them.
6550 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6552 2012-09-02 Chong Yidong <cyd@gnu.org>
6554 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6556 2012-09-02 Glenn Morris <rgm@gnu.org>
6558 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6560 2012-09-01 Glenn Morris <rgm@gnu.org>
6562 * term.el: Tidy up menu definitions.
6563 (term-mode-map): Use easymenu for In/Out, Complete menus.
6564 (term-pager-break-map): Initialize in the defvar.
6565 (term-terminal-menu, term-signals-menu): Define with easymenu.
6566 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6567 (term-pager-menu): New, extracted from term-process-pager.
6568 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6569 (term-update-mode-line): Propertize line/char and page items.
6570 (term-process-pager): Move keymap initialization elsewhere.
6572 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6574 * window.el (switch-to-prev-buffer): Handle additional values of
6575 BURY-OR-KILL argument. Don't switch in minibuffer window.
6576 (switch-to-next-buffer): Don't switch in minibuffer window.
6577 (quit-restore-window): New function based on quit-window.
6578 Handle additional values of former KILL argument.
6579 (quit-window): Call quit-restore-window with appropriate
6580 interpretation of KILL argument.
6581 (display-buffer-below-selected): New buffer display action
6584 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * minibuffer.el (completion-at-point-functions): Complete docstring
6589 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6591 Better seed support for (random).
6592 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6593 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6594 * play/mpuz.el, play/tetris.el, play/zone.el:
6595 * calc/calc-comb.el (math-init-random-base):
6596 * play/blackbox.el (bb-init-board):
6597 * play/life.el (life):
6598 * server.el (server-use-tcp):
6599 * type-break.el (type-break):
6600 Remove unnecessary call to (random t).
6601 * net/sasl.el (sasl-unique-id-function):
6602 Change (random t) to (random), now that the latter is more random.
6603 * play/life.el (life-initialized): Remove no-longer-needed var.
6605 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6607 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6608 Consider frame's buffer predicate when choosing the buffer.
6611 2012-08-30 Richard Stallman <rms@gnu.org>
6613 * simple.el (special-mode-map): Delete binding for `z'.
6615 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6617 * progmodes/compile.el (compilation-always-kill): Doc fix.
6619 2012-08-30 Chong Yidong <cyd@gnu.org>
6621 * window.el (display-buffer-reuse-frames): Make the obsolescence
6622 message more informative.
6624 2012-08-30 Glenn Morris <rgm@gnu.org>
6626 * paren.el (show-paren-delay):
6627 Add a :set function. Doc fix. (Bug#12297)
6629 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6631 * progmodes/compile.el (compilation-always-kill): New var.
6632 (compilation-start): Use it.
6634 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6637 * files.el (read-only-mode): Move to simple.el.
6639 * files.el (read-only-mode): New minor mode.
6640 (toggle-read-only): Use it and mark obsolete.
6641 (find-file--read-only):
6642 * vc/vc.el (vc-next-action, vc-checkout):
6643 * vc/vc-cvs.el (vc-cvs-checkout):
6644 * obsolete/vc-mcvs.el (vc-mcvs-update):
6645 * ffap.el (ffap--toggle-read-only): Update callers.
6647 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6649 * eshell/esh-ext.el (eshell-external-command): Do not examine
6650 remote shell scripts.
6651 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6653 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6656 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6658 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6660 2012-08-28 Leo Liu <sdl.web@gmail.com>
6662 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6663 completion-at-point. (Bug#12220)
6665 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6667 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6669 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6671 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6672 be buffer-local; add delete-trailing-whitespace (bug#12259).
6674 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6676 * progmodes/hideif.el (hif-compress-define-list):
6677 Fix typo. (Bug#11951)
6679 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6681 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6682 buffer local setting.
6684 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6685 rcirc-encode-coding-system.
6687 2012-08-28 Leo Liu <sdl.web@gmail.com>
6689 * net/rcirc.el (rcirc-split-message): New function.
6690 (rcirc-send-message): Use it. (Bug#12051)
6692 2012-08-28 Juri Linkov <juri@jurta.org>
6694 * info.el (Info-fontify-node): Hide empty lines at the end of
6695 the node. (Bug#12272)
6697 2012-08-27 Drew Adams <drew.adams@oracle.com>
6699 * dired.el (dired-pop-to-buffer): Make window start at beginning
6700 of buffer (Bug#12281).
6702 2012-08-26 Chong Yidong <cyd@gnu.org>
6704 * window.el (special-display-regexps, special-display-frame-alist)
6705 (special-display-buffer-names, special-display-function)
6706 (display-buffer-reuse-frames): Mark as obsolete.
6708 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6710 * help.el (help-print-return-message): Don't treat
6711 display-buffer-reuse-frames specially.
6713 2012-08-26 Chong Yidong <cyd@gnu.org>
6715 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6716 New variable, replacing gdb-frame-parameters.
6717 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6718 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6719 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6720 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6721 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6722 the functions directly with gdb-display-buffer-other-frame-action.
6723 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6724 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6725 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6726 (gdb-display-registers-buffer): Define directly.
6727 (def-gdb-display-buffer): Macro deleted.
6728 (gdb-display-buffer): Remove second and third args, callers don't
6729 use them. Defer to the default display-buffer behavior, apart
6730 from making windows dedicated.
6731 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6733 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6735 * window.el (display-buffer-pop-up-frame): Handle a
6736 pop-up-frame-parameters alist entry.
6737 (display-buffer): Document it.
6739 2012-08-26 Chong Yidong <cyd@gnu.org>
6741 * isearch.el (search-whitespace-regexp): Make string and nil
6742 values apply to both ordinary and regexp search. Allow a cons
6743 cell value to distinguish between the two.
6744 (isearch-whitespace-regexp, isearch-search-forward)
6745 (isearch-search-backward): New functions.
6746 (isearch-occur, isearch-search-fun-default, isearch-search)
6747 (isearch-lazy-highlight-new-loop): Use them.
6748 (isearch-forward, isearch-forward-regexp): Doc fix.
6750 2012-08-26 Chong Yidong <cyd@gnu.org>
6752 * faces.el (help-argument-name): Always inherit from italic
6755 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6757 * window.el (window--even-window-heights): Even heights when
6758 WINDOW and the selected window form a vertical combination.
6759 (display-buffer-use-some-window): Provide that window used gets
6760 sized back by quit-window. (Bug#11880) and (Bug#12091)
6762 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6764 Fix file time stamp problem with bzr and CVS (Bug#12001).
6765 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6766 in the file's time stamp, since the version control system loses
6769 2012-08-22 Juri Linkov <juri@jurta.org>
6771 * info.el (Info-fontify-node): Hide the suffix of the
6772 Info file name in the header line. (Bug#12187)
6774 2012-08-22 Glenn Morris <rgm@gnu.org>
6776 * calendar/cal-tex.el (cal-tex-weekly-common):
6777 Restore leading blank page.
6779 2012-08-22 Le Wang <l26wang@gmail.com>
6781 * misc.el (forward-to-word, backward-to-word): Activate or extend
6782 the region under `shift-select-mode'. (Bug#12231)
6784 2012-08-22 Bastien Guerry <bzg@gnu.org>
6786 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6787 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6788 gives details on why the space is never needed.
6790 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6792 * window.el (walk-window-tree, window-with-parameter):
6793 New optional argument MINIBUF to control whether these functions
6794 should run on the minibuffer window.
6795 (window-at-side-list): Don't operate on minibuffer window.
6796 (window-in-direction): Simplify and rewrite doc-string.
6797 (window--size-ignore): Rename to window--size-ignore-p.
6799 (display-buffer-in-atom-window, window--major-non-side-window)
6800 (window--major-side-window, display-buffer-in-major-side-window)
6801 (delete-side-window, display-buffer-in-side-window):
6803 (window--side-check, window-deletable-p, delete-window)
6804 (delete-other-windows, split-window): Handle side windows and
6805 atomic windows appropriately.
6806 (window--display-buffer): Call display-buffer-record-window also
6807 when the window buffer did not change.
6809 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6811 * help-fns.el (help-fns--key-bindings):
6812 Abbreviate non-symbol remap targets. (Bug#12174)
6814 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6816 * dired.el (dired-mark-remembered): Don't clobber point.
6819 2012-08-22 Glenn Morris <rgm@gnu.org>
6821 * progmodes/bug-reference.el (bug-reference): New custom group.
6822 (bug-reference-bug-regexp): Make it a defcustom.
6824 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6826 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6827 (js-paren-indent-offset, js-square-indent-offset)
6828 (js-curly-indent-offset): Add :safe (Bug#12257).
6830 2012-08-22 Edward O'Connor <hober0@gmail.com>
6832 * json.el (json-key-format): Add error properties.
6833 (json-encode-key): New function.
6834 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6835 Use json-encode-key.
6837 2012-08-22 Glenn Morris <rgm@gnu.org>
6839 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6840 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6841 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6842 Update for above change.
6844 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6846 * cus-face.el (custom-face-attributes): Fix customize type for the
6847 :underline attribute. (Bug#11805)
6849 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6851 * window.el (window-point-1, set-window-point-1): Remove.
6852 (window-in-direction, record-window-buffer)
6853 (set-window-buffer-start-and-point, split-window-below)
6854 (window--state-get-1, display-buffer-record-window):
6855 Replace calls to window-point-1 and set-window-point-1 by calls to
6856 window-point and set-window-point respectively.
6858 2012-08-21 Glenn Morris <rgm@gnu.org>
6860 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6861 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6864 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6865 (cal-tex-shortday): New function.
6866 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6867 (cal-tex-cursor-filofax-daily): Use the above.
6869 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6871 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6872 (cal-tex-cursor-filofax-week): Use them.
6874 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6876 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6877 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6879 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6880 (cal-tex-end-document): Don't rely on buffer name.
6882 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6884 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6885 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6886 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6889 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6890 (cal-tex-cursor-week, cal-tex-cursor-week2)
6891 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6892 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6893 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6894 (cal-tex-insert-preamble, cal-tex-b-document)
6895 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6896 Improve cal-tex-cmd usage.
6898 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6899 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6900 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6901 (cal-tex-weekly-paper): New function.
6902 (cal-tex-cursor-week, cal-tex-cursor-week2)
6903 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6904 (cal-tex-cursor-day): Use it.
6906 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6907 (cal-tex-cursor-filofax-week): Remove leading blank page.
6909 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6910 Add autoload cookie. For now at least, don't use color, since
6911 no other cal-tex function does.
6913 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6914 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6915 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6917 2012-08-21 Juri Linkov <juri@jurta.org>
6919 * info.el (Info-file-attributes): New variable.
6920 (info-insert-file-contents): Add file attributes to
6921 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6922 `Info-toc-nodes' when previous modtime of the Info file is less
6924 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6925 of info.el. (Bug#12230)
6927 2012-08-20 Glenn Morris <rgm@gnu.org>
6929 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6930 * calendar/holidays.el (calendar-holiday-list):
6931 Report errors with display-warning rather than beep'n'sleep.
6933 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6935 * net/tramp.el (tramp-accept-process-output): Accept only output
6936 from PROC. Otherwise, process filters and sentinels might be
6937 confused. (Bug#12145)
6939 2012-08-20 Chong Yidong <cyd@gnu.org>
6941 * descr-text.el (describe-text-properties-1): Use overlays-in to
6942 report on empty overlays (Bug#3322).
6944 2012-08-20 Glenn Morris <rgm@gnu.org>
6946 * mail/rmailout.el (rmail-output-read-file-name):
6947 Trap and report errors in rmail-output-file-alist elements.
6949 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6950 since most non-font-lock faces are not also variables).
6952 2012-08-20 Edward Reingold <reingold@iit.edu>
6954 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6955 New function. (Bug12160)
6957 2012-08-19 Glenn Morris <rgm@gnu.org>
6959 * mail/rmailout.el (rmail-output-read-file-name):
6960 Fix previous change (when the alist is nil or does not match).
6962 2012-08-19 Chong Yidong <cyd@gnu.org>
6964 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6967 2012-08-18 Chong Yidong <cyd@gnu.org>
6969 * simple.el (yank-handled-properties): New defcustom.
6970 (yank-excluded-properties): Add font-lock-face and category.
6973 * subr.el (remove-yank-excluded-properties):
6974 Obey yank-handled-properties. The special handling of font-lock-face
6975 and category is now done this way, instead of being hard-coded.
6976 (insert-for-yank-1): Remove font-lock-face handling.
6977 (yank-handle-font-lock-face-property)
6978 (yank-handle-category-property): New function.
6980 2012-08-17 Glenn Morris <rgm@gnu.org>
6982 * mail/rmailout.el (rmail-output-read-file-name):
6983 Check rmail-output-file-alist against the full message body
6984 in the correct rmail buffer. (Bug#12214)
6986 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6988 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6989 Eliminate superfluous prompt. (Bug#12203)
6991 2012-08-17 Chong Yidong <cyd@gnu.org>
6993 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6994 font spec, set the font directly (Bug#3228).
6996 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6998 * window.el (delete-window): Fix last fix.
7000 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7002 * window.el (window-valid-p): Move to window.c.
7003 (window-child, window-child-count, window-last-child)
7004 (window-normalize-window, window-combined-p)
7005 (window-combinations, window-atom-root, window-min-size)
7006 (window-sizable, window-sizable-p, window-size-fixed-p)
7007 (window-min-delta, window-max-delta, window--resizable)
7008 (window--resizable-p, window-resizable, window-total-size)
7009 (window-full-height-p, window-full-width-p, window-body-size)
7010 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7011 (minimize-window, window-deletable-p, delete-window)
7012 (delete-other-windows, set-window-buffer-start-and-point)
7013 (next-buffer, previous-buffer, split-window, balance-windows-2)
7014 (set-window-text-height, window-buffer-height)
7015 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7016 (truncated-partial-width-window-p): Minor code adjustments.
7017 In doc-strings state whether the argument window has to denote a
7018 live, valid or any window.
7020 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7022 * progmodes/subword.el (subword-forward-function)
7023 (subword-backward-function, subword-forward-regexp)
7024 (subword-backward-regexp): New variables.
7025 (subword-forward, subword-forward-internal, subword-backward-internal):
7026 Use new variables, eg so that different "word" definitions
7027 can be easily used. (Bug#11411)
7029 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7032 for composite selectors.
7033 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7034 operation just because we can't find a previous revision.
7036 2012-08-15 Chong Yidong <cyd@gnu.org>
7038 * frame.el (set-frame-font): Accept font objects.
7040 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7044 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7046 * man.el (Man-overstrike-face, Man-underline-face)
7047 (Man-reverse-face): Remove variables.
7048 (Man-overstrike, Man-underline, Man-reverse): New faces.
7049 (Man-fontify-manpage): Use them instead of the variables.
7050 (Man-cleanup-manpage): Comment change.
7051 (Man-ansi-color-map): New variable.
7052 (Man-fontify-manpage): Use it.
7053 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7055 Implement ANSI SGR parameters 22-27 (bug#12146).
7056 * ansi-color.el (ansi-colors): Doc fix.
7057 (ansi-color-context, ansi-color-context-region): Doc fix.
7058 (ansi-color--find-face): New function.
7059 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7060 Rename the local variable `face' to `codes' since it is now a list of
7061 ansi codes. Doc fix.
7062 (ansi-color-get-face): Remove.
7063 (ansi-color-parse-sequence): New function, derived from
7064 ansi-color-get-face.
7065 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7068 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7070 * subr.el (read-passwd): Allow use from a minibuffer.
7072 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7074 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7075 inside comments and strings as identifiers.
7077 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7078 expression to evaluate. This allows to evaluate expressions with
7079 embedded whitespace.
7080 (gud-tooltip-tips): Add a blank before the newline in the
7081 message-box text, for the benefit of message-box emulation on
7084 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7085 messages from GDB, pop them up in a tooltip to give feedback to
7087 (gdb-tooltip-print-1): Quote the expression to evaluate.
7088 This allows to evaluate expressions with embedded whitespace.
7089 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7090 if the TTY name is nil or empty (which happens when communicating
7091 with the inferior via pipes, e.g. on MS-Windows).
7092 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7093 don't send that to the GUD buffer.
7095 2012-08-14 Glenn Morris <rgm@gnu.org>
7097 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7098 Optimize away setq-default with no args, as for setq. (Bug#12195)
7100 2012-08-14 Chong Yidong <cyd@gnu.org>
7102 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7104 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7107 2012-08-14 Glenn Morris <rgm@gnu.org>
7109 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7111 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7113 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7114 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7115 Use cached shell name.
7117 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7119 * progmodes/python.el (python-shell-send-string):
7120 (python-shell-send-setup-code): Do not use `format' with `message'.
7122 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7124 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7125 (ruby-percent-literal-beg-re): New constant.
7126 (ruby-syntax-general-delimiters-goto-beg): Rename to
7127 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7128 (ruby-syntax-propertize-general-delimiters): Rename to
7129 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7130 popular term. Adjust comments everywhere.
7131 (ruby-syntax-propertize-percent-literal): Only propertize when not
7132 inside a simple string or comment. When the literal is unclosed,
7133 leave the text after it unpropertized.
7134 (ruby-syntax-methods-before-regexp): New constant.
7135 (ruby-syntax-propertize-function): Use it to recognize regexps.
7136 Don't look at the text after regexp, just use the whitelist.
7138 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7140 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7141 non-nil always load the compiled file if it exists. (Bug#12197)
7143 2012-08-14 Chong Yidong <cyd@gnu.org>
7145 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7146 (hi-lock-set-pattern): When deciding whether to use font lock or
7147 overlays, look at font-lock-mode instead of font-lock-fontified
7149 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7150 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7152 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7154 * subr.el (internal--after-with-selected-window): Fix typo
7157 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7159 Use `completion-table-dynamic' for completion functions.
7160 * progmodes/python.el
7161 (python-shell-completion--do-completion-at-point)
7162 (python-shell-completion--get-completions):
7164 (python-shell-completion-complete-at-point): New function.
7165 (python-completion-complete-at-point): Use it.
7167 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7169 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7170 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7172 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7174 * subr.el (function-get): Refine `autoload' arg so it can also
7175 autoload functions for gv.el (bug#12191).
7176 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7179 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7180 Prefer pcase-let over destructuring-bind.
7181 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7182 Also, remove whitespace as we go, rather than after accumulating the
7185 * subr.el (internal--before-with-selected-window)
7186 (internal--after-with-selected-window): Fix typo seleted->selected.
7187 (with-selected-window): Adjust callers.
7188 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7190 2012-08-13 Bastien Guerry <bzg@gnu.org>
7192 * window.el (special-display-popup-frame): Minor docstring
7193 enhancement. (Bug#12172)
7195 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7197 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7199 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7202 * files.el (hack-local-variables-filter): Remove useless eval.
7204 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7206 * subr.el (with-selected-window): Fix last change.
7208 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7210 * subr.el (internal--before-with-seleted-window)
7211 (internal--after-with-seleted-window): New functions.
7212 (with-selected-window): Use them, to replace dependency on
7215 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7217 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7218 binding for `newline'.
7219 (ruby-move-to-block): When moving backward, stop at block opening,
7221 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7222 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7223 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7224 `ruby-toggle-block'.
7226 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * ibuffer.el (ibuffer-do-toggle-read-only):
7229 * dired.el (dired-toggle-read-only):
7230 * buff-menu.el (Buffer-menu-toggle-read-only):
7231 * bindings.el (mode-line-toggle-read-only):
7232 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7234 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7236 * descr-text.el (describe-char): Put the overlays over the
7237 "displayed as" character.
7239 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7241 * calc/calc-units.el (math-default-units-table): Give an
7243 (math-put-default-units): Add options to put composite units and
7244 unit systems in the default units table.
7245 (calc-convert-units): Send composite units to
7246 `math-put-default-units' when appropriate.
7248 2012-08-11 Glenn Morris <rgm@gnu.org>
7250 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7252 * tutorial.el (help-with-tutorial):
7253 * emacs-lisp/copyright.el (copyright-update-directory):
7254 * emacs-lisp/autoload.el (autoload-find-generated-file)
7255 (autoload-find-file): Disable local eval: (for insurance).
7257 * files.el (hack-local-variables-filter): If an eval: form is not
7258 known to be safe, and enable-local-variables is :safe, then ignore
7259 the form totally, as is done for non-eval forms. (Bug#12155)
7260 This is CVE-2012-3479.
7262 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7264 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7265 (rx-form): Simplify.
7267 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7269 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7270 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7271 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7272 (ruby-syntax-propertize-function): Adjust for changes in
7273 `ruby-syntax-propertize-heredoc'.
7275 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7277 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7278 binding (use `M-;' instead).
7279 (ruby-singleton-class-p): New function.
7280 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7282 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7286 2012-08-10 Chong Yidong <cyd@gnu.org>
7288 * progmodes/python.el (python-shell-get-process-name): Don't mess
7289 with same-window-buffer-names.
7291 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7292 (eshell-remove-from-window-buffer-names): Make obsolete.
7293 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7294 (eshell): Just use pop-to-buffer-same-window instead.
7296 2012-08-10 Chong Yidong <cyd@gnu.org>
7298 * bindings.el: Bind M-= back to count-words-region.
7300 * simple.el (count-words-region): Accept a prefix arg for acting
7301 on the entire buffer.
7302 (count-words--buffer-message): New helper function.
7304 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7307 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7308 (event-start, event-end): Use posn-at-point to return a more
7310 (posnp): New function.
7311 * mouse.el (popup-menu-normalize-position): Use it.
7313 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7315 * mouse.el (popup-menu-normalize-position): New function.
7316 (popup-menu): Use `popup-menu-normalize-position' to normalize
7317 the form for POSITION argument.
7319 * term/x-win.el (x-menu-bar-open):
7320 Use the value returend from (posn-at-point) as position
7321 passed to `popup-menu'.
7323 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7325 * calc/calccomp.el (math-compose-expr): Add extra argument
7326 indicating that parentheses should be put around products in
7327 denominators. Give multiplication precedence over division during
7330 2012-08-09 Chong Yidong <cyd@gnu.org>
7332 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7333 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7334 (Man-untabify-command, manual-program): Convert to defcustom
7337 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7339 * descr-text.el (describe-char): Don't insert extra newlines
7342 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7343 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7345 * align.el (align-region): Delete temporary markers (Bug#10047).
7346 Plus some code cleanups.
7348 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7350 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7351 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7352 (python-shell-internal-last-output): Use make-local-variable
7353 instead of make-variable-buffer-local.
7355 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7357 * progmodes/python.el: Enhancements to forward-sexp.
7358 (python-nav-forward-sexp): Rename from
7359 python-nav-forward-sexp-function.
7360 (python-nav--forward-sexp, python-nav--backward-sexp):
7363 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7365 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7366 modes and simplification modes.
7368 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * delsel.el (delete-selection-pre-hook): Don't propagate the
7371 file-supersession signals (bug#12161).
7373 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7375 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7376 (cl-map-extents): Add compatibility aliases (bug#12135).
7378 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7380 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7381 tests by `ignore-error'.
7382 (tramp-find-shell): Open also a new shell, when cache is already
7383 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7385 2012-08-08 Juri Linkov <juri@jurta.org>
7387 * bookmark.el: Add `defaults' property to the bookmark record.
7388 (bookmark-current-buffer): Doc fix.
7389 (bookmark-make-record): Add `defaults' property with default values
7390 to the bookmark record.
7391 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7392 with `bookmark-insert-current-bookmark'.
7393 (bookmark-set): Get `defaults' property from the bookmark record
7394 and use it in `read-from-minibuffer'.
7395 (bookmark-insert-current-bookmark): Remove function.
7397 * info.el (Info-bookmark-make-record): Add `defaults' property
7398 with values of canonical Info node name, the current Info file
7399 name and the current Info node name. (Bug#12107)
7401 2012-08-08 Juri Linkov <juri@jurta.org>
7403 * files.el (basic-save-buffer): Use `buffer-name' as the default
7404 of `read-file-name' when buffer is not visiting a file (bug#12128).
7406 2012-08-08 Juri Linkov <juri@jurta.org>
7408 * info.el (Info-isearch-search): Doc fix.
7409 (Info-search): Change search-failed message from "initial node" to
7410 "end of node" (bug#12078).
7411 (Info-isearch-search): Change `isearch-string-state' to
7412 `isearch--state-string'.
7414 2012-08-08 Glenn Morris <rgm@gnu.org>
7416 * language/persian.el: Remove file.
7417 * language/misc-lang.el: Move unique part of persian.el here.
7418 * loadup.el: Remove language/persian.
7420 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7422 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7424 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7426 * progmodes/python.el: Fix defsubst warning.
7427 (python-syntax-context) Rename from python-info-ppss-context.
7428 (python-syntax-context-type): Rename from
7429 python-info-ppss-context-type.
7430 (python-syntax-comment-or-string-p): Rename from
7431 python-info-ppss-comment-or-string-p.
7433 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7435 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7437 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7439 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7440 a defcustom that is quoted with backquote.
7442 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7443 Fix handling of interactive spec when the body uses return.
7444 (math-do-arg-check, math-define-function-body): Use backquote forms.
7445 * calc/calc-ext.el (math-defcache): Likewise.
7446 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7447 * allout.el (allout-new-exposure): Likewise.
7448 * calc/calcalg2.el (math-tracing-integral): Likewise.
7449 * info.el (Info-last-menu-item): Likewise.
7450 * emulation/vip.el (vip-loop): Likewise.
7451 * textmodes/artist.el (artist-funcall): Likewise.
7452 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7453 Construct menu-item directly.
7455 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7458 2012-08-07 Chong Yidong <cyd@gnu.org>
7460 * simple.el (deactivate-mark): Preserve text properties when
7461 saving the primary selection (Bug#8384).
7463 2012-08-07 Kevin Ryde <user42@zip.com.au>
7465 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7466 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7467 and continue processing (Bug#12110).
7469 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7472 syntax-propertize-function (bug#10095).
7474 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7477 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7478 describe-function-1.
7479 (describe-function-1): Use them. Move compiler macro after sig.
7480 (help-fns--compiler-macro): Use function-get. Assume we're already in
7481 standard-output. Adjust layout to new call order.
7483 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7484 re-binding a symbol that has a symbol-macro (bug#12119).
7486 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7488 * language/persian.el: New file. (Bug#11812)
7489 * loadup.el: Add language/persian.el.
7491 2012-08-06 Chong Yidong <cyd@gnu.org>
7493 * window.el (window--maybe-raise-frame): New function.
7494 (window--display-buffer): Split off from here.
7495 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7496 (display-buffer-pop-up-window, display-buffer-use-some-window):
7497 Obey an inhibit-switch-frame action alist entry.
7498 (display-buffer): Update doc.
7500 * replace.el (occur-after-change-function): Avoid losing focus by
7501 using the inhibit-switch-frame display parameter (Bug#12139).
7503 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7505 Make internal shell process buffer names start with space.
7506 * progmodes/python.el (python-shell-make-comint): Add optional
7508 (run-python-internal): Use it.
7509 (python-shell-internal-get-or-create-process): Check for new
7510 internal buffer names.
7512 2012-08-06 Glenn Morris <rgm@gnu.org>
7514 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7515 Do less getting and setting of environment variables.
7517 2012-08-05 Chong Yidong <cyd@gnu.org>
7519 * proced.el (proced): Add substitution string to docstring to
7520 trigger autoloading of the proced library on C-h f (Bug#1768).
7522 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7523 Don't show defvars which have no second argument (Bug#8638).
7525 * imenu.el (imenu-generic-expression): Move documentation here
7526 from imenu--generic-function.
7527 (imenu--generic-function): Refer to imenu-generic-expression.
7529 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7531 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7532 indentation declaration.
7533 (viper-loop): Add indentation declaration (Bug#7025).
7535 2012-08-05 Chong Yidong <cyd@gnu.org>
7537 * help-fns.el (describe-variable): Add hyperlink for
7538 directory-local variables files. Improve buffer-local and
7539 permanent-local reporting; suggested by MON KEY (Bug#6644).
7541 * help-mode.el (help-dir-local-var-def): New button type.
7543 * files.el (kill-buffer-hook): Provide a defvar.
7545 2012-08-05 Glenn Morris <rgm@gnu.org>
7547 * eshell/esh-ext.el (eshell/addpath):
7548 Also update eshell-path-env. (Bug#12013)
7550 2012-08-05 Chong Yidong <cyd@gnu.org>
7552 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7554 * fringe.el (fringe-styles): Add docstring.
7555 (fringe--check-mode): New function.
7556 (set-fringe-mode, set-fringe-style): Use it.
7557 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7559 * files.el (set-auto-mode): Fix invalid setq call.
7561 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * isearch.el: Misc simplification; use defstruct.
7564 (isearch-mode-map): Dense maps now work like sparse ones.
7565 (isearch--state): New defstruct.
7566 (isearch-string-state, isearch-message-state, isearch-point-state)
7567 (isearch-success-state, isearch-forward-state)
7568 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7569 (isearch-wrapped-state, isearch-barrier-state)
7570 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7571 replaced by defstruct's accessors.
7572 (isearch--set-state): Rename from isearch-top-state and change
7574 (isearch-push-state): Use new isearch--get-state.
7575 (isearch-toggle-word): Disable regexp when enabling word.
7576 (isearch-message-prefix): Remove unused arg _c-q-hack.
7577 (isearch-message-suffix): Remove unused arg _ellipsis.
7579 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7581 * simple.el (list-processes--refresh): For a server use :host or
7582 :local as the address.
7583 (list-processes): Doc fix.
7585 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7587 * lisp/mpc.el: Support password in host argument.
7588 (mpc--proc-connect): Parse and use new password element.
7589 Set mpc-proc variable instead of returning process.
7590 (mpc-proc): Adjust accordingly.
7592 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7594 * whitespace.el (whitespace-display-mappings): Use Unicode
7595 codepoints, instead of emacs-mule codepoints. See
7596 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7599 * files.el (file-truename): Don't skip symlink-chasing part on
7600 windows-nt. Incorporate the resolution of 8+3 short aliases on
7601 Windows into the loop that recursively chases symlinks.
7602 Compare directory and its parent case-insensitively on MS-Windows and
7605 2012-08-03 Chong Yidong <cyd@gnu.org>
7607 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7609 * sort.el (sort-regexp-fields): Doc fix.
7611 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7613 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7614 labels regex position point at the expected place.
7616 2012-08-03 MON KEY <monkey@sandpframing.com>
7618 * net/imap.el (imap-interactive-login, imap-authenticate)
7619 (imap-mailbox-lsub, imap-mailbox-list)
7620 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7621 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7622 (imap-parse-response): Doc fix.
7624 2012-08-03 João Távora <joaotavora@gmail.com>
7626 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7627 if sexp scanning does not move point (Bug#5734).
7629 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7631 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7632 Add listings, minted, and ctable packages.
7633 (reftex-label-alist-builtin): Move listings, minted, and ctable
7634 entries before LaTeX.
7635 (reftex-label-alist): Docfix.
7637 2012-08-02 Bastien Guerry <bzg@gnu.org>
7639 * replace.el (occur): Fix docstring (bug#12122).
7641 2012-08-02 Glenn Morris <rgm@gnu.org>
7643 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7645 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7647 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7648 * international/mule-cmds.el: Create
7649 inactivate-current-input-method-function as an obsolete alias for
7650 deactivate-current-input-method-function. See Katsumi Yamaoka in
7651 <http://bugs.gnu.org/10150#46>.
7653 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7655 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7658 2012-08-01 Glenn Morris <rgm@gnu.org>
7660 * progmodes/autoconf.el (autoconf-definition-regexp):
7661 Add AH_TEMPLATE, adjust submatch numbering.
7662 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7663 (autoconf-current-defun-function): Update for above change.
7664 (autoconf-current-defun-function): First skip to end of current word.
7666 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7668 * calendar/cal-html.el (cal-html-insert-agenda-days):
7669 Fix typo. (Bug#12018)
7671 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7673 Shell processes: enhancements to startup and CEDET compatibility.
7674 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7675 (python-shell-make-comint): accept-process-output at startup.
7676 (run-python-internal): Set inferior-python-mode-hook to nil.
7677 (python-shell-internal-get-or-create-process): call sit-for.
7678 (python-preoutput-result): Add obsolete alias.
7679 (python-shell-internal-send-string): Use it.
7680 (python-shell-send-setup-code): Remove call to
7681 accept-process-output.
7683 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7685 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7688 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7690 * calc-mode.el (calc-basic-simplification-mode): Rename from
7691 `calc-limited-simplification-mode'.
7692 (calc-alg-simplification-mode): New function.
7693 (calc-set-simplify-mode): Adjust message.
7695 * calc.el (calc-set-mode-line): Adjust mode line display for
7696 basic simplification mode.
7698 * calc-help.el (calc-m-prefix-help): Update help message.
7700 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7701 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7703 2012-07-31 Bastien Guerry <bzg@gnu.org>
7705 * man.el (man): Fix comment. (bug#12101)
7707 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7709 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7710 Don't return a non-nil value when no suitable buffer was found.
7712 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7714 * progmodes/python.el (run-python-internal): Disable font lock for
7717 2012-07-30 Stefan Merten <smerten@oekonux.de>
7719 * textmodes/rst.el: Silence `checkdoc-ispell'.
7720 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7721 (rst-official-version, rst-official-cvs-rev)
7722 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7723 (rst-mode-map): New key binding.
7725 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7727 Update .PHONY listings in makefiles.
7728 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7729 autoloads, update-subdirs, updates, bzr-update, update-authors,
7730 compile-onefile, compile-calc, backup-compiled-files,
7731 compile-after-backup, compile-one-process, mh-autoloads,
7732 bootstrap-clean, distclean, maintainer-clean.
7734 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7736 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7737 (calc-set-mode-line): Don't display "AlgSimp ".
7739 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7740 (calc-lim-simplify-mode): New function.
7741 (calc-set-simplify-mode): Default to 'alg.
7742 (calc-default-simplify-mode): Make algebraic simplifications
7745 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7746 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7748 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7749 indicate new simplification modes.
7751 * calc/README: Mention new default simplification mode.
7753 * calc/calc.el (math-normalize-error): New variable.
7754 (math-normalize): Set `math-normalize-error' to t
7755 when there's an error.
7757 * calc/calc-alg.el (math-simplify): Don't simplify when
7758 `math-normalize' returns an error.
7760 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7762 * international/mule-cmds.el (set-locale-environment): Revert last
7763 change, since display-graphic-p returns nil when this function is
7764 called during startup. Instead...
7766 * term/w32console.el (terminal-init-w32console): ...setup the
7767 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7769 2012-07-29 Juri Linkov <juri@jurta.org>
7771 * simple.el (goto-line): Don't display default line number in the
7772 prompt because it should be displayed by `read-number' (bug#9952).
7773 Add the current line number to the defaults of `goto-line' to
7774 allow its easier modification by users with `M-n' (bug#9201).
7776 * subr.el (read-number): Support multiple default values like in
7777 other minibuffer reading functions. Replace `read' with
7778 `string-to-number' for consistency with `number-to-string'.
7780 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7782 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7783 * emulation/viper-init.el (viper-deactivate-input-method-action):
7784 Rename from viper-inactivate-input-method-action.
7785 (viper-deactivate-input-method):
7786 Rename from viper-inactivate-input-method.
7787 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7788 * international/mule-cmds.el (deactivate-input-method):
7789 Rename from inactivate-input-method.
7790 Also run input-method-deactivate-hook.
7791 (deactivate-current-input-method-function):
7792 Rename from inactivate-current-input-method-function.
7793 (input-method-deactivate-hook): New hook.
7794 (input-method-inactivate-hook): Mark obsolete.
7795 (inactivate-input-method): Mark obsolete.
7797 * international/quail.el (quail-activate):
7798 Also run quail-deactivate-hook.
7799 (quail-deactivate): Rename from quail-inactivate.
7800 * international/robin.el (robin-activate):
7801 Also run robin-deactivate-hook.
7802 (robin-deactivate): Rename from robin-inactivate.
7804 2012-07-29 Chong Yidong <cyd@gnu.org>
7806 * simple.el (indicate-copied-region): New function.
7807 (kill-ring-save): Split off from here.
7809 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7810 (kill-rectangle): Set deactivate-mark to t on read-only error.
7812 * register.el (copy-to-register, copy-rectangle-to-register):
7813 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7814 (append-to-register, prepend-to-register): Call indicate-copied-region.
7816 2012-07-29 Juri Linkov <juri@jurta.org>
7818 * simple.el (async-shell-command-buffer): New defcustom.
7819 (shell-command): Use it. (Bug#4719)
7821 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7823 * international/mule-cmds.el (set-locale-environment): In a
7824 console session on MS-Windows, set up keyboard and terminal
7825 encoding from the OEM codepage, not the ANSI codepage.
7828 2012-07-28 Chong Yidong <cyd@gnu.org>
7830 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7833 2012-07-28 Leo Liu <sdl.web@gmail.com>
7835 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7836 the alist (bug#12029).
7838 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7840 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7841 (compile-always, compile-first)
7842 ($(lisp)/calendar/cal-loaddefs.el)
7843 ($(lisp)/calendar/diary-loaddefs.el)
7844 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7845 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7846 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7847 instead of on update-subdirs.
7848 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7850 2012-07-28 Chong Yidong <cyd@gnu.org>
7852 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7853 directory if vc-deduce-backend returns nil (Bug#7350).
7855 * simple.el (delete-trailing-lines): New option.
7856 (delete-trailing-whitespace): Obey it (Bug#11879).
7858 2012-07-28 David Engster <deng@randomsample.de>
7860 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7861 Explanation of new 'symbol-qnames feature in doc-strings.
7862 (xml-maybe-do-ns): Return expanded names as plain symbols if
7863 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7864 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7866 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7868 Consistent completion in inferior python with emacs -nw.
7869 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7870 binding in inferior-python-mode-map with "\t".
7871 (python-shell-completion-complete-at-point)
7872 (python-completion-complete-at-point): Remove interactive spec.
7874 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7876 * calc/calccomp.el (math-compose-expr): Undo previous change.
7878 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7880 * progmodes/python.el (python-mode-map): Add keybinding for
7882 (python-shell-make-comint): Fix pop-to-buffer call.
7883 (run-python): Autoload. New arg SHOW.
7884 (python-shell-get-or-create-process): Do not pop python process
7887 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7889 * notifications.el (notifications-on-action-signal)
7890 (notifications-on-closed-signal): Use also the bus address for the map.
7891 (notifications-notify, notifications-close-notification)
7892 (notifications-get-capabilities): Add optional argument BUS.
7894 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7896 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7897 Add support for the lstlisting and minted environments, and for the
7899 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7900 labels written in keyvals syntax.
7902 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7904 * calc/calccomp.el (math-compose-expr): Use parentheses when
7905 there is a product in the denominator of a fraction.
7907 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7909 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7910 ($(lisp)/calendar/diary-loaddefs.el)
7911 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7912 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7913 Fixes failures in parallel bootstrap because subdirs.el is being
7914 rewritten while the autoload files are built at the same time,
7915 which needs to load subdirs.el.
7917 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7919 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7920 (mouse-drag-line): Don't exit tracking when a switch-frame or
7921 switch-window event occurs (Bug#12006).
7923 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7925 * mouse.el (popup-menu): Fix last change.
7927 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7929 Autoload from Lisp with more care. Follow aliases when looking for
7930 function properties.
7931 * subr.el (autoloadp): New function.
7932 (symbol-file): Use it.
7933 (function-get): New function.
7934 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7936 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7937 (lisp-indent-function):
7938 * emacs-lisp/gv.el (gv-get):
7939 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7940 * emacs-lisp/byte-opt.el (byte-optimize-form):
7941 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7942 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7944 * emacs-lisp/cl.el: Don't propagate function properties any more.
7946 * speedbar.el (speedbar-add-localized-speedbar-support):
7947 * emacs-lisp/disass.el (disassemble-internal):
7948 * desktop.el (desktop-load-file):
7949 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7950 (describe-function-1):
7951 * emacs-lisp/find-func.el (find-function-noselect):
7952 * emacs-lisp/elp.el (elp-instrument-function):
7953 * emacs-lisp/advice.el (ad-has-proper-definition):
7954 * apropos.el (apropos-safe-documentation, apropos-macrop):
7955 * emacs-lisp/debug.el (debug-on-entry):
7956 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7957 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7958 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7960 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7962 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7963 function, not an obsolete variable (Bug#12046).
7965 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7967 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7969 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7971 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7972 window only if it is still live (Bug#12034).
7974 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7976 * subr.el (redirect-frame-focus): Add advertised calling
7977 convention (Bug#12030).
7979 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7981 Prefer typical American spelling for "acknowledgment".
7982 * vc/add-log.el (change-log-acknowledgment): Rename from
7983 change-log-acknowledgement, with an alias for the old name.
7985 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7987 * calc-alg.el (math-simplify-divide): Don't cross multiply
7988 in an equation when the lhs is a variable.
7990 2012-07-24 Julien Danjou <julien@danjou.info>
7992 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7995 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7997 * startup.el (command-line): Don't display an empty user name in
7998 the error message about non-existent home directory, when
7999 init-file-user was set to an empty string. See
8000 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8001 for the details and context.
8003 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8005 * ses.el (ses-cell-formula-aset): New macro.
8006 (ses-cell-references-aset): New macro.
8007 (ses-cell-p): New function.
8008 (ses-rename-cell): Do no longer rely on complex operations like
8009 ses-cell-set-formula or ses-set-cell to change the cell and handle
8010 the undo at the same time, but rather use lower level new macros
8011 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8012 the undo directly. Refresh the mode line.
8014 2012-07-21 Leo Liu <sdl.web@gmail.com>
8016 * progmodes/cc-cmds.el (c-defun-name):
8017 Use match-string-no-properties instead for consistency.
8019 2012-07-20 Leo Liu <sdl.web@gmail.com>
8021 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8024 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8026 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8028 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8029 * progmodes/bug-reference.el, misearch.el: Provide themselves
8032 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8033 of narrowed buffer (bug#11966).
8035 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8037 * ses.el (ses-rename-cell): Set new name also in reference list of
8038 cells of which the renamed cell depends.
8040 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8042 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8043 to check whether menu-bar is shown or not. If not shown,
8044 show the menu-bar as a popup menu instead of using tmm.
8045 * mouse.el (popup-menu): Accept `point' as `position' argument.
8047 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8049 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8050 up inside string symbol literal (bug#11923).
8052 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8054 * startup.el (fancy-startup-text): Read the whole tutorial, not
8055 just its first 256 bytes. Prevents gibberish in display of the
8058 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8060 Drop idle buffer compaction due to an absence of the
8062 * compact.el: Remove.
8064 2012-07-19 Sam Steingold <sds@gnu.org>
8066 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8067 vc-bzr-pull & vc-bzr-merge-branch.
8068 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8069 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8070 for consistency with compilation-error-regexp-alist.
8071 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8072 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8073 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8074 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8076 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * emacs-lisp/chart.el: Use lexical-binding.
8079 (chart-emacs-storage): Don't hardcode the list of entries.
8081 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8083 Next round of tweaks caused by Fgarbage_collect changes.
8084 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8086 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8088 Compact buffers when idle.
8089 * compact.el: New file.
8091 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * subr.el (eventp): Presume that if it looks vaguely like an event,
8094 it's an event (bug#10190).
8096 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8098 Enhancements to ppss related code (thanks Stefan).
8099 * progmodes/python.el (python-indent-context)
8100 (python-indent-calculate-indentation, python-indent-dedent-line)
8101 (python-indent-electric-colon, python-nav-forward-block)
8102 (python-mode-abbrev-table)
8103 (python-info-assignment-continuation-line-p): Simplify checks
8105 (python-info-continuation-line-p): Cleanup.
8106 (python-info-ppss-context): Do not catch 'quote.
8107 (python-info-ppss-context-type)
8108 (python-info-ppss-comment-or-string-p): Simplify.
8110 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8112 * progmodes/python.el: Enhancements to eldoc support.
8113 (python-info-current-symbol): New function.
8114 (python-eldoc-at-point): Use python-info-current-symbol.
8115 (python-info-current-defun): Fix cornercase on first defun scan.
8116 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8117 and signal error when no inferior python process is available.
8119 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8121 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8122 assume it's always t.
8123 (vc-git-registered): Remove caching, the function is only called
8125 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8127 2012-07-18 Chong Yidong <cyd@gnu.org>
8129 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8131 * simple.el (count-words): Report on narrowing (Bug#9959).
8133 * bindings.el: Bind M-= to count-words.
8135 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8137 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8139 * progmodes/sh-script.el (sh-imenu-generic-expression):
8140 Capture a function with `function' keyword and without parentheses
8141 like "function FOO" (bug#11856).
8143 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8145 * window.el (split-window-sensibly): Make WINDOW argument
8148 2012-07-18 Chong Yidong <cyd@gnu.org>
8150 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8152 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8153 and make C-x 8 RET exit isearch (Bug#11439).
8155 * international/iso-transl.el: Move isearch-mode-map key
8156 definitions to isearch.el.
8158 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8161 (eieio-defclass): Use gv-define-setter when possible.
8163 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8165 Reflect recent changes in Fgarbage_collect.
8166 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8167 reflect new format of data returned by Fgarbage_collect.
8169 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8171 New utility functions + python-info-ppss-context fix (Bug#11910).
8172 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8173 (python-info-ppss-comment-or-string-p): New functions.
8174 (python-info-ppss-context): Small fix for string check.
8176 2012-07-17 Juri Linkov <juri@jurta.org>
8178 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8179 (dired-do-async-shell-command): Don't add `*' at the end of the
8180 command (Bug#11815).
8181 (dired-do-shell-command): Doc fix.
8182 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8183 Join the individual commands using either "&" or ";" as the
8184 separator depending on the values of these trailing characters.
8185 At the end re-add the trailing "&". (Bug#10598)
8187 * simple.el (async-shell-command): Sync the interactive spec with
8188 `shell-command'. Doc fix.
8189 (shell-command): Doc fix.
8191 2012-07-17 Juri Linkov <juri@jurta.org>
8193 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8195 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8197 Final renames and doc fixes for movement commands (bug#11899).
8198 * progmodes/python.el (python-nav-beginning-of-statement):
8199 Rename from python-nav-statement-start.
8200 (python-nav-end-of-statement): Rename from
8201 python-nav-statement-end.
8202 (python-nav-beginning-of-block): Rename from
8203 python-nav-block-start.
8204 (python-nav-end-of-block): Rename from python-nav-block-end.
8206 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8208 * progmodes/python.el (python-shell-send-string-no-output):
8209 Allow accept-process-output to quit, keeping shell process ready for
8210 future interactions (Bug#11868).
8212 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8216 * emacs-lisp/elint.el (elint-find-args-in-code):
8217 Use help-function-arglist, so as to handle lexical byte-code.
8219 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8222 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8225 Avoid spuriously marking the buffer as modified because of c-is-sws.
8227 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8228 as not-a-comment (bug#11946).
8230 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8231 for uninterned vars.
8233 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8234 Use read-event since we don't really want to read chars but bytes.
8236 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8237 $$..$$ but also $..$ using regexps (bug#11953).
8238 Use tex-verbatim for \url and \path.
8239 (tex-font-lock-keywords): Define as defconst like the others.
8240 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8242 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8244 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8245 alias for insert-char.
8247 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8249 * progmodes/python.el: Simplified imenu implementation.
8250 (python-nav-jump-to-defun): Remove command.
8251 (python-mode-map): Use `imenu' instead.
8252 (python-nav-list-defun-positions-cache)
8253 (python-imenu-include-defun-type, python-imenu-make-tree)
8254 (python-imenu-subtree-root-label, python-imenu-index-alist):
8256 (python-nav-list-defun-positions, python-nav-read-defun)
8257 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8258 (python-imenu-make-tree, python-imenu-create-index):
8260 (python-mode): Update to interact with imenu by setting
8261 `imenu-extract-index-name-function' only.
8263 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8265 * progmodes/python.el: Enhancements to navigation commands.
8266 (python-nav-backward-sentence)
8267 (python-nav-forward-sentence): Remove.
8268 (python-nav-backward-statement, python-nav-forward-statement)
8269 (python-nav-statement-start, python-nav-statement-end)
8270 (python-nav-backward-block, python-nav-forward-block)
8271 (python-nav-block-start, python-nav-block-end)
8272 (python-nav-forward-sexp-function)
8273 (python-info-current-line-comment-p)
8274 (python-info-current-line-empty-p): New functions.
8275 (python-indent-context): Use `python-nav-statement-start'.
8277 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8279 * eshell/em-ls.el (eshell/ls): Use `apply'.
8281 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8282 multi-hops, instead of Tramp internals.
8284 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8286 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8287 when F1 and F2 are located on different hosts.
8289 2012-07-14 Chong Yidong <cyd@gnu.org>
8291 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8292 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8293 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8294 (xterm-mouse--read-event-sequence-1000)
8295 (xterm-mouse--read-event-sequence-1006): New functions. For old
8296 mouse protocol, handle M-mouse-X events correctly.
8297 (xterm-mouse-event): New arg specifying mouse protocol.
8298 (turn-on-xterm-mouse-tracking-on-terminal)
8299 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8300 sequence to toggle extended coordinates on newer XTerms.
8301 This appears to be harmless on terminals which do not support this.
8303 2012-07-14 Leo Liu <sdl.web@gmail.com>
8305 Add fringe bitmap indicators for flymake. (Bug#11253)
8306 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8307 (flymake-make-overlay): New arg BITMAP.
8308 (flymake-error-bitmap, flymake-warning-bitmap)
8309 (flymake-fringe-indicator-position): New user variables.
8311 * fringe.el: New bitmap exclamation-mark.
8313 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8315 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8318 2012-07-14 Chong Yidong <cyd@gnu.org>
8320 * electric.el (electric-pair-post-self-insert-function): Fix pair
8321 insertion in empty-region case (Bug#11520).
8323 2012-07-14 Chong Yidong <cyd@gnu.org>
8325 * bindings.el: Consolidate ctl-x-r-map bindings.
8326 Bind copy-rectangle-as-kill to C-x r w.
8328 * rect.el, register.el: Move bindings to bindings.el.
8330 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8332 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8334 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8336 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8338 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8340 * bindings.el (top): Use `mapc' instead of `mapcar'.
8342 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8344 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8346 * progmodes/sql.el (sql-comint): Suppress the check for program on
8347 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8350 2012-07-13 Chong Yidong <cyd@gnu.org>
8352 * bindings.el: Assign a non-nil permanent-local property to
8353 per-buffer variables which lack a default value (Bug#11930).
8355 * help-fns.el (describe-variable): In the "automatically becomes
8356 local" notice, take note of permanent-local variables.
8358 2012-07-13 Chong Yidong <cyd@gnu.org>
8360 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8361 to allow printing the message when called from Lisp.
8363 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8364 Remove toggle-read-only.
8366 * bs.el (bs-toggle-readonly):
8367 * buff-menu.el (Buffer-menu-toggle-read-only):
8368 Remove with-no-warnings around toggle-read-only.
8370 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8371 Remove with-no-warnings around toggle-read-only.
8372 (ffap-read-only, ffap-read-only-other-window)
8373 (ffap-read-only-other-frame): Callers changed.
8375 * help-mode.el: Don't require view package.
8376 (help-mode-finish): Set buffer-read-only instead of calling
8379 * bindings.el (mode-line-toggle-read-only):
8380 * dired.el (dired-toggle-read-only):
8381 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8382 with non-nil second arg.
8384 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8385 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8388 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8390 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8393 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8395 More CL cleanups and reduction of use of cl.el.
8396 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8397 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8398 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8399 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8400 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8401 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8402 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8403 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8404 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8405 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8406 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8407 * eshell/em-cmpl.el, eshell/em-banner.el:
8408 * calendar/parse-time.el: Use cl-lib.
8409 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8410 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8411 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8412 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8413 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8414 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8415 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8416 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8417 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8418 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8419 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8420 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8421 `lambda' rather than with `quote'.
8422 (eshell-do-opt): Adjust accordingly.
8423 (eshell-process-option): Simplify.
8424 * eshell/esh-var.el:
8425 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8426 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8427 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8428 to `pcase--dontcare'.
8429 * emacs-lisp/cl.el (labels): Mark obsolete.
8430 (cl--letf, letf): Move to cl-lib.
8431 (cl--letf*, letf*): Remove.
8432 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8433 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8434 (cl-progv): Rewrite.
8435 (cl--letf, cl-letf): Move from cl.el.
8436 (cl-letf*): New macro.
8437 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8439 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8441 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8443 2012-07-11 Chong Yidong <cyd@gnu.org>
8445 * vc/log-edit.el (log-edit-vc-backend): New variable.
8446 (log-edit): Doc fix.
8448 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8449 argument of log-edit to set up all local variables.
8450 (vc-start-logentry): New optional arg specifying VC backend.
8452 * vc/vc.el (vc-checkin): Use it.
8453 (vc-deduce-fileset): Handle Log Edit buffers.
8454 (vc-diff): Make first argument optional too.
8456 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8458 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8460 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8461 command, just in case. The function is not needed anymore.
8462 (eshell-external-command): Do not call `eshell-remote-command'.
8464 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8466 Reduce use of (require 'cl).
8467 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8468 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8469 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8470 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8471 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8472 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8473 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8474 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8475 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8476 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8477 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8478 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8479 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8480 (byte-compile-unfold-bcf, byte-compile-check-variable):
8481 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8482 (byte-compile-nilconstp):
8483 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8484 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8486 * emacs-lisp/gv.el (cond): Make it a valid place.
8487 (if): Simplify slightly.
8489 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8490 (pcase--self-quoting-p): New function.
8491 (pcase--u1): Use it.
8493 2012-07-10 Glenn Morris <rgm@gnu.org>
8495 * emacs-lisp/authors.el (authors-fixed-entries):
8496 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8498 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8500 Rename configure.in to configure.ac (Bug#11603).
8501 * emacs-lisp/authors.el (authors-canonical-file-name):
8502 * progmodes/autoconf.el (autoconf-mode):
8503 Prefer configure.ac to configure.in.
8505 2012-07-08 Chong Yidong <cyd@gnu.org>
8507 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8508 Implement the mouse-1-click-follows-link handling properly.
8510 * info.el (Info-link-keymap): Use follow-link mechanism for
8511 header-line links (Bug#374).
8513 * simple.el (deactivate-mark): Do not set the primary selection
8514 if another program has acquired it (Bug#11772).
8516 2012-07-07 Kevin Ryde <user42@zip.com.au>
8518 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8519 (woman-decode-region): Replace escaped-escapes without destroying
8520 bold or underline (Bug#11552).
8521 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8523 2012-07-07 Chong Yidong <cyd@gnu.org>
8525 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8526 (interprogram-cut-function, interprogram-paste-function):
8527 Mention that we typically mean the clipboard.
8529 2012-07-06 Glenn Morris <rgm@gnu.org>
8531 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8533 * files.el (toggle-read-only): Restrict message to interactive use.
8535 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8537 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8539 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8541 2012-07-06 Glenn Morris <rgm@gnu.org>
8543 * Makefile.in (compile-one-process): Rename from "recompile".
8545 * Makefile.in (bzr-update): "compile" is the same as "recompile
8546 autoloads", but parallelizable, so use that instead.
8548 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8550 * window.el (quit-window): Always restore window height when
8551 it's saved in quit-restore parameter (Bug#11810).
8553 2012-07-06 Glenn Morris <rgm@gnu.org>
8555 * simple.el (kill-whole-line): Doc tweak.
8557 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8559 * files.el (file-relative-name): Compare file names
8560 case-insensitively if on MS-Windows or MS-DOS, or if
8561 read-file-name-completion-ignore-case is non-nil. Don't use
8562 case-fold-search for this purpose. (Bug#11827)
8564 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8566 * calendar/cal-dst.el (calendar-current-time-zone):
8567 Return calendar-current-time-zone-cache if non-nil.
8569 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8570 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8572 * calendar/cal-dst.el (calendar-current-time-zone):
8573 Return calendar-current-time-zone-cache if non-nil.
8575 2012-07-06 Glenn Morris <rgm@gnu.org>
8577 * Makefile.in (cvs-update): Remove old alias.
8579 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8581 Sync with Tramp 2.2.6-pre.
8583 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8584 compatible declaration.
8586 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8587 Protect `list-load-path-shadows' call.
8589 * net/tramp-compat.el (top): Require packages, which aren't
8590 autoloaded anymore for XEmacs. Protect call of
8591 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8592 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8593 it hurts at least for SXEmacs.
8594 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8595 standard-value for `temporary-file-directory'.
8597 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8598 Redirect stderr to /dev/null.
8599 (tramp-sh-handle-write-region): uid and gid can be floats.
8600 Reported by Russell Sim <russell.sim@gmail.com>.
8601 (tramp-sh-handle-vc-registered): Hide errors.
8602 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8603 and `start-file-process'.
8604 (tramp-maybe-open-connection): Check also whether `non-essential'
8607 2012-07-04 Chong Yidong <cyd@gnu.org>
8609 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8610 (xml-parse-tag): Likewise, and avoid changing entity tables.
8611 (xml-syntax-table): Define from scratch, making sure not to give
8612 x2000 and other Unicode spaces whitespace syntax, since those are
8614 (xml-parse-fragment): Delete unused function.
8615 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8616 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8617 (xml-entity-ref, xml-pe-reference-re)
8618 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8619 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8620 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8621 (xml-entity-value-re): Use syntax references in regexps where
8622 possible; no need to define inside a let-binding.
8623 (xml-parse-dtd): Use xml-pe-reference-re.
8624 (xml-entity-or-char-ref-re): New defconst.
8625 (xml-parse-string, xml-substitute-special): Use it.
8627 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8629 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8630 (find-file--read-only): New function.
8631 (find-file-read-only, find-file-read-only-other-window)
8632 (find-file-read-only-other-frame): Use it.
8633 (insert-file-contents-literally): Don't `fset'.
8634 (get-free-disk-space): Use locate-dominating-file.
8636 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8637 function is already compiled.
8639 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8641 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8643 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8644 files on the same host.
8646 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8648 * help-fns.el (describe-function-1): Only call
8649 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8651 2012-07-03 Chong Yidong <cyd@gnu.org>
8653 * xml.el: Protect parser against XML bombs.
8654 (xml-entity-expansion-limit): New variable.
8655 (xml-parse-string, xml-substitute-special): Use it.
8656 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8658 2012-07-03 Glenn Morris <rgm@gnu.org>
8660 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8661 Allow linking to specific messages in debbugs reports (eg 123#5).
8663 2012-07-02 Chong Yidong <cyd@gnu.org>
8665 * xml.el: Fix entity and character reference expansion, allowing
8666 them to expand into markup as per XML spec.
8667 (xml-default-ns): New variable.
8668 (xml-entity-alist): Use XML spec definitions for lt and amp.
8669 (xml-parse-region): Make first two arguments optional.
8670 Discard text properties.
8671 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8672 All callers changed.
8673 (xml-parse-tag): Call xml-parse-tag-1. For backward
8674 compatibility, this function should not modify buffer contents.
8675 (xml-parse-tag-1): Fix opening-tag regexp.
8676 (xml-parse-string): Rewrite, handling entity and character
8677 references properly.
8678 (xml--entity-replacement-text): Signal an error if a parameter
8679 entity is undefined.
8681 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * comint.el (comint-output-filter): Filter out repeated prompts.
8685 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8686 and file-name-absolute-p.
8687 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8690 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8693 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8694 Rename from byte-compile--refiy-function. All uses changed.
8696 2012-07-01 Chong Yidong <cyd@gnu.org>
8698 * xml.el (xml--parse-buffer): New function. Move most of
8699 xml-parse-region here.
8700 (xml-parse-region): Copy region into a temporary buffer, since
8701 parameter entity substitution requires changing buffer contents.
8702 Use xml--parse-buffer.
8703 (xml-parse-file): Use xml--parse-buffer.
8704 (xml-parse-dtd): Make parameter entity substitution work right.
8705 Use proper regexps for ELEMENT declarations (Bug#7172).
8707 2012-06-30 Glenn Morris <rgm@gnu.org>
8709 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8711 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8712 Remove outdated and unnecessary dbus declarations.
8714 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8716 * emacs-lisp/timer.el (timer-until): Subtract results of
8717 float-time, instead of taking float-time of the result of
8718 time-subtract, since float-time signals an error for negative time
8721 2012-06-30 Chong Yidong <cyd@gnu.org>
8723 * xml.el (xml-*-re): Convert defvars into defconsts, and
8724 eval-and-compile them so eval-and-compile works on derivatives.
8725 (xml--entity-replacement-text): Use eval-and-comple.
8727 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8729 * vc/vc-git.el (vc-git-registered): Use cache property
8731 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8732 `vc-git-working-revision' in order to benefit from the cache.
8733 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8735 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8737 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8738 removed (likely outside Emacs). (Bug#11757)
8740 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * emacs-lisp/cl-lib.el: Require macroexp.
8744 2012-06-30 Chong Yidong <cyd@gnu.org>
8746 * xml.el: Implement XML parameter entities.
8747 (xml-parameter-entity-alist): New variable.
8748 (xml-parse-region, xml-parse-fragment): Preserve previous values
8749 of xml-entity-alist and xml-parameter-entity-alist, so that
8750 repeated calls on different documents do not change them.
8751 (xml-parse-tag): Fix doctype regexp.
8752 (xml--entity-replacement-text): New function.
8753 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8754 properly requires url retrieval which is unimplemented.
8755 (xml-escape-string): Doc fix.
8757 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8759 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8761 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8763 * fringe.el (fringe-mode): Doc fix.
8765 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8767 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8769 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8770 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8772 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8774 * calendar/cal-dst.el (calendar-current-time-zone):
8775 Return calendar-current-time-zone-cache if non-nil.
8777 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8779 * progmodes/which-func.el (which-func-format):
8780 Add mouse-face. (Bug#11698)
8782 2012-06-29 Leo Liu <sdl.web@gmail.com>
8784 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8786 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8788 * minibuffer.el (minibuffer-confirm-exit-commands):
8789 Add completion-at-point (bug#11725).
8791 2012-06-29 Glenn Morris <rgm@gnu.org>
8793 * progmodes/f90.el (f90-font-lock-keywords-2):
8794 Add some preprocessor elements. (Bug#10499)
8796 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8799 Use syntax-propertize (bug#11739).
8801 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8803 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8805 2012-06-28 Julien Danjou <julien@danjou.info>
8807 * term.el (term-handle-colors-array): Use a set of new faces to
8808 color the terminal. Also uses :inverse-video property.
8809 (term-default-fg-color): Set to nil by default, deprecate in favor
8811 (term-default-bg-color): Set to nil by default, deprecate in favor
8813 (term-current-face): Use `term-face' by default.
8814 (term-bold-attribute): Variable deleted.
8816 2012-06-28 Glenn Morris <rgm@gnu.org>
8818 * simple.el (completion-list-mode-finish):
8819 Don't use toggle-read-only. (Since completion-list-mode has
8820 a special mode-class, it wasn't doing anything extra anyway.)
8822 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8824 Make inlining of other-mode interpreted functions work (bug#11799).
8825 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8826 (byte-compile): Use it to fix compilation of lexical-binding closures.
8827 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8828 function, if needed.
8830 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * help-mode.el (help-make-xrefs): Don't just withstand
8833 cyclic-variable-indirection but any error in documentation-property.
8835 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8837 * bindings.el (bindings--define-key): New function.
8838 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8839 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8840 * bindings.el: Use it to purecopy define-key bindings.
8842 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8844 * emacs-lisp/cl.el (flet): Mark obsolete.
8845 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8846 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8847 * progmodes/js.el (js-c-fill-paragraph):
8848 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8849 (ebrowse-switch-member-buffer-to-derived-class):
8850 * play/5x5.el (5x5-solver): Use cl-flet.
8852 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8853 (cl--symbol-function): New macro.
8854 (cl--letf, cl--letf*): Use it.
8856 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8857 Strip "toggle-" if any.
8859 2012-06-27 Glenn Morris <rgm@gnu.org>
8861 * info.el (Info-default-directory-list): Move here from paths.el.
8862 * paths.el: Remove file, which is now empty.
8863 * loadup.el: No longer load "paths".
8865 * custom.el (custom-initialize-delay): Doc fix.
8867 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8868 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8869 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8870 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8871 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8872 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8873 * eshell/eshell.el (eshell-defgroup): Remove alias.
8875 2012-06-27 Chong Yidong <cyd@gnu.org>
8877 * help.el (help-enable-auto-load): New variable.
8879 * help-fns.el (help-fns--autoloaded-p): New function.
8880 (describe-function-1): Refer to a function as "autoloaded" if it
8881 was autoloaded at any time in the past. Perform autoloading if
8882 help-enable-auto-load is non-nil.
8884 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8886 * makefile.w32-in (compile, compile-always): Depend on
8887 update-subdirs, not on subdirs.el. Otherwise, several different
8888 sub-targets of 'bootstrap' running in parallel could
8889 simultaneously write to subdirs.el, producing a garbled file.
8891 2012-06-26 Sam Steingold <sds@gnu.org>
8893 * files.el (file-name-base): New convenience function.
8894 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8895 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8896 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8897 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8898 * textmodes/ispell.el, textmodes/reftex-ref.el:
8899 * textmodes/tex-mode.el: Use it.
8900 Did not touch cedet and org because they are maintained elsewhere.
8902 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8904 * calendar/calendar.el (calendar-exit): Don't try to delete or
8905 iconify last frame. See:
8906 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8908 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8910 * server.el (server-process-filter): Remember dir in the
8911 process's `server-client-directory' properties.
8913 2012-06-24 Chong Yidong <cyd@gnu.org>
8915 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8918 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8920 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8922 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * help-fns.el (describe-variable): Don't croak when doc is not found.
8925 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8926 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8927 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8928 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8929 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8931 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8933 2012-06-23 Chong Yidong <cyd@gnu.org>
8935 * info.el (Info-mouse-follow-link): Accept symbol values of
8936 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8937 (Info-fontify-node): Use Info-link-keymap for all navigation
8938 buttons, with link-args property to perform the desired action.
8939 (Info-link-keymap): Doc fix.
8940 (Info-next-link-keymap, Info-prev-link-keymap)
8941 (Info-up-link-keymap): Delete now-unused keymaps.
8943 2012-06-23 Chong Yidong <cyd@gnu.org>
8945 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8947 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8950 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8952 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8957 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8958 the requote function doesn't work properly (bug#11714).
8960 2012-06-23 Glenn Morris <rgm@gnu.org>
8962 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8964 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8966 Further GV/CL cleanups.
8967 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8969 (gv--defun-declaration): New function.
8970 (defun-declarations-alist): Use it.
8971 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8972 (gv-place): Autoload.
8973 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8974 original definition of dotimes and dolist.
8975 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8976 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8977 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8978 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8979 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8980 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8981 to the function's definition.
8982 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8986 * env.el: Don't use CL.
8988 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8990 Support higher-resolution time stamps (Bug#9000).
8992 * calendar/time-date.el (with-decoded-time-value): New arg
8993 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8994 (encode-time-value): New optional arg PICO. New type 3.
8995 (time-to-seconds) [!float-time]: Support the new picoseconds
8996 component if it's used.
8997 (seconds-to-time, time-subtract, time-add):
8998 Support ps-resolution time stamps as well.
9000 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9001 (timerp): Timer vectors now have length 9, not 8.
9002 (timer--time): Support new-style (4-part) time stamps.
9003 (timer-next-integral-multiple-of-time): Time stamps now have
9004 picosecond resolution, so take a bit more care about rounding.
9005 (timer-relative-time, timer-inc-time): New optional arg psecs.
9006 (timer-set-time-with-usecs): Set psecs to 0.
9007 (timer--activate): Check psecs component, too.
9009 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9011 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9013 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9014 Move the non-essential binding to the post/pre-command-hook where it is
9015 more obviously correct.
9017 * subr.el (read-passwd): Don't use a history at all.
9018 * savehist.el (savehist-save): Remove password saved accidentally
9019 because of the above bug.
9021 2012-06-22 Bastien Guerry <bzg@gnu.org>
9023 * files.el (toggle-read-only): Display a message telling whether
9024 the buffer is read-only or not (bug#11726).
9026 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9028 * emacs-lisp/gv.el: New file.
9029 * subr.el (push, pop): Extend to generalized variables.
9030 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9031 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9032 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9033 gv-define-simple-setter, and gv-define-expander.
9034 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9035 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9036 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9037 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9038 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9040 (cl-defstruct): Don't define setf-method any more.
9041 * emacs-lisp/cl.el (flet): Don't autoload.
9042 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9043 (define-setf-expander, defsetf, define-modify-macro)
9044 (cl-struct-setf-expander): Move from cl-lib.el.
9045 * emacs-lisp/syntax.el:
9046 * emacs-lisp/ewoc.el:
9047 * emacs-lisp/smie.el:
9048 * emacs-lisp/cconv.el:
9049 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9050 (timer--time): Use gv-define-simple-setter.
9051 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9052 to avoid coding-system problems in subr.el. Adjust all users.
9053 (macroexp--maxsize, macroexp-small-p): New functions.
9054 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9055 * scroll-bar.el (scroll-bar-mode):
9056 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9057 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9058 * winner.el (winner-configuration, winner-make-point-alist)
9059 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9060 * files.el (locate-file-completion-table): Avoid list*.
9062 2012-06-22 Chong Yidong <cyd@gnu.org>
9064 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9065 (dired-create-files): Doc fix (Bug#11329).
9066 (dired-do-copy): Doc fix (Bug#11334).
9067 (dired-mark-read-string): Doc fix (Bug#11553).
9069 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9070 Doc fix (Bug#11326).
9071 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9072 (dired-dwim-target): Doc fix.
9074 * wdired.el (wdired-mode): Doc fix.
9076 2012-06-22 Glenn Morris <rgm@gnu.org>
9078 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9079 (pcmpl-rpm-cache-stamp-file): New constant.
9080 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9081 (pcmpl-rpm-packages): Optionally cache list of packages.
9083 * pcmpl-rpm.el (pcmpl-rpm): New group.
9084 (pcmpl-rpm-query-options): New option.
9085 (pcmpl-rpm-packages): No need to inline it.
9086 Use pcmpl-rpm-query-options.
9088 * calendar/calendar.el (calendar-in-read-only-buffer):
9089 Avoid some needless mode changes.
9091 2012-06-21 Chong Yidong <cyd@gnu.org>
9093 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9094 (desktop-path): Remove . from the default value (Bug#10977).
9095 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9097 2012-06-20 Chong Yidong <cyd@gnu.org>
9099 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9101 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9103 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9106 2012-06-20 Chong Yidong <cyd@gnu.org>
9108 * term.el (term-window-width): Handle the case of a missing right
9110 (term-check-size): Use window-text-height (Bug#5445).
9111 (term-mode): Use define-derived-mode. Minor cleanups.
9112 Set font-lock-defaults (Bug#7692).
9113 (term-move-columns, term-insert-char, term-emulate-terminal)
9114 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9116 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9118 * net/ange-ftp.el (ange-ftp-get-passwd):
9119 Bind `enable-recursive-minibuffers'.
9120 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9122 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9124 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9126 2012-06-19 Glenn Morris <rgm@gnu.org>
9128 * progmodes/python.el (python-mode): Derive from prog-mode.
9130 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9132 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9133 (edt-user-menu-bar-update-buffers): New functions.
9134 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9136 2012-06-19 Chong Yidong <cyd@gnu.org>
9138 * subr.el (with-selected-window): Preserve the selected window's
9139 terminal's top-frame (Bug#4702).
9141 * window.el (save-selected-window): Likewise.
9143 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9145 * progmodes/python.el (python-rx-constituents): Move backquote.
9146 (python-skeleton-define, python-define-auxiliary-skeleton):
9149 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9151 * minibuffer.el (read-file-name-default): Revert the patch from
9154 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9157 (pcase--u1, pcase--q1): Don't use apply-partially.
9159 2012-06-18 Glenn Morris <rgm@gnu.org>
9161 * progmodes/python.el (python-proc, python-buffer)
9162 (python-send-receive, python-send-string): Fix obsolete versions.
9164 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9166 * window.el (special-display-p): Completely remove stringp
9167 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9169 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9171 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9173 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9175 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9176 * net/tramp-sh.el (tramp-maybe-open-connection):
9177 Throw if `non-essential' is non-nil.
9179 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9181 * window.el (special-display-p): Signal an error if BUFFER-NAME
9182 is not a string (Bug#11713).
9184 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9186 * progmodes/python.el (python-info-beginning-of-backslash):
9187 Rename from python-info-beginning-of-backlash, as a spelling fix.
9189 2012-06-17 Chong Yidong <cyd@gnu.org>
9191 * term.el (term-emulate-terminal): If term-check-size is called,
9192 move point to the process mark without resetting point (Bug#4635).
9194 2012-06-17 Glenn Morris <rgm@gnu.org>
9196 * international/mule-cmds.el (mule-menu-keymap)
9197 (set-language-environment, set-locale-environment): Doc tweaks.
9199 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9201 * cus-face.el (custom-face-attributes): Add wave-style underline
9203 * faces.el (set-face-attribute): Update docstring to describe
9204 wave-style underline attribute.
9206 2012-06-16 Chong Yidong <cyd@gnu.org>
9208 * term/xterm.el (terminal-init-xterm): Discard input before
9209 querying background mode (Bug#10959).
9211 2012-06-16 Stefan Merten <smerten@oekonux.de>
9213 * textmodes/rst.el: Added and corrected some comments.
9214 (rst-re-alist-def): Improve symbol syntax.
9215 (rst-mode-syntax-table): Correct syntax entries.
9216 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9217 (rst-official-version, rst-official-cvs-rev): Update version
9220 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9222 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9223 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9225 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9227 * progmodes/python.el: New python.el merge.
9228 (python-guess-indent): Obsolete var.
9229 (python-indent-guess-indent-offset): New defcustom.
9230 (python-indent): Obsolete var.
9231 (python-indent-offset): New defcustom.
9232 (python-python-command, python-jython-command): Delete var.
9233 (python-shell-interpreter): New defcustom.
9234 (python-pdbtrack-do-tracking-p): Delete var.
9235 (python-pdbtrack-activate): New defcustom.
9236 (python-use-skeletons): Obsolete var.
9237 (python-skeleton-autoinsert): New defcustom.
9238 (inferior-python-filter-regexp, python-continuation-offset)
9239 (python-honour-comment-indentation, python-indent-string-contents)
9240 (python-jython-packages, python-mode-hook)
9241 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9242 (python-shell-prompt-alist)
9243 (python-source-modes): Delete defcustoms.
9244 (python-check-buffer-name, python-eldoc-setup-code)
9245 (python-eldoc-string-code, python-ffap-setup-code)
9246 (python-ffap-string-code, python-fill-comment-function)
9247 (python-fill-decorator-function, python-fill-paren-function)
9248 (python-fill-string-function, python-imenu-include-defun-type)
9249 (python-imenu-make-tree, python-imenu-subtree-root-label)
9250 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9251 (python-shell-compilation-regexp-alist)
9252 (python-shell-completion-module-string-code)
9253 (python-shell-completion-pdb-string-code)
9254 (python-shell-completion-setup-code)
9255 (python-shell-completion-string-code)
9256 (python-shell-enable-font-lock, python-shell-exec-path)
9257 (python-shell-extra-pythonpaths)
9258 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9259 (python-shell-process-environment)
9260 (python-shell-prompt-block-regexp)
9261 (python-shell-prompt-output-regexp)
9262 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9263 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9264 (python-shell-virtualenv-path): New defcustoms.
9265 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9266 (inferior-python-mode-syntax-table, python--prompt-regexp)
9267 (python-buffer, python-command python-python-command)
9268 (python-default-template, python-imports, python-indent-index)
9269 (python-indent-list, python-indent-list-length)
9270 (python-mode-running, python-pdbtrack-is-tracking-p)
9271 (python-preoutput-continuation, python-preoutput-leftover)
9272 (python-preoutput-result, python-preoutput-skip-next-prompt)
9273 (python-prev-dir/file, python-recursing)
9274 (python-saved-check-command, python-version-checked)
9275 (python-which-func-length-limit)
9276 (view-return-to-alist): Delete vars.
9277 (python-check-custom-command, python-dotty-syntax-table)
9278 (python-imenu-index-alist, python-indent-current-level)
9279 (python-indent-dedenters, python-indent-levels)
9280 (python-nav-beginning-of-defun-regexp)
9281 (python-nav-list-defun-positions-cache)
9282 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9283 (python-shell-internal-buffer)
9284 (python-skeleton-available): New vars.
9285 (def-python-skeleton): Delete macro.
9286 (python-skeleton-define): New macro.
9287 (python-define-auxiliary-skeleton, python-rx): New macros.
9288 (python-insert-class): Delete command.
9289 (python-skeleton-class): New command.
9290 (python-insert-def): Delete command.
9291 (python-skeleton-def): New command.
9292 (python-insert-for): Delete command.
9293 (python-skeleton-for): New command.
9294 (python-insert-if): Delete command.
9295 (python-skeleton-if): New command.
9296 (python-insert-try/except, python-insert-try/finally): Delete commands.
9297 (python-skeleton-try): New command.
9298 (python-insert-while): Delete command.
9299 (python-skeleton-while): New command.
9300 (python-backspace): Delete command.
9301 (python-indent-dedent-line-backspace): New command.
9302 (python-electric-colon): Delete command.
9303 (python-indent-electric-colon): New command.
9304 (python-guess-indent): Delete command.
9305 (python-indent-guess-indent-offset): New command.
9306 (python-shift-left): Delete command.
9307 (python-indent-shift-left): New command.
9308 (python-shift-right): Delete command.
9309 (python-indent-shift-right): New command.
9310 (python-find-function): Delete command.
9311 (python-nav-jump-to-defun): New command.
9312 (python-next-statement): Delete command.
9313 (python-nav-forward-sentence): New command.
9314 (python-previous-statement): Delete command.
9315 (python-nav-backward-sentence): New command.
9316 (python-fill-paragraph): Delete command.
9317 (python-fill-paragraph-function): New command.
9318 (python-send-buffer): Delete command.
9319 (python-shell-send-buffer): New command.
9320 (python-send-defun): Delete command.
9321 (python-shell-send-defun): New command.
9322 (python-send-region, python-send-region-and-go): Delete commands.
9323 (python-shell-send-region)
9324 (python-shell-switch-to-shell): New commands.
9325 (python-send-string): Delete command.
9326 (python-shell-send-string): New command.
9327 (python-switch-to-python): Delete command.
9328 (python-shell-switch-to-shell): New command.
9329 (python-describe-symbol): Delete command.
9330 (python-eldoc-at-point): New command.
9331 (python--set-prompt-regexp, python-args-to-list)
9332 (python-after-info-look, python-check-version)
9333 (python-check-comint-prompt, python-find-imports)
9334 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9335 (python-unload-function, python-expand-template)
9336 (python-maybe-jython, python-preoutput-filter)
9337 (python-pdbtrack-get-source-buffer)
9338 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9339 (python-pdbtrack-toggle-stack-tracking)
9340 (python-pdbtrack-track-stack-file, python-initial-text)
9341 (python-first-word, python-comment-line-p, python-send-command)
9342 (python-setup-brm, python-sentinel, python-set-proc)
9343 (python-skip-out, python-input-filter, python-outdent-p)
9344 (python-outline-level, python-backslash-continuation-line-p)
9345 (python-end-of-block, python-end-of-statement, python-mark-block)
9346 (python-beginning-of-block, python-beginning-of-statement)
9347 (python-blank-line-p, python-beginning-of-string)
9348 (python-open-block-statement-p): Delete functions.
9349 (python-indent-line, python-indent-line-1): Delete functions.
9350 (python-indent-line): New function.
9351 (python-indentation-levels): Delete function.
9352 (python-indent-calculate-levels): New function.
9353 (python-proc): Delete function.
9354 (python-shell-get-process): New function.
9355 (python-send-receive): Delete function.
9356 (python-shell-send-string-no-output): New function.
9357 (python-module-path): Delete function.
9358 (python-ffap-module-path): New function.
9359 (python-completion-at-point)
9360 (python-symbol-completions): Delete functions.
9361 (python-completion-complete-at-point): New function.
9362 (python-load-file): Delete function.
9363 (python-shell-send-file): New function.
9364 (python-calculate-indentation): Delete function.
9365 (python-indent-calculate-indentation): New function.
9366 (python-skip-comments/blanks): Delete function.
9367 (python-util-forward-comment): New function.
9368 (python-continuation-line-p): Delete function.
9369 (python-info-continuation-line-p): New function.
9370 (python-which-func, python-current-defun): Delete function.
9371 (python-info-current-defun): New function.
9372 (python-beginning-of-defun): Delete function.
9373 (python-nav-beginning-of-defun): New function.
9374 (python-close-block-statement-p)
9375 (python-block-end-p): Delete function.
9376 (python-info-closing-block): New function.
9377 (python-comint-output-filter-function)
9378 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9379 (python-fill-comment, python-fill-decorator, python-fill-paren)
9380 (python-fill-string, python-imenu-make-element-tree)
9381 (python-imenu-make-tree, python-imenu-tree-assoc)
9382 (python-indent-context, python-indent-dedent-line)
9383 (python-indent-line-function)
9384 (python-indent-post-self-insert-function)
9385 (python-indent-toggle-levels)
9386 (python-info-assignment-continuation-line-p)
9387 (python-info-beginning-of-backlash)
9388 (python-info-block-continuation-line-p)
9389 (python-info-closing-block-message)
9390 (python-info-line-ends-backslash-p)
9391 (python-info-looking-at-beginning-of-defun)
9392 (python-info-ppss-context, python-info-ppss-context-type)
9393 (python-nav-list-defun-positions, python-nav-read-defun)
9394 (python-nav-sentence-end, python-nav-sentence-start)
9395 (python-pdbtrack-comint-output-filter-function)
9396 (python-pdbtrack-set-tracked-buffer)
9397 (python-shell-calculate-exec-path)
9398 (python-shell-calculate-process-environment)
9399 (python-shell-completion--do-completion-at-point)
9400 (python-shell-completion--get-completions)
9401 (python-shell-completion-complete-at-point)
9402 (python-shell-completion-complete-or-indent)
9403 (python-shell-get-or-create-process)
9404 (python-shell-get-process-name)
9405 (python-shell-internal-get-or-create-process)
9406 (python-shell-internal-get-process-name)
9407 (python-shell-internal-send-string, python-shell-make-comint)
9408 (python-shell-parse-command, python-shell-send-setup-code)
9409 (python-skeleton-add-menu-items)
9410 (python-util-clone-local-variables, python-util-position)
9411 (run-python-internal, python-indentation-levels)
9412 (python-nav-beginning-of-defun)
9413 (python-completion-complete-at-point): New functions.
9414 (run-python): Change arguments. New API requirements.
9416 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9418 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9421 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9422 (macroexp--expand-all): Use it.
9424 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9425 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9426 Use `cl-function' instead.
9428 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9430 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9431 Suggested by Stefan Monnier while discussing bug#11657.
9433 2012-06-14 Sam Steingold <sds@gnu.org>
9435 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9437 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9439 * play/doctor.el (doctor-doc): Remove parameter and use
9440 doctor-sent instead of sent.
9441 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9443 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * files.el: Require cl-lib.
9446 (file-name-non-special): Replace case -> cl-case.
9448 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9450 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9451 mapping from #' to function*.
9453 2012-06-13 Chong Yidong <cyd@gnu.org>
9455 * mouse.el (mouse-drag-track): Do not set the mark if the user
9456 releases the mouse without selecting anything (Bug#11588).
9458 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9460 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9461 as well (bug#11646).
9463 * loadup.el: Count byte-code functions as well.
9465 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9466 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9468 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9469 (bug#11649). Add cl-defun and cl-defmacro.
9471 2012-06-13 Drew Adams <drew.adams@oracle.com>
9473 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9476 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9478 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9479 Otherwise, it blocks in batch mode.
9481 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9483 * help-mode.el (bookmark-make-record-default): Declare.
9485 2012-06-13 Chong Yidong <cyd@gnu.org>
9487 * emacs-lisp/package.el (list-packages): Compute a list of
9488 packages that are newly-available since the last list-packages
9490 (package-menu--new-package-list): New var.
9491 (package-menu--generate, package-menu--print-info)
9492 (package-menu--status-predicate, package-menu-mark-install):
9493 Handle new status label "new".
9495 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9497 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9498 conversion to backquotes.
9500 2012-06-12 Chong Yidong <cyd@gnu.org>
9502 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9503 Rename from gud-inhibit-global-bindings.
9505 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9507 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9508 hook from nxml-glyph-set-hook.
9510 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9513 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9515 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9516 Convert to defcustom.
9518 2012-06-12 Drew Adams <drew.adams@oracle.com>
9520 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9522 (help-mode): Use them.
9524 2012-06-11 Glenn Morris <rgm@gnu.org>
9526 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9527 Use preprocessor face for directives.
9528 (fortran-directive-re): Doc fix.
9530 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9533 conversion to backquotes (bug#11652).
9535 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9536 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9537 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9538 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9539 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9540 (cl-ninth, cl-tenth): Mark them as inlinable.
9541 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9542 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9543 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9544 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9545 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9546 (cl-list*, cl-adjoin): Don't put an autoload manually.
9547 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9548 (cl--compiler-macro-list*): Add autoload cookie.
9549 (cl--compiler-macro-cXXr): New function.
9551 * help-fns.el (help-fns--compiler-macro): New function extracted from
9552 describe-function-1; follow aliases and use `compiler-macro' property.
9553 (describe-function-1): Use it.
9555 2012-06-11 Chong Yidong <cyd@gnu.org>
9557 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9558 is uninstalled, if imagemagick is installed.
9560 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9562 * emacs-lisp/cl-lib.el: Use lexical-binding.
9563 (cl-map-extents, cl-maclisp-member): Remove.
9564 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9565 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9566 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9567 * emacs-lisp/cl-extra.el: Use lexical-binding.
9568 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9569 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9570 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9571 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9572 * emacs-lisp/cl-seq.el: Use lexical-binding.
9573 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9574 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9575 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9576 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9577 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9580 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9582 Sync with Tramp 2.2.6-pre.
9584 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9585 `print-length' and `print-level' to nil, in order to avoid
9586 truncation. Reported by Christopher Schmidt
9587 <christopher@ristopher.com>.
9589 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9591 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9593 (tramp-compat-copy-directory): Add optional argument
9594 COPY-CONTENTS. It is not handled yet.
9596 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9597 (tramp-ftp-file-name-p): Simplify.
9599 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9600 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9603 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9604 (tramp-methods): Do not use `tramp-password-end-of-line'.
9605 (tramp-completion-function-alist-putty): Handle UNIX case.
9606 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9607 (tramp-do-file-attributes-with-stat)
9608 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9609 gid as real numbers. They could run out of integer range on cygwin.
9610 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9611 (tramp-sh-handle-expand-file-name): Handle hops.
9612 (tramp-open-connection-setup-interactive-shell):
9613 Use `tramp-cleanup'. Move check for busyboxes ...
9614 (tramp-find-shell): ... here. Simplify implementation.
9615 Set "remote-shell" property also for alternative shells.
9616 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9617 If failing, a regular file would be written otherwise.
9618 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9619 (tramp-find-inline-encoding): Cache the coding commands in the
9620 process cache. Apply test command on the remote side, if defined.
9621 (tramp-find-inline-compress): Cache the compress commands in the
9623 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9624 when requested. Handle hops.
9625 (tramp-current-connection): New defvar.
9626 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9627 Throw `suppress', if there was a failed connection shortly before.
9628 Handle user interrupt. (Bug#10187)
9629 (tramp-get-inline-compress, tramp-get-inline-coding):
9630 Read connection properties from the process cache.
9632 * net/tramp-smb.el (tramp-smb-server-version)
9633 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9635 (tramp-smb-prompt): Extend for powershell prompt.
9636 (tramp-smb-file-name-handler-alist): Add handlers for
9637 `process-file', `shell-command' and `start-file-process'.
9638 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9639 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9640 (tramp-smb-file-name-p): Simplify.
9641 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9642 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9643 (tramp-smb-shell-quote-argument): New defuns.
9644 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9645 Implement using "tar". By this, time-stamps are preserved.
9646 (tramp-smb-handle-copy-file): Handle also the case of directories.
9647 (tramp-smb-do-file-attributes-with-stat)
9648 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9649 Use `tramp-get-connection-buffer').
9650 (tramp-smb-handle-rename-file): Use "rename", when source and
9651 target are on the same share.
9652 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9653 Use `tramp-smb-server-version'.
9654 (tramp-smb-wait-for-output): Remove prompt.
9656 * net/tramp.el (top): Require 'cl.
9657 (tramp-methods, tramp-rsh-end-of-line):
9658 Remove `tramp-password-end-of-line' from docstring.
9659 (tramp-save-ad-hoc-proxies): New defcustom.
9660 (tramp-completion-function-alist): Adapt docstring.
9661 (tramp-default-password-end-of-line): Remove defcustom.
9662 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9663 (tramp-user-regexp, tramp-file-name-regexp-unified)
9664 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9665 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9666 (tramp-remote-file-name-spec-regexp): New defconst.
9667 (tramp-file-name-structure): Extend structure for hops.
9668 (tramp-get-method-parameter): Move up.
9669 (tramp-file-name-p, tramp-dissect-file-name)
9670 (with-parsed-tramp-file-name): Handle hops.
9671 (tramp-file-name-hop): New defun.
9672 (tramp-make-tramp-file-name): New optional arg HOP.
9673 (tramp-message-show-progress-reporter-message): New defvar.
9674 (tramp-with-progress-reporter): Use it. We cannot use
9675 `tramp-message-show-message' here, because this suppresses also
9677 (tramp-error-with-buffer): Suppress buffer view, if
9678 `tramp-message-show-message' is nil.
9679 Use `tramp-get-connection-buffer'.
9680 (tramp-cleanup): New defun.
9681 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9682 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9684 (tramp-completion-handle-file-name-all-completions): Handle hops.
9685 Fix an error when called from ido.
9686 (tramp-completion-dissect-file-name): Use better local variable
9687 name. Add hop to the vector.
9688 (tramp-handle-insert-file-contents): Use progress-reporter for the
9690 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9692 (tramp-check-for-regexp): Simplify search.
9693 (tramp-enter-password): Remove it. Move implementation ...
9694 (tramp-action-password): ... here.
9695 (tramp-mode-string-to-int, tramp-local-host-p)
9696 (tramp-make-tramp-temp-file, tramp-read-passwd)
9697 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9698 Set tramp-autoload cookie.
9700 * net/trampver.el: Update release number.
9702 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9703 Michael Albinus <michael.albinus@gmx.de>
9705 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9706 (tramp-parse-group, tramp-parse-file)
9707 (tramp-parse-shostkeys-sknownhosts): New defuns.
9708 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9709 (tramp-parse-shosts-group, tramp-parse-sconfig)
9710 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9711 (tramp-parse-sknownhosts, tramp-parse-hosts)
9712 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9714 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9715 (tramp-parse-putty-group): Don't narrow.
9716 (tramp-parse-putty): Make a loop.
9717 (tramp-file-name-handler): Catch the `suppress' signal.
9719 2012-06-11 Chong Yidong <cyd@gnu.org>
9721 * image.el (imagemagick-register-types): Put the ImageMagick entry
9722 at the end of image-type-file-name-regexps.
9724 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9726 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9727 (pcase, pcase-let*, pcase-dolist): Use them.
9729 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9731 * emacs-lisp/pcase.el (pcase--let*): New function.
9732 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9733 (pcase--expand): Use macroexp-let².
9735 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9738 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9739 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9740 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9741 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9742 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9744 2012-06-10 Glenn Morris <rgm@gnu.org>
9746 * mail/rmail.el (rmail-yank-current-message): Leave point at
9747 correct position. (Bug#11660)
9749 2012-06-10 Chong Yidong <cyd@gnu.org>
9751 * allout-widgets.el: Fix code header.
9753 2012-06-10 Chong Yidong <cyd@gnu.org>
9755 * cus-edit.el (customize-changed-options-previous-release):
9758 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9760 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9762 2012-06-09 Chong Yidong <cyd@gnu.org>
9764 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9766 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9768 * window.el (special-display-popup-frame): Don't use
9769 window--display-buffer (Bug#11651).
9771 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9773 Fix parallel builds: make sure loaddefs.el is not being written
9774 while Lisp files are compiled.
9775 (compile): Don't depend on 'mh-autoloads'.
9776 (compile-CMD, compile-SH): Depend on 'autoloads'.
9777 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9779 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9781 2012-06-09 Chong Yidong <cyd@gnu.org>
9783 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9784 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9785 Doc fixes (Bug#11225).
9787 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9790 a function if there's a clear indication that it has a compiler-macro.
9791 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9792 (macro-declarations-alist): Add arglist to declaration functions.
9793 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9794 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9795 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9796 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9797 Also add autoload to find the compiler macro.
9798 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9799 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9800 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9801 (cl--compiler-macro-get): New functions, replacing calls to
9802 cl-define-compiler-macro.
9803 (cl-typep) [compiler-macro]: Use macroexp-let².
9805 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9807 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9808 string properly, fixes Bug#11473.
9810 2012-06-08 Chong Yidong <cyd@gnu.org>
9812 * faces.el (set-face-attribute): Doc fix.
9813 (modify-face): Don't use :bold and :italic.
9814 (error, warning, success): Tweak definitions.
9816 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9817 (custom-modified, custom-set, custom-changed, custom-themed)
9818 (custom-saved, custom-button, custom-button-mouse)
9819 (custom-button-pressed, custom-state, custom-comment-tag)
9820 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9821 (custom-group-subtitle): Use new-style face specs.
9822 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9823 (custom-set-face, custom-changed-face, custom-saved-face)
9824 (custom-button-face, custom-button-pressed-face)
9825 (custom-documentation-face, custom-state-face)
9826 (custom-comment-face, custom-comment-tag-face)
9827 (custom-variable-tag-face, custom-variable-button-face)
9828 (custom-face-tag-face, custom-group-tag-face-1)
9829 (custom-group-tag-face): Remove obsolete face alias.
9831 * epa.el (epa-validity-high, epa-validity-medium)
9832 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9833 (epa-field-name, epa-field-body):
9834 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9835 (font-lock-keyword-face, font-lock-builtin-face)
9836 (font-lock-function-name-face, font-lock-variable-name-face)
9837 (font-lock-type-face, font-lock-constant-face):
9838 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9839 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9840 * speedbar.el (speedbar-button-face, speedbar-file-face)
9841 (speedbar-directory-face, speedbar-tag-face)
9842 (speedbar-selected-face, speedbar-highlight-face)
9843 (speedbar-separator-face):
9844 * whitespace.el (whitespace-newline, whitespace-space)
9845 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9846 (whitespace-line, whitespace-space-before-tab)
9847 (whitespace-space-after-tab, whitespace-indentation)
9849 * emulation/cua-base.el (cua-global-mark):
9850 * eshell/em-prompt.el (eshell-prompt):
9851 * net/newst-plainview.el (newsticker-new-item-face)
9852 (newsticker-old-item-face, newsticker-immortal-item-face)
9853 (newsticker-obsolete-item-face, newsticker-date-face)
9854 (newsticker-statistics-face, newsticker-default-face):
9855 * net/newst-reader.el (newsticker-feed-face)
9856 (newsticker-extra-face, newsticker-enclosure-face):
9857 * net/newst-treeview.el (newsticker-treeview-face)
9858 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9859 (newsticker-treeview-immortal-face)
9860 (newsticker-treeview-obsolete-face)
9861 (newsticker-treeview-selection-face):
9862 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9863 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9864 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9865 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9866 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9867 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9868 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9870 * progmodes/vera-mode.el (vera-font-lock-number)
9871 (vera-font-lock-function, vera-font-lock-interface):
9872 * textmodes/table.el (table-cell): Use new-style face specs, and
9873 don't use the old :bold and :italic attributes.
9875 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9876 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9877 (ebrowse-member-class, ebrowse-progress): Likewise.
9878 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9879 (ebrowse-file-name-face, ebrowse-default-face)
9880 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9881 (ebrowse-progress-face): Remove obsolete faces.
9883 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9884 Inherit from error and warning faces respectively.
9886 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9888 (flyspell-incorrect-face, flyspell-duplicate-face):
9889 Remove obsolete aliases.
9891 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9893 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9896 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9898 * startup.el (argv, argi): Make lexically scoped.
9899 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9900 * emacs-lisp/cl-macs.el: Use lexical-binding.
9901 Rename cl-bind-* to cl--bind-*.
9902 * files.el: Don't require `cl' since it doesn't use it.
9903 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9905 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9907 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9908 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9909 instead of calling external sort utility.
9910 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9912 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9914 * descr-text.el (describe-char): Mention how to insert the
9915 character, if the current input method doesn't support it.
9916 See the discussion in this thread for the details:
9917 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9919 2012-06-08 Sam Steingold <sds@gnu.org>
9921 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9922 XF86Back to previous-buffer.
9923 (minibuffer-local-map): Bind them to next-history-element and
9924 previous-history-element respectively.
9925 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9926 help-go-back respectively.
9927 * info.el (Info-mode-map): Bind them to Info-history-forward and
9928 Info-history-back respectively.
9929 These are the keys next to Up on the ThinkPad keyboard.
9931 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9933 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9934 * emacs-lisp/cl-macs.el: Provide itself.
9935 (cl--labels-convert-cache): New var.
9936 (cl--labels-convert): New function.
9937 (cl-flet, cl-labels): New implementation with new semantics, relying on
9939 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9940 (cl-closure-vars, cl--function-convert-cache)
9941 (cl--function-convert): Move from cl-macs.el.
9942 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9943 rename by removing the "cl-" prefix.
9944 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9946 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9949 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9950 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9951 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9952 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9953 (cl-hash-table-count): Add old compatibility aliases.
9955 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9956 Use macroexpand-all-environment instead.
9957 (cl--old-macroexpand): New var.
9958 (cl--sm-macroexpand): New function.
9959 (cl-symbol-macrolet): Use it during macro expansion.
9960 (cl--function-convert-cache): New var.
9961 (cl--function-convert): New function, extracted from
9963 (cl-lexical-let): Use it.
9965 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9966 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9967 (cl-member): Remove old alias.
9969 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9970 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9971 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9972 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9973 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9974 (cl-macroexpand-cmacs): Remove var.
9975 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9976 Use macroexpand-all instead.
9978 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9981 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9982 (macroexp-copyable-p): New functions and macros.
9983 * emacs-lisp/edebug.el (edebug-unwrap):
9984 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9985 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9986 (pcase--let*): Remove.
9987 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9988 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9989 macroexp-const-p instead.
9990 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9992 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9993 instead of "cl-" for internal definitions. Use macroexp-const-p.
9994 (cl-old-bc-file-form): Remove var.
9995 (cl-const-exprs-p): Remove fun.
9996 (cl-labels, cl-macrolet): Use backquote.
9997 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9998 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9999 (cl-define-setf-expander): Rename from cl-define-setf-method.
10000 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10002 * international/mule-cmds.el: Don't require CL.
10003 (view-hello-file): Don't use `letf'.
10005 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10007 * tmm.el (tmm-prompt): Use string-prefix-p.
10008 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10009 (tmm-add-prompt): Use minibuffer-completion-help.
10010 (tmm-delete-map): Remove.
10012 * subr.el (kbd): Make it its own function.
10014 2012-06-07 Stefan Merten <smerten@oekonux.de>
10016 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10017 Silence compiler warnings. Fix versions.
10018 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10019 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10020 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10021 (rst-package-emacs-version-alist): Correct Emacs version to
10022 represent major merge with upstream.
10023 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10025 2012-06-06 Glenn Morris <rgm@gnu.org>
10027 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10028 Only print environment variables if set.
10030 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10033 (macroexp--cons): Rename from maybe-cons.
10034 (macroexp--accumulate): Rename from macroexp-accumulate.
10035 (macroexp--all-forms): Rename from macroexpand-all-forms.
10036 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10037 (macroexp--expand-all): Rename from macroexpand-all-1.
10039 2012-06-06 Sam Steingold <sds@gnu.org>
10041 * calendar/calendar.el (calendar-in-read-only-buffer):
10042 Call `special-mode' to enable the standard read-only keybindings.
10044 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10047 with "loading" messages (bug#11635).
10049 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10051 * files.el (enable-remote-dir-locals): New option.
10052 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10054 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10055 Ensure, that the temp directory is local.
10057 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10058 `temporary-file-directory'.
10060 * progmodes/python.el (python-send-region): Ensure, that the
10061 temporary file is created also in the remote case.
10063 2012-06-06 Glenn Morris <rgm@gnu.org>
10065 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10066 (vc-rcs-update-changelog): Use it.
10068 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10070 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10071 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10072 (vc-sccs-diff): Replace use of the external vcdiff script.
10074 2012-06-05 Glenn Morris <rgm@gnu.org>
10076 * ledit.el: Move to obsolete/.
10078 2012-06-05 Sam Steingold <sds@gnu.org>
10080 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10083 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * emacs-lisp/cust-print.el: Move to obsolete.
10087 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10088 compiler-macro expansion.
10090 Add native compiler-macro support.
10091 * emacs-lisp/macroexp.el (macroexpand-all-1):
10092 Support compiler-macros directly. Properly follow aliases and apply
10093 the compiler macros more thoroughly.
10094 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10095 macroexpand now properly follows aliases.
10096 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10097 (cl-compiler-macroexpand): Use new prop.
10098 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10100 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10102 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10104 * window.el (get-lru-window, get-mru-window, get-largest-window):
10105 New argument NOT-SELECTED to avoid picking the selected window.
10106 (window--display-buffer-1, window--display-buffer-2): Replace by
10107 new function window--display-buffer
10108 (display-buffer-same-window, display-buffer-reuse-window)
10109 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10110 Use window--display-buffer.
10111 (display-buffer-use-some-window): Remove temporary dedication
10112 hack by calling get-lru-window and get-largest-window with
10113 NOT-SELECTED argument non-nil. Call window--display-buffer.
10115 2012-06-05 Glenn Morris <rgm@gnu.org>
10117 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10118 Replace external vcdiff script.
10120 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10124 2012-06-04 Chong Yidong <cyd@gnu.org>
10126 * image.el (imagemagick-types-inhibit): Revert last change.
10128 (imagemagick-enabled-types): Remove CIN and EPS*.
10130 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * emacs-lisp/cl-lib.el: Rename from cl.el.
10133 * emacs-lisp/cl.el: New compatibility file.
10134 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10135 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10136 to obey the "cl-" prefix.
10137 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10139 2012-06-03 Glenn Morris <rgm@gnu.org>
10141 * emacs-lisp/authors.el (authors-aliases): Addition.
10143 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10146 2012-06-03 Stefan Merten <smerten@oekonux.de>
10148 * textmodes/rst.el: Add comments.
10149 (rst-transition, rst-adornment): New faces.
10150 (rst-adornment-faces-alist): Make default safe to reevaluate.
10152 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10153 Improve customization tags.
10154 (rst-define-level-faces): Clarify meaning.
10156 2012-06-03 Chong Yidong <cyd@gnu.org>
10158 * progmodes/compile.el (compilation-mode-line-fail)
10159 (compilation-mode-line-run, compilation-mode-line-exit):
10161 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10163 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10165 * progmodes/which-func.el (which-func-update-ediff-windows):
10166 New function. Use it in ediff-select-hook (Bug#11478).
10168 2012-06-03 Chong Yidong <cyd@gnu.org>
10170 * bindings.el: Remove explicit help text from format-mode-line.
10171 It is now supplied by mode-line-default-help-echo.
10172 (mode-line-front-space, mode-line-end-spaces)
10173 (mode-line-misc-info): New variables.
10174 (mode-line-modes, mode-line-position): Move the default value to
10175 the variable definition.
10176 (mode-line-default-help-echo): New defcustom.
10177 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10178 (mode-line-modified-help-echo): New functions.
10179 (mode-line-mule-info, mode-line-modified): Use them.
10180 (mode-line-eol-desc, propertized-buffer-identification):
10181 Consistency fixes for help text.
10182 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10183 set-buffer-file-coding-system (Bug#289).
10184 (mode-line-mule-info-help-echo): Update help text.
10186 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * simple.el (execute-extended-command): Set real-this-command
10191 2012-06-02 Chong Yidong <cyd@gnu.org>
10193 Remove incorrect uses of "modeline" in comments, docstrings, and
10194 function/variable names (Bug#10329).
10196 * cus-edit.el (mode-line):
10197 * dframe.el (dframe-mouse-hscroll):
10198 * emacs-lisp/re-builder.el:
10199 * emacs-lisp/easy-mmode.el (define-minor-mode):
10200 * frame.el (set-frame-name):
10201 * help.el (lookup-minor-mode-from-indicator):
10202 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10203 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10204 (c-toggle-hungry-state):
10205 * progmodes/antlr-mode.el (antlr-language-alist):
10206 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10207 * progmodes/vhdl-mode.el (vhdl-mode):
10208 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10209 * term/ns-win.el (ns-face-at-pos):
10210 * term/sup-mouse.el (sup-mouse-report):
10211 * textmodes/flyspell.el (flyspell-mode-line-string):
10212 * textmodes/ispell.el (ispell-highlight-face):
10213 * textmodes/reftex-global.el:
10214 * vc/vc-arch.el (vc-arch-mode-line-string):
10215 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10216 * vc/vc-git.el (vc-git-mode-line-string):
10217 * vc/vc-hooks.el (vc-display-status)
10218 (vc-default-mode-line-string):
10219 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10221 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10223 * dired.el (dired-sort-set-mode-line): Rename from
10224 dired-sort-set-modeline. All callers changed.
10226 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10227 eshell-status-in-modeline.
10229 * foldout.el (foldout-mode-line-string): Rename from
10230 foldout-modeline-string. All callers changed.
10231 (foldout-update-mode-line): Rename from foldout-update-modeline.
10233 * subr.el (redraw-modeline): Make into obsolete alias.
10235 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10236 timeclock-modeline-display. Make old name an alias.
10237 (timeclock-update-mode-line): Likewise. All callers changed.
10238 (timeclock-mode-line-display): No need to check before using
10240 (timeclock-relative, timeclock-day-over-hook)
10241 (timeclock-use-elapsed, timeclock-mode-string)
10242 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10244 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10245 crisp-mode-modeline-string.
10247 * play/solitaire.el (solitaire-build-mode-line): Rename from
10248 solitaire-build-modeline. All callers changed.
10250 * play/zone.el (zone-hiding-mode-line): Rename from
10251 zone-hiding-modeline. All callers changed.
10252 (zone): Remove unusued `modeline-hidden-level' property.
10254 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10255 xscheme-modeline-initialize. All callers changed.
10257 * strokes.el (strokes-lighter): Rename from
10258 strokes-modeline-string.
10260 * textmodes/sgml-mode.el (html-face-tag-alist)
10261 (html-tag-face-alist): Use mode-line face instead of obsolete
10264 2012-06-02 Stefan Merten <smerten@oekonux.de>
10266 * textmodes/rst.el: Always require `cl'.
10267 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10269 2012-06-02 Chong Yidong <cyd@gnu.org>
10271 * image.el (imagemagick-enabled-types): Rename from
10272 imagemagick-types-enable. Add many more types.
10273 (imagemagick-types-inhibit): Change default to nil.
10274 (imagemagick-filter-types): Caller changed.
10276 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10278 * emacs-lisp/cl-macs.el: Use backquotes.
10279 (cl-transform-function-property): Use eval-and-compile rather than
10281 (defstruct): Use declare-function instead of with-no-warnings.
10283 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10284 (byte-compile-output-docform): Re-add the print-circle bindings.
10285 (byte-compile-fix-header): Use #$ just because it's shorter.
10286 (byte-compile-output-file-form): Remove defun/defmacro.
10288 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10290 * simple.el (choose-completion): Remove now obsolete binding for
10293 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10295 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10296 in order to avoid "Stack overflow in regexp matcher".
10298 2012-05-31 Glenn Morris <rgm@gnu.org>
10300 * image.el: For clarity, call imagemagick-register-types at
10301 top-level, rather than relying on a custom :initialize.
10302 (imagemagick-types-enable): New option. (Bug#11557)
10303 (imagemagick-filter-types): New function. (Bug#7406)
10304 (imagemagick-register-types): Use imagemagick-filter-types.
10305 If disabling support, remove elements altogether rather
10306 than using an impossible regexp.
10307 (imagemagick-types-inhibit): Give it the default init function.
10309 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10311 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10312 Handle arbitrary file name lengths (Bug#11585).
10314 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10316 * desktop.el (desktop-read): Clear previous and next buffers for
10317 all windows and bury *Messages* buffer (bug#11556).
10319 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10321 Add `declare' for `defun'. Align `defmacro's with it.
10322 * emacs-lisp/easy-mmode.el (define-minor-mode)
10323 (define-globalized-minor-mode): Don't autoload the var definitions.
10324 * emacs-lisp/byte-run.el: Use lexical-binding.
10325 (defun-declarations-alist, macro-declarations-alist): New vars.
10326 (defmacro, defun): Use them.
10327 (make-obsolete, define-obsolete-function-alias)
10328 (make-obsolete-variable, define-obsolete-variable-alias):
10330 (macro-declaration-function): Mark obsolete.
10331 * emacs-lisp/autoload.el: Use lexical-binding.
10332 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10334 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10336 * textmodes/ispell.el (ispell-with-no-warnings):
10338 (ispell-kill-ispell, ispell-change-dictionary):
10339 Use `called-interactively-p' for Emacs instead of obsolete
10342 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10345 (macro-declaration-function): Move var from C code.
10346 (macro-declaration-function): Define function with defalias.
10347 * emacs-lisp/macroexp.el (macroexpand-all-1):
10348 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10349 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10350 defun/defmacro any more.
10351 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10352 Provide fallback for unknown arglist.
10353 (byte-compile-arglist-warn): Change calling convention.
10354 (byte-compile-output-file-form): Move print-vars binding.
10355 (byte-compile-output-docform): Simplify accordingly.
10356 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10357 (byte-compile-defmacro-declaration): Remove.
10358 (byte-compile-file-form-defmumble): Generalize to defalias.
10359 (byte-compile-output-as-comment): Return byte-positions.
10360 Simplify callers accordingly.
10361 (byte-compile-lambda): Use `assert'.
10362 (byte-compile-defun, byte-compile-defmacro): Remove.
10363 (byte-compile-file-form-defalias):
10364 Use byte-compile-file-form-defmumble.
10365 (byte-compile-defalias-warn): Remove.
10367 2012-05-29 Stefan Merten <smerten@oekonux.de>
10369 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10370 possible. Fix authors. Improve comments. Improve loading of `cl'.
10372 (rst-mode-abbrev-table): Merge definition.
10373 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10374 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10376 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10378 * calendar/icalendar.el
10379 (icalendar-export-region): Export UID properly.
10381 2012-05-29 Leo Liu <sdl.web@gmail.com>
10382 * calendar/icalendar.el (icalendar-import-format):
10383 Add `icalendar-import-format-uid' (Bug#11525).
10384 (icalendar-import-format-uid): New.
10385 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10388 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10391 different alternative patterns.
10392 (pcase-codegen): Be more careful to preserve identity.
10393 (pcase--u1): Don't forget to mark vars as used.
10395 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10396 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10397 (byte-compile-from-buffer): ...rather than here.
10399 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10400 functions from byte-compile-function-environment.
10402 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10404 * window.el (window-deletable-p): Avoid deleting the root window
10405 of a frame with an active minibuffer.
10407 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10409 * simple.el (choose-completion): Use quit-window (Bug#11567).
10411 2012-05-29 Chong Yidong <cyd@gnu.org>
10413 * whitespace.el (whitespace-cleanup): Fix usage of
10414 whitespace-empty-at-bob-regexp (Bug#11492).
10416 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10418 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10419 revert (Bug#11488).
10421 2012-05-29 Juri Linkov <juri@jurta.org>
10423 * isearch.el (isearch-mode-map): Bind `M-s _' to
10424 `isearch-toggle-symbol'. Bind `M-s c' to
10425 `isearch-toggle-case-fold'.
10426 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10427 (isearch-forward): Add `M-s _' to the docstring.
10428 (isearch-forward-symbol, isearch-toggle-case-fold)
10429 (isearch-symbol-regexp): New functions. (Bug#11381)
10431 2012-05-29 Juri Linkov <juri@jurta.org>
10433 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10434 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10435 a function, call it to get the regexp.
10436 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10437 property `isearch-message-prefix' instead of the string "word ".
10438 (isearch-search-fun-default): For the case of `isearch-word',
10439 return a lambda that calls re-search-forward/re-search-backward
10440 with a regexp returned by `word-search-regexp' or by the function
10443 2012-05-29 Juri Linkov <juri@jurta.org>
10445 * isearch.el (isearch-search-fun-default): New function.
10446 (isearch-search-fun): Move default part to the new function
10447 `isearch-search-fun-default'.
10448 (isearch-search-fun-function): Set the default value to
10449 `isearch-search-fun-default'. (Bug#11381)
10451 * comint.el (comint-history-isearch-end):
10452 Use `isearch-search-fun-default'.
10453 (comint-history-isearch-search): Use `isearch-search-fun-default'
10454 and remove spacial case for `isearch-word'.
10455 (comint-history-isearch-wrap): Remove spacial case for
10458 * hexl.el (hexl-isearch-search-function):
10459 Use `isearch-search-fun-default'.
10461 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10462 Use `word-search-regexp' for `isearch-word'.
10464 * misearch.el (multi-isearch-search-fun):
10465 Use `isearch-search-fun-default'.
10467 * simple.el (minibuffer-history-isearch-search):
10468 Use `isearch-search-fun-default' and remove spacial case for
10470 (minibuffer-history-isearch-wrap): Remove spacial case for
10473 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10474 Remove spacial case for `isearch-word'.
10475 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10477 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10479 Decrease XEmacs incompatibilities.
10480 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10481 Use `string-match'.
10482 (flyspell-delete-region-overlays): Use alternative definition for
10484 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10485 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10486 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10487 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10488 `define-obsolete-face-alias' under XEmacs, but old method.
10490 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10491 `with-no-warnings' definition or Emacs alias.
10492 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10493 (ispell-word): Do not use `region-p' if XEmacs.
10495 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10497 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10498 Check for `ispell-dictionary-base-alist' instead of full
10499 `ispell-dictionary-alist'.
10500 (ispell-init-process): Show spellchecker when starting new Ispell
10503 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10506 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10508 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10510 * version.el (motif-version-string, gtk-version-string)
10511 (ns-version-string): Declare.
10513 2012-05-27 Juri Linkov <juri@jurta.org>
10515 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10516 after the `eval-defun-1' specialcaseing
10517 like in `edebug-eval-defun' (bug#10181).
10519 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10520 like in `eval-defun-1'.
10522 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10524 * mail/sendmail.el (mail-yank-region):
10525 Recognize rmail-yank-current-message in addition to insert-buffer.
10526 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10527 a *mail* buffer created through rmail-start-mail with sendmail as
10530 2012-05-27 Chong Yidong <cyd@gnu.org>
10532 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10533 Default to 256 (Bug#11267).
10535 * help.el (describe-mode): Doc fix.
10537 2012-05-26 Glenn Morris <rgm@gnu.org>
10539 * w32-fns.el (w32-init-info): Remove.
10540 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10542 * info.el (info-initialize): For self-contained NS builds, put the
10543 included info/ directory at the front. (Bug#2791)
10545 * paths.el (Info-default-directory-list): Make it a defcustom,
10546 mainly so that we can use custom-initialize-delay.
10548 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10550 * subr.el (buffer-has-markers-at): Mark obsolete.
10552 * subr.el (lambda): Use declare.
10554 * emacs-lisp/lisp-mode.el (lambda):
10555 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10557 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10559 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10561 2012-05-26 Glenn Morris <rgm@gnu.org>
10563 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10565 2012-05-25 Glenn Morris <rgm@gnu.org>
10567 * paths.el: Remove no-byte-compile.
10568 * loadup.el: No need to load paths.el uncompiled.
10570 * image.el (imagemagick-types-inhibit): Doc fix.
10572 * version.el: Remove no-byte-compile and associated formatting.
10573 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10574 is ancient code from when there was an "inc-vers.el".
10576 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * progmodes/gdb-mi.el: Minor style changes.
10579 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10580 Turn into minor modes.
10581 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10582 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10583 (gdb-shell): Remove unneeded let-binding.
10584 (gdb-get-many-fields): Eliminate O(n²) behavior.
10586 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10588 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10589 platforms that don't link in fontset.c.
10591 2012-05-25 Juri Linkov <juri@jurta.org>
10593 Use the same diff color scheme as in modern VCSes (bug#10181).
10595 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10596 to avoid confusion with `diff-added' that now uses green colors.
10597 (diff-removed): Use shades of red.
10598 (diff-added): Use shades of green.
10599 (diff-changed): Leave just the yellow color.
10600 (diff-use-changed-face): New variable.
10601 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10602 how to highlight context diff changes.
10603 (diff-refine-change): Use shades of yellow.
10604 (diff-refine-removed): New face that uses shades of red.
10605 (diff-refine-added): New face that uses shades of green.
10606 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10607 `diff-refine-removed' in the call to `smerge-refine-subst'
10608 depending on the value of `diff-use-changed-face'.
10610 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10611 (smerge-other): Use shades of green.
10612 (smerge-base): Use shades of yellow.
10613 (smerge-refined-change): Empty face.
10614 (smerge-refined-removed): New face that uses shades of red.
10615 (smerge-refined-added): New face that uses shades of green.
10616 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10617 args `props-r' and `props-a', and use them. Doc fix.
10618 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10619 on its value use different faces `smerge-refined-change',
10620 `smerge-refined-removed', `smerge-refined-added' in the call to
10621 `smerge-refine-subst'.
10623 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10624 Add face condition `min-colors 88' with shades of red.
10625 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10626 `min-colors 88' with shades of green.
10627 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10628 `min-colors 88' with shades of yellow.
10630 2012-05-24 Glenn Morris <rgm@gnu.org>
10632 * paths.el (prune-directory-list, remote-shell-program): Move to...
10633 * files.el (prune-directory-list, remote-shell-program): ...here.
10634 For the latter, delay initialization, prefer ssh, just search PATH.
10636 * paths.el (term-file-prefix): Move to faces.el (the only user).
10637 * faces.el (term-file-prefix): Move here, make it a defcustom.
10639 * paths.el (news-directory, news-path, news-inews-program):
10640 Move to gnus/nnspool.el.
10642 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10644 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10645 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10646 Make the latter a defcustom, with a delayed initialization.
10648 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10649 These were deleted from Gnus itself late 2010.
10651 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10653 * progmodes/which-func.el (which-func-ff-hook):
10654 Check against user-error, not error.
10656 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10657 cl-specs.el, which no longer exists.
10659 2012-05-22 Glenn Morris <rgm@gnu.org>
10661 * info.el (info-emacs-bug): New command.
10662 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10663 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10665 2012-05-21 Glenn Morris <rgm@gnu.org>
10667 * makefile.w32-in (update-subdirs-SH):
10668 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10670 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10672 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10675 Simplify Maven regexp, and make sure the file can't start with a space
10678 2012-05-21 Glenn Morris <rgm@gnu.org>
10680 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10681 Scrap superfluous subshells.
10683 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10686 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10688 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10690 * calc/calc.el (calc-ensure-consistent-units): New variable.
10692 * calc/calc-units.el (math-consistent-units-p)
10693 (math-check-unit-consistency): New functions.
10694 (calc-quick-units, calc-convert-units):
10695 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10697 (calc-extract-units): Fix typo.
10699 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10701 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10703 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10704 (flyspell-default-deplacement-commands): Don't spell check after
10705 repeated window/frame switches (e.g. triggered by mouse-movement).
10706 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10707 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10708 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10709 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10710 Remove unused vars.
10711 (flyspell-get-casechars, flyspell-get-not-casechars):
10712 Simplify; Don't bother removing a ] just to add it back.
10713 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10715 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10717 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10719 (math-function-table): Add support for more C functions.
10721 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10723 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10724 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10725 Protect delay handling for otherchars against empty otherchars.
10727 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10729 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10730 their respective macro declarations.
10731 * skeleton.el (define-skeleton):
10732 * progmodes/compile.el (define-compilation-mode):
10733 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10734 (define-ibuffer-filter):
10735 * emacs-lisp/generic.el (define-generic-mode):
10736 * emacs-lisp/easy-mmode.el (define-minor-mode)
10737 (define-globalized-minor-mode):
10738 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10739 * emacs-lisp/byte-run.el (defsubst):
10740 * custom.el (deftheme): Add doc-string metadata.
10742 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10746 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10748 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10750 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10751 * emacs-lisp/cl-macs.el: Idem.
10752 * emacs-lisp/cl-specs.el: Remove.
10754 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10756 Minor renaming of internal CL functions and variables.
10757 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10758 (cl--position): Rename from cl-position.
10759 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10760 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10761 (cl--random-state): Rename from *random-state*.
10763 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10765 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10766 parens around the arg list (bug#11499).
10768 2012-05-17 Juri Linkov <juri@jurta.org>
10770 * isearch.el (word-search-regexp, word-search-backward)
10771 (word-search-forward, word-search-backward-lax)
10772 (word-search-forward-lax): Move functions from search.c
10773 (bug#10145, bug#11381).
10775 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10777 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10778 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10779 Delay for otherchars as for normal word components.
10781 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * minibuffer.el (completion--sifn-requote): Fix last change.
10784 (minibuffer-local-must-match-filename-map):
10785 Move define-obsolete-variable-alias before its var.
10787 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10791 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10793 (completion--string-equal-p): New function.
10794 (completion--twq-all): Use it to get better assertion failure data.
10796 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10797 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10798 (shell--requote-argument): New functions.
10799 (shell-completion-vars): Use them.
10800 (shell--parse-pcomplete-arguments): Rename from
10801 shell-parse-pcomplete-arguments.
10802 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10803 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10804 Obey comint-file-name-quote-list.
10806 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10807 (smie-indent-keyword): Use it.
10809 2012-05-14 Stefan Merten <smerten@oekonux.de>
10811 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10813 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * net/rlogin.el (rlogin-mode-map): Fix last change.
10817 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10819 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10820 the following \r\n using a single `process-send-string', since the
10821 Lotus SMTP server refuses to accept any commands if they are sent
10822 with two `process-send-string's (Bug#11444).
10824 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * shell.el (shell-parse-pcomplete-arguments):
10827 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10829 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10831 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10832 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10833 (image-transform-width, image-transform-fit-width): New functions.
10834 (image-transform-properties): Use them.
10835 (image-transform-check-size): New function.
10836 (image-toggle-display-image): Use it (for testing).
10837 (image-transform-set-rotation): Reduce angle mod 360.
10838 Delete obsolete comment.
10840 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10842 * image-mode.el: Fix scaling (bug#11399).
10843 (image-transform-resize): Doc fix.
10844 (image-transform-properties): Default scale is 1 and height should
10847 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10849 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10850 than hard-coding `car', to fix misbehavior when moving forward.
10852 2012-05-13 Chong Yidong <cyd@gnu.org>
10854 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10855 (tabulated-list-entries, tabulated-list-padding)
10856 (tabulated-list-sort-key): Make permanent-local.
10858 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10859 (electric-buffer-list): Put electric buffer menu
10860 command descriptions in this docstring, instead of the docstring
10861 of electric-buffer-menu-mode. Code cleanups.
10862 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10863 Electric-buffer-menu-mode.
10864 (electric-buffer-update-highlight): Minor code cleanup.
10866 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10868 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10871 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10873 Move define-obsolete-variable-alias before the var's definition.
10874 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10875 * tooltip.el (tooltip-hook):
10876 * textmodes/reftex-toc.el (reftex-toc-map):
10877 * textmodes/reftex-sel.el (reftex-select-label-map)
10878 (reftex-select-bib-map):
10879 * textmodes/reftex-index.el (reftex-index-map)
10880 (reftex-index-phrases-map):
10881 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10882 * progmodes/meta-mode.el (meta-mode-map):
10883 * novice.el (disabled-command-hook):
10884 * loadhist.el (unload-hook-features-list):
10885 * frame.el (blink-cursor):
10886 * files.el (find-file-not-found-hooks, write-file-hooks)
10887 (write-contents-hooks):
10888 * emulation/tpu-edt.el (GOLD-map):
10889 * emacs-lock.el (emacs-lock-from-exiting):
10890 * emacs-lisp/generic.el (generic-font-lock-defaults):
10891 * emacs-lisp/chart.el (chart-map):
10892 * dos-fns.el (register-name-alist):
10893 * dired-x.el (dired-omit-files-p):
10894 * desktop.el (desktop-enable):
10895 * cus-edit.el (custom-mode-hook):
10896 * buff-menu.el (buffer-menu-mode-hook):
10897 * bookmark.el (bookmark-read-annotation-text-func)
10898 (bookmark-exit-hooks):
10899 * allout.el (allout-mode-deactivate-hook)
10900 (allout-exposure-change-hook, allout-structure-added-hook)
10901 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10902 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10903 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10904 comes before the corresponding variable's definition.
10906 2012-05-12 Chong Yidong <cyd@gnu.org>
10908 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10909 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10910 (Buffer-menu-mode-map): Bind it.
10911 (Buffer-menu--pretty-name): Add a mouse-face property.
10913 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10915 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10916 (prolog-upper-case-string, prolog-lower-case-string)
10917 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10918 (prolog-use-smie, prolog-smie-grammar): New vars.
10919 (prolog-smie-forward-token, prolog-smie-backward-token)
10920 (prolog-smie-rules): New funs.
10921 (prolog-comment-indent): Remove.
10922 (prolog-mode-variables): Use default comment indentation instead.
10924 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10925 (prolog-mode): Don't call them any more.
10926 (prolog-electric-colon, prolog-electric-dash)
10927 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10929 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10931 * minibuffer.el (completion--twq-all): Again, allow case differences.
10933 * term.el: Move keymap initialization code to be more idiomatic.
10934 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10935 (term-terminal-menu): Move initialization into declaration.
10936 (term-escape-char): Let the user set it in her .emacs.
10938 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10939 Provide SMIE-based indentation (not enabled by default yet).
10940 (sh-mode-map): Don't bind electric keys.
10941 Use electric-pair-mode instead of skeleton-pair.
10942 (sh-assignment-regexp): Fit within 80 columns.
10943 (sh-indent-supported): Specify actual shell name instead of boolean.
10944 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10945 (sh-maybe-here-document): Use it. Make obsolete.
10946 (sh-electric-here-document-mode) New minor mode.
10947 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10948 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10949 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10950 (sh-smie-rc-grammar, sh-use-smie): New vars.
10951 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10952 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10953 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10954 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10955 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10956 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10957 (sh-set-shell): Use smie-setup if requested.
10959 * term.el (term-set-escape-char): Properly set term-escape-char.
10960 See http://stackoverflow.com/questions/10524656.
10962 2012-05-10 Chong Yidong <cyd@gnu.org>
10964 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10965 Use url-generic-parse-url, and handle host names and Windows
10966 filenames properly.
10967 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10968 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10969 URL schemes to work on.
10970 (ffap--toggle-read-only): New function.
10971 (ffap-read-only, ffap-read-only-other-window)
10972 (ffap-read-only-other-frame): Use it.
10973 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10974 necessary for ffap-url-unwrap-remote.
10976 2012-05-10 Dave Abrahams <dave@boostpro.com>
10978 * cus-start.el (create-lockfiles): Add it.
10980 2012-05-09 Chong Yidong <cyd@gnu.org>
10982 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10983 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10985 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10989 2012-05-09 Chong Yidong <cyd@gnu.org>
10991 * ansi-color.el (ansi-color-process-output): Check for validity of
10992 comint-last-output-start before using it. This avoids a bad
10993 interaction with gdb-mi's input/output buffer.
10995 2012-05-09 Glenn Morris <rgm@gnu.org>
10997 * files.el (dir-locals-read-from-file):
10998 Mention dir-locals in any error message.
11000 2012-05-09 Chong Yidong <cyd@gnu.org>
11002 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11003 package (Bug#11410).
11005 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11006 variables into description.
11008 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11010 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11011 shell-delimiter-argument-list (bug#11348).
11012 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11014 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11016 * textmodes/rst.el: Silence byte-compiler warnings.
11017 (rst-re-alist, rst-reset-section-caches): Move around.
11018 (rst-re): Use `characterp', not `char-valid-p'.
11019 (font-lock-beg, font-lock-end): Declare.
11021 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11022 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11024 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11026 2012-05-08 Glenn Morris <rgm@gnu.org>
11028 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11030 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * vc/log-edit.el: Add GNU coding standards highlighting.
11033 (log-edit-font-lock-gnu-style)
11034 (log-edit-font-lock-gnu-keywords): New vars.
11035 (log-edit-font-lock-keywords): New fun.
11036 (log-edit-mode): Don't fold case in font-lock.
11037 (log-edit-font-lock-keywords): Do not assume case-folding.
11039 * imenu.el: Misc cleanup. Make docstrings out of comments.
11040 Use lexical-binding.
11041 (imenu--index-alist, imenu--last-menubar-index-alist)
11042 (imenu-menubar-modified-tick): Use defvar-local.
11043 (imenu--split-menu): Remove unused var.
11044 (imenu--cleanup-seen): Declare as global.
11045 (imenu--cleanup): Use dolist.
11047 * subr.el (defvar-local): Add debug spec and doc-string position.
11049 2012-05-08 Glenn Morris <rgm@gnu.org>
11051 * language/burmese.el, language/cham.el, language/czech.el:
11052 * language/english.el, language/georgian.el, language/greek.el:
11053 * language/japanese.el, language/khmer.el, language/korean.el:
11054 * language/lao.el, language/misc-lang.el, language/romanian.el:
11055 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11056 * language/thai.el, language/utf-8-lang.el:
11057 Remove no-byte-compile setting.
11059 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11061 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11063 * progmodes/make-mode.el (makefile-browse):
11064 Remove unnecessary interactive. (Bug#11324)
11066 2012-05-07 Glenn Morris <rgm@gnu.org>
11068 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11070 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11072 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11074 * loadup.el: Preload newcomment.el.
11075 * newcomment.el: Move autoload-only code to toplevel.
11077 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11078 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11079 Handle new :right-align column property.
11080 (tabulated-list-print-col): Idem, plus use `display' text-property to
11081 try and preserve alignment for variable pitch fonts.
11083 2012-05-07 Chong Yidong <cyd@gnu.org>
11085 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11086 (tabulated-list-use-header-line): New var.
11087 (tabulated-list-init-header): Use it.
11088 (tabulated-list-print-fake-header): New function.
11089 (tabulated-list-print): Use it.
11090 (tabulated-list-sort-button-map): Add non-header-line commands.
11091 (tabulated-list-init-header): Add column name property to basic
11093 (tabulated-list-col-sort): Handle non-header-line button case.
11094 (tabulated-list--sort-by-column-name): Fix a corner case.
11096 * buff-menu.el (list-buffers--refresh):
11097 Handle Buffer-menu-use-header-line.
11099 2012-05-06 Chong Yidong <cyd@gnu.org>
11101 * buff-menu.el: Convert to Tabulated List mode.
11102 (Buffer-menu-buffer+size-width): Make obsolete.
11103 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11104 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11105 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11106 documentation into docstring of buffer-menu.
11107 (Buffer-menu-toggle-files-only): Add an informative message.
11108 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11109 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11110 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11111 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11112 (Buffer-menu-execute, Buffer-menu-select)
11113 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11114 (Buffer-menu-bury): Use Tabulated List machinery.
11115 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11116 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11118 (list-buffers--refresh): New function.
11119 (list-buffers-noselect): Use it.
11120 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11121 (Buffer-menu--pretty-file-name): New helper functions.
11123 * loadup.el: Preload tabulated-list.
11125 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11126 tabulated-list-sort-column.
11127 (tabulated-list-init-header): Add the initial aligning space even
11128 if tabulated-list-padding is zero.
11130 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11132 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11133 whose cdr is not a cons cell correctly (bug#11038).
11135 2012-05-06 Chong Yidong <cyd@gnu.org>
11137 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11138 Accept additional plist in column descriptors.
11139 (tabulated-list-init-header): Obey it.
11140 (tabulated-list-get-entry): New function.
11141 (tabulated-list-put-tag): Use it. Use string-width instead of
11143 (tabulated-list--column-number): New function.
11144 (tabulated-list-print): Use it.
11145 (tabulated-list-print-col): New function.
11146 Set `tabulated-list-column-name' property on each column's text.
11147 (tabulated-list-print-entry): Use it.
11148 (tabulated-list-delete-entry, tabulated-list-set-col):
11150 (tabulated-list-sort-column): New command (Bug#11337).
11152 * buff-menu.el (list-buffers): Move C-x C-b binding from
11153 buff-menu.el to bindings.el.
11155 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11156 :advertised-binding feature.
11158 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11160 * progmodes/compile.el (compilation-internal-error-properties):
11161 Calculate start position correctly when end-col is set but
11162 end-line is not (Bug#11382).
11164 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11166 * man.el (Man-unindent): Use text-property-default-nonsticky to
11167 prevent untabify from inheriting face properties (Bug#11408).
11169 2012-05-05 Stefan Merten <smerten@oekonux.de>
11171 * textmodes/rst.el: Major merge with upstream development up to
11172 Docutils SVN r7399 / rst.el V1.2.1.
11174 Clarify maintainership and authors.
11176 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11177 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11178 (rst-official-version, rst-official-cvs-rev, rst-version)
11179 (rst-package-emacs-version-alist): New functions and variables
11180 for version information.
11182 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11183 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11184 (rst-mode-syntax-table, rst-mode): New and corrected functions
11185 and variables representing reStructuredText features.
11187 (rst-re): New function for reStructuredText regexes. Use in
11190 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11191 (rst-mode-map): Rebind keys.
11193 (rst-mode-lazy, rst-font-lock-keywords)
11194 (rst-font-lock-extend-region)
11195 (rst-font-lock-extend-region-internal)
11196 (rst-font-lock-extend-region-extend)
11197 (rst-font-lock-find-unindented-line-limit)
11198 (rst-font-lock-find-unindented-line-match)
11199 (rst-adornment-level, rst-font-lock-adornment-level)
11200 (rst-font-lock-adornment-match)
11201 (rst-font-lock-handle-adornment-pre-match-form)
11202 (rst-font-lock-handle-adornment-matcher): Major revision of
11203 font-locking. Integrate with other code. Use `jit-lock-mode'.
11205 (rst-preferred-adornments, rst-adjust-hook)
11206 (rst-new-adornment-down, rst-preferred-bullets)
11207 (rst-preferred-bullets, rst-indent, rst-indent-width)
11208 (rst-indent-field, rst-indent-literal-normal)
11209 (rst-indent-literal-minimized, rst-indent-comment): Change,
11210 extend and improve customization.
11212 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11213 (rst-normalize-cursor-position, rst-get-decoration)
11214 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11215 (rst-rstrip, rst-toc-insert-find-delete-contents)
11216 (rst-shift-fill-region, rst-compute-bullet-tabs)
11217 (rst-debug-print-tabs, rst-debug-mark-found)
11218 (rst-shift-region-guts, rst-shift-region-right)
11219 (rst-shift-region-left, rst-use-char-classes)
11220 (rst-font-lock-keywords-function)
11221 (rst-font-lock-indentation-point)
11222 (rst-font-lock-find-unindented-line-begin)
11223 (rst-font-lock-find-unindented-line-end)
11224 (rst-font-lock-find-unindented-line)
11225 (rst-font-lock-adornment-point, rst-font-lock-level)
11226 (rst-adornment-level-alist): Remove functions and variables.
11228 (rst-compare-adornments, rst-get-adornment-match)
11229 (rst-suggest-new-adornment, rst-get-adornments-around)
11230 (rst-adornment-complete-p, rst-get-next-adornment)
11231 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11232 (rst-straighten-adornments): Standardize function names to
11233 use "adornment" instead of "decoration". Correct callers.
11234 Similar standardizing in many places.
11236 (rst-update-section, rst-adjust, rst-promote-region)
11237 (rst-enumerate-region, rst-bullet-list-region)
11238 (rst-repeat-last-character): Correct use of `interactive'.
11240 (rst-classify-adornment, rst-find-all-adornments)
11241 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11242 (rst-find-leftmost-column, rst-repeat-last-character):
11243 Refactor functions.
11245 (rst-find-title-line, rst-reset-section-caches)
11246 (rst-get-adornments-around, rst-adjust-adornment-work)
11247 (rst-arabic-to-roman, rst-roman-to-arabic)
11248 (rst-insert-list-pos, rst-insert-list-new-item)
11249 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11252 (rst-all-sections, rst-section-hierarchy)
11253 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11256 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11257 configuration instead of only buffer. Change where necessary.
11259 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11260 (rst-shift-region, rst-adaptive-fill): New functions for
11261 indentation and filling.
11263 (rst-comment-line-break, rst-comment-indent)
11264 (rst-comment-insert-comment, rst-comment-region)
11265 (rst-uncomment-region): New functions for handling comments.
11267 (rst-compile): Quote shell arguments.
11269 (rst-compile-pdf-preview, rst-compile-slides-preview):
11270 Delete temporary files after use.
11272 2012-05-05 Glenn Morris <rgm@gnu.org>
11274 * calendar/cal-html.el: Optionally include holidays in the output.
11275 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11276 (cal-html-holidays): New option.
11277 (cal-html-css-default): Add holiday entry.
11278 (holiday-in-range): Autoload it.
11279 (cal-html-htmlify-entry): Add optional class argument.
11280 (cal-html-htmlify-list): Add optional holidays argument.
11281 (cal-html-insert-agenda-days): Include holidays in the output.
11282 (cal-html-one-month): Maybe include holidays.
11284 * calendar/holidays.el (holiday-in-range):
11285 Move here from cal-tex-list-holidays.
11286 * calendar/cal-tex.el (cal-tex-list-holidays):
11287 Make it an obsolete alias for holiday-in-range. Update all callers.
11289 2012-05-05 Chong Yidong <cyd@gnu.org>
11291 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11294 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11296 * files.el (file-auto-mode-skip): New var.
11297 (set-auto-mode-1): Use it.
11299 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * repeat.el: Use lexical-binding.
11302 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11303 (repeat-undo-count): Remove.
11305 * progmodes/octave-mod.el (octave-abbrev-start):
11306 * progmodes/f90.el (f90-abbrev-start):
11307 * face-remap.el (text-scale-adjust):
11308 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11310 * emacs-lisp/pcase.el (pcase--let*): New function.
11311 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11313 (pcase--split-pred): Be more clever about ruling out overlap between
11314 a predicate and some constant pattern.
11315 (pcase--q1): Use `null' instead of (eq foo nil).
11317 * subr.el (setq-local, defvar-local): New macros.
11318 (kbd): Redefine as an alias.
11319 (with-selected-window): Leave unrelated frames alone.
11320 (set-temporary-overlay-map): New function.
11322 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11324 * subr.el (user-error): New function.
11325 * window.el (switch-to-buffer):
11326 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11327 (smerge-match-conflict):
11328 * simple.el (previous-matching-history-element)
11329 (next-matching-history-element, goto-history-element, undo-more)
11331 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11332 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11333 (next-file, tags-loop-scan, list-tags, complete-tag):
11334 * progmodes/compile.el (compilation-loop):
11335 * mouse.el (mouse-minibuffer-check):
11336 * man.el (Man-bgproc-sentinel, Man-goto-page):
11337 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11338 (Info-history-forward, Info-follow-reference, Info-menu)
11339 (Info-extract-menu-item, Info-extract-menu-counting)
11340 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11341 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11342 (Info-next-reference, Info-prev-reference, Info-index)
11343 (Info-index-next, Info-follow-nearest-node)
11344 (Info-copy-current-node-name):
11345 * imenu.el (imenu--make-index-alist)
11346 (imenu-default-create-index-function, imenu-add-to-menubar):
11347 * files.el (basic-save-buffer, recover-file):
11348 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11349 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11350 (checkdoc-message-text, checkdoc-defun):
11351 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11352 * cus-edit.el (customize-changed-options, customize-rogue)
11353 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11354 (custom-variable-mark-to-reset-standard)
11355 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11357 * completion.el (check-completion-length):
11358 * comint.el (comint-search-arg)
11359 (comint-previous-matching-input-string-position)
11360 (comint-previous-matching-input)
11361 (comint-replace-by-expanded-history-before-point, comint-send-input)
11362 (comint-copy-old-input, comint-backward-matching-input)
11363 (comint-goto-process-mark, comint-set-process-mark):
11364 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11365 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11367 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11369 * dabbrev.el (dabbrev--ignore-case-p): New function.
11370 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11373 * files.el (automount-dir-prefix): Mark as obsolete.
11375 2012-05-04 Glenn Morris <rgm@gnu.org>
11377 * patcomp.el, play/bruce.el: Move to obsolete/.
11379 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11381 Fix minor Y10k bugs.
11382 * arc-mode.el (archive-unixdate):
11383 * autoinsert.el (auto-insert-alist):
11384 * calc/calc-forms.el (math-this-year):
11385 * emacs-lisp/copyright.el (copyright-current-year)
11386 (copyright-update-year, copyright):
11387 * tar-mode.el (tar-clip-time-string):
11388 * time.el (display-time-update):
11389 Don't assume years have 4 digits.
11391 2012-05-04 Chong Yidong <cyd@gnu.org>
11393 * dos-w32.el (file-name-buffer-file-type-alist)
11394 (direct-print-region-use-command-dot-com):
11395 * ffap.el (ffap-menu-regexp):
11396 * find-file.el (ff-special-constructs):
11397 * follow.el (follow-debug):
11398 * forms.el (forms--debug):
11399 * iswitchb.el (iswitchb-all-frames):
11400 * ido.el (ido-all-frames):
11401 * emacs-lisp/timer.el (timer-max-repeats):
11402 * mail/feedmail.el (feedmail-mail-send-hook)
11403 (feedmail-mail-send-hook-queued):
11404 * mail/footnote.el (footnote-signature-separator):
11405 * mail/mailabbrev.el (mail-alias-separator-string)
11406 (mail-abbrev-mode-regexp):
11407 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11408 * progmodes/idlwave.el (idlwave-libinfo-file)
11409 (idlwave-default-completion-case-is-down)
11410 (idlwave-library-routines): Convert defvars to defcustoms.
11412 * mail/rmail.el (rmail-decode-mime-charset):
11413 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11414 (idlwave-shell-fix-inserted-breaks)
11415 (idlwave-shell-activate-alt-keybindings)
11416 (idlwave-shell-use-breakpoint-glyph):
11417 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11419 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11421 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11423 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11425 * progmodes/verilog-mode.el (font-lock-keywords):
11426 Fix mis-highligting auto. Reported by Craig Barner.
11427 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11428 defines from global name space. Reported by Dan Dever.
11429 (verilog-auto-reset, verilog-auto-reset-widths)
11430 (verilog-auto-tieoff): Support using unbased numbers for
11431 AUTORESET and AUTOTIEOFF.
11432 (verilog-submit-bug-report): Update variable list.
11433 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11434 parenthesis from not matching. Reported by Michael Rytting.
11435 (verilog-auto-template-lint): Fix hash error when linting modules
11436 with no used templates.
11437 (verilog-warn, verilog-warn-error)
11438 (verilog-warn-fatal): When non-interactive report multiple
11439 warnings before exiting. Suggested by Brad Dobbie.
11440 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11441 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11442 to report unused template errors. Reported by Brad Dobbie.
11443 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11444 nets, bug438. Reported by Vns Blore.
11445 (verilog-auto-inout-module, verilog-auto-reg)
11446 (verilog-read-decls, verilog-read-sub-decls-sig)
11447 (verilog-signals-edit-wire-reg, verilog-signals-with):
11448 Fix passing of Verilog data types in ANSI input/output ports
11449 such as "output logic" into the AUTOs. Special case "wire" and
11450 "reg" for backwards compatibility presuming Verilog 2001.
11451 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11452 (verilog-preprocess): Fix replication of preprocess output.
11453 Reported by Brad Dobbie.
11454 (verilog-auto-inst-interfaced-ports):
11455 Create verilog-auto-inst-interfaced-ports, bug429.
11456 Reported by Julian Gorfajn.
11457 (verilog-after-save-font-hook)
11458 (verilog-before-save-font-hook): New variable.
11459 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11460 (verilog-save-font-mods): Wrap disabling fontification, reported
11462 (verilog-do-indent, verilog-pretty-declarations-auto)
11463 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11464 Reported by Pierre-David Pfister.
11465 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11466 of class declarations, bug292. Reported by Kevin Heilman.
11467 (verilog-read-decls): Fix 'parameter type' not appearing in
11468 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11469 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11470 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11471 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11472 Reported by David Kravitz.
11474 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11476 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11477 assignment with tests in ifs and for loops.
11478 (verilog-extended-complete-re, verilog-complete-reg): Change so
11479 that DPI inport functions don't look like fuction declarations.
11480 (verilog-pretty-expr): Don't line up assignment
11481 operations to the test and increment in if and for loops
11482 (verilog-extended-complete-re, verilog-complete-reg): Change so
11483 that DPI inport functions don't look like fuction declarations.
11485 2012-05-03 Kenichi Handa <handa@m17n.org>
11487 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11488 decoding, and show a warning message without signaling an error
11491 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11493 * emacs-lisp/bytecomp.el
11494 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11495 since cconv.el might have introduced :fun-body, internal-make-closure,
11496 and friends for bytecomp to handle (bug#11391).
11497 * custom.el (defcustom): Avoid ((λ ..) ..).
11499 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11501 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11503 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11505 * notifications.el (dbus-debug):
11506 * term/linux.el (gpm-mouse-enable):
11507 * term/screen.el (xterm-register-default-colors): Declare.
11509 2012-05-02 Chong Yidong <cyd@gnu.org>
11511 * cus-start.el (gc-cons-percentage, exec-suffixes)
11512 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11513 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11514 (make-cursor-line-fully-visible, void-text-area-pointer)
11515 (font-list-limit): Add customization data.
11517 * allout.el (allout-exposure-change-functions)
11518 (allout-structure-added-functions)
11519 (allout-structure-deleted-functions)
11520 (allout-structure-shifted-functions): Rename abnormal hooks from
11521 *-hook, and convert to defcustoms.
11522 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11523 Convert to defcustoms.
11524 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11526 * allout-widgets.el: Hook callers changed.
11528 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11530 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11531 the yanked message in preference to the default value of
11532 buffer-file-coding-system.
11534 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11536 * window.el (display-buffer--action-function-custom-type):
11539 2012-05-02 Alan Mackenzie <acm@muc.de>
11541 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11543 2012-05-01 Glenn Morris <rgm@gnu.org>
11545 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11547 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11549 * cus-edit.el (custom-variable-documentation): Simplify with format.
11551 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11552 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * simple.el (suggest-key-bindings, execute-extended-command):
11555 Move from keyboard.c.
11557 2012-05-01 Chong Yidong <cyd@gnu.org>
11559 * follow.el: Eliminate advice.
11560 (set-process-filter, process-filter, sit-for): Advice deleted.
11561 (follow-mode-off-hook): Obsolete hook removed.
11562 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11564 (follow-auto): Use a :set function.
11565 (follow-mode): Rewritten. Don't advise process filters.
11566 (follow-switch-to-current-buffer-all, follow-scroll-up)
11567 (follow-scroll-down): Assume follow-mode is bound.
11568 (follow-comint-scroll-to-bottom)
11569 (follow-align-compilation-windows): New functions.
11570 (follow--window-sorter): New function.
11571 (follow-all-followers): Use it to explicitly sort windows by their
11572 positions; don't make assumptions about next-window order.
11573 (follow-windows-start-end, follow-delete-other-windows-and-split)
11574 (follow-calc-win-start): Doc fix.
11575 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11576 vertical-motion unnecessarily.
11577 (follow-adjust-window): New function.
11578 (follow-post-command-hook): Use it.
11579 (follow-call-set-process-filter, follow-call-process-filter)
11580 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11581 (follow-stop-intercept-process-output, follow-generic-filter):
11583 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11584 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11585 New functions, replacing advice on scroll-bar-* commands.
11586 (follow-mwheel-scroll): New function (Bug#4112).
11588 * comint.el (comint-adjust-point): New function.
11589 (comint-postoutput-scroll-to-bottom): Use it.
11590 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11592 2012-05-01 Glenn Morris <rgm@gnu.org>
11594 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11595 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11596 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11597 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11598 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11599 Remove no-byte-compile setting.
11601 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11603 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11604 all-completions code to not return a number in the last cdr.
11606 2012-04-30 Leo Liu <sdl.web@gmail.com>
11608 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11611 2012-04-29 Chong Yidong <cyd@gnu.org>
11613 * follow.el (follow-calc-win-end): Rewrite to handle partial
11614 screen lines correctly (Bug#8390).
11615 (follow-avoid-tail-recenter): Minor cleanup.
11617 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11619 Avoid the obsolete `assoc' package.
11620 * speedbar.el (speedbar-refresh): Avoid adelete.
11621 (speedbar-file-lists): Simplify and avoid aput.
11622 * man.el (Man--sections, Man--refpages): New vars, replacing
11623 Man-sections-alist and Man-refpages-alist.
11624 (Man-build-section-alist, Man-build-references-alist):
11625 Use them; avoid aput.
11626 (Man--last-section, Man--last-refpage): New vars.
11627 (Man-follow-manual-reference): Use them.
11628 Use the `default' arg of completing-read.
11629 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11631 2012-04-27 Chong Yidong <cyd@gnu.org>
11633 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11635 * startup.el (x-apply-session-resources): New function.
11637 * term/ns-win.el (ns-initialize-window-system):
11638 * term/w32-win.el (w32-initialize-window-system):
11639 * term/x-win.el (x-initialize-window-system): Use it to properly
11640 set menu-bar-mode and other vars from X resources, even if the
11641 initial frame is not a window-system frame (Bug#2299).
11643 * subr.el (read-key): Avoid running filter function when setting
11644 up temporary tool bar entries (Bug#9922).
11646 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11648 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11651 2012-04-27 Chong Yidong <cyd@gnu.org>
11653 * select.el (xselect--encode-string): New function, split from
11654 xselect-convert-to-string.
11655 (xselect-convert-to-string): Use it.
11656 (xselect-convert-to-filename, xselect-convert-to-os)
11657 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11658 returned strings are properly encoded (Bug#11315).
11660 2012-04-27 Chong Yidong <cyd@gnu.org>
11662 * simple.el (delete-active-region): Move to killing custom group.
11664 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11666 * progmodes/which-func.el (which-func-current): Quote %
11667 characters for mode-line processing.
11669 2012-04-27 Chong Yidong <cyd@gnu.org>
11671 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11672 reaching eob (Bug#11286).
11674 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11676 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11677 (gdb): Make it buffer-local and init to zero.
11678 (gdb-control-commands-regexp): New variable.
11679 (gdb-send): Don't wrap in "-interpreter-exec console" if
11680 gdb-control-level is positive. Increment gdb-control-level
11681 whenever the command matches gdb-control-commands-regexp, and
11682 decrement it each time the command is "end". (Bug#11279)
11684 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11686 * window.el (adjust-window-trailing-edge, enlarge-window)
11687 (shrink-window, window-resize):
11688 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11689 windows (Bug#11276).
11691 2012-04-27 Chong Yidong <cyd@gnu.org>
11693 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11694 fix "missing prefix" warning. All callers changed.
11696 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11698 * emacs-lisp/assoc.el: Move to obsolete/.
11700 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11702 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11704 * term/ns-win.el (ns-define-service):
11705 * progmodes/pascal.el (pascal-goto-defun):
11706 * progmodes/js.el (js--read-tab):
11707 * progmodes/etags.el (tags-lazy-completion-table):
11708 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11709 * emacs-lisp/ewoc.el (ewoc--wrap):
11710 * emacs-lisp/assoc.el (aput, adelete, amake):
11711 * doc-view.el (doc-view-convert-current-doc):
11712 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11714 2012-04-26 Chong Yidong <cyd@gnu.org>
11716 * image.el (image-type-from-buffer): Only return supported image
11719 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11720 value, for symmetry with diff-end-of-hunk.
11721 (diff-split-hunk, diff-find-source-location)
11722 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11723 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11724 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11725 compute the relevant hunk or file properly (Bug#6005).
11726 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11728 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11737 * vc/vc.el: Replace lexical-let by lexical-binding.
11738 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11739 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11740 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11742 2012-04-26 Chong Yidong <cyd@gnu.org>
11744 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11745 (diff-mode-shared-map): Bind it to / and [remap undo].
11747 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11748 (ediff-window-setup-function): Use it as the default, to set up
11749 windows based on whether the current frame is graphical (Bug#2138).
11750 (ediff-choose-window-setup-function-automatically): Make obsolete.
11752 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11754 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11756 * ffap.el: Remove old code for obsolete package.
11757 (ffap-complete-as-file-p): Remove.
11759 Use completion-table-with-quoting for comint and pcomplete.
11760 * comint.el (comint--unquote&requote-argument)
11761 (comint--unquote-argument, comint--requote-argument): New functions.
11762 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11763 (comint-quote-filename): Use regexp-opt-charset.
11764 (comint--common-suffix, comint--common-quoted-suffix)
11765 (comint--table-subvert): Remove.
11766 (comint-unquote-function, comint-requote-function): New vars.
11767 (comint--complete-file-name-data): Use them with
11768 completion-table-with-quoting.
11769 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11770 * pcomplete.el (pcomplete-arg-quote-list)
11771 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11772 (pcomplete-unquote-argument-function): Default to non-nil.
11773 (pcomplete-unquote-argument): Simplify.
11774 (pcomplete--common-quoted-suffix): Remove.
11775 (pcomplete-requote-argument-function): New var.
11776 (pcomplete--common-suffix): New function.
11777 (pcomplete-completions-at-point): Use completion-table-with-quoting
11778 and completion-table-subvert.
11780 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11781 (minibuffer--double-dollars): Preserve properties.
11782 (completion--sifn-requote): New function.
11783 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11785 * minibuffer.el: Add support for completion of quoted/escaped data.
11786 (completion-table-with-quoting, completion-table-subvert): New funs.
11787 (completion--twq-try, completion--twq-all): New functions.
11788 (completion--nth-completion): New function.
11789 (completion-try-completion, completion-all-completions): Use it.
11791 2012-04-25 Leo Liu <sdl.web@gmail.com>
11793 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11794 Use compilation-message if available to find real filename.
11796 2012-04-25 Chong Yidong <cyd@gnu.org>
11798 * vc/diff-mode.el (diff-setup-whitespace): New function.
11799 (diff-mode): Use it.
11801 * vc/diff.el (diff-sentinel):
11802 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11803 Whitespace mode variables based on diff style (Bug#8612).
11805 2012-04-25 Leo Liu <sdl.web@gmail.com>
11807 * progmodes/python.el (python-send-region): Add suffix .py to the
11810 * files.el (auto-mode-alist): Use javascript-mode instead.
11812 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11814 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11816 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11817 (soap-resolve-references-for-array-type): Hack to prevent self
11818 references, see Bug#9.
11819 (soap-parse-envelope): Report the contents of the 'detail' node
11820 when receiving a fault reply.
11821 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11823 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11824 (soap-inspect-simple-type): New function.
11826 * net/soap-client.el (soap-simple-type): New struct.
11827 (soap-default-xsd-types, soap-default-soapenc-types)
11828 (soap-decode-basic-type, soap-encode-basic-type):
11829 support unsignedInt and double basic types.
11830 (soap-resolve-references-for-simple-type)
11831 (soap-parse-simple-type, soap-encode-simple-type): New function.
11832 (soap-parse-schema): Parse xsd:simpleType declarations.
11834 * net/soap-client.el (soap-default-xsd-types)
11835 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11836 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11837 the local name of "soapenc:Array".
11838 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11839 decoding integer, byte and anyURI xsd types.
11841 2012-04-25 Chong Yidong <cyd@gnu.org>
11843 * cus-edit.el (custom-buffer-create-internal): Update header text.
11845 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11847 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11848 settings on 'system-type', not on 'window-system'. On MS-Windows,
11849 set interactive-mode on in GDB.
11851 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11853 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11854 (ruby-syntax-propertize-regexp): Remove.
11855 (ruby-syntax-propertize-function): Split regexp into chunks.
11856 Match following code directly.
11858 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11860 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11861 (ruby-syntax-propertize-regexp): New function.
11862 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11863 by a special keyword.
11865 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11866 (ruby-syntax-general-delimiters-goto-beg)
11867 (ruby-syntax-propertize-general-delimiters): New functions.
11868 (ruby-syntax-propertize-function): Use them to handle GDL.
11869 (ruby-font-lock-keywords): Move old handling of GDL...
11870 (ruby-font-lock-syntactic-keywords): .. to here.
11871 (ruby-calculate-indent): Adjust indentation for GDL.
11873 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11875 * notifications.el (top): Remove unneeded declarations.
11876 (notifications-specification-version): Change to "1.2".
11877 (notifications-interface, notifications-notify-method)
11878 (notifications-close-notification-method): Fix docstring.
11879 (notifications-get-capabilities-method): New defconst.
11880 (notifications-notify): Add :action-items, :resident and
11881 :transient hints. Change "image_data" to "image-data" and
11882 "image_path" to "image-path".
11883 (notifications-get-capabilities): New defun.
11885 2012-04-24 Leo Liu <sdl.web@gmail.com>
11887 * progmodes/python.el: Move hideshow setup to the end.
11889 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11891 * window.el (handle-select-window): Clear echo area since this is
11892 no more done by read_char (Bug#11304).
11894 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11896 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11897 and `/ M' to filter-derived-mode.
11898 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11899 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11900 (ibuffer-mark-by-mode): Use default rather than initial-input.
11901 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11903 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11905 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11906 (ibuffer-filter-by-derived-mode): New filter.
11907 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11909 2012-04-23 Andreas Politz <politza@fh-trier.de>
11911 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11913 2012-04-23 Chong Yidong <cyd@gnu.org>
11915 * cus-edit.el (customize-apropos, customize-apropos-options):
11916 Disable matching of non-option variables (Bug#11176).
11917 (customize-option, customize-option-other-window)
11918 (customize-changed-options): Doc fix.
11919 (customize-apropos-options, customize-apropos-faces)
11920 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11922 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11923 Fix word list splitting (Bug#11132).
11924 (apropos-symbol, apropos-keybinding, apropos-label)
11925 (apropos-property, apropos-function-button)
11926 (apropos-variable-button, apropos-misc-button): New faces.
11927 (apropos-symbol-face, apropos-keybinding-face)
11928 (apropos-label-face, apropos-property-face, apropos-match-face):
11929 Variables removed (Bug#8396).
11930 (apropos-library-button, apropos-format-plist, apropos-print)
11931 (apropos-print-doc, apropos-describe-plist): Callers changed.
11933 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11935 * net/xesam.el (xesam-mode-map): Use let-bound map in
11936 initialization. (Bug#11292)
11938 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11940 Preserve ispell session localwords when switching back to
11943 * textmodes/ispell.el (ispell-buffer-session-localwords):
11944 New buffer-local variable to hold buffer session localwords.
11945 (ispell-kill-ispell): Add option 'clear to delete session
11947 (ispell-command-loop, ispell-change-dictionary)
11948 (ispell-buffer-local-words): Preserve session localwords when
11951 * textmodes/flyspell.el (flyspell-process-localwords)
11952 (flyspell-do-correct): Preserve session localwords when needed.
11954 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11956 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11957 using obsolete `translation-table-for-input'.
11958 (ispell-word, ispell-process-line, ispell-complete-word):
11959 Use plain `insert' instead of removed `ispell-insert-word'.
11961 2012-04-22 Chong Yidong <cyd@gnu.org>
11963 * cus-edit.el (custom-variable-menu)
11964 (custom-variable-reset-saved, custom-face-menu)
11965 (custom-face-reset-saved): If there is no saved value, make the
11966 "reset-saved" operation bring back the default (Bug#9509).
11967 (custom-face-state): Properly detect themed faces.
11969 * faces.el (face-spec-set): Stop supporting deprecated form of
11972 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11974 Move functions from C to Lisp. Make non-blocking method calls
11975 the default. Implement further D-Bus standard interfaces.
11977 * net/dbus.el (dbus-message-internal): Declare function.
11978 Remove unneeded function declarations.
11979 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11980 (dbus-message-type-method-return, dbus-message-type-error)
11981 (dbus-message-type-signal): Declare variables. Remove local
11983 (dbus-interface-dbus, dbus-interface-peer)
11984 (dbus-interface-introspectable, dbus-interface-properties)
11985 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11987 (dbus-interface-objectmanager): New defconst.
11988 (dbus-call-method, dbus-call-method-asynchronously)
11989 (dbus-send-signal, dbus-method-return-internal)
11990 (dbus-method-error-internal, dbus-register-service)
11991 (dbus-register-signal, dbus-register-method): New defuns, moved
11993 (dbus-call-method-handler, dbus-setenv)
11994 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11996 (dbus-call-method-non-blocking): Make it an obsolete function.
11997 (dbus-unregister-object, dbus-unregister-service)
11998 (dbus-handle-event, dbus-register-property)
11999 (dbus-property-handler): Obey the new structure of
12000 `bus-registered-objects'.
12001 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12002 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12003 Use `dbus-call-method'.
12005 2012-04-22 Chong Yidong <cyd@gnu.org>
12007 * cus-edit.el (custom-commands, custom-reset-menu)
12008 (Custom-reset-standard): Tweak labels.
12009 (custom-reset-button-menu): Change default to t.
12010 (custom-buffer-create-internal): For the custom-reset-button-menu
12011 case, put the revert button first.
12012 (custom-group-subtitle): New face.
12013 (custom-group-value-create): Align docstring to a specific column.
12015 * wid-edit.el (widget-documentation-link-add): Don't handle
12016 indentation in this function.
12017 (widget-documentation-string-indent-to): New function.
12018 (widget-documentation-string-value-create): Use it.
12020 * autorevert.el (auto-revert):
12021 * epg-config.el (epg):
12022 * ibuffer.el (ibuffer):
12025 * eshell/eshell.el (eshell):
12026 * net/ange-ftp.el (ange-ftp):
12027 * progmodes/ebnf2ps.el (postscript):
12028 * progmodes/flymake.el (flymake):
12029 * progmodes/prolog.el (prolog):
12030 * progmodes/verilog-mode.el (verilog-mode):
12031 * progmodes/which-func.el (which-func):
12032 * term/xterm.el (xterm):
12033 * textmodes/picture.el (picture):
12034 * textmodes/tildify.el (tildify):
12035 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12036 customization buffers.
12038 2012-04-22 Alan Mackenzie <acm@muc.de>
12040 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12041 Adding a ) can hide the resulting (..) from searches. Fix it.
12042 Bound the backward search to the position of the existing (.
12044 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12046 * progmodes/verilog-mode.el (verilog-mode): Check whether
12047 which-func-modes is t before adding verilog-mode.
12048 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12050 2012-04-21 Leo Liu <sdl.web@gmail.com>
12052 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12054 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12056 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12057 filling of the last column of a table (Bug#5635).
12058 (woman-find-next-control-line): New arg, specifying an additional
12059 regexp component for the control line.
12060 (woman2-roff-buffer): Use it.
12061 (woman-break-table): New function.
12062 (woman2-TS): Use it.
12064 2012-04-21 Chong Yidong <cyd@gnu.org>
12066 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12067 (woman-horizontal-escapes, woman-negative-vertical-space)
12068 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12069 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12071 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12073 * minibuffer.el (completion-file-name-table): Complete user names.
12075 2012-04-20 Leo Liu <sdl.web@gmail.com>
12077 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12080 2012-04-20 Chong Yidong <cyd@gnu.org>
12082 * server.el (server-execute): Respect initial-buffer-choice if it
12083 is a string and there are no files to open (Bug#2825).
12084 (server-create-window-system-frame, server-create-tty-frame):
12085 Don't switch buffers here.
12086 (server-process-filter): Only try to open a window system frame if
12087 compiled with graphical support (Bug#8314).
12089 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12091 * battery.el (battery-echo-area-format): Display remaining time
12092 for sysfs backend too (Bug#11269).
12093 (battery-linux-sysfs): Fix conditional for the charge.
12095 2012-04-20 Chong Yidong <cyd@gnu.org>
12097 * progmodes/gdb-mi.el (gdb): Revert previous change.
12098 (gdb-inferior-io--init-proc): New function.
12099 (gdb-init-1): Use it.
12100 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12101 responsible for allocating a new pty and hooking it to gdb when
12102 the old pty gets an EIO due to process exit.
12103 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12104 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12105 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12107 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12109 * window.el (window-min-size, window-sizable, window-min-delta)
12110 (window-max-delta, window--resizable, window-resizable)
12111 (window-total-size, window-full-height-p, window-full-width-p)
12112 (window-in-direction, window--resize-mini-window, window-resize)
12113 (window--resize-child-windows-normal)
12114 (window--resize-child-windows, window--resize-siblings)
12115 (window--resize-this-window, adjust-window-trailing-edge)
12116 (enlarge-window, shrink-window): Doc fixes.
12118 2012-04-20 Chong Yidong <cyd@gnu.org>
12120 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12121 New function to call delete-process on the gdb-inferior buffer's pty.
12122 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12123 pty process (Bug#11273).
12124 (gdb-update): New arg to suppress talking to the gdb process.
12125 (gdb-done-or-error): Use it.
12126 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12127 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12128 sentinel not being called.
12130 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12132 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12134 2012-04-20 Glenn Morris <rgm@gnu.org>
12136 * net/network-stream.el (open-network-stream): Doc fix.
12138 2012-04-20 Chong Yidong <cyd@gnu.org>
12140 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12142 2012-04-20 Alan Mackenzie <acm@muc.de>
12144 Ensure searching for keywords is case sensitive.
12146 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12147 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12148 (c-defun-name, c-mark-function, c-cpp-define-name)
12149 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12150 (c-context-line-break): Bind case-fold-search to nil.
12152 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12153 Bind case-fold-search to nil.
12155 2012-04-20 Chong Yidong <cyd@gnu.org>
12157 * mail/sendmail.el (mail-bury): Call return action with the right
12158 Rmail buffer (Bug#11242).
12160 * server.el (server-process-filter): Handle corner case where both
12161 tty and nowait options are present (Bug#11102).
12163 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12165 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12166 (top level): Put into the executable the ident-style '$Id:' tag on
12167 windows-nt as well.
12169 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12171 * electric.el (electric-indent-post-self-insert-function): Check that
12172 electric-indent-mode is enabled in current buffer.
12174 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12176 * imenu.el (imenu-progress-message): Restore; it is "used" in
12177 erc/erc-imenu.el and net/snmp-mode.el.
12179 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12181 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12182 (mouse-avoidance-nudge-mouse): Remove unused binding.
12184 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12186 * descr-text.el (describe-char):
12187 * progmodes/python.el (python-describe-symbol):
12188 Don't call `toggle-read-only', set `buffer-read-only'.
12190 * imenu.el (imenu-default-goto-function): Mark unused args.
12191 (imenu-progress-message): Remove obsolete macro; all callers changed.
12193 * subr.el (keymap-canonicalize): Remove unused binding.
12194 (read-passwd): Mark unused arg.
12196 * tutorial.el (tutorial--display-changes): Remove unused binding.
12197 (tutorial--save-tutorial-to): Remove unused variable.
12199 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12200 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12201 (package-generate-autoloads, package-menu--generate)
12202 (package-menu--find-upgrades): Remove unused bindings.
12204 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12205 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12206 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12207 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12208 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12209 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12210 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12211 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12212 (cua-delete-char-rectangle): Mark unused args.
12213 (cua-align-rectangle): Remove unused binding.
12215 * mail/rmail.el (compilation--message->loc)
12216 (epa--find-coding-system-for-mime-charset): Declare.
12218 * net/dbus.el (dbus-register-service): Declare.
12219 (dbus-name-owner-changed-handler): Remove unused binding.
12221 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12222 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12223 (nxml-scan-backward-within): Mark unused arg.
12224 (nxml-dynamic-markup-word): Remove unused binding.
12226 * mouse.el (mouse-menu-major-mode-map):
12227 * emacs-lisp/authors.el (authors-scan-change-log)
12228 (authors-add-to-author-list):
12229 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12230 * emacs-lisp/smie.el (smie-auto-fill):
12231 * mail/sendmail.el (mail-bury):
12232 * mail/unrmail.el (unrmail):
12233 * net/tls.el (open-tls-stream):
12234 * textmodes/picture.el (picture-mouse-set-point):
12235 Remove unused bindings.
12237 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12239 * net/tramp.el (tramp-action-password): Let-bind
12240 `enable-recursive-minibuffers' to t.
12242 2012-04-18 Sam Steingold <sds@gnu.org>
12244 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12245 instead of 'string to accommodate values like [f11].
12246 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12247 * progmodes/gdb-mi.el: Likewise.
12249 2012-04-18 Leo Liu <sdl.web@gmail.com>
12251 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12253 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12256 2012-04-18 Chong Yidong <cyd@gnu.org>
12258 * simple.el (line-move): Use forward-line if in batch mode
12261 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12263 * files.el (after-find-file): Do not try to add a final newline if
12264 the buffer is read-only (Bug#11156).
12266 2012-04-17 Richard Stallman <rms@gnu.org>
12268 * mail/rmail.el (rmail-start-mail):
12269 Pass (rmail-mail-return...) for the return-action.
12270 Pass (rmail-yank-current-message...) for the yank-action.
12271 (rmail-yank-current-message): New function.
12272 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12273 (rmail-reply): Likewise.
12274 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12276 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12277 buffer, not the last. Reject temp buffers. Use the rmail-mode
12278 buffer, not newbuf.
12280 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12282 * server.el (server-ensure-safe-dir): Simplify.
12284 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12286 * emacs-lisp/smie.el: Provide smarter auto-filling.
12287 (smie-auto-fill): New function.
12288 (smie-setup): Use it.
12290 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12292 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12294 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12295 (comment-indent): Use it.
12297 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12299 * ses.el: The overall change is to add cell renaming, that is
12300 setting fancy names for cell symbols other than name matching
12301 "\\`[A-Z]+[0-9]+\\'" regexp .
12302 (ses-localvars): Add ses--renamed-cell-symb-list.
12303 (ses-create-cell-variable): New defun.
12304 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12305 (ses-relocate-formula): Relocate formulas only for cells the
12306 symbols of which are not renamed, i.e. symbols whose names do not
12307 match regexp "\\`[A-Z]+[0-9]+\\'".
12308 (ses-relocate-all): Relocate values only for cells the symbols of
12309 which are not renamed.
12310 (ses-load): Create cells variables as the (ses-cell ...) are read,
12311 in order to check row col consistency with cell symbol name only
12312 for cells that are not renamed.
12313 (ses-replace-name-in-formula): New defun.
12314 (ses-rename-cell): New defun.
12316 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12318 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12319 New option (bug#11118).
12320 (perl-calculate-indent): Respect it.
12322 2012-04-17 Glenn Morris <rgm@gnu.org>
12324 * dired-aux.el (dired-mark-read-string): Doc fix.
12326 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12328 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12329 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12331 2012-04-17 Glenn Morris <rgm@gnu.org>
12333 * mouse.el (mouse-drag-track):
12334 * speedbar.el (speedbar-frame-mode):
12335 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12337 2012-04-16 Leo Liu <sdl.web@gmail.com>
12339 * progmodes/python.el: Trivial cleanup.
12341 2012-04-16 Glenn Morris <rgm@gnu.org>
12343 * vc/vc.el (vc-string-prefix-p):
12344 * vc/pcvs-util.el (cvs-string-prefix-p):
12345 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12346 * mpc.el (mpc-string-prefix-p):
12347 Make all of these into obsolete aliases for string-prefix-p.
12349 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12351 * textmodes/two-column.el: Move custom options to the start.
12352 (frame-width): Remove compat definition.
12353 (2C-associate-buffer, 2C-dissociate):
12354 Use with-current-buffer rather than save-excursion.
12355 (2C-dissociate): Force a mode-line update.
12356 (2C-autoscroll): Use ignore-errors.
12358 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12361 * emacs-lisp/cl-extra.el (*random-state*):
12362 Remove unnecessary declaration.
12364 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12366 * play/cookie1.el (cookie-snarf):
12367 Give an explicit error if input file cannot be read.
12369 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12371 * progmodes/perl-mode.el (c-macro-expand):
12372 Remove unnecessary autoload (it is in loaddefs.el).
12374 * textmodes/picture.el (picture-desired-column)
12375 (picture-update-desired-column): Convert comments to doc-strings.
12376 (picture-substitute): Remove function.
12377 (picture-mode-map): Initialize in the defvar.
12379 * woman.el: Remove eval-after-load for tar-mode.
12380 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12381 (woman-tar-extract-file): Autoload it.
12383 * frame.el (automatic-hscrolling): Make this alias obsolete.
12385 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12387 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12388 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12389 (ispell-dictionary-base-alist): Revert to original XEmacs
12390 friendly version for default. [:alpha:] will be added in
12391 `ispell-set-spellchecker-params' if needed.
12393 2012-04-16 Chong Yidong <cyd@gnu.org>
12395 * image.el (imagemagick--file-regexp): New variable.
12396 (imagemagick-register-types): Use it.
12397 (imagemagick-types-inhibit): Add :set function. Allow new value
12398 of t to inhibit all types.
12400 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12401 so we can preload it.
12403 * loadup.el (fboundp): Preload regexp-opt, needed by
12404 imagemagick-register-types.
12406 2012-04-15 Chong Yidong <cyd@gnu.org>
12408 * frame.el (scrolling): Remove nearly unused customization group.
12410 * scroll-all.el (scroll-all-mode): Move to windows group.
12412 2012-04-15 Chong Yidong <cyd@gnu.org>
12414 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12416 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12418 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12419 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12421 2012-04-15 Glenn Morris <rgm@gnu.org>
12423 * simple.el (process-file-side-effects): Doc fix.
12425 2012-04-15 Glenn Morris <rgm@gnu.org>
12427 * international/mule-cmds.el (set-language-environment): Doc fix.
12429 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12431 * server.el (server-auth-key, server-generate-key): Doc fixes.
12432 (server-get-auth-key): Doc fix. Use `string-match-p'.
12433 (server-start): Reflow docstring.
12435 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12437 * server.el (server-generate-key): `called-interactively-p'
12438 requires a parameter.
12440 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12442 * server.el (server-auth-key): New variable.
12443 (server-generate-key, server-get-auth-key): New function.
12444 (server-start): Use the new variable and functions to allow
12445 setting a permanent server key (bug#9423).
12447 2012-04-14 Leo Liu <sdl.web@gmail.com>
12449 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12451 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12454 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12455 Emacs uses American spelling.
12457 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12459 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12460 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12461 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12462 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12464 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12466 * progmodes/which-func.el (which-func-modes): Change default.
12468 2012-04-14 Kim F. Storm <storm@cua.dk>
12470 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12471 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12473 2012-04-14 Chong Yidong <cyd@gnu.org>
12475 * custom.el (custom-theme-set-variables): Doc fix.
12477 2012-04-14 Glenn Morris <rgm@gnu.org>
12479 * international/mule.el (set-auto-coding-for-load): Doc fix.
12481 2012-04-14 Alan Mackenzie <acm@muc.de>
12483 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12484 imenu work again for Objective C Mode. Correct the *-index values,
12485 these having been disturbed by a previous change in 2011-08.
12487 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12488 Correct two search limits.
12490 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12494 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12496 * international/characters.el: Fix sorting.
12498 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12500 * international/characters.el: Add more missing Latin case pairs.
12502 2012-04-14 Glenn Morris <rgm@gnu.org>
12504 * files.el (dir-locals-set-class-variables): Doc fix.
12506 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12508 * international/characters.el: Add set-case-syntax-pair call for
12509 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12510 counterpart. (Bug#11209)
12512 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12514 2012-04-14 Glenn Morris <rgm@gnu.org>
12516 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12518 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12520 * textmodes/ispell.el (ispell-dictionary-base-alist):
12521 Add data for Hebrew.
12523 2012-04-14 Chong Yidong <cyd@gnu.org>
12525 * net/rcirc.el (rcirc-cmd-quit):
12526 Revert 2012-03-18 change (Bug#11192).
12528 2012-04-14 Glenn Morris <rgm@gnu.org>
12530 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12532 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12534 * minibuffer.el (completion-in-region-mode-map):
12535 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12537 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12539 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12541 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12543 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12544 to allow `C-M-f' and `C-M-b' to move to the nearest path
12545 separator (bug#9511).
12547 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12549 * avoid.el: Require cl when compiling. And also move the
12550 `provide' to the end.
12552 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12554 * avoid.el (mouse-avoidance-banish-position): New variable.
12555 (mouse-avoidance-banish-destination): Use it (bug#10165).
12557 2012-04-13 Leo Liu <sdl.web@gmail.com>
12559 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12561 2012-04-13 Ken Brown <kbrown@cornell.edu>
12563 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12564 this is no longer needed now that cygstart understands file:// URLs.
12565 (browse-url-filename-alist): For the same reason, don't modify
12566 file:// URLs on Cygwin.
12568 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12570 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12571 the region on shift if the binding is already shifted (bug#11221).
12573 2012-04-12 Glenn Morris <rgm@gnu.org>
12575 * mail/mailpost.el: Move to obsolete/.
12577 2012-04-12 Drew Adams <drew.adams@oracle.com>
12579 * imenu.el (imenu--generic-function): Ignore invisible definitions
12582 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12584 * hexl.el (hexl-bits): New variable.
12585 (hexl-options): Mention the variable in the doc string.
12586 (hexl-rulerise, hexl-line-displen): New functions.
12587 (hexl-mode): Mention the new variable.
12588 (hexl-mode, hexl-current-address, hexl-current-address):
12590 (hexl-ascii-start-column): New function.
12591 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12592 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12594 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12596 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12597 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12598 the encoding, as expected by hunspell.
12600 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12602 * battery.el (battery--linux-sysfs-regexp): New const.
12603 (battery-status-function): Use it. Remove yeeloong special case.
12604 (battery-yeeloong-sysfs): Remove.
12605 (battery-echo-area-format): Remove yeeloong special case.
12607 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12609 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12610 Reported by Noah Friedman.
12612 * subr.el (read-passwd): Use read-string.
12614 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12616 * vcursor.el (vcursor-move): Increase the priority of the overlay
12619 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12621 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12622 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12624 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12626 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12627 define-minor-mode (bug#10760).
12629 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12631 * progmodes/grep.el (rgrep): Tweak the find command line so
12632 that directories matching `grep-find-ignored-files' won't be
12633 pruned (bug#10351).
12635 2012-04-11 Chong Yidong <cyd@gnu.org>
12637 * startup.el (command-line): Remove support for long-obsolete
12638 variable font-lock-face-attributes.
12640 2012-04-11 Glenn Morris <rgm@gnu.org>
12642 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12644 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12646 * window.el (window--state-get-1): Obey window-point-insertion-type.
12648 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12650 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12651 to previous function when point is on the first character of a
12652 function. Take care of that in `narrow-to-defun' (bug#6157).
12654 2012-04-11 Glenn Morris <rgm@gnu.org>
12656 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12657 not just file-errors.
12659 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12660 (vc-bzr-sha1): Use internal sha1.
12662 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12664 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12666 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12668 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12669 that start in the middle of the line (bug#10496).
12671 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12673 * battery.el (battery-linux-proc-acpi): Only one battery is
12674 discharged at a time, but that seems to confuse battery.el when
12675 computing `rate-type' for the battery not being discharged
12678 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12680 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12682 * international/quail.el: Use dolist and simplify.
12683 (quail-define-package, quail-update-keyboard-layout)
12684 (quail-define-rules): Use dolist.
12685 (quail-insert-kbd-layout, quail-get-translation): CSE.
12687 * tmm.el: Use dolist, remove left over hook.
12688 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12690 (calendar-load-hook): Don't mess with it.
12692 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12693 Use derived-mode-p. Run the diff asynchronously.
12695 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12697 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12699 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12701 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12702 (list-dynamic-libraries--loaded): New function.
12703 (list-dynamic-libraries--refresh): Use it.
12705 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12707 * progmodes/python.el (python-fill-paragraph):
12708 Make python-fill-region in a multiline string work when font-lock is
12709 disabled (bug#7018).
12711 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12713 * language/european.el (cp775): Add oem/legacy (en)coding on
12714 DOS/MS Windows for the Baltic languages. There are still plenty
12715 of texts written in this encoding/codepage (bug#6519).
12717 2012-04-10 Glenn Morris <rgm@gnu.org>
12719 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12720 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12722 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12724 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12725 next-line "n" and previous-line "p" in order to make recentf more
12726 consistent with ibuffer, dired or org-mode (bug#9387).
12728 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12730 * image.el (put-image): Return the overlay created instead of the
12731 optional input string (bug#7834). Note that this may break code
12732 that is (for some reason or other) depending on `put-image'
12733 returning the string.
12735 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12737 * simple.el (zap-to-char): Allow zapping using input methods
12740 * textmodes/fill.el (fill-region): Leave point and mark where they
12741 were before filling (bug#5399).
12743 2012-04-09 Glenn Morris <rgm@gnu.org>
12745 * version.el (emacs-bzr-get-version):
12746 Handle lightweight checkouts of local branches.
12748 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12750 * international/characters.el: Recover lost case pairs. (Bug#11209)
12752 2012-04-09 Chong Yidong <cyd@gnu.org>
12754 * custom.el (custom-variable-p): Return nil for non-symbol
12755 arguments instead of signaling an error.
12756 (user-variable-p): Obsolete alias for custom-variable-p.
12758 * apropos.el (apropos-variable):
12759 * files-x.el (read-file-local-variable):
12760 * simple.el (set-variable):
12761 * woman.el (woman-mini-help):
12762 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12764 2012-04-09 Glenn Morris <rgm@gnu.org>
12766 * startup.el (normal-top-level): Don't look for leim-list.el
12767 in places where it will not be found. (Bug#910)
12769 * international/mule-cmds.el (set-default-coding-systems):
12770 * files.el (normal-mode):
12771 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12772 This function was removed with ucs-tables.el in 2008.
12774 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12776 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12777 ispell-encoding8-command to "-i", without a trailing space.
12778 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12779 separate command-line arguments, to specify the encoding, since
12780 that's how hunspell expects it.
12782 2012-04-08 Glenn Morris <rgm@gnu.org>
12784 * loadup.el: Load bindings before cus-start.
12785 This reduces somewhat the number of "rogue" settings in emacs -Q.
12787 2012-04-07 Glenn Morris <rgm@gnu.org>
12789 * version.el (emacs-bzr-get-version): New function.
12790 (emacs-bzr-version): New variable.
12791 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12792 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12794 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12796 * international/uni-bidi.el, international/uni-category.el:
12797 * international/uni-combining.el, international/uni-decimal.el:
12798 * international/uni-decomposition.el, international/uni-digit.el:
12799 * international/uni-lowercase.el, international/uni-mirrored.el:
12800 * international/uni-name.el, international/uni-numeric.el:
12801 * international/uni-titlecase.el, international/uni-uppercase.el:
12802 Update for Unicode 6.1.
12804 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12806 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12808 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12810 * window.el (shrink-window): Mention the `window-min-height'
12811 variable in the doc string.
12813 2012-04-05 Bastien Guerry <bzg@altern.org>
12815 * color.el (color-lighten-name): Fix typo.
12817 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * server.el (server--on-display-p): New function.
12820 (server--on-display-p): Use it.
12822 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12824 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12827 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12829 * comint.el (comint--common-quoted-suffix): Check string boundary
12830 before comparing (bug#11158).
12831 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12833 2012-04-04 Chong Yidong <cyd@gnu.org>
12835 * minibuffer.el (completion-extra-properties): Doc fix.
12837 * subr.el (delayed-warnings-hook): Doc fix.
12839 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12841 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12842 selection (Bug#11159).
12843 (epa-insert-keys): Inform that the default public key will be
12844 exported if no key is selected.
12846 2012-04-04 Richard Stallman <rms@gnu.org>
12848 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12850 2012-04-03 Chong Yidong <cyd@gnu.org>
12852 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12853 mail-insert-file, not its obsolete alias mail-attach-file.
12855 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12857 * notifications.el (notifications-notify): Fix docstring.
12859 2012-04-02 Glenn Morris <rgm@gnu.org>
12861 * emacs-lisp/authors.el (authors-aliases): Another addition.
12863 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12865 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12866 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12867 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12869 2012-04-01 Chong Yidong <cyd@gnu.org>
12871 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12872 Handle root directory properly.
12873 (copy-directory): Caller changed.
12875 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12876 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12878 2012-03-31 Glenn Morris <rgm@gnu.org>
12880 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12882 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12884 * calendar/calendar.el (calendar-window-list)
12885 (calendar-hide-window): Restore. (Bug#11140)
12886 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12888 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12890 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12892 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12893 Check if file is a symlink (Bug#10489).
12895 * files.el (copy-directory): Likewise.
12897 2012-03-30 Chong Yidong <cyd@gnu.org>
12899 * image.el (imagemagick-types-inhibit)
12900 (imagemagick-register-types): Doc fix.
12902 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12904 * textmodes/ispell.el (ispell-get-extended-character-mode):
12905 Disable extended-char-mode for hunspell. hunspell does not support it
12906 and treats ~word as ordinary words in pipe mode.
12908 2012-03-30 Glenn Morris <rgm@gnu.org>
12910 * tutorial.el (help-with-tutorial): Ensure local variables don't
12911 happen to make the buffer read-only. (Bug#11127)
12913 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12915 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12916 (perl-calculate-indent): Return `noindent' in strings.
12918 2012-03-28 Sam Steingold <sds@gnu.org>
12920 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12921 instead of the broken adhockery which does not prevent calendar
12922 buffers from being displayed at random after exit.
12923 (calendar-window-list, calendar-hide-window): Remove the broken
12926 2012-03-28 Glenn Morris <rgm@gnu.org>
12928 * replace.el (query-replace-map): Doc fix.
12930 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12932 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12933 contents. (Bug#11109)
12935 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12937 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12939 (avl-tree--check, avl-tree--check-node): New funs.
12941 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12943 * window.el (switch-to-visible-buffer): New option.
12944 (switch-to-prev-buffer, switch-to-next-buffer):
12945 Observe switch-to-visible-buffer. Make sure that checking for a window
12946 showing a buffer already is done on the same frame.
12948 2012-03-27 Glenn Morris <rgm@gnu.org>
12950 * startup.el (mail-host-address): Doc fix.
12952 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12954 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12955 than 197 variables.
12957 2012-03-26 Ami Fischman <ami@fischman.org>
12959 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12961 2012-03-26 Glenn Morris <rgm@gnu.org>
12963 * files.el (save-buffers-kill-emacs): Doc fix.
12965 * startup.el (normal-top-level, command-line, command-line-1):
12966 Give them doc strings.
12968 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12970 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12971 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12973 2012-03-25 Chong Yidong <cyd@gnu.org>
12975 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12976 theme if it was previously enabled before (Bug#11031).
12978 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12979 spec with custom-face-get-current-spec if its :shown-value is not
12980 determined yet (Bug#9337).
12981 (customize-create-theme, custom-theme-revert): Doc fixes.
12983 * button.el (button-at): Minor addition to docstring.
12985 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12987 * vc/vc.el (vc-merge): Fix a prompt.
12989 2012-03-24 Chong Yidong <cyd@gnu.org>
12991 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12994 * button.el (button-at): Minor addition to docstring.
12996 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * newcomment.el (comment-choose-indent): No space after BOL.
13000 2012-03-22 Sam Steingold <sds@gnu.org>
13002 * window.el (switch-to-prev-buffer): Revert last patch because the
13003 bug turned out to be an advertised feature (Elisp manual 28.14).
13005 2012-03-22 Glenn Morris <rgm@gnu.org>
13007 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13008 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13010 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13012 * net/network-stream.el (network-stream-open-starttls): Make error
13013 message under Windows be less misleading.
13015 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13017 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13018 understands (bug#9942).
13020 2012-03-22 Chong Yidong <cyd@gnu.org>
13022 * simple.el (end-of-visible-line): Handle return value of
13023 next-single-property-change properly (Bug#9371).
13025 2012-03-22 Kenichi Handa <handa@m17n.org>
13027 * international/quail.el (quail-insert-kbd-layout): Fix previous
13028 change. To avoid unwanted bidi reordering, use
13029 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13031 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13033 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13034 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13035 (ruby-beginning-of-indent): Be more careful with the difference
13036 between word-boundary and symbol boundary.
13037 (ruby-mode-syntax-table): Make : a symbol constituent.
13039 2012-03-21 Andreas Politz <politza@fh-trier.de>
13041 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13043 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13045 * progmodes/etags.el (tags-completion-at-point-function):
13048 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13050 2012-03-21 Sam Steingold <sds@gnu.org>
13052 * progmodes/etags.el (tags-completion-at-point-function):
13053 Avoid the error when point is inside the pattern.
13055 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13057 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13060 2012-03-21 Drew Adams <drew.adams@oracle.com>
13062 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13064 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13066 * ido.el (ido-set-current-directory, ido-read-internal)
13067 (ido-choose-completion-string, ido-completion-help): Handle nil
13068 value of ido-completion-buffer (Bug#11008).
13070 2012-03-21 Sam Steingold <sds@gnu.org>
13072 * window.el (switch-to-prev-buffer): Do not switch to a visible
13073 window previous buffer, just like with the frame previous buffers.
13075 2012-03-21 Chong Yidong <cyd@gnu.org>
13077 * faces.el (make-face, make-empty-face, copy-face):
13078 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13081 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13083 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13084 (widget-complete): Remove broken use of it.
13086 2012-03-20 Chong Yidong <cyd@gnu.org>
13088 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13089 Use string-width and truncate-string-width to handle arbitrary
13092 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13094 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13095 to draw rectangles, not squares. (Regression introduced by revno
13096 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13098 2012-03-18 Chong Yidong <cyd@gnu.org>
13100 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13101 it is not yet defined (for temacs).
13103 2012-03-18 Leo Liu <sdl.web@gmail.com>
13105 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13108 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13110 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13111 (ispell-choices-win-default-height, ispell-silently-savep)
13112 (ispell-dictionary-alist, ispell-encoding8-command)
13113 (ispell-check-version, ispell-aspell-find-dictionary)
13114 (ispell-valid-dictionary-list, ispell-words-keyword)
13115 (ispell-get-word, ispell-internal-change-dictionary)
13116 (ispell-region, ispell-skip-region-list)
13117 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13118 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13119 (ispell-message-text-end, ispell-message)
13120 (ispell-buffer-local-parsing): Doc fix.
13122 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13124 * htmlfontify.el: Add support for code block fontification for ODT
13125 export (Bug #9914).
13126 (hfy-optimisations): Define new option
13128 (hfy-fontify-buffer): Honor above setting.
13129 (hfy-begin-span, hfy-end-span): New routines factored out form
13130 `hfy-fontify-buffer'.
13131 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13132 that permit insertion of custom tags.
13133 (hfy-fontify-buffer): Use above handlers.
13134 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13135 (hfy-face-to-css): Re-defined to be a variable.
13136 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13137 over multiple runs. This is made possible by having the caller let
13138 bind a special variable `hfy-user-sheet-assoc'.
13139 (htmlfontify-string): New defun.
13140 (hfy-compile-face-map): Make sure that the last char in the
13141 buffer is correctly fontified.
13142 (hfy-face-resolve-face): Whitespace only change.
13144 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13146 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13147 message more clear.
13149 2012-03-16 Leo Liu <sdl.web@gmail.com>
13151 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13153 2012-03-16 Alan Mackenzie <acm@muc.de>
13155 Further optimize the handling of large macros.
13157 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13158 limit to a call of `c-literal-limits'.
13159 (c-determine-+ve-limit): New function.
13160 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13161 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13162 In CASE 5B, restrict a search limit to 500.
13163 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13165 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13166 Restrict macro bounds to +-500 from after-change's BEG END.
13168 2012-03-16 Leo Liu <sdl.web@gmail.com>
13170 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13172 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13174 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13175 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13177 2012-03-16 Glenn Morris <rgm@gnu.org>
13179 * view.el (view-buffer, view-buffer-other-window)
13180 (view-buffer-other-frame): Doc fixes re special mode-class.
13182 * subr.el (eval-after-load): If named feature is provided not from
13183 a file, run after-load forms. (Bug#10946)
13185 * calendar/calendar.el (calendar-insert-at-column):
13186 Handle non-unit-width characters a bit better. (Bug#10978)
13188 2012-03-15 Chong Yidong <cyd@gnu.org>
13190 * emacs-lisp/ring.el (ring-extend): New function.
13191 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13193 * comint.el (comint-read-input-ring)
13194 (comint-add-to-input-history): Grow comint-input-ring lazily.
13196 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13198 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13199 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13201 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13202 (imenu-add-to-menubar): Don't add a redundant index.
13203 (imenu-update-menubar): Handle a dynamically composed keymap.
13205 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13207 * mail/sendmail.el (mail-encode-header):
13208 Bind rfc2047-encode-encoded-words to nil.
13210 2012-03-13 Glenn Morris <rgm@gnu.org>
13212 * calendar/calendar.el (calendar-string-spread):
13213 Handle non-unit-width characters a bit better. (Bug#10978)
13215 2012-03-13 Leo Liu <sdl.web@gmail.com>
13217 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13218 directory and file as argument (Bug#10822).
13220 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13222 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13223 For dynamically generated code, follow $PC.
13224 (gdb-disassembly-handler-custom): Handle no function name case.
13226 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13228 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13229 * emulation/ws-mode.el (ws-query-replace):
13230 * sort.el (sort-regexp-fields):
13231 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13233 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13235 * dabbrev.el: Fix cycle completion order (bug#10963).
13236 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13237 (dabbrev-completion): Don't use an obarray; provide
13238 a cycle-sort-function.
13240 2012-03-12 Leo Liu <sdl.web@gmail.com>
13242 * simple.el (kill-new): Use equal-including-properties for comparison.
13243 (kill-do-not-save-duplicates): Doc fix.
13245 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13247 * dabbrev.el: Fix cycle completion (bug#10963).
13248 Use lexical binding and wrap to 80 columns.
13249 (dabbrev-completion): Delay computing the list of completions.
13251 2012-03-12 Kenichi Handa <handa@m17n.org>
13253 * international/quail.el (quail-insert-kbd-layout): Surround each
13254 row by LRO and PDF instead of inserting many LRMs. Pad the left
13255 and right of each non-spacing marks. Insert invisible space
13256 between lower and upper characters to prevent composition.
13258 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13260 * minibuffer.el (minibuffer-complete): Don't get confused when the
13261 function is run twice via different commands (bug#10958).
13262 (complete-with-action): Fix docstring.
13264 2012-03-12 Chong Yidong <cyd@gnu.org>
13266 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13267 (nxml-completion-at-point-function): New function.
13268 (nxml-mode): Use it.
13269 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13271 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13272 Load generated autoloads file before byte compiling (Bug#10970).
13273 (package--make-autoloads-and-compile): New helper fun.
13275 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13277 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13279 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13281 * autorevert.el (auto-revert-handler): Ensure, that
13282 file-readable-p is applied only for local files or in
13283 auto-revert-tail-mode.
13285 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13287 * server.el (server-eval-at): Handle non-tcp connections.
13288 Decode result string.
13290 * server.el (server-msg-size): New constant.
13291 (server-reply-print): New function.
13292 (server-eval-and-print): Use it.
13293 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13294 Handle -print-nonl.
13296 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13298 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13301 2012-03-11 Chong Yidong <cyd@gnu.org>
13303 * simple.el (goto-line): Doc fix (Bug#9938).
13305 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13307 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13308 when finished (Bug#10963).
13310 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13312 * window.el (split-window-below): Fix bug in case where
13313 split-window-keep-point is nil (Bug#10971).
13315 2012-03-11 Juri Linkov <juri@jurta.org>
13317 * replace.el (replace-highlight): Set isearch-word to nil
13318 unconditionally. (Bug#10887)
13320 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13322 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13323 mairix-replace-illegal-chars; all callers changed. Don't remove
13324 ^, ~, and = characters: they are meaningful in mairix search specs.
13325 (mairix-widget-create-query): Add usage information about mairix
13326 search forms: negating words, searching for substrings, etc.
13328 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13330 * international/fontset.el (font-encoding-alist): Add an entry for
13331 ksx1001 (Bug#5667).
13333 2012-03-10 Richard Stallman <rms@gnu.org>
13335 * mail/sendmail.el (mail-encode-header):
13336 Set rfc2047-encode-encoded-words.
13338 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13340 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13341 view buffer means not swapped.
13342 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13343 (rmail-write-region-annotate): Error if real text has disappeared.
13345 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13347 2012-03-10 Chong Yidong <cyd@gnu.org>
13349 * emulation/cua-rect.el (cua--init-rectangles):
13350 * emulation/cua-base.el (cua--init-keymaps):
13351 Add delete-forward-char to remappings (Bug#9666).
13353 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13355 * speedbar.el (speedbar-unhighlight-one-tag-line):
13356 Avoid unhighlighting due to frame switching (Bug#10275).
13358 2012-03-10 Chong Yidong <cyd@gnu.org>
13360 * minibuffer.el (completion-in-region, completion-help-at-point):
13361 Give the completion field overlay a high priority (Bug#6830).
13363 * dired.el (dired-goto-file): Recognize absolute file name
13364 listings (Bug#7126).
13365 (dired-goto-file-1): New helper function.
13366 (dired-toggle-read-only): Inhibit warnings.
13368 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13370 * net/dbus.el (dbus-property-handler): Return empty array if
13371 there are no properties.
13373 2012-03-09 Leo Liu <sdl.web@gmail.com>
13375 * savehist.el (savehist-printable): Stricter check for string
13378 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13380 * mail/smtpmail.el (smtpmail-send-it):
13381 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13384 2012-03-09 Glenn Morris <rgm@gnu.org>
13386 * files.el (dir-locals-find-file):
13387 Don't check result is regular, readable.
13388 (dir-locals-read-from-file): Demote errors.
13390 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13392 * international/quail.el (quail-insert-kbd-layout):
13393 Insert invisible LRM characters before each character in a keyboard
13394 layout cell, to prevent their reordering by bidi display engine.
13395 For details, see the discussion in
13396 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13398 2012-03-08 Alan Mackenzie <acm@muc.de>
13400 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13401 the starting position; make it extend the marked region when
13402 invoked repeatedly - all under appropriate circumstances.
13403 Fixes bugs #5525, #10906.
13405 2012-03-08 Glenn Morris <rgm@gnu.org>
13407 * files.el (locate-dominating-file, dir-locals-find-file):
13408 Undo 2012-03-06 change.
13410 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13412 * international/quail.el (quail-help):
13413 Force bidi-paragraph-direction be left-to-right. See discussion in
13414 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13417 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13419 Avoid superfluous registering of signals. (Bug#10807)
13421 * notifications.el (notifications-on-action-object)
13422 (notifications-on-close-object): New defvars.
13423 (notifications-on-action-signal, notifications-on-closed-signal):
13424 Unregister the signal if not needed any longer.
13425 (notifications-notify): Register `notifications-action-signal' or
13426 `notifications-closed-signal', if :on-action or :on-close has been
13427 passed as argument.
13429 2012-03-07 Chong Yidong <cyd@gnu.org>
13431 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13434 2012-03-06 Glenn Morris <rgm@gnu.org>
13436 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13437 (x-disown-selection-internal, x-get-selection-internal):
13438 Doc fix (add arglist signatures). (Bug#10783)
13440 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13442 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13443 Handle breakpoints with no "type".
13445 2012-03-06 Glenn Morris <rgm@gnu.org>
13447 * files.el (locate-dominating-file): Add optional predicate argument.
13448 (dir-locals-find-file): Make use of above change.
13450 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13452 * info.el (Info-insert-dir): Also try "dir.gz".
13454 2012-03-06 Glenn Morris <rgm@gnu.org>
13456 * files.el (dir-locals-find-file):
13457 Ignore non-readable or non-regular files. (Bug#10928)
13459 * files.el (locate-dominating-file): Doc fix.
13461 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13463 * calendar/calendar.el (calendar-set-mode-line):
13464 `getenv' returns a string. (Bug#10951)
13466 2012-03-05 Leo Liu <sdl.web@gmail.com>
13468 * simple.el (backward-delete-char-untabify): Constrain point to
13471 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13473 2012-03-05 Chong Yidong <cyd@gnu.org>
13475 * simple.el (count-words): If called from Lisp, return the word
13476 count, for symmetry with `count-lines'. Arglist changed.
13477 (count-words--message): Args changed. Consolidate counting code
13478 from count-words and count-words-region.
13479 (count-words-region): Caller changed.
13480 (count-lines-region): Make it an obsolete alias.
13482 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13484 * saveplace.el (save-place-to-alist)
13485 (save-place-ignore-files-regexp): Allow value nil to disable this
13488 2012-03-04 Chong Yidong <cyd@gnu.org>
13490 * faces.el (face-spec-reset-face): For the default face, reset the
13491 attributes to default values (Bug#10748).
13493 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13495 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13496 previous patch: Check `message-send-mail-function', and not the
13497 default function (bug#10897).
13499 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13501 * notifications.el (notifications-on-action-signal)
13502 (notifications-on-closed-signal): Check for unique service name of
13503 incoming event. Fix error in removing entry.
13504 (top): Register for signals with wildcard service name.
13505 (notifications-notify): Use daemon unique service name for map entries.
13507 2012-03-04 Chong Yidong <cyd@gnu.org>
13509 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13511 2012-03-04 Glenn Morris <rgm@gnu.org>
13513 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13514 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13515 (expand-abbrev, define-abbrev-table): Doc fixes.
13517 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13519 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13520 `message-default-send-mail-function' and not `send-mail-function'
13521 when doing the prompting for `sendmail-query-once' before sending
13522 in Message buffers (bug#10897).
13524 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13525 This is inconsistent with all the other stream functions, which leave
13526 the setting up to the higher levels (if so wanted) (bug#10931).
13528 2012-03-02 Alan Mackenzie <acm@muc.de>
13530 Depessimize the handling of very large macros.
13532 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13533 (c-macro-cache-syntactic): New variables to implement a one
13534 element macro cache.
13535 (c-invalidate-macro-cache): New function.
13536 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13537 Adapt to use the new cache.
13538 (c-state-safe-place): Use better the cache of safe positions.
13539 (c-state-semi-nonlit-pos-cache)
13540 (c-state-semi-nonlit-pos-cache-limit):
13541 New variables for...
13542 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13543 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13544 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13545 Use c-state-semi-safe-place.
13547 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13548 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13550 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13552 * jka-compr.el (jka-compr-call-process):
13553 Apply `file-accessible-directory-p' only when the default directory is
13556 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13558 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13559 access of FILE2, if FILE1 does not exist.
13561 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13562 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13564 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13565 Add "PAGER=" to `process-environment'.
13567 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13569 * progmodes/sql.el: Bug fix
13570 (sql-get-login-ext): Save login values in globals.
13571 (sql-get-login): Use new version of `sql-get-login-ext'.
13572 (sql-interactive-mode): Set global `sql-connection' to nil.
13573 (sql-connect): Set global values for connection.
13574 (sql-product-interactive): Save global values as buffer local.
13576 2012-02-29 Leo Liu <sdl.web@gmail.com>
13578 * abbrev.el (define-abbrevs): Reset sys to nil.
13580 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13582 * files.el (file-equal-p): Rename from `files-equal-p'.
13583 Return nil when one or both files don't exist.
13584 (file-subdir-of-p): Now only top directory must exists,
13585 return nil if it doesn't.
13586 (copy-directory): No need to test with `file-subdir-of-p' after
13588 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13591 2012-02-28 Glenn Morris <rgm@gnu.org>
13593 * shell.el (shell-mode):
13594 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13595 * play/landmark.el (landmark-font-lock-face-O):
13596 * play/handwrite.el (handwrite):
13597 * play/gomoku.el (gomoku-O):
13598 * net/browse-url.el (browse-url-browser-display):
13599 * international/mule.el (define-charset):
13600 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13601 * filesets.el (filesets-find-file-delay):
13602 * eshell/em-xtra.el (eshell-xtra):
13603 * eshell/em-unix.el (eshell-grep):
13604 * emulation/viper.el (viper-mode):
13605 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13606 * emacs-lisp/easymenu.el (easy-menu-define):
13607 * calendar/timeclock.el (timeclock-use-display-time):
13609 * bookmark.el (bookmark-save-flag):
13610 Doc fix (standardize possessive apostrophe usage).
13612 2012-02-27 Chong Yidong <cyd@gnu.org>
13614 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13615 Fix key-binding lookup for ESC key (Bug#9146).
13617 * font-lock.el (font-lock-specified-p): Rename from
13618 font-lock-spec-present. Callers changed.
13620 2012-02-27 Daniel Hackney <dan@haxney.org>
13622 * emacs-lisp/package.el (package-compute-transaction):
13623 Handle holding a package version to t in package-load-list.
13625 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13627 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13628 (tramp-get-inode, tramp-get-device): Use cached values.
13630 2012-02-26 Alan Mackenzie <acm@muc.de>
13632 Check there is a font-lock specification before doing initial
13635 * font-core.el (font-lock-mode): Move the conditional from
13636 :after-hook to font-lock-initial-fontify.
13637 (font-lock-default-function): Move the check for a specification
13638 to font-lock-spec-present.
13640 * font-lock.el (font-lock-initial-fontify): Call ...
13641 (font-lock-spec-present): New function.
13643 2012-02-26 Jim Blandy <jimb@red-bean.com>
13645 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13646 (gdb-send): Apply it to the operand of the '-interpreter-exec
13647 console' command, so that we can pass arguments with (say) quotes
13648 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13650 2012-02-26 Chong Yidong <cyd@gnu.org>
13652 * help-fns.el (describe-function-1): Clarify description of
13653 remapping (Bug#10844).
13655 * files.el (files-equal-p): Doc fix.
13656 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13657 and quit the loop once a mismatch is found.
13659 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13661 * bs.el (bs--show-with-configuration): Don't throw an error
13662 if the window cannot be split; otherwise, subsequent calls to
13663 bs-show fail, restoring a stale window config. (Bug#10882)
13665 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13667 * term/ns-win.el (global-map): Bind ns-drag-file to
13668 ns-find-file (Bug#5855, Bug#10050).
13670 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13672 * calendar/parse-time.el (parse-time-string): Allow extractor to
13675 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13677 * net/tramp.el (tramp-file-name-for-operation):
13678 Add `files-equal-p' and `file-subdir-of-p'.
13680 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13681 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13682 Add COPY-CONTENTS argument.
13684 2012-02-25 Chong Yidong <cyd@gnu.org>
13686 Add custom groups for VC backends, for consistency with vc-bzr.
13688 * vc/vc-arch.el (vc-arch):
13689 * vc/vc-cvs.el (vc-cvs):
13690 * vc/vc-git.el (vc-git):
13691 * vc/vc-hg.el (vc-hg):
13692 * vc/vc-mtn.el (vc-mtn):
13693 * vc/vc-rcs.el (vc-rcs):
13694 * vc/vc-sccs.el (vc-sccs):
13695 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13696 All relevant defcustoms reassigned.
13698 2012-02-25 Chong Yidong <cyd@gnu.org>
13700 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13702 * term/x-win.el (x-initialize-window-system): Reduce default for
13703 x-selection-timeout to 5 seconds (Bug#8869).
13705 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13707 * files.el (files-equal-p, file-subdir-of-p): New functions.
13708 (copy-directory): Error when trying to copy a directory on itself.
13709 Add missing copy-contents arg to tramp handler.
13710 * dired-aux.el (dired-copy-file-recursive): Same.
13711 (dired-create-files): Modify destination when source is equal to
13712 dest when copying files.
13713 Return also when dest is a subdir of source. (Bug#10489)
13715 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13717 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13720 2012-02-23 Alan Mackenzie <acm@muc.de>
13722 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13723 parameter "after-hook:" to allow the expansion to run code after
13724 the execution of the mode hooks.
13726 * font-lock.el (font-lock-initial-fontify): New function extracted
13727 from font-lock-mode-internal.
13729 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13732 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13734 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13735 (completion--cache-all-sorted-completions): New function.
13736 (completion-all-sorted-completions): Use it.
13737 (completion--do-completion, minibuffer-force-complete):
13738 Use it to re-instate the flush hook.
13740 * icomplete.el (icomplete-completions): Replace last fix with a better
13743 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13745 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13746 when it might call us back infinitely (bug#10797).
13748 2012-02-23 Glenn Morris <rgm@gnu.org>
13750 * minibuffer.el (completion-category-overrides): Doc fix.
13752 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13754 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13755 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13757 2012-02-23 Glenn Morris <rgm@gnu.org>
13759 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13760 (authors-obsolete-files-regexps, authors-ignored-files)
13761 (authors-ambiguous-files, authors-renamed-files-alist):
13764 2012-02-23 Juri Linkov <juri@jurta.org>
13766 * isearch.el (isearch-occur): Sync interactive spec with occur's
13767 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13769 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13771 2012-02-22 Juri Linkov <juri@jurta.org>
13773 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13774 (ucs-insert): Doc fix. Check for hex digits in the string.
13775 Don't display `nil' in the error message. (Bug#10857)
13777 2012-02-22 Alan Mackenzie <acm@muc.de>
13779 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13781 2012-02-22 Glenn Morris <rgm@gnu.org>
13783 * ffap.el (ffap-c-path):
13784 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13786 2012-02-22 Chong Yidong <cyd@gnu.org>
13788 * custom.el (load-theme): Doc fix.
13790 2012-02-22 Glenn Morris <rgm@gnu.org>
13792 * dired-x.el (dired-guess-shell-alist-default):
13793 Remove escape sequences from nroff output. (Bug#172)
13795 2012-02-21 Glenn Morris <rgm@gnu.org>
13797 * vc/emerge.el (emerge-defvar-local):
13798 Set `permanent-local' property rather than unused `preserved'.
13800 * textmodes/picture.el (picture-delete-char): New alias.
13801 (picture-mode-map): Use it. (Bug#10860)
13802 (picture-mode): Doc fix.
13804 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13806 * newcomment.el (uncomment-region-default): Remove unused binding.
13808 2012-02-21 Glenn Morris <rgm@gnu.org>
13810 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13811 (picture-self-insert, picture-tab-chars): Doc fix.
13812 (picture-mode-map): Fix C-a, C-e.
13814 2012-02-20 Glenn Morris <rgm@gnu.org>
13816 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13818 2012-02-20 Leo Liu <sdl.web@gmail.com>
13820 * icomplete.el (icomplete-completions): Check FROM arg before
13821 passing to substring (Bug#10850).
13823 2012-02-19 Chong Yidong <cyd@gnu.org>
13825 * comint.el: Require ansi-color.
13826 (comint-output-filter-functions): Add ansi-color-process-output.
13828 * ansi-color.el: Don't set comint-output-filter-functions; it is
13829 now in the initial value defined in comint.el.
13830 (ansi-color-apply-face-function): New variable.
13831 (ansi-color-apply-on-region): Use it.
13832 (ansi-color-apply-overlay-face): New function.
13834 * shell.el (shell): No need to require ansi-color.
13835 (shell-mode): Use ansi-color-apply-face-function to highlight
13836 color escapes using font-lock-face property (Bug#10835).
13838 2012-02-19 Chong Yidong <cyd@gnu.org>
13840 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13841 mode-line formats (Bug#10839).
13843 2012-02-18 Glenn Morris <rgm@gnu.org>
13845 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13847 * mail/undigest.el (unforward-rmail-message): Doc fix.
13849 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13851 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13853 * international/characters.el (script-list): Sync with the latest
13854 Unicode Character Database.
13856 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13858 * international/titdic-cnv.el: Remove duplicate coding tag.
13859 * language/cham.el: Likewise.
13860 * language/tai-viet.el: Likewise.
13862 2012-02-18 Glenn Morris <rgm@gnu.org>
13864 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13865 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13866 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13867 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13868 * calendar/holidays.el (holiday-bahai-holidays)
13869 (calendar-holidays, list-holidays):
13870 Use utf-8 Bahá'í in doc-strings, menus, etc.
13872 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13874 * saveplace.el (save-place-ignore-files-regexp): New variable
13875 allowing for excluding files from saving their location of point.
13876 The default value matches the temporary commit message editing
13877 files from Git, SVN, Bazaar, and Mercurial.
13878 (save-place-to-alist): Use it.
13880 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13881 Stefan Monnier <monnier@iro.umontreal.ca>
13883 * newcomment.el (uncomment-region-default): Don't leave extra space
13884 when an arg is provided (bug#8150).
13886 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13888 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13890 2012-02-17 Glenn Morris <rgm@gnu.org>
13892 * net/socks.el: Require network-stream. (Bug#10599)
13894 2012-02-17 Kenichi Handa <handa@m17n.org>
13896 * international/charprop.el:
13897 * international/uni-name.el:
13898 * international/uni-old-name.el:
13899 * international/uni-comment.el: Regenerate.
13901 2012-02-16 Glenn Morris <rgm@gnu.org>
13903 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13904 Interactively in calendar buffer, give an error if not on a date.
13906 2012-02-15 Glenn Morris <rgm@gnu.org>
13908 * shell.el (shell-delimiter-argument-list):
13909 Revert 2011-02-17 change. (Bug#8027)
13911 2012-02-15 Chong Yidong <cyd@gnu.org>
13913 * minibuffer.el (completion-at-point-functions): Doc fix.
13915 * custom.el (defcustom): Doc fix; note use of defvar.
13917 2012-02-15 Glenn Morris <rgm@gnu.org>
13919 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13922 2012-02-14 Glenn Morris <rgm@gnu.org>
13924 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13926 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13928 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13929 way the ports list is computed.
13930 (smtpmail-query-smtp-server): Prompt the user for a port number if
13931 we can't connect to any of the standard ports (bug#10810).
13933 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13935 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13937 2012-02-13 Glenn Morris <rgm@gnu.org>
13939 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13941 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13943 * net/gnutls.el (gnutls-trustfiles): New variable.
13944 (gnutls-negotiate): Use it.
13946 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13948 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13949 does its stuff if Gnus is running.
13951 2012-02-13 Alan Mackenzie <acm@muc.de>
13953 Fix a loop in c-set-fl-decl-start.
13955 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13956 c-backward-syntactic-ws actually moves backwards.
13958 2012-02-13 Leo Liu <sdl.web@gmail.com>
13960 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13961 beginning so that all \C-o chars are removed.
13963 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13965 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13967 2012-02-12 Alan Mackenzie <acm@muc.de>
13969 Fix infinite loop with long macros.
13970 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13972 2012-02-12 Chong Yidong <cyd@gnu.org>
13974 * window.el (display-buffer): Doc fix (Bug#10785).
13976 2012-02-12 Glenn Morris <rgm@gnu.org>
13978 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13979 (x-disown-selection-internal, x-get-selection-internal):
13980 Sync docs with the xselect.c versions.
13982 * allout-widgets.el: Add missing license notice.
13984 2012-02-11 Glenn Morris <rgm@gnu.org>
13986 * select.el (x-get-selection-internal, x-own-selection-internal)
13987 (x-disown-selection-internal):
13988 * x-dnd.el (x-get-selection-internal): Update declarations.
13990 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13992 * window.el (window-sides-slots):
13993 * tool-bar.el (tool-bar-position):
13994 * term/xterm.el (xterm-extra-capabilities):
13995 * ses.el (ses-self-reference-early-detection):
13996 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13997 (verilog-auto-wire-type)
13998 (verilog-auto-delete-trailing-whitespace)
13999 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14000 (verilog-auto-tieoff-declaration):
14001 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14002 (sql-oracle-statement-starters, sql-oracle-scan-on):
14003 * progmodes/prolog.el (prolog-align-comments-flag)
14004 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14005 (prolog-left-indent-regexp, prolog-paren-indent-p)
14006 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14007 (prolog-types, prolog-mode-specificators)
14008 (prolog-determinism-specificators, prolog-directives)
14009 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14010 (prolog-electric-dot-flag)
14011 (prolog-electric-dot-full-predicate-template)
14012 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14013 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14014 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14015 (prolog-program-switches, prolog-prompt-regexp)
14016 (prolog-debug-on-string, prolog-debug-off-string)
14017 (prolog-trace-on-string, prolog-trace-off-string)
14018 (prolog-zip-on-string, prolog-zip-off-string)
14019 (prolog-use-standard-consult-compile-method-flag)
14020 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14021 (prolog-imenu-max-lines, prolog-info-predicate-index)
14022 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14023 (prolog-char-quote-workaround):
14024 * progmodes/cc-vars.el (c-defun-tactic):
14025 * net/tramp.el (tramp-encoding-command-interactive)
14026 (tramp-local-end-of-line):
14027 * net/soap-client.el (soap-client):
14028 * net/netrc.el (netrc-file):
14029 * net/gnutls.el (gnutls):
14030 * minibuffer.el (completion-category-overrides)
14031 (completion-cycle-threshold)
14032 (completion-pcm-complete-word-inserts-delimiters):
14033 * man.el (Man-name-local-regexp):
14034 * mail/feedmail.el (feedmail-display-full-frame):
14035 * international/characters.el (glyphless-char-display-control):
14036 * eshell/em-ls.el (eshell-ls-date-format):
14037 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14038 (lisp-lambda-list-keyword-parameter-indentation)
14039 (lisp-lambda-list-keyword-parameter-alignment):
14040 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14041 * dired-x.el (dired-omit-verbose):
14042 * cus-theme.el (custom-theme-allow-multiple-selections):
14043 * calc/calc.el (calc-highlight-selections-with-faces)
14044 (calc-lu-field-reference, calc-lu-power-reference)
14045 (calc-note-threshold):
14046 * battery.el (battery-mode-line-limit):
14047 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14048 (archive-7z-update):
14049 * allout.el (allout-prefixed-keybindings)
14050 (allout-unprefixed-keybindings)
14051 (allout-inhibit-auto-fill-on-headline)
14052 (allout-flattened-numbering-abbreviation):
14053 * allout-widgets.el (allout-widgets-auto-activation)
14054 (allout-widgets-icons-dark-subdir)
14055 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14056 (allout-widgets-theme-dark-background)
14057 (allout-widgets-theme-light-background)
14058 (allout-widgets-item-image-properties-emacs)
14059 (allout-widgets-item-image-properties-xemacs)
14060 (allout-widgets-run-unit-tests-on-load)
14061 (allout-widgets-time-decoration-activity)
14062 (allout-widgets-hook-error-post-time)
14063 (allout-widgets-track-decoration):
14064 Add missing :version tags to new defcustoms and defgroups.
14066 * progmodes/sql.el (sql-ansi-statement-starters)
14067 (sql-oracle-statement-starters): Add custom type.
14069 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14070 (prolog-system-version): Give it a type.
14072 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14074 * term/pc-win.el (x-select-text, x-selection-owner-p)
14075 (x-own-selection-internal, x-disown-selection-internal)
14076 (x-get-selection-internal): Sync doc strings and argument lists
14077 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14079 2012-02-11 Leo Liu <sdl.web@gmail.com>
14081 * progmodes/python.el (python-end-of-statement): Fix infinite
14084 2012-02-10 Glenn Morris <rgm@gnu.org>
14086 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14087 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14089 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14091 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14092 about SMTP before checking the From header.
14094 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14095 into own function for reuse by emacsbug.el.
14097 2012-02-10 Leo Liu <sdl.web@gmail.com>
14099 * subr.el (condition-case-unless-debug): Rename from
14100 condition-case-no-debug. All callers changed.
14101 (with-demoted-errors): Fix caller.
14103 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14104 * nxml/rng-valid.el (rng-do-some-validation):
14105 * emacs-lisp/package.el (package-refresh-contents)
14106 (package-menu-execute):
14107 * desktop.el (desktop-create-buffer):
14108 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14110 2012-02-10 Glenn Morris <rgm@gnu.org>
14112 * textmodes/bibtex.el:
14113 Add missing :version tags for new/changed defcustoms.
14115 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14117 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14119 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14120 (smtpmail-via-smtp): Use it, or fall back on the From address.
14121 (smtpmail-send-it): Ditto.
14123 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14125 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14126 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14127 (byte-compile-tmp-var): New const.
14128 (byte-compile-defvar): Use it to minimize .elc size.
14129 Just use `defvar' rather than simulate it (bug#10761).
14131 2012-02-09 Glenn Morris <rgm@gnu.org>
14133 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14135 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14138 * progmodes/compile.el (compilation-error-screen-columns)
14139 (compilation-first-column, compilation-filter-start): Doc fixes.
14141 * vc/log-view.el (log-view-toggle-entry-display):
14142 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14144 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14145 (report-emacs-bug-can-use-xdg-email):
14146 (report-emacs-bug-insert-to-mailer): Doc fixes.
14147 (report-emacs-bug): Message fix.
14149 * net/browse-url.el (browse-url-can-use-xdg-open)
14150 (browse-url-xdg-open): Doc fixes.
14152 * electric.el (electric-indent-mode, electric-pair-mode)
14153 (electric-layout-rules, electric-layout-mode): Doc fixes.
14154 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14156 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14158 * server.el (server-unselect-display): Don't inadvertently kill
14159 the current buffer. (Bug#10729)
14161 2012-02-08 Glenn Morris <rgm@gnu.org>
14163 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14164 (sql-list-table): Doc fixes.
14166 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14167 Comment out (does nothing).
14169 * completion.el (dynamic-completion-mode):
14170 * dirtrack.el (dirtrack-debug-mode):
14171 * electric.el (electric-layout-mode):
14172 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14173 * face-remap.el (text-scale-mode, buffer-face-mode):
14174 * iimage.el (iimage-mode):
14175 * image-mode.el (image-transform-mode):
14176 * minibuffer.el (completion-in-region-mode):
14177 * scroll-lock.el (scroll-lock-mode):
14178 * simple.el (next-error-follow-minor-mode):
14179 * tar-mode.el (tar-subfile-mode):
14180 * tooltip.el (tooltip-mode):
14181 * vcursor.el (vcursor-use-vcursor-map):
14182 * wid-browse.el (widget-minor-mode):
14183 * emulation/tpu-edt.el (tpu-edt-mode):
14184 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14185 * international/iso-ascii.el (iso-ascii-mode):
14186 * language/thai-util.el (thai-word-mode):
14187 * mail/supercite.el (sc-minor-mode):
14188 * net/goto-addr.el (goto-address-mode):
14189 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14190 * progmodes/cwarn.el (cwarn-mode):
14191 * progmodes/flymake.el (flymake-mode):
14192 * progmodes/glasses.el (glasses-mode):
14193 * progmodes/hideshow.el (hs-minor-mode):
14194 * progmodes/pascal.el (pascal-outline-mode):
14195 * textmodes/enriched.el (enriched-mode):
14196 * vc/smerge-mode.el (smerge-mode):
14197 Doc fixes (minor mode argument).
14199 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14201 * ls-lisp.el (ls-lisp-sanitize): New function.
14202 (ls-lisp-insert-directory): Use it to fix or remove any elements
14203 in file-alist with missing attributes. (Bug#4673)
14205 2012-02-07 Alan Mackenzie <acm@muc.de>
14207 Fix spurious recognition of c-in-knr-argdecl.
14209 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14210 putative K&R region.
14212 2012-02-07 Alan Mackenzie <acm@muc.de>
14214 * progmodes/cc-engine.el (c-forward-objc-directive):
14215 Prevent looping in "#pragma mark @implementation".
14217 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14219 * notifications.el (notifications-on-closed-signal): Make `reason'
14220 optional. (Bug#10744)
14222 2012-02-07 Glenn Morris <rgm@gnu.org>
14224 * emacs-lisp/easy-mmode.el (define-minor-mode):
14225 Doc fixes for the macro and the mode it defines.
14227 * image.el (imagemagick-types-inhibit): Doc fix.
14229 * cus-start.el (imagemagick-render-type): Add it.
14231 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14233 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14234 Set the default at load time, too, so that `font-lock-fontify-buffer'
14235 can be called without setting up the entire mode first. This fixes
14236 a bug in `mm-inline-text' with C MIME parts.
14238 2012-02-06 Chong Yidong <cyd@gnu.org>
14240 * simple.el (list-processes--refresh): Delete exited processes
14243 * comint.el (comint-next-prompt): next-single-char-property-change
14244 and prev-single-char-property-change never return nil (Bug#8657).
14246 * custom.el (defcustom): Doc fix (Bug#9711).
14248 2012-02-05 Chong Yidong <cyd@gnu.org>
14250 * cus-edit.el (custom-variable-reset-backup): Quote the value
14251 before storing it in the customized-value property (Bug#6712).
14252 (custom-display): Add a customization type tag.
14253 (custom-buffer-create-internal): Improve tooltip message.
14255 * wid-edit.el (widget-field-value-get): New optional arg to
14256 suppress trailing whitespace truncation.
14257 (character): Use it (Bug#2689).
14259 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14261 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14262 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14264 2012-02-05 Chong Yidong <cyd@gnu.org>
14266 * cus-edit.el (custom-variable-value-create): For mismatched
14267 types, show the current value (Bug#7600).
14269 * custom.el (defcustom): Doc fix.
14271 2012-02-05 Glenn Morris <rgm@gnu.org>
14273 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14275 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14277 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14278 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14279 (pp-last-sexp): Use `looking-at-p'.
14281 2012-02-04 Glenn Morris <rgm@gnu.org>
14283 * files.el (revert-buffer):
14284 Doc fix (mention revert-buffer-in-progress-p).
14286 * emacs-lisp/ert-x.el (ert-simulate-command):
14287 Check deferred-action-list (which is obsolete) is bound.
14289 * subr.el (with-wrapper-hook): Doc fixes.
14291 * simple.el (filter-buffer-substring-functions)
14292 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14294 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14296 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14297 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14299 2012-02-04 Leo Liu <sdl.web@gmail.com>
14301 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14303 2012-02-04 Glenn Morris <rgm@gnu.org>
14305 * image.el (image-extension-data): Add obsolete alias.
14307 * isearch.el (isearch-update): Doc fix.
14309 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14311 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14313 2012-02-03 Glenn Morris <rgm@gnu.org>
14315 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14316 (image-animate-timeout): Doc fix.
14318 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14320 2012-02-02 Glenn Morris <rgm@gnu.org>
14322 * server.el (server-auth-dir): Doc fix.
14323 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14325 * subr.el (run-mode-hooks): Doc fix.
14327 2012-02-02 Juri Linkov <juri@jurta.org>
14329 * image-mode.el (image-toggle-display-image): Remove tautological
14330 `major-mode' from the `derived-mode-p' test.
14332 2012-02-02 Kenichi Handa <handa@m17n.org>
14334 * composite.el (compose-region): Cancel previous change.
14336 2012-02-02 Kenichi Handa <handa@m17n.org>
14338 * composite.el (compose-region, compose-string): Signal error for
14339 a null string component (Bug#6988).
14341 2012-02-01 Chong Yidong <cyd@gnu.org>
14343 * view.el (view-buffer-other-window, view-buffer-other-frame):
14344 Handle special modes like view-buffer (Bug#10650).
14345 (view-buffer): Simplify.
14347 * frame.el (set-frame-font): Tweak meaning of third argument.
14349 * dynamic-setting.el (font-setting-change-default-font):
14350 Use set-frame-font (Bug#9982).
14352 2012-02-01 Glenn Morris <rgm@gnu.org>
14354 * progmodes/compile.el (compilation-internal-error-properties):
14355 Respect compilation-first-column in the "*compilation*" buffer.
14357 * emacs-lisp/easy-mmode.el (define-minor-mode):
14358 Relax :variable's test for a named function.
14360 2012-01-31 Alan Mackenzie <acm@muc.de>
14362 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14365 2012-01-31 Chong Yidong <cyd@gnu.org>
14367 * frame.el (set-frame-font): New arg ALL-FRAMES.
14369 * menu-bar.el (menu-set-font): Use set-frame-font.
14371 * faces.el (face-spec-reset-face): Don't apply unspecified
14372 attribute values to the default face.
14374 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14376 * progmodes/cwarn.el (cwarn): Remove dead link.
14377 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14378 Remove * from defcustom docstrings.
14379 (turn-on-cwarn-mode): Make obsolete.
14380 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14381 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14383 2012-01-31 Glenn Morris <rgm@gnu.org>
14385 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14386 Fix :variable handling of mode a symbol not equal to modefun.
14387 Allow named functions to be used as the cdr of :variable.
14389 2012-01-30 Glenn Morris <rgm@gnu.org>
14391 * emacs-lisp/authors.el (authors-fixed-entries):
14392 Remove reference to deleted file rnewspost.el.
14394 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14396 * window.el (window-with-parameter): Remove unused variable `windows'.
14397 (window--side-check): Remove unused variable `code'.
14398 (window--resize-siblings): Remove unused variable `first'.
14399 (adjust-window-trailing-edge): Remove unused variable `failed'.
14400 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14401 Use `let', not `let*'.
14402 (balance-windows-2): Remove unused variable `found'.
14403 (window--state-put-2): Remove unused variable `splits'.
14404 (window-state-put): Remove unused variable `selected'.
14405 (same-window-p): Use `string-match-p'.
14406 (display-buffer-assq-regexp): Remove unused variable `value'.
14407 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14408 Mark argument ALIST as ignored.
14409 (pop-to-buffer): Remove unused variable `old-window'.
14411 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14413 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14414 and .lzma compressed files.
14416 2012-01-29 Chong Yidong <cyd@gnu.org>
14418 * frame.el (window-system-default-frame-alist): Doc fix.
14420 * dynamic-setting.el (font-setting-change-default-font): Don't
14421 change the default face if SET-FONT argument is non-nil (Bug#9982).
14423 2012-01-29 Samuel Bronson <naesten@gmail.com>
14425 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14427 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14429 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14430 breakpoints in files outside current directory (Bug#6098).
14432 2012-01-29 Chong Yidong <cyd@gnu.org>
14434 * progmodes/python.el: Require ansi-color at top-level.
14436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14437 Define and use in Emacs Lisp mode (Bug#9360).
14438 (lisp-mode-abbrev-table): Add doc.
14439 (lisp-mode-variables): Don't set local-abbrev-table.
14440 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14442 2012-01-28 Roland Winkler <winkler@gnu.org>
14444 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14446 2012-01-28 Roland Winkler <winkler@gnu.org>
14448 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14449 (bibtex-set-dialect): Use it. Either set global values of
14450 dialect-dependent variables or bind these variables buffer-locally
14452 (bibtex-mode): Call bibtex-set-dialect via
14453 hack-local-variables-hook.
14454 (bibtex-dialect): Update docstring.
14455 Add safe-local-variable predicate.
14456 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14457 bibtex-set-dialect.
14458 (bibtex-mode-map): Define menu for each dialect.
14459 (bibtex-entry): Fix docstring.
14461 2012-01-28 Chong Yidong <cyd@gnu.org>
14463 * eshell/esh-arg.el (eshell-quote-argument): New function.
14465 * eshell/esh-ext.el (eshell-invoke-batch-file):
14466 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14467 first arg to eshell-parse-command (Bug#10523).
14469 2012-01-28 Drew Adams <drew.adams@oracle.com>
14471 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14472 `default-directory' is non-nil.
14474 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14476 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14477 line that displays system-configuration-options. (Bug#9924)
14479 2012-01-28 Drew Adams <drew.adams@oracle.com>
14481 * descr-text.el (describe-char): Show information about POS, in
14482 addition to information about the character at POS. Improve and
14483 update the doc string. Change "code point" to "code point in
14484 charset", to avoid confusion with the character's Unicode code
14485 point shown above that. (Bug#10129)
14487 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14489 * descr-text.el (describe-char): Show the raw character, not only
14490 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14491 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14494 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14496 * emacs-lisp/package.el (package-install):
14497 Run package-refresh-contents if there is no archive yet (Bug#9798).
14499 2012-01-28 Chong Yidong <cyd@gnu.org>
14501 * emacs-lisp/package.el (package-maybe-load-descriptor):
14502 New function, split from package-maybe-load-descriptor.
14503 (package-maybe-load-descriptor): Use it.
14504 (package-download-transaction): Fully load required packages
14505 inside the loop, so that `require' calls work (Bug#10593).
14506 (package-install): No need to call package-initialize now.
14508 2012-01-28 Chong Yidong <cyd@gnu.org>
14510 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14512 * tooltip.el (tooltip-mode): Doc fix.
14513 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14515 * frame.el (set-cursor-color): Doc fix (Bug#352).
14517 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14518 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14520 * cus-edit.el (custom-buffer-create-internal): Fix search button
14521 action (Bug#10542).
14522 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14524 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14526 * dired.el (dired-mark-files-regexp):
14527 Include any subdirectory components. (Bug#10445)
14529 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14531 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14532 Handle [host]:port syntax. (Bug#10533)
14534 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14536 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14538 2012-01-26 Glenn Morris <rgm@gnu.org>
14540 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14541 * term.el (term-raw-escape-map): Use Control-X-prefix.
14542 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14544 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14546 * window.el (window-state-get, window--state-get-1): Don't deal
14547 with fixed-sizeness of windows. Simplify code.
14549 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14551 * window.el (window--state-get-1, window--state-put-2):
14552 Don't save and restore the mark.
14554 2012-01-25 Chong Yidong <cyd@gnu.org>
14556 * custom.el (custom-variable-p): Doc fix.
14558 2012-01-25 Glenn Morris <rgm@gnu.org>
14560 * dired.el (dired-goto-file): Handle some of the more common
14561 characters that `ls -b' escapes. (Bug#10596)
14563 * progmodes/compile.el (compilation-next-error-function):
14564 Respect compilation-first-column in the "*compilation*" buffer.
14565 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14567 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14569 2012-01-24 Glenn Morris <rgm@gnu.org>
14571 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14573 2012-01-24 Julien Danjou <julien@danjou.info>
14575 * color.el (color-rgb-to-hsl): Fix value computing.
14576 (color-hue-to-rgb): New function.
14577 (color-hsl-to-rgb): New function.
14578 (color-clamp, color-saturate-hsl, color-saturate-name)
14579 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14580 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14582 2012-01-24 Glenn Morris <rgm@gnu.org>
14584 * vc/vc-rcs.el (vc-rcs-create-tag):
14585 * vc/vc-sccs.el (vc-sccs-create-tag):
14586 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14588 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14590 * eshell/esh-util.el (eshell-read-hosts-file):
14591 Skip comment lines. (Bug#10549)
14593 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14595 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14597 * subr.el (display-delayed-warnings): Doc fix.
14598 (collapse-delayed-warnings): New function to collapse identical
14600 (delayed-warnings-hook): Add it.
14602 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14604 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14606 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14607 (tramp-default-user-alist): Don't add "pscp".
14608 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14609 property "login-as", if set. (Bug#10530)
14611 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14613 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14614 "plink1" and "psftp". (Bug#10530)
14616 2012-01-21 Kenichi Handa <handa@m17n.org>
14618 * international/mule-cmds.el (prefer-coding-system): Show a
14619 warning message if the default value of file-name-coding-system
14622 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14624 * windmove.el (windmove-reference-loc):
14625 Fix windmove-reference-loc miscalculation.
14627 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14629 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14632 2012-01-21 Glenn Morris <rgm@gnu.org>
14634 * international/mule.el (auto-coding-alist): Add .tbz.
14636 * files.el (local-enable-local-variables): Doc fix.
14637 (inhibit-local-variables-regexps): Rename from
14638 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14639 Doc fix. Add some extensions from auto-coding-alist.
14640 (inhibit-local-variables-suffixes):
14641 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14642 (inhibit-local-variables-p):
14643 New function, extracted from set-auto-mode-1.
14644 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14645 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14646 (hack-local-variables): Doc fix. Make the mode-only case
14647 respect enable-local-variables and friends.
14648 Respect inhibit-local-variables-regexps for file-locals, but
14649 not for directory-locals.
14650 (set-visited-file-name):
14651 Take account of inhibit-local-variables-regexps.
14652 Whether it applies may change as the file name is changed.
14653 * jka-cmpr-hook.el (jka-compr-install):
14654 * jka-compr.el (jka-compr-uninstall):
14655 Update for inhibit-first-line-modes-suffixes name change.
14657 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14659 * help-macro.el (make-help-screen): Temporarily restore original
14660 binding for minor-mode-map-alist (Bug#10454).
14662 2012-01-19 Julien Danjou <julien@danjou.info>
14664 * color.el (color-name-to-rgb): Use the white color to find the max
14665 color component value and return correctly computed values.
14666 (color-name-to-rgb): Add missing float conversion for max value.
14668 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14670 * window.el (window--state-get-1, window-state-get): Do not use
14671 special state value for window-persistent-parameters.
14672 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14673 (window--state-put-2): Reset all window parameters to nil before
14674 assigning values of persistent parameters.
14676 2012-01-18 Alan Mackenzie <acm@muc.de>
14678 Eliminate sluggishness and hangs in fontification of "semicolon
14681 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14682 Change value 10000 -> 3000.
14683 (c-state-safe-place): Reformulate so it doesn't stack up an
14684 infinite number of wrong entries in c-state-nonlit-pos-cache.
14685 (c-determine-limit-get-base, c-determine-limit): New functions to
14686 determine backward search limits disregarding literals.
14687 (c-find-decl-spots): Amend commenting.
14688 (c-cheap-inside-bracelist-p): New function which detects "={".
14690 * progmodes/cc-fonts.el
14691 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14693 (c-font-lock-declarations): Fix an occurrence of point being
14694 undefined. Check additionally for point being in a bracelist or
14695 near a macro invocation without a semicolon so as to avoid a
14696 fruitless time consuming search for a declarator. Give a more
14697 precise search limit for declarators using the new
14700 2012-01-18 Glenn Morris <rgm@gnu.org>
14702 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14703 (set-auto-mode): Doc fixes.
14705 2012-01-17 Glenn Morris <rgm@gnu.org>
14707 * isearch.el (search-nonincremental-instead): Fix doc typo.
14709 * dired.el (dired-insert-directory): Handle newlines in directory name.
14710 (dired-build-subdir-alist): Unescape newlines in directory name.
14712 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14714 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14715 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14716 (tramp-action-terminal): Use it. (Bug#10530)
14718 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14722 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14724 * window.el (window-state-ignored-parameters): Remove variable.
14725 (window--state-get-1): Rename argument MARKERS to IGNORE.
14726 Handle persistent window parameters. Make copy of clone-of
14727 parameter only if requested. (Bug#10348)
14728 (window--state-put-2): Install a window parameter only if it has
14729 a non-nil value or an existing parameter shall be overwritten.
14731 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14733 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14735 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14737 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14738 don't pass the (nil) value of `upnode' to string-match.
14740 2012-01-14 Chong Yidong <cyd@gnu.org>
14742 * startup.el (command-line): Fix X resource class for cursorColor.
14743 Fix values recognized by the cursorBlink resource.
14745 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14747 * epg.el (epg--make-temp-file): Avoid permission race condition
14748 when running on old Emacs versions (bug#10403).
14750 2012-01-14 Glenn Morris <rgm@gnu.org>
14752 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14754 2012-01-13 Alan Mackenzie <acm@muc.de>
14756 Fix filling for when filladapt mode is enabled.
14758 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14759 c-mask-paragraph, pass in `fill-paragraph' rather than
14760 `fill-region-as-paragraph'. (This is a reversion of a previous
14762 * progmodes/cc-mode.el (c-basic-common-init):
14763 Make fill-paragraph-handle-comment buffer local and set it to nil.
14765 2012-01-13 Glenn Morris <rgm@gnu.org>
14767 * dired.el (dired-switches-escape-p): New function.
14768 (dired-insert-directory): Use dired-switches-escape-p.
14769 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14771 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14773 2012-01-12 Glenn Morris <rgm@gnu.org>
14775 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14776 changes in adaptive-fill-regexp. (Bug#10276)
14778 2012-01-11 Alan Mackenzie <acm@muc.de>
14780 Fix Emacs bug #10463 - put `widen's around the critical spots.
14782 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14783 widen around each invocation of c-state-pp-to-literal. Remove an
14784 unused let variable.
14786 2012-01-11 Glenn Morris <rgm@gnu.org>
14788 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14791 2012-01-10 Chong Yidong <cyd@gnu.org>
14793 * net/network-stream.el (network-stream-open-starttls):
14794 Avoid emitting a confusing error message when the server gives a bad
14795 response to the capability command.
14797 2012-01-10 Glenn Morris <rgm@gnu.org>
14799 * mail/unrmail.el (unrmail): Tweak previous change.
14801 2012-01-09 Chong Yidong <cyd@gnu.org>
14803 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14805 2012-01-08 Alan Mackenzie <acm@muc.de>
14807 Optimize font locking in long enum definitions.
14809 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14810 arm to a cond form to handle enums.
14811 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14812 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14814 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14816 * files.el (move-file-to-trash): Preserve default file modes on error.
14819 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14821 * faces.el (set-face-attribute): Clarify the meaning of the nil
14824 * subr.el (with-selected-frame): Mention that the selected frame
14825 is restored (bug#9980).
14827 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14830 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14831 (password-read): Don't autoload unused function.
14833 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14835 * progmodes/which-func.el (which-func-mode): Turn into a
14836 non-interactive function and mark as obsolete (bug#10428).
14838 2012-01-06 Chong Yidong <cyd@gnu.org>
14840 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14841 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14842 functions, along with 1 and -1.
14844 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14846 * time.el (display-time-load-average)
14847 (display-time-default-load-average): Doc fixes. See the thread
14849 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14852 2012-01-06 Glenn Morris <rgm@gnu.org>
14854 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14855 has no messages. (Bug#10377)
14857 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14858 than Info-edit. (Bug#10385)
14860 * time.el (display-time-load-average, display-time-next-load-average):
14863 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14864 local setting of buffer-read-only to the input buffer. (Bug#10419)
14866 * calendar/calendar.el (calendar-mode):
14867 Locally set scroll-margin to 0. (Bug#10379)
14869 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14871 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14873 2012-01-05 Glenn Morris <rgm@gnu.org>
14875 * eshell/em-unix.el (diff-no-select): Autoload it.
14876 (eshell/diff): Use diff-no-select. (Bug#10420)
14878 2012-01-05 Chong Yidong <cyd@gnu.org>
14880 * shell.el (shell-dynamic-complete-functions): Revert last change.
14881 (shell-command-completion-function): New function.
14882 (shell-completion-vars): Use it to implement
14883 shell-completion-execonly (Bug#10417).
14885 * custom.el (enable-theme): Don't set custom-safe-themes.
14887 * cus-theme.el (custom-theme-merge-theme):
14888 Ignore custom-enabled-themes and custom-safe-themes.
14890 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14892 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14893 first prompt in `sql-interacive-mode'.
14894 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14896 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14897 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14898 context of original buffer. Invoke `sql-login-hook'.
14900 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14902 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14903 letters in cite-prefix.
14905 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14907 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14909 2012-01-03 Chong Yidong <cyd@gnu.org>
14911 * shell.el (shell-dynamic-complete-functions):
14912 Put pcomplete-completions-at-point, so as to try
14913 comint-filename-completion first (Bug#10417).
14915 2012-01-02 Richard Stallman <rms@gnu.org>
14917 * battery.el (battery-status-function):
14918 Detect when to use battery-yeeloong-sysfs.
14919 (battery-echo-area-format): Add string for Yeeloong.
14920 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14921 (battery-yeeloong-sysfs): New function.
14923 2012-01-02 Chong Yidong <cyd@gnu.org>
14925 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14926 (dirtrack): Merge code for handling relative filenames in prompt
14927 from shell-dir-cookie-watcher.
14928 (dirtrack-debug-message): New arg to avoid excess format calls.
14930 * shell.el (shell-dir-cookie-re): Variable deleted.
14931 (shell-dir-cookie-watcher): Function deleted.
14932 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14933 with dirtrack-mode.
14935 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14937 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14938 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14941 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14943 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14945 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14947 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14948 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14950 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14952 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14953 also for alternative shells.
14954 (tramp-open-connection-setup-interactive-shell): Check, whether
14955 the shell is a busybox.
14956 (tramp-send-command): Don't suppress multiple prompts for
14957 busyboxes, it hurts.
14959 2011-12-28 Chong Yidong <cyd@gnu.org>
14961 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14962 (gdb-get-source-file): Move mode line update to
14963 gdb-get-source-file (Bug#10087).
14965 2011-12-25 Chong Yidong <cyd@gnu.org>
14967 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14968 gud-gdb-marker-filter without taking it as an argument.
14969 (gud-gdb-run-command-fetch-lines): Caller changed.
14970 (gud-gdb-completion-function): New variable.
14971 (gud-gdb-completion-at-point): Use it.
14972 (gud-gdb-completions-1): Split from gud-gdb-completions.
14974 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14975 function as separate arguments.
14976 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14977 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14978 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14979 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14980 (gdb-stopped, def-gdb-auto-update-trigger)
14981 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14982 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14984 (gud-gdbmi-completions): New function.
14985 (gdb): Use it for generating the completion table.
14987 2011-12-24 Alan Mackenzie <acm@muc.de>
14989 Introduce a mechanism to widen the region used in context font
14990 locking. Use this to protect declarations from losing their contexts.
14992 * progmodes/cc-langs.el (c-before-font-lock-functions):
14993 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14994 (c-before-context-fontification-functions): New defvar, a list of
14995 functions to be run just before context (etc.) font locking.
14997 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14998 New, functionality extracted from
14999 c-neutralize-syntax-in-and-mark-CPP.
15000 (c-in-after-change-fontification): New variable.
15001 (c-after-change): Set c-in-after-change-fontification.
15002 (c-set-fl-decl-start): Rejig its interface, so it can be called
15003 from both after-change and context fontifying.
15004 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15006 (c-standard-font-lock-fontify-region-function): New variable.
15007 (c-font-lock-fontify-region): New function.
15009 2011-12-24 Juri Linkov <juri@jurta.org>
15011 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15014 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15016 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15017 existence of source file. (Bug#10325)
15019 2011-12-23 Alan Mackenzie <acm@muc.de>
15021 Fix unstable fontification inside templates.
15023 * progmodes/cc-langs.el (c-before-font-lock-functions):
15024 Newly created from the singular version. The (c c++ objc) entry now
15025 additionally has c-set-fl-decl-start. The other languages (apart
15026 from AWK) have that as a single entry.
15028 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15029 The functionality for "local" declarations has been extracted to
15030 c-set-fl-decl-start.
15032 * progmodes/cc-mode.el (c-common-init, c-after-change):
15033 Changes due to pluralisation of c-before-font-lock-functions.
15034 (c-set-fl-decl-start): New function, extracted from
15035 c-font-lock-enclosing-decls and enhanced.
15037 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15039 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15041 2011-12-22 Juri Linkov <juri@jurta.org>
15043 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15045 2011-12-22 Chong Yidong <cyd@gnu.org>
15047 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15049 2011-12-21 Drew Adams <drew.adams@oracle.com>
15051 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15053 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15055 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15057 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15059 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15060 highlighting and support. Fix up comments for capitalization.
15061 (cfengine-mode-debug): New var.
15062 (cfengine3-mode): Change the modeline indicator to "CFE3".
15063 (cfengine3-font-lock-keywords): Improve defun highlighting.
15064 (cfengine2-actions): Rename from `cfengine-actions'.
15065 (cfengine2-font-lock-keywords): Rename from
15066 `cfengine-font-lock-keywords'.
15067 (cfengine2-imenu-expression): Rename from
15068 `cfengine-imenu-expression'.
15069 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15070 (cfengine2-beginning-of-defun): Rename from
15071 `cfengine-beginning-of-defun'.
15072 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15073 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15074 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15075 modeline indicator to "CFE2".
15076 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15077 (cfengine-mode-abbrevs): Mark obsolete.
15079 2011-12-21 Chong Yidong <cyd@gnu.org>
15081 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15084 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15086 * window.el (window-normalize-buffer-to-display): Remove.
15087 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15089 2011-12-19 Chong Yidong <cyd@gnu.org>
15091 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15092 Don't signal an error in a predicate function; return non-nil.
15093 (vc-dir-mark-file): Move the error here.
15094 (vc-dir-mark-unmark): If acting on the region, keep going if one
15095 of the entries cannot be marked/unmarked.
15096 (vc-dir-mark-all-files): If current entry is a directory, mark
15097 only child files, as documented.
15099 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15101 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15102 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15105 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15107 * term/ns-win.el (ns-get-selection-internal)
15108 (ns-store-selection-internal): Declare.
15109 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15110 Declare as obsolete.
15111 (ns-get-pasteboard, ns-paste-secondary):
15112 Use ns-get-selection-internal.
15113 (ns-set-pasteboard, ns-copy-including-secondary):
15114 Use ns-store-selection-internal.
15116 2011-12-17 Chong Yidong <cyd@gnu.org>
15118 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15119 (vc-deduce-fileset): Doc fix.
15121 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15123 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15125 2011-12-13 Sam Steingold <sds@gnu.org>
15127 * man.el (Man-getpage-in-background): When running under a
15128 window-system, ignore $MANWIDTH and $COLUMNS.
15130 2011-12-15 Kenichi Handa <handa@m17n.org>
15132 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15133 (setup-ethiopic-environment-internal): Comment out key-binding for
15134 ethio-toggle-punctuation.
15136 2011-12-13 Alan Mackenzie <acm@muc.de>
15138 Add the switch statement to AWK Mode.
15140 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15141 "default" to the keywords regexp.
15143 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15144 expression as the rest.
15145 (c-nonlabel-token-key): Allow string literals for AWK.
15146 Refactor for the other modes.
15148 Large brace-block initialisation makes CC Mode slow: Fix.
15149 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15150 routines. Limit backward searching in c-font-lock-enclosing.decl.
15152 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15153 pp-state and literal type in addition to the limits.
15154 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15155 (c-state-literal-at): Use the above new defun.
15156 (c-slow-in-literal, c-fast-in-literal): Remove.
15157 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15159 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15160 being in a literal. Add a limit for backward searching.
15162 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15165 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15167 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15169 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15171 * window.el (delete-other-windows): Use correct frame in call to
15172 window-with-parameter.
15174 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15176 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15177 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15178 (makefile-gmake-statements, makefile-makepp-statements):
15179 Use it and add new makepp keywords.
15180 (makefile-makepp-font-lock-keywords): Add new patterns.
15181 (makefile-match-function-end): Match new [...] and [[...]].
15183 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15185 * ses.el (ses-call-printer-return, ses-cell-property-get)
15186 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15187 (ses-create-cell-variable, ses-reset-header-string)
15188 (ses-cell-set-formula, ses-repair-cell-reference-all)
15189 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15190 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15191 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15192 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15193 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15194 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15195 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15196 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15197 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15198 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15199 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15200 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15202 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15204 * ses.el: The overall change is to add cell renaming, that is
15205 setting fancy names for cell symbols other than name matching
15206 "\\`[A-Z]+[0-9]+\\'" regexp .
15207 (ses-create-cell-variable): New defun.
15208 (ses-relocate-formula): Relocate formulas only for cells the
15209 symbols of which are not renamed, i.e. symbols whose names do not
15210 match regexp "\\`[A-Z]+[0-9]+\\'".
15211 (ses-relocate-all): Relocate values only for cells the symbols of
15212 which are not renamed.
15213 (ses-load): Create cells variables as the (ses-cell ...) are read,
15214 in order to check row col consistency with cell symbol name only
15215 for cells that are not renamed.
15216 (ses-replace-name-in-formula): New defun.
15217 (ses-rename-cell): New defun.
15219 2011-12-11 Chong Yidong <cyd@gnu.org>
15221 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15222 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15224 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15226 * window.el (other-window): Fix docstring.
15228 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15230 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15231 `from' or `to' address before taking its substring.
15232 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15233 encoded name is chopped in the middle of the encoded string, and
15234 thus displayed encoded.
15236 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15238 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15240 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15242 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15243 to use texinfo-update-node and commands that call it if the
15244 Texinfo file uses @node lines without next/prev/up pointers.
15245 Correct outdated description about texinfo-master-menu.
15246 (texinfo-all-menus-update, texinfo-master-menu)
15247 (texinfo-update-node, texinfo-every-node-update)
15248 (texinfo-multiple-files-update): Doc fix. Warn against updating
15249 all the @node lines.
15250 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15251 argument is numeric. Explain better in the doc string what the
15252 function really does.
15253 (texinfo-insert-master-menu-list): Improve the error message
15254 displayed if there's no menu in the Top node.
15255 (Bug#2975) See also this thread:
15256 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15258 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15260 * speedbar.el (speedbar-supported-extension-expressions):
15261 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15263 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15265 * printing.el (pr-mode-alist):
15266 * simple.el (filter-buffer-substring-functions)
15267 (completion-list-insert-choice-function):
15268 * window.el (window-with-parameter, window-atom-root)
15269 (window-sides-slots, window-size-fixed, window-min-delta)
15270 (window-max-delta, window--resize-mini-window)
15271 (window--resize-child-windows-normal, window-tree)
15272 (delete-other-windows, quit-window, split-window)
15273 (display-buffer-record-window, special-display-buffer-names)
15274 (special-display-regexps, special-display-popup-frame)
15275 (same-window-p, split-window-sensibly)
15276 (display-buffer-overriding-action, display-buffer-alist)
15277 (display-buffer-base-action, display-buffer, switch-to-buffer)
15278 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15279 (fit-window-to-buffer, recenter-positions)
15280 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15281 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15282 and remove unneeded backslashes in docstrings.
15284 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15286 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15288 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15289 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15291 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15292 when reading the makefile (bug#10116).
15294 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15296 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15299 2011-12-06 Glenn Morris <rgm@gnu.org>
15301 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15303 2011-12-06 Chong Yidong <cyd@gnu.org>
15305 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15307 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15309 * textmodes/table.el (table-shorten-cell): Fix typo.
15311 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15313 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15315 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15317 * descr-text.el (describe-char): Fix display of strong
15318 right-to-left characters and directional embeddings and overrides.
15320 * simple.el (what-cursor-position): Fix display of codepoints of
15321 strong right-to-left characters.
15323 2011-12-05 Chong Yidong <cyd@gnu.org>
15325 * faces.el (read-color): Doc fix.
15327 2011-12-05 Glenn Morris <rgm@gnu.org>
15329 * align.el (align--set-marker): Add doc-string.
15330 Don't try to move something that is not a marker. (Bug#10216)
15332 2011-12-04 Glenn Morris <rgm@gnu.org>
15334 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15335 overly zealous deletion of trailing whitespace.
15337 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15339 * server.el (server-delete-client): On Windows, do not try to delete
15341 (server-process-filter): On Windows, treat requests for a tty frame as
15342 if they were for a GUI frame if the running server is in GUI mode.
15344 2011-12-03 Glenn Morris <rgm@gnu.org>
15346 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15348 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15350 * electric.el: Streamline electric-indent's hook.
15351 (electric-indent-chars): Revert to simple list.
15352 (electric-indent-functions): New var.
15353 (electric-indent-post-self-insert-function): Use it.
15355 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15356 there's no inferior buffer (bug#10196).
15357 (prolog-consult-compile): Don't use toggle-read-only.
15359 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15361 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15362 interrupt. (Bug#10187)
15364 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15366 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15369 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15372 2011-12-02 Juri Linkov <juri@jurta.org>
15374 * info.el (Info-search): Display "end of manual" when Isearch
15375 reaches the end of single-file Info manual. (Bug#9918)
15377 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15379 * isearch.el (isearch-message-prefix): Run the input method part
15380 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15382 2011-12-02 Juri Linkov <juri@jurta.org>
15384 * isearch.el (isearch-occur): Use `word-search-regexp' for
15386 (isearch-search-and-update): Add condition for `isearch-word' and
15387 call `word-search-regexp'. (Bug#10145)
15389 2011-12-01 Glenn Morris <rgm@gnu.org>
15391 * eshell/em-hist.el (eshell-hist-initialize):
15392 Handle eshell-history-size nil and HISTSIZE set or unset.
15393 (eshell-history-file-name, eshell-history-size): Fix custom type.
15395 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15399 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15401 * progmodes/verilog-mode.el (verilog-pretty-expr):
15402 Rework verilog-pretty-expr to handle new assignment operators in system
15403 verilog, such as += *= and the like.
15404 (verilog-assignment-operator-re): Regular expression to find the
15405 assigment operator in a verilog assignment.
15406 (verilog-assignment-operation-re): Regular expression to find an
15407 assignment statement for pretty-expr.
15408 (verilog-in-attribute-p): Query returns true if point is in an
15409 attribute context; used to skip these for expression line up from
15411 (verilog-in-parameter-p): Query returns true if point is in an
15412 parameter definition context; used to skip these for expression
15413 line up from pretty-expr.
15414 (verilog-in-parenthesis-p): Query returns true if point is in a
15415 parenthetical expression, specifically ( ) but not [ ] or { };
15416 used by pretty-expr.
15417 (verilog-just-one-space): If there is no space, don't add one.
15418 (verilog-get-lineup-indent-2): Specifically skip just attribute
15419 contexts for expression lineup, rather than skipping all
15420 parenthetical expressions.
15421 (verilog-calculate-indent): Fix comment, and fix indent.
15422 (verilog-do-indent): Indent declarations in lists (suggested by
15424 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15426 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15429 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15431 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15432 parameters with embedded comments. Reported by Ray Stevens.
15433 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15434 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15435 Reported by Tim Holt.
15436 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15437 instantiated by upper module causing wrong expansion until AUTOed a
15438 second time. Reported by K C Buckenmaier.
15439 (verilog-diff-auto): Fix showing .* as a difference when
15440 `verilog-auto-star-save' off. Reported by Dan Dever.
15441 (verilog-auto-reset, verilog-read-always-signals)
15442 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15443 temporary signals in reset list if
15444 verilog-auto-reset-blocking-in-non is nil, and match assignment
15445 style to each signal's assignment type, bug381.
15446 Reported by Thomas Esposito.
15447 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15448 (verilog-uvm-statement-re): Support UVM indentation and
15449 highlighting, with old OVM keywords only.
15450 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15451 Support AUTOTIEOFF creating non-wire data types.
15452 Suggested by Jonathan Greenlaw.
15453 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15454 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15455 (verilog-inject-sense, verilog-read-inst-pins)
15456 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15457 Fix mismatching parenthesis inside commented out code when deleting
15458 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15459 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15460 non-numeric vector width. Reported by Alex Reed.
15461 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15462 detecting signals with parameter widths. Reported by Alex Reed.
15463 (verilog-auto-delete-trailing-whitespace):
15464 With `verilog-auto-delete-trailing-whitespace' remove trailing
15465 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15466 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15467 Fix verilog-scan-cache corruption when running user AUTO expansion
15468 hooks that call indentation routines.
15469 (verilog-simplify-range-expression): Fix typo ignoring lower case
15471 (verilog-delete-auto): Fix delete-autos to also remove user created
15472 automatics, as long as they start with AUTO.
15473 (verilog-batch-diff-auto, verilog-diff-auto)
15474 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15475 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15476 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15477 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15478 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15479 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15480 is disabled and its cache will get corrupt, causing AUTOS not to
15481 expand. Instead use only -quick functions.
15482 (verilog-scan-region): Fix scanning over escaped quotes.
15483 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15484 (verilog-re-search-backward-quick)
15485 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15486 related functions now ignore strings, to fix misparsing of strings
15487 with magic comments embedded in them.
15488 (verilog-read-auto-template):
15489 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15490 Reported by Brad Dobbie.
15491 (verilog-read-auto-template):
15492 Fix 'verilog-auto-inst-template-numbers' with comments.
15493 Reported by Brad Dobbie.
15494 (verilog-auto-inst, verilog-auto-inst-param)
15495 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15496 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15497 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15498 debugging templates without merge conflicts, bug357.
15499 Reported by Brad Dobbie.
15500 (verilog-read-auto-template):
15501 Fix verilog-auto-inst-template-numbers with multiple templates.
15502 Reported by Brad Dobbie.
15503 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15504 abbrevs so user won't be asked to save.
15505 (verilog-read-auto-lisp-present): Fix to start at beginning of
15506 buffer in case called outside of verilog-auto.
15507 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15508 to "X-2". Reported by Matthew Myers.
15509 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15510 all inputs from module templates. Reported by Leith Johnson.
15511 (verilog-module-inside-filename-p): Fix locating programs as with
15513 (verilog-auto-inst-port): Fix vl-width expressions when using
15514 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15515 (verilog-decls-get-regs, verilog-decls-get-signals,
15516 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15517 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15518 verilog-read-decls): Combine reg and wire structures into one var
15519 structure to represent SystemVerilog concepts.
15520 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15521 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15522 (verilog-auto-wire-type, verilog-insert-definition):
15523 Add verilog-auto-wire-type and AUTOLOGIC to support using
15524 SystemVerilog "logic" keyword instead of "wire"/"reg".
15525 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15526 to declares outputs that also have assignments (presumably in an
15527 ifdef or generate if so there's not a driver conflict).
15528 Reported by Matthew Myers.
15529 (verilog-auto-declare-nettype, verilog-insert-definition):
15530 Add verilog-auto-declare-nettype to fix declarations using
15531 `default_nettype none. Reported by Julian Gorfajn.
15532 (verilog-read-always-signals-recurse, verilog-read-decls)
15533 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15534 malformed end statement, bug325. Reported by Joshua Wise and
15536 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15537 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15538 when expanding .* in interfaces, bug320.
15539 Reported by Pierre-David Pfister.
15540 (verilog-read-module-name): Fix import statements between module
15541 name and open parenthesis, bug317.
15542 Reported by Pierre-David Pfister.
15543 (verilog-simplify-range-expression): Fix simplification of
15544 multiplications inside AUTOWIRE connections, bug303.
15545 (verilog-auto-inst-port): Support parameter expansion in
15546 multidimensional arrays.
15547 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15548 after "assert property". Reported by Julian Gorfajn.
15549 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15550 with multiplication, bug303.
15551 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15552 Reported by Jan Frode Lonnum.
15554 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15556 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15557 (hfy-shell-file-name, hfy-shell):
15558 * international/fontset.el (x-decompose-font-name): Fix typos.
15560 2011-11-29 Ken Brown <kbrown@cornell.edu>
15562 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15563 (gdb-version): Remove defvar.
15564 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15565 (gdb-gud-context-command, gdb-non-stop-handler)
15566 (gdb-current-context-command, gdb-stopped): Use it.
15567 (gdb-init-1): Enable pretty printing here.
15568 (gdb-non-stop-handler): Don't enable pretty-printing here.
15569 Check to see if the target supports non-stop mode; if not, turn off
15570 non-stop mode. Use the following.
15571 (gdb-check-target-async): New defun.
15572 (gud-watch, gdb-stopped): Fix whitespace.
15573 (gdb-get-source-file): Don't try to display the source file if
15574 `gdb-main-file' is nil.
15576 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15578 * align.el: Try to generate fewer markers (bug#10047).
15579 (align--set-marker): New macro.
15580 (align-region): Use it.
15582 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15584 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15586 2011-11-29 Chong Yidong <cyd@gnu.org>
15588 * indent.el (indent-for-tab-command, indent-according-to-mode):
15590 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15592 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15594 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15595 aware of remote file names. (Bug#10124)
15597 2011-11-29 Chong Yidong <cyd@gnu.org>
15599 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15601 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15603 * files.el (find-file): Don't use force-same-window (bug#10144).
15604 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15605 use pop-to-buffer if the selected window can't be used.
15606 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15608 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15610 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15613 2011-11-28 Chong Yidong <cyd@gnu.org>
15615 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15617 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15619 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15620 gdb-get-source-file-list on gdb-create-source-file-list.
15622 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15624 * whitespace.el (whitespace-newline): Use a different foreground
15625 color for 16-color light-background displays.
15627 2011-11-24 Chong Yidong <cyd@gnu.org>
15629 * window.el (display-buffer--special-action): Doc fix.
15631 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15633 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15634 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15635 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15636 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15637 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15638 (avl-tree-stack-first):
15639 * emacs-lisp/cconv.el (cconv--analyse-use):
15640 * net/gnutls.el (gnutls-negotiate): Fix typos.
15642 2011-11-24 Glenn Morris <rgm@gnu.org>
15644 * lpr.el (lpr-windows-system, lpr-lp-system):
15645 * mail/binhex.el (binhex-begin-line):
15646 * progmodes/grep.el (grep-history, grep-find-history):
15647 * textmodes/flyspell.el:
15648 * vc/pcvs-defs.el (cvs-global-menu):
15649 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15650 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15651 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15653 * net/tls.el: Fix case of "GnuTLS".
15655 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15657 * version.el (emacs-build-system): Give it a doc-string.
15659 2011-11-24 Juri Linkov <juri@jurta.org>
15661 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15663 2011-11-24 Glenn Morris <rgm@gnu.org>
15665 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15666 if called on a non-mime message just toggle the headers. (Bug#8006)
15668 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15670 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15671 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15672 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15673 (allout-rebullet-heading, allout-open-sibtopic)
15674 (allout-toggle-current-subtree-encryption)
15675 (allout-toggle-subtree-encryption, allout-encrypt-string)
15676 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15677 (allout-distinctive-bullets-string, allout-auto-activation):
15678 * window.el (window-normalize-buffer-to-display):
15679 * progmodes/verilog-mode.el (verilog-batch-indent):
15680 * textmodes/bibtex.el (bibtex-field-braces-opt)
15681 (bibtex-field-strings-opt):
15682 * vc/cvs-status.el (cvs-tree-merge):
15685 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15687 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15688 `non-essential' to t, in order to avoid remote connections.
15690 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15692 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15693 On MS-DOS and MS-Windows, compare with loaddefs.el
15694 case-insensitively.
15696 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15698 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15700 2011-11-23 Glenn Morris <rgm@gnu.org>
15702 * paths.el (rmail-file-name): Reformat the doc-string so that it
15705 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15706 (rmail-auto-file): Ignore case in the "special" field names,
15707 as mail-fetch-field does for all others.
15709 * mail/rmail.el (rmail-forward):
15710 * mail/rmailkwd.el (rmail-set-label):
15711 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15712 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15714 * mail/rmail.el (rmail-current-message): Doc fix.
15716 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15718 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15720 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15722 2011-11-22 Glenn Morris <rgm@gnu.org>
15724 * mail/rmailmm.el (test-rmail-mime-handler)
15725 (test-rmail-mime-bulk-handler)
15726 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15728 2011-11-21 Juri Linkov <juri@jurta.org>
15730 * calc/calc.el (calc-read-key-sequence):
15731 Let-bind `input-method-function' to nil. (Bug#10018)
15733 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15735 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15736 Tell the caller that the next line needs recomputation, even
15737 though it doesn't start a sexp (bug#10094).
15739 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15743 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15746 Use force-same-window.
15748 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15750 * descr-text.el (describe-char-unicode-data):
15751 * json.el (json-string-escape):
15752 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15753 (Footnote-unicode, Footnote-style-p):
15754 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15756 2011-11-20 Chong Yidong <cyd@gnu.org>
15758 * window.el (replace-buffer-in-windows): Restore interactive spec.
15760 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15762 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15764 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15765 (byte-compile-global-not-obsolete-vars): New var.
15766 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15768 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15770 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15772 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15773 * progmodes/pascal.el (electric-pascal-equal):
15774 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15775 * xml.el (xml-substitute-special): Fix typos.
15777 2011-11-20 Glenn Morris <rgm@gnu.org>
15779 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15780 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15782 (rmail-decode-mime-charset): Mark as obsolete.
15784 * mail/rmailsum.el (rmail-message-regexp-p-1):
15785 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15786 Before using mime functions, check they are set. (Bug#10077)
15788 2011-11-19 Juri Linkov <juri@jurta.org>
15790 * info.el (Info-finder-find-node): Use `package--builtins' instead
15791 of `package-alist'. Use node names formed by the pattern "Keyword "
15792 and the keyword name.
15794 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15796 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15798 2011-11-19 Juri Linkov <juri@jurta.org>
15800 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15801 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15802 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15803 `old-history', `old-history-forward'. Add let-binding
15804 `window-selected'. Remove calls to `kill-buffer',
15805 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15806 before calling `Info-find-node', so `Info-find-node-2' will reread
15807 the Info file. Restore window positions only when `window-selected'
15810 2011-11-19 Juri Linkov <juri@jurta.org>
15812 * isearch.el (isearch-lazy-highlight-new-loop):
15813 Remove condition `(not isearch-error)'. (Bug#9918)
15815 * misearch.el (multi-isearch-search-fun): Add condition
15816 `(not bound)' to ignore lazy-highlighting search.
15817 Add the search-failed message "end of multi" when the end of
15818 multi-sequence is reached. Uncapitalize the search-failed
15819 message "Repeat for next buffer".
15821 * info.el (Info-search): Add the search-failed message
15822 "end of the manual" when the end of the manual is reached
15825 2011-11-19 Juri Linkov <juri@jurta.org>
15827 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15828 Use non-destructive `remove' instead of `delete' because
15829 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15830 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15832 2011-11-19 Juri Linkov <juri@jurta.org>
15834 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15835 to nil instead of binding `search-ring' and `regexp-search-ring'.
15838 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15840 * simple.el (line-move): Force movement by logical lines for any
15841 hscrolled window, not only when auto-hscroll-mode is on.
15842 (line-move-visual): Update doc string to that effect. (Bug#10076)
15844 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15846 * language/european.el (macintosh): Define as alias for mac-roman.
15848 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15850 * mail/rmailmm.el (rmail-mime-display-header)
15851 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15852 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15853 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15854 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15855 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15857 (rmail-mime-entity-segment): To get past the tagline, move forward
15858 2 more lines, to account for the 2 empty lines that precede and
15859 follow the line with the buttons.
15860 (rmail-mime-update-tagline): Move one more line, to get past the
15861 empty line that follows the buttons in the tagline. (Bug#9520)
15863 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15865 * window.el (window-max-delta-1, window-min-delta-1)
15866 (window-min-size-1, window-state-get-1, window-state-put-1)
15867 (window-state-put-2): Use "window--" prefix.
15869 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15871 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15872 (smie-warning-count): New var.
15873 (smie-set-prec2tab): Use it.
15874 (smie-bnf->prec2): Improve warnings. Add docstring.
15875 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15876 (smie-bnf--set-class): New function.
15877 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15880 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15881 (compilation-error-properties, compilation-move-to-column):
15882 Handle compilation-first-column while in the target buffer.
15884 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15885 Don't hardcode point-min==1.
15887 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15888 (eshell-rewrite-for-command): Remove workaround.
15889 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15890 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15891 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15893 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15895 2011-11-17 Glenn Morris <rgm@gnu.org>
15897 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15898 Ignore buffer-local generated-autoload-file if it is the same
15899 as the global value. (Bug#10049)
15901 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15903 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15904 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15905 (reftex-toc-previous-heading, reftex-toc-max-level)
15906 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15907 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15908 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15909 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15910 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15911 (reftex-toc-rename-label, reftex-toc-visit-location)
15912 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15913 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15914 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15915 leaving "*toc*" only for references to the buffer.
15917 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15919 * window.el (window-resize, delete-window, split-window):
15920 Replace window-splits by window-combination-resize.
15921 * cus-start.el (window-splits): Replace by window-combination-resize.
15923 2011-11-17 Glenn Morris <rgm@gnu.org>
15925 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15926 Make bash entry derive from sh entry, not shell entry.
15928 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15930 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15933 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15935 * menu-bar.el (menu-bar-file-menu):
15936 * printing.el (pr-ps-utility):
15937 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15938 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15939 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15940 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15941 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15942 (icalendar--convert-cyclic-to-ical)
15943 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15944 (icalendar--convert-ical-to-diary)
15945 (icalendar--convert-recurring-to-diary)
15946 (icalendar--convert-non-recurring-all-day-to-diary)
15947 (icalendar-import-format-sample):
15948 * progmodes/idlw-shell.el (idlwave-shell-mode):
15949 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15950 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15951 (vhdl-ps-print-init): Fix typos.
15953 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15955 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15956 FSF and collapse date sequence, obscure author/maintainer email address
15957 better, remove extra version line, track relocation of author's webpage.
15959 * progmodes/python.el (python-pdbtrack-input-prompt)
15960 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15961 regular python pdb prompts. Adjustments shamelessly taken exactly as
15962 suggested in EmacsWiki page (tiny change):
15963 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15965 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15967 * expand.el (expand-pos, expand-index, expand-point):
15968 Remove redundant info from docstring.
15969 (expand-add-abbrevs): Doc fix.
15970 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15971 (expand-sample-perl-mode-expand-list): Fix typos.
15973 * net/dbus.el (dbus-event-member-name):
15974 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15975 * term/pc-win.el (msdos-create-frame-with-faces):
15976 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15978 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15980 * window.el (split-window, window-state-get-1)
15981 (window-state-put-1, window-state-put-2): Rename occurrences of
15982 window-nest to window-combination-limit.
15983 * cus-start.el (window-nest): Rename to window-combination-limit.
15985 2011-11-16 Chong Yidong <cyd@gnu.org>
15987 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15988 regexp (Bug#10033).
15990 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15992 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15993 `completing-read' will remove *Completions* and will preserve
15994 current-buffer for us.
15995 (tmm-add-prompt): Users of *Completions* will always (re)set its
15997 (tmm-old-comp-map): Remove.
15999 2011-11-16 Glenn Morris <rgm@gnu.org>
16001 * mail/rmailedit.el: Require rmailmm when compiling.
16002 (rmail-old-mime-state): New declaration.
16003 (rmail-edit-current-message): If editing a mime message,
16004 edit the "raw" message from the mbox buffer.
16005 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16007 2011-11-15 Glenn Morris <rgm@gnu.org>
16009 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16010 which wasn't being used. Add optional arg to force given state.
16011 (rmail-mime): Add optional arg to force given state.
16013 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16015 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16016 * frame.el (display-mm-dimensions-alist):
16017 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16018 (outline-move-subtree-down):
16019 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16020 (newsticker--treeview-do-get-node):
16021 * net/quickurl.el (quickurl-list-buffer-name):
16022 * progmodes/dcl-mode.el (dcl-mode):
16023 * progmodes/gdb-mi.el (gdb-mapcar*):
16024 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16026 2011-11-15 Glenn Morris <rgm@gnu.org>
16028 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16029 in a boolean sense, so just make it a boolean, and fix the doc.
16030 (rmail-show-mime-function, rmail-mime-feature)
16031 (rmail-require-mime-maybe): Doc fixes.
16032 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16034 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16036 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16038 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16039 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16040 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16041 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16043 2011-11-15 Glenn Morris <rgm@gnu.org>
16045 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16046 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16047 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16048 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16049 (rmail-mime, rmail-show-mime): Doc fixes.
16051 * term/ns-win.el (mode-line-frame-identification):
16052 Leave it alone. (Bug#10051)
16054 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16056 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16057 Handle empty buffers. (Bug#9978)
16059 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16061 * international/mule.el (define-charset):
16062 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16063 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16064 * progmodes/verilog-mode.el (verilog-backward-token):
16065 * textmodes/ispell.el (lookup-words):
16066 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16068 2011-11-14 Glenn Morris <rgm@gnu.org>
16070 * progmodes/executable.el
16071 (executable-make-buffer-file-executable-if-script-p):
16072 Handle file-modes returning nil.
16074 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16075 message - not necessary, and causes problems. (Bug#9831)
16077 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16079 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16081 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16082 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16083 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16085 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16087 * window.el (window-resize, delete-window): Use window-splits
16088 variable instead of function.
16089 (window-state-get-1, window-state-put-2, window-state-put):
16090 Don't deal with windows' splits status.
16092 2011-11-12 Glenn Morris <rgm@gnu.org>
16094 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16095 (apropos-documentation): Doc fixes.
16097 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16099 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16100 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16102 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16104 * electric.el (electric-indent-post-self-insert-function): Make it
16105 possible for a char to only indent in some circumstances.
16106 (electric-indent-mode): Simplify.
16108 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16110 * window.el (windows-with-parameter): Remove unused function.
16111 (windows-at-side): Rename to window-at-side-list.
16112 (window-check, window-atom-check, window-atom-check-1)
16113 (window-side-check, window-size-ignore, window-size-fixed-1)
16114 (window-in-direction-2): Prefix with "window--".
16115 (window-tree-1): Rename to window--subtree, fix doc-string.
16117 2011-11-11 Glenn Morris <rgm@gnu.org>
16119 * subr.el (eval-after-load): If FILE is already loaded,
16120 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16122 2011-11-10 Glenn Morris <rgm@gnu.org>
16124 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16125 Call svn via vc-svn-command rather than vc-do-command.
16126 (vc-svn-command): Add --non-interactive. (Bug#9993)
16127 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16129 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16130 Add toggle-read-only. (Bug#7292)
16131 * files.el (toggle-read-only): Mention that it should only
16132 be used interactively. (Bug#10006)
16134 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16136 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16137 Adjust regexp for OCaml warnings.
16139 * electric.el (electric-pair-post-self-insert-function): Let user
16140 turn it off buffer-locally (bug#9932).
16142 * progmodes/python.el (python-beginning-of-statement):
16143 Rewrite (bug#2703).
16145 * progmodes/compile.el: Better handle TABs (bug#9749).
16146 (compilation-internal-error-properties)
16147 (compilation-next-error-function): Obey the target buffer's
16148 compilation-error-screen-columns.
16150 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16152 * progmodes/meta-mode.el: Remove obsolete comments.
16153 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16154 Fix typos in docstrings.
16156 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16158 * window.el (window-size-fixed-p): Rewrite doc-string.
16159 (window-resizable-p): Rename to window--resizable-p. Update callers.
16160 (window--resizable): New function. Make all callers of
16161 window-resizable call window--resizable instead.
16162 (window-resizable): Rewrite in terms of window--resizable.
16164 2011-11-08 Glenn Morris <rgm@gnu.org>
16166 * progmodes/delphi.el (delphi-mode-syntax-table):
16167 Let define-derived-mode define a proper syntax table. (Bug#9994)
16169 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16171 * window.el: Stay away from defsubst.
16172 (window-list-no-nils): Remove.
16173 (window-state-get-1, window-state-get): Use backquote instead.
16175 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16177 * emacs-lisp/find-func.el (find-function-read):
16178 Fix incorrect use of default argument in `completing-read'.
16180 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16182 * window.el (display-buffer-function, special-display-function):
16183 Mention display-buffer-record-window but do not mention
16184 help-setup parameter in doc-strings.
16185 (window-min-delta): Fix doc-string typo.
16187 2011-11-08 Chong Yidong <cyd@gnu.org>
16189 * window.el (window-total-height, window-total-width): Doc fix.
16190 (window-body-size): Move from C.
16191 (window-body-height, window-body-width): Move to C.
16193 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16195 * window.el: Make special-display like display-buffer-alist (bug#9532).
16196 (display-buffer--special-action): New function, morphed
16197 from display-buffer--special.
16198 (display-buffer): Use it to handle special-display-buffers at higher
16199 priority (just after display-buffer-alist).
16200 (display-buffer-fallback-action, display-buffer--other-frame-action)
16201 (pop-to-buffer-same-window): Remove display-buffer--special.
16203 2011-11-07 Glenn Morris <rgm@gnu.org>
16205 * calendar/cal-menu.el (cal-menu-set-date-title):
16206 Do nothing if not in a calendar. (Bug#9976)
16208 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16210 * files.el (find-file): Always use selected-window.
16212 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16214 * window.el (window-combinations): Make WINDOW argument
16215 mandatory. Rewrite doc-string.
16216 (walk-window-subtree, window-atom-check, window-min-delta)
16217 (window-max-delta, window--resize-this-window)
16218 (window--resize-root-window-vertically, window-tree)
16219 (balance-windows, window-state-put): Rewrite doc-strings as to
16220 not mention the term "subwindow".
16221 (window--resize-subwindows-skip-p): Rename to
16222 window--resize-child-windows-skip-p.
16223 (window--resize-subwindows-normal): Rename to
16224 window--resize-child-windows-normal.
16225 (window--resize-subwindows): Rename to
16226 window--resize-child-windows.
16227 (window-or-subwindow-p): Rename to window--in-subtree-p.
16229 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16231 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16232 Ensure that mbox format messages end in two newlines (Bug#9974).
16234 2011-11-06 Chong Yidong <cyd@gnu.org>
16236 * window.el (window-combination-p): Function deleted; its
16237 side-effect is not used in any existing code.
16238 (window-combinations, window-combined-p): Call window-*-child
16241 2011-11-05 Chong Yidong <cyd@gnu.org>
16243 * window.el (window-valid-p): Rename from window-any-p.
16244 (window-size-ignore, window-state-get): Callers changed.
16245 (window-normalize-window): Rename from window-normalize-any-window.
16246 New arg LIVE-ONLY, replacing window-normalize-live-window.
16247 (window-normalize-live-window): Delete.
16248 (window-combination-p, window-combined-p, window-combinations)
16249 (walk-window-subtree, window-atom-root, window-min-size)
16250 (window-sizable, window-sizable-p, window-size-fixed-p)
16251 (window-min-delta, window-max-delta, window-resizable)
16252 (window-resizable-p, window-full-height-p, window-full-width-p)
16253 (window-current-scroll-bars, window-point-1, set-window-point-1)
16254 (window-at-side-p, window-in-direction, window-resize)
16255 (adjust-window-trailing-edge, maximize-window, minimize-window)
16256 (window-deletable-p, delete-window, delete-other-windows)
16257 (record-window-buffer, unrecord-window-buffer)
16258 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16259 (quit-window, split-window, window-state-put)
16260 (set-window-text-height, fit-window-to-buffer)
16261 (shrink-window-if-larger-than-buffer): Callers changed.
16263 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16265 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16266 rfc2047-decode-string.
16267 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16270 * window.el (window-body-height, window-body-width): Mention in
16271 the doc string that the return values are in frame's canonical
16274 2011-11-03 Alan Mackenzie <acm@muc.de>
16276 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16277 change in cc-engine.el.
16279 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16281 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16283 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16285 * window.el (quit-window): Call unrecord-window-buffer after
16286 showing another buffer in the window. (Bug#9937)
16287 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16289 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16291 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16292 Accept status with more than 9 shelves. (Bug#9935)
16293 Reported by Colin D Bennett <colin@gibibit.com>.
16295 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16297 * help.el (with-help-window): Don't reference
16298 temp-buffer-show-specifiers in doc-string.
16300 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16302 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16305 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16307 * whitespace.el: New version 13.2.2.
16308 (whitespace-newline-mode): Disable properly. Reported by Sarah
16311 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16313 * net/newst-treeview.el: Remove "Time-stamp".
16314 (newsticker--group-manage-orphan-feeds): Do not call
16315 newsticker--treeview-tree-update.
16316 (newsticker-treeview-update, newsticker-treeview):
16317 Call newsticker--treeview-tree-update if necessary.
16319 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16321 * window.el (window-iso-combination-p, window-iso-combined-p)
16322 (window-iso-combinations): Remove "iso-" infix.
16323 Suggested by Chong Yidong.
16324 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16325 (window-max-delta-1, window-resize, window--resize-siblings)
16326 (window--resize-this-window, adjust-window-trailing-edge)
16327 (split-window, balance-windows-1)
16328 (shrink-window-if-larger-than-buffer):
16329 * calendar/calendar.el (calendar-generate-window):
16330 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16332 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16334 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16335 in place (bug#9907).
16336 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16337 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16338 (eshell-structure-basic-command, eshell-rewrite-while-command)
16339 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16340 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16341 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16342 (eshell-do-pipelines-synchronously, eshell-eval-command):
16343 Use backquotes and prefer setq to set.
16344 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16345 (eshell-macrop): Use functionp.
16346 (eshell-do-eval): Handle multiple expressions in `while' body.
16348 2011-10-30 Chong Yidong <cyd@gnu.org>
16350 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16351 instead of set-mark (Bug#9810).
16353 2011-10-30 Chong Yidong <cyd@gnu.org>
16355 * window.el (split-window-below, split-window-right): Rename from
16356 split-window-above-each-other and split-window-side-by-side
16357 respectively. All callers changed.
16358 (split-window-sensibly, split-window-sensibly): Use them.
16359 (split-window-keep-point): Doc fix.
16361 * isearch.el: Add isearch-scroll property to split-window-below
16362 and split-window-right.
16364 * follow.el (follow-mode):
16365 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16366 * progmodes/ada-xref.el (ada-gdb-application):
16367 * emulation/vip.el (vip-buffer-in-two-windows):
16368 * image-dired.el (image-dired-dired-with-window-configuration):
16369 * dired-x.el (dired-do-find-marked-files):
16370 * dired.el (dired-pop-to-buffer):
16371 * bs.el (bs--show-with-configuration):
16372 * vc/emerge.el (emerge-setup-windows):
16373 * textmodes/two-column.el (2C-two-columns):
16374 * textmodes/reftex-toc.el (reftex-toc):
16375 * progmodes/gdb-mi.el (gdb-setup-windows):
16376 * progmodes/fortran.el (fortran-window-create):
16377 * net/newst-treeview.el (newsticker--treeview-window-init):
16378 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16379 * emulation/tpu-edt.el (tpu-gold-map):
16380 * emulation/crisp.el (crisp-mode-map):
16381 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16383 2011-10-29 Chong Yidong <cyd@gnu.org>
16385 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16387 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16389 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16390 forged Ispell output (Bug#7904).
16392 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16394 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16396 * doc-view.el: Avoid ugly errors about not finding nil.
16397 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16398 (doc-view-dvipdf-program, doc-view-unoconv-program)
16399 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16400 Avoid nil or absolute file name as default value.
16401 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16403 2011-10-28 Alan Mackenzie <acm@muc.de>
16405 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16407 2011-10-28 Alan Mackenzie <acm@muc.de>
16409 Amend the handling of c-beginning/end-of-defun in nested declaration
16412 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16413 cc-langs.el. Change it to a defcustom.
16415 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16418 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16419 Prevent "class foo : bar" being spuriously recognized as a label.
16421 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16422 Add parameter `inclusive' (to include enclosing braces in the region).
16423 (c-widen-to-enclosing-decl-scope): New function.
16424 (c-while-widening-to-decl-block): New macro.
16425 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16426 outward for defun boundaries, and correspondingly change symbol
16427 `respect-enclosure' to `go-outward'.
16428 (c-declaration-limits): Change algorithm to report only the "innermost"
16429 defun's boundaries.
16431 2011-10-28 Deniz Dogan <deniz@dogan.se>
16433 * net/rcirc.el (rcirc-mode): Use hard newlines.
16435 2011-10-28 Alan Mackenzie <acm@muc.de>
16437 Amend to indent and fontify macros "which include their own semicolon"
16438 correctly, using the "virtual semicolon" mechanism.
16440 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16442 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16443 Recode to scan one line at a time rather than having \n and \r
16444 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16445 (c-forward-label): Amend for virtual semicolons.
16446 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16448 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16449 of the new C macros.
16451 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16452 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16453 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16454 (c-opt-cpp-macro-define): Make into a full language variable.
16455 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16456 AWK Mode (including \n, \r) removed, no longer needed.
16458 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16459 Invoke c-make-macro-with-semi-re.
16461 * progmodes/cc-vars.el (c-macro-with-semi-re):
16462 (c-macro-names-with-semicolon): New variables.
16463 (c-make-macro-with-semi-re): New function.
16465 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16467 * vc/log-edit.el: Fill empty field rather than adding new one.
16468 (log-edit-add-field): New function.
16469 (log-edit-insert-changelog): Use it.
16471 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16473 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16475 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16477 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16478 (gdb--check-interpreter): New function.
16481 2011-10-27 Glenn Morris <rgm@gnu.org>
16483 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16484 (least-positive-float, least-negative-float)
16485 (least-positive-normalized-float, least-negative-normalized-float)
16486 (float-epsilon, float-negative-epsilon):
16487 Remove unnecessary declarations.
16489 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16490 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16491 (least-positive-float, least-negative-float)
16492 (least-positive-normalized-float, least-negative-normalized-float)
16493 (float-epsilon, float-negative-epsilon): Add doc-strings,
16494 based on those in cl.texi.
16496 * files.el (set-visited-file-name): If the major-mode changed,
16497 reload the local variables. (Bug#9796)
16499 2011-10-27 Chong Yidong <cyd@gnu.org>
16501 * subr.el (change-major-mode-after-body-hook): New hook.
16502 (run-mode-hooks): Run it.
16504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16505 Use change-major-mode-before-body-hook.
16507 * simple.el (fundamental-mode):
16508 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16509 change introducing fundamental-mode-hook.
16511 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16513 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16515 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16517 * ido.el (ido-file-name-all-completions-1): Do not require
16518 tramp.el explicitly. (Bug#7583)
16520 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16522 * progmodes/octave-mod.el:
16523 * progmodes/octave-inf.el: Update maintainer.
16525 2011-10-26 Chong Yidong <cyd@gnu.org>
16527 * subr.el (with-wrapper-hook): Rewrite doc.
16529 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16531 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16532 filenames "/method:foo:". (Bug#9793)
16534 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16536 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16539 2011-10-24 Glenn Morris <rgm@gnu.org>
16541 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16543 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16545 * notifications.el: Add the requirement of a running D-Bus session
16546 bus to the Commentary.
16548 2011-10-24 Juri Linkov <juri@jurta.org>
16550 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16551 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16554 2011-10-24 Juri Linkov <juri@jurta.org>
16556 * info.el (Info-following-node-name-re): Add newline to the list
16557 of allowed characters for leading space. (Bug#9824)
16559 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16561 * progmodes/octave-inf.el (inferior-octave-mode-map):
16562 Fix C-c C-h binding.
16563 * progmodes/octave-mod.el (octave-help): Remove.
16565 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16567 Sync with Tramp 2.2.3.
16569 * net/tramp-cache.el (top): Pacify byte-compiler using
16570 `init-file-user' and `site-run-file'.
16572 * net/trampver.el: Update release number.
16574 2011-10-23 Chong Yidong <cyd@gnu.org>
16576 * files.el (toggle-read-only): Remove obsolete comment about
16579 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16580 for toggle-read-only. Note that this hasn't called vc-next-action
16581 since 2008-05-02, though it wasn't documented at the time.
16583 * vc/ediff-init.el (ediff-toggle-read-only-function):
16584 Use toggle-read-only.
16586 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16588 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16591 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16592 correct faulty logical expression.
16593 (c-parse-state-state, c-record-parse-state-state):
16594 (c-replay-parse-state-state): New defvar/defuns.
16595 (c-debug-parse-state): Use new functions.
16597 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16599 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16600 last fix. Use window-in-direction correctly.
16602 2011-10-21 Chong Yidong <cyd@gnu.org>
16604 * progmodes/idlwave.el (idlwave-mode):
16605 * progmodes/vera-mode.el (vera-mode): No need to set
16606 require-final-newline; that's done in prog-mode.
16607 Suggested by Stefan Monnier.
16609 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16611 * mouse.el (mouse-drag-window-above)
16612 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16613 (mouse-drag-mode-line-1, mouse-drag-header-line)
16614 (mouse-drag-vertical-line-rightward-window): Remove.
16615 (mouse-drag-line): New function.
16616 (mouse-drag-mode-line, mouse-drag-header-line)
16617 (mouse-drag-vertical-line): Call mouse-drag-line.
16618 * window.el (window-at-side-p, windows-at-side): New functions.
16620 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16622 * tar-mode.el (tar-grind-file-mode):
16623 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16625 2011-10-21 Chong Yidong <cyd@gnu.org>
16627 * progmodes/idlwave.el (idlwave-mode):
16628 * progmodes/vera-mode.el (vera-mode):
16629 Use mode-require-final-newline.
16631 2011-10-20 Glenn Morris <rgm@gnu.org>
16633 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16635 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16637 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16639 2011-10-20 Chong Yidong <cyd@gnu.org>
16641 * emulation/cua-base.el (cua-mode):
16642 * mail/footnote.el (footnote-mode):
16643 * mail/mailabbrev.el (mail-abbrevs-mode):
16644 * net/xesam.el (xesam-minor-mode):
16645 * progmodes/bug-reference.el (bug-reference-mode):
16646 * progmodes/cap-words.el (capitalized-words-mode):
16647 * progmodes/compile.el (compilation-minor-mode)
16648 (compilation-shell-minor-mode):
16649 * progmodes/gud.el (gud-tooltip-mode):
16650 * progmodes/hideif.el (hide-ifdef-mode):
16651 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16652 * progmodes/subword.el (subword-mode):
16653 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16654 * progmodes/which-func.el (which-function-mode):
16655 * term/tvi970.el (tvi970-set-keypad-mode):
16656 * term/vt100.el (vt100-wide-mode):
16657 * textmodes/flyspell.el (flyspell-mode):
16658 * textmodes/ispell.el (ispell-minor-mode):
16659 * textmodes/nroff-mode.el (nroff-electric-mode):
16660 * textmodes/paragraphs.el (use-hard-newlines):
16661 * textmodes/refill.el (refill-mode):
16662 * textmodes/reftex.el (reftex-mode):
16663 * textmodes/rst.el (rst-minor-mode):
16664 * textmodes/sgml-mode.el (html-autoview-mode)
16665 (sgml-electric-tag-pair-mode):
16666 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16667 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16668 * emulation/crisp.el (crisp-mode):
16669 * emacs-lisp/eldoc.el (eldoc-mode):
16670 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16671 minor mode behavior.
16673 2011-10-19 Juri Linkov <juri@jurta.org>
16675 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16676 the list of hard-coded chars with escape-glyph face.
16678 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16680 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16682 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16684 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16687 2011-10-19 Glenn Morris <rgm@gnu.org>
16689 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16690 Ignore ignored files. (Bug#9726)
16692 2011-10-19 Chong Yidong <cyd@gnu.org>
16694 Doc fix for minor modes, stating that an omitted argument enables
16695 the mode unconditionally when called from Lisp.
16697 * abbrev.el (abbrev-mode):
16698 * allout.el (allout-mode):
16699 * autoinsert.el (auto-insert-mode):
16700 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16701 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16702 (global-auto-revert-mode):
16703 * battery.el (display-battery-mode):
16704 * composite.el (global-auto-composition-mode)
16705 (auto-composition-mode):
16706 * delsel.el (delete-selection-mode):
16707 * desktop.el (desktop-save-mode):
16708 * dired-x.el (dired-omit-mode):
16709 * dirtrack.el (dirtrack-mode):
16710 * doc-view.el (doc-view-minor-mode):
16711 * double.el (double-mode):
16712 * electric.el (electric-indent-mode, electric-pair-mode):
16713 * emacs-lock.el (emacs-lock-mode):
16714 * epa-hook.el (auto-encryption-mode):
16715 * follow.el (follow-mode):
16716 * font-core.el (font-lock-mode):
16717 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16718 * help.el (temp-buffer-resize-mode):
16719 * hilit-chg.el (highlight-changes-mode)
16720 (highlight-changes-visible-mode):
16721 * hi-lock.el (hi-lock-mode):
16722 * hl-line.el (hl-line-mode, global-hl-line-mode):
16723 * icomplete.el (icomplete-mode):
16724 * ido.el (ido-everywhere):
16725 * image-file.el (auto-image-file-mode):
16726 * image-mode.el (image-minor-mode):
16727 * iswitchb.el (iswitchb-mode):
16728 * jka-cmpr-hook.el (auto-compression-mode):
16729 * linum.el (linum-mode):
16730 * longlines.el (longlines-mode):
16731 * master.el (master-mode):
16732 * mb-depth.el (minibuffer-depth-indicate-mode):
16733 * menu-bar.el (menu-bar-mode):
16734 * minibuf-eldef.el (minibuffer-electric-default-mode):
16735 * mouse-sel.el (mouse-sel-mode):
16736 * msb.el (msb-mode):
16737 * mwheel.el (mouse-wheel-mode):
16738 * outline.el (outline-minor-mode):
16739 * paren.el (show-paren-mode):
16740 * recentf.el (recentf-mode):
16741 * reveal.el (reveal-mode, global-reveal-mode):
16742 * rfn-eshadow.el (file-name-shadow-mode):
16743 * ruler-mode.el (ruler-mode):
16744 * savehist.el (savehist-mode):
16745 * scroll-all.el (scroll-all-mode):
16746 * scroll-bar.el (scroll-bar-mode):
16747 * server.el (server-mode):
16748 * shell.el (shell-dirtrack-mode):
16749 * simple.el (auto-fill-mode, transient-mark-mode)
16750 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16751 (line-number-mode, column-number-mode, size-indication-mode)
16752 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16753 * strokes.el (strokes-mode):
16754 * time.el (display-time-mode):
16755 * t-mouse.el (gpm-mouse-mode):
16756 * tool-bar.el (tool-bar-mode):
16757 * tooltip.el (tooltip-mode):
16758 * type-break.el (type-break-mode-line-message-mode)
16759 (type-break-query-mode):
16760 * view.el (view-mode):
16761 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16762 (global-whitespace-mode, global-whitespace-newline-mode):
16763 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16765 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16766 Fix autogenerated docstring.
16768 2011-10-19 Juri Linkov <juri@jurta.org>
16770 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16771 by checking environment variables "DESKTOP_SESSION" and
16772 "XDG_CURRENT_DESKTOP". (Bug#9779)
16774 2011-10-19 Juri Linkov <juri@jurta.org>
16776 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16777 (browse-url-chromium-program, browse-url-chromium-arguments):
16779 (browse-url-default-browser): Check for `browse-url-chromium' and
16780 call `browse-url-chromium-program'.
16781 (browse-url-chromium): New command. (Bug#9779)
16783 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16785 * facemenu.el (list-colors-duplicates): On Windows, detect more
16786 duplicates by assuming that only colors matching "^System" are
16787 special "system colors". (Bug#9722)
16789 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16791 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16792 to distinguish the author from the committer.
16794 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16796 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16798 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16800 * international/mule.el (sgml-html-meta-auto-coding-function):
16801 Add support for detecting encoding in HTML5 specified only as
16802 <meta charset="UTF-8">. Implementation just makes http-equiv and
16803 content-type parts from HTML4 encoding string optional. (Bug#9716)
16805 2011-10-18 Glenn Morris <rgm@gnu.org>
16807 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16809 2011-10-18 Chong Yidong <cyd@gnu.org>
16811 * faces.el (cursor): Doc fix.
16813 2011-10-17 Chong Yidong <cyd@gnu.org>
16815 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16817 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16819 * dirtrack.el (dirtrack): Support shell buffers with path
16820 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16822 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16824 * json.el: Bump version to 1.3 and note change in History.
16825 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16827 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16829 * comint.el (comint-insert-input, comint-send-input)
16830 (comint-get-old-input-default, comint-backward-matching-input)
16831 (comint-next-prompt): Use nil instead of `input' for field property of
16832 past user input (bug#114).
16834 * minibuffer.el (completion--replace): Inherit surrounding properties
16836 (minibuffer-complete-and-exit): Use it.
16838 * comint.el (comint--table-subvert): Quote the all-completions output
16841 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16843 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16845 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16846 window on right of selected. (Bug#9350) Reword other window
16847 entries and separate them from frame entries.
16849 2011-10-15 Glenn Morris <rgm@gnu.org>
16851 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16854 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16856 * net/network-stream.el (network-stream-open-starttls):
16857 Improve detection of failure due to lack of TLS support.
16859 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16860 putting the input text in front and in bold.
16862 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16864 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16866 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16869 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16870 unread-command-events rather than pushing yet-another event.
16872 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16874 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16875 the explanation of the possible choices. Make the options passed
16876 to completing-read shorter.
16878 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16880 * textmodes/flyspell.el (flyspell-large-region): Make sure
16881 extended character mode is used if defined (Bug#1339).
16883 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16885 * simple.el (what-cursor-position): Fix the display of the
16886 character info for LRE, LRO, RLE, and RLO characters by appending
16889 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16891 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16892 even in case of error; add debug spec; simplify data flow.
16893 (with-timeout-handler): Remove.
16895 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16897 Fix Bug#6019, Bug#9315.
16899 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16900 complete `buffer-file-name', the local file name part could look
16901 remotely (for example on VMS).
16903 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16904 `tramp-run-real-handler'.
16905 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16906 already quoted by '"'.
16908 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16909 Let `file-name-handler-alist' be nil, the local file name part
16910 could look remotely (for example on VMS).
16912 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16914 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16916 (flyspell-post-command-hook): ...to here.
16918 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16922 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16923 using completion. Protect against "slow" callers.
16924 Remove the "message hack".
16926 2011-10-11 Juri Linkov <juri@jurta.org>
16928 * isearch.el (isearch-lazy-highlight-word): New variable.
16929 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16932 2011-10-11 Glenn Morris <rgm@gnu.org>
16934 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16935 like f90-previous-statement does.
16937 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16939 * eshell/eshell.el (eshell-command): History should be saved
16940 only in interactive use, to avoid error.
16942 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16944 * minibuffer.el (completion-file-name-table): Fix last change,
16945 i.e. ignore normal errors but not the other ones.
16947 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16949 * window.el (special-display-buffer-names)
16950 (special-display-regexps): Remove some remnants of earlier
16951 changes from doc-strings.
16952 (quit-windows-on): New function.
16954 * vc/vc.el (vc-revert, vc-rollback):
16955 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16956 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16957 (Bug#6183) (Bug#7074) (Bug#7447)
16959 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16961 * window.el (frame-auto-hide-function): Add version tag.
16964 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16966 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16969 2011-10-09 Leo Liu <sdl.web@gmail.com>
16971 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16974 2011-10-08 Glenn Morris <rgm@gnu.org>
16976 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16977 before the first code statement zero indent. (Bug#9690)
16979 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16981 * simple.el (count-words-region): Always count in the region.
16982 Report the number of lines and characters too.
16983 (count-words): New command, which counts in the buffer if the
16984 region is inactive, as count-words-region used to.
16985 (count-words--message): New function. Handle plurals.
16986 (count-lines-region): Make it an alias for count-words-region.
16988 * bindings.el (esc-map): Replace count-lines-region with
16989 count-words-region.
16991 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16993 * window.el (window--delete): Delete dedicated frame
16994 unconditionally when argument KILL is non-nil. (Bug#9699)
16995 (switch-to-buffer): Fix doc-string typo.
16997 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16999 * eshell/eshell.el (eshell-command): Avoid using hooks.
17001 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17003 * bindings.el ([M-left],[M-right]): Bind to left-word and
17004 right-word respectively.
17006 2011-10-07 Glenn Morris <rgm@gnu.org>
17008 * cus-start.el (debug-on-quit): Fix custom type.
17010 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17012 * subr.el (define-key-after): Clarify that the function is not
17013 useful for non-menu keymaps.
17015 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17017 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17019 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17020 in current minibuffer (Fix bug with recursive minibuffers).
17022 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17024 * progmodes/gdb-mi.el (gdb): Doc fix.
17026 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17028 * window.el (frame-auto-hide-function): New option replacing
17029 frame-auto-delete. Suggested by Stefan Monnier.
17030 (window--delete): Call frame-auto-hide-function instead of
17031 investigating frame-auto-delete.
17032 (window-point-1, set-window-point-1): New functions.
17033 (window-in-direction, record-window-buffer, window-state-get-1)
17034 (display-buffer-record-window): Use window-point-1 instead of
17036 (set-window-buffer-start-and-point): Use set-window-point-1.
17038 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17040 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17042 2011-10-05 Glenn Morris <rgm@gnu.org>
17044 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17045 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17047 2011-10-05 Leo Liu <sdl.web@gmail.com>
17049 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17050 works with buffer object.
17052 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17054 * mpc.el (mpc-tool-bar-map): Add labels.
17056 2011-10-04 Glenn Morris <rgm@gnu.org>
17058 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17060 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17062 * window.el (window--delete): New function.
17063 (frame-auto-delete): Resuscitate option.
17064 (bury-buffer, replace-buffer-in-windows)
17065 (quit-window): Rewrite using window--delete.
17066 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17067 Pass display-buffer-mark-dedicated to window--display-buffer-2
17070 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17072 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17073 returns a list (bug#9554). Add remote file name completion.
17074 * comint.el (comint--table-subvert): Curry and get quote&unquote
17075 functions as arguments.
17076 (comint--complete-file-name-data): Adjust call accordingly.
17077 * pcomplete.el (pcomplete--table-subvert): Remove.
17078 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17080 * minibuffer.el (completion-table-case-fold): Use currying.
17081 (completion--styles-type, completion--cycling-threshold-type):
17083 (completion-styles, completion-category-overrides)
17084 (completion-cycle-threshold): Use them.
17085 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17086 completion-table-case-fold.
17088 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17090 * minibuffer.el (completion-category-overrides): Fix type of styles
17091 and add more user friendly tags (bug#9660).
17093 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17095 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17096 (mule-input-method-string): New widget.
17097 (default-input-method, language-info-custom-alist): Use it.
17099 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17101 * pcomplete.el: Require comint.
17102 (pcomplete--common-suffix): Remove.
17103 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17104 (pcomplete--table-subvert): Sync with comint--table-subvert.
17105 (pcomplete--entries): Use comint-completion-file-name-table.
17106 * comint.el (comint-unquote-filename): Simplify.
17107 (comint-completion-file-name-table): New function (bug#9616).
17108 (comint--complete-file-name-data): Use it.
17110 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17111 (pcmpl-gnu-tar-buffer): Remove.
17112 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17113 around. Make sure pcomplete-suffix-list is only changed temporarily.
17114 Don't look inside the tar's file if it's too large.
17116 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17118 * cus-edit.el (custom-mode-map):
17119 * epa.el (epa-key-list-mode-map):
17120 * man.el (Man-mode-map):
17121 * startup.el (splash-screen-keymap):
17122 * simple.el (special-mode-map): Use scroll-up-command and
17123 scroll-down-command.
17125 * progmodes/idlw-help.el (idlwave-help-mode-map):
17126 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17127 * net/newst-plainview.el (newsticker-mode-map):
17128 * emulation/ws-mode.el (wordstar-mode-map):
17129 * emulation/vi.el (vi-com-map):
17130 * calc/calc-graph.el (calc-graph-show-dumb):
17131 * term/sun.el (terminal-init-sun):
17132 * term/ns-win.el (global-map):
17133 * progmodes/grep.el (grep-mode-map):
17134 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17135 * mail/rmail.el (rmail-mode-map):
17136 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17138 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17139 custom-safe-themes as special.
17141 2011-10-01 Julien Danjou <julien@danjou.info>
17143 * notifications.el (notifications-notify): Fix docstring.
17145 2011-10-01 Per Starbäck <per@starback.se>
17147 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17149 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17151 * startup.el (command-line-1): Fix last fix by inserting
17152 initial-scratch-message into *scratch* before displaying it.
17153 (Bug#9605) and (Bug#9636)
17155 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17157 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17158 window is hscrolled, move by logical lines. (Bug#9607)
17159 (line-move-visual): Update the doc string to the above effect.
17161 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17163 * window.el (display-buffer-record-window): When WINDOW is the
17164 selected window use `point' instead of `window-point'. (Bug#9626)
17166 * startup.el (command-line-1): Use insert-before-markers when
17167 inserting initial-scratch-message. (Bug#9605)
17169 * help.el (help-window): Remove variable.
17171 2011-09-29 Glenn Morris <rgm@gnu.org>
17173 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17175 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17177 * descr-text.el (describe-char-categories): Accept category
17178 descriptions more than one line long.
17180 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17182 * simple.el (delete-trailing-whitespace): Fix last change.
17184 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17185 Don't confuse "y => 3" as the beginning of a `y' operation.
17187 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17188 object has more than 4 slots (bug#9613).
17190 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17192 * subr.el (with-output-to-temp-buffer):
17193 * net/quickurl.el (quickurl, quickurl-browse-url):
17194 Fix typos in docstrings.
17196 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17198 * minibuffer.el (completion-styles)
17199 (completion-category-overrides): Cross reference each other in doc
17202 2011-09-27 Glenn Morris <rgm@gnu.org>
17204 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17205 to split-string. (Bug#9606)
17207 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17209 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17212 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17214 * emacs-lisp/package.el (list-packages): Fix echo area message.
17216 2011-09-27 Leo Liu <sdl.web@gmail.com>
17218 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17220 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17222 * net/dbus.el (dbus-unregister-object): Don't release services for
17223 registered signals. (Bug#9581)
17225 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17227 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17228 function that picks between cfengine 2 and 3 support
17229 automatically. Update docs accordingly.
17231 2011-09-22 Kenichi Handa <handa@m17n.org>
17233 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17235 (indian-itrans-v5-table-for-tamil): New variable.
17236 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17238 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17240 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17241 that's true if the current command involved collapsing of text.
17242 It's reset to false at the beginning of the next command.
17243 (allout-post-command-business): Move the cursor to the beginning
17244 of entry if the cursor is hidden and collapsing activity just
17247 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17249 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17250 tracking (Bug#9541).
17252 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17254 * net/newst-reader.el (newsticker-html-renderer)
17255 (newsticker-show-news): Automatically load html rendering package
17256 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17257 because w3m-fill-column is let-bound" and the error "Symbol's value
17258 as variable is void: w3m-fill-column".
17260 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17262 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17263 Release services only if they are defined. (Bug#9581)
17265 2011-09-23 Richard Stallman <rms@gnu.org>
17267 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17268 distinguish start of paragraph from start of its text.
17270 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17272 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17273 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17274 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17276 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17278 * international/mule-diag.el (mule-diag): Insert a newline after
17279 each fontset description.
17281 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17283 * simple.el (delete-trailing-whitespace):
17284 Document last change; simplify.
17286 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17288 * simple.el (delete-trailing-whitespace): Also delete
17289 extra newlines at the end of the buffer.
17291 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17292 (picture-newline): Use forward-line so as to ignore fields.
17294 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17296 * subr.el (with-wrapper-hook): Fix edebug spec.
17298 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17300 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17303 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17305 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17306 Fix nasty bug using wrong cached values.
17308 2011-09-23 Alan Mackenzie <acm@muc.de>
17310 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17312 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17314 * window.el (pop-to-buffer): Ensure right window is selected if we
17315 chose another frame.
17317 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17319 * simple.el (what-cursor-position): Use get-char-property-change
17320 and next-single-char-property-change, to be able to show display
17321 properties that come from overlays as well as text properties.
17323 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17325 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17327 * cmuscheme.el (run-scheme, switch-to-scheme):
17328 * cus-edit.el (customize-group, custom-buffer-create)
17329 (customize-browse):
17331 * shell.el (shell):
17332 * mail/sendmail.el (mail):
17333 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17335 2011-09-22 Richard Stallman <rms@gnu.org>
17337 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17338 move back only to line beg, don't move back over blank lines.
17340 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17342 * files.el (copy-directory): Set directory attributes only in case
17343 they could be retrieved from the source directory. (Bug#9565)
17345 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17347 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17348 (hs-find-block-beginning, hs-hide-level-recursive):
17349 Ignore strings as well as comments. (Bug#9502)
17351 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17353 * progmodes/sql.el (sql-comint-postgres):
17354 Convert port number to a string. (Bug#9566)
17356 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17358 * window.el (quit-window): Undedicate window when switching to
17359 previous buffer. Reported by Thierry Volpiatto
17360 <thierry.volpiatto@gmail.com>.
17361 (special-display-popup-frame): When popping up a new frame reset
17362 its previous buffers to nil. Simplify code.
17364 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17366 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17367 and process filter, as done also in `shell-command'.
17369 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17371 * window.el (set-window-buffer-start-and-point):
17372 Call set-window-start with NOFORCE argument t.
17373 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17374 (quit-window): Reword doc-string. Handle new format of
17375 quit-restore parameter. Don't delete window if it has a
17376 previous buffer we can show instead of the present one.
17377 (display-buffer-record-window): Rewrite using a new format for
17378 the quit-restore window parameter
17379 (special-display-popup-frame, display-buffer-same-window)
17380 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17381 (display-buffer-pop-up-window, display-buffer-use-some-window):
17382 Adapt symbol passed to display-buffer-record-window.
17383 * help.el (help-window-setup): Handle new format of quit-restore
17386 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17388 * faces.el (face-list): Fix docstring (bug#9564).
17390 * window.el (display-buffer--action-function-custom-type):
17391 Don't include internal functions in the Custom interface.
17393 2011-09-20 Juri Linkov <juri@jurta.org>
17395 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17396 (Info-forward-node, Info-backward-node, Info-next-preorder)
17397 (Info-last-preorder): Use it. (Bug#9528)
17399 2011-09-20 Juri Linkov <juri@jurta.org>
17401 * info.el (Info-last-preorder): Visit last menu item only when
17402 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17404 2011-09-20 Julien Danjou <julien@danjou.info>
17406 * password-cache.el (password-cache-remove): Remove entries even if the
17407 value is nil, so that password with a nil value (negative caching) is
17408 possible to invalidate.
17410 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17412 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17413 all whitespace around breakpoint. (Bug#9553)
17414 (f90-find-breakpoint): Only break at whitespace inside a comment.
17416 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17418 * minibuffer.el (completion-file-name-table): Keep track of errors.
17419 (completion-table-with-predicate): Handle the case where pred1 is nil.
17420 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17422 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17424 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17425 (debugger-return-value): Signal an error if the debugging context does
17426 not await any return value.
17428 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17429 * image-mode.el (image-toggle-display-text)
17430 (image-toggle-display-image): Stay away from evil `intangible'.
17432 2011-09-19 Leo Liu <sdl.web@gmail.com>
17434 * replace.el (occur-revert-arguments): Make it permanent-local.
17435 (occur-mode): Don't call font-lock-defontify.
17437 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17439 * net/ldap.el (ldap-search-internal): Don't push empty search
17442 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17444 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17446 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17448 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17449 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17451 2011-09-18 Juri Linkov <juri@jurta.org>
17453 * buff-menu.el (Buffer-menu-mode-map):
17454 * dired.el (dired-mode-map):
17455 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17456 (lisp-interaction-mode-map):
17457 * emacs-lisp/package.el (package-menu-mode-map):
17458 * epa.el (epa-key-list-mode-map):
17459 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17460 (menu-bar-options-menu):
17461 * outline.el (outline-mode-menu-bar-map):
17462 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17463 * vc/vc-dir.el (vc-dir-menu-map):
17464 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17465 Capitalize non-function content words in menu item strings.
17467 * dired.el (dired-mode-map): Add menu item for
17468 `image-dired-dired-toggle-marked-thumbs'.
17470 2011-09-18 Juri Linkov <juri@jurta.org>
17472 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17473 to `isearch-case-fold-search' and restore its original value
17474 after the `isearch-mode' call.
17476 2011-09-18 Juri Linkov <juri@jurta.org>
17478 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17479 because `zgrep' returns 1 for successful matches (bug#9226).
17481 2011-09-18 Juri Linkov <juri@jurta.org>
17483 * info.el (Info-extract-menu-node-name): Check the second match
17484 for empty string (second test-case of bug#9528).
17485 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17486 intermediate nodes to the history (first test-case of bug#9528).
17488 2011-09-18 Juri Linkov <juri@jurta.org>
17490 * info.el (Info-mode-syntax-table): New variable.
17491 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17493 2011-09-18 Juri Linkov <juri@jurta.org>
17495 * info.el (Info-file-supports-index-cookies):
17496 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17497 outputs one more line for long file names (bug#4142).
17499 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17501 * newcomment.el (comment-normalize-vars): If prompting for
17502 comment-start, set comment-start-skip too (Bug#8424).
17504 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17506 * icomplete.el: Fix previous fix of Bug#5849.
17507 (icomplete-mode): Don't set completion-show-inline-help.
17508 (icomplete-minibuffer-setup): Set completion-show-inline-help
17509 locally during icompletion.
17511 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17513 * woman.el (woman2-process-escapes): Don't delete unrecognized
17514 escapes (Bug#7843).
17516 * files.el (inhibit-first-line-modes-regexps): Add image files.
17517 (hack-local-variables-prop-line): Return nil for malformed
17518 prop-lines (Bug#9044).
17520 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17522 * net/tramp.el (top): Don't require 'shell.
17523 (tramp-methods): Fix docstring.
17524 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17525 Return complete remote file name. Handle "smb" case.
17526 Use `tramp-tmpdir', if defined for the respective method.
17527 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17529 * net/tramp-compat.el (top): Require 'shell.
17531 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17532 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17533 `tramp-current-host'.
17534 (tramp-get-remote-tmpdir): Remove.
17536 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17537 `tramp-tmpdir' entries.
17538 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17539 (tramp-smb-handle-file-attributes): Ignore errors.
17540 (tramp-smb-wait-for-output): Check also for process end.
17542 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17544 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17545 when sending QUIT (bug#9312).
17547 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17549 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17550 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17551 occur-mode-display-occurrence.
17552 (occur-edit-mode): Add usage message.
17553 (occur-cease-edit): New command.
17554 (occur-after-change-function): Use text properties to find the
17555 position of the prefix text.
17556 (occur-engine): Set stickiness of prefix text properties.
17558 2011-09-17 Glenn Morris <rgm@gnu.org>
17560 * progmodes/etags.el (complete-tag):
17561 Fix call to completion-in-region. (Bug#9526)
17563 2011-09-17 Juri Linkov <juri@jurta.org>
17565 * textmodes/ispell.el (ispell-word): Add to the error message
17566 the word, ispell program name and current dictionary (bug#9121).
17567 (ispell-tex-arg-end): Capitalize "error" in the error message.
17569 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17571 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17574 2011-09-17 Juri Linkov <juri@jurta.org>
17576 * window.el (window-safe-min-height, window-safe-min-width):
17577 Fix typos (followup to bug#9522).
17579 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17581 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17583 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17585 * simple.el (line-move): If goal-column is set, move by logical
17586 lines, not by display lines. (Bug#971)
17587 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17588 to reflect the above change.
17590 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17592 * image.el (imagemagick-register-types): Use regexp-opt.
17594 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17596 * window.el (display-buffer-base-action): Rename from
17597 display-buffer-default-action. Make default value empty.
17598 (display-buffer-overriding-action): Convert to defvar.
17599 (display-buffer-fallback-action): New var.
17601 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17603 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17605 (package--add-to-archive-contents): If there is a duplicate entry
17606 with an older version, remove it.
17607 (package-menu-mark-delete, package-menu-mark-install)
17608 (package-menu-mark-unmark): Make unused args optional.
17609 (package-menu-mark-obsolete-for-deletion):
17610 Use package-menu-get-status instead of a regexp search.
17611 (package-menu-get-status): Use tabulated-list-entry.
17612 (package-menu-mark-upgrades): New command.
17613 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17614 (package-menu-execute): Do installation before deletion.
17615 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17616 instead of checking major-mode.
17617 (package-menu--find-upgrades): New function.
17619 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17621 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17622 passwords in the log buffer.
17623 (smtpmail-process-filter): Update the process marker so that the
17624 "broken by peer" status message is inserted in the right place.
17626 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17628 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17629 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17630 bibtex-completion-at-point-function.
17631 (bibtex-completion-at-point-function): Use them.
17633 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17635 * mpc.el (mpc-constraints-tag-lookup): New function.
17636 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17637 also to browser "album|playlist".
17639 2011-09-14 Juri Linkov <juri@jurta.org>
17641 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17642 (isearch-edit-string): Use length of `isearch-string' when
17643 `isearch-fail-pos' returns nil.
17644 (isearch-message): Remove duplicate code and call
17645 `isearch-fail-pos' with arg `t'.
17647 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17649 * replace.el (occur-mode-goto-occurrence): Don't force using other
17652 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17654 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17656 * window.el (display-buffer-window): Remove.
17657 (display-buffer-record-window): Use help-setup window parameter
17658 instead of variable display-buffer-window.
17659 (display-buffer-function, special-display-buffer-names)
17660 (special-display-function): Mention help-setup parameter instead
17661 of display-buffer-window in doc-string.
17662 * help.el (help-window-setup): New argument help-window.
17663 Use help-window-setup parameter instead of display-buffer-window.
17664 Reword some messages.
17665 (with-help-window): Pass window used for displaying the buffer
17666 to help-window-setup. Don't set display-buffer-window.
17668 2011-09-13 Glenn Morris <rgm@gnu.org>
17670 * emacs-lisp/debug.el (debugger-make-xrefs):
17671 Preserve point. (Bug#9462)
17673 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17675 * window.el (window-deletable-p): Use next-frame.
17677 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17679 * window.el (window-auto-delete): Remove.
17680 (window-deletable-p): Remove argument FORCE. Don't deal with
17681 dedication and previous buffers.
17682 (switch-to-prev-buffer): Don't delete window.
17683 (delete-windows-on): Delete a window's frame if and only if the
17684 window is dedicated.
17685 (replace-buffer-in-windows): Delete buffer's window or frame if
17686 and only if window is dedicated.
17687 (quit-window): Handle quit-restore as before last change.
17688 (bury-buffer): Delete window only if window-deletable-p returns t.
17690 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17692 * window.el (window-deletable-p): Never delete the last frame on a
17695 2011-09-13 Glenn Morris <rgm@gnu.org>
17697 * help.el (describe-key-briefly): Copy previous standard-output change.
17699 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17701 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17703 2011-09-13 Glenn Morris <rgm@gnu.org>
17705 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17706 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17708 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17710 * dired-aux.el (dired-mark-read-string): Don't return default
17711 value on empty input (Bug#9361).
17712 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17713 Omit initial minibuffer contents.
17714 (dired-do-chmod): Signal an error on empty input.
17715 (dired-mark-read-string): Don't return default on empty input.
17717 * files.el (file-modes-symbolic-to-number): Doc fix.
17719 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17721 * international/mule-cmds.el (ucs-completions): Remove.
17722 (read-char-by-name): Use complete-with-action instead; add metadata.
17724 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17726 * window.el (display-buffer--action-function-custom-type)
17727 (display-buffer--action-custom-type): New vars.
17728 (display-buffer-alist, display-buffer-default-action)
17729 (display-buffer-overriding-action): Add defcustom types.
17731 * frame.el (delete-other-frames): Doc fix (Bug#276).
17733 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17735 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17737 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17739 Change modes that used same-window-* vars to use switch-to-buffer.
17741 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17742 Use switch-to-buffer.
17744 * cus-edit.el (customize-group, custom-buffer-create)
17745 (customize-browse, custom-buffer-create-other-window):
17746 Use switch-to-buffer or switch-to-buffer-other-window.
17748 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17749 (Info-prev, Info-up, Info-speedbar-goto-node)
17750 (info-display-manual): Use switch-to-buffer.
17751 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17753 * mail/sendmail.el (mail): Use switch-to-buffer.
17754 (mail-recover): Use switch-to-buffer-other-window.
17756 * cmuscheme.el (run-scheme, switch-to-scheme):
17758 * shell.el (shell):
17759 * net/rlogin.el (rlogin):
17760 * net/telnet.el (telnet, rsh):
17761 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17763 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17765 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17767 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17769 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17770 so don't mention it (bug#9301).
17771 (dired-sort-toggle-or-edit): Clarify string further.
17773 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17774 match `x', `w32' and `ns', like the manual says (bug#9029).
17776 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17777 (process-kill-buffer-query-function): Mention the buffer name in
17780 * image-mode.el (image-next-line): The line parameter is mandatory
17783 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17784 which can be useful (bug#9301).
17786 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17788 * subr.el (match-string): Mention that the current buffer should
17789 be the same as the search was done in (bug#9282).
17791 * facemenu.el: Disable the remove-* commands if the mark isn't
17794 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17796 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17798 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17800 * replace.el (occur-mode-goto-occurrence)
17801 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17802 and display-buffer.
17804 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17807 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17808 special-display and same-window variables.
17809 (mail-other-window): Use switch-to-buffer-other-window.
17810 (mail-other-frame): USe switch-to-buffer-other-frame.
17812 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17813 Use display-buffer-other-frame.
17814 (gdb-display-gdb-buffer): Use pop-to-buffer.
17816 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17818 * progmodes/python.el: Don't set same-window-buffer-names.
17820 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17822 * window.el (display-buffer-alist): Add *Python*.
17824 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17826 * window.el (display-buffer-alist): Add entry for buffers
17827 previously handled same-window-*.
17828 (display-buffer-alist, display-buffer-default-action)
17829 (display-buffer-overriding-action): Mark as risky.
17830 (display-buffer-alist): Document action function changes.
17831 (display-buffer--same-window-action)
17832 (display-buffer--other-frame-action): New variables.
17833 (switch-to-buffer, display-buffer-other-frame): Use them.
17834 (display-buffer): Rename reuse-frame entry to reusable-frames.
17835 (display-buffer-reuse-selected-window): Function deleted.
17836 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17837 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17838 (display-buffer-special): New function.
17839 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17840 display-buffer-reuse-or-pop-window. Split off special-display
17841 part into display-buffer-special.
17842 (display-buffer-use-some-window): Don't perform any special
17843 pop-up-frames handling.
17844 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17845 (display-buffer--maybe-same-window): Rename from
17846 display-buffer-maybe-same-window.
17848 * info.el: Don't set same-window-regexps.
17849 (info-setup): New function.
17850 (info-other-window, info): Call it.
17852 * cus-edit.el: Don't set same-window-regexps.
17853 (customize-group): New argument.
17854 (customize-group-other-window): Use it.
17855 (customize-face, customize-face-other-window): Likewise.
17856 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17860 * progmodes/gud.el: Don't set same-window-regexps.
17865 * mail/sendmail.el:
17866 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17868 2011-09-10 Juri Linkov <juri@jurta.org>
17870 * isearch.el (isearch-edit-string): Remove obsolete mention of
17871 `C-w' (`isearch-yank-word-or-char') from docstring.
17872 (isearch-query-replace): Fix typo in docstring (bug#9466).
17874 2011-09-10 Juri Linkov <juri@jurta.org>
17876 * paren.el (show-paren-function): Don't show escaped parens.
17877 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17879 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17881 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17882 (mm-default-file-encoding): Remove autoload forms, they are
17883 replaced with autoload cookies in mml.el and mm-encode.el.
17884 (mail-add-attachment): New command.
17885 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17886 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17888 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17890 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17892 * simple.el (count-words-region): Use buffer if there's no region
17895 2011-09-09 Juri Linkov <juri@jurta.org>
17897 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17898 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17899 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17901 2011-09-09 Alan Mackenzie <acm@muc.de>
17903 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17904 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17906 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17908 Fix for Savannah bug#9392.
17909 * simple.el (mail-encode-mml): New defvar.
17911 * mail/rmail.el (mail-encode-mml): Add a defvar.
17912 (rmail-enable-mime-composing): Default to t.
17913 (rmail-forward): Use MIME method of forwarding only if both
17914 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17915 Set mail-encode-mml non-nil if the MIME method was used.
17917 * mail/sendmail.el (mml-to-mime): Add autoload form.
17918 (mail-encode-mml): Add a defvar.
17919 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17921 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17922 message through mml-to-mime, and reset mail-encode-mml to nil.
17924 2011-09-09 Glenn Morris <rgm@gnu.org>
17926 * woman.el (woman-if-body): When processing an .el block,
17927 do not delete the next .el block as well. (Bug#9447)
17928 (woman-special-characters): Add oq, cq, and hy characters.
17930 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17932 * window.el (window-deletable-p): Make sure window is live before
17933 invoking window-prev-buffers.
17935 2011-09-08 Leo Liu <sdl.web@gmail.com>
17937 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17939 2011-09-08 Juri Linkov <juri@jurta.org>
17941 * progmodes/compile.el (compilation-environment): Make it
17942 a defcustom (bug#8340).
17944 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17946 * window.el (frame-auto-delete): Rename to window-auto-delete.
17947 Make it control auto-deletion of windows and/or frames.
17948 (window-deletable-p): New argument FORCE. Rewrite conditions
17949 for deleting window/frame. (Bug#9419)
17950 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17951 Rewrite handling of case when window/frame can be deleted.
17952 (delete-windows-on): Call window-deletable-p with new FORCE
17953 argument t. (Bug#9456)
17955 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17957 * help-mode.el (help-mode): Restore autoload.
17959 2011-09-07 Juri Linkov <juri@jurta.org>
17961 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17962 `compilation-environment'. Set buffer-local
17963 `compilation-environment' to `thisenv' later after (funcall mode).
17966 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17967 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17968 instead of replacing its value. (Bug#8340)
17970 2011-09-07 Juri Linkov <juri@jurta.org>
17972 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17973 based on text properties put by `grep-filter' instead of matching
17975 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17976 to the value of `grep-error-screen-columns' (bug#9438).
17978 2011-09-07 Juri Linkov <juri@jurta.org>
17980 * simple.el (next-error-highlight, next-error-highlight-no-select):
17981 Doc fix (bug#9432).
17983 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17985 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17986 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17988 2011-09-07 Leo Liu <sdl.web@gmail.com>
17990 * net/rcirc.el (rcirc-mode): Conditionally initialize
17993 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17995 * emacs-lisp/find-func.el (find-function-C-source): Only set
17996 find-function-C-source-directory after checking that we found a source
17997 file there (bug#9440).
17999 2011-09-06 Alan Mackenzie <acm@muc.de>
18001 * isearch.el (isearch-other-meta-char): Wherever a key list is
18002 unread, "unread" the prefix arg, too. This fixes bug #8901.
18004 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18006 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18008 2011-09-05 Juri Linkov <juri@jurta.org>
18010 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18012 2011-09-05 Juri Linkov <juri@jurta.org>
18014 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18015 keeping point where processing of grep matches begins, and
18016 continue to delete remaining escape sequences from the same point.
18017 (grep-filter): Make leading zero optional in "0?1;31m" because
18018 git-grep emits "\033[1;31m" escape sequences unlike expected
18019 "\033[01;31m" as GNU Grep does (bug#9408).
18020 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18022 2011-09-05 Juri Linkov <juri@jurta.org>
18024 * subr.el (y-or-n-p): Capitalize "yes".
18026 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18028 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18029 `tramp-cache-unload-hook' where appropriate.
18030 (tramp-methods): Rename `tramp-remote-sh' to
18031 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18032 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18034 * net/tramp-sh.el (top): Don't require 'shell.
18035 (tramp-methods): Add `tramp-remote-shell' and
18036 `tramp-remote-shell-args' entries.
18037 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18038 (tramp-sh-handle-shell-command): Remove.
18039 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18040 Use `tramp-remote-shell'.
18042 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18044 * mail/sendmail.el (sendmail-query-once-function): Delete.
18045 (sendmail-query-once): Save directly to send-mail-function.
18046 Update message-send-mail-function too.
18048 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18050 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18052 * progmodes/python.el (python-mode-map): Use correct function to
18053 start python interpreter from menu-bar (as reported by Geert
18055 (inferior-python-mode-map): Fix typo.
18056 (python-shell-map): Remove.
18058 2011-09-03 Deniz Dogan <deniz@dogan.se>
18060 * net/rcirc.el (rcirc-print): Simplify code for
18061 rcirc-scroll-show-maximum-output. There is no need to walk
18062 through all windows to find the right one.
18064 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18066 * help.el (help-return-method): Doc fix.
18068 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18070 * window.el (window-deletable-p): Don't return a non-nil value
18071 when there's a buffer that was shown in the window before.
18073 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18074 Set window's previous buffers to nil.
18076 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18078 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18079 newline before and after the tag line, so it doesn't interfere
18080 with determining the paragraph direction of bidirectional text.
18082 2011-09-03 Leo Liu <sdl.web@gmail.com>
18084 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18086 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18088 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18089 (pop-to-buffer): Change interactive spec. Pass second argument
18090 directly to display-buffer.
18091 (display-buffer): Fix interactive spec. Use functionp to
18092 distinguish between a function and a list of functions.
18094 * abbrev.el (edit-abbrevs):
18095 * arc-mode.el (archive-extract):
18096 * autoinsert.el (auto-insert):
18097 * bookmark.el (bookmark-bmenu-list):
18098 * files.el (find-file):
18099 * view.el (view-buffer):
18100 * progmodes/compile.el (compilation-goto-locus):
18101 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18103 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18105 * window.el (display-buffer-alist): Doc fix.
18106 (display-buffer): Add docstring. Don't treat
18107 display-buffer-default specially.
18108 (display-buffer-reuse-selected-window)
18109 (display-buffer-same-window, display-buffer-maybe-same-window)
18110 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18111 (display-buffer-pop-up-window)
18112 (display-buffer-reuse-or-pop-window)
18113 (display-buffer-use-some-window): New functions.
18114 (display-buffer-default-action): Use them.
18115 (display-buffer-default): Delete.
18116 (pop-to-buffer-1): Fix choice of actions.
18118 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18120 * minibuffer.el (completion--insert-strings): Don't get confused by
18121 completion entries that end with an LF char.
18123 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18125 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18127 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18129 * window.el (display-buffer): Restore interactive spec.
18130 (display-buffer-same-window, display-buffer-other-window):
18132 (pop-to-buffer-1): New function. Use the above.
18133 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18134 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18136 * view.el (view-buffer-other-window, view-buffer-other-frame):
18137 Just use pop-to-buffer.
18139 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18141 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18143 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18145 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18147 2011-08-31 Richard Stallman <rms@gnu.org>
18149 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18150 of the separation of rmail-view-buffer from rmail-buffer.
18151 If you say no to "replace original", the decrypt is in the
18152 view buffer. If you say yes, the decrypt goes into the
18155 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18157 * window.el (display-buffer-window): Rewrite doc-string.
18158 (display-buffer-record-window): New function.
18159 (display-buffer-macro-specifiers)
18160 (display-buffer-even-window-sizes, display-buffer-set-height)
18161 (display-buffer-set-width, display-buffer-in-window)
18162 (display-buffer-reuse-window, display-buffer-split-specifiers)
18163 (display-buffer-side-specifiers, display-buffer-split-window-1)
18164 (display-buffer-split-window, display-buffer-split-atom-window)
18165 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18166 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18167 (display-buffer-other-window-means-other-frame)
18168 (display-buffer-normalize-special)
18169 (display-buffer-normalize-default)
18170 (display-buffer-normalize-argument)
18171 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18172 (display-buffer-normalize-specifiers, display-buffer-frame)
18173 (display-buffer-same-window, display-buffer-same-frame)
18174 (display-buffer-other-window)
18175 (display-buffer-same-frame-other-window)
18176 (display-buffer-other-frame, pop-to-buffer-same-window)
18177 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18178 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18179 (switch-to-buffer-same-frame)
18180 (switch-to-buffer-other-window-same-frame)
18181 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18182 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18183 (display-buffer-alist-set): Remove.
18184 (display-buffer-function, special-display-buffer-names)
18185 (special-display-regexps, special-display-function):
18186 In doc-string refer to display-buffer-window and quit-restore
18188 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18189 (special-display-frame-alist, special-display-popup-frame)
18190 (same-window-buffer-names, same-window-regexps, same-window-p)
18191 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18192 (split-window-preferred-function, split-height-threshold)
18193 (split-width-threshold, window-splittable-p)
18194 (split-window-sensibly, window--try-to-split-window)
18195 (window--frame-usable-p, even-window-heights)
18196 (window--even-window-heights, window--display-buffer-1)
18197 (window--display-buffer-2, display-buffer-other-frame):
18198 Restore old Emacs 23 code, order and doc-strings where applicable.
18199 (display-buffer-default, display-buffer-assq-regexp): New functions.
18200 (display-buffer-alist): Rewrite doc-string.
18201 (display-buffer-default-action)
18202 (display-buffer-overriding-action): New variables.
18203 (display-buffer, switch-to-buffer): Rewrite.
18204 (pop-to-buffer): Restore Emacs 23 behavior but use
18205 window-normalize-buffer-to-display.
18206 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18207 Restore Emacs 23 behavior but use
18208 window-normalize-buffer-to-switch-to.
18209 (pop-to-buffer-same-window): Rewrite.
18210 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18211 Rewrite using Emacs 23 options.
18213 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18215 * net/tramp.el (tramp-root-regexp): Remove.
18216 (tramp-completion-file-name-regexp-unified)
18217 (tramp-completion-file-name-regexp-separate)
18218 (tramp-completion-file-name-regexp-url): Don't use leading volume
18219 letter on w32 systems. (Bug#5303, Bug#9311)
18220 (tramp-drop-volume-letter): Simplify definition.
18221 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18223 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18225 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18228 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18230 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18232 2011-08-29 Juri Linkov <juri@jurta.org>
18234 * isearch.el (isearch-done): Don't display message "Mark saved"
18235 when arg `edit' is non-nil to prevent its flicker in the echo area.
18237 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18239 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18240 obsolete packages for deletion.
18242 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18244 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18245 (help-mode): Derive help-mode from special-mode. Don't invoke
18246 view-mode from help-mode.
18247 (help-xref-override-view-map): Remove.
18248 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18249 view-mode is not used anymore.
18251 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18253 * server.el (server-port): Doc fix.
18255 * cus-theme.el (custom-theme-choose-mode): Inherit from
18256 special-mode (Bug#9124).
18257 (custom-theme-choose-mode-map): Add special-mode to parent.
18259 2011-08-28 Alan Mackenzie <acm@muc.de>
18261 * progmodes/cc-fonts.el
18262 (c-make-font-lock-BO-decl-search-function): New function.
18263 (c-basic-matchers-after - "Fontify the clauses after various
18264 keywords"): Extract the three keyword lists for the 3 erroneous
18265 constructs from the list of four, and use the new function above
18266 in place of an old one.
18268 2011-08-28 Deniz Dogan <deniz@dogan.se>
18270 * net/rcirc.el (rcirc-insert-prev-input)
18271 (rcirc-insert-next-input): Remove unused argument.
18273 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18275 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18277 2011-08-27 Alan Mackenzie <acm@muc.de>
18279 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18280 handle function pointer parameters properly.
18282 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18284 * window.el (display-buffer-reuse-window): Fix case where
18285 selected window was reused with non-nil OTHER-WINDOW argument.
18288 2011-08-27 Deniz Dogan <deniz@dogan.se>
18290 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18291 oftc's NickServ messages.
18293 2011-08-27 Glenn Morris <rgm@gnu.org>
18295 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18297 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18299 * emacs-lisp/package.el (package-install): Call package-initialize
18300 if called interactively.
18302 2011-08-26 Leo Liu <sdl.web@gmail.com>
18304 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18306 2011-08-25 Juri Linkov <juri@jurta.org>
18308 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18309 `search-whitespace-regexp' (bug#9364).
18311 2011-08-25 Juri Linkov <juri@jurta.org>
18313 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18314 `regexp-search-ring' to their global values to protect from
18315 updating by `read-from-minibuffer' (bug#9185).
18317 2011-08-25 Juri Linkov <juri@jurta.org>
18319 * textmodes/ispell.el (ispell-command-loop): Add newline
18320 at the end of the "Use option `i'..." line.
18322 2011-08-25 Juri Linkov <juri@jurta.org>
18324 * battery.el (display-battery-mode): If `battery-status-function'
18325 or `battery-mode-line-format' is nil, display the message and set
18326 `display-battery-mode' to nil (bug#9363).
18328 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18330 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18331 bidi-string-mark-left-to-right; they are unnecessary now.
18333 2011-08-25 Deniz Dogan <deniz@dogan.se>
18335 * net/quickurl.el: Documentation typo fixes.
18337 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18339 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18341 2011-08-25 Glenn Morris <rgm@gnu.org>
18343 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18345 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18346 (smtpmail-via-smtp): Handle nil response from smtp.
18348 2011-08-24 Juri Linkov <juri@jurta.org>
18350 * proced.el (proced-marked): Inherit from `error' instead of
18351 `font-lock-warning-face'.
18353 * ibuffer.el (ibuffer-marked-face): Change default face from
18354 `font-lock-warning-face' to `warning'.
18355 (ibuffer-deletion-face): Change default face from
18356 `font-lock-type-face' to `error'.
18358 * battery.el (battery-update): Use the face `error' instead of
18359 `font-lock-warning-face' (bug#6117).
18361 2011-08-24 Juri Linkov <juri@jurta.org>
18363 * faces.el (success): Change face color from "Green3" to
18364 "ForestGreen" on light background (bug#9353).
18366 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18368 * window.el (quit-window): Rename from quit-restore-window.
18369 Use same arglist as old quit-window.
18370 (frame-auto-delete): Doc fix.
18372 * view.el (view-mode-exit): Use quit-window.
18374 2011-08-24 Juri Linkov <juri@jurta.org>
18376 * isearch.el (isearch-ring-adjust1): Start visiting previous
18377 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18378 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18379 for empty search string (when the last search string is reused
18380 automatically) to adjust the isearch ring to the last element and
18381 prepare the correct index for further M-p commands (bug#9185).
18383 2011-08-24 Kenichi Handa <handa@m17n.org>
18385 * international/ucs-normalize.el: If decomposition property of
18386 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18388 (nfd, nfkd): Likewise.
18390 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18392 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18393 from process filters aren't reliably transmitted to the surrounding
18394 accept-process-output.
18395 (mpc-proc-check): New function.
18396 (mpc-proc-sync): Use it (bug#8293)
18398 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18400 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18401 Add compatibility functions (bug#9313).
18403 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18405 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18407 * international/uni-bidi.el: Regenerate.
18409 2011-08-23 Kenichi Handa <handa@m17n.org>
18411 * international/charprop.el:
18412 * international/uni-bidi.el:
18413 * international/uni-category.el:
18414 * international/uni-combining.el:
18415 * international/uni-comment.el:
18416 * international/uni-decimal.el:
18417 * international/uni-decomposition.el:
18418 * international/uni-digit.el:
18419 * international/uni-lowercase.el:
18420 * international/uni-mirrored.el:
18421 * international/uni-name.el:
18422 * international/uni-numeric.el:
18423 * international/uni-old-name.el:
18424 * international/uni-titlecase.el:
18425 * international/uni-uppercase.el: Regenerate.
18427 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18429 * help.el (help-window-setup): Fix message displayed when other
18430 window is reused. (Bug#9341)
18432 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18434 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18435 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18437 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18439 * shell.el (shell-parse-pcomplete-arguments): New function.
18440 (shell-completion-vars): Use it instead (bug#9160).
18442 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18444 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18445 strings and comments (bug#9333).
18447 * emacs-lisp/debug.el (debug-arglist): New function.
18448 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18449 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18451 2011-08-22 Juri Linkov <juri@jurta.org>
18453 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18454 Revert regexp that highlights output switches to its old
18455 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18457 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18458 to check for empty output (bug#9226).
18460 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18462 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18463 symbol-constituent as the default, as that stops font-lock from
18464 working properly (Bug#8843).
18466 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18468 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18469 `coding-system-for-*' around the process open call to avoid
18470 auth-source side effects.
18471 (smtpmail-try-auth-methods): Expand the secret password.
18472 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18475 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18477 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18479 * emacs-lisp/find-func.el (find-function-noselect): New arg
18482 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18483 signal an error for built-in functions (Bug#6664).
18485 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18487 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18488 (smtpmail-try-auth-methods): Use it.
18490 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18492 * font-lock.el (font-lock-fontify-region)
18493 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18494 (font-lock-default-unfontify-buffer)
18495 (font-lock-default-fontify-region)
18496 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18498 * progmodes/compile.el (compilation-error-properties):
18499 Fix confusion between file struct and message struct (Bug#9319).
18500 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18503 * net/browse-url.el (browse-url-firefox): Don't call
18504 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18506 2011-08-20 Glenn Morris <rgm@gnu.org>
18508 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18510 * tutorial.el (tutorial--default-keys): Update some default bindings.
18512 * files.el (hack-local-variables): Fully ignore case for "mode:".
18514 2011-08-20 Alan Mackenzie <acm@muc.de>
18516 Resolve invalid use of a regexp in regexp-opt.
18518 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18519 detection for a java annotation.
18521 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18522 detection for a java annotation.
18524 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18526 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18528 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18530 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18533 2011-08-20 Alan Mackenzie <acm@muc.de>
18535 Fontify CPP expressions correctly when starting in the middle of
18536 such a construct. Mainly for when jit-lock etc. starts a chunk
18539 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18541 (c-make-font-lock-search-form): New function, extracted from
18542 c-make-font-lock-search-function.
18543 (c-make-font-lock-search-function): Use the above function.
18544 (c-make-font-lock-context-search-function): New function.
18545 (c-cpp-matchers): Enhance the preprocessor expression case with
18547 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18548 which takes an expression.
18550 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18552 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18554 * window.el (display-buffer-reuse-window)
18555 (display-buffer-pop-up-window): Don't reuse or split a side
18558 2011-08-19 Glenn Morris <rgm@gnu.org>
18560 * files.el (hack-local-variables-prop-line, hack-local-variables):
18561 Downcase "Mode:". (Bug#9331)
18563 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18565 * international/characters.el: Add L and R categories.
18567 * subr.el (bidi-string-mark-left-to-right): Rename from
18568 string-mark-left-to-right. Use category search.
18570 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18572 2011-08-18 Juri Linkov <juri@jurta.org>
18574 * faces.el (error, warning, success): New faces with definitions
18575 copied from old default values of `font-lock-warning-face',
18576 `compilation-warning', `compilation-info' (bug#6117).
18578 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18580 * progmodes/compile.el (compilation-error): Inherit from `error'.
18581 (compilation-warning): Inherit from `warning'.
18582 (compilation-info): Inherit from `success'.
18584 * dired.el (dired-marked): Inherit from `warning'.
18585 (dired-flagged): Inherit from `error'.
18587 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18589 * mail/smtpmail.el (auth-source): Require to avoid problems with
18590 binding variables (bug#9298). Also clean up some unused
18593 * net/network-stream.el (network-stream-open-starttls):
18594 Support using starttls.el without using gnutls-cli.
18596 2011-08-17 Juri Linkov <juri@jurta.org>
18598 * progmodes/grep.el (rgrep): Handle the case when
18599 `grep-find-command' is a cons cell (bug#9278).
18601 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18603 * window.el (display-buffer-pop-up-frame): Run frame creation
18604 function with BUFFER current (as special-display-popup-frame
18605 does). Reported by Drew Adams.
18607 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18609 * epa-mail.el: Simplify GnuPG group expansion using
18611 (epa-mail-group-alist, epa-mail-group-modtime)
18612 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18613 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18614 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18617 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18619 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18621 2011-08-16 Alan Mackenzie <acm@muc.de>
18623 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18624 Correct, to avoid the inside of macros.
18626 2011-08-16 Richard Stallman <rms@gnu.org>
18628 * epa-mail.el: Handle GnuPG group definitions.
18629 (epa-mail-group-alist, epa-mail-group-modtime)
18630 (epa-mail-gnupg-conf-file): New variables.
18631 (epa-mail-parse-groups, epa-mail-sync-groups)
18632 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18633 (epa-mail-expand-recipients): New functions.
18634 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18636 * mail/rmail.el (rmail-epa-decrypt): New command.
18638 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18639 Don't bind buffer-read-only, just inhibit-read-only.
18640 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18641 (epa-decrypt-armor-in-region): Make error message clearer.
18643 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18645 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18646 and "a2b" to "ab" for `prefix'.
18648 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18650 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18652 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18653 Fourquet (Bug#8804).
18655 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18657 * startup.el (argi): Declare as global variable (bug#9275).
18659 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18661 * subr.el (string-mark-left-to-right): Search the entire string
18662 for RTL script, not just the terminating character. Doc fix.
18664 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18666 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18668 (js--regexp-literal, js-syntax-propertize-function): Remove.
18669 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18670 (js-mode-map): Don't rebind electric keys.
18671 (js-insert-and-indent): Remove.
18672 (js-mode): Setup electric-layout and electric-indent instead.
18674 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18676 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18678 * epa.el (epa-progress-callback-function): Fix the logic of
18679 displaying progress.
18680 * epa-file.el (epa-file-insert-file-contents): Make progress
18681 display more user-friendly.
18682 (epa-file-write-region): Ditto.
18684 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18686 * subr.el (string-mark-left-to-right): New function.
18688 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18689 Use string-mark-left-to-right.
18690 (list-buffers-noselect): Caller changed.
18692 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18693 Use string-mark-left-to-right.
18694 (tabulated-list-print): Recenter after moving point.
18696 2011-08-10 Juri Linkov <juri@jurta.org>
18698 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18699 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18700 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18702 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18704 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18707 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18709 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18710 character. (Bug#6594)
18712 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18714 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18715 (image-dired--with-db-file): New macro.
18716 (image-dired-write-tags, image-dired-remove-tag)
18717 (image-dired-create-gallery-lists, image-dired-write-comments)
18718 (image-dired-get-comment, image-dired-mark-tagged-files)
18719 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18720 (image-dired-gallery-generate): Use insert-file-contents.
18722 * time.el (display-time-world-list, display-time-world-display):
18723 * time-stamp.el (time-stamp-string):
18724 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18725 set-time-zone-rule (Bug#7337).
18727 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18729 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18730 (epg-error-to-string, epg-errors-to-string): New function.
18731 (epg-wait-for-completion): Reverse errors list.
18732 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18733 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18734 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18735 (epg-sign-keys, epg-generate-key-from-file)
18736 (epg-generate-key-from-string): Format errors by using
18737 epg-errors-to-string (bug#9255).
18738 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18740 2011-08-07 Juri Linkov <juri@jurta.org>
18742 * faces.el (list-faces-display): Remove extra angle bracket
18743 from `help-mode-map'.
18745 * info.el (Info-history-toc-nodes): Doc fix.
18747 * longlines.el (longlines-mode): Doc fix.
18749 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18751 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18752 of statements and in a few more cases (bug#9183).
18754 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18756 (cl-transform-lambda): Use them (bug#9239).
18758 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18760 * window.el (display-buffer-same-window)
18761 (display-buffer-same-frame, display-buffer-other-window)
18762 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18763 (pop-to-buffer-other-window)
18764 (pop-to-buffer-same-frame-other-window)
18765 (pop-to-buffer-other-frame): Make them defuns.
18766 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18768 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18770 * subr.el (make-composed-keymap): Move from C. Change calling
18771 convention, and improve docstring to bring attention to a subtle point.
18772 * minibuffer.el (completing-read-default): Adjust accordingly.
18774 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18776 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18777 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18779 * net/trampver.el: Update release number.
18781 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18783 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18786 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18788 * mail/sendmail.el (sendmail-query-once): Restore the current
18789 buffer after querying (bug#9074).
18791 * dired.el (dired-flagged): Use different faces for marked and
18792 flagged files (bug#6117).
18794 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18797 * ido.el (ido-mode): Switch off the message if called
18800 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18801 before 587, since it appears that that's more likely to work for
18804 * cus-edit.el (custom-file): When running under emacs -q, always
18805 refuse to save the customizations, even if the .emacs file doesn't
18808 * info.el: Remove the `Info-beginning-of-buffer' function
18811 * net/network-stream.el (network-stream-open-starttls):
18812 Use `starttls-available-p' to see whether starttls.el can be used.
18814 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18816 * window.el (display-buffer-in-window): Don't set dedicated status
18817 of window here (Bug#9215).
18818 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18819 (display-buffer-pop-up-side-window)
18820 (display-buffer-in-side-window): Set dedicated status of window here.
18822 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18824 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18825 before binding generated-autoload-file.
18827 2011-08-01 Deniz Dogan <deniz@dogan.se>
18829 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18831 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18833 Sync with Tramp 2.2.2.
18835 * net/trampver.el: Update release number.
18837 2011-07-30 Juri Linkov <juri@jurta.org>
18839 * dired-aux.el (dired-touch-initial): Remove function.
18840 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18841 current time, and `default' to the last modification time of the
18842 current marked file (bug#6887).
18844 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18846 * simple.el (goto-line): Use string-to-number to provide a
18847 numeric argument to read-number (bug#9163).
18849 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18851 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18852 connection process, it could be nil.
18854 2011-07-27 Leo Liu <sdl.web@gmail.com>
18856 Simplify url handling in rcirc-mode.
18858 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18859 (rcirc-browse-url-at-mouse): Remove.
18860 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18862 2011-07-26 Alan Mackenzie <acm@muc.de>
18864 Fontify bitfield declarations properly.
18866 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18867 (c-symbol-chars): Now exported as a lang variable.
18868 (c-not-primitive-type-keywords): New lang variable.
18870 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18871 QT keyword "more" to prevent "more slots: ...." being spuriously
18872 parsed as a bitfield declaration.
18874 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18875 Refactor and enhance to handle bitfield declarations.
18876 (c-punctuation-in): New function.
18877 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18878 declarations properly.
18880 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18882 * calendar/icalendar.el (icalendar--all-events): Take care of
18883 multiple vcalendars in a single file.
18884 (icalendar--convert-float-to-ical): Checkdoc fixes.
18886 2011-07-25 Deniz Dogan <deniz@dogan.se>
18888 * image.el (insert-image): Clarifying docstring.
18890 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18892 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18893 `tramp-send-command-and-check' if there is no error.
18894 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18896 2011-07-22 Alan Mackenzie <acm@muc.de>
18898 Prevent cc-langs.elc being loaded at run time.
18900 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18903 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18904 "(require 'cc-langs)". Quote a form so it will evaluate at
18905 (cc-mode's) compilation time.
18907 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18909 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18910 loading. (Bug#9114)
18912 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18914 * window.el (display-buffer-pop-up-window)
18915 (display-buffer-pop-up-side-window)
18916 (display-buffer-in-side-window): Call display-buffer-set-height
18917 and display-buffer-set-width after setting the new window's
18918 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18920 2011-07-20 Sam Steingold <sds@gnu.org>
18922 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18923 (etags-tags-included-tables): Call `convert-standard-filename' on
18924 the file names contained in TAGS so that windows Emacs can handle
18925 TAGS files created by cygwin ctags.
18927 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18929 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18930 which apparently didn't work.
18932 2011-07-19 Roland Winkler <winkler@gnu.org>
18934 * proced.el (proced-send-signal): For *Marked Processes* buffer
18935 put point at beginning of buffer.
18937 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18939 * proced.el (proced-format): Make header lines align with the text
18942 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18944 * view.el (view-buffer): Allow running in `special' modes if we're
18945 visiting a file (bug#8615).
18947 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18949 * window.el (display-buffer-alist-of-strings-p)
18950 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18952 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18955 2011-07-18 Alan Mackenzie <acm@muc.de>
18957 Fontify declarators properly when, e.g., a jit-lock chunk begins
18958 inside a declaration.
18960 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18962 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18964 (c-complex-decl-matchers): Insert reference to
18965 c-font-lock-enclosing-decls.
18967 * progmodes/cc-engine.el (c-backward-single-comment):
18968 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18969 to nil around calls to (forward-comment -1).
18971 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18973 * image.el (put-image): Doc typo fix.
18975 * progmodes/etags.el (tags-search): Doc typo fix.
18977 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18978 password if we get errors 550 to 554.
18980 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18982 * net/gnutls.el (gnutls-log-level): Remove.
18984 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18985 indentation character (bug#6380).
18987 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18989 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18990 to clarify what the problem is (bug#4291).
18992 * simple.el (current-kill): Clarify what
18993 `interprogram-paste-function' does (bug#7500).
18994 (auto-fill-mode): Document `auto-fill-function' in relation to
18995 `auto-fill-mode' (bug#2470).
18997 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18999 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19000 method if slot is read-only (bug#9035).
19002 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19004 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19005 * window.el (pop-to-buffer): Select window used even if it was
19006 selected before, see discussion of (Bug#8615), (Bug#6954).
19007 Pass argument NORECORD on to select-frame-set-input-focus.
19009 2011-07-15 Glenn Morris <rgm@gnu.org>
19011 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19014 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19016 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19017 (gnutls-negotiate): Use it.
19019 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19021 * net/gnutls.el (gnutls-negotiate):
19022 Upcase `gnutls-algorithm-priority'.
19024 2011-07-15 Glenn Morris <rgm@gnu.org>
19026 * jka-compr.el (jka-compr-verbose): Move from here...
19027 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19028 Add missing :version tag.
19029 * info.el: No need to require jka-compr when compiling.
19031 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19033 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19034 (gnutls-negotiate): Use it.
19036 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19038 * info.el (Info-beginning-of-buffer): New command.
19039 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19040 announcing `b' as the key (bug#8325).
19041 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19043 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19045 * international/mule-cmds.el
19046 (describe-specified-language-support): Make the error message
19047 clearer (bug#8905).
19049 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19051 * isearch.el (isearch-barrier): Add a doc string, since it's
19052 mentioned in a function doc string (bug#8678).
19054 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19056 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19057 buffer argument (Bug#9083) and self-identifying label argument.
19059 2011-07-15 Glenn Morris <rgm@gnu.org>
19061 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19063 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19065 * man.el (Man-fontify-manpage): Fix message when formatting the
19066 man page (bug#7929).
19068 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19070 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19071 argument LRM; if non-nil, append an invisible LRM character to the
19073 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19074 last argument non-nil, when formatting buffer names.
19075 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19076 paragraph direction.
19078 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19080 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19081 the man page name (bug#7929).
19083 * image.el (put-image): Mention the `put-image' overlay property
19086 * scroll-bar.el (set-scroll-bar-mode): Mention that
19087 `scroll-bar-mode' lists the values (bug#7772).
19089 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19090 command (bug#7729).
19092 * rect.el (apply-on-rectangle): Return the point after the last
19094 (string-rectangle): Go to the point after the last operation
19097 * printing.el (pr-toggle-region): Clarify the documentation
19098 slightly (bug#7493).
19100 * time.el (display-time-update):
19101 Allow `display-time-mail-function' to return nil (bug#7158).
19102 Fix suggested by Detlev Zundel.
19104 * vc/diff.el (diff): Clarify the order the file names are read
19107 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19108 the doc string (bug#7015).
19110 * font-lock.el (font-lock-maximum-decoration): Mention what
19111 numeric levels mean (bug#6935).
19113 * startup.el (initial-buffer-choice): Don't mention the `none'
19114 selection, which is against policy.
19116 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19118 * window.el (display-buffer-normalize-special):
19119 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19121 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19123 * subr.el (version<, version<=, version=): Mention "-CVS" and
19124 "-12345" alpha version numbers.
19126 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19128 * bindings.el: Add advertised binding for set-mark-command
19131 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19133 * bindings.el (mode-line-other-buffer):
19134 * bookmark.el (bookmark-bmenu-2-window):
19135 * bs.el (bs-cycle-next, bs-cycle-previous):
19136 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19139 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19142 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19144 * follow.el (follow-debug-message, follow-redisplay):
19145 * jka-cmpr-hook.el (with-auto-compression-mode):
19146 Fix typos in docstrings.
19148 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19150 * subr.el (with-silent-modifications): Clarify somewhat what the
19151 macro inhibits (bug#6525).
19153 * simple.el (eval-expression): Note what it does if called
19154 interactively (bug#6495).
19156 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19158 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19159 Use pop-to-buffer buffer-or-name if it is nil.
19161 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19162 Remove switch-to-buffer.
19164 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19166 * files.el (make-directory): Clarify that an error will be raised
19167 if there's an error (bug#6397).
19169 * startup.el (initial-buffer-choice): Add `none' as a choice
19172 * subr.el (add-hook): Clarify section about buffer-local hooks
19175 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19177 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19179 * tabify.el (untabify): Preserve the current column so that point
19180 doesn't move (bug#6032).
19182 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19184 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19185 Rewrite to avoid awkward possessive "s" (bug#5986).
19187 2011-07-13 Glenn Morris <rgm@gnu.org>
19189 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19190 (dired-insert-directory): Give a message the first time
19191 if ls is found not to support --dired.
19193 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19195 * simple.el (toggle-truncate-lines): Clarify what is toggled
19196 (bug#5580). Text by Drew Adams.
19198 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19200 * simple.el (blink-matching-open): Make the error message from the
19201 last change less verbose.
19203 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19205 * font-lock.el (font-lock-comment-face): Use the high contrast
19206 "yellow" color for font-lock-comment-face on low color terminals
19207 using a dark background color (bug#4221).
19209 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19211 * dired.el (dired-insert-set-properties): Make the doc string
19212 reflect what it does now (bug#5325).
19214 * simple.el (blink-matching-open): Say that we were unable to find
19215 the match within the limit, if we're limited (bug#5122).
19217 * international/mule-cmds.el (prefer-coding-system): Add an
19218 example (bug#4869).
19220 * progmodes/etags.el (tags-search): Document `file-list-form'
19223 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19225 * net/browse-url.el (browse-url-default-browser)
19226 (browse-url-browser-function): Make the default browser choice a
19227 bit more logical (bug#4300). Also clean up the doc string.
19229 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19231 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19232 binary endings (bug#4440).
19234 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19236 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19237 which can be pretty annoying (bug#8971).
19239 * jka-compr.el (jka-compr-verbose): New variable, and use
19240 throughout (bug#8971).
19242 * info.el (Info-find-file): Fall back on the installation
19243 directory if we can't find the info node anywhere else.
19245 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19247 * vc/vc.el (vc-revert-file):
19248 Don't set file time-stamp in the past. (Bug#5181)
19250 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19252 * files.el (after-find-file): Give a better error message when
19253 trying to find a symlink that points to a file that doesn't exist
19256 * progmodes/cc-vars.el: Remove (probably) misleading comment
19259 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19261 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19263 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19265 * mouse-sel.el: Hack restoring functionality, while keeping
19266 compatibility with 2010-07-03 changes to mouse selection.
19267 (mouse-sel-primary-overlay): New var.
19268 (mouse-sel-selection-alist): Use it.
19269 (mouse-sel-mode): Doc fix; remove points that are default features
19272 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19275 Fix previous fix (bug#2490).
19277 2011-07-12 Roland Winkler <winkler@gnu.org>
19279 * textmodes/bibtex.el (bibtex-initialize):
19280 Use pop-to-buffer-same-window.
19281 (bibtex-search-entries): Fix interactive call.
19283 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19285 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19286 Fontise bytecomp Error lines more correctly (bug#2490).
19287 Fix suggested by Johan Bockgård.
19289 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19291 * dired-x.el (dired-guess-default): Use `delete-dups'.
19293 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19295 * dired.el (dired-mark-prompt):
19296 * dired-aux.el (dired-read-shell-command): Doc fix.
19298 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19300 * mail/sendmail.el (sendmail-query-once):
19301 Use `customize-save-variable' unconditionally, now that it works under
19304 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19306 * cus-edit.el (custom-file): Take an optional no-error variable.
19307 (customize-save-variable): Set the variable, and give a warning if
19308 running under "emacs -q".
19310 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19312 * loadhist.el (unload-feature-special-hooks):
19313 Add `auto-coding-functions', `fill-nobreak-predicate' and
19314 `find-directory-functions' (bug#5327).
19316 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19318 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19320 * cus-edit.el (custom-guess-name-alist): -alist variables should
19321 use the `alist' type (bug#3120). Suggested by Drew Adams.
19323 * printing.el: Add documentation to all the `pr-toggle-' commands.
19325 2011-07-11 Leo Liu <sdl.web@gmail.com>
19327 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19328 backends where it makes sense (bug#2623).
19330 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19332 * dired-x.el (dired-guess-default): Remove duplicate shell command
19333 entries (bug#2028).
19334 (dired-guess-default): Fix grammar in doc string (bug#2028).
19335 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19337 * subr.el (remove-duplicates): New conveniency function.
19339 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19341 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19344 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19346 * window.el (display-buffer-normalize-default): Don't invert
19347 meaning of even-window-heights. Reported by Eli Zaretskii
19350 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19352 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19354 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19356 * window.el (display-buffer): Fix arguments to
19357 display-buffer-reuse-window in last change.
19359 * faces.el (link): Use a less saturated blue on light backgrounds.
19361 * startup.el (fancy-startup-text, fancy-about-text)
19362 (fancy-startup-tail): Use font-lock faces, for background safety.
19364 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19366 * emulation/viper-cmd.el (viper-change-state-to-vi):
19367 Limit triggering of abbrev expansion (Bug#9038).
19369 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19371 * window.el (display-buffer-default-specifiers): Remove.
19372 (display-buffer-macro-specifiers): Remove default specifiers.
19373 (display-buffer-alist): Default to nil.
19374 (display-buffer-reuse-window): New optional argument other-window.
19375 (display-buffer-pop-up-window): Allow splitting internal
19376 windows. Check whether a live window was created.
19377 (display-buffer-other-window-means-other-frame)
19378 (display-buffer-normalize-arguments): Rename to
19379 display-buffer-normalize-argument and rewrite. Set the
19380 other-window specifier.
19381 (display-buffer-normalize-special): New function.
19382 (display-buffer-normalize-options): Rename to
19383 display-buffer-normalize-default and rewrite.
19384 (display-buffer-normalize-options-inhibit): Remove.
19385 (display-buffer-normalize-specifiers): Rewrite.
19386 (display-buffer): Process other-window specifier and call
19387 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19389 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19390 (display-buffer-alist-set): Don't handle 'unset default values.
19391 (display-buffer-in-window, display-buffer-alist-set):
19392 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19393 <tassilo@member.fsf.org>.
19395 2011-07-09 Leo Liu <sdl.web@gmail.com>
19397 * register.el (insert-register): Restore accidental change on
19398 2011-06-26. (Bug#9028)
19400 2011-07-09 Glenn Morris <rgm@gnu.org>
19402 * subr.el (remq): Handle the empty list. (Bug#9024)
19404 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19406 * mail/sendmail.el (send-mail-function): No longer delay custom
19408 * custom.el (custom-initialize-delay): Doc fix.
19410 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19412 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19414 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19416 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19417 human-friendly prompt.
19419 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19421 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19422 provided by a particular plugin.
19424 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19426 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19427 save customizations (with "emacs -Q"), just set the variable
19428 instead of erroring out.
19430 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19432 2011-07-08 Juri Linkov <juri@jurta.org>
19434 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19435 (archive-zip-update-case): Use 7z if found by `executable-find'.
19436 The order of searching the available programs is the same as in
19437 `archive-zip-extract' (bug#8968).
19439 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19441 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19442 (menu-bar-options-menu): Tweak descriptions.
19444 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19446 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19447 menu items into verb phrases (bug#1421). Also refill to fit under
19450 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19452 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19453 (Info-read-node-name): Doc fix (Bug#1084).
19455 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19456 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19457 (end-of-sexp, beginning-of-sexp)
19458 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19459 (forward-symbol, forward-same-syntax, word-at-point)
19460 (sentence-at-point): Doc fix (Bug#1144).
19462 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19464 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19465 should cover it (bug#1281).
19467 * cus-edit.el (custom-show): Mark as obsolete.
19469 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19470 negotiation fails, then possibly try again with a non-encrypted
19471 connection (bug#9017).
19473 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19476 2011-07-07 Richard Stallman <rms@gnu.org>
19478 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19479 property, and handle its changed format.
19480 Look for the correct line number.
19481 Use file's line contents (but not past first =) to find
19482 correct line in message.
19484 2011-07-07 Kenichi Handa <handa@m17n.org>
19486 * international/characters.el (build-unicode-category-table):
19488 (unicode-category-table): Set it by unicode-property-table-internal.
19490 * international/mule-cmds.el (char-code-property-alist): Move to
19492 (get-char-code-property): Call unicode-property-table-internal to
19493 load a file. Call get-unicode-property-internal where necessary.
19494 (put-char-code-property): Call unicode-property-table-internal to
19495 load a file. Call put-unicode-property-internal where necessary.
19496 put-unicode-property-internal where necessary.
19497 (char-code-property-description):
19498 Call unicode-property-table-internal to load a file.
19500 * international/charprop.el:
19501 * international/uni-bidi.el:
19502 * international/uni-category.el:
19503 * international/uni-combining.el:
19504 * international/uni-comment.el:
19505 * international/uni-decimal.el:
19506 * international/uni-decomposition.el:
19507 * international/uni-digit.el:
19508 * international/uni-lowercase.el:
19509 * international/uni-mirrored.el:
19510 * international/uni-name.el:
19511 * international/uni-numeric.el:
19512 * international/uni-old-name.el:
19513 * international/uni-titlecase.el:
19514 * international/uni-uppercase.el: Regenerate.
19516 * loadup.el: Load international/charprop.el before
19517 international/characters.
19519 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19521 * window.el (next-buffer, previous-buffer): Signal an error if
19522 called from a minibuffer window.
19524 * bindings.el: Revert 2011-07-04 change.
19526 2011-07-06 Richard Stallman <rms@gnu.org>
19528 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19529 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19530 Treat markers like ints.
19531 (rmail-mime-entity): Doc fix.
19533 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19535 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19536 defcustom again for backwards compatibility.
19538 * simple.el (shell-command-on-region): Fill.
19540 * dired-aux.el (dired-kill-line): Add a doc string.
19542 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19543 to "\\sw\\|\\s_" (bug#358).
19545 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19546 (dired-unmark-backward): Ditto.
19547 (dired-flag-backup-files): Ditto.
19549 * dired-x.el (dired-mark-sexp): Ditto.
19551 2011-07-06 Richard Stallman <rms@gnu.org>
19553 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19554 (rmail-mime-entity): New arg TRUNCATED.
19555 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19557 (rmail-mime-save): Warn if entity is truncated.
19558 (rmail-mime-toggle-hidden): Likewise, for showing.
19559 (rmail-mime-process-multipart): Record when an entity is truncated.
19561 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19562 if ENTITY is a string.
19564 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19566 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19567 of faces when `M-C-x'-ing their definitions (bug#8378).
19568 Also clean up the code slightly.
19570 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19571 because that makes the colors go away.
19573 * mail/sendmail.el (send-mail-function): Change the default to
19574 `sendmail-query-once'.
19575 (sendmail-query-once): Add an autoload cookie.
19577 * net/network-stream.el (network-stream-open-starttls): Try using
19578 a plain connection even if the server offered STARTTLS, and we
19579 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19580 capability. This should make smtpmail.el work in slightly more
19583 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19585 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19587 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19589 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19591 * progmodes/sql.el: Version 3.0
19592 (sql-product-alist): Add product :completion-object,
19593 :completion-column, and :statement attributes.
19594 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19595 (sql-mode-syntax-table): Mark all punctuation.
19596 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19598 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19599 (sql-mode-oracle-font-lock-keywords): Improve.
19600 (sql-oracle-show-reserved-words): New function for development.
19601 (sql-product-font-lock): Simplify for source code buffers.
19602 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19604 (sql-highlight-product): Set product specific syntax table.
19605 (sql-mode-map): Add statement movement functions.
19606 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19608 (sql-statement-regexp, sql-beginning-of-statement)
19609 (sql-end-of-statement, sql-signum): New functions.
19610 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19611 (sql-show-sqli-buffer): Bug fix.
19612 (sql-interactive-mode): Store connection data as buffer local.
19613 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19614 with sql-interactive-mode.
19615 (sql-save-connection): Save buffer local settings.
19616 (sql-connection-menu-filter): Change menu entry name.
19617 (sql-product-interactive): Bug fix.
19618 (sql-preoutput-hold): New variable.
19619 (sql-interactive-remove-continuation-prompt): Bug fixes.
19620 (sql-debug-redirect): New variable.
19621 (sql-str-literal): New function.
19622 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19624 (sql-oracle-save-settings, sql-oracle-restore-settings)
19625 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19626 (sql-completion-object, sql-completion-column)
19627 (sql-completion-sqlbuf): New variables.
19628 (sql-build-completions-1, sql-build-completions)
19629 (sql-try-completion): New functions.
19630 (sql-read-table-name): Use them.
19631 (sql-contains-names): New buffer local variable.
19632 (sql-list-all, sql-list-table): Use it.
19633 (sql-oracle-completion-types): New variable.
19634 (sql-oracle-completion-object, sql-sqlite-completion-object)
19635 (sql-postgres-completion-object): New functions.
19637 2011-07-06 Glenn Morris <rgm@gnu.org>
19639 * window.el (pop-to-buffer): Doc fix.
19641 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19643 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19645 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19647 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19649 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19651 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19653 * button.el (button): Inherit from link face. Suggested by Dan
19656 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19658 * progmodes/gdb-mi.el: Fit in 80 columns.
19659 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19662 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19663 if imenu is simply not configured (bug#8941).
19665 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19667 * allout.el (allout-post-undo-hook): New allout outline-change
19668 event hook to signal undo activity.
19669 (allout-post-command-business): Run allout-post-undo-hook if an
19670 undo just occurred.
19671 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19672 * allout-widgets.el (allout-widgets-after-undo-function):
19673 Ensure the integrity of the current item's decoration after it has been
19674 in the vicinity of an undo.
19675 (allout-widgets-mode): Include allout-widgets-after-undo-function
19676 on the new allout-post-undo-hook.
19678 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19680 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19681 Let define-derived-mode define it.
19682 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19683 cycles of abbrev-table inheritance (bug#8998).
19685 2011-07-05 Roland Winkler <winkler@gnu.org>
19687 * textmodes/bibtex.el: Add support for biblatex.
19688 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19689 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19690 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19691 (bibtex-entry-alist, bibtex-field-alist): New variables.
19692 (bibtex-entry-field-alist): Obsolete alias for
19693 bibtex-BibTeX-entry-alist.
19694 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19695 (bibtex-set-dialect): New command.
19696 (bibtex-entry-type, bibtex-entry-head)
19697 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19698 Bind via bibtex-set-dialect.
19699 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19700 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19701 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19702 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19703 Define via bibtex-set-dialect.
19704 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19705 Obey bibtex-no-opt-remove-re.
19706 (bibtex-vec-push, bibtex-vec-incr): New functions.
19707 (bibtex-format-entry, bibtex-field-list)
19708 (bibtex-print-help-message, bibtex-validate)
19709 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19711 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19713 * progmodes/compile.el (compilation-goto-locus):
19714 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19715 * bs.el (bs-cycle-next, bs-cycle-previous):
19716 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19717 * bindings.el (mode-line-other-buffer):
19718 * autoinsert.el (auto-insert):
19719 * arc-mode.el (archive-extract):
19720 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19722 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19724 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19725 Fix check of `emacs-lock-unlockable-modes'.
19726 Coerce true values of `emacs-lock--try-unlocking' to t.
19728 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19730 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19731 * emacs-lock.el: New file.
19733 2011-07-05 Julien Danjou <julien@danjou.info>
19735 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19736 than `boundp' to check if face is set.
19738 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19740 * register.el (registerv-make):
19741 * window.el (window-min-height): Fix typos in docstrings.
19743 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19745 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19748 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19750 * server.el (server-execute): Catch quit and call
19751 `server-return-error' to pass the error back to emacsclient and
19752 close the connection (bug#8942).
19754 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19756 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19757 insecure exception for current topic. Also note that auto-saves
19758 are handled differently.
19760 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19761 State variables for tracking auto-save inhibition situation.
19763 (allout-write-contents-hook-handler): Rename from
19764 'allout-write-file-hook-handler', and describe how it depends on
19765 write-contents-functions sensitivity to non-nil value to prevent
19768 (allout-auto-save-hook-handler): Remove. auto-save does not check
19769 this in individual buffers, only in the starting buffer, so this
19770 is not the right way for us to inhibit auto-save in a buffer
19771 according to its condition.
19773 (allout-mode): Use new allout-write-contents-hook-handler, and
19774 only with write-contents-functions. Remove auto-save provisions -
19775 they're implemented elsewhere.
19777 (allout-before-change-handler): If undo is in progress, note that
19778 for attention of allout-post-command-business.
19780 (allout-post-command-business): If the command we're following was
19781 an undo, check for change in the status of encrypted items and
19782 adjust auto-save inhibitions accordingly.
19784 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19785 according to whether there are or aren't any plain-text topics
19786 pending encryption.
19788 (allout-inhibit-auto-save-info-for-decryption):
19789 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19790 if there are plain-text topics pending encryption.
19792 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19793 buffer-saved-size and some allout state to not inhibit auto-saves
19794 if there are no longer any plain-text topics pending encryption.
19796 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19797 No longer provide for exemption of the current topic.
19799 2011-07-04 Juri Linkov <juri@jurta.org>
19801 Add 7z operations to delete and save changed members (bug#8968).
19802 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19804 (archive-7z-write-file-member): New function.
19805 (archive-7z-summarize): Fix the number of dashes in the
19808 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19810 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19813 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19815 * bindings.el: Ignore next-buffer and previous-buffer in
19816 minibuffer-local-map.
19818 * font-lock.el (font-lock-builtin-face): Change light background
19819 color to dark slate blue (Bug#6693).
19821 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19823 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19825 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19827 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19828 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19829 Add switch-to-buffer.
19831 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19833 * isearch.el (isearch-search-fun-function): Clarify further the
19834 meaning of the function returned.
19836 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19838 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19840 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19841 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19843 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19844 `tramp-default-remote-path' does not exist.
19845 (tramp-send-command-and-read): New optional argument NOERROR.
19846 (tramp-open-connection-setup-interactive-shell)
19847 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19848 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19849 (tramp-process-sentinel): Flush also process' connection property.
19850 (tramp-sh-handle-start-file-process): Do not set process
19851 sentinel. It is done now ...
19852 (tramp-maybe-open-connection): ... here. (Bug#8929)
19854 2011-07-04 MON KEY <monkey@sandpframing.com>
19856 * play/animate.el (animate-string): Doc fixes and allow changing
19857 the buffer name (bug#5417).
19859 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19861 * play/animate.el (animation-buffer-name): Rename from *animate*.
19863 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19865 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19866 This is simpler and helps future-proof the code.
19867 (timer-until): Use time-subtract and float-time.
19868 (timer--time-less-p): Use time-less-p.
19870 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19872 * type-break.el (timep): Use the value of `float-time' to avoid a
19873 byte-compiler warning.
19875 * server.el (server-eval-and-print): Return any result, even nil.
19877 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19879 * type-break.el: Accept time formats that the builtins accept.
19880 (timep, type-break-time-difference): Accept any format that
19881 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19882 This is simpler and helps future-proof the code.
19883 (type-break-time-difference): Round rather than ignoring
19884 subseconds components.
19886 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19888 * info.el (Info-apropos-matches): Make non-interactive, since it
19889 doesn't seem to do anything useful as a command (bug#8829).
19891 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19893 * frame.el (frame-background-mode, frame-set-background-mode):
19894 Move from faces.el.
19895 (frame-default-terminal-background): New function.
19897 * custom.el (custom-push-theme): Don't record faces in `changed'
19898 theme; this doesn't work correctly for per-frame face settings.
19899 (disable-theme): Use face-set-after-frame-default to reset faces.
19900 (custom--frame-color-default): New function.
19902 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19904 * dired.el (dired-flagging-regexp): Remove unused variable
19907 2011-03-29 Kevin Ryde <user42@zip.com.au>
19909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19910 `perl-Test2' extend to match possible "fail #N" rep count
19913 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19915 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19916 `smtpmail-via-smtp' now returns the error instead of nil.
19918 * isearch.el (isearch-search-fun-function): Clarify the doc string
19921 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19923 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19924 unnecessary spaces (bug#8987).
19926 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19928 * net/network-stream.el (open-network-stream): Use the
19929 :end-of-capability command thoughout.
19931 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19933 * net/network-stream.el (open-network-stream): Add the
19934 :end-of-capability command parameter, used by pop3.el.
19936 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19938 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19940 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19941 for list)" (bug#6475).
19943 * files.el (file-expand-wildcards): Ignore non-readable
19944 sub-directories while trying to find matches instead of signaling
19945 an error (bug#6297).
19947 * man.el (Man-reference-regexp): Allow matching possible
19948 word-wrapped references (bug#6289).
19950 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19951 for consistency with the other vc buffers (bug#6197).
19952 (vc-checkin): Ditto.
19954 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19956 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19958 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19960 * custom.el (defcustom): Clarify that :set is only used in the
19961 Customize user interface (bug#6089).
19963 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19964 associated with a file, refuse to run instead of erroring out
19967 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19968 the doc string, since it appears that using `fill-column' always
19969 controls the width (bug#7845).
19971 * simple.el (shell-command-on-region): Say where the error output
19972 went if `shell-command-default-error-buffer' is set (bug#6857).
19974 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19976 * allout.el (allout-yank-processing): Adjust cursor position for
19977 backwards-deleted space.
19979 (allout-rebullet-heading): Register changes with
19980 allout-exposure-changed-hook, so the modified topic is properly
19983 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19985 * minibuffer.el (completion-in-region): Document PREDICATE
19988 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19989 of keyword/argument pairs (bug#6904).
19991 * replace.el (multi-occur):
19992 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19994 2011-07-02 Drew Adams <drew.adams@oracle.com>
19996 * dired.el (dired-mark-if): Make the message about whether it's
19997 marking or unmarking clearer (bug#8523).
19999 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20001 * disp-table.el (display-table-print-array): New function.
20002 (describe-display-table): Use it to print the vectors more pretty
20005 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20007 * window.el (window-state-get-1): Don't assign clone numbers.
20008 Add clone-of item to list of window parameters.
20009 (window-state-put-2): Don't process clone numbers.
20010 (display-buffer-alist): Fix doc-string.
20012 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20014 * subr.el (remq): Don't allocate if it's not needed.
20015 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20016 (keymap--merge-bindings): New functions.
20017 (keymap-canonicalize): Use them to refine the canonicalization.
20018 * minibuffer.el (minibuffer-local-completion-map)
20019 (minibuffer-local-must-match-map): Move initialization from C.
20020 (minibuffer-local-filename-completion-map): Move initialization from C;
20021 don't inherit from anything here.
20022 (minibuffer-local-filename-must-match-map): Make obsolete.
20023 (completing-read-default): Use make-composed-keymap to combine
20024 minibuffer-local-filename-completion-map with either
20025 minibuffer-local-must-match-map or
20026 minibuffer-local-filename-completion-map.
20028 2011-07-01 Glenn Morris <rgm@gnu.org>
20030 * type-break.el (type-break-time-sum): Use dolist.
20032 * textmodes/flyspell.el (flyspell-word-search-backward):
20033 Replace CL function.
20035 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20037 * mouse.el (mouse--strip-first-event): New function.
20038 (function-key-map): Use it to map fringe clicks to normal clicks
20041 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20042 (vc-bzr-revision-completion-table): Add support for annotate and date.
20044 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20045 inherit from parent.
20047 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20049 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20050 (dired-show-file-type): Doc fixup (bug#8818).
20052 * dired.el (dired-mode): Fix up the doc string as suggested by
20053 Drew Adams (bug#8817).
20055 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20056 cookie, since the manual says that it should be possible to add
20057 this function to `find-file-hook' (bug#8709).
20059 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20061 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20062 here. Noted Ted Zlatanov as the maintainer.
20063 (cfengine-common-settings, cfengine-common-syntax): New functions
20064 to set up common things between `cfengine-mode' and
20066 (cfengine3-mode): New mode.
20067 (cfengine3-defuns cfengine3-defuns-regex
20068 (cfengine3-class-selector-regex cfengine3-category-regex)
20069 (cfengine3-vartypes cfengine3-font-lock-keywords)
20070 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20071 (cfengine3-indent-line): Add from cfengine3.el.
20073 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20075 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20077 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20079 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20081 * window.el (same-window-buffer-names, same-window-regexps)
20082 (same-window-p, special-display-frame-alist)
20083 (special-display-popup-frame, special-display-function)
20084 (special-display-buffer-names, special-display-regexps)
20085 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20086 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20087 (split-window-preferred-function, split-height-threshold)
20088 (split-width-threshold, even-window-heights)
20089 (display-buffer-mark-dedicated, window-splittable-p)
20090 (split-window-sensibly, window-safely-shrinkable-p):
20092 (display-buffer): Don't spread args with function specifier
20093 because special-display-popup-frame won't like it.
20095 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20097 Time-stamp simplifications and fixes.
20098 These improve accuracy slightly, and future-proof the code
20099 against some potential changes to current-time format.
20101 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20102 by using time-since and float-time.
20104 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20105 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20106 + NNN microseconds".
20108 * type-break.el (type-break-time-sum): Rewrite using time-add.
20110 * play/hanoi.el (hanoi-current-time-float): Remove.
20111 All uses replaced by float-time.
20113 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20114 This yields a more-accurate answer.
20115 (rng-time-to-float): Remove; no longer needed.
20117 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20119 * calendar/timeclock.el (timeclock-seconds-to-time):
20120 Defalias to seconds-to-time, since they're the same thing.
20122 * emacs-lisp/elp.el (elp-elapsed-time):
20123 * emacs-lisp/benchmark.el (benchmark-elapse):
20124 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20126 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20128 * window.el (bury-buffer): Don't iconify the only frame.
20129 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20130 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20132 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20134 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20135 Add mouse-yank-primary.
20137 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20139 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20141 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20143 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20144 (find-library-name): Use it to find relative load names when provided
20145 absolute file name (bug#8803).
20147 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20149 * textmodes/flyspell.el (flyspell-word): Consider words that
20150 differ only in case as potential doublons (bug#5687).
20152 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20153 Remove two rather uninteresting debugging-like messages to make
20154 debbugs.el more silent.
20156 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20157 a password-like phrase.
20159 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20161 * progmodes/cc-guess.el: New file.
20163 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20165 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20166 derived from `c-basic-common-init'.
20168 * progmodes/cc-mode.el (top-level): Require cc-guess.
20169 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20171 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20173 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20175 2011-06-30 Alan Mackenzie <acm@muc.de>
20177 * progmodes/cc-engine.el (c-guess-continued-construct):
20178 Correct the handling of template-args-cont, particularly for when font
20179 lock is disabled. Name this case as "CASE G".
20181 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20183 * allout.el (allout-yank-processing): Fix injection of extra space
20184 between bullet and non-whitespace character in first topic when
20185 pasting, ensuring that the actual spacing in the pasted topic
20186 following the bullet char is preserved. This extra space was
20187 causing pasted encrypted topics to get a decrypted status even
20188 when the content was actually still encrypted. Now the decryption
20189 status from before the paste is preserved.
20191 (allout-flag-region): Set all allout overlays so they evaporate
20192 when reduced to zero length (evanescent), to prevent overlay
20195 2011-06-30 Glenn Morris <rgm@gnu.org>
20197 * w32-fns.el (w32-charset-info-alist): Declare.
20199 * find-dired.el (find-grep-options): Simplify.
20201 * term/ns-win.el (ns-set-resource): Declare.
20203 * ses.el (row, col): Declare dynamic variables honestly.
20205 * textmodes/reftex-parse.el (index-tags): Declare.
20207 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20209 * cus-edit.el (customize-push-and-save): New function.
20211 * files.el (hack-local-variables-confirm): Use it.
20213 * custom.el (load-theme): New arg NO-CONFIRM.
20214 Use customize-push-and-save (Bug#8720).
20215 (custom-enabled-themes): Doc fix.
20217 * cus-theme.el (customize-create-theme)
20218 (custom-theme-merge-theme): Callers to load-theme changed.
20220 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20222 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20223 short URLs have at least one dot in them (bug #7614).
20225 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20226 nil, because using a pty is apparently too slow (bug #895).
20228 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20230 * mail/sendmail.el (sendmail-query-once): New function.
20231 (sendmail-query-once-function): New variable.
20233 2011-06-29 Glenn Morris <rgm@gnu.org>
20235 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20237 * ses.el (top-level): Require cl when compiling.
20238 (ses-set-localvars): Fix error statement.
20239 Call it at compile time to silence a storm of warnings.
20241 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20243 * window.el (normalize-live-buffer): Rename to
20244 window-normalize-buffer.
20245 (normalize-live-frame): Rename to window-normalize-frame.
20246 (normalize-any-window): Rename to window-normalize-any-window.
20247 (normalize-live-window): Rename to window-normalize-live-window.
20248 (make-window-atom): Rename to window-make-atom.
20249 (window-resize-reset): Rename to window--resize-reset.
20250 (window-resize-reset-1): Rename to window--resize-reset-1.
20251 (resize-mini-window): Rename to window--resize-mini-window.
20252 (resize-subwindows-skip-p): Rename to
20253 window--resize-subwindows-skip-p.
20254 (resize-subwindows-normal): Rename to
20255 window--resize-subwindows-normal.
20256 (resize-subwindows): Rename to window--resize-subwindows.
20257 (resize-other-windows): Rename to window--resize-siblings.
20258 (resize-this-window): Rename to window--resize-this-window.
20259 (resize-root-window): Rename to window--resize-root-window.
20260 (resize-root-window-vertically): Rename to
20261 window--resize-root-window-vertically.
20262 (normalize-buffer-to-display): Rename to
20263 window-normalize-buffer-to-display.
20264 (normalize-buffer-to-switch-to): Rename to
20265 window-normalize-buffer-to-switch-to.
20266 Correspondingly update all callers of the functions listed
20268 (display-buffer-alist, display-buffer-normalize-arguments)
20269 (display-buffer-normalize-options, display-buffer)
20270 (display-buffer-alist-set): Use "function" instead of
20273 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20275 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20276 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20277 debbugs.gnu.org. Mention acknowledgment email.
20279 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20281 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20282 buffer multibyteness, since it shouldn't matter.
20284 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20286 * window.el (display-buffer-in-side-window): Handle dedicated
20287 windows as in display-buffer-reuse-window.
20288 (display-buffer-normalize-alist): Use value of override
20290 (display-buffer-normalize-specifiers): Use value of
20291 other-window-means-other-frame specifier.
20292 (display-buffer-alist): Rewrite some texts in widgets.
20293 (display-buffer): Spread arguments when calling function
20294 specified by fun-with-args.
20296 2011-06-28 Deniz Dogan <deniz@dogan.se>
20298 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20301 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20302 selectors (Bug#5732).
20303 (css-proprietary-nmstart-re): Use `regexp-opt'.
20305 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20307 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20308 (eshell-ls-date-format): New defcustom.
20309 (eshell-ls-file): Use it.
20311 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20313 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20315 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20317 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20318 (ange-ftp-make-tmp-name): New arg.
20319 (ange-ftp-file-local-copy): Use it.
20321 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20323 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20324 no-conversion (Bug#8870).
20326 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20328 * window.el (window-right, window-left, window-child)
20329 (window-child-count, window-last-child)
20330 (window-iso-combination-p, walk-window-tree-1)
20331 (window-atom-check-1, window-tree-1, delete-window)
20332 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20333 new naming conventions - window-vchild, window-hchild,
20334 window-next and window-prev are now called window-top-child,
20335 window-left-child, window-next-sibling and window-prev-sibling
20337 (resize-window-reset): Rename to window-resize-reset.
20338 (resize-window-reset-1): Rename to window-resize-reset-1.
20339 (resize-window): Rename to window-resize.
20340 (window-min-height, window-min-width)
20341 (resize-mini-window, resize-this-window, resize-root-window)
20342 (resize-root-window-vertically, adjust-window-trailing-edge)
20343 (enlarge-window, shrink-window, maximize-window)
20344 (minimize-window, delete-window, quit-restore-window)
20345 (split-window, balance-windows, balance-windows-area-adjust)
20346 (balance-windows-area, window-state-put-2)
20347 (display-buffer-even-window-sizes, display-buffer-set-height)
20348 (display-buffer-set-width, set-window-text-height)
20349 (fit-window-to-buffer): Rename all "resize-window" prefixed
20350 calls to use the "window-resize" prefix convention.
20351 (display-buffer-alist): Fix symbol for label specifier.
20352 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20353 corresponding specifier.
20354 Reported by Juanma Barranquero <lekktu@gmail.com>.
20356 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20358 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20360 (ses-call-printer): Does not pass an empty string to formatter when the
20361 cell is empty to keep from barking printer Calc math-format-value.
20363 2011-06-27 Richard Stallman <rms@gnu.org>
20365 * battery.el (battery-mode-line-limit): New variable.
20366 (battery-update): Handle it.
20368 * mail/rmailmm.el (rmail-mime-process-multipart):
20369 Handle truncated messages.
20371 2011-06-27 Glenn Morris <rgm@gnu.org>
20373 * progmodes/flymake.el (flymake-err-line-patterns):
20374 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20376 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20378 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20379 (ses--clean-!, ses--clean-_): New functions.
20380 (ses-range): Add configurability of readout order, and conversion
20383 * ses.el (ses-repair-cell-reference-all): New function.
20384 (ses-cell-symbol): Set macro as safe, so that it can be used in
20387 * ses.el: Update cycle detection algorithm.
20388 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20389 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20390 (ses-set-localvars): New function.
20391 (ses-make-cell): Add property-list as a cell element.
20392 (ses-cell-property-get-fun, ses-cell-property-get)
20393 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20394 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20396 (ses-cell-property-set, ses-cell-property-pop)
20397 (ses-cell-property-get-handle): New macro.
20398 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20399 New aliases, used for code readability.
20400 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20402 (ses-self-reference-early-detection): New defcustom.
20403 (ses-formula-references): Robustify against self-referring cells.
20404 (ses-mode): Use ses-set-localvars.
20405 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20406 before lauching the update processing.
20407 (ses-initialize-Dijkstra-attempt): New function.
20408 (ses-recalculate-cell): Update for cycle detection based on
20409 Dijkstra algorithm.
20411 * ses.el: Fix commenting and indenting convention.
20413 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20415 * bs.el (bs-cycle-next): Complete last change.
20417 2011-06-27 Drew Adams <drew.adams@oracle.com>
20419 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20421 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20423 * net/network-stream.el (network-stream-open-starttls):
20424 Don't re-get capabilities unless we've reestablished connection.
20425 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20427 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20428 to binary to possibly avoid line encoding issues on Windows (among
20431 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20433 * net/network-stream.el (open-network-stream): Return an :error
20434 saying what the problem was, if possible.
20436 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20439 * net/network-stream.el (network-stream-open-starttls): If we
20440 wanted to use STARTTLS, and the server offered it, but we weren't
20441 able to because we had no STARTTLS support, then close the connection.
20442 (open-network-stream): Return an :error element, if present.
20444 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20446 * hl-line.el (hl-line-sticky-flag): Doc fix.
20447 (global-hl-line-sticky-flag): New option (Bug#8323).
20448 (global-hl-line-highlight): Obey it.
20450 * vc/vc.el (vc-revert-show-diff): Default to t.
20452 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20454 * allout-widgets.el (allout-widgets-post-command-business):
20455 Stop decorating intermediate isearch matches. They're not being
20456 undecorated when an isearch is continued past, and isearch
20457 automatically collapses them. This leads to "widget leaks", where
20458 decorated items accumulate in collapsed areas. Lines with lots of
20459 hidden widgets can slow down cursor travel, substantially.
20460 Too much complicated machinery would be needed to ensure undecoration,
20461 so we're doing without this nicety.
20463 (allout-widgets-tally-string): Don't try to do a hash-table-count
20464 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20465 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20466 *Messages* when allout-widgets-maintain-tally is t.
20468 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20470 * window.el (display-buffer-normalize-argument): Rename to
20471 display-buffer-normalize-arguments. Handle special meaning of
20472 LABEL argument. Respect special-display-function when popping up
20473 a new frame. Fix code searching for a window showing the buffer
20475 (display-buffer-normalize-specifiers):
20476 Call display-buffer-normalize-arguments.
20477 (display-buffer-in-window): Don't undedicate the window if its
20478 buffer remains the same.
20479 Reported by Drew Adams <drew.adams@oracle.com>.
20480 (display-buffer-alist): Add choice for same-window macro
20482 (display-buffer): Mention special meaning of LABEL argument in
20483 doc-string. Fix quoting. Don't pop up a new frame even as
20486 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20488 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20489 avoid deleting the current window in some cases (bug#8911).
20491 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20493 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20496 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20498 * net/network-stream.el (network-stream-open-starttls):
20499 Use built-in TLS support if `gnutls-available-p' is true.
20500 (network-stream-open-tls): Ditto.
20502 2011-06-26 Leo Liu <sdl.web@gmail.com>
20504 * register.el (registerv): New struct.
20505 (registerv-make): New function.
20506 (jump-to-register, describe-register-1, insert-register):
20507 Support the jump-func, print-func and insert-func slot of a registerv
20510 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20512 * vc/vc.el (vc-revert-show-diff): New defcustom.
20513 (vc-diff-internal): New arg specifying diff buffer.
20514 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20515 reuse an existing *vc-diff* buffer (Bug#8927).
20517 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20519 2011-06-26 Glenn Morris <rgm@gnu.org>
20521 * progmodes/f90.el (f90-critical-indent): New option.
20522 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20523 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20524 (f90-mode): Doc fix.
20525 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20526 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20527 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20528 (f90-match-end): Handle block, critical.
20530 2011-06-25 Glenn Morris <rgm@gnu.org>
20532 * calendar/diary-lib.el (diary-included-files): Doc fix.
20533 (diary-include-files): New function, extracted from
20534 diary-include-other-diary-files and diary-mark-included-diary-files.
20535 (diary-include-other-diary-files, diary-mark-included-diary-files):
20536 Just call diary-include-files.
20537 (diary-mark-entries): Reset diary-included-files on first call.
20539 * calendar/diary-lib.el (diary-mark-entries)
20540 (diary-mark-included-diary-files):
20541 Visit included diary-files in temp buffers.
20543 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20544 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20545 (f90-start-block-re, f90-imenu-generic-expression)
20546 (f90-looking-at-program-block-start, f90-no-block-limit):
20547 Add support for submodules.
20549 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20550 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20552 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20554 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20555 buffer-file-type before setting its value, to avoid disastrous
20556 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20558 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20560 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20562 * ses.el (ses-unload-function):
20563 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20565 * proced.el (proced-unload-function):
20566 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20568 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20570 * server.el (server-create-window-system-frame): Add parameters arg.
20571 (server-process-filter): Doc fix. Handle frame-parameters.
20573 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20575 Fix bug#8730, bug#8781.
20577 * loadhist.el (unload--set-major-mode): New function.
20578 (unload-feature): Use it.
20580 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20581 (python-unload-function): New function.
20583 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20585 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20587 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20589 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20590 the candidates list.
20592 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20594 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20596 2011-06-23 Richard Stallman <rms@gnu.org>
20598 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20599 (rmail-variables): Set next-error-move-function.
20600 (rmail-what-message): Take argument POS.
20601 (rmail-next-error-move): New function.
20603 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20605 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20606 messages for adjacent non-terminals.
20608 2011-06-23 Richard Stallman <rms@gnu.org>
20610 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20611 (rmail-show-message-1): Preserve buffer modified flag.
20612 (rmail-start-mail): Don't specify use of rmail-mail-return;
20613 that's done by mail-bury now.
20614 (rmail-mail-return): Handle arg NEWBUF.
20616 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20618 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20621 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20623 * window.el (get-lru-window, get-mru-window)
20624 (get-largest-window): Never return a minibuffer window.
20625 (display-buffer-pop-up-window): Fix a bug that could lead to
20626 reusing the minibuffer window.
20627 (display-buffer): Pass original specifier argument to
20628 display-buffer-function instead of the normalized one.
20629 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20631 2011-06-22 Leo Liu <sdl.web@gmail.com>
20633 * minibuffer.el (completing-read-function)
20634 (completing-read-default): Move from minibuf.c.
20636 2011-06-22 Richard Stallman <rms@gnu.org>
20638 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20639 to Rmail even if not started by a special Rmail command.
20641 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20642 Copy the buffer currently showing just one message.
20644 2011-06-22 Roland Winkler <winkler@gnu.org>
20646 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20647 (bibtex-clean-entry): First delete the old key so that a
20648 customized algorithm for generating the new key does not get
20649 confused by the old key.
20650 (bibtex-url): Obey regexp of first step.
20651 (bibtex-search-entries): Do not use add-to-list with local
20654 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20656 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20657 stored a user name, then query for the password first, instead of
20658 waiting for SMTP to give an error message and the trying again.
20660 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20662 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20663 BUFFER in call-process.
20665 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20667 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20669 (smtpmail-try-auth-methods): Require user name and password from
20672 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20674 * window.el (display-buffer-default-specifiers)
20675 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20676 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20677 (split-window): Normalize SIDE argument (Bug#8916).
20679 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20680 (special-display-frame-alist, special-display-popup-frame):
20681 Remove duplicate declarations. These are now in window.el.
20683 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20685 * mail/smtpmail.el (smtpmail-via-smtp):
20686 Set :use-starttls-if-possible so that we always use STARTTLS if the
20687 server supports it. SMTP servers that support STARTTLS commonly
20690 * net/network-stream.el (network-stream-open-starttls): Support
20691 upgrading to STARTTLS always, even if we don't have built-in support.
20692 (open-network-stream): Add the :always-query-capabilities keyword.
20694 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20695 upgrades with `open-network-stream', and rely solely on
20696 auth-source for all credentials. Big changes throughout the file,
20698 (smtpmail-auth-credentials): Remove.
20699 (smtpmail-starttls-credentials): Remove.
20700 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20703 * net/network-stream.el (network-stream-open-starttls):
20704 Provide support for client certificates both for external and built-in
20706 (auth-source): Require.
20707 (open-network-stream): Document the :client-certificate keyword.
20708 (network-stream-certificate): Change cert-cert to cert and
20711 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20713 * net/tramp-cache.el (top): Don't load the persistency file when
20714 "emacs -Q" has been called.
20716 2011-06-21 Tim Harper <timcharper@gmail.com>
20718 * term/ns-win.el (ns-initialize-window-system):
20719 Set application-specific `ApplePressAndHoldEnabled' system
20720 resource to NO as it is not yet supported by the NS port.
20722 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20724 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20725 (list-dynamic-libraries): ...not here.
20727 2011-06-21 Leo Liu <sdl.web@gmail.com>
20729 * subr.el (sha1): Implement sha1 using secure-hash.
20731 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20733 * window.el (display-buffer-alist): In default value do not
20734 enforce searching a window on any but the selected frame.
20735 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20736 (display-buffer-select-window): Remove function.
20737 (display-buffer-in-window): When a window on another frame gets
20738 reused, do not select it any more but just raise its frame if
20739 necessary (Bug#8851) and (Bug#8856).
20740 (display-buffer-normalize-options): Handle pop-up-frames related
20741 options more faithfully.
20742 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20743 window if it is on another frame.
20744 (display-buffer-alist, display-buffer-default-specifiers):
20745 Don't make new frame unsplittable by default.
20746 (display-buffer-normalize-argument): Fix doc-string typo and use
20747 'same-frame-other-window instead of 'other-window when associating
20748 with display-buffer-macro-specifiers.
20750 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20752 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20754 (5x5-mode-map, 5x5-mode-menu): Bind them.
20755 (5x5-draw-grid): Tweak the solver's rendering.
20757 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20759 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20760 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20762 2011-06-21 Drew Adams <drew.adams@oracle.com>
20764 * menu-bar.el: Use function variable instead of switch-to-buffer.
20765 (menu-bar-select-buffer-function): New variable.
20766 (menu-bar-update-buffers): Use it (bug#8876).
20768 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20770 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20773 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20775 * x-dnd.el (x-dnd-version-from-flags)
20776 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20777 and long as number (Bug#8899).
20778 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20780 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20782 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20783 (completion-try-completion, completion-all-completions): Compute the
20784 metadata argument if it's missing; make it optional (bug#8795).
20786 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20787 (widget-complete): Use new :completion-function property.
20788 (widget-completions-at-point): New function.
20789 (default): Use :completion-function instead of :complete.
20790 (widget-default-completions): Rename from widget-default-complete;
20792 (widget-string-complete, widget-file-complete, widget-color-complete):
20794 (file, symbol, function, variable, coding-system, color):
20795 * international/mule-cmds.el (default-input-method, charset)
20796 (language-info-custom-alist):
20797 * cus-edit.el (face): Use new property :completions.
20799 * progmodes/pascal.el (pascal-completions-at-point): New function.
20800 (pascal-mode): Use it.
20801 (pascal-mode-map): Use completion-at-point.
20802 (pascal-toggle-completions): Make obsolete.
20803 (pascal-complete-word, pascal-show-completions):
20804 * progmodes/octave-mod.el (octave-complete-symbol):
20805 Redefine as obsolete alias.
20806 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20807 Signal absence of completion info for old Octave,
20808 (inferior-octave-complete): Redefine as obsolete alias.
20809 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20810 (meta-completions-at-point): Rename from meta-complete-symbol and
20811 adapt it for use on completion-at-point-functions.
20812 (meta-common-mode): Use it.
20813 (meta-looking-at-backward, meta-match-buffer): Remove.
20814 (meta-complete-symbol): Redefine as obsolete alias.
20815 (meta-common-mode-map): Use completion-at-point.
20816 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20817 (makefile-mode-map): Use completion-at-point.
20818 (makefile-completions-at-point): Rename from makefile-complete and
20819 adapt it for use on completion-at-point-functions.
20820 (makefile-mode): Use it.
20821 (makefile-complete): Redefine as obsolete alias.
20823 2011-06-20 Deniz Dogan <deniz@dogan.se>
20825 * net/rcirc.el: Delete trailing whitespaces once and for all.
20827 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20829 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20831 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20833 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20835 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20837 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20839 * window.el (display-buffer-other-window-means-other-frame):
20840 Call display-buffer-normalize-alist.
20841 (display-buffer-normalize-specifiers-1): Rename to
20842 display-buffer-normalize-argument. New argument other-frame.
20844 (display-buffer-normalize-specifiers-2): Rename to
20845 display-buffer-normalize-options.
20846 (display-buffer-normalize-alist-1): New function.
20847 (display-buffer-normalize-specifiers-3): Rename to
20848 display-buffer-normalize-alist.
20849 Call display-buffer-normalize-alist-1.
20850 (display-buffer-normalize-options-inhibit): New variable.
20851 (display-buffer-normalize-specifiers): Rewrite calling
20852 display-buffer-normalize-alist,
20853 display-buffer-normalize-argument, and
20854 display-buffer-normalize-options. Don't call the latter if
20855 display-buffer-normalize-options-inhibit is non-nil.
20856 (frame-auto-delete): New option.
20857 (window-deletable-p): Use frame-auto-delete.
20858 (window-list-no-nils, window-state-ignored-parameters)
20859 (window-state-get-1, window-state-get, window-state-put-list)
20860 (window-state-put-1, window-state-put-2, window-state-put):
20862 (display-buffer-normalize-options): Move special-display-p group
20863 after pop-up-frame group (Bug#8851) and (Bug#8856).
20865 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20867 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20869 (rx-submatch-n): New function.
20872 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20875 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20877 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20879 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20880 anytime existing face settings are present (Bug#8889).
20882 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20883 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20884 Remove unused argument.
20886 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20888 * window.el (display-buffer-default-specifiers):
20889 Remove pop-up-frame. Add pop-up-window-min-height,
20890 pop-up-window-min-width, and another reuse-window specifier
20891 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20892 (display-buffer-normalize-specifiers-2):
20893 Handle split-height-threshold and split-width-threshold also when
20894 pop-up-windows is unset. Add a reuse-window specifier for the
20895 case popping up a new window fails.
20896 (special-display-popup-frame): Remove double quoting.
20897 (display-buffer-normalize-specifiers-1): Fix thinko.
20899 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20901 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20902 according to comint-completion-addsuffix.
20904 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20905 (pcomplete-suffix-list): Mark as obsolete.
20906 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20907 pcomplete-seen in the closure.
20908 (pcomplete-comint-setup): Setup completion-at-point as well.
20909 (pcomplete--entries): New function.
20910 (pcomplete--env-regexp): New var.
20911 (pcomplete-entries): Rewrite to work with partial-completion and
20912 without relying on pcomplete-suffix-list.
20913 (pcomplete-pare-list): Remove, unused.
20915 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20917 * window.el (display-buffer-alist): Set pop-up-window-min-height
20918 and pop-up-window-min-width in default value. Reported by
20919 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20920 other-window-means-other-frame.
20921 (display-buffer-macro-specifiers): Comment out entry for
20922 other-window specifier.
20923 (display-buffer-other-window-means-other-frame): New function.
20924 (display-buffer-normalize-specifiers-1): New arguments
20925 buffer-name and label. Treat other-window case specially.
20926 (display-buffer-normalize-specifiers-2): Treat other-window case
20928 (display-buffer-normalize-specifiers-3): New function.
20929 (display-buffer-normalize-specifiers):
20930 Call display-buffer-normalize-specifiers-3.
20932 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20934 * window.el (same-window-p): Fix two typos introduced when
20935 adding with-no-warnings.
20936 (display-buffer-normalize-specifiers-1): Don't check
20937 pop-up-frames for 'unset initialization.
20938 (display-buffer-normalize-specifiers-2): Major rewrite using
20939 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20940 (pop-up-frames, display-buffer-reuse-frames)
20941 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20942 Suggested by David Engster <deng@randomsample.de>.
20943 (even-window-heights): Initialize to 'unset.
20944 (display-buffer-alist-set): Handle new 'unset initializations.
20945 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20948 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20950 * window.el (display-buffer-normalize-specifiers-1):
20951 Respect current value of pop-up-frames for most reasonable values of
20952 second argument of display-buffer (Bug#8865).
20953 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20954 (switch-to-buffer-other-window-same-frame)
20955 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20957 (display-buffer): Don't check noninteractive when calling
20958 display-buffer-pop-up-frame.
20959 (display-buffer-pop-up-frame): Never pop up a frame in
20960 noninteractive mode (Bug#8857).
20961 (enlarge-window, shrink-window): Don't report an error when the
20962 window can't be resized as requested (Bug#8862).
20964 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20966 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20968 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20970 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20972 2011-06-15 Alan Mackenzie <acm@muc.de>
20974 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20975 for declarators, disable knr checking to speed up for normal files.
20976 2: Refactor, replacing a sequence of nested if forms by a cond form.
20978 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20980 * net/network-stream.el (open-network-stream): Add the keyword
20981 :always-query-capabilities for the case where you want to force a
20982 `plain' network connection, but the protocol still requires the
20983 capabilitiy command (i.e., SMTP and EHLO).
20985 * subr.el (process-live-p): Rename from `process-alive-p' for
20986 consistency with other `-live-p' functions.
20988 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20990 * window.el (same-window-buffer-names, same-window-regexps)
20991 (special-display-frame-alist, special-display-popup-frame)
20992 (special-display-function, special-display-buffer-names)
20993 (special-display-regexps, pop-up-frame-alist)
20994 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20995 (pop-up-windows, split-window-preferred-function)
20996 (split-height-threshold, split-width-threshold, even-window-heights)
20997 (display-buffer-mark-dedicated): Don't encourage the use of
20998 display-buffer-alist from Elisp code.
21000 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21002 * progmodes/python.el (python-mode): Derive from prog-mode.
21003 * progmodes/ps-mode.el (ps-mode):
21004 * progmodes/mixal-mode.el (mixal-mode):
21005 * progmodes/cfengine.el (cfengine-mode):
21006 * progmodes/ld-script.el (ld-script-mode): Likewise.
21008 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21010 * window.el (display-buffer-alist): Trim default value to avoid
21011 popping up a new frame (Bug#8857) or reusing an arbitrary window
21013 (display-buffer): Do not fall back on popping up a new frame in
21014 batch mode (Bug#8857).
21016 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21018 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21019 (custom-theme-summary): New function.
21020 (customize-themes): Use it.
21022 2011-06-13 Glenn Morris <rgm@gnu.org>
21024 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21026 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21028 * help.el (help-window): Remove variable.
21029 (help-window-point-marker, temp-buffer-max-height)
21030 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21031 (help-print-return-message): Don't set help-window.
21032 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21033 (help-window-setup-finish): Remove.
21034 (help-window-display-message, help-window-setup)
21035 (with-help-window): Major rewrite based on new
21036 display-buffer-window variable.
21038 * help-mode.el (help-mode-finish): Remove help-window related
21041 * view.el (view-exits-all-viewing-windows): Remove reference to
21042 view-return-to-alist in doc-string.
21043 (view-return-to-alist): Make obsolete.
21044 (view-buffer): Call pop-to-buffer-same-window and remove
21046 (view-buffer-other-window): Call pop-to-buffer-other-window and
21047 simplify code. Ignore second argument.
21048 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21049 simplify code. Ignore second argument.
21050 (view-return-to-alist-update): Make obsolete.
21051 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21052 Rewrite using quit-restore window parameters.
21053 (view-mode-exit): Rename second argument to EXIT-ONLY.
21054 Rewrite using quit-restore-window.
21055 (View-exit, View-exit-and-edit, View-leave, View-quit)
21056 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21057 appropriate arguments.
21058 (view-end-message): Use quit-restore window parameter.
21060 * window.el (display-buffer-function): Rewrite doc-string.
21061 (display-buffer-window, display-buffer-alist): New variables.
21062 (display-buffer-split-specifiers)
21063 (display-buffer-side-specifiers)
21064 (display-buffer-macro-specifiers): New constants.
21065 (display-buffer-even-window-sizes, display-buffer-set-height)
21066 (display-buffer-set-width, display-buffer-select-window)
21067 (display-buffer-in-window, display-buffer-reuse-window)
21068 (display-buffer-split-window-1, display-buffer-split-window)
21069 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21070 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21071 (display-buffer-in-side-window, normalize-buffer-to-display)
21072 (display-buffer-normalize-specifiers-1)
21073 (display-buffer-normalize-specifiers-2)
21074 (display-buffer-normalize-specifiers, display-buffer-frame):
21076 (display-buffer): Major rewrite.
21077 (display-buffer-other-window, display-buffer-other-frame)
21078 (pop-to-buffer, switch-to-buffer-other-window)
21079 (switch-to-buffer-other-frame): Rewrite.
21080 (display-buffer-same-window, display-buffer-same-frame)
21081 (display-buffer-same-frame-other-window)
21082 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21083 (pop-to-buffer-other-window)
21084 (pop-to-buffer-same-frame-other-window)
21085 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21086 (switch-to-buffer-other-window-same-frame): New functions.
21087 (same-window-p, special-display-p): Rewrite disabling warnings.
21089 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21090 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21092 (same-window-buffer-names, same-window-regexps)
21093 (special-display-frame-alist, special-display-popup-frame)
21094 (special-display-function, special-display-buffer-names)
21095 (special-display-regexps, pop-up-frame-alist)
21096 (pop-up-frame-function, split-window-preferred-function)
21097 (split-height-threshold, split-width-threshold)
21098 (even-window-heights): Make obsolete.
21100 2011-06-12 Glenn Morris <rgm@gnu.org>
21102 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21103 Misc simplifications.
21105 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21107 * window.el (window-safely-shrinkable-p): Restore function which
21108 was inadvertently removed in change from 2011-06-11. Declare as
21111 * calendar/calendar.el (calendar-generate-window):
21112 Use window-iso-combined-p instead of combination of one-window-p and
21113 window-safely-shrinkable-p.
21115 2011-06-12 Glenn Morris <rgm@gnu.org>
21117 * progmodes/fortran.el (fortran-mode-syntax-table):
21118 * progmodes/f90.el (f90-mode-syntax-table):
21119 Set % to punctuation. (Bug#8820)
21120 (f90-find-tag-default): Remove, no longer needed.
21122 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21124 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21126 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21128 * image.el (image-animated-p): Return animation delay in seconds.
21129 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21130 (image-animate-timeout): Remove DELAY argument. Don't assume
21131 every subimage has the same delay; get it from image-animated-p.
21132 (image-animate): Caller changed.
21134 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21136 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21137 to ignored backtrace functions.
21139 2011-06-11 Glenn Morris <rgm@gnu.org>
21141 * calendar/appt.el (appt-disp-window-function): Doc fix.
21142 (appt-check): Handle overlapping appointments. (Bug#8337)
21144 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21146 * window.el (window-tree-1, window-tree): New functions, moving
21147 the latter to window.el.
21148 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21149 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21150 (bw-refresh-edges): Remove.
21151 (balance-windows-1, balance-windows-2): New functions.
21152 (balance-windows): Rewrite in terms of window tree functions,
21153 balance-windows-1 and balance-windows-2.
21154 (bw-adjust-window): Remove.
21155 (balance-windows-area-adjust): New function with functionality of
21156 bw-adjust-window but using resize-window.
21157 (set-window-text-height): Rewrite doc-string.
21158 Use normalize-live-window and resize-window.
21159 (enlarge-window-horizontally, shrink-window-horizontally):
21160 Rename argument to DELTA.
21161 (window-buffer-height): New function.
21162 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21163 Rewrite using new window resize routines.
21164 (kill-buffer-and-window, mouse-autoselect-window-select):
21165 Use ignore-errors instead of condition-case.
21166 (quit-window): Call delete-frame instead of delete-windows-on
21167 for the only buffer on frame.
21169 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21171 * loadup.el (top-level): Load window before files for the sake
21172 of replace-buffer-in-windows.
21174 * files.el (read-buffer-to-switch)
21175 (switch-to-buffer-other-window)
21176 (switch-to-buffer-other-frame, display-buffer-other-frame):
21179 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21180 (previous-buffer): Move to window.el.
21182 * bindings.el (unbury-buffer): Move to window.el.
21184 * window.el (delete-other-windows-vertically): Move after
21185 definition of delete-other-windows.
21186 (other-window, delete-windows-on, replace-buffer-in-windows):
21187 Move here from window.c.
21188 (record-window-buffer, unrecord-window-buffer)
21189 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21190 (switch-to-next-buffer): New functions.
21191 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21192 from simple.el. Call switch-to-next-buffer.
21193 (previous-buffer): Move here from simple.el.
21194 Call switch-to-prev-buffer.
21195 (bury-buffer): Move here from buffer.c. Switch to previous
21196 buffer when window cannot be deleted.
21197 (unbury-buffer): Move here from bindings.el.
21198 (ctl-x-map): Move binding for other-window from window.c to
21200 (read-buffer-to-switch, switch-to-buffer-other-window)
21201 (switch-to-buffer-other-frame): Move here from files.el.
21202 (normalize-buffer-to-switch-to): New functions.
21203 (switch-to-buffer): Move here from buffer.c.
21204 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21206 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21208 * window.el (window-min-height, window-min-width): Move here
21209 from window.c. Add defcustoms and rewrite doc-strings.
21210 (resize-mini-window, resize-window): New functions.
21211 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21212 Move here from window.c.
21213 (maximize-window, minimize-window): New functions.
21214 (delete-window, delete-other-windows, split-window): Move here
21216 (window-split-min-size): New function.
21217 (split-window-keep-point): Mention split-window-above-each-other
21218 instead of split-window-vertically.
21219 (split-window-above-each-other, split-window-vertically):
21220 Rename split-window-vertically to split-window-above-each-other
21221 and provide defalias for old definition.
21222 (split-window-side-by-side, split-window-horizontally):
21223 Rename split-window-horizontally to split-window-side-by-side
21224 and provide defalias for the old definition.
21225 (ctl-x-map): Move bindings for delete-window,
21226 delete-other-windows and enlarge-window here from window.c.
21227 Replace bindings for split-window-vertically and
21228 split-window-horizontally by bindings for
21229 split-window-above-each-other and split-window-side-by-side.
21231 * cus-start.el (all): Remove entries for window-min-height and
21232 window-min-width. Add entries for window-splits and
21235 2011-06-09 Glenn Morris <rgm@gnu.org>
21237 * calendar/appt.el (appt-mode-line): New function.
21238 (appt-check, appt-disp-window): Use it.
21240 * files.el (hack-one-local-variable-eval-safep):
21241 Allow minor-modes with explicit +/-1 arguments.
21243 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21245 * term/xterm.el (xterm): Add defgroup.
21246 (xterm-extra-capabilities): Add defcustom to supply known xterm
21247 capabilities, skip querying them, or query them (default).
21248 (terminal-init-xterm): Use it.
21249 (terminal-init-xterm-modify-other-keys): New function to set up
21250 modifyOtherKeys support to simplify `terminal-init-xterm'.
21252 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21254 * window.el (resize-window-reset, resize-window-reset-1)
21255 (resize-subwindows-skip-p, resize-subwindows-normal)
21256 (resize-subwindows, resize-other-windows, resize-this-window)
21257 (resize-root-window, resize-root-window-vertically)
21258 (window-deletable-p, window-or-subwindow-p)
21259 (frame-root-window-p): New functions.
21261 2011-06-09 Glenn Morris <rgm@gnu.org>
21263 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21264 (ange-ftp-get-files): Use it.
21266 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21268 * mail/sendmail.el (mail-recover-1, mail-recover):
21269 * files.el (recover-file, recover-session):
21270 Handle dired-listing-switches not being just a single short option.
21272 2011-06-09 Glenn Morris <rgm@gnu.org>
21274 * calendar/appt.el (appt-display-message, appt-disp-window):
21275 Handle lists of appointments.
21277 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21279 * window.el (one-window-p): Move down in code.
21280 Rewrite doc-string.
21281 (window-current-scroll-bars): Rewrite doc-string.
21282 Normalize live window argument.
21283 (walk-windows, get-window-with-predicate, count-windows):
21284 Rewrite doc-string. Use window-list-1.
21285 (window-in-direction-2, window-in-direction, get-mru-window):
21288 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21290 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21291 Doc fix (Bug#8713).
21293 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21295 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21297 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21299 * loadhist.el (unload-feature-special-hooks):
21300 Add `comint-output-filter-functions'.
21302 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21304 * calendar/appt.el (appt-check): Move some initializations into the let.
21306 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21308 * window.el (window-height): Defalias to window-total-height.
21309 (window-width): Defalias to window-body-width.
21311 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21313 * image-mode.el (image-toggle-animation): New command.
21314 (image-mode-map): Bind it to RET.
21315 (image-mode): Update message.
21316 (image-toggle-display-image): Avoid a spurious cache flush.
21317 (image-transform-rotation): Doc fix.
21318 (image-transform-properties): Return quickly in the normal case.
21319 (image-animate-loop): Rename from image-animate-max-time.
21321 * image.el (image-animate-max-time): Move to image-mode.el.
21322 (create-animated-image): Remove unnecessary function.
21323 (image-animate): Rename from image-animate-start. New arg.
21324 (image-animate-stop): Remove; just use image-animate-timer.
21325 (image-animate-timer): Use car-safe.
21326 (image-animate-timeout): Rename argument.
21328 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21330 * window.el (get-lru-window, get-largest-window): Move here from
21331 window.c. Rename first argument to ALL-FRAMES.
21332 Rephrase doc-strings.
21333 (get-buffer-window-list): Rewrite using window-list-1.
21334 Rephrase doc-string.
21335 (window-safe-min-height, window-safe-min-width): New constants.
21336 (window-size-ignore, window-min-size, window-min-size-1)
21337 (window-sizable, window-sizable-p, window-size-fixed-1)
21338 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21339 (window-max-delta-1, window-max-delta, window-resizable)
21340 (window-resizable-p, window-total-height, window-total-width)
21341 (window-body-width): New functions.
21342 (window-full-height-p, window-full-width-p): Rewrite using
21344 (window-body-height): Rewrite using window-body-size.
21346 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21348 * window.el (window-right, window-left, window-child)
21349 (window-child-count, window-last-child, window-any-p)
21350 (normalize-live-buffer, normalize-live-frame)
21351 (normalize-any-window, normalize-live-window)
21352 (window-iso-combination-p, window-iso-combined-p)
21353 (window-iso-combinations)
21354 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21355 (windows-with-parameter, window-with-parameter)
21356 (window-atom-root, make-window-atom, window-atom-check-1)
21357 (window-atom-check, window-side-check, window-check):
21359 (ignore-window-parameters, window-sides, window-sides-vertical)
21360 (window-sides-slots): New variables.
21361 (window-size-fixed): Move down in code. Minor doc-string fix.
21363 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21365 * comint.el (comint-dynamic-complete-as-filename)
21366 (comint-dynamic-complete-filename): Correctly call
21367 completion-in-region.
21369 2011-06-05 Deniz Dogan <deniz@dogan.se>
21371 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21374 2011-06-05 Deniz Dogan <deniz@dogan.se>
21376 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21377 (rcirc): Use it to prompt for encryption.
21379 2011-06-05 Roland Winkler <winkler@gnu.org>
21381 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21382 (bibtex-search-entries): New command bound to C-c C-a.
21383 (bibtex-display-entries): New function.
21385 2011-06-05 Roland Winkler <winkler@gnu.org>
21387 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21388 (bibtex-insert-kill): After yanking insert newline if necessary.
21389 (bibtex-initialize): Call bibtex-string-files-init only once.
21390 (bibtex-mode): Do not call easy-menu-add.
21391 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21392 (bibtex-yank): Set arg properly if nil.
21394 2011-06-05 Roland Winkler <winkler@gnu.org>
21396 * textmodes/bibtex.el (bibtex-search-entry-globally):
21398 (bibtex-search-entry): Use it.
21400 2011-06-05 Roland Winkler <winkler@gnu.org>
21402 * textmodes/bibtex.el (bibtex-entry-format): New option
21404 (bibtex-format-entry, bibtex-reformat): Honor this option.
21405 (bibtex-parse-entry): Return fields in proper order.
21407 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21409 * doc-view.el (doc-view-remove-if): Move computation of result out
21410 of `dolist' to silence misleading lexical-binding warning.
21412 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21414 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21415 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21417 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21419 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21422 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21424 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21425 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21426 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21427 (tramp-parse-putty):
21428 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21429 (tramp-completion-function-alist-ssh)
21430 (tramp-completion-function-alist-telnet)
21431 (tramp-completion-function-alist-su)
21432 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21435 * net/tramp-ftp.el:
21437 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21438 load "tramp.el" `tramp-set-completion-function'.
21440 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21442 * shell.el: Require and use pcomplete.
21443 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21444 (shell-completion-vars): Set pcomplete-default-completion-function.
21446 2011-06-04 Deniz Dogan <deniz@dogan.se>
21448 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21451 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21453 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21455 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21457 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21458 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21459 * vc/log-view.el (log-view-beginning-of-defun):
21460 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21461 (smerge-refine-forward, smerge-refine-chopup-region):
21462 Silence warning for unused `dotimes' counter variables.
21464 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21466 * net/tramp.el (tramp-with-progress-reporter): Rename from
21467 with-progress-reporter. Use `declare'.
21468 * net/tramp-smb.el:
21470 * net/tramp-gvfs.el: Update all uses.
21472 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21474 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21475 buffer isn't killed before making it current.
21477 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21479 Silence various byte-compiler warnings.
21480 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21481 `access-type' and new obsolescence format.
21482 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21484 (byte-compile-check-variable): New `access-type' argument.
21485 Only warn if the access-type is obsolete.
21486 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21487 (byte-compile-variable-set): Adjust callers.
21488 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21489 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21490 setting it as obsolete.
21491 * simple.el (minibuffer-completing-symbol):
21492 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21493 access as obsolete.
21494 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21496 * international/quail.el (quail-mouse-choose-completion): Remove unused
21497 code referring to obsolete var.
21498 (quail-choose-completion-string): Remove.
21499 * server.el (server-clients-with, server-kill-buffer-query-function)
21500 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21501 * proced.el (proced-send-signal):
21502 * emacs-lisp/lisp.el (lisp-complete-symbol):
21503 Replace completion-annotate-function with completion-extra-properties.
21505 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21507 * simple.el (goto-line): Use read-number.
21508 (overriding-map-is-bound): Remove.
21509 (saved-overriding-map): Change default.
21510 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21511 Take the map as argument.
21512 (universal-argument, negative-argument, digit-argument): Use it.
21513 (restore-overriding-map): Adjust.
21514 (do-auto-fill): Use fill-forward-paragraph.
21515 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21517 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21518 (minibuffer-inactive-mode): New major mode.
21519 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21520 the *Messages* buffer" hack.
21521 (mouse-popup-menubar): Don't burp if the event is a normal key.
21523 Miscellaneous tweaks.
21524 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21525 lexical scoping as in subr.el's dolist and dotimes.
21526 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21527 Silence compiler warning.
21528 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21529 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21530 * international/ccl.el (ccl-compile): Trivial simplification.
21531 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21532 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21533 `printflag' argument.
21534 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21535 Purecopy the whole obsolescence data.
21537 2011-06-01 Leo Liu <sdl.web@gmail.com>
21539 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21540 improve doc-string as suggested by Marco Pessotto
21541 <melmothx@gmail.com>.
21542 (rcirc-print): Fix last change.
21544 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21546 * minibuffer.el (complete-with-action): Return nil for the metadata and
21547 boundaries of non-functional tables.
21548 (completion-table-dynamic): Return nil for the metadata.
21549 (completion-table-with-terminator): Add default case, using
21550 complete-with-action.
21551 (completion--metadata): New function.
21552 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21553 to try and avoid pathological performance problems.
21554 (completion--embedded-envvar-table): Return `category' metadata.
21556 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21558 * subr.el (process-alive-p): New tiny convenience function.
21560 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21562 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21563 content but also its previous major mode.
21565 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21567 * emacs-lisp/debug.el (debug): Restore the previous content of the
21568 *Backtrace* buffer when we exit with C-M-c.
21570 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21572 * minibuffer.el: Add metadata method to completion tables.
21573 (completion-category-overrides): New defcustom.
21574 (completion-metadata, completion--field-metadata)
21575 (completion-metadata-get, completion--styles)
21576 (completion--cycle-threshold): New functions.
21577 (completion-try-completion, completion-all-completions):
21578 Add `metadata' argument to choose completion-styles.
21579 (completion--do-completion): Use metadata to choose cycling.
21580 (completion-all-sorted-completions): Use metadata for sorting.
21581 Remove :completion-cycle-penalty which is not needed any more.
21582 (completion--try-word-completion): Add `metadata' argument.
21583 (minibuffer-completion-help): Check metadata for annotation function
21585 (completion-file-name-table): Return `category' metadata.
21586 (minibuffer-completing-file-name): Make obsolete.
21587 * simple.el (minibuffer-completing-symbol): Make obsolete.
21588 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21589 completion-try-completion.
21591 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21593 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21595 2011-05-30 Leo Liu <sdl.web@gmail.com>
21597 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21598 (rcirc-print): Decode all incoming messages (bug#8744).
21599 (rcirc-decode-coding-system): Allow value nil for automatic coding
21602 2011-06-01 Glenn Morris <rgm@gnu.org>
21604 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21606 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21608 * image.el (image-animate-max-time): Allow nil and t values.
21610 (create-animated-image): Doc fix.
21611 (image-animate-start): Remove second arg; just use
21612 image-animate-max-time.
21613 (image-animate-timeout): Doc fix. Args changed.
21615 * image-mode.el (image-toggle-display-image): Ensure that the
21616 image spec passed to the animate timer is the same object as in
21617 the buffer's display property (Bug#6981).
21618 (image-transform-properties): Doc fix.
21620 * image.el (image-animate-max-time): Default to nil.
21622 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21624 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21625 entire buffer list (Bug#8184).
21627 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21629 * image.el (imagemagick-types-inhibit)
21630 (imagemagick-register-types): Doc fix.
21632 2011-05-29 Deniz Dogan <deniz@dogan.se>
21634 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21637 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21639 * select.el: Don't perform clipboard-manager saving in hooks;
21640 leave the hooks empty.
21642 2011-05-28 Leo Liu <sdl.web@gmail.com>
21644 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21645 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21646 (occur-edit-mode): New major mode (Bug#8463).
21647 (occur-after-change-function): New function.
21648 (occur-engine): Give Occur tags a read-only property.
21650 2011-05-28 Kevin Ryde <user42@zip.com.au>
21652 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21654 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21656 * bindings.el (help-echo): Make the initial non-indicator dash
21657 empty on graphical terminals (Bug#7295).
21659 * files.el (auto-mode-alist): Move config rule after the
21660 in-stripping one (Bug#8547).
21662 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21664 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21665 setting (Bug#8740).
21667 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21669 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21670 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21673 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21675 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21677 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21679 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21680 (hs-hide-block-at-point, hs-find-block-beginning)
21681 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21684 2011-05-28 Glenn Morris <rgm@gnu.org>
21686 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21688 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21690 * help-fns.el (describe-function-1): If the function is a derived
21691 major mode, print the parent mode.
21693 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21694 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21696 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21698 * minibuffer.el (completion--capf-wrapper): Check applicability before
21699 returning non-nil for non-exclusive completion data.
21700 * progmodes/etags.el (tags-completion-at-point-function):
21701 * info-look.el (info-lookup-completions-at-point): Mark as
21703 (info-complete): Adjust accordingly.
21705 * info-look.el: Convert to lexical-binding and completion-at-point.
21706 (info-lookup-completions-at-point): New function.
21707 (info-complete): Use it and completion-in-region.
21709 2011-05-28 Drew Adams <drew.adams@oracle.com>
21711 * isearch.el: Let M-e start with point at the first mismatched char.
21712 (isearch-fail-pos): New function.
21713 (isearch-edit-string): Use it.
21715 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21717 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21719 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21721 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21722 traversal functions for avl-trees.
21723 (avl-tree--stack): New struct.
21724 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21725 (avl-tree-enter): Add optional `updatefun' arg.
21726 (avl-tree--do-enter): Add optional `updatefun' arg.
21727 Change return value.
21728 (avl-tree-delete): Add optional `test' and `nilflag' args.
21729 (avl-tree--do-delete): Add `test' and `nilflag' args.
21730 Change return value.
21731 (avl-tree-member): Add optional `nilflag'
21732 (avl-tree-member-p): New function.
21733 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21734 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21735 (avl-tree-stack-empty-p): New functions.
21737 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21738 avl-tree--del-balance1 and make it work both ways.
21739 (avl-tree--del-balance2): Remove.
21740 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21741 make it work both ways.
21742 (avl-tree--enter-balance2): Remove.
21743 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21745 (avl-tree--mapc, avl-tree-map): Add direction argument.
21747 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21749 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21751 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21753 * select.el: Support clipboard managers with built-in function
21754 x-clipboard-manager-save, via delete-frame-functions and
21756 (xselect-convert-to-targets): Add MULTIPLE target to list.
21757 (xselect-convert-to-save-targets): New function.
21759 2011-05-27 Kenichi Handa <handa@m17n.org>
21761 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21762 let-binding rfc2047-encode-encoded-words to nil.
21764 2011-05-27 Glenn Morris <rgm@gnu.org>
21766 * mail/emacsbug.el: Don't require url-util.
21768 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21770 * files.el (set-auto-mode):
21771 Also respect mode: entries at the end of the file. (Bug#8586)
21773 2011-05-26 Glenn Morris <rgm@gnu.org>
21775 * files.el (hack-local-variables-prop-line, hack-local-variables):
21776 Downcase mode names, as seems to be traditional.
21777 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21779 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21780 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21782 2011-05-25 Julien Danjou <julien@danjou.info>
21784 * textmodes/rst.el (rst-define-level-faces): Do not define face
21785 symbol if it is already defined.
21787 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21789 * play/5x5.el (5x5-new-game, 5x5-randomize):
21790 Reset 5x5-solver-output to nil when a new grid is cast.
21791 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21792 these debugging traces, as defmacro breaks the compiled code.
21794 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21796 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21798 2011-05-24 Leo Liu <sdl.web@gmail.com>
21800 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21801 (vc-bzr-sha1): Adapt.
21803 * sha1.el: Remove. Function `sha1' is now builtin.
21805 * bindings.el: Provide sha1 feature.
21807 2011-05-24 Kenichi Handa <handa@m17n.org>
21809 * mail/sendmail.el: Require `rfc2047'.
21810 (mail-insert-from-field): Do not perform RFC2047 encoding.
21811 (mail-encode-header): New function.
21812 (sendmail-send-it): Set buffer-file-coding-system of the work
21813 buffer to the return value of select-message-coding-system.
21814 Call mail-encode-header.
21816 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21818 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21820 * mail/supercite.el (sc-default-cite-frame):
21821 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21823 2011-05-24 Glenn Morris <rgm@gnu.org>
21825 * progmodes/python.el (brm-menu): Declare.
21827 * emulation/viper.el (viper-set-hooks): Declare.
21829 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21830 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21831 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21832 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21833 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21834 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21836 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21838 Add an :exit-function for completion-at-point.
21840 * minibuffer.el (completion--done): New fun.
21841 (completion--do-completion): Use it. New arg `expect-exact'.
21842 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21843 since completion--do-completion does it for us now.
21844 (minibuffer-force-complete): Use completion--done and
21845 completion--replace. Handle sole-completion case with more care.
21846 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21847 (completion-extra-properties): New var.
21848 (completion-annotate-function): Make obsolete.
21849 (minibuffer-completion-help): Adjust accordingly.
21850 Use completion-list-insert-choice-function.
21851 (completion-at-point, completion-help-at-point):
21852 Bind completion-extra-properties.
21853 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21854 * simple.el (completion-list-insert-choice-function): New var.
21855 (completion-setup-function): Preserve it.
21856 (choose-completion): Pay attention to it, shuffle the code a bit.
21857 (choose-completion-string): New arg `insert-function'.
21859 * textmodes/bibtex.el: Convert to lexical binding.
21860 (bibtex-mode-map): Use completion-at-point.
21861 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21862 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21863 (bibtex-complete): Define as obsolete alias.
21864 (bibtex-complete-internal): Remove.
21865 (bibtex-format-entry): Remove unused sub-group in regexp.
21866 * shell.el (shell--command-completion-data)
21867 (shell-environment-variable-completion):
21868 * pcomplete.el (pcomplete-completions-at-point):
21869 * comint.el (comint--complete-file-name-data): Use :exit-function
21870 instead of completion-table-with-terminator so it also works for
21873 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21875 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21877 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21880 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21882 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21884 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21885 customization variable and implement: If non-nil, auto-fill will
21886 be inhibited while on topic's header line.
21888 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21890 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21891 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21892 always have a solution in grid size = 5 cases.
21893 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21894 (5x5-solver-output, 5x5-log-buffer): New vars.
21895 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21896 Make these variables buffer local to achieve 5x5 multi-session-ness.
21897 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21898 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21899 (5x5-solve-suggest): New funs.
21900 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21901 randomize a grid so that we ensure that there is always a solution.
21902 (5x5-make-random-grid): Allow other movement than flipping.
21904 2011-05-23 Kevin Ryde <user42@zip.com.au>
21906 * emacs-lisp/advice.el (ad-read-advised-function):
21907 Use `function-called-at-point' as the default, if it has
21908 advice and passes PREDICATE.
21910 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21912 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21913 byte-compile-lambda if it's actually a lambda.
21915 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21916 Fix function quoting. Use backquote better.
21918 2011-05-22 Yuanle Song <sylecn@gmail.com>
21920 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21921 matching (Bug#8516).
21923 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21925 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21926 different face (Bug#8178).
21928 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21930 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21931 defface (Bug#8144).
21933 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21935 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21936 funcall as well (bug#8712). Warn when performing those conversions.
21937 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21939 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21941 2011-05-22 Glenn Morris <rgm@gnu.org>
21943 * files.el (hack-local-variables-prop-line): Small simplifications.
21944 (hack-local-variables, hack-local-variables-prop-line):
21945 If MODE-ONLY, return the mode, rather than just `t'.
21947 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21949 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21951 2011-05-21 Glenn Morris <rgm@gnu.org>
21953 * files.el (hack-local-variables-prop-line, hack-local-variables):
21954 If only interested in the mode, don't bother doing the other stuff.
21956 * image-mode.el (image-after-revert-hook):
21957 Redraw all frames on which the image is visible. (Bug#8567)
21959 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21961 * wid-edit.el (widget-checklist-match-inline):
21962 Fix 2011-04-19 change. (Bug#8649)
21964 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21966 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21967 Also allow singlespace after single-letter capitals followed by a dot.
21969 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21970 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21972 2011-05-20 Nix <nix@esperi.org.uk>
21974 * files.el (basic-save-buffer-2):
21975 Fix handling of break-hardlink-on-save with non-existent files.
21977 2011-05-19 Deniz Dogan <deniz@dogan.se>
21979 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21980 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21982 2011-05-19 Glenn Morris <rgm@gnu.org>
21984 * progmodes/f90.el (f90-type-def-re):
21985 Handle "type, bind(c)". (Bug#8691)
21987 * emacs-lisp/autoload.el (batch-update-autoloads):
21988 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21990 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21992 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21993 property for the correct connection in case of multihops.
21995 2011-05-18 Glenn Morris <rgm@gnu.org>
21997 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21998 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22000 Rationalize calendar handling of day and month abbrev-arrays.
22001 * calendar/calendar.el (calendar-customized-p): New function.
22002 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22003 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22005 (calendar-abbrev-length, calendar-day-abbrev-array)
22006 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22007 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22008 Elements may no longer be nil.
22009 (calendar-day-name, calendar-month-name):
22010 Update for changed nature of abbrev arrays.
22011 * calendar/diary-lib.el (diary-name-pattern):
22012 Update for changed nature of abbrev arrays.
22013 (diary-mark-entries-1): Update calendar-make-alist calls.
22014 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22015 * calendar/cal-html.el (cal-html-day-abbrev-array):
22016 Simply inherit from calendar-day-abbrev-array.
22018 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22020 * progmodes/grep.el (grep-mode): Disable default
22021 compilation-directory-matcher setting (bug#8684).
22023 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22025 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22026 instead of "head" and "tail". There were problems with SunOS 5.9,
22027 and it performs better.
22029 2011-05-17 Glenn Morris <rgm@gnu.org>
22031 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22033 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22034 Replace obsolete function.
22036 * shell.el (pcomplete-parse-arguments-function): Declare.
22038 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22039 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22040 (appt-check): Doc fixes.
22041 (appt-disp-window-function, appt-delete-window-function):
22042 Remove needless special case in custom :type.
22043 (appt-display-count): Default to 0, not nil.
22044 (appt-check): Reset appt-display-count to 0, not nil.
22046 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22048 * progmodes/python.el (python-font-lock-keywords):
22049 Add the Python 3.X keyword "nonlocal" (bug#8639).
22051 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22053 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22055 2011-05-16 Kevin Ryde <user42@zip.com.au>
22057 * info-look.el (makefile-automake-mode): New setups, looking in
22058 automake manual, then makefile-mode.
22059 (makefile-mode): Remove automake manual, have it just in
22060 makefile-automake-mode since there's various things different or
22061 not relevant to plain make.
22062 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22063 believe a hypothetical automake-mode would go to makefile-mode,
22064 not the other way around.
22066 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22068 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22069 hunk-end tags (Bug#8672).
22071 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22072 vc-annotate-show-diff-revision-at-line (Bug#8671).
22074 2011-05-14 Glenn Morris <rgm@gnu.org>
22076 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22077 in the middle of an existing one with multiple authors. (Bug#8645)
22078 (change-log-font-lock-keywords): Also handle multiple author lines
22079 with leading tabs. (Bug#8644)
22081 * calendar/appt.el (appt-check): Rename some local variables.
22082 Some simplification/reordering.
22084 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22085 (feedmail-sendmail-f-doesnt-sell-me-out)
22086 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22087 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22088 (feedmail-queue-runner-message-sender): Set :version.
22089 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22090 (bbdb-dwim-net-address, vm-mail): Declare.
22091 (feedmail-binmail-gnulinuxish-template):
22092 Rename from feedmail-binmail-linuxish-template.
22093 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22094 Use insert-buffer-substring.
22096 2011-05-14 Bill Carpenter <bill@carpenter.org>
22098 * mail/feedmail.el (feedmail-patch-level): Increase.
22099 (feedmail-debug): New custom group.
22100 (feedmail-confirm-outgoing-timeout)
22101 (feedmail-sendmail-f-doesnt-sell-me-out)
22102 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22103 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22104 (feedmail-sender-line, feedmail-from-line)
22105 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22106 (feedmail-spray-this-address)
22107 (feedmail-spray-address-fiddle-plex-list)
22108 (feedmail-queue-use-send-time-for-date)
22109 (feedmail-queue-use-send-time-for-message-id)
22110 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22111 (feedmail-buffer-eating-function):
22113 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22114 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22115 (feedmail-message-action-scroll-down): New functions.
22116 (feedmail-queue-directory, feedmail-queue-draft-directory):
22117 Use expand-file-name.
22118 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22119 Remove C-v help entry.
22120 (feedmail-queue-buffer-file-name): New variable.
22121 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22122 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22123 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22124 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22125 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22126 (feedmail-message-action-toggle-spray)
22127 (feedmail-run-the-queue-no-prompts)
22128 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22129 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22130 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22131 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22132 (feedmail-envelope-deducer, feedmail-fiddle-from)
22133 (feedmail-fiddle-sender, feedmail-default-date-generator)
22134 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22135 (feedmail-fiddle-spray-address)
22136 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22137 (feedmail-fiddle-list-of-fiddle-plexes)
22138 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22139 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22140 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22141 Change default. Doc fix.
22142 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22143 (feedmail-binmail-linuxish-template): New constant.
22144 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22145 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22146 (feedmail-send-it): Add debug call.
22147 Use feedmail-queue-buffer-file-name, and
22148 feedmail-send-it-immediately-wrapper.
22149 (feedmail-message-action-send): Add debug call.
22150 Use feedmail-send-it-immediately-wrapper.
22151 (feedmail-queue-express-to-queue): Add debug call.
22152 Run feedmail-queue-express-hook.
22153 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22154 (feedmail-message-action-help-blat):
22155 Rename from feedmail-queue-send-edit-prompt-help-first.
22156 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22157 Check line-endings. Handle errors better.
22158 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22159 Doc fix. Add debug call.
22160 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22161 Use feedmail-queue-send-edit-prompt-inner.
22162 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22163 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22164 from feedmail-queue-send-edit-prompt.
22165 (feedmail-queue-send-edit-prompt-help)
22166 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22167 (feedmail-tidy-up-slug): Add debug call.
22168 Respect feedmail-queue-slug-suspect-regexp.
22169 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22170 (feedmail-dump-message-to-queue): Add debug call.
22171 Expand queue-directory.
22172 (feedmail-dump-message-to-queue): Change message slightly.
22173 Use feedmail-say-chatter.
22174 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22175 (feedmail-send-it-immediately-wrapper): New function.
22176 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22177 Insert empty string rather than newline. Handle full-frame case.
22178 Use catch/throw. Use feedmail-say-chatter.
22179 (feedmail-fiddle-from): Try mail-host-address.
22180 (feedmail-default-message-id-generator): Doc fix.
22181 Bind system-time-locale. Handle missing end.
22182 (feedmail-fiddle-x-mailer): Add debug call.
22183 Handle feedmail-x-mailer-line being nil.
22184 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22185 Add debug call. Use buffer-substring-no-properties.
22186 (feedmail-say-debug, feedmail-say-chatter): New functions.
22187 (feedmail-find-eoh): Give an explicit error.
22189 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22191 * net/newst-treeview.el (newsticker-treeview-face): Change default
22192 family from helvetica to sans.
22193 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22194 etc/images/newsticker.
22196 * net/newst-reader.el (newsticker-feed-face): Change default
22197 family from helvetica to sans.
22199 * net/newst-plainview.el (newsticker-new-item-face)
22200 (newsticker-old-item-face, newsticker-immortal-item-face)
22201 (newsticker-obsolete-item-face, newsticker-date-face)
22202 (newsticker-statistics-face): Change default family from
22204 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22205 etc/images/newsticker.
22207 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22208 (newsticker--process-auto-mark-filter-match): Tell user about
22211 2011-05-13 Didier Verna <didier@xemacs.org>
22213 Common Lisp indentation improvements on defmethod and lambda-lists.
22214 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22216 (lisp-lambda-list-keyword-parameter-indentation)
22217 (lisp-lambda-list-keyword-parameter-alignment)
22218 (lisp-lambda-list-keyword-alignment): New customizable user options.
22219 (lisp-indent-defun-method): Improve docstring.
22220 (extended-loop-p): Fix comment.
22221 (lisp-indent-lambda-list-keywords-regexp): New variable.
22222 (lisp-indent-lambda-list): New function.
22223 (lisp-indent-259): Use it.
22224 (lisp-indent-defmethod): Support for more than one
22225 method qualifier and properly indent methods lambda-lists.
22226 (defgeneric): Provide a missing common-lisp-indent-function property.
22228 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22230 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22231 bounds for the empty string (bug#8667).
22233 2011-05-13 Glenn Morris <rgm@gnu.org>
22235 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22237 * mail/sendmail.el (sendmail-program): Try executable-find first.
22238 (sendmail-send-it): `sendmail-program' cannot be unbound.
22240 * calendar/appt.el (appt-make-list): Simplify.
22241 (appt-time-msg-list): Doc fix.
22242 (appt-check): Change mode-line message at the time of the appointment.
22244 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22246 * progmodes/ld-script.el (ld-script-keywords)
22247 (ld-script-builtins): Update keywords list.
22249 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22251 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22253 * shell.el (shell-completion-vars): New function.
22255 * simple.el (read-shell-command): Use it.
22256 (blink-matching-open): No need for " [...]" in minibuffer-message.
22258 2011-05-12 Glenn Morris <rgm@gnu.org>
22260 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22261 (appt-check): Simplify.
22263 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22265 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22266 literal "/dev/null".
22268 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22270 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22273 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22275 * progmodes/which-func.el (which-function):
22276 Use add-log-current-defun instead of add-log-current-defun-function,
22277 which might not be defined (Bug#8260).
22279 2011-05-12 Glenn Morris <rgm@gnu.org>
22281 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22282 Let byte-compile-initial-macro-environment always take precedence.
22284 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22286 * net/rcirc.el: Add support for SSL/TLS connections.
22287 (rcirc-server-alist): New field `encryption'.
22288 (rcirc): Check `encryption' settings.
22289 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22290 Merge make-local-variable into `set'.
22291 (rcirc--connection-open-p): New function.
22292 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22293 the process is not a network process (e.g. running gnutls-cli).
22294 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22295 Make rcirc-(en|de)code-coding-system local here.
22296 (rcirc-mode): Merge make-local-variable into `set'.
22297 (rcirc-parent-buffer): Make permanent buffer-local.
22298 (rcirc-multiline-minor-mode): Don't do it here.
22299 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22300 there's no server buffer.
22302 2011-05-11 Glenn Morris <rgm@gnu.org>
22304 * newcomment.el (comment-kill): Prefix "unused" local.
22306 * term/w32console.el (get-screen-color): Declare.
22308 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22309 Handle symbol elements of byte-compile-initial-macro-environment.
22311 2011-05-10 Leo Liu <sdl.web@gmail.com>
22313 * bookmark.el (bookmark-bmenu-mode-map):
22314 Bind bookmark-bmenu-search to `/'.
22316 * mail/footnote.el: Convert to utf-8 encoding.
22317 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22318 (Footnote-unicode): New function.
22319 (footnote-style-alist): Add unicode style to the list.
22320 (footnote-style): Doc fix.
22322 2011-05-10 Jim Meyering <meyering@redhat.com>
22324 Fix doubled-word typos.
22325 * international/quail.el (quail-insert-kbd-layout): and and -> and
22326 * kermit.el: and and -> and
22327 * net/ldap.el (ldap-search-internal): to to -> to
22328 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22329 * progmodes/js.el (js-mode): and and -> and
22330 * textmodes/artist.el (artist-move-to-xy): at at -> at
22331 (artist-draw-region-trim-line-endings): if if -> if
22332 And Safetyc -> Safety.
22333 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22335 2011-05-10 Glenn Morris <rgm@gnu.org>
22336 Stefan Monnier <monnier@iro.umontreal.ca>
22338 * files.el (hack-one-local-variable-eval-safep):
22339 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22341 2011-05-10 Glenn Morris <rgm@gnu.org>
22343 * calendar/diary-lib.el (diary-list-entries-hook)
22344 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22345 (diary-nongregorian-marking-hook, diary-list-entries)
22346 (diary-include-other-diary-files, diary-mark-entries)
22347 (diary-mark-included-diary-files): Doc fixes.
22349 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22351 * misc.el: Require tabulated-list.el during compilation.
22353 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22355 * progmodes/compile.el (compilation-start):
22356 Run compilation-filter-hook for the async case too.
22357 (compilation-filter-hook): Doc fix.
22359 2011-05-09 Deniz Dogan <deniz@dogan.se>
22361 * wdired.el: Remove outdated installation comment. Fix usage
22364 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22366 * misc.el: Implement new command `list-dynamic-libraries'.
22367 (list-dynamic-libraries--loaded-only-p): New variable.
22368 (list-dynamic-libraries--refresh): New function.
22369 (list-dynamic-libraries): New command.
22371 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22373 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22374 Fix the ant regexp to handle end-line and end-column info from jikes.
22375 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22376 higher priority to avoid clobbering by gnu.
22378 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22380 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22381 if the face has existing theme settings (Bug#8454).
22383 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22385 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22386 Only match variables declared via `my' or `our' (Bug#8261).
22388 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22389 special file names `.' and `..' (Bug#8259).
22391 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22393 * progmodes/grep.el (grep-mode-font-lock-keywords):
22394 Remove buffer-changing entries.
22395 (grep-filter): New function.
22396 (grep-mode): Add it to compilation-filter-hook.
22398 * progmodes/compile.el (compilation-filter-hook)
22399 (compilation-filter-start): New defvars.
22400 (compilation-filter): Call compilation-filter-hook prior to
22401 updating the process mark.
22403 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22405 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22407 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22409 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22410 mailclient-send-it even if window-system is nil. (Bug#8595)
22412 * term/w32console.el (terminal-init-w32console):
22413 Call get-screen-color and use its output to set the frame
22414 background-mode. (Bug#8597)
22416 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22418 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22419 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22421 (defgeneric, eieio--defmethod): Use them.
22422 (eieio-defgeneric): Remove.
22423 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22425 2011-05-07 Glenn Morris <rgm@gnu.org>
22427 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22428 Use let rather than let*.
22429 (timeclock-find-discrep): Remove unused local.
22431 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22433 * calendar/appt.el (appt-time-msg-list): Doc fix.
22435 2011-05-06 Noah Friedman <friedman@splode.com>
22437 * apropos.el (apropos-print-doc): Only use
22438 emacs-lisp-docstring-fill-column when it is bound to an integer,
22439 per that variable's documentation.
22441 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22443 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22444 and warnings are not silently discarded (e.g. use -d instead of -P).
22446 2011-05-06 Glenn Morris <rgm@gnu.org>
22448 * calendar/appt.el (appt-message-warning-time): Doc fix.
22449 (appt-warning-time-regexp): New option.
22450 (appt-make-list): Respect appt-message-warning-time.
22452 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22454 (diary-add-to-list): Strip comments from the displayed string.
22455 (diary-mode): Set comment-start and comment-end.
22457 * vc/diff-mode.el (smerge-refine-subst): Declare.
22458 (diff-refine-hunk): Don't require smerge-mode when compiling.
22460 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22462 * simple.el (list-processes): Return nil as the docstring says.
22464 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22466 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22468 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22469 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22470 determining of binary transfer. (Bug#7383)
22472 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22474 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22475 Fix port computation bug. (Bug#8618)
22477 2011-05-05 Glenn Morris <rgm@gnu.org>
22479 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22481 * simple.el (shell-dynamic-complete-functions)
22482 (comint-dynamic-complete-functions): Declare.
22484 * net/network-stream.el (gnutls-negotiate):
22485 * simple.el (tabulated-list-print): Fix declarations.
22487 * progmodes/gud.el (syntax-symbol, syntax-point):
22488 Remove unnecessary and incorrect declarations.
22490 * emacs-lisp/check-declare.el (check-declare-scan):
22491 Handle byte-compile-initial-macro-environment in bytecomp.el.
22493 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22495 Fix earlier half-done eieio-defmethod change (bug#8338).
22496 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22497 Streamline and change calling convention.
22498 (defmethod): Adjust accordingly and simplify.
22499 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22500 new eieio--defmethod.
22501 (slot-boundp): Minor CSE simplification.
22503 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22505 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22506 (glasses-make-readable): Use glasses-separate-capital-groups.
22508 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22510 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22511 (warning-series): Doc fix.
22512 (display-warning): Don't try to create the buffer if we just found it.
22514 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22516 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22517 (autoload-find-generated-file): New function.
22518 (generate-file-autoloads): Bind generated-autoload-file to
22520 (update-file-autoloads, update-directory-autoloads):
22521 Use autoload-find-generated-file. If called interactively, prompt for
22522 output file (Bug#7989).
22523 (batch-update-autoloads): Doc fix.
22525 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22527 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22529 2011-05-04 Glenn Morris <rgm@gnu.org>
22531 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22532 function, so it follows changes in calendar-date-style.
22533 (diary-fancy-date-matcher): New function.
22534 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22535 (diary-fancy-font-lock-fontify-region-function):
22536 Use diary-fancy-date-pattern as a function.
22538 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22539 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22541 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22543 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22544 instead of positional arguments. Allow :keylist and :crlfiles
22546 (open-gnutls-stream): Call it.
22548 * net/network-stream.el (network-stream-open-starttls): Adjust to
22549 call `gnutls-negotiate' with :process and :hostname arguments.
22551 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22553 * minibuffer.el (completion--message): New function.
22554 (completion--do-completion, minibuffer-complete)
22555 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22556 (completion--do-completion): Don't ignore completion-auto-help when in
22559 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22560 internal encoding (e.g. tibetan zero is not whitespace).
22561 (global-whitespace-mode): Prefer save-current-buffer.
22562 (whitespace-trailing-regexp): Remove useless save-match-data.
22563 (whitespace-empty-at-bob-regexp): Minor simplification.
22565 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22567 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22569 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22571 * textmodes/ispell.el (ispell-add-per-file-word-list):
22572 Use `concat' to create string for insertion.
22574 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22576 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22577 Avoid open-line which runs post-self-insert-hook.
22578 (bibtex-fill-entry): Remove unused `end' var.
22580 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22582 * textmodes/ispell.el (ispell-add-per-file-word-list):
22583 Protect against `nil' value of `comment-start' (Bug#8579).
22585 2011-05-03 Leo Liu <sdl.web@gmail.com>
22587 * isearch.el (isearch-yank-pop): New command.
22588 (isearch-mode-map): Bind it to `M-y'.
22589 (isearch-forward): Mention it.
22591 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22593 * simple.el (minibuffer-complete-shell-command): Remove.
22594 (minibuffer-local-shell-command-map): Use completion-at-point.
22595 (read-shell-command): Setup completion vars here instead.
22596 (read-expression-map): Bind TAB to symbol completion.
22598 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22599 error directly rather via storing it into `results'.
22601 2011-05-02 Leo Liu <sdl.web@gmail.com>
22603 * vc/diff.el: Fix description.
22605 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22607 * server.el (server-eval-at): New function.
22609 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22611 * net/network-stream.el (open-network-stream): Take a :nowait
22612 parameter and pass it on to `make-network-process'.
22613 (network-stream-open-plain): Ditto.
22615 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22617 * faces.el (face-spec-set-match-display): Don't match toolkit
22618 options on terminal frames.
22620 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22622 * progmodes/pascal.el: Use lexical binding.
22623 (pascal-mode-map): Remove author preferences.
22625 * pcomplete.el (pcomplete-std-complete): Don't abuse
22626 completion-at-point.
22628 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22630 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22631 removing code that has been dead since 1991 or so.
22633 * startup.el (command-line): When warning about "_emacs", use a
22634 delayed warning to allow the user to filter it out.
22636 2011-04-28 Deniz Dogan <deniz@dogan.se>
22638 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22639 user has not joined.
22641 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22643 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22644 aren't any completions at point.
22646 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22648 * subr.el (display-delayed-warnings): New function.
22649 (delayed-warnings-hook): New variable.
22651 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22653 * minibuffer.el (completion-at-point, completion-help-at-point):
22654 Don't presume that a given completion-at-point-function will always
22655 use the same calling convention.
22657 * pcomplete.el (pcomplete-completions-at-point):
22658 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22659 pcomplete-seen is non-nil.
22660 (pcomplete-comint-setup): Also recognize the new comint/shell
22661 completion functions.
22662 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22663 pcomplete-seen is non-nil.
22665 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22667 * calendar/icalendar.el (diary-lib): Add require statement.
22668 (icalendar--create-uid): Read out a uid from a text-property on
22669 the first character in the entry. This allows for code to add its
22670 own uid to the entry.
22671 (icalendar--convert-float-to-ical): Add export of
22672 `diary-float'-entries save for those with the optional DAY
22675 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22677 * subr.el (shell-quote-argument): Use alternate escaping strategy
22678 when we spot a variable reference in a string.
22680 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22682 * cus-start.el (all): Define customization for debug-on-event.
22684 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22686 * subr.el (shell-quote-argument): Escape correctly under Windows.
22688 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22690 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22692 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22694 * net/tramp.el (tramp-process-actions): Add POS argument.
22695 Delete region between POS and (pos).
22697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22698 Use `nil' position in `tramp-process-actions' call.
22699 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22701 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22702 position in `tramp-process-actions' call.
22704 * net/trampver.el: Update release number.
22706 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22708 * custom.el (defcustom): Obey lexical-binding.
22710 Fix octave-inf completion problems reported by Alexander Klimov.
22711 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22712 Inherit from octave-mode-syntax-table.
22713 (inferior-octave-mode): Set info-lookup-mode.
22714 (inferior-octave-completion-at-point): New function.
22715 (inferior-octave-complete): Use it and completion-in-region.
22716 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22717 comint-filename-completion.
22718 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22719 symbol elements which shouldn't be word elements.
22720 (octave-font-lock-keywords, octave-beginning-of-defun)
22721 (octave-function-header-regexp): Adjust regexps accordingly.
22722 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22724 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22726 * net/gnutls.el (gnutls-errorp): Declare before first use.
22728 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22730 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22731 verify-error, and verify-hostname-error parameters. Check whether
22732 default trustfile exists before going to use it. Add missing
22733 argument to gnutls-message-maybe call. Return value.
22734 Reported by Claudio Bley <claudio.bley@gmail.com>.
22735 (open-gnutls-stream): Add usage example.
22737 * net/network-stream.el (network-stream-open-starttls): Give host
22738 parameter to `gnutls-negotiate'.
22739 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22740 * subr.el (shell-quote-argument): Escape correctly under Windows.
22742 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22744 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22745 Use correct match group (bug#8438).
22747 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22749 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22750 (package-menu--generate): New arg specifying packages to show.
22751 (package-menu-refresh, package-menu-execute, list-packages):
22753 (package-show-package-list): New function, replacing deleted
22754 package--list-packages (renamed because it is non-internal).
22756 * finder.el (finder-list-matches): Use package-show-package-list
22757 instead of deleted package--list-packages.
22759 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22760 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22761 (vc-annotate-mode-map): Bind it to RET.
22763 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22765 * progmodes/etags.el (next-file): Don't use set-buffer to change
22766 buffers (Bug#8478).
22768 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22770 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22772 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22773 (apropos-accumulator): Doc fix.
22774 (apropos-function, apropos-macro, apropos-command)
22775 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22776 (apropos-plist): Add face property.
22777 (apropos-symbols-internal): Fix indentation.
22778 (apropos-print): Simplify help, and recognize apropos-multi-type.
22779 (apropos-print-doc): Use button-type-get to extract the button's
22780 face property. Fill docstring (Bug#8352).
22782 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22784 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22786 * play/mpuz.el (mpuz-silent): Doc fix.
22787 (mpuz-mode-map): Use mapc.
22788 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22789 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22790 Fix typos in docstrings.
22792 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22793 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22795 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22797 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22799 * minibuffer.el (completion--do-completion): Avoid the "Next char
22800 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22802 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22803 mouse-2 into unread-command-events, it is interpreted correctly.
22805 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22806 (image-toggle-display): Doc fix.
22808 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22810 * textmodes/page.el (what-page): Use line-number-at-pos to
22811 calculate line number (Bug#6825).
22813 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22815 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22816 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22817 Pass argument NO-DEFAULT to `find-tag-interactive'.
22819 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22821 Lexical-binding cleanup.
22823 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22824 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22825 * progmodes/ada-prj.el (ada-prj-initialize-values)
22826 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22827 (ada-prj-show-value):
22828 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22829 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22830 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22831 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22832 * progmodes/bug-reference.el (bug-reference-push-button):
22833 * progmodes/fortran.el (fortran-line-length):
22834 * progmodes/glasses.el (glasses-change):
22835 * progmodes/octave-mod.el (octave-fill-paragraph):
22836 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22837 (python-pdbtrack-grub-for-buffer, python-sentinel):
22838 * progmodes/sql.el (sql-save-connection):
22839 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22840 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22841 Mark unused parameters.
22843 * progmodes/compile.el (compilation--flush-directory-cache)
22844 (compilation--flush-parse, compile-internal): Mark unused parameters.
22845 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22846 (compilation-next-error-function): Remove unused variable `timestamp'.
22848 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22849 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22851 * progmodes/dcl-mode.el (dcl-end-of-command):
22852 Remove unused variable `start'.
22853 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22854 (dcl-option-value-basic, dcl-option-value-offset)
22855 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22856 Mark unused parameters.
22857 (dcl-save-local-variable): Remove unused variable `val'.
22860 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22861 Mark unused parameters.
22862 (delphi-ignore-changes): Move before first use.
22863 (delphi-charset-token-at): Remove unused variable `start'.
22864 (delphi-else-start): Remove unused variable `if-count'.
22865 (delphi-comment-block-start, delphi-comment-block-end):
22866 Remove unused variable `kind'.
22867 (delphi-indent-line): Remove unused variable `new-point'.
22869 * progmodes/ebrowse.el (ebrowse-files-list)
22870 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22871 Mark unused parameters. Don't quote `lambda'.
22872 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22873 Don't quote `lambda'.
22874 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22875 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22876 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22877 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22878 Use `ignore-errors'.
22879 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22880 (ebrowse-view/find-file-and-search-pattern)
22881 (ebrowse-view/find-member-declaration/definition):
22882 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22883 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22884 Rename parameter PREFIX-ARG to PREFIX.
22885 (ebrowse-tags-read-name): Remove unused variables `start' and
22887 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22890 * progmodes/etags.el (local-find-tag-hook): Declare.
22891 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22892 Mark unused parameters.
22894 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22895 (executable-interpret): Mark unused parameter.
22897 * progmodes/flymake.el (flymake-process-sentinel)
22898 (flymake-after-change-function)
22899 (flymake-create-temp-with-folder-structure)
22900 (flymake-get-include-dirs-dot): Mark unused parameters.
22901 (flymake-safe-delete-directory): Remove unused variable `err'.
22903 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22904 (speedbar-timer-fn, speedbar-line-text)
22905 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22906 (speedbar-center-buffer-smartly): Declare functions.
22907 (gdb-find-watch-expression): Remove unused variable `array'.
22908 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22909 (gdb-starting): Mark unused parameters.
22910 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22911 (gdb-table-string): Remove unused variable `res'.
22912 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22913 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22914 (gdb-display-buffer): Remove unused variable `cur-size'.
22916 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22917 allow lexical-binding compilation.
22918 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22919 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22920 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22921 Mark unused parameters.
22922 (gud-gdb-marker-filter): Remove unused variable `match'.
22923 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22924 lambda expressions and funcall them, instead of using `fset'.
22926 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22927 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22929 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22930 variable `header-beg'; use `let'.
22932 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22933 `restart', `last-sexp' and `at-do'.
22935 * progmodes/js.el (js--debug): Mark unused parameter.
22936 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22937 (js--splice-into-items): Remove unused variable `item'.
22938 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22940 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22941 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22942 (makefile-complete): Remove unused variable `try'.
22943 (makefile-fill-paragraph, makefile-match-function-end):
22944 Mark unused parameters.
22946 * progmodes/octave-inf.el (inferior-octave-complete):
22947 Remove unused variable `proc'.
22948 (inferior-octave-output-digest): Mark unused parameter.
22950 * progmodes/perl-mode.el (perl-calculate-indent):
22951 Remove unused variable `err'.
22953 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22954 (prolog-indent-line): Mark unused parameters.
22955 (prolog-indent-line): Remove unused variable `beg'.
22957 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22958 (reporter-dont-compact-list): Declare.
22960 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22961 Remove unused variable `char'.
22962 (sh-debug): Mark unused parameter.
22963 (sh-get-indent-info): Remove unused variable `start'.
22964 (sh-calculate-indent): Remove unused variable `var'.
22966 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22967 (simula-electric-keyword): Remove unused variable `null'.
22968 (simula-search-backward, simula-search-forward): Remove unused
22969 variables `begin' and `end'.
22971 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22972 Remove unused variable `pos'.
22973 (vera-electric-tab, vera-comment-uncomment-region):
22974 Mark unused parameters.
22975 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22977 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22979 * emacs-lisp/package.el (package--builtins, package-alist)
22980 (package-load-descriptor, package-built-in-p, package-activate)
22981 (define-package, package-installed-p)
22982 (package-compute-transaction, package-buffer-info)
22983 (package--push): Doc fix. Distinguish more clearly between
22984 version strings and version lists.
22986 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22988 Lexical-binding cleanup.
22990 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22991 (5x5-make-mutate-best):
22992 * play/fortune.el (fortune-in-buffer):
22993 * play/gomoku.el (gomoku-init-display):
22994 * play/solitaire.el (solitaire, solitaire-do-check):
22995 * play/tetris.el (tetris-default-update-speed-function):
22996 Mark unused parameters.
22998 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22999 (bubbles--shift): Remove unused variable `char-org'.
23000 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23001 (bubbles--show-images): Remove unused variable `char'.
23003 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23004 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23005 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23006 (decipher-analyze-buffer): Use ?\s.
23007 (decipher-make-checkpoint): Remove unused variable `mapping'.
23009 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23011 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23012 Remove unused variable `result'; use `let'.
23014 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23015 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23016 (gametree-children-shown-p, gametree-compute-reduced-score):
23017 Use `ignore-errors'.
23019 * play/handwrite.el (ps-lpr-switches): Declare.
23020 (handwrite): Remove unused variables `pmin' and `lastp'.
23022 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23024 * play/landmark.el (landmark-init-display)
23025 (landmark-update-naught-weights): Mark unused parameters.
23026 (landmark-y): Remove unused variable `noise'. Simplify.
23027 (landmark-human-plays): Remove unused variable `score'.
23029 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23030 (mpuz-try-proposal): Remove unused variable `game'.
23032 * play/zone.el (life-patterns): Declare.
23034 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23036 * vc/vc.el (ediff-vc-internal): Declare function.
23038 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23040 * shell.el: Use lexical-binding and std completion UI.
23041 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23042 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23043 comint-preoutput-filter-functions rather than on
23044 comint-output-filter-functions.
23045 (shell-command-completion, shell--command-completion-data)
23046 (shell-filename-completion, shell-environment-variable-completion)
23047 (shell-c-a-p-replace-by-expanded-directory): New functions.
23048 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23049 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23050 (shell-dynamic-complete-environment-variable): Use them.
23051 (shell-dynamic-complete-as-environment-variable)
23052 (shell-dynamic-complete-as-command): Remove.
23053 (shell-match-partial-variable): Match past point.
23054 * comint.el: Clean up use of completion-at-point-functions.
23055 (comint-completion-at-point): New function.
23056 (comint-mode): Use it completion-at-point-functions.
23057 (comint-dynamic-complete): Make it obsolete.
23058 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23059 (comint-c-a-p-replace-by-expanded-history): New function.
23060 (comint-dynamic-complete-functions)
23061 (comint-replace-by-expanded-history): Use it.
23062 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23063 termination strings. Try harder to avoid second try-completion.
23064 (completion-in-region-mode-map): Disable bindings that don't work yet.
23066 * comint.el: Use lexical-binding. Require CL.
23067 (comint-dynamic-complete-functions): Use comint-filename-completion.
23068 (comint-completion-addsuffix): Tweak custom type.
23069 (comint-filename-completion, comint--common-suffix)
23070 (comint--common-quoted-suffix, comint--table-subvert)
23071 (comint--complete-file-name-data): New functions.
23072 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23073 (comint-dynamic-list-filename-completions): Use them.
23074 (comint-dynamic-simple-complete): Make obsolete.
23076 * minibuffer.el (completion-in-region-mode):
23077 Keep completion-in-region-mode--predicate global.
23078 (completion-in-region--postch):
23079 Assume completion-in-region-mode--predicate is not null.
23081 * progmodes/flymake.el (flymake-start-syntax-check-process):
23082 Obey `dir'. Simplify.
23084 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23085 we're in VC after all.
23087 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23089 * vc/vc.el (vc-diff-build-argument-list-internal)
23090 (vc-version-ediff, vc-ediff): New commands.
23091 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23093 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23095 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23098 * obsolete/erc-hecomplete.el: Make obsolete.
23099 * obsolete/: Standardize obsolescence info in the header.
23101 2011-04-20 Glenn Morris <rgm@gnu.org>
23103 * calendar/solar.el (solar-horizontal-coordinates):
23104 Use the longitude argument rather than `calendar-longitude'.
23105 (solar-date-next-longitude): Remove unused locals.
23107 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23109 * whitespace.el: New version 13.2.1.
23111 2011-04-20 felix <EmacsWiki> (tiny change)
23113 * whitespace.el (global-whitespace-mode): Keep highlight when
23114 switching between major modes on a file.
23116 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23118 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23119 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23120 multi-line comments as well.
23122 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23124 Lexical-binding cleanup.
23126 * arc-mode.el (archive-mode-revert):
23127 * cmuscheme.el (scheme-interactively-start-process):
23128 * custom.el (custom-initialize-delay):
23129 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23130 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23131 * emacs-lock.el (emacs-lock-clear-sentinel):
23132 * ezimage.el (defezimage):
23133 * follow.el (follow-avoid-tail-recenter):
23134 * fringe.el (set-fringe-mode-1):
23135 * generic-x.el (bat-generic-mode-compile):
23136 * help-mode.el (help-info-variable, help-do-xref)
23137 (help-mode-revert-buffer):
23138 * help.el (view-emacs-todo):
23139 * iswitchb.el (iswitchb-completion-help):
23140 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23141 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23142 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23143 * locate.el (locate-update):
23144 * longlines.el (longlines-encode-region)
23145 (longlines-after-change-function):
23146 * outline.el (outline-isearch-open-invisible):
23147 * ps-def.el (declare-function, charset-dimension, char-width)
23149 * ps-mule.el (ps-mule-plot-string):
23150 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23151 (recentf-edit-list-select, recentf-edit-list-validate)
23152 (recentf-open-files-action):
23153 * rect.el (delete-whitespace-rectangle-line)
23154 (rectangle-number-line-callback):
23155 * register.el (window-configuration-to-register)
23156 (frame-configuration-to-register):
23157 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23158 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23159 (xselect-convert-to-targets, xselect-convert-to-delete)
23160 (xselect-convert-to-filename, xselect-convert-to-charpos)
23161 (xselect-convert-to-lineno, xselect-convert-to-colno)
23162 (xselect-convert-to-os, xselect-convert-to-host)
23163 (xselect-convert-to-user, xselect-convert-to-class)
23164 (xselect-convert-to-name, xselect-convert-to-integer)
23165 (xselect-convert-to-atom, xselect-convert-to-identity):
23166 * subr.el (declare, ignore, process-kill-without-query)
23167 (text-clone-maintain):
23168 * terminal.el (te-get-char, te-tic-sentinel):
23169 * tool-bar.el (tool-bar-make-keymap):
23170 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23171 * type-break.el (type-break-mode, type-break-noninteractive-query):
23172 * view.el (View-back-to-mark):
23173 * wid-browse.el (widget-browse-action, widget-browse-widget)
23174 (widget-browse-widgets, widget-browse-sexp):
23175 * widget.el (define-widget-keywords):
23176 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23177 Mark unused parameters.
23179 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23180 (align-areas): Remove unused variable `look'.
23181 (align-region): Remove unused variables `real-end' and `pos-list'.
23183 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23185 * bindings.el (mode-line-modified, mode-line-remote):
23186 Mark unused parameters.
23187 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23189 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23190 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23192 * comint.el (comint-history-isearch-pop-state)
23193 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23194 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23195 (comint-substitute-in-file-name): Doc fix.
23197 * completion.el (cmpl-statistics-block): Mark unused parameter.
23198 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23199 (save-completions-to-file, load-completions-from-file):
23200 Remove unused local variable `e'.
23202 * composite.el (compose-chars): Remove unused variable `len'.
23203 (lgstring-insert-glyph): Remove unused variable `g'.
23204 (compose-glyph-string): Remove unused variables `ascent',
23205 `descent', `lbearing' and `rbearing'.
23206 (compose-glyph-string-relative): Remove unused variables
23207 `lbearing', `rbearing' and `wadjust'.
23208 (compose-gstring-for-graphic): Remove unused variables `header',
23209 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23210 (compose-gstring-for-terminal): Remove unused variables `header'
23211 and `nchars'. Use `let', not `let*'.
23213 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23214 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23215 (Custom-buffer-done, custom-buffer-create-internal)
23216 (custom-browse-visibility-action, custom-browse-group-tag-action)
23217 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23218 (widget-magic-mouse-down-action, custom-toggle-parent)
23219 (custom-add-parent-links, custom-toggle-hide-variable)
23220 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23221 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23222 (custom-face-menu-create, custom-variable-menu-create, get)
23223 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23224 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23225 (customize-apropos): Remove unused variable `tests'.
23226 (custom-group-value-create): Remove unused variable `hidden-p'.
23227 (sort-fold-case): Declare.
23229 * cus-theme.el (custom-reset-standard-faces-list)
23230 (custom-reset-standard-variables-list): Declare.
23231 (customize-create-theme, custom-theme-revert, custom-theme-write)
23232 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23233 Mark unused parameters.
23235 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23237 * delim-col.el (delimit-columns-max): Move defvar before first use.
23239 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23240 (describe-char): Don't quote `lambda'. Mark unused parameter.
23242 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23243 (auto-insert): Declare.
23244 (desktop-restore-file-buffer): Rename desktop-* parameters;
23246 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23247 (desktop-buffer): Rename desktop-* parameters.
23249 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23250 (dframe-reposition-frame-xemacs, dframe-help-echo)
23251 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23252 Mark unused parameters.
23254 * dired-aux.el (backup-extract-version-start, overwrite-query)
23255 (overwrite-backup-query, rename-regexp-query)
23256 (rename-non-directory-query): Declare.
23257 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23258 (dired-add-entry): Remove unused variable `orig-file-name'.
23259 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23260 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23261 `dired-copy-preserve-time' directly.
23262 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23263 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23265 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23266 (dired-virtual-revert, dired-make-relative-symlink):
23267 Mark unused parameters.
23268 (manual-program): Declare.
23269 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23270 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23271 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23273 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23275 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23277 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23280 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23282 * electric.el (Electric-command-loop): Rename parameter
23283 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23285 * expand.el (expand-in-literal): Remove unused variable `here'.
23287 * facemenu.el (facemenu-add-new-color):
23288 Remove unused variable `docstring'.
23290 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23291 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23292 (face-attr-construct): Mark unused parameter. Doc fix.
23293 (read-color): Remove unused variable `hex-string'.
23295 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23296 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23297 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23298 (display-buffer-other-frame): Remove unused variable `old-window'.
23299 (kill-buffer-hook): Declare.
23300 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23301 Mark unused parameters.
23302 (after-find-file): Pass 1 to `auto-save-mode', not t.
23304 * files-x.el (auto-insert): Declare.
23305 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23307 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23308 variable `buf'. Mark unused parameter.
23309 (find-lisp-insert-directory): Mark unused parameter.
23311 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23312 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23313 (format-common-tail): Remove, unused.
23314 (format-deannotate-region): Remove unused variable `loc'.
23315 (format-annotate-region): Remove unused variable `p'.
23316 (format-annotate-single-property-change): Remove unused variables
23317 `default' and `tail'.
23319 * forms.el (read-file-filter): Declare.
23320 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23322 * frame.el (frame-creation-function-alist): Mark unused parameter.
23323 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23325 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23326 Remove unused parameters.
23327 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23328 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23330 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23331 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23332 (hfy-prepare-tag-map): Mark unused parameters.
23333 (htmlfontify-buffer): Use `called-interactively-p'.
23335 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23336 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23337 (ibuffer-do-occur): Mark unused parameters.
23338 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23339 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23341 * ibuffer.el: Don't quote `lambda'.
23342 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23343 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23344 Mark unused parameters.
23346 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23347 (ido-completing-read): Mark unused parameters.
23348 (ido-copy-current-word): Mark unused parameters;
23349 remove unused variable `name'.
23350 (ido-sort-merged-list): Remove unused parameter `dirs'.
23352 * ielm.el (ielm-input-sender): Mark unused parameter.
23353 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23354 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23355 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23356 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23357 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23359 * image-dired.el (image-dired-display-thumbs): Remove unused
23360 variables `curr-file' and `count'.
23361 (image-dired-remove-tag): Remove unused variable `start'.
23362 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23363 variable `curr-file'
23364 (image-dired-rotate-original): Remove unused variable `temp-file'.
23365 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23366 Remove unused variable `file'.
23367 (image-dired-gallery-generate): Remove unused variable `curr'.
23368 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23370 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23372 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23374 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23376 * isearch.el (minibuffer-history-symbol): Declare.
23377 (isearch-edit-string): Remove unused variable `err'.
23378 (isearch-message-prefix, isearch-message-suffix):
23379 Mark unused parameters.
23381 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23383 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23385 * makesum.el (double-column): Remove unused variable `cnt'.
23387 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23388 (ido-ignore-item-temp-list): Declare.
23390 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23391 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23392 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23393 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23396 * mouse-sel.el (mouse-extend-internal):
23397 Remove unused variable `orig-window-frame'.
23399 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23400 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23401 Move declarations before first use.
23402 (pcomplete-opt): Mark unused parameters; doc fix.
23404 * proced.el (proced-revert): Mark unused parameter.
23405 (proced-send-signal): Remove unused variable `err'.
23407 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23408 Rename parameter PREFIX-ARG to ARG.
23409 (ps-basic-plot-string, ps-basic-plot-whitespace):
23410 Mark unused parameters.
23412 * replace.el (replace-count): Define.
23413 (occur-revert-function): Mark unused parameters.
23414 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23415 (isearch-case-fold-search, isearch-string): Declare.
23416 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23417 bind `case-fold-search'. Remove unused variables `beg' and `end',
23419 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23420 COUNT and bind `replace-count'.
23421 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23424 * savehist.el (print-readably, print-string-length): Declare.
23426 * shadowfile.el (shadow-expand-cluster-in-file-name):
23427 Remove unused variable `cluster'.
23428 (shadow-copy-file): Remove unused variable `i'.
23429 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23430 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23431 (shadow-define-literal-group, shadow-define-regexp-group)
23432 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23434 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23435 (shell): Use `called-interactively-p'.
23436 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23438 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23439 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23440 (delete-backward-char): Remove unused variable `ocol'.
23441 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23442 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23443 (event-apply-hyper-modifier, event-apply-shift-modifier)
23444 (event-apply-control-modifier, event-apply-meta-modifier):
23445 Mark unused parameters.
23446 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23447 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23449 * speedbar.el (speedbar-ignored-directory-expressions)
23450 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23451 (speedbar-find-file, speedbar-dir-follow)
23452 (speedbar-directory-buttons-follow, speedbar-tag-find)
23453 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23454 (speedbar-buffers-line-directory, speedbar-buffer-click):
23455 Mark unused parameters.
23456 (speedbar-tag-file): Remove unused variable `mode'.
23457 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23459 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23461 * talk.el (talk): Remove unused variable `display'.
23463 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23464 (tar-write-region-annotate): Mark unused parameter.
23466 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23467 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23468 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23469 warning by another.
23471 * time-stamp.el (time-stamp-string-preprocess):
23472 Remove unused variable `require-padding'.
23474 * tree-widget.el (widget-glyph-enable): Declare.
23475 (tree-widget-action): Mark unused parameter.
23477 * w32-fns.el (x-get-selection): Mark unused parameter.
23478 (autoload-make-program, generated-autoload-file): Declare.
23480 * wdired.el (wdired-revert): Mark unused parameters.
23481 (wdired-xcase-word): Remove unused variable `err'.
23483 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23484 (whitespace-help-scroll): Remove unused variable `data-help'.
23486 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23487 (widget-image-insert, widget-after-change, default)
23488 (widget-default-format-handler, widget-default-notify)
23489 (widget-default-prompt-value, widget-info-link-action)
23490 (widget-url-link-action, widget-function-link-action)
23491 (widget-variable-link-action, widget-file-link-action)
23492 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23493 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23494 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23495 (widget-insert-button-action, widget-delete-button-action, visibility)
23496 (widget-documentation-link-action, widget-documentation-string-action)
23497 (widget-const-prompt-value, widget-regexp-match, symbol)
23498 (widget-coding-system-prompt-value)
23499 (widget-key-sequence-value-to-external, sexp)
23500 (widget-sexp-value-to-internal, character, vector, cons)
23501 (widget-choice-prompt-value, widget-boolean-prompt-value)
23502 (widget-color--choose-action): Mark unused parameters.
23503 (widget-item-match-inline, widget-choice-match-inline)
23504 (widget-checklist-match, widget-checklist-match-inline)
23505 (widget-group-match): Rename parameter VALUES to VALS.
23506 (widget-field-value-set): Remove unused variable `size'.
23507 (widget-color-action): Remove unused variables `value' and `start'.
23509 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23510 variable `dir'. Doc fix.
23511 (windmove-find-other-window): Don't pass it.
23513 * window.el (count-windows): Mark unused parameter.
23514 (bw-adjust-window): Remove unused variable `err'.
23516 * woman.el (woman-file-name): Remove unused variable `default'.
23517 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23518 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23519 (global-font-lock-mode): Declare.
23520 (woman-decode-region): Mark unused parameter.
23521 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23523 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23524 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23525 (x-dnd-handle-moz-url): Remove unused variable `title'.
23526 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23528 * xml.el (xml-parse-tag, xml-parse-attlist):
23529 Remove unused variable `pos'.
23531 2011-04-19 Glenn Morris <rgm@gnu.org>
23533 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23534 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23535 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23536 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23537 * calendar/cal-html.el (cal-html-insert-minical):
23538 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23539 (calendar-mark-date-pattern):
23540 Prefix "unused" locals.
23542 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23543 optional argument `style'.
23545 * calendar/appt.el (appt-make-list):
23546 * calendar/cal-china.el (calendar-chinese-date-string):
23547 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23548 (diary-hebrew-yahrzeit):
23549 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23550 * calendar/calendar.el (calendar-generate-window):
23551 * calendar/time-date.el (time-to-days):
23552 Remove unused local variables.
23554 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23556 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23557 glyphless-char-display table.
23558 (tabulated-list-glyphless-char-display): New var.
23560 2011-04-18 Sam Steingold <sds@gnu.org>
23562 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23563 to acknowledgments.
23565 2011-04-17 Glenn Morris <rgm@gnu.org>
23567 * calendar/diary-lib.el (diary-sexp-entry):
23568 * calendar/holidays.el (holiday-sexp):
23569 Set debug-on-error rather than the removed stack-trace-on-error.
23571 2011-04-16 Glenn Morris <rgm@gnu.org>
23573 * progmodes/f90.el: Use lexical-binding.
23574 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23576 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23578 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23579 (mail-mode): Setup mailalias completion here instead.
23580 * mail/mailalias.el: Use lexical-binding.
23581 (pattern, mailalias-done): Declare dynamic.
23582 (mail-completion-at-point-function): New function, from mail-complete.
23583 (mail-complete): Use it.
23584 (mail-completion-expand): New function.
23585 (mail-get-names): Use it.
23586 (mail-directory, mail-directory-process, mail-directory-stream):
23587 Don't use `pattern' for lexically bound arg.
23589 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23591 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23592 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23593 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23595 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23596 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23597 (byte-interactive-p): Define them again, for use when inlining
23600 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23602 * loadup.el: Use `string-to-number', not `string-to-int'.
23604 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23606 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23607 gud-gdb-complete-command.
23608 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23609 (gud-gdb-completion-at-point): New function.
23610 (gud-gdb-completions): Remove.
23612 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23614 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23615 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23616 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23617 whether `executable-find' is bound.
23619 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23621 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23623 * minibuffer.el (completion-in-region-mode-predicate)
23624 (completion-in-region-mode--predicate): New vars.
23625 (completion-in-region, completion-in-region--postch)
23626 (completion-in-region-mode): Use them.
23627 (completion--capf-wrapper): Also return the hook function.
23628 (completion-at-point, completion-help-at-point):
23629 Adjust and provide a predicate.
23631 Preserve arg names for advice of subr and lexical functions (bug#8457).
23632 * help-fns.el (help-function-arglist): Consolidate the subr and
23633 new-byte-code cases. Add argument `preserve-names' to extract names
23634 from the docstring when needed.
23635 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23636 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23637 (ad-arglist): Use help-function-arglist's new arg.
23638 (ad-definition-type): Use cond.
23640 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23642 * autorevert.el (auto-revert-handler):
23643 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23644 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23645 Don't quote lambda.
23647 * image-mode.el (image-transform-set-scale):
23648 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23650 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23652 * net/network-stream.el (network-stream-open-starttls): Only do
23653 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23654 Upgrades via gnutls-cli are too slow to be done opportunistically.
23656 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23658 * dframe.el (dframe-current-frame): Remove spurious quote.
23660 2011-04-12 Glenn Morris <rgm@gnu.org>
23662 * calendar/cal-tex.el (cal-tex-end-document):
23663 Try to automatically use latin1 input if needed.
23665 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23666 Don't try to cons a mark onto an empty element.
23668 2011-04-11 Leo Liu <sdl.web@gmail.com>
23670 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23672 (ido-kill-buffer-at-head): Support killing virtual buffers.
23674 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23676 * minibuffer.el (completion-show-inline-help): New var.
23677 (completion--do-completion, minibuffer-complete)
23678 (minibuffer-force-complete, minibuffer-complete-word):
23679 Inhibit minibuffer messages if completion-show-inline-help is nil.
23681 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23682 to avoid interference from inline help (Bug#5849).
23684 2011-04-10 Leo Liu <sdl.web@gmail.com>
23686 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23689 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23691 * image-mode.el (image-toggle-display-image): Signal an error if
23693 (image-transform-mode, image-transform-resize)
23694 (image-transform-set-rotation): Doc fix.
23695 (image-transform-set-resize): Delete.
23696 (image-transform-set-scale, image-transform-fit-to-height)
23697 (image-transform-fit-to-width): Handle image-toggle-display-image
23698 and image-transform-resize directly.
23700 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23702 * doc-view.el (doc-view-fit-width-to-window)
23703 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23704 New functions for fitting the shown image to the Emacs window size.
23705 (doc-view-mode-map): Add bindings for the new functions.
23707 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23709 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23710 Fix typo in docstring.
23712 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23714 * files.el (file-size-human-readable): Produce one digit after
23715 decimal, like "ls -lh" does.
23717 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23718 the file size representation.
23720 * simple.el (list-processes): If async subprocesses are not
23721 available, error out with a clear error message.
23723 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23725 * help.el (help-form-show): New function, to be called from C.
23726 Put help-form output in a buffer named differently than *Help*.
23728 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23730 * files.el (file-size-human-readable): New function.
23732 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23733 computing the representation inline. Don't require `cl'.
23735 2011-04-08 Glenn Morris <rgm@gnu.org>
23737 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23739 * net/browse-url.el (browse-url-firefox):
23740 Test system-type, not system-configuration.
23742 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23743 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23744 Use log-edit-empty-buffer-p. (Bug#7598)
23746 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23747 (rlogin-mode-map): Initialize in the defvar.
23748 (rlogin): Use ignore-errors.
23750 * replace.el (occur-mode-map): Some fixes for menu items.
23752 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23754 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23756 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23758 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23759 issuing unused warnings.
23761 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23764 * simple.el: Lisp reimplement of list-processes. Based on an
23765 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23766 (process-menu-mode): New major mode.
23767 (list-processes--refresh, list-processes):
23768 (process-menu-visit-buffer): New functions.
23770 * files.el (save-buffers-kill-emacs): Don't assume any return
23771 value of list-processes, which is undocumented anyway.
23773 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23775 * emacs-lisp/tabulated-list.el: New file.
23777 * emacs-lisp/package.el: Use Tabulated List mode.
23778 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23779 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23780 table format using Tabulated List mode variables.
23781 (package--push): New macro, replacing package-list-maybe-add.
23782 (package-menu--generate): Use package--push. Renamed from
23783 package--generate-package-list.
23784 (package-menu-refresh, list-packages): Use it.
23785 (package-menu--print-info): Rename from package-print-package.
23786 Return insertion data instead of inserting it directly.
23787 (package-menu-describe-package, package-menu-execute):
23788 Use tabulated-list-get-id.
23789 (package-menu-mark-delete, package-menu-mark-install)
23790 (package-menu-mark-unmark, package-menu-backup-unmark)
23791 (package-menu-mark-obsolete-for-deletion):
23792 Use tabulated-list-put-tag.
23793 (package--list-packages, package-menu-revert)
23794 (package-menu-get-package, package-menu-get-version)
23795 (package-menu-sort-by-column): Functions deleted.
23796 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23797 (package-menu--status-predicate, package-menu--version-predicate)
23798 (package-menu--name-predicate)
23799 (package-menu--description-predicate): Handle arguments in the
23800 Tabulated List format.
23801 (package-list-packages-no-fetch): Call list-packages.
23803 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23805 * files.el (after-find-file-from-revert-buffer): Remove variable.
23806 (after-find-file): Don't bind it.
23807 (revert-buffer-in-progress-p): New variable.
23808 (revert-buffer): Bind it.
23809 Pass nil for `after-find-file-from-revert-buffer'.
23811 * saveplace.el (save-place-find-file-hook): Use new variable
23812 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23814 2011-04-06 Glenn Morris <rgm@gnu.org>
23816 * Makefile.in (AUTOGEN_VCS): New variable.
23817 (autoloads): Use $AUTOGEN_VCS.
23819 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23820 * calendar/calendar.el (calendar-mode-map):
23821 Check for toolkit scroll bars. (Bug#8305)
23823 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23825 * minibuffer.el (completion-in-region--postch)
23826 (completion-in-region-mode): Remove unnecessary messages.
23828 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23830 * font-lock.el (font-lock-refresh-defaults):
23831 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23832 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23834 * info.el (Info-directory-list, Info-read-node-name-2)
23835 (Info-split-parameter-string): Doc fixes.
23836 (Info-virtual-nodes): Reflow docstring.
23837 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23838 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23839 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23840 Fix typos in docstrings.
23841 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23842 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23843 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23844 (Info-restore-desktop-buffer): Mark unused parameters.
23845 (Info-directory-find-file, Info-directory-find-node)
23846 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23847 (Info-virtual-index-find-node, Info-apropos-find-file)
23848 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23849 Mark unused parameters; fix typos in docstrings.
23850 (Info-virtual-index): Remove unused local variable `nodename'.
23852 2011-04-05 Deniz Dogan <deniz@dogan.se>
23854 * net/rcirc.el: Update my e-mail address.
23855 (rcirc-mode-map): Remove M-o binding.
23857 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23859 * startup.el (command-line): Save the cursor's theme-face
23860 directly, instead of using face-override-spec.
23862 * custom.el (load-theme): Minor optimization in assigning faces.
23864 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23866 * help-fns.el (describe-variable): Complete all variables having
23867 documentation, including keywords.
23868 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23870 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23872 Convert to lexical-binding.
23874 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23875 (bs--get-marked-string, bs--get-modified-string)
23876 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23877 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23878 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23880 * ehelp.el (electric-help-execute-extended)
23881 (electric-help-ctrl-x-prefix):
23882 * hexl.el (hexl-revert-buffer-function):
23883 * linum.el (linum-after-change, linum-after-scroll):
23884 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23886 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23888 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23895 * epg.el: Use lexical binding.
23897 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23899 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23901 * textmodes/flyspell.el (flyspell-word): Recognize default
23902 dictionary case for flyspell-mark-duplications-exceptions.
23903 Use regexp matching for languages.
23904 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23905 default dictionary (Bug#7926).
23907 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23909 * emacs-lisp/package.el (package--with-work-buffer):
23910 Recognize https URLs.
23912 * net/network-stream.el: Move from gnus/proto-stream.el.
23913 Change prefix to network-stream throughout.
23914 (open-protocol-stream): Merge into open-network-stream, leaving
23915 open-protocol-stream as an alias. Handle nil BUFFER args.
23917 * subr.el (open-network-stream): Move to net/network-stream.el.
23919 2011-04-02 Glenn Morris <rgm@gnu.org>
23921 * find-dired.el (find-exec-terminator): New option.
23922 (find-ls-option): Test for -ls support.
23923 (find-ls-subdir-switches): Test for -b in find-ls-option.
23924 (find-dired, find-grep-dired): Doc fixes.
23925 (find-dired): Use find-exec-terminator.
23927 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23928 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23929 (find-name-arg): Remove purecopy.
23931 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23932 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23933 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23934 accordingly. Don't add the null-device if not needed.
23936 * files.el (save-some-buffers): Doc fix.
23938 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23940 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23942 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23944 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23945 Use `dolist' rather than `mapcar'.
23947 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23949 Add lexical binding.
23951 * subr.el (apply-partially): Use new closures rather than CL.
23952 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23953 (dolist, dotimes): Use slightly different expansion for lexical code.
23954 (functionp): Move to C.
23955 (letrec): New macro.
23956 (with-wrapper-hook): Use it and apply-partially instead of CL.
23957 (eval-after-load): Preserve lexical-binding.
23958 (save-window-excursion, with-output-to-temp-buffer): Turn them
23961 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23963 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23965 (help-add-fundoc-usage): Don't add `Not documented'.
23966 (help-function-arglist): Handle closures, subroutines, and new
23967 byte-code-functions.
23968 (help-make-usage): Remove leading underscores.
23969 (describe-function-1): Handle closures.
23970 (describe-variable): Use special-variable-p for completion.
23972 * files.el (lexical-binding): Declare safe.
23974 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23975 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23976 (pcase): Add `let' pattern.
23977 Change memoization so it actually works.
23978 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23979 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23982 * emacs-lisp/macroexp.el: Use lexical binding.
23983 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23984 Don't convert ' to #' without checking that it's indeed quoting
23987 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23988 Use eval-sexp-add-defvars.
23989 (eval-sexp-add-defvars): New fun.
23991 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23993 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23995 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23996 than the internal `byte-compile-lambda'.
23997 (defmethod): Don't hide code under quotes.
23998 (eieio-defmethod): New `code' argument.
24000 * emacs-lisp/eieio-comp.el: Remove.
24002 * emacs-lisp/edebug.el (edebug-eval-defun)
24003 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24004 (edebug-toggle): Avoid `eval'.
24006 * emacs-lisp/disass.el (disassemble-internal): Handle new
24008 (disassemble-1): Handle new byte codes.
24010 * emacs-lisp/cl.el (pushnew): Silence warning.
24012 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24013 (cl-byte-compile-throw): Remove.
24014 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24016 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24019 * emacs-lisp/cconv.el: New file.
24021 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24022 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24023 (byte-compile-initial-macro-environment):
24024 Handle declare-function here.
24025 (byte-compile--lexical-environment): New var.
24026 (byte-stack-ref, byte-stack-set, byte-discardN)
24027 (byte-discardN-preserve-tos): New lap codes.
24028 (byte-interactive-p): Don't use any more.
24029 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24031 (byte-compile-lapcode): Use them and handle new lap codes.
24032 (byte-compile-obsolete): Remove.
24033 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24034 (byte-compile-arglist-warn): Check late def of inlinable funs.
24035 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24036 since they should have been expanded by now.
24037 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24038 (byte-compile-from-buffer): Remove unused second arg.
24039 (byte-compile-preprocess): New function.
24040 (byte-compile-toplevel-file-form): New function to distinguish
24041 file-form calls from outside from file-form calls from hunk-handlers.
24042 (byte-compile-file-form): Simplify.
24043 (byte-compile-file-form-defsubst): Remove.
24044 (byte-compile-file-form-defmumble): Simplify now that
24045 byte-compile-lambda always returns a byte-code-function.
24046 (byte-compile): Preprocess.
24047 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24048 Remove, not used any more.
24049 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24050 (byte-compile-make-args-desc): New funs.
24051 (byte-compile-lambda): Handle lexical functions. Always return
24052 a byte-code-function.
24053 (byte-compile-reserved-constants): New var, to make up room for
24054 closed-over variables.
24055 (byte-compile-constants-vector): Obey it.
24056 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24057 (byte-compile-macroexpand-declare-function): New function.
24058 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24059 byte-code-functions.
24060 (byte-compile-form): Check obsolescence here.
24061 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24062 (byte-compile-variable-ref): Remove.
24063 (byte-compile-dynamic-variable-op): New fun.
24064 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24065 (byte-compile-variable-set): New funs.
24066 (byte-compile-discard): Add 2 args.
24067 (byte-compile-stack-ref, byte-compile-stack-set)
24068 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24069 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24070 macroexpand-all instead.
24071 (byte-compile-quote-form): Remove.
24072 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24073 (byte-compile-bind, byte-compile-unbind): New funs.
24074 (byte-compile-let): Handle let* and lexical binding.
24075 (byte-compile-let*): Remove.
24076 (byte-compile-catch, byte-compile-unwind-protect)
24077 (byte-compile-track-mouse, byte-compile-condition-case):
24078 Handle a new :fun-body form, used for lexical scoping.
24079 (byte-compile-save-window-excursion)
24080 (byte-compile-with-output-to-temp-buffer): Remove.
24081 (byte-compile-defun): Simplify.
24082 (byte-compile-stack-adjustment): New fun.
24083 (byte-compile-out): Use it.
24084 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24086 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24089 * emacs-lisp/byte-opt.el: Use lexical binding.
24090 (byte-inline-lapcode): Remove (to bytecomp).
24091 (byte-compile-inline-expand): Pay attention to inlining to/from
24092 lexically bound code.
24093 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24095 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24096 any more and don't call compiler-macros.
24097 (byte-compile-splice-in-already-compiled-code): Remove.
24098 (byte-code): Don't inline any more.
24099 (disassemble-offset): Receive `bytes' as argument rather than via
24101 (byte-compile-tag-number): Declare before first use.
24102 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24103 `return' even if make-spliceable.
24104 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24105 obsolete interactive-p.
24106 (byte-optimize-lapcode): Optimize new lap-codes.
24107 Don't trip up on new form of `byte-constant' lap code.
24109 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24111 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24113 * custom.el (custom-initialize-default, custom-declare-variable):
24116 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24118 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24119 (COMPILE_FIRST): Add macroexp and cconv.
24120 * makefile.w32-in: Mirror changes in Makefile.in.
24122 * vc/cvs-status.el:
24126 * vc/smerge-mode.el:
24127 * textmodes/bibtex-style.el:
24128 * textmodes/css-mode.el:
24136 * emacs-lisp/smie.el:
24139 * abbrev.el: Use lexical binding.
24141 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24143 * info.el (info-display-manual): New function.
24145 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24147 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24149 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24151 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24152 an entry for that server in rcirc-authinfo. (Bug#8385)
24154 2011-03-31 Glenn Morris <rgm@gnu.org>
24156 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24158 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24160 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24162 * progmodes/python.el (python-default-interpreter)
24163 (python-python-command-args, python-jython-command-args)
24164 (python-which-shell, python-which-args, python-which-bufname)
24165 (python-file-queue, python-comint-output-filter-function)
24166 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24167 variables and functions.
24169 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24171 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24172 (completion-in-region-mode): New minor mode.
24173 (completion-in-region): Use it.
24174 (completion-in-region--data, completion-in-region-mode-map): New vars.
24175 (completion-in-region--postch): New function.
24176 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24178 (completion--capf-wrapper): New function.
24179 (completion-at-point): Use it to track well-behavedness of
24181 (completion-help-at-point): New command.
24183 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24185 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24186 syntax class to search for whitespace on a single line
24187 (Message-ID: <4D938140.4030905@redhat.com>).
24189 2011-03-30 Leo Liu <sdl.web@gmail.com>
24191 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24193 (edit-abbrevs-map): Bind them here.
24194 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24196 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24198 * allout.el (allout-hide-by-annotation, allout-flag-region):
24199 Reduce possibility of overlay leakage by making them volatile.
24201 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24202 hash is not shared between buffers. Mode initialization is
24203 responsible for giving it a useful starting value.
24204 (allout-item-span): Reduce possibility of overlay leakage by
24205 making them volatile.
24206 (allout-widgets-count-buttons-in-region): Add diagnostic function
24207 for tracking down button overlay leaks.
24209 2011-03-29 Leo Liu <sdl.web@gmail.com>
24211 * ido.el (ido-read-internal): Use the default history var
24212 minibuffer-history if no HISTORY is specified.
24214 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24216 * net/imap.el (imap-shell-open, imap-process-connection-type):
24217 Use imap-process-connection-type for 'shell' streams as well as
24218 Kerberos, SSL, other subprocesses.
24220 2011-03-28 Leo Liu <sdl.web@gmail.com>
24222 * abbrev.el (abbrev-table-empty-p): New function.
24223 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24224 nonempty ones. (Bug#5937)
24226 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24228 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24230 2011-03-27 Leo Liu <sdl.web@gmail.com>
24232 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24233 for foreground and background colors.
24234 (ansi-color-make-color-map): Adapt.
24236 2011-03-25 Leo Liu <sdl.web@gmail.com>
24238 * midnight.el (midnight-time-float): Remove. Note it calculates
24239 the microsecond component incorrectly and seconds-to-time does the
24241 Remove redundant (require 'timer).
24243 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24244 (ido-completions): Remove unused arguments. (Bug#8329)
24246 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24248 * minibuffer.el (completion--flush-all-sorted-completions):
24249 Remove itself from hook.
24250 (completion-at-point): Let the functions perform the completion
24251 immediately and return nil or t.
24252 * comint.el (comint-dynamic-complete-functions): Now identical to
24253 completion-at-point-functions.
24254 (comint-dynamic-list-input-ring): Remove unused var `index'.
24255 (comint--match-partial-filename, comint--unquote&expand-filename):
24256 New funs, split from comint-match-partial-filename.
24257 (comint-dynamic-complete): Use completion-at-point.
24258 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24260 2011-03-24 Drew Adams <drew.adams@oracle.com>
24262 * thingatpt.el: Support `defun'.
24264 2011-03-23 Leo Liu <sdl.web@gmail.com>
24266 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24268 * help-mode.el (help-mode-finish): Tweak regexp.
24270 2011-03-23 Glenn Morris <rgm@gnu.org>
24272 * eshell/esh-opt.el (eshell-eval-using-options):
24273 Do not bind unused local variable `eshell-option-stub'.
24275 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24277 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24279 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24280 keymap variable in `with-no-warnings' to avoid a warning when the
24281 keymap has been already `defconst'ed.
24283 2011-03-22 Leo Liu <sdl.web@gmail.com>
24285 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24286 encode all chars in abbrevs; otherwise use emacs-mule or
24287 utf-8-emacs. (Bug#8308)
24289 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24291 * simple.el (backward-delete-char-untabify):
24292 Avoid warning about using `delete-backward-char'.
24294 * image.el (image-type-file-name-regexps): Make it variable.
24295 `imagemagick-register-types' modifies it, and the user may want
24296 to add new extensions for known image types.
24297 (imagemagick-register-types): Throw error if not using ImageMagick.
24299 2011-03-22 Leo Liu <sdl.web@gmail.com>
24301 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24302 located before rcirc-prompt-end-marker.
24303 (rcirc-complete): Error if point is not after rcirc prompt.
24304 Handle the case when table is nil.
24305 (rcirc-user-authenticated): Define to fix compiler warning.
24307 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24309 * custom.el (custom--inhibit-theme-enable): Make it affect only
24310 custom-theme-set-variables and custom-theme-set-faces.
24311 (provide-theme): Ignore custom--inhibit-theme-enable.
24312 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24313 (custom-enabling-themes): Delete variable.
24314 (enable-theme): Accept only loaded themes as arguments.
24315 Ignore the special custom-enabled-themes variable.
24316 (custom-enabled-themes): Forbid themes from setting this.
24317 Eliminate use of custom-enabling-themes.
24318 (custom-push-theme): Quote "changed" custom var entry.
24320 2011-03-21 Leo Liu <sdl.web@gmail.com>
24322 * ido.el (ido-read-internal): Add ido-selected to history instead
24325 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24327 * subr.el (deferred-action-list, deferred-action-function):
24330 2011-03-21 Leo Liu <sdl.web@gmail.com>
24332 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24333 change on 2011-02-13 (bug#8309).
24335 * minibuffer.el (read-file-name-function): Change default value.
24336 (read-file-name--defaults): Rename from read-file-name-defaults.
24337 (read-file-name-default): Rename from read-file-name.
24338 (read-file-name): Call read-file-name-function.
24340 2011-03-21 Glenn Morris <rgm@gnu.org>
24342 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24345 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24347 * cus-theme.el: Add missing provide statement.
24348 (customize-create-theme): Extract theme value correctly.
24349 (custom-theme-visit-theme): Autoload.
24350 (customize-create-theme): Prompt before inserting default faces.
24352 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24354 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24355 units and musical notes.
24357 2011-03-20 Leo Liu <sdl.web@gmail.com>
24359 * ido.el (ido-read-internal): Use completing-read-default.
24360 (ido-completing-read): Fix compatibility with completing-read.
24362 2011-03-20 Christian Ohler <ohler@gnu.org>
24364 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24365 (ert-delete-all-tests): Use `called-interactively-p' rather than
24367 (ert--make-xrefs-region): Respect END.
24369 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24371 * dired-aux.el (dired-create-directory): Signal an error if the
24372 directory already exists (Bug#8246).
24374 * facemenu.el (list-colors-display): Call list-faces-display
24375 inside with-help-window.
24376 (list-colors-print): Use display property to align the final
24377 column, instead of checking window-width.
24379 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24381 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24382 windows-nt systems.
24383 (emerge-protect-metachars): Quote correctly for ms-dos and
24384 windows-nt systems.
24386 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24388 * info.el (info-initialize): Replace all uses of `:' with
24389 path-separator for compatibility with non-Unix systems.
24390 Cache quoting of path-separator. (Bug#8258)
24392 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24394 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24395 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24396 (mouse-avoidance-mode): Fix typos in docstrings.
24398 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24400 * startup.el (package-subdirectory-regexp): Move from package.el.
24401 Omit \\` and \\', and let callers add them.
24403 * emacs-lisp/package.el (package-strip-version)
24404 (package-load-all-descriptors): Add \\` and \\' to
24405 package-subdirectory-regexp before using it.
24406 (package-untar-buffer): New arg DIR; ensure that file untars only
24407 into this expected directory. Remove superfluous delete-region.
24408 (package-unpack): Caller changed.
24409 (package-tar-file-info): Use package-subdirectory-regexp.
24411 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24413 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24414 diff-mode-shared-map (bug#8284).
24415 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24417 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24419 * calendar/time-date.el (format-seconds): Use assoc instead of
24420 assoc-string, since assoc-string doesn't exist in XEmacs.
24422 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24424 * custom.el (custom-known-themes): Reflow docstring.
24425 (custom-theme-load-path): Fix typo in docstring.
24426 (load-theme): Fix typo in error message.
24427 (custom-available-themes, custom-variable-theme-value):
24428 Use `let', not `let*'.
24430 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24432 * calc/README: Mention inclusion of musical notes.
24434 * calc/calc-units.el (calc-lu-quant): Rename from
24435 `calc-logunits-quantity'.
24436 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24437 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24438 (calc-db): Rename from `calc-dblevel'.
24439 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24440 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24441 (calc-np): Rename from `calc-nplevel'.
24442 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24443 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24444 (calc-lu-plus): Rename from `calc-logunits-add'.
24445 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24446 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24447 (calc-lu-minus): Rename from `calc-logunits-sub'.
24448 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24449 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24450 (calc-lu-times): Rename from `calc-logunits-mul'.
24451 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24452 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24453 (calc-lu-divide): Rename from `calc-logunits-div'.
24454 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24455 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24457 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24458 functions being autoloaded.
24460 * calc/calc.el (calc-lu-power-reference): Rename from
24461 `calc-logunits-power-reference'.
24462 (calc-lu-field-reference): Rename from
24463 `calc-logunits-field-reference'.
24465 * calc/calc-help.el (calc-l-prefix-help):
24466 Mention musical note functions.
24468 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24470 * minibuffer.el (completion-all-sorted-completions):
24471 Use :completion-cycle-penalty text property if present.
24473 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24475 * allout.el (allout-yank-processing): Adjust for new rebulleting
24476 regime so bullet being yanked is used without prompting the user
24479 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24481 * startup.el (command-line): Warn the user that _emacs is deprecated.
24483 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24485 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24486 (delphi-verbose, delphi-comment-face, delphi-string-face)
24487 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24488 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24489 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24490 (delphi-new-comment-line, delphi-font-lock-defaults)
24491 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24492 Fix typos in docstrings.
24494 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24496 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24497 Invert the roles of character and string values for INSTEAD, so a
24498 string is used for the more common case of a defaulting prompt.
24500 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24502 * progmodes/ruby-mode.el (ruby-backward-sexp):
24503 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24504 * play/gamegrid.el (gamegrid-make-face):
24505 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24506 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24507 * notifications.el (notifications-notify):
24508 * net/xesam.el (xesam-search-engines):
24509 * net/quickurl.el (quickurl-list-insert):
24510 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24512 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24514 * startup.el (command-line): Update package subdirectory regexp.
24516 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24518 * allout.el (allout-abbreviate-flattened-numbering)
24519 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24521 * subr.el (read-char-choice): Only show the cursor after the prompt,
24522 not after the answer.
24524 2011-03-15 Kevin Ryde <user42@zip.com.au>
24526 * help-fns.el (variable-at-point): Skip leading quotes, if any
24529 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24531 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24534 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24536 * shell.el (shell): When called interactively, offer to change the
24537 shell file name on remote hosts.
24539 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24541 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24542 integration for LDAP parameters. The host, base, user or binddn,
24543 and secret tokens can be specified in a netrc file, for instance.
24544 This is optional because an `auth-source' parameter must be
24545 specified in the search attributes.
24547 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24549 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24551 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24553 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24554 into declaration. Remove redundant and harmful binding.
24556 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24558 * files.el (file-ownership-preserved-p): Pass `integer' as an
24559 explicit 2nd argument to `file-attributes'. If the file's owner
24560 is the Administrators group on Windows, and the current user is
24561 Administrator, consider that a match.
24563 * server.el (server-ensure-safe-dir): Consider server directory
24564 safe on MS-Windows if its owner is the Administrators group while
24565 the current Emacs user is Administrator. Use `=' to compare
24566 numerical UIDs, since they could be integers or floats.
24568 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24570 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24572 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24574 Sync with Tramp 2.2.1.
24576 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24578 * net/trampver.el: Update release number.
24580 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24582 * progmodes/compile.el (compilation--previous-directory): Fix up
24583 various nil/dead-marker mismatches (bug#8014).
24584 (compilation-directory-properties, compilation-error-properties):
24585 Don't call it at a position past the one we're about to change.
24587 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24588 Disable obsolescence warnings in the file that declares it.
24590 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24592 * allout-widgets.el (allout-widgets-tally):
24593 Initialize allout-widgets-tally as a hash table rather than nil to
24594 prevent mode-line redisplay warnings. Also, clarify the module
24595 description and fix a comment typo.
24597 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24599 * help-fns.el (describe-variable): Don't complete keywords.
24600 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24602 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24604 * emacs-lisp/package.el (package-version-join): Impose a standard
24605 string representation for pre/alpha/beta version lists.
24606 (package-unpack-single): Standardize the directory name by passing
24607 it through package-version-join.
24608 (package-strip-rcs-id): Accept any version string that does not
24609 signal an error in version-to-list.
24611 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24613 * simple.el (delete-trailing-whitespace): Return nil for the
24614 benefit of `write-file-functions'.
24616 2011-03-10 Glenn Morris <rgm@gnu.org>
24618 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24620 * vc/vc-git.el (vc-git-program): New option.
24621 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24622 (vc-git--call): Use it.
24624 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24626 * cus-edit.el (Custom-newline): If no button at point, look
24627 for a subgroup button at start-of-line. (Bug#2298)
24629 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24631 2011-03-10 Julien Danjou <julien@danjou.info>
24633 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24634 `cursor-type' is nil.
24636 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24638 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24640 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24642 * allout.el: Change so yank of distinctive-bullet items
24643 preserves the existing header prefix, rebulleting it if necessary,
24644 rather than replacing it. This is necessary for proper operation
24645 of cooperative addons like allout-widgets.
24646 (allout-make-topic-prefix, allout-rebullet-heading):
24647 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24648 value as alternate bullet to be used, instead of prompting the user
24649 for a bullet character.
24651 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24653 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24654 Do not use `tramp-file-name-port', because this returns also
24655 `tramp-default-port'.
24657 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24659 * net/rcirc.el (rcirc-handler-001): Remove useless
24660 with-rcirc-process-buffer.
24661 (rcirc-check-auth-status): Swap arguments to string-match.
24663 2011-03-09 Glenn Morris <rgm@gnu.org>
24665 * shell.el (shell-mode):
24666 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24668 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24669 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24671 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24673 * emacs-lisp/package.el (package-refresh-contents)
24674 (package-menu-execute): Use condition-case-no-debug.
24676 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24678 * simple.el (shell-command-to-string): Use `process-file'.
24680 * emacs-lisp/package.el (package-tar-file-info): Handle also
24683 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24684 Use `equal' for upload base check.
24686 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24688 * textmodes/texinfo.el (texinfo-environments):
24689 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24691 2011-03-08 Glenn Morris <rgm@gnu.org>
24693 * cus-start.el (cursor-in-non-selected-windows):
24694 Fix :set quoting oddness. (Bug#8192)
24696 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24697 in some setf expressions. (Bug#2159)
24699 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24701 * custom.el (custom-available-themes): Return themes in
24702 alphabetical order.
24704 See ChangeLog.15 for earlier changes.
24706 ;; Local Variables:
24710 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24712 This file is part of GNU Emacs.
24714 GNU Emacs is free software: you can redistribute it and/or modify
24715 it under the terms of the GNU General Public License as published by
24716 the Free Software Foundation, either version 3 of the License, or
24717 (at your option) any later version.
24719 GNU Emacs is distributed in the hope that it will be useful,
24720 but WITHOUT ANY WARRANTY; without even the implied warranty of
24721 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24722 GNU General Public License for more details.
24724 You should have received a copy of the GNU General Public License
24725 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.