1 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3 Initial support for hunspell dictionaries auto-detection (Bug#13639)
5 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
6 Ask hunspell about available and default dictionaries.
7 (ispell-parse-hunspell-affix-file): Extract relevant info from
9 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
10 `ispell-dictionary-alist' entry for given dictionary after info
11 provided by `ispell-parse-hunspell-affix-file'.
12 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
13 of parsed hunspell dicts and associated affix files.
14 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
15 of parsed hunspell dicts and associated parameters.
16 (ispell-set-spellchecker-params):
17 Call `ispell-find-hunspell-dictionaries' if hunspell and not
19 (ispell-start-process):
20 Call `ispell-hunspell-fill-dictionary-entry' for current
21 dictionary if it is not initialized.
23 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
25 * imenu.el: Comment nitpicks.
27 2013-02-28 Sam Steingold <sds@gnu.org>
29 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
30 See <http://stackoverflow.com/questions/14720205>.
32 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
34 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
35 (net-utils-mode): Use it.
36 (net-utils--revert-cmd): New var.
37 (net-utils-run-simple): Set it, and remove bogus interactive spec.
38 (traceroute): Use net-utils-run-simple.
40 2013-02-28 Glenn Morris <rgm@gnu.org>
42 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
44 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
46 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
47 (doc-view-fallback-mode): Remove overlays here.
48 (doc-view-toggle-display): Instead of here. Don't throw away
49 image-mode-winprops-alist.
50 (doc-view-goto-page): Don't mess with hscroll.
52 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
54 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
55 &optional (bug#13819).
57 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
59 * net/tramp-adb.el (tramp-adb-parse-device-names)
60 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
62 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
64 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
65 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
66 defined. POSIX environments fall back to the "C" locale then and
67 emit a warning, which shall be suppressed.
69 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
71 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
72 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
74 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
76 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
78 2013-02-25 Juri Linkov <juri@jurta.org>
80 * replace.el (read-regexp): Let-bind `default' to the first
81 element of `defaults' if it's a list, otherwise it should be
82 a string or nil. Let-bind `suggestions' to `defaults' if it's
83 a list, otherwise make a list with the string value. Doc fix.
86 2013-02-25 Eli Zaretskii <eliz@gnu.org>
88 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
89 that match "\`\.#", to avoid compiling lock files, even if they
90 are readable (as they are on MS-Windows).
92 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
94 * files.el (basic-save-buffer): Remove redundant directory-creation.
96 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
98 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
99 Add option to force `pi' to remain symbolic.
100 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
101 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
102 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
103 derivatives, when necessary.
105 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
107 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
108 (ps-mode-octal-region): Use string-make-unibyte.
110 2013-02-23 Glenn Morris <rgm@gnu.org>
112 * emulation/viper-cmd.el (viper-submit-report):
113 * progmodes/ps-mode.el (ps-mode-maintainer-address):
114 * progmodes/vera-mode.el (vera-mode-help-address):
115 * textmodes/artist.el (artist-maintainer-address):
116 * textmodes/reftex.el (reftex-report-bug):
117 * vc/ediff-util.el (ediff-submit-report):
118 Add bug-gnu-emacs to bug report address.
120 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
121 Remove bug report entries.
122 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
124 * emacs-lisp/bytecomp.el (byte-compile-level): New.
125 (byte-compile-file, byte-compile-from-buffer):
126 Use separate input/output buffers for each level of recursive
127 byte-compile-file calls. (Bug#13787)
129 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
131 * net/tramp.el (tramp-methods): Fix docstring.
132 (tramp-ssh-controlmaster-options): Rename it from
133 `tramp-ssh-controlmaster-template'. Return a string.
134 (tramp-default-method): Adapt check for
135 `tramp-ssh-controlmaster-options'.
137 * net/tramp-sh.el (tramp-methods):
138 Replace `tramp-ssh-controlmaster-template' by "%c".
139 (tramp-do-copy-or-rename-file-out-of-band)
140 (tramp-maybe-open-connection): Use it in format spec. Ensure,
141 that it is applied for the first hop only.
143 2013-02-22 Juri Linkov <juri@jurta.org>
145 * isearch.el (isearch-lazy-highlight-new-loop):
146 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
147 to `isearch-other-end' if it is not nil. (Bug#13402)
149 * replace.el (replace-highlight): Let-bind `isearch-other-end'
152 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
153 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
154 and `isearch-error' to nil.
156 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
158 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
160 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
161 Handle multibyte file names.
163 2013-02-22 Glenn Morris <rgm@gnu.org>
165 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
166 (sgml-transformation-function): Give it a :set function.
169 * cmuscheme.el (scheme-buffer):
170 * progmodes/inf-lisp.el (inferior-lisp-buffer):
171 * progmodes/tcl.el (inferior-tcl-buffer):
172 * textmodes/tex-mode.el (tex-command): Doc fixes.
174 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
176 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
178 2013-02-21 Bastien Guerry <bzg@gnu.org>
180 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
182 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
184 * progmodes/python.el (python-info-current-defun):
185 Enhance match-data cluttering prevention.
187 2013-02-21 Glenn Morris <rgm@gnu.org>
189 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
190 loaded while outline-regexp is let bound. (Bug#9584)
192 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
194 * progmodes/python.el (python-info-current-defun): Fix failed
195 defun name retrieval because of unwanted match-data cluttering.
197 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
199 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
200 defconst. Apply independent check for ControlPersist.
202 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
203 temporarily, via "env".
205 2013-02-21 Glenn Morris <rgm@gnu.org>
207 * info.el (Info-enable-edit): Remove.
208 (Info-edit): Disable it rather than using Info-enable.
209 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
210 (Info-cease-edit): Make editing of Info files obsolete.
212 * informat.el (Info-tagify):
213 Handle buffers not visiting files. (Bug#13763)
215 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
217 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
219 2013-02-21 Glenn Morris <rgm@gnu.org>
221 * files.el (basic-save-buffer): Move check for existing parent
222 directory after hooks. (Bug#13773)
224 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
226 * simple.el (command-execute): Move from C. Add obsolete check.
227 (extended-command-history): Move from C.
229 2013-02-20 Ulrich Müller <ulm@gentoo.org>
231 * jka-cmpr-hook.el (jka-compr-compression-info-list)
232 (jka-compr-mode-alist-additions): Handle .txz suffix for
233 XZ-compressed tar archives (bug#13770).
235 2013-02-20 Bastien Guerry <bzg@gnu.org>
237 * outline.el (outline-regexp, outline-heading-end-regexp):
238 Make variables, not options (bug#13731).
240 2013-02-20 Glenn Morris <rgm@gnu.org>
242 * image.el (image-current-frame): Change from variable to function.
243 (image-show-frame): Rename from image-nth-frame. Update callers.
244 * image-mode.el (image-multi-frame): New variable.
245 (image-mode-map, image-mode, image-goto-frame):
246 Use image-multi-frame rather than image-current-frame.
247 (image-mode, image-goto-frame): Use image-current-frame as
248 function rather than as variable.
250 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
251 * emacs-lisp/cl-macs.el (cl--make-type-test)
252 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
254 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
256 * net/tramp-cache.el (tramp-get-hash-table): New defun.
257 (tramp-get-file-property, tramp-set-file-property)
258 (tramp-get-connection-property, tramp-set-connection-property): Use it.
259 (tramp-flush-file-property, tramp-flush-directory-property):
260 Rename argument to KEY.
261 (tramp-flush-connection-property): Simplify a little bit.
262 (tramp-connection-property-p): New defun.
263 (top): Reapply saved values only if there isn't a corresponding
264 entry in `tramp-connection-properties'.
266 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
268 * progmodes/python.el (python-indent-context):
269 Fix python-info-line-ends-backslash-p call.
270 (python-info-line-ends-backslash-p)
271 (python-info-beginning-of-backslash): Respect line-number argument.
272 (python-info-current-line-comment-p):
273 Fix behavior when not at beginning-of-line.
274 (python-util-position): Remove function.
275 (python-util-goto-line): New function.
277 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
279 * eshell/em-unix.el (eshell/su): Require tramp.
280 (eshell/sudo): Require tramp. Remove now unnecessary check.
282 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
283 `tramp-current-connection' in order to avoid an error when several
284 commands are invoked in a short time in eshell and friends.
286 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
288 Cleanup some of EIEIO's namespace.
289 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
290 Use it to define all the class-* and object-* field accessors (renamed
291 to eieio--class-* and eieio--object-*). Update all uses.
292 (eieio--class-num-slots, eieio--object-num-slots): Rename from
293 class-num-slots and object-num-slots.
294 (eieio--check-type): New macro.
295 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
296 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
297 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
298 (object-assoc-list-safe): Use it.
299 (eieio-defclass): Tighten regexp.
300 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
301 Remove unreachable code.
302 (object-class-fast): Declare obsolete.
303 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
304 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
305 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
306 Rename from class-name, object-name, object-set-name-string,
307 object-class, object-class-name, class-parents, class-children,
308 class-precedence-list, class-parent; with obsolete alias.
309 (class-of, class-direct-superclasses, class-direct-subclasses):
311 (eieio-defmethod): Use `memq'; remove unreachable code.
312 * emacs-lisp/eieio-base.el (eieio-persistent-read):
313 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
314 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
317 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
319 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
320 Use font-lock-keyword-face for macros and special forms (bug#8345).
322 2013-02-17 Didier Verna <didier@didierverna.net>
324 * net/network-stream.el (network-stream-open-starttls):
325 Check that response to the starttls-command is non-nil. (Bug#13706)
327 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
329 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
330 Don't assume all identifier chars have syntax word.
331 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
332 Remove bar-not-symbol. Adjust callers.
333 (lisp-mode-variables): Don't set a font-lock-syntax-table.
335 2013-02-17 Leo Liu <sdl.web@gmail.com>
337 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
339 2013-02-17 Glenn Morris <rgm@gnu.org>
341 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
343 * image-mode.el (image-mode-map): Add image-dired menu entry.
345 * image-dired.el (tumme): Make this alias obsolete.
347 2013-02-16 Glenn Morris <rgm@gnu.org>
349 * image.el (image-animated-types): Remove.
350 (image-multi-frame-p): Rename from image-animated-p, and generalize.
351 (image-animated-p): Make obsolete alias.
352 (image-animate, image-nth-frame, image-animate-timeout):
353 Use image-multi-frame-p.
354 (image-animate-timeout): If no delay, use image-default-frame-delay.
355 * image-mode.el (image-mode, image-toggle-animation):
356 Use image-multi-frame-p. (Bug#763, bug#10739)
357 (image-mode): Adjust startup message for a multi-frame image.
359 * image-mode.el (image-mode-map): Give it a menu.
361 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
363 * net/tramp-cache.el (tramp-connection-properties): New customer
365 (tramp-get-connection-property): Use it.
367 * net/tramp-compat.el (top): Require 'trampver.
369 * net/tramp-sh.el (tramp-remote-process-environment):
370 Set tramp-autoload cookie.
372 2013-02-16 Kevin Ryde <user42@zip.com.au>
374 * info-look.el (info-lookup-select-mode): If major-mode has no
375 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
377 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
379 * replace.el (read-regexp): Tighten the regexp that matches tag.
380 When tag is retrieved with `find-tag-default', use regexp that
381 matches tag at point. Also update docstring (Bug#13687).
383 2013-02-16 Eli Zaretskii <eliz@gnu.org>
385 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
386 add watch for the file, not its parent directory, since w32notify
387 sets up the watch for the directory internally. (Bug#13725)
389 2013-02-16 Glenn Morris <rgm@gnu.org>
391 * image.el (image-default-frame-delay): New variable.
392 (image-animated-p): Use image-default-frame-delay.
393 (image-minimum-frame-delay): New constant.
394 (image-animate-timeout): Use image-minimum-frame-delay.
396 * image.el (image-nth-frame): New, split from image-animate-timeout.
397 (image-animate-timeout): Use image-nth-frame.
398 * image-mode.el (image-goto-frame, image-next-frame)
399 (image-previous-frame): New commands.
400 (image-mode-map): Add new frame commands.
402 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
404 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
405 If col-desc already has help-echo, use it. (Bug#13563)
407 2013-02-16 Glenn Morris <rgm@gnu.org>
409 * image.el (image-current-frame): New variable.
410 (image-animate-timeout): Set image-current-frame.
411 * image-mode.el (image-mode): For animated images,
412 display a frame counter via mode-line-process.
414 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
416 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
418 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
420 2013-02-15 Alan Mackenzie <acm@muc.de>
422 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
423 global minor mode has been enabled, call the minor mode function
424 for a new buffer once only, after the major mode hook, whilst
425 allowing that hook explicitly to disable the minor mode.
426 (MODE-disable-in-buffer): New (generated) function.
427 (disable-MODE): New (generated) buffer local variable.
429 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
431 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
432 `iswitchb-next-match' and `iswitchb-prev-match' resply.
433 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
434 `ido-next-match' and `ido-prev-match' resply.
435 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
436 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
437 `icomplete-backward-completions' (Bug#13708).
439 2013-02-15 Glenn Morris <rgm@gnu.org>
441 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
443 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
445 * net/goto-addr.el (goto-address-fontify): Add start and end args.
446 (goto-address-fontify-region): Use them instead of narrowing, so
447 syntax-ppss has access to the whole buffer.
449 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
451 * progmodes/python.el: Explain how to restore "cc-mode"-like
452 forward-sexp movement in header documentation (Bug#13642).
453 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
454 comments and strings (GH bug 114).
456 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
458 * progmodes/python.el (python-info-current-defun): Fix current
459 defun detection (Bug#13618).
461 2013-02-15 Chong Yidong <cyd@gnu.org>
463 * xml.el (xml-parse-string): Fix typo in handling of bad character
466 2013-02-15 Glenn Morris <rgm@gnu.org>
468 * play/fortune.el (fortune-compile): Simplify and fix previous change.
470 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
472 * net/tramp.el (tramp-debug-message):
473 Add `tramp-condition-case-unless-debug'.
474 (tramp-debug-on-error): New defvar.
475 (tramp-condition-case-unless-debug): New defun.
476 (tramp-file-name-handler): Use it.
478 2013-02-14 Juri Linkov <juri@jurta.org>
480 * info.el (Info-isearch-filter): Treat non-nil values of
481 `search-invisible' including its default value `open'
482 like the value `t' to match hidden text. (Bug#13402)
484 2013-02-14 Glenn Morris <rgm@gnu.org>
486 * help-fns.el (find-lisp-object-file-name): Give special treatment
487 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
489 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
491 * net/quickurl.el (quickurl-save-urls):
492 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
494 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
496 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
497 depth for unfinished percent literal. Not using it in the caller.
498 (ruby-move-to-block): Jump over multiline literals of all types,
499 ignoring code-looking contents inside them.
500 (ruby-add-log-current-method): Improve performance at the expense
501 of accuracy. `ruby-block-contains-point' is relatively slow, so
502 only use it for method and singleton class blocks.
504 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
506 Use ControlMaster where applicable. (Bug#13677)
508 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
509 replacing `tramp-detect-ssh-controlmaster'.
510 (tramp-default-method): Use it.
512 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
513 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
515 [scpc, rsyncc]: Remove methods.
516 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
518 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
519 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
521 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
523 * emacs-lisp/package.el (package--initialized): Move before first use.
525 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
527 * icomplete.el (icomplete-hide-common-prefix): New user option.
528 (icomplete-first-match): New face.
529 (icomplete-completions): Correct handling of "complete but not
532 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
534 * descr-text.el (describe-char): Display the script (bug#13698).
536 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
538 * tmm.el: Use lexical-binding and current-active-maps.
539 (tmm-menubar): Use map-keymap and pcase.
540 (tmm--completion-table): New function.
541 (tmm-prompt): Use it to fix the menu order.
542 (tmm-get-keybind): Use current-active-maps.
544 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
546 Add dired-hide-details-mode. (Bug#6799)
548 * locate.el (locate-mode): Set parent mode property to dired-mode.
550 * find-dired.el (find-dired): Call dired-insert-set-properties on
551 initial information line. Set process mark on end of buffer.
552 (find-dired-sentinel):
553 Call dired-insert-set-properties on summary.
555 * dired.el (dired-hide-details-hide-symlink-targets)
556 (dired-hide-details-hide-information-lines): New options.
557 (dired-insert-directory):
558 Set properties after final treatment of output.
559 (dired-insert-set-properties):
560 Set dired-hide-details-* properties.
561 (dired-mode-map): Bind dired-hide-details-mode.
562 (dired-mode): Set buffer-invisibility-spec to a list.
563 (dired-next-line): Skip hidden lines.
564 (dired-previous-line): Use dired-next-line.
565 (dired-hide-details-mode): New minor mode.
566 (dired-hide-details-update-invisibility-spec): New function.
568 2013-02-13 Glenn Morris <rgm@gnu.org>
570 * play/yow.el: Move to obsolete/. (Bug#9384)
572 2013-02-13 Juri Linkov <juri@jurta.org>
574 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
575 to select `ediff-control-frame' and set input focus correctly on Xfce.
578 2013-02-13 Juri Linkov <juri@jurta.org>
580 * image-mode.el (image-mode-map):
581 * doc-view.el (doc-view-mode-map):
582 * vc/ediff-util.el (ediff-setup-keymap):
583 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
585 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
587 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
588 performance. Instead of recalculating indentation fully for each
589 line, sum up indentation depth based only on visited lines.
590 (ruby-parse-partial): Increase the depth after "do" even when END
592 (ruby-parse-partial): When END is in the middle of a percent
593 literal, increase the depth if the delimiter chars belong to the
596 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
598 * play/fortune.el (fortune-compile): Also make the compiled file
599 if it does not exist at all, not just if it is old. (Bug#5338)
601 2013-02-13 Glenn Morris <rgm@gnu.org>
603 * emacs-lisp/package.el (package-menu-execute): Doc fix.
605 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
607 * lisp/emacs-lisp/package.el (package-menu-execute):
608 Add optional noquery argument. (Bug#13625)
610 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
612 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
613 if DIR exists and PARENTS is non-nil.
615 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
617 * progmodes/js.el (js--multi-line-declaration-indentation):
618 Silence byte-compiler warning.
620 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
622 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
624 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
625 only if it doesn't exist.
627 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
630 2013-02-12 Tassilo Horn <tsdh@gnu.org>
632 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
633 UserInstallation when calling soffice to work around LibreOffice
636 2013-02-12 Glenn Morris <rgm@gnu.org>
638 * files.el (basic-save-buffer):
639 Offer to create a non-existing directory. (Bug#3016)
641 * calc/calc-graph.el (calc-graph-show-dumb):
642 * calendar/calendar.el (calendar-mode-map):
643 * cus-edit.el (custom-mode-map):
644 * ehelp.el (electric-help-map):
645 * emulation/vip.el (vip-mode-map):
646 * epa.el (epa-key-list-mode-map):
647 * info.el (Info-mode-map):
648 * mail/rmail.el (rmail-mode-map):
649 * mail/rmailsum.el (rmail-summary-mode-map):
650 * man.el (Man-mode-map):
651 * net/newst-plainview.el (newsticker-mode-map):
652 * progmodes/cpp.el (cpp-edit-mode-map):
653 * progmodes/grep.el (grep-mode-map):
654 * progmodes/idlw-help.el (idlwave-help-mode-map):
655 * simple.el (special-mode-map):
656 * startup.el (splash-screen-keymap):
657 * view.el (view-mode-map):
658 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
660 2013-02-11 Elias Pipping <pipping@lavabit.com>
662 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
665 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
667 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
669 2013-02-11 Glenn Morris <rgm@gnu.org>
671 * vc/diff.el (diff-use-labels): New variable.
672 (diff-no-select): Use --label rather than -L, and first
673 check that it is supported. (Bug#11067)
675 * files.el (enable-dir-local-variables): New variable.
676 (hack-dir-local-variables): Respect enable-dir-local-variables.
677 * tutorial.el (help-with-tutorial):
678 Ignore directory-local variables. (Bug#11127)
680 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
681 (vc-svn-global-switches): ... to here. (Bug#13513)
683 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
685 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
686 Handle "foo (bar, default: xxx): " prompts.
688 2013-02-10 Chong Yidong <cyd@gnu.org>
690 * files.el (basic-save-buffer-1): Do not set
691 buffer-file-coding-system-explicit (Bug#4533).
693 * mail/emacsbug.el (report-emacs-bug): Change binding of
694 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
696 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
698 * calc/calc.el (calc-allow-units-as-numbers): New variable.
699 * calc/calc-units.el (calc-convert-units): Use new variable.
701 2013-02-09 Eli Zaretskii <eliz@gnu.org>
703 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
705 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
708 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
709 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
710 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
711 coding-system-for-write instead.
713 * jka-compr.el (jka-compr-write-region): Don't bind
716 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
719 * files.el (file-name-buffer-file-type-alist): Remove defvar.
720 (insert-file-contents-literally): Remove reference to
721 file-name-buffer-file-type-alist.
723 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
725 (find-buffer-file-type-match, find-buffer-file-type): Remove.
726 (find-buffer-file-type-coding-system): Remove references to
727 find-buffer-file-type-match, find-buffer-file-type, and
729 Don't put find-buffer-file-type-coding-system into
730 file-coding-system-alist.
731 (find-file-binary, find-file-text): Bind coding-system-for-read
732 instead of file-name-buffer-file-type-alist.
734 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
736 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
737 converter (Bug#13622).
738 (doc-view-unoconv-program): Make obsolete alias.
739 (doc-view-odf->pdf-converter-program): New variable.
740 (doc-view-odf->pdf-converter-function): New variable.
741 (doc-view-mode-p): Use it.
742 (doc-view-odf->pdf-converter-unoconv):
743 Rename from `doc-view-odf->pdf-converter-unoconv'.
744 (doc-view-odf->pdf-converter-soffice): New function.
745 (doc-view-convert-current-doc):
746 Use `doc-view-odf->pdf-converter-function'.
748 2013-02-09 Chong Yidong <cyd@gnu.org>
750 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
751 view-echo-area-messages (Bug#13340).
753 * help.el (view-echo-area-messages): Use display-buffer.
755 * dired-x.el (dired-do-run-mail): Prompt for confirmation
758 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
760 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
761 Eval body right away, now that we do eager macroexpansion (bug#13605).
763 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
764 (fundamental-mode): Use run-mode-hooks.
766 * eshell/esh-proc.el (eshell/kill): Fix last change.
767 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
769 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
771 * eshell/esh-proc.el (eshell/kill): Rewrite.
773 * eshell/em-ls.el (show-almost-all): Declare.
774 (eshell-do-ls): Add support for -A argument.
776 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
778 * icomplete.el (icomplete-forward-completions)
779 (icomplete-backward-completions): Handle corner case (bug#13602).
781 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
783 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
784 be nil. Handle this. (Bug#13636)
786 2013-02-07 Richard Stallman <rms@gnu.org>
788 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
789 `save-buffer-coding-system'.
791 2013-02-07 Alan Mackenzie <acm@muc.de>
793 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
794 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
795 (c-parse-state-get-strategy): Don't return 'BOD any more.
796 (c-append-lower-brace-pair-to-state-cache):
797 Extra parameter HERE instead of narrowing.
798 Widen to top of buffer before searching backwards for a brace pair.
799 (c-state-push-any-brace-pair): Add HERE parameter to function call.
800 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
801 Narrow to parameter HERE, in place of being called narrowed.
802 (c-remove-stale-state-cache): Extra parameter HERE in place of
803 narrowing. Check there's an open brace in the cache before
804 searching for its match.
805 (c-invalidate-state-cache-1): Add HERE parameter to function call.
806 (c-parse-state-1): Don't narrow here for 'forward strategy,
807 instead passing extra parameter HERE to several functions.
808 Remove 'BOD strategy.
810 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
812 * emacs-lisp/package.el (describe-package-1): Tell what archive is
813 used to install the package.
815 2013-02-06 Glenn Morris <rgm@gnu.org>
817 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
818 if we can't get user input. (Bug#6567)
820 * startup.el (command-line): If simple.el is missing,
821 test and warn about for some possible causes.
823 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
825 * cus-start.el (all): Add ns-use-native-fullscreen.
827 2013-02-05 Glenn Morris <rgm@gnu.org>
829 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
831 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
832 Fix directory creation in fallback case.
834 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
836 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
837 (vc-update-change-log): Use dolist.
839 2013-02-04 Chong Yidong <cyd@gnu.org>
841 * thingatpt.el: Rewrite the URL detection routines, absorbing some
843 (thing-at-point-beginning-of-url-regexp): New var.
844 (thing-at-point-uri-schemes): Update list of URI schemes.
845 (thing-at-point-url-regexp): Variable deleted.
846 (thing-at-point-markedup-url-regexp): Disallow newlines.
847 (thing-at-point-newsgroup-regexp)
848 (thing-at-point-newsgroup-heads)
849 (thing-at-point-default-mail-uri-scheme): New variables.
850 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
851 method to find the possible bounds of the URI at point.
852 New optional argument to find ill-formed URIs.
853 (thing-at-point-url-at-point): Rewrite. New arguments for finding
854 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
855 the scheme-adding heuristics from ffap-url-at-point.
856 (thing-at-point--bounds-of-well-formed-url): New function.
857 Do parens matching to decide whether to include parens in the URI
860 * ffap.el: Require thingatpt.
861 (ffap-url-at-point): Delegate URI detection to thing-at-point.
862 All URI-valid characters are now recognized (Bug#5673).
863 (ffap-string-at-point): Use use-region-p.
864 (ffap-url-regexp): Extra character is handled by thing-at-point.
865 (ffap-string-at-point-mode-alist): Allow parentheses.
866 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
867 Convert to aliases; code moved to thingatpt.el.
868 (ffap-gnus-hook): Use setq-local.
870 2013-02-04 Glenn Morris <rgm@gnu.org>
872 * emacs-lisp/ert.el (ert--explain-format-atom):
873 Don't try to print non-characters as characters. (Bug#13543)
875 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
877 * net/tramp.el (tramp-debug-message): Extend function exclude list.
878 (tramp-backtrace): New defun.
879 (tramp-handle-insert-file-contents): Use `visit' when inserting
882 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
883 Use `remote-file-name-inhibit-cache'.
885 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
887 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
890 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
891 current-load-list (bug#13366).
893 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
896 Identify g++ template instantiation trace. (Bug#12287)
897 (compilation-mode-hook, compilation-start-hook)
898 (compilation-window-height): Simplify docstrings. (Bug#13379)
900 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
902 * mouse.el (mouse-drag-track): Always deactivate the mark before
903 running the final event's command since that command is in charge of
904 activating the mark if needed (bug#13523).
906 2013-02-02 Juri Linkov <juri@jurta.org>
908 * replace.el (perform-replace): Move let-bindings of isearch-*
909 variables deeper to the loop that searches for the next match.
910 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
911 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
914 * isearch.el (isearch-search-fun-default): Check for null
915 first element of isearch-cmds as a precaution when it's used
916 with inactive isearch.
918 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
920 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
921 error when buffer in question is narrowed so position 1 is out of
924 2013-02-02 Glenn Morris <rgm@gnu.org>
926 * textmodes/remember.el (remember-clipboard): Doc fix.
928 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
930 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
931 properties (bug#13179).
933 2013-02-02 Juri Linkov <juri@jurta.org>
935 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
936 instead of hard-coded default face `match'. (Bug#9438)
938 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
940 * vc/vc-arch.el (vc-arch-registered):
941 * vc/vc-bzr.el (vc-bzr-registered):
942 * vc/vc-cvs.el (vc-cvs-registered):
943 * vc/vc-git.el (vc-git-registered):
944 * vc/vc-hg.el (vc-hg-registered):
945 * vc/vc-mtn.el (vc-mtn-registered):
946 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
949 * info.el (Info-next-reference, Info-prev-reference): Add numeric
950 prefix argument. (Bug#11656)
952 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
954 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
956 2013-02-01 Glenn Morris <rgm@gnu.org>
958 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
959 if the backend is known not to support it.
961 * imenu.el (imenu-default-create-index-function):
962 Tweak infinite loop test to check for forward motion as well as none.
964 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
966 * net/soap-client.el (soap-invoke): Encode the string for
967 `url-request-data' as UTF-8.
968 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
970 2013-02-01 Glenn Morris <rgm@gnu.org>
972 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
974 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
976 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
978 * net/tramp.el (tramp-tramp-file-p): Comment check for
979 `string-as-unibyte'. The function does not exist on XEmacs, and
980 likely we need another approach.
982 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
983 `tramp-gw-*' variables are bound.
985 2013-01-31 Glenn Morris <rgm@gnu.org>
987 * files.el (basic-save-buffer-2): Choose coding system for
988 writing the file before backing it up, to reduce delay between
989 backing up and writing the new version. (Bug#13522)
991 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
993 * simple.el (cycle-spacing): New command.
994 (just-one-space): Use it.
996 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
998 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
999 (opascal-newline-always-indents): Remove custom.
1000 (opascal-tab, opascal-newline): Remove commands.
1001 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1002 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1003 (opascal-save-match-data): Remove, use save-match-data instead.
1004 (opascal-save-state): Use with-silent-modifications.
1006 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1009 2013-01-30 Juri Linkov <juri@jurta.org>
1011 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1012 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1013 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1015 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1018 column if we're just deleting the backslashes.
1019 (makefile-fill-paragraph): Use eolp.
1021 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1023 * autorevert.el (auto-revert-use-notify): Fix docstring.
1025 2013-01-30 Leo Liu <sdl.web@gmail.com>
1027 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1029 2013-01-30 Glenn Morris <rgm@gnu.org>
1031 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1032 unread-command-events twice in some cases. This tries to implement
1033 the 2012-07-26 changes in a different way. (Bug#13560)
1035 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1037 * progmodes/python.el
1038 (python-pdbtrack-comint-output-filter-function): Enhancements on
1039 stacktrace detection. (thanks @gnovak)
1041 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1043 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1044 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1046 (jit-lock-register): Use setq-local.
1048 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1050 * calc-units.el (math-default-units-table): Remove initial value.
1051 (calc-convert-units): Treat expressions where all the units cancel as
1052 if they didn't have units.
1054 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1056 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1057 (tramp-completion-reread-directory-timeout): Fix type.
1058 (tramp-connection-min-time-diff): New defcustom.
1060 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1062 2013-01-30 Glenn Morris <rgm@gnu.org>
1064 * imenu.el (imenu-default-create-index-function):
1065 Put back a version of the infinite loop test removed 2013-01-23.
1067 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1069 * progmodes/python.el (python-shell-parse-command):
1070 Find python-shell-interpreter with modified environment.
1072 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1076 2013-01-29 Alan Mackenzie <acm@muc.de>
1078 Amend to fontify /regexp/s in actions correctly.
1079 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1080 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1081 are no longer included.
1082 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1083 What used to be these variables without "-line" in the name.
1084 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1085 (c-awk-non-arith-op-bra-re): Now also matches {.
1086 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1087 "return", and "case".
1088 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1090 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1091 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1093 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1095 * autorevert.el (auto-revert-use-notify):
1096 Use `custom-initialize-default' for initialization. (Bug#13583)
1098 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1100 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1101 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1102 in `tramp-file-name-handler'.
1103 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1105 (tramp-compute-multi-hops): Check, whether
1106 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1108 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1110 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1113 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1115 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1116 checks made superfluous by the \_< operator.
1117 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1118 temporarily) broken indentation.
1119 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1120 Highlight nested constants, too. \_< broke that.
1122 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1127 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1129 * autorevert.el (auto-revert-handler): Notifications which result
1130 from a saved file shall not be taken into account. (Bug#13557)
1132 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1134 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1135 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1136 (lisp-mode): Pass t for it. (Bug#13556)
1138 2013-01-25 Alan Mackenzie <acm@muc.de>
1140 AWK Mode: Fix indentation bug at top level. Bug #12274.
1142 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1143 just before CASE 5D.
1145 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1147 * net/socks.el (socks-nslookup-host): Use string-to-number.
1149 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1151 * autorevert.el (auto-revert-remote-files)
1152 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1153 (auto-revert-notify-enabled, auto-revert-use-notify)
1154 (auto-revert-notify-watch-descriptor-hash-list)
1155 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1156 (auto-revert-notify-event-descriptor)
1157 (auto-revert-notify-event-action)
1158 (auto-revert-notify-event-file-name): Doc fix.
1159 (global-auto-revert-mode): Reorder checks.
1160 (auto-revert-notify-rm-watch): Respect changed values of
1161 `auto-revert-notify-watch-descriptor-hash-list'.
1162 (auto-revert-notify-add-watch): Check for
1163 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1164 `inotify-add-watch'. Watch `default-directory' instead of
1165 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1166 has a changed meaning now. (Bug#13540)
1167 (auto-revert-notify-handler): Change implementation wrt events
1168 returning from a directory.
1169 (auto-revert-handler): Reorder implementation for checks of remote
1171 (auto-revert-buffers): Fix parentheses error.
1173 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1175 * progmodes/python.el: Enhancements to header documentation about
1176 skeletons. (Bug#5716)
1178 * imenu.el (imenu-default-create-index-function): Remove useless
1179 infinite loop check. (Bug#13438)
1181 2013-01-25 Alan Mackenzie <acm@muc.de>
1183 Fix a bug in the state cache mechanism. Refactor this a bit.
1185 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1186 `cache-pos' element from the return value.
1187 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1188 buffer to enable proper searching from beyond HERE. Amend the
1189 test for detecting the sought brace pair. Amend the value written
1190 to the "brace desert cache" when the brace isn't found.
1191 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1192 and several other variables analogously.
1193 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1194 parameter to a locally calculated variable.
1195 (c-parse-state-1): Change the calling conventions to the two
1196 defuns involving `cache-pos'.
1198 2013-01-25 Chong Yidong <cyd@gnu.org>
1200 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1202 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1204 * paren.el (show-paren-function): Make sure to set 'priority and
1205 'face only if the overlay does exist.
1207 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1209 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1211 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1213 (tramp-sh-handle-set-file-acl): Improve error checking.
1215 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1217 * doc-view.el (doc-view-display): Force mode line update until all
1218 document is converted. Suggested by Stefan Monnier (Bug#13164).
1220 2013-01-23 Bastien Guerry <bzg@gnu.org>
1222 * paren.el (show-paren-function): Make sure an overlay exists
1223 before trying to delete it. Also use `pos' as a position only
1224 when it is an integer.
1226 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1228 * play/gametree.el (gametree-break-line-here): Use point-marker.
1230 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1232 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1233 Mark descriptive parts with `display' property.
1235 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1237 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1238 New variable to map standard dict names to hunspell ones.
1239 (ispell-set-spellchecker-params): Make sure specific dict names
1240 are used for standard dicts with hunspell.
1242 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1244 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1245 chars for note (%N) and url (%U).
1246 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1248 2013-01-21 Juri Linkov <juri@jurta.org>
1250 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1251 in addition to existing separate binding `meta f10' in `global-map'.
1254 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1256 Improve XEmacs compatibility.
1258 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1260 * net/tramp-adb.el (top): Require `time-date'.
1261 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1262 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1263 Use `tramp-file-name-handler'.
1264 (tramp-adb-maybe-open-connection):
1265 Use `tramp-compat-set-process-query-on-exit-flag'.
1267 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1268 Use `tramp-compat-funcall'.
1270 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1271 `tramp-compat-funcall'.
1273 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1275 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1276 reimplementation using "adb shell command ..." instead of running
1277 remote shell interactively.
1279 2013-01-20 Glenn Morris <rgm@gnu.org>
1281 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1282 Add native profiler menu entries.
1284 * profiler.el (profiler-running-p): New function.
1285 (profiler-cpu-profile): Use profiler-running-p.
1286 (profiler-report-mode-map): Add some more menu entries.
1288 2013-01-19 Glenn Morris <rgm@gnu.org>
1290 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1291 fixes 2012-12-07 change. (Bug#13499)
1293 2013-01-19 Leo Liu <sdl.web@gmail.com>
1295 * dired.el (dired-get-marked-files): Prune erroneous values due to
1296 last change. (Bug#13152)
1298 2013-01-19 Glenn Morris <rgm@gnu.org>
1300 * progmodes/etags.el (tags-table-check-computed-list):
1301 Preserve point in tags buffer. (Bug#13412)
1303 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1305 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1306 Chong Yidong <cyd@gnu.org>
1308 * image-mode.el (image-next-file, image-previous-file):
1309 New commands (Bug#8453).
1310 (image-mode-map): Bind them to n and p.
1311 (image-mode--images-in-directory): New helper function.
1313 2013-01-19 Chong Yidong <cyd@gnu.org>
1315 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1316 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1317 save and restore the old window configuration.
1319 2013-01-18 Leo Liu <sdl.web@gmail.com>
1321 * progmodes/js.el: Tweak autoload cookie for alias.
1323 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1325 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1326 buffer local, again. This was lost with the fix on 2013-01-12.
1328 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1330 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1331 order to support several eshell buffers in parallel.
1333 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1335 * autorevert.el (auto-revert-use-notify): In the :set function, do
1336 not modify `kill-buffer-hook'.
1337 (auto-revert-notify-rm-watch):
1338 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1339 (auto-revert-notify-add-watch): Do not call
1340 `auto-revert-notify-rm-watch', but add it to a buffer local
1343 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1345 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1346 call to `eval' rather than a backquoted lambda.
1348 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1351 to return an explicit nil.
1352 (advice--remove-function): Change accordingly.
1354 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1355 the use of nadvice.el.
1357 * progmodes/which-func.el (which-function): Silence imenu errors
1360 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1362 * progmodes/sql.el: (sql-imenu-generic-expression):
1363 (sql-mode-font-lock-object-name): Match schema qualified names.
1364 (sql-connect): Use string keys.
1365 (sql-product-interactive): Wait for interpreter prompt.
1366 (sql-comint-oracle): Set process coding based on NLS_LANG.
1368 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1370 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1371 (sql-interactive-remove-continuation-prompt):
1372 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1374 2013-01-14 Leo Liu <sdl.web@gmail.com>
1376 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1379 2013-01-14 Glenn Morris <rgm@gnu.org>
1381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1382 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1384 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1386 * progmodes/python.el (python-nav-end-of-statement):
1387 Fix cornercase when handling multiline strings.
1389 2013-01-13 Richard Stallman <rms@gnu.org>
1391 * mail/sendmail.el (mail-position-on-field): Add doc string.
1393 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1394 Get current message boundaries and pass them to
1395 message-forward-make-body-mime. Minor style changes.
1397 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1399 * cus-start.el (all): Avoid warnings about
1400 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1402 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1404 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1406 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1409 (jit-lock--debug-fontifying): New var.
1410 (jit-lock--debug-fontify): New function.
1411 * subr.el (condition-case-unless-debug): Don't prevent catching the
1412 error, just let the debbugger run.
1413 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1414 timer code and don't drop errors silently.
1416 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1418 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1419 `permanent-local' property.
1420 (auto-revert-notify-handler): Use `file-equal-p'.
1422 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1424 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1425 file notification by ACTION. For filtering by file name, compare
1426 only the non-directory part of the file name.
1428 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * autorevert.el: Use cl-lib instead of cl.
1432 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1433 (vc-bzr-checkin): Use it.
1434 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1435 will preserve match-data.
1437 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1439 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1440 (js--declaration-keyword-re): New var.
1441 (js--multi-line-declaration-indentation): New function.
1442 (js--proper-indentation): Use it.
1444 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1446 * calc/calc.el (calc-highlight-selections-with-faces)
1448 * comint.el (comint-history-isearch-message):
1449 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1450 * ffap.el (ffap-string-at-point-region, ffap-next)
1451 (ffap-string-at-point, ffap-string-around)
1452 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1454 * font-lock.el (font-lock-keywords-alist)
1455 (font-lock-removed-keywords-alist):
1456 * help-mode.el (help-xref-symbol-regexp):
1457 * info.el (Info-find-emacs-command-nodes):
1458 * international/mule.el (add-to-coding-system-list):
1459 * isearch.el (isearch-message-function, isearch-fail-pos):
1460 * misearch.el (multi-isearch-next-buffer-function):
1461 * newcomment.el (comment-box):
1462 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1463 (pr-setting-database):
1464 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1465 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1466 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1467 (pike-font-lock-keywords-3):
1468 * progmodes/compile.el (compile):
1469 * progmodes/etags.el (tags-table-files)
1470 (tags-table-files-function, tags-included-tables-function):
1471 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1472 (gdb-restore-windows):
1473 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1474 (ps-n-up-filling-database):
1475 * server.el (server-buffer, server-log):
1476 * simple.el (newline, delete-backward-char, delete-forward-char)
1477 (minibuffer-history-isearch-message, kill-line, track-eol)
1478 (temporary-goal-column):
1479 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1480 (flyspell-default-deplacement-commands):
1481 * textmodes/ispell.el (ispell-accept-output):
1482 * textmodes/sgml-mode.el (html-tag-help):
1483 * vc/compare-w.el (compare-ignore-whitespace)
1484 (compare-ignore-case, compare-windows-dehighlight):
1485 * vc/diff.el (diff):
1486 * whitespace.el (whitespace-point)
1487 (whitespace-font-lock-refontify, whitespace-bob-marker)
1488 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1490 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1492 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1493 (auto-revert-notify-rm-watch): Ignore errors.
1494 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1495 inotify, and '(size last-write-time) for w32notify.
1496 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1497 watch fails - this is a fallback to the file modification check.
1498 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1499 (auto-revert-notify-event-action)
1500 (auto-revert-notify-event-file-name): New defuns.
1501 (auto-revert-notify-handler): Use them. Implement first
1502 plausibility checks.
1503 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1505 2013-01-11 Julien Danjou <julien@danjou.info>
1507 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1508 max are almost equal. Also return the correct value for V which is
1509 already between 0 and 1.
1511 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1513 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1515 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1517 * autorevert.el (auto-revert-notify-rm-watch)
1518 (auto-revert-notify-add-watch): Fix typos in w32notify function
1521 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1523 * autorevert.el (auto-revert-notify-enabled): Move up.
1524 (auto-revert-use-notify): New defcustom.
1525 (auto-revert-mode, global-auto-revert-mode)
1526 (auto-revert-notify-add-watch, auto-revert-handler)
1527 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1528 `auto-revert-notify-enabled'.
1530 2013-01-10 Elias Pipping <pipping@exherbo.org>
1532 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1533 * doc-view.el (doc-view-document->bitmap):
1534 Use doc-view-single-page-converter-function instead of
1535 single-page-converter arg; adjust callers.
1537 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1539 * progmodes/which-func.el (which-function): Understand Semantic's use
1540 of overlays in imenu--index-alist.
1542 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1544 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1545 (Man-man-k-use-anchor): New var.
1546 (Man-parse-man-k): New function.
1547 (Man-completion-table): Use it.
1548 (man): Flush the completion cache between uses.
1550 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1552 * autorevert.el: Add file watch support.
1553 (auto-revert-notify-enabled): New defconst.
1554 (auto-revert-notify-watch-descriptor-hash-list)
1555 (auto-revert-notify-watch-descriptor)
1556 (auto-revert-notify-modified-p): New defvars.
1557 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1558 (auto-revert-notify-handler): New defuns.
1559 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1560 when mode is disabled.
1561 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1562 (auto-revert-buffers): Add file watches for active buffers.
1564 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1566 * cus-start.el (toplevel): Only allow float values for
1567 scroll-up-aggressively and scroll-down-aggressively.
1568 Allow any number for line-spacing.
1570 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1573 (doc-view-pdf->png-converter-function): Use mupdf if available.
1574 (doc-view-djvu->png-converter-function)
1575 (doc-view-ps->png-converter-function): Remove.
1576 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1577 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1578 (doc-view-already-converted-p): Adjust accordingly.
1579 (doc-view-mode-p): Simplify.
1580 (doc-view-enlarge): Use setq-local.
1581 (doc-view-pdf->png-converter-ghostscript)
1582 (doc-view-djvu->png-converter-ddjvu)
1583 (doc-view-pdf->png-converter-mupdf): Rework to call
1584 doc-view-start-process directly.
1585 (doc-view-pdf/ps->png): Simplify accordingly.
1586 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1587 (doc-view-document->bitmap): Rename from doc-view-document->png.
1588 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1589 (doc-view-set-slice-from-bounding-box): Fix completion table.
1590 (doc-view-mode): Use add-hook for after-revert-hook.
1592 2013-01-10 Glenn Morris <rgm@gnu.org>
1594 * emacs-lisp/authors.el (authors-ignored-files)
1595 (authors-valid-file-names, authors-renamed-files-alist):
1596 Add some more entries.
1598 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1600 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1601 `t' pseudo-window entry.
1603 2013-01-10 Alan Mackenzie <acm@muc.de>
1605 Fix bugs in the c-parse-state mechanism. Reuse some markers
1606 instead of continually generating new ones.
1608 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1609 (c-state-old-cpp-end-marker): New variables.
1610 (c-append-lower-brace-pair-to-state-cache): Start a backward
1611 search for "}" definitively outside CPP constructs.
1612 (c-remove-stale-state-cache): Inform the caller of a need to
1613 search back for a brace pair in certain circumstances.
1614 (c-state-maybe-marker): New macro.
1615 (c-parse-state): Reuse markers when appropriate.
1617 2013-01-10 Glenn Morris <rgm@gnu.org>
1619 * simple.el (execute-extended-command): Doc fix.
1620 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1622 2013-01-10 Chong Yidong <cyd@gnu.org>
1624 * faces.el (read-face-name): Doc fix.
1626 2013-01-10 Roland Winkler <winkler@gnu.org>
1628 * emacs-lisp/crm.el: Allow any regexp for separators.
1629 (crm-default-separator): All spaces around the default comma separator.
1630 (crm--completion-command): New macro.
1631 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1632 (crm-complete-and-exit): Handle non-single-char separators.
1634 2013-01-09 Elias Pipping <pipping@lavabit.com>
1636 * doc-view.el: Add support for DjVu (bug#13164).
1637 (doc-view-djvu->png-converter-function): New config var.
1638 (doc-view-single-page-converter-function, doc-view--image-type)
1639 (doc-view--image-file-extension): New vars.
1640 (doc-view-mode): Initialize them.
1641 (doc-view-goto-page): Use them.
1642 (doc-view-mode-p): Add support for ddjvu.
1643 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1644 (doc-view-set-up-single-converter): New funs.
1645 (doc-view-pdf/ps->png): Extend for djvu.
1646 (doc-view-document->png): Rename from doc-view-pdf->png.
1647 (doc-view-convert-current-doc): Handle djvu.
1648 (doc-view-insert-image, doc-view-display)
1649 (doc-view-already-converted-p): Don't hardcode png.
1650 (doc-view-set-doc-type): Recognize djvu docs.
1652 2013-01-09 Elias Pipping <pipping@lavabit.com>
1654 * doc-view.el: Add support for mupdf converter (bug#13164).
1655 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1656 (doc-view-ps->png-converter-function): New config vars.
1657 (doc-view-pdf->png-converter-ghostscript)
1658 (doc-view-ps->png-converter-ghostscript)
1659 (doc-view-pdf->png-converter-mupdf): New functions.
1660 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1662 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1664 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1665 first in session cache: When `tramp-own-remote-path' is in
1666 `tramp-remote-path', the remote path is only set in the session
1669 2013-01-09 Glenn Morris <rgm@gnu.org>
1671 * emacs-lisp/trace.el (trace-function-foreground)
1672 (trace-function-background): Doc fix.
1674 2013-01-09 Juri Linkov <juri@jurta.org>
1676 * international/mule-cmds.el (read-char-by-name): Move let-binding
1677 of completion-ignore-case around completing-read to fix regression
1678 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1679 `string-match-p' using the nil value of `case-fold-search' and
1680 `completion-ignore-case' in `completion-pcm--all-completions'.
1683 2013-01-09 Glenn Morris <rgm@gnu.org>
1685 * progmodes/compile.el (compilation-parse-errors):
1686 Fix typo. (Bug#13369)
1688 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1690 * comint.el (comint-send-input): Check size of buffer before
1691 waiting for process output, in case already accepted. (Bug#13290)
1693 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1696 * net/tramp-adb.el (tramp-adb-get-toolbox):
1697 Fix misspelling of 'unknown'.
1699 2013-01-08 Juri Linkov <juri@jurta.org>
1701 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1702 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1703 Use underline style wave on terminals that support it. (Bug#13000)
1705 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1707 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1708 the predicate returns nil.
1710 * simple.el: Use lexical-binding.
1711 (primitive-undo): Use pcase.
1712 (minibuffer-history-isearch-push-state): Use a closure.
1714 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1716 * simple.el (primitive-undo): Move from undo.c.
1718 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1721 (cvs-mode-remove-handled): Use it (bug#13380).
1723 * emacs-lisp/nadvice.el (advice--tweak): New function.
1724 (advice--remove-function, advice--subst-main): Use it.
1726 * emacs-lisp/advice.el: Update commentary.
1728 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1730 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1731 Remove spurious entry.
1733 2013-01-08 Glenn Morris <rgm@gnu.org>
1735 * net/tramp.el (tramp-default-host-alist): Add :version.
1737 2013-01-08 Juri Linkov <juri@jurta.org>
1739 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1740 single completion. (Bug#12456)
1741 (info--manual-names): Expand node completions into an explicit list
1742 before appending it to another list. Filter out internal buffers
1743 with the leading space in the buffer name. (Bug#10771)
1745 2013-01-08 Juri Linkov <juri@jurta.org>
1747 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1748 that defaults to the Top node.
1749 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1750 the short format (FILENAME) goes to the Top node.
1751 (Info-build-node-completions): Rename arg `file' to `filename'.
1754 2013-01-07 Bastien Guerry <bzg@gnu.org>
1756 * menu-bar.el (menu-bar-search-documentation-menu):
1757 Use `apropos-user-option' and fix the help message.
1759 2013-01-07 Bastien Guerry <bzg@gnu.org>
1761 * apropos.el (apropos-do-all): Update docstring.
1762 (apropos-user-option-button): New face.
1763 (apropos-user-option): Rename from `apropos-variable' and update
1765 (apropos-variable): Rewrite, now show all variables by default.
1766 (apropos-print): Mention "User option" instead of "Variable" when
1767 printing doc for user options. (Bug#13276)
1769 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1771 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1772 Handle filename correctly, when parsing "source -> target" symlink
1774 (tramp-adb-handle-set-file-times): New defun.
1776 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1779 advice list when the interactive-spec of ad-Advice-* changes.
1781 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1783 * wid-edit.el (widget-default-get): Work for inlined elements.
1786 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1788 * net/tramp.el (tramp-default-host-alist): New defcustom.
1789 (tramp-find-host): Use it.
1790 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1791 `eshell-directory-change-hook'.
1793 * net/tramp-adb.el (top): Add adb specific entry in
1794 `tramp-default-host-alist'.
1795 (tramp-adb-file-name-host): Remove function.
1796 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1797 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1799 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1801 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1803 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1805 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1807 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1808 consist of more than one digit.
1809 (tramp-adb-file-name-handler-alist):
1810 Use `tramp-handle-file-exists-p' consistently.
1811 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1812 (tramp-adb-handle-file-exists-p): Remove function.
1813 (tramp-adb-file-name-host): New defun.
1814 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1816 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1818 2013-01-06 Chong Yidong <cyd@gnu.org>
1820 * vc/vc.el (vc-next-action): Detect buffer modifications
1821 conflicting with locking VCS operation (Bug#11490).
1823 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1825 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1827 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1828 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1830 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1832 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1833 parsing of ls output using regular expression (handle filenames
1834 with spaces). Use virtual device number.
1835 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1838 2013-01-04 Daiki Ueno <ueno@gnu.org>
1840 * epg.el: Silence byte-compiler warnings.
1841 (epg--start): Use delete-char instead of delete-backward-char.
1842 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1844 2013-01-04 Daiki Ueno <ueno@gnu.org>
1846 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1847 Suggested by Eli Zaretskii <eliz@gnu.org>.
1849 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1851 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1852 non-negative integers. Otherwise, the default values are used.
1853 (tramp-convert-file-attributes): Convert uid and gid to integers.
1855 2013-01-04 Glenn Morris <rgm@gnu.org>
1857 * term.el (term-handle-colors-array): Ensure face attributes
1858 are fully specified, not nil. (Bug#13337)
1860 * term.el (term-default-fg-color, term-default-bg-color):
1863 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1864 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1865 rather than 'jka-compr being loaded. (Bug#13338)
1867 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1869 * icomplete.el (icomplete-completions):
1870 Honor icomplete-prospects-height once more following
1871 2012-11-29 changes. (Bug#13224)
1873 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1876 of called-interactively-p as well (bug#13237).
1878 * view.el (view--enable, view--disable): Rename from view-mode-enable
1879 and view-mode-disable and assume it's called from view-mode.
1880 (view-mode-enable, view-mode-disable): Redefine as obsolete
1881 compatibility layer above view-mode.
1882 (view-mode-enter): Call `view-mode'.
1884 * files.el (after-find-file): Call `view-mode'.
1886 * doc-view.el (doc-view-scale-internally): New var.
1887 (doc-view-enlarge, doc-view-insert-image): Obey it.
1889 2013-01-03 Daiki Ueno <ueno@gnu.org>
1891 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1894 2013-01-03 Glenn Morris <rgm@gnu.org>
1896 * mail/rmail.el (rmail-set-header-1): Ignore case.
1897 Handle multi-line headers. (Bug#13330)
1899 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1900 Handle paragraph starting at beginning of buffer.
1902 * subr.el (eval-after-load): Don't purecopy the form, so that it
1903 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1905 * emacs-lisp/byte-run.el (defun): Place cl declarations
1906 after any interactive spec. (Bug#13265)
1908 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1910 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1911 defun. Don't check for DECL if DOCSTRING isn't a string.
1914 2013-01-02 Glenn Morris <rgm@gnu.org>
1916 * eshell/em-cmpl.el (eshell-pcomplete):
1917 More thoroughly imitate pcomplete. (Bug#13293)
1919 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1920 Return nil for empty path elements. (Bug#13296)
1922 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1924 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1925 order to improve efficiency (Based on Daniel Colascione's
1926 <dancol@dancol.org> patch). (Bug#13182)
1928 2013-01-02 Glenn Morris <rgm@gnu.org>
1930 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1932 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1934 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1935 neither DOCSTRING nor DECL was given. (Bug#13316)
1937 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1939 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1941 (tramp-do-copy-or-rename-file): Ignore errors when calling
1942 `set-file-extended-attributes'.
1944 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1945 Add handler for `file-acl'.
1946 (tramp-smb-handle-file-acl): New defun.
1948 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1950 * calc/README: Mention ISO 8601 week-numbering dates.
1952 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1954 * view.el (view-mode-enable): New argument run-view-mode-hook.
1955 Run view-mode-hook only when it's non-nil (Bug#13315).
1956 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1959 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1961 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1962 (No device connected, invalid device name). (Bug #13299)
1964 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1966 * window.el (window-resizable--p): Rename to window-resizable-p.
1967 (window-resize-no-error): New function.
1969 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1970 broken in fix from 2012-12-28.
1972 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * subr.el (special-form-p): Don't signal errors on undef aliases.
1976 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1978 * calc/calc-forms.el (math-parse-date): Try using
1979 `math-parse-iso-date' when it looks like it might be needed.
1980 Allow times of 24:00.
1981 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1984 2012-12-30 Glenn Morris <rgm@gnu.org>
1986 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1987 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1988 (rmail-summary-displayed, rmail-summary): Declare.
1989 (mairix-rmail-display): Just require rmail.
1991 2012-12-30 Chong Yidong <cyd@gnu.org>
1993 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1994 check for the tarball contents.
1996 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1998 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1999 tarfile content listings (Bug#13136).
2001 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2003 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2004 Insert the undecoded text of the message being forwarded. (Bug#9521)
2006 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2008 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2009 integers, if they are real numbers. (Bug#13282)
2011 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2012 Return `t' on success.
2014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2015 Add handler for `set-file-selinux-context'.
2017 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2019 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2020 (tramp-sh-handle-set-file-acl): Return `t' on success.
2022 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2024 * files.el (backup-buffer-copy, basic-save-buffer-2):
2025 If set-file-extended-attributes fails, fall back on set-file-modes
2026 instead of signaling an error. (Bug#13298)
2027 (basic-save-buffer): Likewise.
2029 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2031 * progmodes/python.el: Support other commands triggering
2032 python-indent-line so indentation cycling continues to work.
2033 (python-indent-trigger-commands): New defcustom.
2034 (python-indent-line): Use it.
2036 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2038 * progmodes/python.el (python-shell-send-region): Add blank lines
2039 for non sent code so backtraces remain correct.
2041 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2043 * progmodes/python.el: Remove cl dependency.
2044 (python-syntax-count-quotes): Replace incf call.
2045 (python-fill-string): Replace setf call.
2047 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2049 * info.el (info-other-window): New arg, for consistency with info.
2051 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2053 * mail/rmail.el (rmail-maybe-display-summary):
2054 Rewrite (Bug#13066).
2056 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2058 * epg.el (epg--start): Modify process-environment locally.
2060 2012-12-28 Daiki Ueno <ueno@gnu.org>
2062 * epg.el: Support pinentry-curses.
2063 Suggested by Werner Koch in
2064 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2065 (epg-agent-file, epg-agent-mtime): New variable.
2066 (epg--start): Record the modified time of gpg-agent socket file,
2067 to restore Emacs frame after pinentry-curses termination.
2068 (epg-wait-for-completion): Restore Emacs frame here.
2070 2012-12-27 Juri Linkov <juri@jurta.org>
2072 * info.el (Info-file-completions): New variable.
2073 (Info-read-node-name-1): Complete node names in the Info file
2074 when a file name is given. Call `Info-build-node-completions'
2076 (Info-build-node-completions): Add new arg `file'. When it is
2077 non-nil, visit it in a temporary buffer and cache its completions in
2078 `Info-current-file-completions'. Move most of the function body to
2079 `Info-build-node-completions-1'.
2080 (Info-build-node-completions-1): New function with the body from
2081 `Info-build-node-completions'. (Bug#12456)
2083 2012-12-27 Juri Linkov <juri@jurta.org>
2085 * frame.el (frame-maximization-style): Remove user option.
2086 (cycle-frame-maximized): Remove function.
2087 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2088 (toggle-frame-fullscreen): New command bound to <f11> instead of
2089 `toggle-frame-maximized'.
2090 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2092 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2094 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2096 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2098 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2099 for `file-accessible-directory-p'. (Bug#13275)
2101 2012-12-27 Sam Steingold <sds@gnu.org>
2103 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2104 continuations, see <http://stackoverflow.com/questions/3582436>.
2106 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2108 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2109 "module" and "def" to have indentation before them.
2110 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2112 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2114 2012-12-27 Alan Mackenzie <acm@muc.de>
2116 Speed up fontification where there's large brace blocks.
2117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2118 to a call of c-beginning-of-decl-1.
2120 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2122 * comint.el (comint-adjust-window-point): New function.
2123 (comint-postoutput-scroll-to-bottom):
2124 Call comint-adjust-window-point (Bug#13248).
2126 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2128 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2130 (auto-mode-alist): Associate .gemspec files with ruby-mode
2131 (https://bugs.ruby-lang.org/issues/5453).
2133 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2135 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2136 Suppress coloring, if possible (required for BusyBox based systems like
2138 (tramp-adb-handle-file-attributes)
2139 (tramp-adb-handle-insert-directory)
2140 (tramp-adb-handle-file-name-all-completions): Use it.
2141 (tramp-adb-get-toolbox): New defun. Check for remote shell
2142 implementation (BusyBox or Toolbox).
2144 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2146 * startup.el (initial-buffer-choice): Allow function as value
2148 (command-line-1): Handle case where initial-buffer-choice
2149 specifies a function.
2150 * server.el (server-execute): Handle case where
2151 initial-buffer-choice specifies a function.
2153 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2155 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2157 (smtpmail-try-auth-methods): Forget the user name/password if the
2158 login is unsuccessful (bug#12424).
2160 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2162 * notifications.el (notifications-notify): Protect body with
2163 `with-demoted-errors'.
2165 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2166 Check properties of remote device. Restart connection, if there is a
2169 2012-12-21 Chong Yidong <cyd@gnu.org>
2171 * sort.el (sort-subr): Doc fix (Bug#13056).
2173 2012-12-21 Bastien Guerry <bzg@gnu.org>
2175 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2177 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2179 * simple.el (process-file): Overwrite stderr file, if exists.
2181 2012-12-21 Daiki Ueno <ueno@gnu.org>
2183 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2184 (epg-error): Set `error-message' property.
2186 2012-12-21 Chong Yidong <cyd@gnu.org>
2188 * international/mule-cmds.el (read-char-by-name): Signal an error
2189 if the user does not supply a valid character (Bug#13177).
2191 * simple.el (transpose-subr-1): Preserve marker positions by
2192 changing the insertion sequence (Bug#13122).
2194 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2196 * simple.el (kill-region): Deactivate mark even for empty regions
2199 2012-12-21 Chong Yidong <cyd@gnu.org>
2201 * help-fns.el (describe-variable): Make sure we get the right
2202 buffer name (Bug#13105). Suggested by Kelly Dean.
2204 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2206 * comint.el (comint-redirect-previous-input-string): New variable.
2207 (comint-redirect-setup, comint-redirect-cleanup)
2208 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2209 (comint-redirect-preoutput-filter): Fix verbose message.
2211 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2213 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2214 is too long for Tramp. See discussion in
2215 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2217 * progmodes/compile.el (compilation-start): Remove line escape
2220 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2222 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2225 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2227 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2228 following non-comment text (bug#13207).
2229 (lm-header-multiline): Continuation lines need to be indented more than
2231 (lm-homepage): New function.
2232 (lm-with-file): Don't be confused if narrowing is in effect.
2234 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2237 very beginning of a hunk (e.g. killing the first line).
2239 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2241 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2242 and text properties from returned ACL string.
2243 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2244 for "setfacl" command.
2246 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2248 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2249 `tramp-cleanup-this-connection', when the process has died.
2252 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2256 2012-12-17 Kevin Ryde <user42@zip.com.au>
2258 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2260 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2262 Add support for preserving ACL entries of files.
2264 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2265 `set-file-acl' handlers.
2267 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2268 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2270 * net/tramp-compat.el (tramp-compat-copy-file):
2271 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2273 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2274 Add `file-acl' and `set-file-acl' handlers.
2275 (tramp-gvfs-handle-copy-file):
2276 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2277 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2280 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2281 Add `file-acl' and `set-file-acl' handlers.
2282 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2283 (tramp-sh-handle-set-file-acl): New defuns.
2284 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2285 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2287 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2288 Add `file-acl' and `set-file-acl' handlers.
2289 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2291 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2293 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2294 use pop-to-buffer with NORECORD argument t. As buffer name, use
2295 *Metahelp* with a leading space (Bug#13190).
2297 2012-12-16 Romain Francoise <romain@orebokech.com>
2299 * files.el (file-extended-attributes)
2300 (set-file-extended-attributes): New functions.
2301 (backup-buffer): Use them to handle both SELinux context and ACL
2303 (backup-buffer-copy): Work with an alist of extended attributes,
2304 rather than an SELinux context.
2305 (basic-save-buffer-2): Ditto.
2307 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2309 * battery.el (battery-bsd-apm): New function.
2311 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2313 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2314 standard date formats.
2316 2012-12-15 Juri Linkov <juri@jurta.org>
2318 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2319 `isearch-insert-char-by-name'.
2320 (with-isearch-suspended): New defmacro with body mostly from
2321 `isearch-edit-string' except the part that sets
2322 `isearch-new-string' and `isearch-new-message'.
2323 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2324 body that sets `isearch-new-string' and `isearch-new-message'.
2325 (isearch-insert-char-by-name): New command.
2326 * international/mule-cmds.el (read-char-by-name): Let-bind
2327 `enable-recursive-minibuffers' to t.
2328 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2330 2012-12-15 Juri Linkov <juri@jurta.org>
2332 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2335 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2337 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2338 the prompt. (Bug#13045)
2340 2012-12-14 Glenn Morris <rgm@gnu.org>
2342 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2343 Try to include filename in non-bytecomp warning. (Bug#13132)
2345 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2347 Fix permissions bugs with setgid directories etc. (Bug#13125)
2348 * files.el (backup-buffer): Don't rely on 9th output of
2349 file-attributes, as it's now a placeholder. Instead, use the new
2350 optional arg of file-ownership-preserved-p.
2351 (file-ownership-preserved-p): New optional arg GROUP.
2352 Fix mishandling of setuid directories that would cause this
2353 function to return t when it should have returned nil.
2354 Document what happens if the file does not exist, and when
2355 it's not known whether the ownership will be preserved.
2356 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2358 (tramp-get-local-gid): Use group-gid for integer, as that's
2359 faster and more reliable.
2361 2012-12-14 Julien Danjou <julien@danjou.info>
2363 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2364 Update keywords list, data type and PL/pgSQL.
2366 2012-12-14 Dave Abrahams <dave@boostpro.com>
2368 * vc/ediff-util.el (ediff-buffer-type): New function.
2369 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2370 rather than taking it as as argument.
2371 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2373 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2375 * json.el: Add pretty-print option (bug#12634).
2376 (json-encoding-separator, json-encoding-default-indentation)
2377 (json--encoding-current-indentation, json-encoding-pretty-print)
2378 (json-encoding-lisp-style-closings): New vars.
2379 (json--with-indentation): New macro.
2380 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2381 (json-encode-array): Use it to obey json-encoding-pretty-print.
2382 (json-pretty-print-buffer, json-pretty-print): New commands.
2384 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2386 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2387 Extract `ruby-syntax-propertize-expansions'.
2388 (ruby-syntax-propertize-expansions): Only change syntax on
2389 certain string delimiters, to punctuation. This way the common
2390 functions like forward-word and thing-at-point still work.
2391 (ruby-match-expression-expansion): Improve readability.
2392 (ruby-block-contains-point): New function.
2393 (ruby-add-log-current-method): Handle several edge cases.
2395 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2397 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2398 unload-feature finishes even when aborting an ongoing edebug session.
2399 Also, do not worry about edebug-mode, unload-feature takes care of it.
2401 2012-12-13 Andreas Schwab <schwab@suse.de>
2403 * net/tls.el (tls-program): Update customize type.
2405 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2407 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2408 (edebug-setup-hook, cl-read-load-hooks): Use it.
2409 (edebug-unload-function): New function. (Bug#13163)
2411 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2413 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2414 Otherwise, there could be errors in autoloading. (Bug#13151)
2416 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2418 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2421 2012-12-13 Alan Mackenzie <acm@muc.de>
2423 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2424 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2425 around `forward-comment' not recognizing ^M as whitespace.
2427 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2429 * progmodes/python.el (python-skeleton-class)
2430 (python-skeleton-def): Do not add space after defun name.
2432 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2434 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2435 (cl--symbol-function): Remove (now that funbound is like nil).
2437 2012-12-12 Glenn Morris <rgm@gnu.org>
2439 * button.el (button--area-button-p): Fix typo.
2441 2012-12-12 Sam Steingold <sds@gnu.org>
2443 * frame.el (frame-maximization-style): New user option.
2444 (toggle-frame-maximized): Toggle frame maximization according to
2445 `frame-maximization-style', bound to <f11>.
2446 (cycle-frame-maximized): Cycle between all maximization styles and
2447 non-maximized frame, bound to shift-<f11>.
2449 2012-12-12 David Cadé <codename68@gmail.com>
2451 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2453 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2455 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2456 (eieio-override-prin1): Don't quote kewords and booleans.
2457 (object-write) <eieio-default-superclass>: Don't put closing parens
2458 on new line, avoid needless empty lines, align values that are objects
2459 with the slot keyword (instead of beginning on the same line).
2460 (eieio-list-prin1): Align value with slot keyword; increase
2461 eieio-print-depth before printing members of the list.
2463 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2465 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2466 a display text-property.
2467 (report-emacs-bug-hook): Don't bother deleting it any more.
2469 * hilit-chg.el (highlight-save-buffer-state): Delete.
2470 Use with-silent-modifications instead.
2471 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2473 * button.el: Handle buttons in display text-properties.
2474 (button--area-button-p, button--area-button-string):
2475 Use (STRING . STRING-POS) representation instead of just STRING.
2477 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2479 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2480 subdirectory be skipped.
2482 2012-12-11 Glenn Morris <rgm@gnu.org>
2484 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2486 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2487 Treat preprocessor lines embedded in continuations like comments.
2488 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2490 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2492 * calc/calc.el (calc-standard-date-formats): Add more date
2494 * calc/calc-forms.el (math-parse-iso-date): New function.
2495 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2496 (math-parse-iso-date-validate): Add extra error checking.
2497 (calc-date-notation): Add ability to access new date formats.
2499 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2501 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2502 font-lock as well as when there's no text-property.
2504 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2506 * hi-lock.el: Refine the choice of default face.
2507 (hi-lock-keyword->face): New function. Use it wherever we used
2509 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2510 (hi-lock--last-face): Remove var.
2511 (hi-lock--unused-faces): New var to replace it.
2512 (hi-lock-read-face-name): Use/maintain it.
2513 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2514 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2515 if it has another face.
2517 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2519 * subr.el (w32notify-handle-event): New function.
2520 (inotify-handle-event): Doc fix.
2522 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2524 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2526 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2528 * simple.el (just-one-space): Doc fix.
2530 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2532 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2534 2012-12-10 Le Wang <l26wang@gmail.com>
2536 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2537 narrowed buffer (bug#12361).
2539 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2541 * vc/vc-hooks.el (vc-state): Doc fix.
2543 2012-12-10 Glenn Morris <rgm@gnu.org>
2545 * mail/rmail.el (rmail-maybe-display-summary):
2546 Preserve buffer, in case select-window changes it. (Bug#13066)
2548 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2551 cl-load-hook where they belong.
2553 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2557 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2559 Parallelize byte compilation on MS-Windows.
2560 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2561 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2562 (WINS_BASIC): Define as concatenation of the above.
2563 (compile): Subdivide into 4 separate and independent jobs that can
2565 (compile0-CMD, compile0-SH): New targets for compiling
2566 COMPILE_FIRST files, which are prerequisites for the rest of the
2568 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2569 New targets for parallel compilation with cmd.exe.
2570 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2571 compiling under a Unixy shell.
2573 2012-12-09 Chong Yidong <cyd@gnu.org>
2575 * simple.el (set-mark-default-inactive): Delete this
2576 accidentally-introduced option.
2577 (set-mark-command, exchange-point-and-mark): Remove calls.
2579 2012-12-09 Glenn Morris <rgm@gnu.org>
2581 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2582 Respect a defcustom's :set function, if appropriate. (Bug#109)
2583 (eval-defun): Doc fix.
2585 2012-12-08 Juri Linkov <juri@jurta.org>
2587 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2588 (Info-fontify-node, Info-bookmark-make-record): Remove the
2589 file extension from Info-current-file (Bug#13016).
2591 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2593 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2594 point, still provide some default.
2595 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2596 names, since we don't use it right now. Actually return the list.
2597 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2599 2012-12-07 Chong Yidong <cyd@gnu.org>
2601 * novice.el (disabled-command-function): Remove a spurious help
2602 xref (Bug#13043). Suggested by Kelly Dean.
2604 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2605 syntax is specified (Bug#13025).
2607 * info.el (Info-set-mode-line): Remove the file extension from
2608 Info-current-file if there is one (Bug#13016).
2610 2012-12-07 Glenn Morris <rgm@gnu.org>
2612 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2613 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2614 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2615 and rmail-mime-decoded. (Bug#9841)
2617 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2618 (batch-unrmail, unrmail): Doc fixes.
2619 (unrmail): Respect unrmail-mbox-format.
2620 * mail/rmail.el (rmail-mbox-format): New option.
2621 (rmail-show-message-1): Respect rmail-mbox-format.
2623 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2625 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2627 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2629 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2630 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2631 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2632 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2633 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2634 (cl-progv): Don't rely on dynamic scoping to find the body.
2635 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2636 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2637 (cl-declaim): Use backquotes.
2638 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2639 Use "cl--" prefix for the object's tag.
2641 * ses.el: Use advice-add/remove.
2642 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2643 (copy-region-as-kill, yank): Use advice-add.
2644 (ses-unload-function): Use advice-remove.
2646 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2648 * button.el: Make them work in header-lines (bug#12817).
2649 (button-map): Add bindings for header-line and mode-line use.
2650 (button-get, button-put, button-label): `button' may now be a string.
2651 (button-activate): Don't make it a defsubst.
2652 (button--area-button-p, button--area-button-string): New functions.
2653 (make-text-button): Fix the return value when `beg' was a string.
2654 (push-button): Handle the mode-line case.
2656 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2659 (sql-signum): Remove. Use `cl-signum' instead.
2660 (sql-read-passwd): Remove; use read-passwd instread.
2661 (sql-get-login-ext): Use read-string.
2662 (sql-get-login): Use dolist and pcase.
2663 (sql--completion-table): Rename from sql-try-completion.
2664 Use complete-with-action.
2665 (sql-mode): Don't change abbrev-all-caps globally.
2666 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2667 (sql-postgres-completion-object): Initialize vars in their `let'.
2668 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2669 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2670 (sql-comint-interbase): Use a single append, without setq.
2671 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2673 * hi-lock.el: Rework the default face and the serialize regexp code.
2674 (hi-lock--auto-select-face-defaults): Remove.
2675 (hi-lock-string-serialize-serial): Remove.
2676 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2678 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2680 (hi-lock-set-pattern): Adjust accordingly.
2681 (hi-lock--regexps-at-point): Simplify accordingly.
2682 (hi-lock--auto-select-face-defaults): Remove.
2683 (hi-lock--last-face): New var to replace it.
2684 (hi-lock-read-face-name): Rewrite (bug#11095).
2685 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2687 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2689 * net/tramp.el (tramp-replace-environment-variables):
2690 Hide compiler warning.
2691 (tramp-file-name-for-operation): Remove `executable-find',
2692 `start-process', `call-process' and `call-process-region'.
2694 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2696 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2699 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2701 2012-12-06 Chong Yidong <cyd@gnu.org>
2703 * ffap.el (ffap-replace-file-component): Fix typo.
2705 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2707 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2708 fix open-paren-like token test (bug#12785).
2710 2012-12-06 Glenn Morris <rgm@gnu.org>
2712 * mail/rmailsum.el (rmail-new-summary): Tweak for
2713 rmail-maybe-display-summary changing buffer. (Bug#13066)
2715 2012-12-06 Juri Linkov <juri@jurta.org>
2717 * info.el (Info-fontify-node): Don't hide the last newline.
2720 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2722 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2723 so as to enable message-read-from-minibuffer to expand mail aliases.
2725 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2728 the `intangible' property.
2729 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2731 2012-12-05 Deniz Dogan <deniz@dogan.se>
2733 * net/rcirc.el (rcirc-urls): Update documentation.
2734 (rcirc-condition-filter): New function.
2735 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2736 and exclude consecutive duplicate URLs (Bug#6082).
2738 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2741 Check return code of copy command.
2743 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2744 Use group `tramp'. Add version.
2746 2012-12-05 Chong Yidong <cyd@gnu.org>
2748 * ffap.el (ffap-url-regexp): Don't require matching at front of
2750 (ffap-url-p): If only a substring matches, return that.
2751 (ffap-url-at-point): Use the return value of ffap-url-p.
2752 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2753 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2754 (ffap-guess-file-name-at-point): Likewise.
2755 (ffap-replace-file-component): Fix typo.
2757 * info.el (info-display-manual): Add existing Info buffers, whose
2758 files may not be in Info-directory-list, to the completion.
2759 (info--manual-names): New helper function.
2761 2012-12-05 Glenn Morris <rgm@gnu.org>
2763 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2764 New functions, for detecting and resolving conflicts. (Bug#10709)
2766 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2768 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2769 (hi-lock-auto-select-face-defaults): New buffer local variable.
2770 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2771 (hi-lock-unface-buffer): Prompt user with useful defaults.
2772 With prefix arg, unhighlight all hi-lock patterns in buffer.
2774 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2778 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2780 * Makefile.in (TRAMP_SRC):
2781 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2783 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2785 * net/tramp-adb.el: New package.
2787 2012-12-04 Chong Yidong <cyd@gnu.org>
2789 * terminal.el: Move to obsolete/.
2791 * longlines.el: Move to obsolete/.
2793 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2794 Remove code referring to longlines mode.
2796 2012-12-03 Juri Linkov <juri@jurta.org>
2798 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2800 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2802 * textmodes/ispell.el (ispell-init-process)
2803 (ispell-start-process, ispell-internal-change-dictionary):
2804 Make sure personal dictionary name is expanded after initial
2805 `default-directory' value. Use expanded strings for
2806 keep/restart checks and for value (Bug#13019).
2808 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2810 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2812 2012-12-03 Leo Liu <sdl.web@gmail.com>
2814 * files.el (dir-locals-read-from-file): Check file non-empty
2815 before reading. (Bug#13038)
2817 2012-12-03 Glenn Morris <rgm@gnu.org>
2819 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2820 Remove any version extension before checking filename. (Bug#13006)
2821 (jka-compr-compression-info-list): Belated :version bump.
2823 2012-12-03 Chong Yidong <cyd@gnu.org>
2825 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2827 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2828 (buffer-menu): Doc fix (Bug#12294).
2830 2012-12-03 Roland Winkler <winkler@gnu.org>
2832 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2833 of diary-show-all-entries in the diary buffer (Bug#12994).
2835 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2837 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2838 "<STDIN>". This is binary safe.
2840 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2842 * calc/calc-forms.el (math-absolute-from-iso-dt)
2843 (math-date-to-iso-dt, math-parse-iso-date-validate)
2844 (math-iso-dt-to-date): New functions.
2845 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2846 (math-fd-isoweekday): New variables.
2847 (calc-date-notation, math-parse-standard-date, math-format-date)
2848 (math-format-date-part): Add support for more formatting codes.
2850 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2852 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2853 current buffer's file name when called interactively (Bug#12488).
2855 2012-12-02 Juri Linkov <juri@jurta.org>
2857 * info.el (info-display-manual): Don't clobber an existing Info
2858 buffer (Bug#10770). Add completion (Bug#10771).
2860 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2862 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2863 before using it for comparison (Bug#5297).
2865 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2867 * textmodes/css-mode.el (css-current-defun-name): New function.
2870 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2871 (html-mode): Use it.
2873 2012-12-01 Chong Yidong <cyd@gnu.org>
2875 Modularize add-log-current-defun (Bug#2224).
2876 Suggested by Jari Aalto.
2878 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2879 (add-log-current-defun): Move mode-specific code to other files.
2880 (add-log-lisp-like-modes, add-log-c-like-modes)
2881 (add-log-tex-like-modes): Variables deleted.
2883 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2884 (lisp-mode-variables): Use it.
2886 * progmodes/cc-mode.el (c-common-init):
2887 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2888 add-log-current-defun-function.
2890 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2893 * progmodes/perl-mode.el (perl-current-defun-name): New.
2894 (perl-mode): Use it.
2896 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2897 Use lisp-current-defun-name.
2899 * textmodes/tex-mode.el (tex-current-defun-name): New.
2900 (tex-common-initialization): Use it.
2902 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2903 (texinfo-mode): Use it.
2905 2012-12-01 Chong Yidong <cyd@gnu.org>
2907 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2908 * progmodes/autoconf.el (autoconf-mode):
2909 * progmodes/js.el (js-mode):
2910 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2911 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2912 * progmodes/perl-mode.el (perl-mode):
2913 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2914 * textmodes/css-mode.el (css-mode):
2915 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2916 (sgml-tags-invisible, sgml-guess-indent):
2917 * textmodes/tex-mode.el (tex-common-initialization)
2918 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2919 (doctex-mode, plain-tex-mode, latex-mode):
2920 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2922 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2924 * vc/vc-hg.el (vc-hg-next-revision):
2925 Ensure use of default "tip" output format. (Bug#6968)
2927 2012-12-01 Kim F. Storm <storm@cua.dk>
2929 * startup.el (fancy-startup-tail): Add a clickable link
2932 2012-12-01 Chong Yidong <cyd@gnu.org>
2934 * startup.el (fancy-startup-tail): Improve the message about
2935 auto-save files (Bug#2176).
2937 * files.el (recover-session): Improve the descriptive message, and
2938 use substitute-command-keys.
2940 2012-12-01 Glenn Morris <rgm@gnu.org>
2942 * ido.el (ido-file-internal):
2943 Handle other-window, other-frame for dired. (Bug#13036)
2945 2012-11-30 Glenn Morris <rgm@gnu.org>
2947 * icomplete.el (icomplete-separator): Fix :version.
2949 2012-11-30 Chong Yidong <cyd@gnu.org>
2951 * shell.el (shell): For C-u M-x shell, use an inactive shell
2952 buffer as the default (Bug#1975).
2953 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2954 (shell-mode): Use them to reapply ansi colorization if Shell mode
2957 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2959 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2961 2012-11-30 Samuel Bronson <naesten@gmail.com>
2963 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2964 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2966 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2968 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2969 by move-to-column (Bug#3234).
2971 2012-11-30 Chong Yidong <cyd@gnu.org>
2973 * longlines.el (longlines-wrap-line, longlines-encode-region):
2974 Preserve text properties (Bug#1425).
2976 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2978 * vc/vc.el (vc-register): Allow registering a file which is
2979 already registered with a different backend (Bug#10589).
2981 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2982 Stefan Monnier <monnier@iro.umontreal.ca>
2984 * icomplete.el: Change separator; add ido-style commands.
2985 (icomplete-show-key-bindings): Remove custom var.
2986 (icomplete-get-keys): Remove function.
2987 (icomplete-forward-completions, icomplete-backward-completions):
2989 (icomplete-minibuffer-map): New var.
2990 (icomplete-minibuffer-setup): Use it.
2991 (icomplete-exhibit): Don't delay if the list of completions is known.
2992 (icomplete-separator): New custom.
2993 (icomplete-completions): Use it.
2994 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2995 (minibuffer-force-complete-and-exit): New command.
2996 (minibuffer--complete-and-exit): New function extracted from
2997 minibuffer-complete-and-exit.
2998 (minibuffer-complete-and-exit): Use it.
3000 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3001 error message when the file doesn't exist (bug#12974).
3003 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3005 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3007 2012-11-29 Glenn Morris <rgm@gnu.org>
3009 * files.el (hack-dir-local-variables): Warn if try to set
3010 coding via dir-locals, since it doesn't work. (Bug#7169)
3012 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3013 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3014 Set buffer-local value of desktop-save-buffer.
3015 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3017 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3018 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3020 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3021 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3023 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3026 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3028 * calc/calc-forms.el (calc-date-notation): Fix regexp
3029 used to find time codes. Fix symbol for seconds.
3031 2012-11-27 Glenn Morris <rgm@gnu.org>
3033 * emacs-lisp/derived.el (derived-mode-make-docstring):
3034 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3036 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3038 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3039 lexically scoped variables (bug#13005).
3041 2012-11-27 Glenn Morris <rgm@gnu.org>
3043 * vc/vc-hooks.el (vc-mistrust-permissions):
3044 Default to t, to avoid data-loss. (Bug#11490)
3046 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3048 * progmodes/python.el (python-indent-guess-indent-offset):
3049 If indentation is guessed make python-indent-offset buffer-local.
3051 Fix Imenu regression.
3052 * progmodes/python.el (python-nav-beginning-of-defun):
3053 Fix forward movement when statement(s) separates point from defun.
3054 (python-imenu-prev-index-position): New function.
3056 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3058 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3060 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3061 Don't set buffer-file-type. Return nil. (Bug#12989)
3063 2012-11-27 Glenn Morris <rgm@gnu.org>
3065 * hippie-exp.el (hippie-expand-try-functions-list):
3066 Re-autoload it. (Bug#12982)
3068 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3070 * descr-text.el (describe-char-padded-string):
3071 Call internal-char-font only on GUI frames. (Bug#11964)
3073 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3075 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3076 and obsoletion message.
3078 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3080 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3081 the constructs to keep outside of the `cl-block' (bug#12977).
3083 2012-11-27 Chong Yidong <cyd@gnu.org>
3085 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3086 keep reading until we get the up-event anyway, in order to process
3087 the up-event for mouse-1-click-follows-link (Bug#12971).
3089 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3091 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3092 base function is not yet defined (bug#12965).
3093 (ad-activate-advised-definition): Use ad-compile-function.
3094 (ad-activate): Use cond.
3096 2012-11-25 Leo Liu <sdl.web@gmail.com>
3098 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3101 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3103 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3104 reftex-section-info-function in order to be compatible with
3105 Texinfo integration.
3107 * textmodes/reftex.el (reftex-section-pre-regexp)
3108 (reftex-section-post-regexp, reftex-section-info-function):
3110 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3111 reftex-section-post-regexp, and reftex-section-info-function in order
3112 to be compatible with Texinfo integration.
3114 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3115 use reftex-section-pre-regexp variable in order to be compatible with
3116 Texinfo integration.
3118 2012-11-25 Chong Yidong <cyd@gnu.org>
3120 * faces.el: Make face-spec-set more analogous to setq.
3121 (face-spec-set): Change the third arg to specify whether this
3122 function is being called via defface, customize, or a third party.
3123 Set the appropriate symbol properties. Clear the override spec if
3124 setting via Custom. Initialize face if necessary. (Bug#4988)
3125 (face-spec-recalc): Allow theme faces to completely replace the
3126 defface spec, in the same way as custom faces (Bug#8454).
3128 * cus-face.el (custom-declare-face): Move face initialization to
3130 (custom-theme-set-faces): Don't initialize the face name here, as
3131 that is now done in face-spec-set.
3133 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3134 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3135 Simplify by using the new arg to face-spec-set.
3137 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3138 reset face-override-spec too, and use custom-declare-face.
3140 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3142 * term/ns-win.el (ns-initialize-window-system): Move creation of
3143 fontsets here (Bug#11964).
3145 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3147 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3150 2012-11-24 Chong Yidong <cyd@gnu.org>
3152 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3155 * custom.el (custom-theme-set-variables): Use a topological sort
3156 for ordering by custom dependencies (Bug#12952).
3157 (custom--sort-vars, custom--sort-vars-1): New functions.
3159 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3161 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3162 lexical-binding (bug#12938).
3164 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3166 * image-mode.el (image-transform-check-size): Use assertions only
3167 for images of type imagemagick.
3169 Otherwise no error, image-transform-fit-to-{width,height} is
3170 silently ignored, as before. Doc fix.
3172 2012-11-24 Chong Yidong <cyd@gnu.org>
3174 * faces.el (color-defined-p): Doc fix (Bug#12853).
3176 2012-11-24 Juri Linkov <juri@jurta.org>
3178 * dired.el (dired-mark): Add optional arg `interactive'.
3179 Check for `use-region-p' if `interactive' is non-nil.
3180 (dired-unmark, dired-flag-file-deletion): Add optional arg
3181 `interactive'. Call `dired-mark' with the arg `interactive'.
3184 * wdired.el: Revert 2012-10-17 change partly and replace it with
3185 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3186 (wdired-finish-edit): Add marks for new file names to
3187 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3188 after `revert-buffer'.
3189 (wdired-do-renames): Remove calls to `dired-remove-file',
3190 `dired-add-file', `dired-add-entry'. (Bug#11795)
3192 2012-11-24 Alan Mackenzie <acm@muc.de>
3194 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3196 Fix bugs in the state cache. Enhance a debugging mechanism.
3197 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3198 "brace at column zero" strategy for C++.
3199 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3200 (c-parse-state-point): New variable.
3201 (c-record-parse-state-state): Record old parse state with
3202 `copy-tree'. Record previous value of point.
3203 (c-debug-parse-state-double-cons): New debugging function.
3204 (c-debug-parse-state): Call the above new function.
3205 (c-toggle-parse-state-debug): Output a confirmatory message.
3207 * progmodes/cc-mode.el (c-before-change, c-after-change):
3208 Call c-invalidate-state-cache from `c-before-change' instead of
3211 2012-11-23 Chong Yidong <cyd@gnu.org>
3213 * find-cmd.el (find-constituents): Add executable, ipath,
3214 readable, samefile, writable, daystart, regextype (Bug#12856).
3216 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3220 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3222 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3223 definition. This fixes a bootstrap failure.
3224 (calc-gregorian-switch): In menu, put dates before regions.
3225 This is easier to follow, lines up better in the menu, and lets us
3226 coalesce regions that switch at the same time. Give country
3227 names, not "Vatican", as that's better for non-expert users.
3228 Use names that are stable between the date of switch and now, e.g.,
3229 Bohemia and Moravia (which existed then and now) and not
3230 Czechoslovakia (which didn't exist then and doesn't exist now).
3231 What is now the U.S. mostly did not switch at the same time as
3232 Britain, so omit the U.S. Correct spelling of "Britain".
3233 Catholic Switzerland was too much of a mess, so omit it.
3235 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3237 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3238 after the variable is changed.
3240 2012-11-21 Daniel Colascione <dancol@dancol.org>
3242 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3243 in SQL declarations for font-lock.
3244 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3246 2012-11-21 Glenn Morris <rgm@gnu.org>
3248 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3249 (face-italic-p): Add optional argument "inherit".
3251 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3252 Remove -p suffix from names, for consistency with other set-face-*.
3253 (set-face-inverse-video): Fix interactive spec.
3254 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3255 * textmodes/table.el (table--update-cell-face):
3256 Use set-face-inverse-video rather than now obsolete alias.
3258 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3260 * simple.el (line-move): Don't call line-move-partial if
3261 scroll-conservatively is in effect. (Bug#12927)
3263 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3266 Fallback on completion-at-point rather than
3267 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3268 (eshell-cmpl-initialize): Setup completion-at-point.
3270 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3272 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3274 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3276 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3277 are remote, check out-of-band property for both.
3279 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3284 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3286 More minor time fixes.
3287 * calendar/time-date.el: Commentary fix.
3288 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3289 too much other code depends on (0 0) time stamps.
3290 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3291 Add a couple of FIXME comments.
3293 Minor cleanup for times as lists of four integers.
3294 * files.el (dir-locals-directory-cache):
3295 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3297 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3298 * ps-bdf.el (bdf-file-newer-than-time):
3299 Process four-integers time stamps, not two. Doc fixes.
3301 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3303 * uniquify.el (uniquify-managed): Use defvar-local.
3304 (rename-buffer, create-file-buffer): Advise with advice-add.
3305 (uniquify-unload-function): Unadvise accordingly.
3307 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3308 (trace-buffer): Don't purecopy.
3309 (trace-entry-message, trace-exit-message): Add `context' arg.
3310 (trace--timer): New var.
3311 (trace-make-advice): Adjust for use in nadvice.
3312 Add `context' argument. Delay `display-buffer' via a timer.
3313 (trace-function-internal): Use advice-add.
3314 (trace--read-args): New function.
3315 (trace-function-foreground, trace-function-background): Use it.
3316 (trace-function): Rename to trace-function-foreground and redefine as
3317 an alias to that new name.
3318 (untrace-function, untrace-all): Adjust to the use of nadvice.
3320 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3322 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3324 * subr.el (called-interactively-p-functions): New var.
3325 (internal--called-interactively-p--get-frame): New macro.
3326 (called-interactively-p, interactive-p): Rewrite in Lisp.
3327 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3328 (called-interactively-p-functions): Use it.
3329 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3330 (called-interactively-p-functions): Use it.
3331 * allout.el (allout-called-interactively-p): Don't assume
3332 called-interactively-p is a subr.
3334 2012-11-20 Glenn Morris <rgm@gnu.org>
3336 * profiler.el (profiler-report-mode-map): Add a menu.
3337 No need to bind `q' because we derive from special-mode.
3338 (profiler-report-find-entry): Handle calls from the menu-bar.
3340 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * emacs-lisp/byte-run.el (defun-declarations-alist):
3343 Allow a compiler-macro to be a lambda expression.
3345 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3347 (python-syntax-context): Add compiler-macro.
3348 (python-font-lock-keywords): Simplify with De Morgan.
3350 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3352 * files.el (load-file): Require match in minibuffer selection, as was
3353 the case in Emacs-20 before we changed the spec to allow .elc files
3356 * json.el: Don't require cl since we don't use it.
3357 * color.el: Don't require cl.
3358 (color-complement): `caddr' -> `nth 2'.
3360 * calendar/time-date.el (time-to-seconds): De-obsolete.
3362 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3364 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3366 (math-date-to-julian-dt): Adjust the initial approximation for the
3367 year to deal with the new definition of the DATE.
3369 2012-11-19 Daniel Colascione <dancol@dancol.org>
3371 * term/w32-win.el (cygwin-convert-path-from-windows):
3372 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3374 2012-11-18 Chong Yidong <cyd@gnu.org>
3376 * filecache.el (file-cache--read-list): New function.
3377 (file-cache-add-directory-list, file-cache-add-file-list)
3378 (file-cache-delete-file-list, file-cache-delete-directory-list):
3379 Use it to read a list of files or directories (Bug#12846).
3380 (file-cache-add-file, file-cache-add-directory)
3381 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3382 (file-cache-delete-directory): Print an message.
3384 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3386 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3387 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3389 2012-11-18 Glenn Morris <rgm@gnu.org>
3391 * image.el (insert-image, insert-sliced-image): Doc fix.
3393 2012-11-18 Chong Yidong <cyd@gnu.org>
3395 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3398 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3400 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3401 response when the target file is in a subdirectory (Bug#12757).
3403 2012-11-18 Chong Yidong <cyd@gnu.org>
3405 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3407 2012-11-18 Glenn Morris <rgm@gnu.org>
3409 * emacs-lisp/cl-lib.el (face-underline-p):
3410 Use set-face-underline rather than the alias set-face-underline-p.
3412 * window.el (with-temp-buffer-window): Doc fix.
3413 * subr.el (with-output-to-temp-buffer):
3414 Add doc xref to with-temp-buffer-window.
3416 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3418 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3419 * calc/calc.el (math-format-date-cache): Declare.
3421 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3423 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3424 It also uses January 1, 1 AD as its day number 1.
3425 * calc/calc-forms.el (math-julian-date-beginning)
3426 (math-julian-date-beginning-int): Implement this.
3428 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3430 * descr-text.el (quail-find-key):
3431 * dired.el (desktop-file-name):
3432 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3433 * generic-x.el (comint-mode, comint-exec):
3434 * image-dired.el (widget-forward):
3435 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3436 (speedbar-change-expand-button-char)
3437 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3438 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3439 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3440 (widget-field-action, widget-value-set):
3441 * speedbar.el (imenu--make-index-alist):
3442 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3443 (ring-length, ring-insert):
3444 * vcursor.el (compare-windows-skip-whitespace):
3445 * woman.el (dired-get-filename):
3448 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3450 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3452 * calc/calc.el (calc-gregorian-switch): New variable.
3454 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3455 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3456 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3457 (math-leap-year-p): Add option to distinguish between Julian
3458 and Gregorian calendars.
3459 (math-day-number): Use `math-day-in-year' to do the computations.
3460 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3461 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3462 to do the computations.
3463 (math-date-to-dt): Use `math-date-to-julian-dt' and
3464 `math-date-to-gregorian-dt' to do the computations.
3465 (calcFunc-weekday, math-format-date-part): Use the new version of
3466 the DATE to determine the weekday.
3467 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3470 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3472 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3473 Cygwin; otherwise use 'file:'. (Bug#12914)
3474 (cygwin-convert-path-from-windows): Declare, to avoid
3475 byte-compiler warnings.
3477 2012-11-17 Andreas Politz <politza@fh-trier.de>
3479 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3480 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3481 prefix and negative numeric prefix args (Bug#12795).
3483 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3485 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3486 Don't signal an error with a score that is too low to add to the
3487 list of top scores. (Bug#12779)
3489 2012-11-17 Chong Yidong <cyd@gnu.org>
3491 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3493 * filecache.el (file-cache-add-file): Handle relative file name in
3494 the argument (Bug#12694).
3496 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3498 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3500 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3502 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3504 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3506 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3508 * window.el (enlarge-window, shrink-window): Don't mention return
3509 value in doc-string (Bug#12896).
3510 (window--display-buffer): Don't resize frames - it won't work
3511 with all window managers and defeat pop-up-frame-alist.
3512 (display-buffer-alist): In doc-string explain that CONDITION can
3513 be a function and which arguments are passed to it (Bug#12854).
3514 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3515 expressions (Bug#12854).
3516 (display-buffer): Pass ACTION argument to
3517 display-buffer-assq-regexp.
3519 2012-11-16 Glenn Morris <rgm@gnu.org>
3521 * window.el (fit-frame-to-buffer-bottom-margin)
3522 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3524 * faces.el (face-underline-p): Use face-attribute-specified-or.
3526 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3528 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3530 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3532 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3534 2012-11-16 Glenn Morris <rgm@gnu.org>
3536 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3537 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3539 * faces.el (face-underline-p): Doc fix. Handle :underline being
3540 things other than `t' (a string, a list).
3541 (face-inverse-video-p): Doc fix.
3542 (set-face-underline): Rename it back from set-face-underline-p.
3543 Doc fix. Allow interactive input of values other than t.
3544 (read-face-attribute): Apply formatting to :underline,
3545 since like :box and :stipple it can take list values.
3547 * term.el (ansi-term): Don't let C-x escape-char binding
3548 clobber the more standard C-c binding. (Bug#12842)
3550 * subr.el (set-temporary-overlay-map): Doc fix.
3552 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3554 * window.el (record-window-buffer)
3555 (display-buffer-record-window): When copying the markers to
3556 window-point preserve window-point-insertion-type. (Bug#12588)
3558 2012-11-16 Glenn Morris <rgm@gnu.org>
3560 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3561 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3562 Use new names for hooks rather than obsolete aliases.
3564 2012-11-15 Daniel Colascione <dancol@dancol.org>
3566 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3567 prefix instead of "file:" so that when FILE-NAME begins with "//",
3568 as it does when the target file is on a network share, url-handler
3571 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3573 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3574 a preactivated advice from an old advice.el; they're not compatible!
3576 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3578 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3579 Fix string-spec case.
3581 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3583 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3586 (advice--buffer-local-function-sample): New var.
3587 (advice--set-buffer-local, advice--buffer-local): New functions.
3588 (add-function, remove-function): Use them.
3590 2012-11-15 Drew Adams <drew.adams@oracle.com>
3592 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3594 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3596 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3597 potential binding of print-gensym to t, and prettify (back)quotes in
3598 case they appear in args's default values (bug#12884).
3600 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3603 (advice-eval-interactive-spec): New function.
3604 (advice--make-interactive-form): Support around advice (bug#12844).
3606 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3608 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3609 more strict. Add docstring.
3610 (ruby-expression-expansion-re): Extract from
3611 `ruby-match-expression-expansion'.
3612 (ruby-syntax-propertize-function): After everything else, search
3613 for expansions in string literals, mark their insides as
3614 whitespace syntax and save match data for font-lock.
3615 (ruby-font-lock-keywords): Use the 2nd group from expression
3617 (ruby-match-expression-expansion): Use the match data saved to the
3618 text property in ruby-syntax-propertize-function.
3620 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3622 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3625 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3627 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3628 start/end keyword a bit harder. Works with different values of N.
3630 (ruby-end-of-block): Update accordingly.
3632 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * woman.el (woman-file-name): Don't mess with unread-command-events
3637 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3638 Remove out of date self-require hack.
3639 (ad-do-advised-functions): Use simple `dolist'.
3640 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3641 (ad-advice-definition): Redefine as functions.
3642 (ad-advice-classes): Move before first use.
3643 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3644 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3645 (ad--defalias-fset): Remove functions.
3646 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3647 (ad-get-orig-definition): Rewrite.
3648 (ad-make-advised-definition-docstring): Change base docstring.
3649 (ad-real-orig-definition): Rewrite.
3650 (ad-map-arglists): Change name of called function.
3651 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3652 (ad-make-advised-definition): Simplify.
3653 (ad-assemble-advised-definition): Tweak for new calling context.
3654 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3655 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3656 function and call ad-activate if needed.
3657 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3658 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3659 (ad-compile-function): Compile ad-Advice-*.
3660 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3661 (ad-start-advice, ad-stop-advice): Remove.
3663 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3665 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3666 period before class method names, not after. Remove handling of
3667 one impossible case. Add comments.
3669 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * emacs-lisp/advice.el: Remove support for freezing.
3672 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3673 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3674 Remove support for `freeze'.
3676 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3677 override the default.
3678 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3680 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3683 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3685 (advice--strip-macro): New function.
3686 (advice--defalias-fset): Use them to handle macros.
3687 (advice-add): Use them.
3688 (advice-member-p): Correctly handle macros.
3690 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3692 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3693 Never font-lock the beginning of singleton class as heredoc.
3695 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3697 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3699 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3701 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3702 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3703 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3705 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3707 Fix end-of-defun misbehavior.
3708 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3709 python-beginning-of-defun-function. Handle nested defuns
3711 (python-nav-end-of-defun): Rename from
3712 python-end-of-defun-function. Ensure forward movement.
3713 (python-info-current-defun): Reimplement to work as intended
3714 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3715 parent defuns as soon as possible.
3717 2012-11-13 Glenn Morris <rgm@gnu.org>
3719 * progmodes/flymake.el (flymake-error-bitmap)
3720 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3721 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3723 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3725 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3726 backward, always stop at indentation. Reverts the change from
3727 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3729 2012-11-13 Glenn Morris <rgm@gnu.org>
3731 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3732 Add ibuffer-filter-by-derived-mode.
3734 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3735 the same name shadowing each other.
3737 * window.el (with-temp-buffer-window): Doc tweak.
3739 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3741 * help.el (temp-buffer-max-height):
3742 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3743 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3745 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3747 * emacs-lisp/nadvice.el: New package.
3748 * subr.el (special-form-p): New function.
3749 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3750 (elp-all-instrumented-list): Remove var.
3751 (elp-not-profilable): Remove elp-wrapper.
3752 (elp-profilable-p): Use autoloadp and special-form-p.
3753 (elp--advice-name): New const.
3754 (elp-instrument-function): Use advice-add.
3755 (elp--instrumented-p): New predicate.
3756 (elp-restore-function): Use advice-remove.
3757 (elp-restore-all, elp-reset-all): Use mapatoms.
3758 (elp-set-master): Use elp--instrumented-p.
3759 (elp--make-wrapper): Rename from elp-wrapper, return a function
3760 suitable for advice-add. Use cl-inf.
3761 (elp-results): Use mapatoms+elp--instrumented-p.
3762 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3763 (debug-function-list): Remove var.
3764 (debug): Rename arg, and then let-bind it explicitly inside.
3765 (debugger-setup-buffer): Rename arg.
3766 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3767 (debugger-frame-number): Adjust to new debug-on-entry setup.
3768 (debug--implement-debug-on-entry): Rename from
3769 implement-debug-on-entry, add argument.
3770 (debugger-special-form-p): Remove, use special-form-p instead.
3771 (debug-on-entry): Use advice-add.
3772 (debug--function-list): New function.
3773 (cancel-debug-on-entry): Use it, along with advice-remove.
3774 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3775 (debugger-list-functions): Use debug--function-list instead of
3776 debug-function-list.
3777 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3778 (ad-special-form-p): Remove, use special-form-p instead.
3779 (ad-set-advice-info): Use add-function and remove-function.
3780 (ad--defalias-fset): Adjust accordingly.
3782 2012-11-10 Glenn Morris <rgm@gnu.org>
3784 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3785 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3786 (report-emacs-bug-create-existing-bugs-buffer)
3787 (report-emacs-bug-parse-query-results)
3788 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3790 * term.el (term-default-fg-color, term-default-bg-color):
3791 Make obsolete, rather than just saying "deprecated" in the doc.
3793 * term.el (term): Rename from `term-face'.
3794 (term-current-face, ansi-term-color-vector)
3795 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3798 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3800 * server.el (server-create-window-system-frame): Handle Nextstep
3801 specially (Bug#12780).
3803 2012-11-10 Glenn Morris <rgm@gnu.org>
3805 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3806 Unautoload, and make obsolete. (Bug#7449)
3808 2012-11-10 Chong Yidong <cyd@gnu.org>
3810 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3811 rename from diff-remove-trailing-whitespace (Bug#12831).
3813 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3816 miscompilation of trace.el.
3818 2012-11-10 Glenn Morris <rgm@gnu.org>
3820 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3822 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3824 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3827 2012-11-10 Chong Yidong <cyd@gnu.org>
3829 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3830 a defcustom with an appropriate :set function.
3831 (minibuffer-default--in-prompt-regexps): New function.
3833 2012-11-10 Glenn Morris <rgm@gnu.org>
3835 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3836 (define-modify-macro): Doc fixes.
3838 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3839 (gv-define-simple-setter): Update doc of `fix-return'.
3841 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3844 twice when `fix-return' is set (bug#12813).
3846 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3847 gv-define-simple-setter (bug#12812).
3849 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3852 2012-11-10 Glenn Morris <rgm@gnu.org>
3854 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3856 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3857 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3858 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3859 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3861 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3863 2012-11-10 Leo Liu <sdl.web@gmail.com>
3865 * ido.el (ido-set-matches-1): Improve flex matching performance by
3866 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3868 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3871 (ad--defalias-fset): New function.
3872 (ad-safe-fset): Remove.
3873 (ad-make-freeze-definition): Use cl-letf*.
3875 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * subr.el (dolist): Don't bind VAR in RESULT.
3879 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3880 (fset, documentation): Don't save real def since we don't advise.
3881 (ad-do-advised-functions): Remove problematic `result-form'.
3882 (ad-safe-fset): `ad-real-fset' => `fset'.
3883 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3884 uses CL's dolist internally.
3885 (ad-arglist): Remove unused arg `name'.
3886 (ad-docstring, ad-make-advised-docstring):
3887 `ad-real-documentation' => `documentation'.
3888 (warning-suppress-types): Declare.
3889 (ad-set-arguments): Simple CSE.
3890 (ad-recover-normality): Sanity check.
3892 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3893 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3895 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3897 * ses.el: symbol to coordinate mapping is made by symbol property
3898 `ses-cell'. This means that the same mapping is done for all SES
3899 sheets. That is good enough for cells with standard A1 names, but
3900 not for named cell. So a hash map is added for the latter.
3901 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3902 (ses-sym-rowcol): Use hashmap for named cell.
3903 (ses-is-cell-sym-p): New defun.
3904 (ses-decode-cell-symbol): New defun.
3905 (ses-create-cell-variable): Add cell to hashmap when name is not
3907 (ses-rename-cell): Check that cell new name is not already in
3908 spreadsheet with the use of ses-is-cell-sym-p
3909 (ses-rename-cell): Use hash map for named cells, but accept also
3910 renaming back to A1-like.
3912 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3914 * emacs-lisp/advice.el: Use new dynamic docstrings.
3915 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3916 Use dynamic-docstring-function instead of ad-advice-info.
3917 (ad--make-advised-docstring): New function extracted from
3918 ad-make-advised-docstring.
3919 (ad-make-advised-docstring): Use it.
3920 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3922 (sql-help): Use it with dynamic-docstring-function.
3924 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3926 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * files.el (hack-one-local-variable--obsolete): New function.
3929 (hack-one-local-variable): Use it for obsolete settings.
3931 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3934 * progmodes/js.el (js--filling-paragraph): New var.
3935 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3936 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3939 2012-11-08 Julien Danjou <julien@danjou.info>
3941 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3942 `auto-mode-alist' (Bug#12835).
3944 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3946 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3947 (perl--prettify-symbols-alist): New const.
3948 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3950 (perl-font-lock-keywords-2): Use them.
3951 (perl-electric-noindent-p): New function.
3952 (perl-mode): Use it to set up electric-indent-mode.
3953 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3954 (perl-mode-map): Remove bindings for them.
3955 (perl-imenu-generic-expression, perl-outline-level):
3956 Match functions&packages in column>0.
3958 * env.el (env--substitute-vars-regexp): New const.
3959 (substitute-env-vars): Use it. Add `only-defined' arg.
3960 * net/tramp.el (tramp-replace-environment-variables): Use it.
3962 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3963 Byte-compile *before* eval in eval-and-compile.
3964 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3965 (byte-compile-file-form-autoload): Don't hide actual definition.
3966 (byte-compile-maybe-guarded): Accept `functionp' as well.
3968 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3970 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3972 * notifications.el (notifications-get-server-information-method):
3974 (notifications-get-capabilities): Fix docstring.
3975 (notifications-get-server-information): New defun.
3977 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3979 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3982 * textmodes/ispell.el: Experimental support for support debugging.
3983 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3985 (ispell-print-if-debug): New function to print stuff to
3986 `ispell-debug-buffer' if debugging is enabled.
3987 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3988 show some debugging info.
3989 (ispell-buffer-with-debug): New function that creates a debugging
3990 buffer and calls `ispell-buffer' with debugging enabled.
3992 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3993 comment in autoconf mode. (Bug#12768)
3995 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3997 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3998 frame-first-window, frame-root-window, frame-selected-window,
3999 minibuffer-selected-window, minibuffer-window,
4000 window-absolute-pixel-edges, window-at, window-body-height,
4001 window-body-width, window-display-table, window-combination-limit,
4002 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4003 window-inside-edges, window-inside-pixel-edges, window-left-child,
4004 window-left-column, window-margins, window-next-buffers,
4005 window-next-sibling, window-new-normal, window-new-total,
4006 window-normal-size, window-parameter, window-parameters, window-parent,
4007 window-pixel-edges, window-point, window-prev-buffers,
4008 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4009 window-start, window-text-height, window-top-child, window-top-line,
4010 window-total-height, window-total-width and window-use-time to the list
4011 of functions without side-effects.
4012 (toplevel): Add window-valid-p to the list of error-free functions
4013 without side-effects.
4015 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4017 * textmodes/ispell.el (ispell-program-name):
4018 Update spellchecker parameters when customized.
4020 2012-11-04 Glenn Morris <rgm@gnu.org>
4022 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4024 2012-11-04 Chong Yidong <cyd@gnu.org>
4026 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4027 same-window-* variables.
4029 2012-11-04 Juri Linkov <juri@jurta.org>
4031 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4032 (isearch-describe-key, isearch-describe-mode): Use a display
4033 action instead of binding same-window-* variables (Bug#10040).
4035 2012-11-03 Glenn Morris <rgm@gnu.org>
4037 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4038 Rename handler properties back from cl-- to cl-. (Bug#12788)
4040 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4042 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4044 * term/pc-win.el: Don't load term/internal from here.
4046 * loadup.el: Load term/internal from here.
4048 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4050 * progmodes/python.el (inferior-python-mode): Fix hang in
4051 jit-lock (Bug#12645).
4053 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4055 * window.el (switch-to-visible-buffer)
4056 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4058 2012-11-03 Glenn Morris <rgm@gnu.org>
4060 * emacs-lisp/cl-lib.el (cl--random-time):
4061 Rename from cl-random-time. (Bug#12773)
4062 (cl--gensym-counter, cl--random-state): Update callers.
4063 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4065 2012-11-03 Chong Yidong <cyd@gnu.org>
4067 * cus-start.el: Make cursor-type customizable (Bug#11633).
4069 2012-11-02 Glenn Morris <rgm@gnu.org>
4071 * filecache.el: No need to load find-lisp when compiling.
4072 (find-lisp-find-files): Autoload it.
4073 (file-cache-add-directory-recursively): Don't require find-lisp.
4075 * image.el (image-type-from-file-name): Trivial simplification.
4077 * emacs-lisp/bytecomp.el (byte-compile-eval):
4078 Decouple "noruntime" and "cl-functions" warnings.
4080 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4082 * play/gomoku.el (gomoku-display-statistics): Update mode line
4083 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4085 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4087 * window.el (quit-restore-window): If the window has been
4088 created on an existing frame and ended up as the sole window on
4089 that frame, do not delete it (Bug#12764).
4091 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4093 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4094 Rename from sh--inside-arithmetic-expression, handle more cases
4097 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4098 (sh-font-lock-open-heredoc): Use it (bug#12770).
4100 2012-10-30 Glenn Morris <rgm@gnu.org>
4102 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4104 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4106 2012-10-29 Chong Yidong <cyd@gnu.org>
4108 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4109 function key is stored in a keyboard macro (Bug#4894).
4111 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4113 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4117 (diff-unified->context, diff-context->unified)
4118 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4120 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4122 * files.el (find-alternate-file): Only ask one question (bug#12487).
4124 2012-10-29 Chong Yidong <cyd@gnu.org>
4126 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4127 Suggested by Dan Nicolaescu (Bug#6326).
4129 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4131 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4133 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4135 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4137 * face-remap.el (face-remap-add-relative): Handle the case where a
4138 face-remapping-alist entry is a cons cell (Bug#12762).
4140 2012-10-29 Kevin Ryde <user42@zip.com.au>
4142 * woman.el (woman-parse-numeric-value): Handle picas correctly
4145 2012-10-29 Glenn Morris <rgm@gnu.org>
4147 * emacs-lisp/cl.el (defsetf): Doc fix.
4149 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4151 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4152 syntax to the matching opener, if any (bug#12547).
4153 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4154 matching open as a "case-(".
4155 (sh-smie-rc-grammar): Add a corresponding rule for it.
4157 2012-10-28 Daniel Hackney <dan@haxney.org>
4159 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4160 "PKGNAME-autoloads.el" in case we created it.
4162 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4165 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4166 (completion--twq-all): Disable too-strict assertions.
4168 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4170 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4172 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4173 text to match the real keybindings.
4175 2012-10-27 Juri Linkov <juri@jurta.org>
4177 * wdired.el (wdired-keep-marker-rename): New defcustom.
4178 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4181 * dired.el (dired-keep-marker-rename): Add reference to
4182 `wdired-keep-marker-rename' in the docstring.
4183 Add default character value ?R to display initially in
4184 Customization UI instead of ?@.
4186 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4188 * window.el (display-buffer): In doc-string describe
4189 window-height and window-width alist entries.
4191 * time.el (display-time-world): Restore fit-window-to-buffer
4194 2012-10-27 Chong Yidong <cyd@gnu.org>
4196 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4198 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4200 * minibuffer.el (completion-category-overrides): New completion
4201 category `bookmark' (bug#11131).
4203 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4206 Silence bogus compiler warnings for ad-do-it.
4208 * bookmark.el (bookmark-completing-read): Set the completion category
4209 to `bookmark' (bug#11131).
4211 2012-10-26 Bastien <bzg@altern.org>
4212 Stefan Monnier <monnier@iro.umontreal.ca>
4214 * face-remap.el: Use lexical-binding.
4215 (text-scale-adjust): Improve docstring. Use itself for the temporary
4216 overlay-map bindings, so as to repeat the "Use..." message each time.
4218 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * emacs-lisp/macroexp.el (macroexp--expand-all):
4221 Obey byte-compile-warning-enabled-p (bug#12486).
4223 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4224 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4226 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4228 * mouse.el (mouse-drag-line): Move last form into preceding when
4231 * help.el (resize-temp-buffer-window): Fix doc-string.
4233 2012-10-25 David Engster <deng@randomsample.de>
4235 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4236 Remove. This feature is already integrated in imenu.
4238 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4239 always loaded. Require `speedbar' unconditionally.
4241 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4243 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4245 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4247 * net/ldap.el (ldap-search-internal): The official ldif format starts
4248 with a "version: 1" header (bug#12724).
4250 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4253 2012-10-25 Glenn Morris <rgm@gnu.org>
4255 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4257 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * minibuffer.el (minibuffer-force-complete): Use one more marker
4260 for the temporary-overlay-map command (bug#12619).
4262 2012-10-24 Chong Yidong <cyd@gnu.org>
4264 * time.el (display-time-world-mode): Derive from special-mode.
4265 (display-time-world): Use display-buffer (Bug#12708).
4266 (display-time-world-mode-map): Variable deleted.
4267 (display-time-world-display): Wrap the final delete-char inside
4270 2012-10-24 Chong Yidong <cyd@gnu.org>
4272 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4275 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4277 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4279 * minibuffer.el (completion--all-sorted-completions-location): New var.
4280 (completion--cache-all-sorted-completions)
4281 (completion--flush-all-sorted-completions): Use it.
4282 (completion-in-region, completion-in-region--postch)
4283 (completion-at-point, completion-help-at-point): Use markers in
4284 completion-in-region--data (bug#12619).
4286 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * progmodes/compile.el (compilation-start): Try to handle common
4289 quoting of `cd' argument (bug#12640).
4291 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4294 2012-10-23 Glenn Morris <rgm@gnu.org>
4296 * progmodes/gud.el (gud-menu-map):
4297 Check gdb-active-process is bound. (Bug#12358)
4299 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * repeat.el (repeat): Set real-this-command (bug#12232).
4303 * htmlfontify.el (hfy-post-html-hook):
4304 * filesets.el (filesets-cache-fill-content-hook):
4305 * arc-mode.el (archive-extract-hook):
4306 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4307 * net/rcirc.el (rcirc-sentinel-functions)
4308 (rcirc-receive-message-functions, rcirc-activity-functions)
4309 (rcirc-print-functions):
4310 * net/dbus.el (dbus-event-error-functions):
4311 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4312 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4313 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4314 * term/sun.el (sun-raw-prefix-hooks):
4315 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4317 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4319 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4320 Set `tramp-chunksize' to 1. This improves the performance.
4321 (tramp-smb-wait-for-output): Add timeout to
4322 `tramp-accept-process-output' calls.
4324 2012-10-23 Chong Yidong <cyd@gnu.org>
4326 * faces.el (font-list-limit): Define as an obsolete variable.
4328 * startup.el (command-line):
4329 * cus-start.el: Don't refer to font-list-limit.
4331 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4333 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * subr.el (internal-temp-output-buffer-show): Rename from
4336 temp-output-buffer-show, since previously compiled files expect this name.
4338 2012-10-23 Glenn Morris <rgm@gnu.org>
4340 * image.el (image-type-from-file-name): If multiple types match,
4341 return the first one that is supported. (Bug#9045)
4343 2012-10-22 Glenn Morris <rgm@gnu.org>
4345 * image.el (imagemagick-enabled-types): Doc fix.
4347 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4349 * progmodes/which-func.el (which-func-current): The hash-table may have
4350 an explicit nil (bug#12338).
4352 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * electric.el (electric-pair-delete-selection-self-insert-function):
4355 Rename to electric-pair-will-use-region, return a boolean.
4356 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4358 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4359 (delete-selection-pre-hook): Use use-region-p.
4360 (delete-selection-self-insert-function): Remove.
4361 (self-insert-command): Obey self-insert-uses-region-functions.
4362 (self-insert-iso): Revert to previous setting, since we don't actually
4363 know what that command does.
4364 (delete-selection-self-insert-hooks): Remove.
4366 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4368 * delsel.el (delete-selection-helper): New function, extracted from
4369 delete-selection-pre-hook.
4370 (delete-selection-pre-hook): Use it.
4371 (delete-selection-self-insert-function): New function.
4372 (delete-selection-self-insert-hooks): New hook.
4373 (self-insert-command, self-insert-iso): Use it.
4374 * electric.el (electric-pair-syntax): New function, extracted from
4375 electric-pair-post-self-insert-function.
4376 (electric-pair-post-self-insert-function): Use it.
4377 (electric-pair-delete-selection-self-insert-function): New function.
4378 (electric-pair-mode): Require delsel and setup
4379 delete-selection-self-insert-hooks (bug#11520).
4381 2012-10-20 Chong Yidong <cyd@gnu.org>
4383 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4384 no changes to show (Bug#12586).
4386 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4387 list explicitly (Bug#12571).
4389 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4391 * progmodes/flymake.el (flymake-create-temp-inplace):
4394 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4396 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4398 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4400 * calc/calc-units.el (math-extract-units): Properly extract powers
4403 2012-10-20 Daniel Colascione <dancol@dancol.org>
4405 * frame.el (make-frame): Set x-display-name as we used to in order
4406 to unbreak creating an X11 frame from an Emacs daemon started
4409 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4412 the same completion-field (bug#12221).
4414 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4416 * emacs-lisp/debug.el (debug): Record height of debugger window
4417 also when debugger will be back (Bug#8789).
4419 2012-10-18 Chong Yidong <cyd@gnu.org>
4421 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4422 Convert to defcustom.
4423 (gdb-get-source-file): Don't bind pop-up-windows.
4425 * progmodes/gud.el (gud-display-line): Don't specially re-use
4426 other frames for the gdb-mi case (Bug#12648).
4428 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * emacs-lisp/advice.el: Clean up commentary a bit.
4431 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4432 (byte-code-function-p): Never redefine.
4434 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4436 2012-10-18 Glenn Morris <rgm@gnu.org>
4438 * dired.el (dired-sort-toggle): Some ls implementations only allow
4439 a single option string. (Bug#12666)
4441 * minibuffer.el (completion-cycle-threshold): Doc fix.
4443 2012-10-17 Kenichi Handa <handa@gnu.org>
4445 * international/mule.el (set-keyboard-coding-system):
4446 Recover input meta mode when the new coding system doesn not use 8-bit.
4447 Supply TERMINAL arg to set-input-meta-mode.
4449 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4451 * wdired.el (wdired-old-marks): New variable.
4452 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4453 (wdired-do-renames): Move point with renamed file and don't lose
4454 mark status (Bug#11795).
4456 2012-10-16 Juri Linkov <juri@jurta.org>
4458 * replace.el (query-replace-help): Mention multi-buffer replacement
4459 keys in the Help message. (Bug#12655)
4461 2012-10-15 Chong Yidong <cyd@gnu.org>
4463 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4465 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4467 * window.el (display-buffer): Doc fix.
4469 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4470 Adjust the msft regexp to the output of Studio 2010, and move msft
4471 before edg-1. See the discussion on emacs-devel,
4472 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4475 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4477 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4478 (oset): Move uses of object-class-fast macro after its definition.
4480 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4482 2012-10-13 Chong Yidong <cyd@gnu.org>
4484 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4485 enabled, re-enable it (Bug#11963).
4487 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4489 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4490 non-nil, restore window configuration (Bug#12623).
4492 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * help-fns.el (describe-variable, describe-function-1):
4495 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4497 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4499 2012-10-12 Glenn Morris <rgm@gnu.org>
4501 * mail/rmailsum.el (rmail-header-summary):
4502 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4504 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4506 * progmodes/python.el (python-mode-map):
4507 Replace subtitute-key-definition with proper command remapping.
4508 (python-nav--up-list): Fix behavior for blocks on the same level.
4510 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4514 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4515 changes to the format of load-history.
4517 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4518 completion-ignore-case in case that var is buffer-local (bug#12615).
4520 2012-10-11 Kenichi Handa <handa@gnu.org>
4522 * international/eucjp-ms.el: Re-generated.
4524 2012-10-10 Kenichi Handa <handa@gnu.org>
4526 * select.el (xselect--encode-string): If a coding is specified for
4527 selection, and that is compatible with COMPOUND_TEXT, use it.
4529 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4531 * window.el (switch-to-buffer-preserve-window-point): New option.
4533 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4535 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4537 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4538 Don't document nil as a useful value (bug#12583).
4540 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4542 * net/tramp.el (tramp-debug-message):
4543 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4544 (with-tramp-progress-reporter): Rename from
4545 `tramp-with-progress-reporter'.
4546 (with-tramp-file-property, with-tramp-connection-property):
4547 Move from tramp-cache.el, rename from `with-file-property' and
4548 `with-connection-property', respectively.
4550 * net/tramp-cache.el: Remove `with-file-property' and
4551 `with-connection-property'.
4554 * net/tramp-gvfs.el:
4556 * net/tramp-smb.el: Adapt callees.
4558 * net/trampver.el: Update release number.
4560 2012-10-09 Glenn Morris <rgm@gnu.org>
4562 * w32-fns.el (set-message-beep):
4563 * term/w32-win.el (set-message-beep): Update declarations.
4565 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4567 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4568 (mode-line-widen, mode-line-input-method-map)
4569 (mode-line-coding-system-map, mode-line-remote)
4570 (mode-line-unbury-buffer, mode-line-bury-buffer)
4571 (mode-line-next-buffer, mode-line-previous-buffer):
4572 Replace save-selected-window+select-window => with-selected-window.
4574 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4575 * progmodes/cc-vars.el (bq-process): Remove, unused.
4577 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4579 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4581 Implemented `backward-up-list'-like navigation.
4582 * progmodes/python.el (python-nav-up-list)
4583 (python-nav-backward-up-list): New functions.
4584 (python-mode-map): Define substitute key for backward-up-list to
4585 python-nav-backward-up-list.
4587 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4589 * progmodes/python.el (python-fill-paragraph): Rename from
4590 python-fill-paragraph-function. Fixed fill-paragraph for
4591 decorators (Bug#12605).
4593 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4595 * progmodes/python.el (python-shell-output-filter): Handle extra
4596 carriage return in OSX (Bug#12409).
4598 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4600 Fix shell handling of unbalanced quotes and parens in output.
4601 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4602 (python-syntax-propertize-function): Use it.
4603 (python-shell-output-syntax-table): New var.
4604 (inferior-python-mode): Prevent unbalanced parens/quotes from
4605 previous output mess with current input context.
4607 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4609 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4610 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4612 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4614 * ffap.el (ffap-replace-file-component): Support Tramp file name
4615 syntax, not only ange-ftp's one.
4617 2012-10-08 Glenn Morris <rgm@gnu.org>
4619 * cus-start.el (message-log-max): Set :version.
4621 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4623 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4625 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4626 the minibuffer window (Bug#10851).
4628 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4630 Enhancements on forward-sexp movement.
4631 * progmodes/python.el (python-nav-beginning-of-statement)
4632 (python-nav-end-of-statement): Return point-marker.
4633 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4634 (python-info-current-symbol)
4635 (python-info-statement-starts-block-p): Rename from
4636 python-info-beginning-of-block-p.
4637 (python-info-statement-ends-block-p): Rename from
4638 python-info-end-of-block-p.
4639 (python-info-beginning-of-statement-p)
4640 (python-info-end-of-statement-p)
4641 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4644 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4647 frame-selected-windows.
4649 2012-10-08 Daniel Colascione <dancol@dancol.org>
4651 * battery.el (battery-status-function): Check for
4652 w32-battery-status itself, not system-time windows-nt.
4654 * frame.el: Require cl-lib.
4655 (display-format-alist): New variable mapping frame types to
4656 functions that initialize them.
4657 (window-system-for-display): New function: interprets
4658 display-format-alist.
4659 (make-frame-on-display): Remove existing display-selection logic
4660 and just forward to make-frame, which will now DTRT.
4661 (make-frame): Restructure to use window-system-for-display to
4662 figure out how to create a frame on a given display.
4663 (display-mouse-p): Look for frame-type w32, not a particular
4666 * loadup.el: Load w32 lisp code when we have the w32 feature.
4668 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4669 system-type windows-nt.
4671 * server.el (server-create-window-system-frame): Look for window
4673 (server-proces-filter): Only force a window system when windows-nt
4674 _and_ w32. Explain why.
4676 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4677 of window systems we configure for the mode.
4679 * startup.el (command-line): Mark window system is initialized
4680 after we've done it.
4682 * common-win.el (x-select-text): Look for w32, not windows-nt.
4684 * ns-win.el: Require cl-lib. Add ourselves to
4685 display-format-alist.
4686 (ns-initialize-window-system): Assert we're not initialized twice.
4688 * w32-win.el: Enable lexical binding; require cl-lib; add
4689 ourselves to display-format-alist.
4690 (w32-handle-dropped-file): Convert incoming dropped files from
4691 Windows paths to Cygwin ones before passing them on to the rest of
4693 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4694 (w32-initialize-window-system): Assert we're not initialized twice.
4696 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4697 (x-initialize-window-system): Assert we're not initialized twice.
4699 * w32-common-fns.el: New File.
4700 (w32-version, w32-using-nt, w32-get-clipboard-data)
4701 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4702 (w32-charset-info-alist, x-last-selected, text)
4703 (x-get-selection-value, x-selection-value): Move here.
4705 * w32-fns.el: Require w32-common-fns.
4706 (w32-version, w32-using-nt, w32-get-clipboard-data)
4707 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4708 (w32-charset-info-alist, x-last-selected, text)
4709 (x-get-selection-value, x-selection-value): Move to
4713 (w32-allow-system-shell, w32-system-shells): Define only in
4716 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4719 (read-passwd): Remove a few more potential sources of leaks.
4721 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4723 * progmodes/python.el (inferior-python-mode)
4724 (python-shell-make-comint): Fix initialization of local
4725 variables copied from parent buffer.
4727 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4729 * term/ns-win.el (ns-read-file-name): Update declaration to match
4731 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4732 it is set when font is acted upon.
4734 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4736 Enhancements to indentation.
4737 * progmodes/python.el (python-indent-context): Give priority to
4738 inside-string context. Make comments indentation markers.
4739 (python-indent-region): Do not mess with strings, unless it's the
4740 enclosing set of quotes.
4742 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4744 * window.el (internal--before-save-selected-window)
4745 (internal--after-save-selected-window): New functions extracted from
4746 save-selected-window. Make sure we return the `alist' we construct.
4747 (save-selected-window): Use them.
4749 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4750 Use with-selected-window.
4752 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4753 forms that define macros (bug#12593).
4755 2012-10-07 Kenichi Handa <handa@gnu.org>
4757 * international/mule-conf.el (compound-text-with-extensions):
4758 Add :mime-charset property as x-ctext.
4760 2012-10-07 Stefan Merten <smerten@oekonux.de>
4762 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4763 (rst-indent-literal-normal, rst-indent-literal-minimized)
4764 (rst-indent-comment): Correct :version tag.
4765 (rst-official-cvs-rev): Correct version string.
4767 2012-10-07 Glenn Morris <rgm@gnu.org>
4769 * mail/rmailmm.el (rmail-mime-process-multipart):
4770 Do not confuse a multipart message with an epilogue
4771 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4773 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4775 Fix shell output retrieval and comint-prompt-regexp init.
4776 * progmodes/python.el (inferior-python-mode):
4777 (python-shell-make-comint): Fix initialization of
4778 comint-prompt-regexp from copied file local variables.
4779 (python-shell-fetched-lines): Remove var.
4780 (python-shell-output-filter-in-progress): Rename from
4781 python-shell-fetch-lines-in-progress.
4782 (python-shell-output-filter-buffer): Rename from
4783 python-shell-fetch-lines-string.
4784 (python-shell-fetch-lines-filter): Delete function.
4785 (python-shell-output-filter): New function.
4786 (python-shell-send-string-no-output): Use them.
4788 2012-10-07 Glenn Morris <rgm@gnu.org>
4790 * hi-lock.el (hi-lock-process-phrase):
4791 Try to make it less fragile. (Bug#7161)
4793 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4795 2012-10-06 Glenn Morris <rgm@gnu.org>
4797 * ehelp.el (electric-help-mode): Use help-mode rather than
4798 non-existent mode `help'.
4799 (electric-help-map): Use button-buffer-map. (Bug#10917)
4801 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4802 (reftex-create-bibtex-footer): Fix custom types.
4804 * progmodes/sh-script.el (sh-indent-after-continuation):
4805 Add explicit :group.
4807 * textmodes/rst.el (rst-preferred-decorations)
4808 (rst-shift-basic-offset): Clarify obsolescence versions.
4810 * profiler.el (profiler): Add missing group :version tag.
4811 * avoid.el (mouse-avoidance-banish-position):
4812 * proced.el (proced-renice-command):
4813 * calc/calc.el (calc-ensure-consistent-units):
4814 * calendar/icalendar.el (icalendar-import-format-uid):
4815 * net/tramp.el (tramp-save-ad-hoc-proxies):
4816 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4817 * progmodes/flymake.el (flymake-error-bitmap)
4818 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4819 * progmodes/sh-script.el (sh-indent-after-continuation):
4820 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4821 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4822 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4823 (vhdl-array-index-record-field-in-sensitivity-list)
4824 (vhdl-indent-comment-like-next-code-line):
4825 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4826 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4827 (reftex-cite-key-separator, reftex-create-bibtex-header)
4828 (reftex-create-bibtex-footer):
4829 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4830 (rst-indent-literal-normal, rst-indent-literal-minimized)
4831 (rst-indent-comment): Add missing custom :version tags.
4833 * calendar/timeclock.el (timeclock-modeline-display):
4834 Add missing obsolete alias for renamed user option.
4836 * strokes.el (strokes-modeline-string):
4837 * emulation/crisp.el (crisp-mode-modeline-string):
4838 * eshell/esh-mode.el (eshell-status-in-modeline):
4839 Aliases to defcustoms must come before the defcustom.
4841 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4842 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4843 (cal-tex-cursor-week-monday): Doc fixes.
4844 (cal-tex-cursor-week2-summary): Doc fix.
4845 Rename from cal-tex-cursor-week-at-a-glance.
4847 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4848 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4850 * calendar/calendar.el (calendar-mode-map):
4851 Add cal-tex-cursor-week2-summary.
4853 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4857 * subr.el (read-passwd-map): New var.
4858 (read-passwd): Use `read-string' again.
4859 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4861 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4863 * register.el (append-to-register, prepend-to-register):
4864 Deactivate mark, as does `copy-to-register' (bug#12389).
4866 2012-10-06 Chong Yidong <cyd@gnu.org>
4868 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4870 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4872 * international/characters.el: Fix simple mistake ((car chars) ->
4873 elt), delete duplicated code.
4875 2012-10-06 Glenn Morris <rgm@gnu.org>
4877 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4879 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4881 * color.el (color-hsl-to-rgb): Fix incorrect results for
4882 small and large hue values. (Bug#12559)
4884 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4886 Enhancements to docstring formatting when filling paragraphs.
4887 * progmodes/python.el (python-fill-docstring-style): Rename from
4888 python-fill-string-style. Added new style.
4889 (python-fill-string): Use new style. Better checks for
4892 2012-10-05 Glenn Morris <rgm@gnu.org>
4894 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4896 * color.el (color-name-to-rgb, color-rgb-to-hex)
4897 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4898 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4899 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4900 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4902 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4904 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4906 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4907 to get the correct size across symlinks.
4909 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4911 2012-10-04 Juri Linkov <juri@jurta.org>
4913 * replace.el (query-replace-interactive): Declare obsolete.
4914 (query-replace-read-from): Add the last incremental search string
4915 to the list of default values accessible via M-n.
4916 (map-query-replace-regexp): Use `read-regexp'.
4917 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4918 (map-query-replace-regexp, replace-string, replace-regexp):
4919 Fix docstrings to replace mentions of `query-replace-interactive'
4920 with alternatives. (Bug#12526)
4922 2012-10-04 Juri Linkov <juri@jurta.org>
4924 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4925 (dired-pop-to-buffer): Declare obsolete.
4926 (dired-mark-pop-up): Doc fix.
4928 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4930 Allow user to set docstring style for fill-paragraph.
4931 * progmodes/python.el
4932 (python-fill-comment-function, python-fill-string-function)
4933 (python-fill-decorator-function, python-fill-paren-function):
4934 Remove :safe for defcustoms.
4935 (python-fill-string-style): New defcustom
4936 (python-fill-paragraph-function): Enhance context detection.
4937 (python-fill-string): Honor python-fill-string-style settings.
4939 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4941 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4942 after setting its buffer (Bug#10805).
4944 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4946 Fix cornercase for string syntax.
4947 * progmodes/python.el (python-syntax-propertize-function):
4948 Simplify and enhance the regexp for unescaped quotes. Now it also
4949 matches quotes in weird situations like the single quote in
4951 (python-syntax-stringify): Simplify num-quotes detecting code.
4953 2012-10-03 Glenn Morris <rgm@gnu.org>
4955 * help-macro.el (three-step-help):
4956 Revert 2012-09-29 change. (Bug#12567)
4958 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4960 * menu-bar.el (kill-this-buffer): Don't do anything when
4961 `menu-frame' is not alive or visible (Bug#8184).
4963 * emacs-lisp/debug.el (debug): When quitting the debugger window
4964 restore current buffer (Bug#12502).
4966 2012-10-02 Chong Yidong <cyd@gnu.org>
4968 * progmodes/hideif.el (hif-lookup, hif-defined):
4969 Handle semantic-c-takeover-hideif.
4971 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4973 Change sampling interval units from ms to ns.
4974 * profiler.el (profiler-sampling-interval): Change units
4975 from ms to ns, multiplying the default by 1000000 so that
4977 (profiler-report-cpu-line-format): Give enough room for
4978 the maximum counters on 64-bit hosts.
4979 (profiler-report-render-calltree-1): Call them "CPU samples",
4980 not "Time (ms)", since they are not milliseconds now (and
4983 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4985 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4986 Fix querying BBDB for entries without a last name (Bug#11580).
4988 2012-10-02 Chong Yidong <cyd@gnu.org>
4990 * emacs-lisp/eieio.el: Restore Version header.
4992 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4994 * vc/diff-mode.el (diff--auto-refine-data): New var.
4995 (diff-hunk): Use it to delay refinement.
4996 (diff-mode): Remove overlays when we turn off font-lock.
4998 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4999 (table-initialize-table-fixed-width-mode)
5000 (table-set-table-fixed-width-mode): Remove functions.
5001 (table-command-list): Move initialization into declaration.
5002 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5003 (table-with-cache-buffer): Use `declare'.
5004 (table-span-cell): Simplify via CSE.
5005 (table-fixed-width-mode): Use define-minor-mode.
5006 (table-call-interactively, table-funcall, table-apply): Remove.
5007 (table-function): New function, to replace them.
5009 * bookmark.el (bookmark-search-pattern): Remove var.
5010 (bookmark-read-search-input): Remove function.
5011 (bookmark-bmenu-search): Reimplement using a minibuffer.
5013 * faces.el (modeline): Remove obsolete face name.
5015 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5016 and give a non-nil default value.
5017 (add-change-log-entry): Simplify accordingly.
5019 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5021 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5022 (vc-git-log-edit-toggle-amend): New function.
5023 (vc-git-log-edit-toggle-signoff): New function.
5024 (vc-git-log-edit-mode): New major mode.
5025 (vc-git-log-edit-mode-map): Keymap for it.
5026 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5028 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5030 (log-edit-toggle-header): New function.
5031 (log-edit-extract-headers): Accept function values in HEADERS alist.
5033 2012-10-01 David Engster <deng@randomsample.de>
5035 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5036 from symbol property and change message to be more consistent with
5038 (eieio-describe-generic): Add filename for each implementation.
5039 Fix indices for generic and normal methods.
5040 (eieio-method-def, eieio-class-def): New buttons.
5041 (eieio-help-find-method-definition)
5042 (eieio-help-find-class-definition): New functions.
5043 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5044 class, constructor and method definitions.
5046 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5047 information in symbol property.
5048 (scoped-class): Remove.
5049 (eieio-slot-name-index, call-next-method): Check if it is bound.
5051 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5053 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5054 (eieio-custom-mode): New major mode.
5055 (eieio-customize-object): Use it.
5057 2012-10-01 Eric Ludlam <zappo@gnu.org>
5059 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5060 specifying the expected class, and whether subclassing is allowed.
5061 (eieio-persistent-convert-list-to-object):
5062 (eieio-persistent-validate/fix-slot-value)
5063 (eieio-persistent-slot-type-is-class-p): New functions.
5064 (eieio-named::slot-missing): Doc fix.
5066 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5067 Stop using unused publd variable.
5069 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5070 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5071 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5072 (eieio-speedbar-handle-click): Do not specify a class for the
5073 method. Fixes method invocation order problems with EDE.
5075 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5077 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5078 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5080 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5082 * bookmark.el (bookmark-version-control): Give tags in the
5083 :type choices (Bug#12309), and improve doc string.
5084 (bookmark-write-file): Bind `print-circle' to `t' to allow
5085 circular custom bookmark types. (Bug#12503)
5087 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5089 Revert the FOLLOW-SYMLINKS change for file-attributes.
5090 * files.el (remote-file-name-inhibit-cache, after-find-file):
5091 * time.el (display-time-file-nonempty-p): Undo last change.
5093 * profiler.el (profiler-sampling-interval): Change default back to 1.
5094 See Stefan Monnier in
5095 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5097 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5099 Shell output catching a la gud-gdb.
5100 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5101 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5103 (python-shell-fetch-lines-filter): New function.
5104 (python-shell-send-string-no-output): Use them.
5106 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5108 * profiler.el (profiler-sampling-interval): Rename from
5109 profiler-sample-interval.
5110 (profiler-sampling-interval): Default to 10.
5111 (profiler-find-profile): New command (was profiler-find-log).
5112 (profiler-find-profile-other-window): New command.
5113 (profiler-find-profile-other-frame): New command.
5114 (profiler-profile): Introduce API-level data structure.
5116 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5118 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5119 * files.el (remote-file-name-inhibit-cache):
5120 * time.el (display-time-file-nonempty-p): Use it.
5121 * files.el (after-find-file): Don't chase links before calling
5122 file-exists-p, as file-exists-p already does the right thing.
5124 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5126 Merge from standalone RefTeX repository.
5128 The following ChangeLog entries are shortened versions of the
5129 original ones with file paths adapted. A not so strongly edited
5130 version of the original ChangeLog can be found in the commit log.
5132 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5133 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5134 Correctly handle new value type returned by `reftex-citation'.
5136 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5137 that entries with whitespace at various places are found.
5138 Doc fix. Include entries that are cross-referenced from cited entries.
5139 Include @String definitions in the resulting bib file. Add header
5140 and footer defined in `reftex-create-bibtex-header' and
5141 `reftex-create-bibtex-footer'.
5142 (reftex-do-citation): Make it possible again to insert
5143 non-existent entries. Save match data when asking for optional
5144 arguments. Return all keys, not just the first one.
5145 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5146 all citations in the same line.
5147 (reftex-parse-bibtex-entry): Accept additional optional argument
5148 `raw' and keep quotes or braces if it is non-nil. Match fields
5149 containing hyphens besides word constituents.
5150 (reftex-get-string-refs): New function.
5151 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5152 and ask if it should be reread in case it did.
5153 (reftex-pop-to-bibtex-entry)
5154 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5155 entries with spaces or tabs in front of arguments.
5156 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5157 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5158 Match entries containing numbers and symbol constituents.
5159 (reftex-do-citation, reftex-figure-out-cite-format):
5160 Use `reftex-cite-key-separator'.
5162 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5163 (reftex-mouse-view-crossref): Explain why point is set.
5165 * textmodes/reftex-global.el: Whitespace changes.
5167 * textmodes/reftex-index.el: Move provide statement to end of
5169 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5170 (reftex-index-visit-phrases-buffer): Set marker when visiting
5171 buffer. This allows for returning from the phrases file to the
5172 file one was just editing instead of the file where the last
5173 phrases was added from.
5174 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5175 punctuation syntax as it usually is not used as string quote in
5176 TeX-related modes and may occur unmatched. The change also
5177 prevents fontification of quoted content.
5178 (reftex-index-phrases-mode): Use it.
5180 * textmodes/reftex-parse.el (reftex-parse-from-file):
5181 Move backward one char if a `\' was matched after a section macro.
5182 (reftex-parse-from-file): Use beginning of match instead of end as
5185 * textmodes/reftex-ref.el: Adapt creation of
5186 `reftex-<package>-<macro>' functions to new structure of
5187 `reftex-ref-style-alist'.
5188 (reftex-reference): Use `reftex-ref-style-list' function.
5189 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5190 reference macro if `reftex-ref-macro-prompt' is non-nil.
5191 (reftex-reference): Pass refstyle to `reftex-format-special'.
5192 Determine reference macro by looking at
5193 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5194 Use only one special format function.
5195 (reftex-varioref-vref, reftex-fancyref-fref)
5196 (reftex-fancyref-Fref): Remove definitions. The functions are now
5197 generated from `reftex-ref-style-alist'.
5198 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5200 (reftex-format-special): New function.
5202 * textmodes/reftex-sel.el
5203 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5204 of `reftex-ref-style-alist'. Remove code for testing macro type.
5205 (reftex-select-toggle-varioref)
5206 (reftex-select-toggle-fancyref): Remove.
5207 (reftex-select-cycle-ref-style-internal)
5208 (reftex-select-cycle-ref-style-forward)
5209 (reftex-select-cycle-ref-style-backward): New functions.
5210 (reftex-select-label-map): Use `v' and `V' for general cycling
5211 through reference styles. Add `p' for switching between number
5212 and page reference types.
5214 * textmodes/reftex-toc.el (reftex-re-enlarge):
5215 Call `enlarge-window' only if there is something to do because in Emacs
5216 the horizontal version throws an error even if the parameter is 0.
5218 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5219 (reftex-plug-into-AUCTeX): Doc fix.
5220 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5221 string. Adapt to new name.
5222 (reftex-ref-style-alist): Change structure so that it is not
5223 possible to use multiple different package names within a style.
5224 Remove the symbols for symbols for macro type distinction.
5225 Add characters for macro selection.
5226 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5227 (reftex-create-bibtex-footer): New variables.
5228 (reftex-format-ref-function): Mention third argument of special
5230 (reftex-ref-style-alist, reftex-ref-style-default-list):
5232 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5233 to new implementation. Mark as obsolete. Add compatibility code
5234 for honoring the variable values in case they are set.
5235 (reftex-cite-format-builtin, reftex-bibliography-commands):
5236 Add support for ConTeXt.
5237 (reftex-format-ref-function, reftex-format-cite-function):
5239 (reftex-cite-key-separator): New variable.
5241 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5242 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5243 `reftex-syntax-table' because parens have to retain their paren
5244 syntax in order for parsing of BibTeX entries like @book(...) to
5246 (reftex-in-comment): Do not error out if `comment-start-skip' is
5247 not set. Deal correctly with escaped comment characters.
5248 (reftex-tie-multifile-symbols): Add doc string.
5249 Initialize `reftex-ref-style-list'.
5250 (reftex-untie-multifile-symbols): Add doc string.
5251 (reftex-add-index-macros): Doc fix.
5252 (reftex-ref-style-activate, reftex-ref-style-toggle)
5253 (reftex-ref-style-list): New functions.
5254 (reftex-mode-menu): Use them. Adapt to new structure of
5255 `reftex-ref-style-alist'.
5256 (reftex-select-with-char): Kill the RefTeX Select buffer when
5258 (reftex-remove-if): New function.
5259 (reftex-erase-all-selection-and-index-buffers)
5260 (reftex-mode-menu): Reference styles are now computed from
5261 `reftex-ref-style-alist'. Fix typo.
5262 (reftex-report-bug): New function.
5263 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5264 algorithms with O(n log n). Introduce optional argument SORT (not
5267 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5269 Enhancements for triple-quote string syntax.
5270 * progmodes/python.el (python-syntax-propertize-function):
5271 Match both quote cases in one regexp.
5272 (python-syntax-stringify): Handle matches properly.
5274 2012-09-30 Juri Linkov <juri@jurta.org>
5276 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5277 to nil around the call to `insert' to prevent
5278 directory time modification by lock_file. (Bug#2295)
5279 * tar-mode.el (tar-summarize-buffer): Idem.
5281 2012-09-30 Juri Linkov <juri@jurta.org>
5283 * facemenu.el (list-colors-sort): Add option "Luminance".
5284 (list-colors-sort-key): Implement it.
5286 * vc/diff-mode.el (diff-refine-removed):
5287 * vc/ediff-init.el (ediff-fine-diff-A):
5288 * vc/smerge-mode.el (smerge-refined-removed):
5289 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5291 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5293 * term/ns-win.el (x-file-dialog): New function.
5295 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5297 * ido.el (ido-max-directory-size): Default to nil; the current
5298 default is small for POSIX systems, and impractical on Windows 7
5299 now that lstat returns directory sizes for NTFS.
5301 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5303 In buffer display functions handle window-height/window-width
5304 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5305 * window.el (window--display-buffer): New argument ALIST.
5306 Obey window-height and window-width alist entries.
5307 (window--try-to-split-window): New argument ALIST.
5308 Bind window-combination-limit to t when the window's size shall be
5309 changed and window-combination-limit equals `window-size'.
5310 (display-buffer-in-atom-window)
5311 (display-buffer-in-major-side-window)
5312 (display-buffer-in-side-window, display-buffer-same-window)
5313 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5314 (display-buffer-pop-up-window, display-buffer-below-selected)
5315 (display-buffer-at-bottom, display-buffer-in-previous-window)
5316 (display-buffer-use-some-window): Adjust all callers of
5317 window--display-buffer and window--try-to-split-window.
5318 (fit-frame-to-buffer): New option.
5319 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5321 (display-buffer-in-major-side-window): Evaluate window-height /
5322 window-width alist entries.
5324 * help.el (temp-buffer-resize-frames)
5325 (temp-buffer-resize-regexps): Remove options.
5326 (temp-buffer-resize-mode): Adjust doc-string.
5327 (resize-temp-buffer-window): Don't consult
5328 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5329 temp-buffer-resize-frames.
5331 * dired.el (dired-mark-pop-up):
5332 Call display-buffer-below-selected with a fit-window-to-buffer alist
5335 2012-09-30 Chong Yidong <cyd@gnu.org>
5337 * server.el (server-host): Document the security implications.
5338 (server-auth-key): Doc fix.
5340 * startup.el (initial-buffer-choice): Doc fix.
5342 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5344 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5347 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5349 * help-fns.el (help-fns--obsolete): Fix last change.
5351 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5353 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5354 (minor-mode-map-alist): Remove redundant code.
5356 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5357 visited in a buffer.
5358 (cvs-insert-visited-file): New function.
5359 (find-file-hook): Use it.
5361 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5363 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5365 (log-edit-empty-buffer-p): Don't require a space after a header.
5367 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5369 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5371 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5372 a proper minor-mode.
5374 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5376 2012-09-29 Glenn Morris <rgm@gnu.org>
5378 * winner.el (winner-mode): Remove variable (let define-minor-mode
5380 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5382 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5383 (winner-mode): Use define-minor-mode.
5385 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5386 the full definition in loaddefs, rather than duplicating it.
5388 * help-macro.el (three-step-help): No need to autoload defcustom.
5390 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5391 (inferior-lisp-program, inferior-lisp-load-command)
5392 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5393 No need to autoload defcustoms.
5395 * hippie-exp.el (hippie-expand-try-functions-list)
5396 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5397 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5398 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5399 (hippie-expand-only-buffers): No need to autoload defcustoms.
5400 * progmodes/vhdl-mode.el (vhdl-line-expand):
5401 Explicitly load hippie-exp, so it does not get autoloaded
5402 while hippie-expand-try-functions-list is let-bound.
5404 2012-09-28 Glenn Morris <rgm@gnu.org>
5406 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5408 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5409 Only "cl.el" counts as cl these days.
5411 2012-09-28 Juri Linkov <juri@jurta.org>
5413 Display archive errors in the echo area instead of inserting
5416 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5417 to STDERR-TEST that can be a regexp matching a successful output.
5418 Create a temporary file and redirect stderr to it. Search for
5419 STDERR-TEST in the stderr output and display it in the echo area
5420 if no match is found.
5421 (archive-extract-by-file): New function like
5422 `archive-extract-by-stdout' but extracting archives to files
5423 and looking for successful matches in stdout. Function body is
5424 mostly copied from `archive-rar-extract'.
5425 (archive-rar-extract): Use `archive-extract-by-file'.
5426 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5428 2012-09-28 Leo Liu <sdl.web@gmail.com>
5430 * pcomplete.el (pcomplete-show-completions):
5431 Use minibuffer-message to make pcomplete usable in minibuffer.
5433 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5435 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5437 * type-break.el: Use lexical-binding.
5438 (type-break-mode): Use define-minor-mode.
5440 * emacs-lisp/pcase.el (pcase--mark-used): New.
5441 (pcase--u1): Use it (bug#12512).
5443 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5444 in load-history with the right file name.
5446 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5448 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5449 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5450 (doc-view-get-bounding-box): Make bounding box slicing work for
5451 ODF and DVI documents.
5453 2012-09-28 Glenn Morris <rgm@gnu.org>
5455 * type-break.el (type-break-mode, type-break-interval)
5456 (type-break-good-rest-interval, type-break-keystroke-threshold):
5457 No need to autoload.
5458 (type-break-good-rest-interval, type-break-keystroke-threshold):
5461 2012-09-28 Chong Yidong <cyd@gnu.org>
5463 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5466 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5468 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5470 2012-09-27 Glenn Morris <rgm@gnu.org>
5472 * faces.el (x-display-name): Declare (for without-x builds).
5474 * linum.el (linum-format): Don't autoload it. Improve :type.
5476 * progmodes/tcl.el: Don't require outline when compiling.
5477 (outline-regexp, outline-level): Declare.
5478 * textmodes/sgml-mode.el: Don't require outline when compiling.
5479 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5481 * term.el (term-ansi-reset):
5482 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5484 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5485 files for RCS and SCCS. (Bug#9781)
5487 2012-09-27 Chong Yidong <cyd@gnu.org>
5489 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5490 change; value should be t.
5492 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * image-mode.el: Use lexical-binding.
5495 (image-mode-winprops): Use t to stand for the window of
5496 a buffer that's not displayed.
5497 * doc-view.el (doc-view-new-window-function): Handle the new
5499 (doc-view-enlarge): Make it a real nop if the size is not changed.
5500 (doc-view-display): Handle the case where the buffer is not (yet?)
5501 displayed in any window.
5502 (doc-view-saved-settings): New var.
5503 (doc-view-mode): Use it.
5504 (doc-view-fallback-mode): Set it.
5506 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5507 Set lexical-binding.
5508 (minibuffer-eldef-shorten-default): New var.
5509 (minibuffer-default-in-prompt-regexps): Use it for new default.
5510 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5512 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5514 * international/uni-bidi.el:
5515 * international/uni-category.el:
5516 * international/uni-name.el:
5517 * international/uni-numeric.el: Regenerate.
5519 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5520 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * profiler.el: New file.
5524 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5527 (testcover-reinstrument): Simplify with CSE.
5529 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5531 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5533 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5535 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5536 (verilog-auto-input, verilog-auto-insert-lisp)
5537 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5538 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5539 (verilog-auto-unused, verilog-auto-wire)
5540 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5541 newline. Reported by Andrew Jones.
5542 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5543 Reported by Brad Dobbie.
5544 (verilog-batch-delete-trailing-whitespace):
5545 Create verilog-batch-delete-trailing-whitespace.
5546 Reported by Brad Dobbie.
5547 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5548 parameters from another module. Reported by Dan Katz.
5549 (verilog-auto, verilog-auto-assign-modport)
5550 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5551 AUTOINOUTMODPORT for UVM interface module shell generation.
5552 Reported by Brad Dobbie.
5553 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5555 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5556 Reported by Matt Martin.
5558 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5560 * window.el (window--resize-child-windows): When resizing child
5561 windows proportionally, process them in reverse order to
5562 preserve the "when splitting a window the new one gets the odd
5564 (window--resize-root-window-vertically): When resizing the
5565 minibuffer window try to affect only windows at the bottom of the
5568 2012-09-25 Chong Yidong <cyd@gnu.org>
5570 * subr.el (declare): Doc fix.
5572 * help-fns.el (help-fns--obsolete): Handle macros properly.
5574 2012-09-25 Chong Yidong <cyd@gnu.org>
5576 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5577 this function obsolete.
5579 * calendar/cal-x.el (calendar-two-frame-setup)
5580 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5581 * calendar/calendar.el (american-calendar, european-calendar)
5582 (calendar-for-loop):
5583 * comint.el (comint-dynamic-simple-complete)
5584 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5585 * desktop.el (desktop-load-default):
5586 * dired-x.el (dired-omit-here-always)
5587 (dired-hack-local-variables, dired-default-directory):
5588 * emacs-lisp/derived.el (derived-mode-class):
5589 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5590 * emacs-lock.el (toggle-emacs-lock):
5591 * epa.el (epa-display-verify-result):
5592 * epg.el (epg-sign-keys, epg-start-sign-keys)
5593 (epg-passphrase-callback-function):
5594 * eshell/esh-util.el (eshell-for):
5595 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5596 (eshell-add-to-window-buffer-names):
5597 * files.el (locate-file-completion):
5598 * imenu.el (imenu-example--create-c-index)
5599 (imenu-example--create-lisp-index)
5600 (imenu-example--lisp-extract-index-name)
5601 (imenu-example--name-and-position):
5602 * international/mule-cmds.el (princ-list):
5603 * international/mule-diag.el (decode-codepage-char):
5604 * international/mule-util.el (detect-coding-with-priority):
5605 * iswitchb.el (iswitchb-read-buffer):
5606 * mail/mailalias.el (mail-complete):
5607 * mail/sendmail.el (mail-sent-via):
5608 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5609 (mouse-major-mode-menu):
5610 * password-cache.el (password-read-and-add):
5611 * pcomplete.el (pcomplete-parse-comint-arguments):
5612 * progmodes/sh-script.el (sh-maybe-here-document):
5613 * replace.el (query-replace-regexp-eval):
5614 * savehist.el (savehist-load):
5615 * simple.el (choose-completion-delete-max-match):
5616 * term.el (term-dynamic-simple-complete):
5617 * vc/ediff-init.el (ediff-check-version):
5618 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5619 * vc/vc.el (vc-diff-switches-list):
5620 * view.el (view-return-to-alist-update): Likewise.
5622 * subr.el (eval-next-after-load, makehash, insert-string)
5623 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5625 (mode-line-inverse-video): Variable deleted.
5627 * international/mule-util.el (string-to-sequence): Remove.
5629 * calendar/calendar.el (calendar-version):
5630 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5631 (icalendar-convert-diary-to-ical):
5632 * cus-edit.el (custom-mode):
5633 * ansi-color.el (ansi-color-unfontify-region):
5634 * international/latin1-disp.el (latin1-char-displayable-p):
5635 * progmodes/cwarn.el (turn-on-cwarn-mode):
5636 * progmodes/which-func.el (which-func-update-1):
5637 Use define-obsolete-function-alias.
5639 * net/newst-backend.el (newsticker-cache-filename):
5640 * net/newst-treeview.el (newsticker-groups-filename):
5641 Fix incorrect obsolescence declaration.
5643 * allout.el (allout-passphrase-hint-string): Likewise.
5644 (allout-init): Use a declare form to mark obsolete.
5646 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5647 this applies to functions.
5649 * iswitchb.el (iswitchb-read-buffer): Move code of
5650 iswitchb-define-mode-map here, and delete that obsolete function.
5652 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5653 font-lock-reference-face.
5655 2012-09-25 Glenn Morris <rgm@gnu.org>
5657 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5660 * eshell/em-term.el (eshell-term-name):
5661 Default to term-term-name. (Bug#12485)
5663 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5665 * progmodes/python.el (python-shell-send-buffer): Better handling
5666 of "if __name__ == '__main__':" conditionals when sending the buffer.
5668 2012-09-24 Glenn Morris <rgm@gnu.org>
5670 * eshell/esh-cmd.el (eshell-find-alias-function):
5671 Tighten up file-name regexp. (Bug#12499)
5673 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5675 Enhancements for triple-quote string syntax.
5676 * progmodes/python.el (python-quote-syntax): Remove.
5677 (python-syntax-propertize-function): New value.
5678 (python-syntax-count-quotes, python-syntax-stringify):
5681 2012-09-24 Chong Yidong <cyd@gnu.org>
5683 * mail/supercite.el (sc-version): Remove obsolete function.
5684 (sc-describe): Don't mark as obsolete, since it is bound.
5685 (sc-submit-bug-report): Remove.
5687 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5688 (cvs-commit-buffer-require-final-newline): Remove.
5689 (log-edit-require-final-newline)
5690 (log-edit-changelog-full-paragraphs): Default to t.
5692 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5693 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5694 * vc/vc.el (vc-checkout-carefully): Likewise.
5696 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5697 (emerge-version): Remove.
5699 * progmodes/compile.el (compile-internal): Remove.
5700 (compilation-parse-errors-function): Fix typo.
5702 * international/mule.el (set-char-table-default): Remove.
5703 (set-coding-priority, make-coding-system, generic-char-p)
5704 (charset-list, charset-bytes, charset-id): Use declare to mark
5705 functions as obsolete.
5707 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5708 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5709 * vc/vc-hooks.el (vc-default-registered): Don't use
5710 vc-master-templates.
5712 * font-lock.el (font-lock-reference-face):
5713 Use define-obsolete-variable-alias.
5715 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5716 * calendar/calendar.el (calendar-font-lock-keywords):
5717 * calendar/diary-lib.el (diary-font-lock-keywords)
5718 (diary-fancy-font-lock-keywords):
5719 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5720 * textmodes/reftex-index.el (reftex-insert-index):
5721 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5722 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5723 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5724 * progmodes/prolog.el (prolog-font-lock-keywords):
5725 * progmodes/idlwave.el (idlwave-idl-keywords):
5726 * progmodes/ada-mode.el (ada-font-lock-keywords):
5727 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5729 2012-09-24 Glenn Morris <rgm@gnu.org>
5731 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5733 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5735 * progmodes/python.el (python-indent-line): More consistent cursor
5738 2012-09-23 Stefan Merten <smerten@oekonux.de>
5740 * textmodes/rst.el: Fix compiler warning.
5742 2012-09-23 Roland Winkler <winkler@gnu.org>
5744 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5745 Transcribe also LaTeX hyphenation.
5746 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5747 bibtex-reformat-previous-options.
5749 2012-09-23 Roland Winkler <winkler@gnu.org>
5751 * proced.el (proced-renice-command): New variable.
5752 (proced-marked-processes): New function.
5753 (proced-with-processes-buffer): New macro.
5754 (proced-send-signal): Use them.
5755 (proced-renice): New command bound to r.
5757 2012-09-23 Roland Winkler <winkler@gnu.org>
5759 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5760 ibuffer-saved-filter-groups has one element, shortcut the call of
5761 completing-read. (Bug#12331)
5763 2012-09-23 Chong Yidong <cyd@gnu.org>
5765 * bindings.el (mode-line-toggle-read-only):
5766 * bs.el (bs-toggle-readonly):
5767 * buff-menu.el (Buffer-menu-toggle-read-only):
5768 * dired.el (dired-toggle-read-only):
5769 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5771 2012-09-23 Chong Yidong <cyd@gnu.org>
5773 * image.el (image-type-available-p): Adapt to init-image-library
5776 2012-09-22 Juri Linkov <juri@jurta.org>
5778 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5779 `dired-toggle-read-only'. (Bug#12462)
5781 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5783 * subr.el (temp-output-buffer-show): New function.
5784 (with-output-to-temp-buffer): Call temp-output-buffer-show
5785 instead of internal-temp-output-buffer-show.
5787 2012-09-22 Chong Yidong <cyd@gnu.org>
5789 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5792 * repeat.el (repeat): Doc fix (Bug#12348).
5794 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5797 * simple.el (shell-command-on-region): Doc fix.
5798 (read-only-mode): Doc fix.
5800 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5802 * emacs-lisp/timer.el (run-with-idle-timer)
5803 (timer-activate-when-idle): Warn against reinvoking an idle timer
5804 from within its own timer action. (Bug#12447)
5806 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5808 * cus-start.el (window-combination-limit): Add new optional
5810 * window.el (temp-buffer-window-show)
5811 (window--try-to-split-window): Handle new values of
5812 window-combination-limit (Bug#1806).
5813 (split-window): Test window-combination-limit for t instead of
5815 (display-buffer-at-bottom): New buffer display action function.
5816 * help.el (temp-buffer-resize-regexps): New option.
5817 (temp-buffer-resize-mode): Rewrite doc-string.
5818 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5819 Don't resize reused window. Suggested by Glenn Morris.
5821 2012-09-22 Stefan Merten <smerten@oekonux.de>
5823 * textmodes/rst.el: Revamp section title faces.
5824 (rst-official-version)
5825 (rst-package-emacs-version-alist): Sync with official version
5827 (rst-faces-defaults, rst-set-level-default)
5828 (rst-level-face-max, rst-level-face-base-color)
5829 (rst-level-face-base-light, rst-level-face-format-light)
5830 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5831 (rst-adornment-faces-alist): Match new setup.
5832 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5833 (rst-level-5, rst-level-6): New faces.
5835 2012-09-22 Chong Yidong <cyd@gnu.org>
5837 * simple.el (undo): Handle indirect buffers (Bug#8207).
5839 2012-09-21 Leo Liu <sdl.web@gmail.com>
5841 IDO: Disable match re-ordering for buffer switching.
5842 * ido.el (ido-buffer-disable-smart-matches): New variable.
5843 (ido-set-matches-1): Use it. (Bug#2042)
5845 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5847 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5848 Fix 2011-05-17 change. (Bug#12418)
5850 2012-09-21 Leo Liu <sdl.web@gmail.com>
5852 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5854 2012-09-21 Glenn Morris <rgm@gnu.org>
5856 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5857 Be more robust about locating simple.el.
5859 2012-09-21 Glenn Morris <rgm@gnu.org>
5861 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5863 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5865 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5867 2012-09-20 Juri Linkov <juri@jurta.org>
5869 * replace.el (query-replace-read-from): Use `read-regexp' instead
5870 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5871 (occur-read-primary-args): Use `read-regexp' instead of
5873 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5874 `read-from-minibuffer'.
5875 * isearch.el (isearch-occur): Use `read-regexp' instead of
5877 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5878 `read-from-minibuffer'.
5879 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5880 of `read-string'. (Bug#7567)
5882 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5883 and allow accepting a list of strings prepended to a list of
5884 standard default values. Doc fix. (Bug#12321)
5886 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5888 * replace.el (read-regexp): Don't add ": " when PROMPT already
5889 ends with a colon and space. (Bug#12321)
5891 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5893 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5896 2012-09-20 Stefan Merten <smerten@oekonux.de>
5898 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5899 Fixes feature request bug#11711.
5900 (rst-mode): Create `imenu-create-index-function'.
5901 (rst-get-stripped-line): Delete after refactoring.
5902 (rst-section-tree, rst-section-tree-rec)
5903 (rst-section-tree-point): Refactor and document properly.
5904 (rst-imenu-find-adornments-for-position)
5905 (rst-imenu-convert-cell, rst-imenu-create-index):
5908 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5910 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5911 (macroexp--expand-all): Use it.
5912 (macroexp--funcall-and-return): Remove by folding it into its sole
5913 caller (macroexp--warn-and-return).
5914 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5915 Use macroexp--obsolete-warning.
5917 * calc/calc.el: Fix last change by removing the whole chunk, since it
5918 was only needed back when Calc was not bundled.
5920 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5922 * emacs-lisp/debug.el (debug): Restore assignment to
5923 debugger-old-buffer removed on 2012-09-08.
5925 2012-09-20 Juri Linkov <juri@jurta.org>
5927 * dired-aux.el (dired-diff): Remove (require 'diff) since
5928 `diff-latest-backup-file' is now autoloaded.
5930 2012-09-20 Chong Yidong <cyd@gnu.org>
5932 * vc/diff.el (diff-latest-backup-file): Autoload.
5934 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5936 * calc/calc.el: Remove redundant autoload shape check.
5937 (sel-mode): Don't defvar.
5938 (calc-get-stack-element): Add `sel-mode' arg instead.
5939 (calc-top, calc-top-list): Pass it this additional argument.
5940 * calc/calc-store.el (calc-store-map):
5941 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5942 (calc-map-equation, calc-outer-product, calc-inner-product):
5943 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5945 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5947 2012-09-19 Juri Linkov <juri@jurta.org>
5949 * dired-aux.el (dired-diff): Add (require 'diff) because
5950 `diff-latest-backup-file' is not autoloaded.
5951 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5952 of `dired-get-filename' to t to not report error when there is
5953 no default file on the current line.
5955 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5958 macroexp--eval-if-compile.
5959 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5960 (macroexp--expand-all): Use them (bug#12371).
5962 * doc-view.el (doc-view-guess-paper-size)
5963 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5965 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5967 New feature: set optimal slice from BoundingBox information.
5968 * doc-view.el (doc-view-mode-map): Add keybinding.
5969 (doc-view-menu): Add menu entry.
5970 (doc-view-set-slice): Adapt docstring.
5971 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5972 (doc-view-scale-bounding-box)
5973 (doc-view-set-slice-from-bounding-box): New functions.
5974 (doc-view-paper-sizes): New defvar.
5976 2012-09-19 Glenn Morris <rgm@gnu.org>
5978 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5979 (byte-compile-log-warning): Autoload. (Bug#12371)
5981 * calendar/calendar.el (calendar-american-month-header)
5982 (calendar-european-month-header, calendar-iso-month-header)
5983 (calendar-month-header): New options.
5984 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5985 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5987 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5989 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5991 2012-09-18 Juri Linkov <juri@jurta.org>
5993 * dired-aux.el (dired-diff): Restore original functionality of
5994 getting the default value, but keep new feature of using the
5995 latest existing backup file (`diff-latest-backup-file').
5997 2012-09-18 Juri Linkov <juri@jurta.org>
5999 * dired.el (dired-mark): If the region is active in Transient Mark
6000 mode, mark all files in the active region. Doc fix.
6001 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6002 Doc fix. (Bug#10624)
6004 2012-09-18 Juri Linkov <juri@jurta.org>
6006 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6007 attributes for M-n are pulled from the file at point.
6008 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6009 Suggested by Drew Adams. (Bug#10624)
6011 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6013 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6014 whitespace after "end".
6015 (ruby-do-end-to-brace): Collapse block to one line if it fits
6018 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6020 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6022 (debug): Don't remove debugger window when debugger is expected
6025 2012-09-18 Chong Yidong <cyd@gnu.org>
6027 * custom.el (defface): Doc fix.
6029 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6031 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6033 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6034 to initialize query-on-exit; then test that instead (bug#12288).
6036 2012-09-17 Stefan Merten <smerten@oekonux.de>
6038 * textmodes/rst.el: Add support for `testcover'.
6039 (rst-defcustom-testcover, rst-testcover-add-compose)
6040 (rst-testcover-add-1value): New functions.
6041 (rst-portable-mark-active-p): Replace by `use-region-p'.
6042 (rst-update-section, rst-classify-adornment)
6043 (rst-find-title-line): Mark `1value' forms.
6044 (rst-classify-adornment): Remove superfluous form.
6045 (rst-update-section, rst-get-adornments-around)
6046 (rst-adornment-complete-p, rst-get-next-adornment)
6047 (rst-adjust, rst-promote-region)
6048 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6049 (rst-find-pfx-in-region, rst-section-tree-rec)
6050 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6051 (rst-toc-node, rst-toc, rst-forward-section)
6052 (rst-iterate-leftmost-paragraphs)
6053 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6054 (rst-bullet-list-region)
6055 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6056 (rst-compile-find-conf, rst-compile)
6057 (rst-repeat-last-character): Fix style.
6059 2012-09-17 Chong Yidong <cyd@gnu.org>
6061 * comint.el (comint--complete-file-name-data): Don't add a space
6062 if the status is `sole'; that adds a gratuitous space in the
6063 completion-cycling case (Bug#12092).
6065 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6067 2012-09-17 Richard Stallman <rms@gnu.org>
6069 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6070 only in the mime-shown mode, not in raw mode.
6071 (rmail-mime): Toggle off mime by displaying the message without
6072 mime processing. (Bug#12305)
6074 * mail/rmail.el (rmail-retry-failure):
6075 Turn off mime processing first. (Bug#12037)
6077 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6079 2012-09-17 Chong Yidong <cyd@gnu.org>
6081 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6082 (shell-dynamic-complete-functions): Convert to defcustom.
6083 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6085 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6086 * comint.el (comint-prompt-read-only):
6087 * custom.el (defcustom):
6088 * hi-lock.el (hi-lock-mode):
6089 * ibuffer.el (ibuffer-formats):
6090 * ielm.el (ielm-prompt-read-only):
6091 * novice.el (disable-command):
6092 * saveplace.el (toggle-save-place):
6093 * speedbar.el (speedbar-supported-extension-expressions):
6094 * startup.el (auto-save-list-file-prefix, init-file-user)
6095 (after-init-hook, inhibit-startup-echo-area-message):
6096 * strokes.el (strokes-help):
6097 * time-stamp.el (time-stamp):
6098 * calendar/calendar.el (calendar, diary-file):
6099 * calendar/diary-lib.el (diary-mail-entries, diary)
6100 (diary-list-entries-hook):
6101 * calendar/holidays.el (holidays, calendar-holidays):
6102 * calendar/lunar.el (lunar-phases):
6103 * calendar/solar.el (sunrise-sunset):
6104 * emulation/edt.el (edt-load-keys):
6105 * emulation/viper.el (viper-mode):
6106 * eshell/em-alias.el (eshell-command-aliases-list):
6107 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6108 * international/ogonek.el (ogonek-information):
6109 * net/tramp-cmds.el (tramp-bug):
6110 * net/quickurl.el (quickurl-reread-hook-postfix):
6111 * play/decipher.el (decipher-font-lock-keywords):
6112 * progmodes/cc-styles.el (c-set-style):
6113 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6114 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6115 * progmodes/octave-mod.el (octave-mode):
6116 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6117 * progmodes/verilog-mode.el (verilog-read-defines):
6118 * textmodes/two-column.el (2C-mode): Likewise.
6120 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6122 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6123 that holds many addresses.
6125 2012-09-16 Chong Yidong <cyd@gnu.org>
6127 * align.el (align-areas): Call the indication function with
6128 positions instead of markers for arguments (Bug#12343).
6130 * files.el (parse-colon-path): Use split-string (Bug#12351).
6132 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6133 (display-buffer-function): Mark as obsolete.
6135 * progmodes/compile.el (compilation-parse-errors): Accept list
6136 values similar to font-lock-keywords (Bug#12136).
6137 Suggested by Oleksandr Manzyuk.
6138 (compilation-error-regexp-alist): Doc fix.
6140 2012-09-15 Glenn Morris <rgm@gnu.org>
6142 * version.el (emacs-bzr-version-bzr): New function.
6143 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6145 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6146 checkouts, check the parent dirstate matches the branch.
6147 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6150 * version.el (emacs-bzr-version): Doc fix.
6151 (emacs-bzr-version-dirstate): New function.
6152 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6153 is local try and check that it matches the branch. If not, just
6154 use dirstate information. (Bug#12441)
6156 2012-09-14 Juri Linkov <juri@jurta.org>
6158 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6161 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6165 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6166 Remove obsolete byte-compiler hack that tried to silence some warnings.
6167 (edebug-submit-bug-report): Remove.
6168 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6169 Remove aliases, use the un-prefixed name instead.
6170 (edebug-pop-to-buffer): Consider other frames.
6171 (edebug-original-read):: Make it more obvious that it's always defined.
6172 (edebug--make-form-data-entry, edebug--form-data-name)
6173 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6174 single-dashed name, and implement with cl-defstruct.
6175 (edebug-set-form-data-entry): Use the standard accessors.
6176 (edebug-make-top-form-data-entry): Use push.
6177 (edebug-no-match): Drop useless `funcall'.
6178 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6180 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6181 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6182 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6183 (easy-menu-define, with-custom-print): Remove redundant specs.
6184 (edebug-outside-overriding-local-map)
6185 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6186 (edebug--display): Bind unread-command-events directly to nil rather
6187 than binding it to unread-command-events and later setting it to nil.
6188 (edebug--display): Kill edebug-eval-buffer here...
6189 (edebug--recursive-edit): ...rather than here.
6190 Bind standard-output and standard-input.
6191 (edebug-eval): Check cl-macroexpand-all is fboundp.
6192 (edebug-temp-display-freq-count): Fix last change.
6194 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6195 * subr.el (noreturn, 1value): Add `debug' spec.
6196 * emacs-lisp/advice.el: Require cl-lib.
6197 (ad-copy-tree): Remove, use copy-tree instead.
6198 (ad-dolist): Remove use dolist or cl-dolist instead.
6199 (ad-do-return): Remove, use cl-return instead.
6200 (defadvice): Add `debug' spec.
6202 2012-09-13 Juri Linkov <juri@jurta.org>
6204 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6207 2012-09-13 Glenn Morris <rgm@gnu.org>
6209 * calc/calc.el (math-compose-expr):
6210 * calc/calc-ext.el (math-compose-expr):
6211 * progmodes/cc-defs.el (cl-macroexpand-all):
6212 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6213 (cl-macroexpand-all): Update declarations.
6215 * vc/vc.el: No need to require ediff.
6216 (ediff-load-version-control): Declare.
6217 (ediff-vc-internal): Fix declaration.
6218 (vc-version-ediff): Require ediff.
6220 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6222 Use a more backwards-compatible timer format (Bug#12430).
6223 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6224 being right after USECS, as that better supports old code that
6225 inadvisedly looked directly at the timer vector.
6227 2012-09-13 Kenichi Handa <handa@gnu.org>
6229 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6230 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6231 `coding-priority' property of these language environment.
6233 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6235 Fix glitches caused by addition of psec to timers (Bug#12430).
6236 * image.el (image-animate-timer):
6237 * time.el (display-time-world-timer):
6238 Use timer--function and timer--args rather than raw access to
6241 2012-09-13 Glenn Morris <rgm@gnu.org>
6243 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6244 If not compiling a file, try using load-file-name.
6246 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6248 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6250 (edebug-update-eval-list): Use `push'.
6252 * emacs-lisp/edebug.el: Use lexical-binding.
6253 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6254 Mark unused args with underscore.
6255 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6256 (edebug-form-data): Use defvar-local.
6257 (edebug-make-before-and-after-form, edebug-make-after-form):
6259 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6260 Not dynamically scoped any more.
6261 (edebug--enter-trace): Add arguments `function' and `args'.
6262 Rename from edebug-enter-trace.
6263 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6264 (edebug--update-coverage): Add `after-index' and `value' args.
6265 Rename from edebug-update-coverage.
6266 (edebug-slow-after): Call it accordingly.
6267 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6268 edebug-recursive-edit.
6269 (edebug--display): Call it accordingly. Add args `value',
6270 `offset-index', and `arg-mode'. Rename from edebug-display.
6271 (edebug-debugger, edebug): Call it accordingly.
6272 (edebug-eval-display-list): Use dolist.
6274 2012-09-12 Juri Linkov <juri@jurta.org>
6276 * info.el (Info-search): Don't check for isearch-mode and
6277 isearch-regexp before let-binding search-spaces-regexp to
6278 Info-search-whitespace-regexp.
6279 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6280 search-whitespace-regexp if isearch-lax-whitespace or
6281 isearch-regexp-lax-whitespace is non-nil.
6282 (Info-mode): Don't set local variable search-whitespace-regexp.
6283 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6285 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6288 (debugger-env-macro): Remove support for unread-command-char.
6290 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6291 the temporary map re-appearing on emulation-mode-map-alists.
6293 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6296 * ehelp.el (with-electric-help): Accept functions in
6297 electric-help-form-to-execute.
6298 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6299 And replace unread-command-char -> unread-command-events.
6301 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6303 Sync with Tramp 2.2.6.
6305 * net/tramp.el (tramp-accept-process-output): Don't use
6306 JUST-THIS-ONE in the XEmacs case.
6308 * net/trampver.el: Update release number.
6310 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6312 * emacs-lisp/debug.el (debugger-previous-window-height):
6314 (debug): When debugger-jumping-flag is non-nil try to restore
6315 height of debugger window. (Bug#8789)
6317 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6319 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6320 overriding-local-map and pre/post-command-hook here.
6321 (edebug-recursive-edit): Do it here instead (bug#12345).
6322 (edebug-outside-unread-command-char): Remove all uses of
6323 unread-command-char.
6325 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6326 inhibit-debugger is bound instead.
6328 2012-09-11 Bastien Guerry <bzg@gnu.org>
6330 * subr.el (set-temporary-overlay-map): Add a docstring.
6333 2012-09-11 Bastien Guerry <bzg@gnu.org>
6335 * minibuffer.el (completion-table-subvert): Fix docstring.
6338 2012-09-11 Bastien Guerry <bzg@gnu.org>
6340 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6342 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6344 * progmodes/sql.el: Version 3.1
6345 (sql-db2-escape-newlines): New variable.
6346 (sql-escape-newlines-filter): Use it.
6348 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6350 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6352 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6354 * vc/diff-mode.el (diff-mode-menu):
6355 Bind diff-remove-trailing-whitespace.
6357 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6359 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6360 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6361 (emacs-lisp-byte-code-mode): New functions.
6362 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6363 (eval-defun-2): Remove bogus interactive spec.
6364 (lisp-indent-line): Remove redundant whole-exp code, now done in
6365 indent-according-to-mode.
6366 (save-match-data): Remove redundant indent data.
6368 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6371 2012-09-09 Juri Linkov <juri@jurta.org>
6373 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6374 (replace-lax-whitespace, query-replace-regexp)
6375 (query-replace-regexp-eval, replace-regexp): Doc fix.
6376 (perform-replace, replace-highlight): Let-bind
6377 isearch-lax-whitespace to replace-lax-whitespace and
6378 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6380 * isearch.el (isearch-query-replace): Let-bind
6381 replace-lax-whitespace to isearch-lax-whitespace and
6382 replace-regexp-lax-whitespace to
6383 isearch-regexp-lax-whitespace. (Bug#10885)
6385 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6387 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6389 2012-09-09 Alan Mackenzie <acm@muc.de>
6391 * progmodes/cc-engine.el (c-state-cache-init):
6392 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6393 (c-record-parse-state-state):
6394 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6396 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6398 * register.el (register-separator): Rename from
6399 separator-register. All uses changed. Doc fix.
6400 (register): Fix version.
6402 2012-09-09 Chong Yidong <cyd@gnu.org>
6404 * replace.el (query-replace-map): Bind four new symbols for
6405 requesting window scrolling.
6407 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6408 query-replace-map (Bug#8948).
6410 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6412 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6413 since they are now in query-replace-map.
6415 * window.el (scroll-other-window-down): Make the arg optional.
6417 2012-09-09 Chong Yidong <cyd@gnu.org>
6419 * files.el (hack-local-variables-confirm): Use quit-window to kill
6420 the *Local Variables* buffer.
6422 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6424 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6425 not just expect to be at its beginning. Adjust callees.
6426 Succeed when do-end block has no space before the pipe character.
6427 (ruby-brace-to-do-end): When the original block is one-liner,
6428 convert to multiline. Reindent the result.
6430 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6432 * register.el (register): New group.
6433 (separator-register): New user option.
6434 (increment-register): Route it to `append-to-register', if
6435 register contains text. Implication is that `C-x r +' can now be
6436 used for appending to a text register (bug#12217).
6437 (append-to-register, prepend-to-register): Add separator based on
6438 `separator-register'.
6440 2012-09-08 Alan Mackenzie <acm@muc.de>
6442 AWK Mode: make auto-newline work when there's "==" in the pattern.
6443 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6445 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6446 Test more rigorously for "=" token.
6448 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6450 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6451 Only fail when reached LIMIT.
6453 2012-09-08 Chong Yidong <cyd@gnu.org>
6455 * dired.el (dired-mode-map): Don't bind M-=.
6457 * dired-aux.el (dired-diff): Use backup file as default.
6459 2012-09-08 Drew Adams <drew.adams@oracle.com>
6461 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6463 2012-09-08 Chong Yidong <cyd@gnu.org>
6465 * subr.el (syntax-after, syntax-class): Doc fix.
6467 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6469 * window.el (display-buffer-in-previous-window): New buffer
6470 display action function.
6472 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6473 (debugger-previous-window): New variable.
6474 (debug): Rewrite using display-buffer-in-previous-window,
6475 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6477 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6479 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6481 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6483 * progmodes/python.el (python-shell-send-string):
6484 When default-directory is remote, create temp file on remote
6486 (python-shell-send-file): When file is remote, pass local view of
6487 file paths to remote Python interpreter. (Bug#12340)
6489 2012-09-07 Chong Yidong <cyd@gnu.org>
6491 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6493 * files.el (after-find-file): Don't fail on a read-only buffer if
6494 require-final-newline is `visit' or `visit-save' (Bug#11156).
6496 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6498 * userlock.el (ask-user-about-supersession-threat):
6499 Use read-char-choice (Bug#12093).
6501 2012-09-07 Chong Yidong <cyd@gnu.org>
6503 * subr.el (buffer-narrowed-p): New function.
6505 * ses.el (ses-widen):
6506 * simple.el (count-words--buffer-message):
6507 * net/browse-url.el (browse-url-of-buffer): Use it.
6509 * simple.el (count-words-region): Don't signal an error if there
6510 is a non-nil prefix arg and the mark is not set.
6512 * help.el (describe-key-briefly): Allow the message to be seen
6513 when invoked from the minibuffer (Bug#7014).
6515 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6517 * progmodes/ruby-mode.el (ruby-end-of-defun)
6518 (ruby-beginning-of-defun): Simplify, allow indentation before
6519 block beginning and end keywords.
6520 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6521 (ruby-end-of-defun): Expect that the point is at the beginning of
6524 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6526 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6528 (cl--make-usage-args): Strip _ from argument names.
6530 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6532 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6533 obsolete alias speedbar-key-map.
6534 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6535 (vhdl-index-menu-init): Don't use obsolete variable
6536 font-lock-maximum-size.
6538 2012-09-06 Chong Yidong <cyd@gnu.org>
6540 * frame.el (window-system-version): Mark as obsolete.
6542 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6543 of obsolete variable speedbar-key-map.
6545 2012-09-06 Juri Linkov <juri@jurta.org>
6547 * replace.el (replace-lax-whitespace): New defcustom.
6548 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6549 (replace-string, replace-regexp): Mention it in docstrings.
6550 (perform-replace, replace-highlight): Let-bind
6551 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6552 to the values of replace-lax-whitespace and regexp-flag.
6553 Don't let-bind search-whitespace-regexp. (Bug#10885)
6555 * isearch.el (isearch-query-replace): Let-bind
6556 replace-lax-whitespace instead of let-binding
6557 replace-search-function and replace-re-search-function.
6558 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6559 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6560 (isearch-toggle-symbol): Set isearch-regexp to nil
6561 in isearch-word mode (like in isearch-toggle-word).
6563 2012-09-06 Juri Linkov <juri@jurta.org>
6565 * replace.el (replace-search-function)
6566 (replace-re-search-function): Set default values to nil.
6567 (perform-replace): Let-bind isearch-related variables based on
6568 replace-related values, call `isearch-search-fun' and let-bind
6569 the result to `search-function'. Remove code that sets
6570 `search-function' and `search-string' separately for
6572 (replace-highlight): Add new argument `delimited-flag' and
6573 rename other arguments to the names used in `perform-replace'.
6574 Let-bind `isearch-word' to the argument `delimited-flag'.
6575 (Bug#10885, bug#10887)
6577 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6579 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6580 ruby-beginning-of-indent, simplify, allow all keywords to have
6581 indentation before them.
6582 (ruby-beginning-of-indent): Adjust for above. Search until the
6583 found point is not inside a string or comment.
6584 (ruby-font-lock-keywords): Allow symbols to start with "@"
6585 character, give them higher priority than variables.
6586 (ruby-syntax-propertize-function)
6587 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6588 matchers. Expression expansions are not comments when inside a
6589 string, and there comment syntax status is irrelevant.
6590 (ruby-match-expression-expansion): New function. Check that
6591 expression expansion is inside a string, and it's not escaped.
6592 (ruby-font-lock-keywords): Use it.
6594 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6596 * help.el (temp-buffer-max-height): New default value.
6597 (temp-buffer-resize-frames): New option.
6598 (resize-temp-buffer-window): Optionally resize frame.
6600 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6601 (fit-frame-to-buffer): New function.
6603 2012-09-05 Glenn Morris <rgm@gnu.org>
6605 * emulation/cua-rect.el (cua--init-rectangles):
6606 * textmodes/picture.el (picture-mode-map):
6607 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6608 like forward-char and backward-char. (Bug#12317)
6610 2012-09-05 Leo Liu <sdl.web@gmail.com>
6612 * progmodes/flymake.el (flymake-warning-re): New variable.
6613 (flymake-parse-line): Use it.
6615 2012-09-05 Glenn Morris <rgm@gnu.org>
6617 * calendar/holidays.el (holiday-christian-holidays):
6618 Rename an entry. (Bug#12289)
6620 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6622 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6625 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * loadup.el: Load macroexp. Remove hack.
6628 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6629 (macroexp--expand-all): Use it to get better warnings.
6630 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6631 (internal-macroexpand-for-load): New functions.
6632 (macroexp--pending-eager-loads): New var.
6633 (emacs-startup-hook): New hack to replace one in loadup.el.
6634 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6635 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6636 (cl-psetf): Simplify.
6637 (cl-defstruct): Add indent rule.
6639 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6641 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6642 over `user-mail-address' for the SMTP MAIL FROM envelope.
6643 (smtpmail-via-smtp): Ditto.
6645 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6647 * progmodes/ruby-mode.el: Clean up keybindings.
6648 (ruby-mode-map): Don't bind ruby-electric-brace,
6649 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6650 backward-kill-word, reindent-then-newline-and-indent.
6651 (ruby-mark-defun): Remove.
6652 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6653 (ruby-mode): Set local beginning-of-defun-function and
6654 end-of-defun-function values.
6656 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6658 * window.el (temp-buffer-window-setup-hook)
6659 (temp-buffer-window-show-hook): New hooks.
6660 (temp-buffer-window-setup, temp-buffer-window-show)
6661 (with-temp-buffer-window): New functions.
6662 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6663 (special-display-popup-frame): Make sure the window used shows BUFFER.
6665 * help.el (temp-buffer-resize-mode): Fix doc-string.
6666 (resize-temp-buffer-window): New optional argument WINDOW.
6668 * files.el (recover-file, save-buffers-kill-emacs):
6669 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6671 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6673 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6674 remote definition of `default-directory', ensure we can connect.
6676 2012-09-02 Juri Linkov <juri@jurta.org>
6678 Toggle whitespace matching mode with M-s SPC.
6679 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6681 * isearch.el (search-whitespace-regexp): Doc fix.
6682 Remove cons cell customization.
6683 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6684 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6686 (isearch-forward, isearch-forward-regexp): Doc fix.
6687 (isearch-toggle-lax-whitespace): New command.
6688 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6689 (re-search-forward-lax-whitespace)
6690 (re-search-backward-lax-whitespace): New functions.
6691 (isearch-whitespace-regexp): Remove function.
6692 (isearch-query-replace): Let-bind replace-search-function and
6693 replace-re-search-function.
6694 (isearch-occur): Let-bind search-spaces-regexp according to the
6695 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6696 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6697 condition for C-q SPC.
6698 (isearch-search-fun-default): Use new functions mentioned above.
6699 (isearch-search-forward, isearch-search-backward): Remove functions.
6700 (isearch-search): Don't let-bind search-spaces-regexp.
6701 (isearch-lazy-highlight-space-regexp): Remove variable.
6702 (isearch-lazy-highlight-lax-whitespace)
6703 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6704 (isearch-lazy-highlight-new-loop): Use them.
6705 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6707 2012-09-02 Chong Yidong <cyd@gnu.org>
6709 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6711 2012-09-02 Glenn Morris <rgm@gnu.org>
6713 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6715 2012-09-01 Glenn Morris <rgm@gnu.org>
6717 * term.el: Tidy up menu definitions.
6718 (term-mode-map): Use easymenu for In/Out, Complete menus.
6719 (term-pager-break-map): Initialize in the defvar.
6720 (term-terminal-menu, term-signals-menu): Define with easymenu.
6721 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6722 (term-pager-menu): New, extracted from term-process-pager.
6723 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6724 (term-update-mode-line): Propertize line/char and page items.
6725 (term-process-pager): Move keymap initialization elsewhere.
6727 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6729 * window.el (switch-to-prev-buffer): Handle additional values of
6730 BURY-OR-KILL argument. Don't switch in minibuffer window.
6731 (switch-to-next-buffer): Don't switch in minibuffer window.
6732 (quit-restore-window): New function based on quit-window.
6733 Handle additional values of former KILL argument.
6734 (quit-window): Call quit-restore-window with appropriate
6735 interpretation of KILL argument.
6736 (display-buffer-below-selected): New buffer display action
6739 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * minibuffer.el (completion-at-point-functions): Complete docstring
6744 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6746 Better seed support for (random).
6747 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6748 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6749 * play/mpuz.el, play/tetris.el, play/zone.el:
6750 * calc/calc-comb.el (math-init-random-base):
6751 * play/blackbox.el (bb-init-board):
6752 * play/life.el (life):
6753 * server.el (server-use-tcp):
6754 * type-break.el (type-break):
6755 Remove unnecessary call to (random t).
6756 * net/sasl.el (sasl-unique-id-function):
6757 Change (random t) to (random), now that the latter is more random.
6758 * play/life.el (life-initialized): Remove no-longer-needed var.
6760 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6762 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6763 Consider frame's buffer predicate when choosing the buffer.
6766 2012-08-30 Richard Stallman <rms@gnu.org>
6768 * simple.el (special-mode-map): Delete binding for `z'.
6770 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6772 * progmodes/compile.el (compilation-always-kill): Doc fix.
6774 2012-08-30 Chong Yidong <cyd@gnu.org>
6776 * window.el (display-buffer-reuse-frames): Make the obsolescence
6777 message more informative.
6779 2012-08-30 Glenn Morris <rgm@gnu.org>
6781 * paren.el (show-paren-delay):
6782 Add a :set function. Doc fix. (Bug#12297)
6784 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6786 * progmodes/compile.el (compilation-always-kill): New var.
6787 (compilation-start): Use it.
6789 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6791 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6792 * files.el (read-only-mode): Move to simple.el.
6794 * files.el (read-only-mode): New minor mode.
6795 (toggle-read-only): Use it and mark obsolete.
6796 (find-file--read-only):
6797 * vc/vc.el (vc-next-action, vc-checkout):
6798 * vc/vc-cvs.el (vc-cvs-checkout):
6799 * obsolete/vc-mcvs.el (vc-mcvs-update):
6800 * ffap.el (ffap--toggle-read-only): Update callers.
6802 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6804 * eshell/esh-ext.el (eshell-external-command): Do not examine
6805 remote shell scripts.
6806 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6808 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6811 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6815 2012-08-28 Leo Liu <sdl.web@gmail.com>
6817 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6818 completion-at-point. (Bug#12220)
6820 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6822 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6824 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6826 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6827 be buffer-local; add delete-trailing-whitespace (bug#12259).
6829 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6831 * progmodes/hideif.el (hif-compress-define-list):
6832 Fix typo. (Bug#11951)
6834 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6836 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6837 buffer local setting.
6839 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6840 rcirc-encode-coding-system.
6842 2012-08-28 Leo Liu <sdl.web@gmail.com>
6844 * net/rcirc.el (rcirc-split-message): New function.
6845 (rcirc-send-message): Use it. (Bug#12051)
6847 2012-08-28 Juri Linkov <juri@jurta.org>
6849 * info.el (Info-fontify-node): Hide empty lines at the end of
6850 the node. (Bug#12272)
6852 2012-08-27 Drew Adams <drew.adams@oracle.com>
6854 * dired.el (dired-pop-to-buffer): Make window start at beginning
6855 of buffer (Bug#12281).
6857 2012-08-26 Chong Yidong <cyd@gnu.org>
6859 * window.el (special-display-regexps, special-display-frame-alist)
6860 (special-display-buffer-names, special-display-function)
6861 (display-buffer-reuse-frames): Mark as obsolete.
6863 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6865 * help.el (help-print-return-message): Don't treat
6866 display-buffer-reuse-frames specially.
6868 2012-08-26 Chong Yidong <cyd@gnu.org>
6870 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6871 New variable, replacing gdb-frame-parameters.
6872 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6873 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6874 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6875 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6876 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6877 the functions directly with gdb-display-buffer-other-frame-action.
6878 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6879 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6880 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6881 (gdb-display-registers-buffer): Define directly.
6882 (def-gdb-display-buffer): Macro deleted.
6883 (gdb-display-buffer): Remove second and third args, callers don't
6884 use them. Defer to the default display-buffer behavior, apart
6885 from making windows dedicated.
6886 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6888 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6890 * window.el (display-buffer-pop-up-frame): Handle a
6891 pop-up-frame-parameters alist entry.
6892 (display-buffer): Document it.
6894 2012-08-26 Chong Yidong <cyd@gnu.org>
6896 * isearch.el (search-whitespace-regexp): Make string and nil
6897 values apply to both ordinary and regexp search. Allow a cons
6898 cell value to distinguish between the two.
6899 (isearch-whitespace-regexp, isearch-search-forward)
6900 (isearch-search-backward): New functions.
6901 (isearch-occur, isearch-search-fun-default, isearch-search)
6902 (isearch-lazy-highlight-new-loop): Use them.
6903 (isearch-forward, isearch-forward-regexp): Doc fix.
6905 2012-08-26 Chong Yidong <cyd@gnu.org>
6907 * faces.el (help-argument-name): Always inherit from italic
6910 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6912 * window.el (window--even-window-heights): Even heights when
6913 WINDOW and the selected window form a vertical combination.
6914 (display-buffer-use-some-window): Provide that window used gets
6915 sized back by quit-window. (Bug#11880) and (Bug#12091)
6917 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6919 Fix file time stamp problem with bzr and CVS (Bug#12001).
6920 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6921 in the file's time stamp, since the version control system loses
6924 2012-08-22 Juri Linkov <juri@jurta.org>
6926 * info.el (Info-fontify-node): Hide the suffix of the
6927 Info file name in the header line. (Bug#12187)
6929 2012-08-22 Glenn Morris <rgm@gnu.org>
6931 * calendar/cal-tex.el (cal-tex-weekly-common):
6932 Restore leading blank page.
6934 2012-08-22 Le Wang <l26wang@gmail.com>
6936 * misc.el (forward-to-word, backward-to-word): Activate or extend
6937 the region under `shift-select-mode'. (Bug#12231)
6939 2012-08-22 Bastien Guerry <bzg@gnu.org>
6941 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6942 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6943 gives details on why the space is never needed.
6945 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6947 * window.el (walk-window-tree, window-with-parameter):
6948 New optional argument MINIBUF to control whether these functions
6949 should run on the minibuffer window.
6950 (window-at-side-list): Don't operate on minibuffer window.
6951 (window-in-direction): Simplify and rewrite doc-string.
6952 (window--size-ignore): Rename to window--size-ignore-p.
6954 (display-buffer-in-atom-window, window--major-non-side-window)
6955 (window--major-side-window, display-buffer-in-major-side-window)
6956 (delete-side-window, display-buffer-in-side-window):
6958 (window--side-check, window-deletable-p, delete-window)
6959 (delete-other-windows, split-window): Handle side windows and
6960 atomic windows appropriately.
6961 (window--display-buffer): Call display-buffer-record-window also
6962 when the window buffer did not change.
6964 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6966 * help-fns.el (help-fns--key-bindings):
6967 Abbreviate non-symbol remap targets. (Bug#12174)
6969 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6971 * dired.el (dired-mark-remembered): Don't clobber point.
6974 2012-08-22 Glenn Morris <rgm@gnu.org>
6976 * progmodes/bug-reference.el (bug-reference): New custom group.
6977 (bug-reference-bug-regexp): Make it a defcustom.
6979 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6981 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6982 (js-paren-indent-offset, js-square-indent-offset)
6983 (js-curly-indent-offset): Add :safe (Bug#12257).
6985 2012-08-22 Edward O'Connor <hober0@gmail.com>
6987 * json.el (json-key-format): Add error properties.
6988 (json-encode-key): New function.
6989 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6990 Use json-encode-key.
6992 2012-08-22 Glenn Morris <rgm@gnu.org>
6994 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6995 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6996 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6997 Update for above change.
6999 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7001 * cus-face.el (custom-face-attributes): Fix customize type for the
7002 :underline attribute. (Bug#11805)
7004 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7006 * window.el (window-point-1, set-window-point-1): Remove.
7007 (window-in-direction, record-window-buffer)
7008 (set-window-buffer-start-and-point, split-window-below)
7009 (window--state-get-1, display-buffer-record-window):
7010 Replace calls to window-point-1 and set-window-point-1 by calls to
7011 window-point and set-window-point respectively.
7013 2012-08-21 Glenn Morris <rgm@gnu.org>
7015 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7016 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7019 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7020 (cal-tex-shortday): New function.
7021 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7022 (cal-tex-cursor-filofax-daily): Use the above.
7024 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7026 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7027 (cal-tex-cursor-filofax-week): Use them.
7029 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7031 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7032 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7034 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7035 (cal-tex-end-document): Don't rely on buffer name.
7037 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7039 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7040 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7041 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7044 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7045 (cal-tex-cursor-week, cal-tex-cursor-week2)
7046 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7047 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7048 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7049 (cal-tex-insert-preamble, cal-tex-b-document)
7050 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7051 Improve cal-tex-cmd usage.
7053 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7054 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7055 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7056 (cal-tex-weekly-paper): New function.
7057 (cal-tex-cursor-week, cal-tex-cursor-week2)
7058 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7059 (cal-tex-cursor-day): Use it.
7061 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7062 (cal-tex-cursor-filofax-week): Remove leading blank page.
7064 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7065 Add autoload cookie. For now at least, don't use color, since
7066 no other cal-tex function does.
7068 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7069 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7070 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7072 2012-08-21 Juri Linkov <juri@jurta.org>
7074 * info.el (Info-file-attributes): New variable.
7075 (info-insert-file-contents): Add file attributes to
7076 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7077 `Info-toc-nodes' when previous modtime of the Info file is less
7079 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7080 of info.el. (Bug#12230)
7082 2012-08-20 Glenn Morris <rgm@gnu.org>
7084 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7085 * calendar/holidays.el (calendar-holiday-list):
7086 Report errors with display-warning rather than beep'n'sleep.
7088 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7090 * net/tramp.el (tramp-accept-process-output): Accept only output
7091 from PROC. Otherwise, process filters and sentinels might be
7092 confused. (Bug#12145)
7094 2012-08-20 Chong Yidong <cyd@gnu.org>
7096 * descr-text.el (describe-text-properties-1): Use overlays-in to
7097 report on empty overlays (Bug#3322).
7099 2012-08-20 Glenn Morris <rgm@gnu.org>
7101 * mail/rmailout.el (rmail-output-read-file-name):
7102 Trap and report errors in rmail-output-file-alist elements.
7104 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7105 since most non-font-lock faces are not also variables).
7107 2012-08-20 Edward Reingold <reingold@iit.edu>
7109 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7110 New function. (Bug12160)
7112 2012-08-19 Glenn Morris <rgm@gnu.org>
7114 * mail/rmailout.el (rmail-output-read-file-name):
7115 Fix previous change (when the alist is nil or does not match).
7117 2012-08-19 Chong Yidong <cyd@gnu.org>
7119 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7122 2012-08-18 Chong Yidong <cyd@gnu.org>
7124 * simple.el (yank-handled-properties): New defcustom.
7125 (yank-excluded-properties): Add font-lock-face and category.
7128 * subr.el (remove-yank-excluded-properties):
7129 Obey yank-handled-properties. The special handling of font-lock-face
7130 and category is now done this way, instead of being hard-coded.
7131 (insert-for-yank-1): Remove font-lock-face handling.
7132 (yank-handle-font-lock-face-property)
7133 (yank-handle-category-property): New function.
7135 2012-08-17 Glenn Morris <rgm@gnu.org>
7137 * mail/rmailout.el (rmail-output-read-file-name):
7138 Check rmail-output-file-alist against the full message body
7139 in the correct rmail buffer. (Bug#12214)
7141 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7143 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7144 Eliminate superfluous prompt. (Bug#12203)
7146 2012-08-17 Chong Yidong <cyd@gnu.org>
7148 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7149 font spec, set the font directly (Bug#3228).
7151 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7153 * window.el (delete-window): Fix last fix.
7155 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7157 * window.el (window-valid-p): Move to window.c.
7158 (window-child, window-child-count, window-last-child)
7159 (window-normalize-window, window-combined-p)
7160 (window-combinations, window-atom-root, window-min-size)
7161 (window-sizable, window-sizable-p, window-size-fixed-p)
7162 (window-min-delta, window-max-delta, window--resizable)
7163 (window--resizable-p, window-resizable, window-total-size)
7164 (window-full-height-p, window-full-width-p, window-body-size)
7165 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7166 (minimize-window, window-deletable-p, delete-window)
7167 (delete-other-windows, set-window-buffer-start-and-point)
7168 (next-buffer, previous-buffer, split-window, balance-windows-2)
7169 (set-window-text-height, window-buffer-height)
7170 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7171 (truncated-partial-width-window-p): Minor code adjustments.
7172 In doc-strings state whether the argument window has to denote a
7173 live, valid or any window.
7175 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7177 * progmodes/subword.el (subword-forward-function)
7178 (subword-backward-function, subword-forward-regexp)
7179 (subword-backward-regexp): New variables.
7180 (subword-forward, subword-forward-internal, subword-backward-internal):
7181 Use new variables, eg so that different "word" definitions
7182 can be easily used. (Bug#11411)
7184 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7186 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7187 for composite selectors.
7188 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7189 operation just because we can't find a previous revision.
7191 2012-08-15 Chong Yidong <cyd@gnu.org>
7193 * frame.el (set-frame-font): Accept font objects.
7195 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7197 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7199 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7201 * man.el (Man-overstrike-face, Man-underline-face)
7202 (Man-reverse-face): Remove variables.
7203 (Man-overstrike, Man-underline, Man-reverse): New faces.
7204 (Man-fontify-manpage): Use them instead of the variables.
7205 (Man-cleanup-manpage): Comment change.
7206 (Man-ansi-color-map): New variable.
7207 (Man-fontify-manpage): Use it.
7208 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7210 Implement ANSI SGR parameters 22-27 (bug#12146).
7211 * ansi-color.el (ansi-colors): Doc fix.
7212 (ansi-color-context, ansi-color-context-region): Doc fix.
7213 (ansi-color--find-face): New function.
7214 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7215 Rename the local variable `face' to `codes' since it is now a list of
7216 ansi codes. Doc fix.
7217 (ansi-color-get-face): Remove.
7218 (ansi-color-parse-sequence): New function, derived from
7219 ansi-color-get-face.
7220 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7223 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * subr.el (read-passwd): Allow use from a minibuffer.
7227 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7229 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7230 inside comments and strings as identifiers.
7232 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7233 expression to evaluate. This allows to evaluate expressions with
7234 embedded whitespace.
7235 (gud-tooltip-tips): Add a blank before the newline in the
7236 message-box text, for the benefit of message-box emulation on
7239 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7240 messages from GDB, pop them up in a tooltip to give feedback to
7242 (gdb-tooltip-print-1): Quote the expression to evaluate.
7243 This allows to evaluate expressions with embedded whitespace.
7244 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7245 if the TTY name is nil or empty (which happens when communicating
7246 with the inferior via pipes, e.g. on MS-Windows).
7247 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7248 don't send that to the GUD buffer.
7250 2012-08-14 Glenn Morris <rgm@gnu.org>
7252 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7253 Optimize away setq-default with no args, as for setq. (Bug#12195)
7255 2012-08-14 Chong Yidong <cyd@gnu.org>
7257 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7259 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7262 2012-08-14 Glenn Morris <rgm@gnu.org>
7264 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7266 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7268 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7269 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7270 Use cached shell name.
7272 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7274 * progmodes/python.el (python-shell-send-string):
7275 (python-shell-send-setup-code): Do not use `format' with `message'.
7277 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7279 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7280 (ruby-percent-literal-beg-re): New constant.
7281 (ruby-syntax-general-delimiters-goto-beg): Rename to
7282 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7283 (ruby-syntax-propertize-general-delimiters): Rename to
7284 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7285 popular term. Adjust comments everywhere.
7286 (ruby-syntax-propertize-percent-literal): Only propertize when not
7287 inside a simple string or comment. When the literal is unclosed,
7288 leave the text after it unpropertized.
7289 (ruby-syntax-methods-before-regexp): New constant.
7290 (ruby-syntax-propertize-function): Use it to recognize regexps.
7291 Don't look at the text after regexp, just use the whitelist.
7293 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7295 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7296 non-nil always load the compiled file if it exists. (Bug#12197)
7298 2012-08-14 Chong Yidong <cyd@gnu.org>
7300 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7301 (hi-lock-set-pattern): When deciding whether to use font lock or
7302 overlays, look at font-lock-mode instead of font-lock-fontified
7304 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7305 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7307 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7309 * subr.el (internal--after-with-selected-window): Fix typo
7312 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7314 Use `completion-table-dynamic' for completion functions.
7315 * progmodes/python.el
7316 (python-shell-completion--do-completion-at-point)
7317 (python-shell-completion--get-completions):
7319 (python-shell-completion-complete-at-point): New function.
7320 (python-completion-complete-at-point): Use it.
7322 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7324 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7325 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7327 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * subr.el (function-get): Refine `autoload' arg so it can also
7330 autoload functions for gv.el (bug#12191).
7331 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7334 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7335 Prefer pcase-let over destructuring-bind.
7336 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7337 Also, remove whitespace as we go, rather than after accumulating the
7340 * subr.el (internal--before-with-selected-window)
7341 (internal--after-with-selected-window): Fix typo seleted->selected.
7342 (with-selected-window): Adjust callers.
7343 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7345 2012-08-13 Bastien Guerry <bzg@gnu.org>
7347 * window.el (special-display-popup-frame): Minor docstring
7348 enhancement. (Bug#12172)
7350 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7352 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7354 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7357 * files.el (hack-local-variables-filter): Remove useless eval.
7359 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7361 * subr.el (with-selected-window): Fix last change.
7363 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * subr.el (internal--before-with-seleted-window)
7366 (internal--after-with-seleted-window): New functions.
7367 (with-selected-window): Use them, to replace dependency on
7370 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7372 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7373 binding for `newline'.
7374 (ruby-move-to-block): When moving backward, stop at block opening,
7376 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7377 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7378 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7379 `ruby-toggle-block'.
7381 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7383 * ibuffer.el (ibuffer-do-toggle-read-only):
7384 * dired.el (dired-toggle-read-only):
7385 * buff-menu.el (Buffer-menu-toggle-read-only):
7386 * bindings.el (mode-line-toggle-read-only):
7387 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7389 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7391 * descr-text.el (describe-char): Put the overlays over the
7392 "displayed as" character.
7394 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7396 * calc/calc-units.el (math-default-units-table): Give an
7398 (math-put-default-units): Add options to put composite units and
7399 unit systems in the default units table.
7400 (calc-convert-units): Send composite units to
7401 `math-put-default-units' when appropriate.
7403 2012-08-11 Glenn Morris <rgm@gnu.org>
7405 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7407 * tutorial.el (help-with-tutorial):
7408 * emacs-lisp/copyright.el (copyright-update-directory):
7409 * emacs-lisp/autoload.el (autoload-find-generated-file)
7410 (autoload-find-file): Disable local eval: (for insurance).
7412 * files.el (hack-local-variables-filter): If an eval: form is not
7413 known to be safe, and enable-local-variables is :safe, then ignore
7414 the form totally, as is done for non-eval forms. (Bug#12155)
7415 This is CVE-2012-3479.
7417 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7419 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7420 (rx-form): Simplify.
7422 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7424 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7425 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7426 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7427 (ruby-syntax-propertize-function): Adjust for changes in
7428 `ruby-syntax-propertize-heredoc'.
7430 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7432 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7433 binding (use `M-;' instead).
7434 (ruby-singleton-class-p): New function.
7435 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7437 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7439 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7441 2012-08-10 Chong Yidong <cyd@gnu.org>
7443 * progmodes/python.el (python-shell-get-process-name): Don't mess
7444 with same-window-buffer-names.
7446 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7447 (eshell-remove-from-window-buffer-names): Make obsolete.
7448 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7449 (eshell): Just use pop-to-buffer-same-window instead.
7451 2012-08-10 Chong Yidong <cyd@gnu.org>
7453 * bindings.el: Bind M-= back to count-words-region.
7455 * simple.el (count-words-region): Accept a prefix arg for acting
7456 on the entire buffer.
7457 (count-words--buffer-message): New helper function.
7459 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7461 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7462 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7463 (event-start, event-end): Use posn-at-point to return a more
7465 (posnp): New function.
7466 * mouse.el (popup-menu-normalize-position): Use it.
7468 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7470 * mouse.el (popup-menu-normalize-position): New function.
7471 (popup-menu): Use `popup-menu-normalize-position' to normalize
7472 the form for POSITION argument.
7474 * term/x-win.el (x-menu-bar-open):
7475 Use the value returend from (posn-at-point) as position
7476 passed to `popup-menu'.
7478 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7480 * calc/calccomp.el (math-compose-expr): Add extra argument
7481 indicating that parentheses should be put around products in
7482 denominators. Give multiplication precedence over division during
7485 2012-08-09 Chong Yidong <cyd@gnu.org>
7487 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7488 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7489 (Man-untabify-command, manual-program): Convert to defcustom
7492 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7494 * descr-text.el (describe-char): Don't insert extra newlines
7497 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7498 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7500 * align.el (align-region): Delete temporary markers (Bug#10047).
7501 Plus some code cleanups.
7503 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7505 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7506 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7507 (python-shell-internal-last-output): Use make-local-variable
7508 instead of make-variable-buffer-local.
7510 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7512 * progmodes/python.el: Enhancements to forward-sexp.
7513 (python-nav-forward-sexp): Rename from
7514 python-nav-forward-sexp-function.
7515 (python-nav--forward-sexp, python-nav--backward-sexp):
7518 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7520 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7521 modes and simplification modes.
7523 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * delsel.el (delete-selection-pre-hook): Don't propagate the
7526 file-supersession signals (bug#12161).
7528 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7530 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7531 (cl-map-extents): Add compatibility aliases (bug#12135).
7533 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7535 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7536 tests by `ignore-error'.
7537 (tramp-find-shell): Open also a new shell, when cache is already
7538 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7540 2012-08-08 Juri Linkov <juri@jurta.org>
7542 * bookmark.el: Add `defaults' property to the bookmark record.
7543 (bookmark-current-buffer): Doc fix.
7544 (bookmark-make-record): Add `defaults' property with default values
7545 to the bookmark record.
7546 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7547 with `bookmark-insert-current-bookmark'.
7548 (bookmark-set): Get `defaults' property from the bookmark record
7549 and use it in `read-from-minibuffer'.
7550 (bookmark-insert-current-bookmark): Remove function.
7552 * info.el (Info-bookmark-make-record): Add `defaults' property
7553 with values of canonical Info node name, the current Info file
7554 name and the current Info node name. (Bug#12107)
7556 2012-08-08 Juri Linkov <juri@jurta.org>
7558 * files.el (basic-save-buffer): Use `buffer-name' as the default
7559 of `read-file-name' when buffer is not visiting a file (bug#12128).
7561 2012-08-08 Juri Linkov <juri@jurta.org>
7563 * info.el (Info-isearch-search): Doc fix.
7564 (Info-search): Change search-failed message from "initial node" to
7565 "end of node" (bug#12078).
7566 (Info-isearch-search): Change `isearch-string-state' to
7567 `isearch--state-string'.
7569 2012-08-08 Glenn Morris <rgm@gnu.org>
7571 * language/persian.el: Remove file.
7572 * language/misc-lang.el: Move unique part of persian.el here.
7573 * loadup.el: Remove language/persian.
7575 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7577 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7579 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7581 * progmodes/python.el: Fix defsubst warning.
7582 (python-syntax-context) Rename from python-info-ppss-context.
7583 (python-syntax-context-type): Rename from
7584 python-info-ppss-context-type.
7585 (python-syntax-comment-or-string-p): Rename from
7586 python-info-ppss-comment-or-string-p.
7588 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7590 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7592 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7594 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7595 a defcustom that is quoted with backquote.
7597 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7598 Fix handling of interactive spec when the body uses return.
7599 (math-do-arg-check, math-define-function-body): Use backquote forms.
7600 * calc/calc-ext.el (math-defcache): Likewise.
7601 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7602 * allout.el (allout-new-exposure): Likewise.
7603 * calc/calcalg2.el (math-tracing-integral): Likewise.
7604 * info.el (Info-last-menu-item): Likewise.
7605 * emulation/vip.el (vip-loop): Likewise.
7606 * textmodes/artist.el (artist-funcall): Likewise.
7607 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7608 Construct menu-item directly.
7610 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7613 2012-08-07 Chong Yidong <cyd@gnu.org>
7615 * simple.el (deactivate-mark): Preserve text properties when
7616 saving the primary selection (Bug#8384).
7618 2012-08-07 Kevin Ryde <user42@zip.com.au>
7620 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7621 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7622 and continue processing (Bug#12110).
7624 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7626 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7627 syntax-propertize-function (bug#10095).
7629 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7631 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7632 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7633 describe-function-1.
7634 (describe-function-1): Use them. Move compiler macro after sig.
7635 (help-fns--compiler-macro): Use function-get. Assume we're already in
7636 standard-output. Adjust layout to new call order.
7638 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7639 re-binding a symbol that has a symbol-macro (bug#12119).
7641 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7643 * language/persian.el: New file. (Bug#11812)
7644 * loadup.el: Add language/persian.el.
7646 2012-08-06 Chong Yidong <cyd@gnu.org>
7648 * window.el (window--maybe-raise-frame): New function.
7649 (window--display-buffer): Split off from here.
7650 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7651 (display-buffer-pop-up-window, display-buffer-use-some-window):
7652 Obey an inhibit-switch-frame action alist entry.
7653 (display-buffer): Update doc.
7655 * replace.el (occur-after-change-function): Avoid losing focus by
7656 using the inhibit-switch-frame display parameter (Bug#12139).
7658 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7660 Make internal shell process buffer names start with space.
7661 * progmodes/python.el (python-shell-make-comint): Add optional
7663 (run-python-internal): Use it.
7664 (python-shell-internal-get-or-create-process): Check for new
7665 internal buffer names.
7667 2012-08-06 Glenn Morris <rgm@gnu.org>
7669 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7670 Do less getting and setting of environment variables.
7672 2012-08-05 Chong Yidong <cyd@gnu.org>
7674 * proced.el (proced): Add substitution string to docstring to
7675 trigger autoloading of the proced library on C-h f (Bug#1768).
7677 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7678 Don't show defvars which have no second argument (Bug#8638).
7680 * imenu.el (imenu-generic-expression): Move documentation here
7681 from imenu--generic-function.
7682 (imenu--generic-function): Refer to imenu-generic-expression.
7684 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7686 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7687 indentation declaration.
7688 (viper-loop): Add indentation declaration (Bug#7025).
7690 2012-08-05 Chong Yidong <cyd@gnu.org>
7692 * help-fns.el (describe-variable): Add hyperlink for
7693 directory-local variables files. Improve buffer-local and
7694 permanent-local reporting; suggested by MON KEY (Bug#6644).
7696 * help-mode.el (help-dir-local-var-def): New button type.
7698 * files.el (kill-buffer-hook): Provide a defvar.
7700 2012-08-05 Glenn Morris <rgm@gnu.org>
7702 * eshell/esh-ext.el (eshell/addpath):
7703 Also update eshell-path-env. (Bug#12013)
7705 2012-08-05 Chong Yidong <cyd@gnu.org>
7707 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7709 * fringe.el (fringe-styles): Add docstring.
7710 (fringe--check-mode): New function.
7711 (set-fringe-mode, set-fringe-style): Use it.
7712 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7714 * files.el (set-auto-mode): Fix invalid setq call.
7716 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * isearch.el: Misc simplification; use defstruct.
7719 (isearch-mode-map): Dense maps now work like sparse ones.
7720 (isearch--state): New defstruct.
7721 (isearch-string-state, isearch-message-state, isearch-point-state)
7722 (isearch-success-state, isearch-forward-state)
7723 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7724 (isearch-wrapped-state, isearch-barrier-state)
7725 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7726 replaced by defstruct's accessors.
7727 (isearch--set-state): Rename from isearch-top-state and change
7729 (isearch-push-state): Use new isearch--get-state.
7730 (isearch-toggle-word): Disable regexp when enabling word.
7731 (isearch-message-prefix): Remove unused arg _c-q-hack.
7732 (isearch-message-suffix): Remove unused arg _ellipsis.
7734 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7736 * simple.el (list-processes--refresh): For a server use :host or
7737 :local as the address.
7738 (list-processes): Doc fix.
7740 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7742 * lisp/mpc.el: Support password in host argument.
7743 (mpc--proc-connect): Parse and use new password element.
7744 Set mpc-proc variable instead of returning process.
7745 (mpc-proc): Adjust accordingly.
7747 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7749 * whitespace.el (whitespace-display-mappings): Use Unicode
7750 codepoints, instead of emacs-mule codepoints. See
7751 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7754 * files.el (file-truename): Don't skip symlink-chasing part on
7755 windows-nt. Incorporate the resolution of 8+3 short aliases on
7756 Windows into the loop that recursively chases symlinks.
7757 Compare directory and its parent case-insensitively on MS-Windows and
7760 2012-08-03 Chong Yidong <cyd@gnu.org>
7762 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7764 * sort.el (sort-regexp-fields): Doc fix.
7766 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7768 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7769 labels regex position point at the expected place.
7771 2012-08-03 MON KEY <monkey@sandpframing.com>
7773 * net/imap.el (imap-interactive-login, imap-authenticate)
7774 (imap-mailbox-lsub, imap-mailbox-list)
7775 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7776 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7777 (imap-parse-response): Doc fix.
7779 2012-08-03 João Távora <joaotavora@gmail.com>
7781 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7782 if sexp scanning does not move point (Bug#5734).
7784 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7786 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7787 Add listings, minted, and ctable packages.
7788 (reftex-label-alist-builtin): Move listings, minted, and ctable
7789 entries before LaTeX.
7790 (reftex-label-alist): Docfix.
7792 2012-08-02 Bastien Guerry <bzg@gnu.org>
7794 * replace.el (occur): Fix docstring (bug#12122).
7796 2012-08-02 Glenn Morris <rgm@gnu.org>
7798 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7800 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7802 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7803 * international/mule-cmds.el: Create
7804 inactivate-current-input-method-function as an obsolete alias for
7805 deactivate-current-input-method-function. See Katsumi Yamaoka in
7806 <http://bugs.gnu.org/10150#46>.
7808 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7810 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7813 2012-08-01 Glenn Morris <rgm@gnu.org>
7815 * progmodes/autoconf.el (autoconf-definition-regexp):
7816 Add AH_TEMPLATE, adjust submatch numbering.
7817 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7818 (autoconf-current-defun-function): Update for above change.
7819 (autoconf-current-defun-function): First skip to end of current word.
7821 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7823 * calendar/cal-html.el (cal-html-insert-agenda-days):
7824 Fix typo. (Bug#12018)
7826 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7828 Shell processes: enhancements to startup and CEDET compatibility.
7829 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7830 (python-shell-make-comint): accept-process-output at startup.
7831 (run-python-internal): Set inferior-python-mode-hook to nil.
7832 (python-shell-internal-get-or-create-process): call sit-for.
7833 (python-preoutput-result): Add obsolete alias.
7834 (python-shell-internal-send-string): Use it.
7835 (python-shell-send-setup-code): Remove call to
7836 accept-process-output.
7838 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7840 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7843 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7845 * calc-mode.el (calc-basic-simplification-mode): Rename from
7846 `calc-limited-simplification-mode'.
7847 (calc-alg-simplification-mode): New function.
7848 (calc-set-simplify-mode): Adjust message.
7850 * calc.el (calc-set-mode-line): Adjust mode line display for
7851 basic simplification mode.
7853 * calc-help.el (calc-m-prefix-help): Update help message.
7855 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7856 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7858 2012-07-31 Bastien Guerry <bzg@gnu.org>
7860 * man.el (man): Fix comment. (bug#12101)
7862 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7864 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7865 Don't return a non-nil value when no suitable buffer was found.
7867 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7869 * progmodes/python.el (run-python-internal): Disable font lock for
7872 2012-07-30 Stefan Merten <smerten@oekonux.de>
7874 * textmodes/rst.el: Silence `checkdoc-ispell'.
7875 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7876 (rst-official-version, rst-official-cvs-rev)
7877 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7878 (rst-mode-map): New key binding.
7880 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7882 Update .PHONY listings in makefiles.
7883 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7884 autoloads, update-subdirs, updates, bzr-update, update-authors,
7885 compile-onefile, compile-calc, backup-compiled-files,
7886 compile-after-backup, compile-one-process, mh-autoloads,
7887 bootstrap-clean, distclean, maintainer-clean.
7889 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7891 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7892 (calc-set-mode-line): Don't display "AlgSimp ".
7894 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7895 (calc-lim-simplify-mode): New function.
7896 (calc-set-simplify-mode): Default to 'alg.
7897 (calc-default-simplify-mode): Make algebraic simplifications
7900 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7901 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7903 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7904 indicate new simplification modes.
7906 * calc/README: Mention new default simplification mode.
7908 * calc/calc.el (math-normalize-error): New variable.
7909 (math-normalize): Set `math-normalize-error' to t
7910 when there's an error.
7912 * calc/calc-alg.el (math-simplify): Don't simplify when
7913 `math-normalize' returns an error.
7915 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7917 * international/mule-cmds.el (set-locale-environment): Revert last
7918 change, since display-graphic-p returns nil when this function is
7919 called during startup. Instead...
7921 * term/w32console.el (terminal-init-w32console): ...setup the
7922 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7924 2012-07-29 Juri Linkov <juri@jurta.org>
7926 * simple.el (goto-line): Don't display default line number in the
7927 prompt because it should be displayed by `read-number' (bug#9952).
7928 Add the current line number to the defaults of `goto-line' to
7929 allow its easier modification by users with `M-n' (bug#9201).
7931 * subr.el (read-number): Support multiple default values like in
7932 other minibuffer reading functions. Replace `read' with
7933 `string-to-number' for consistency with `number-to-string'.
7935 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7937 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7938 * emulation/viper-init.el (viper-deactivate-input-method-action):
7939 Rename from viper-inactivate-input-method-action.
7940 (viper-deactivate-input-method):
7941 Rename from viper-inactivate-input-method.
7942 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7943 * international/mule-cmds.el (deactivate-input-method):
7944 Rename from inactivate-input-method.
7945 Also run input-method-deactivate-hook.
7946 (deactivate-current-input-method-function):
7947 Rename from inactivate-current-input-method-function.
7948 (input-method-deactivate-hook): New hook.
7949 (input-method-inactivate-hook): Mark obsolete.
7950 (inactivate-input-method): Mark obsolete.
7952 * international/quail.el (quail-activate):
7953 Also run quail-deactivate-hook.
7954 (quail-deactivate): Rename from quail-inactivate.
7955 * international/robin.el (robin-activate):
7956 Also run robin-deactivate-hook.
7957 (robin-deactivate): Rename from robin-inactivate.
7959 2012-07-29 Chong Yidong <cyd@gnu.org>
7961 * simple.el (indicate-copied-region): New function.
7962 (kill-ring-save): Split off from here.
7964 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7965 (kill-rectangle): Set deactivate-mark to t on read-only error.
7967 * register.el (copy-to-register, copy-rectangle-to-register):
7968 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7969 (append-to-register, prepend-to-register): Call indicate-copied-region.
7971 2012-07-29 Juri Linkov <juri@jurta.org>
7973 * simple.el (async-shell-command-buffer): New defcustom.
7974 (shell-command): Use it. (Bug#4719)
7976 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7978 * international/mule-cmds.el (set-locale-environment): In a
7979 console session on MS-Windows, set up keyboard and terminal
7980 encoding from the OEM codepage, not the ANSI codepage.
7983 2012-07-28 Chong Yidong <cyd@gnu.org>
7985 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7988 2012-07-28 Leo Liu <sdl.web@gmail.com>
7990 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7991 the alist (bug#12029).
7993 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7995 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7996 (compile-always, compile-first)
7997 ($(lisp)/calendar/cal-loaddefs.el)
7998 ($(lisp)/calendar/diary-loaddefs.el)
7999 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8000 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8001 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8002 instead of on update-subdirs.
8003 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8005 2012-07-28 Chong Yidong <cyd@gnu.org>
8007 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8008 directory if vc-deduce-backend returns nil (Bug#7350).
8010 * simple.el (delete-trailing-lines): New option.
8011 (delete-trailing-whitespace): Obey it (Bug#11879).
8013 2012-07-28 David Engster <deng@randomsample.de>
8015 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8016 Explanation of new 'symbol-qnames feature in doc-strings.
8017 (xml-maybe-do-ns): Return expanded names as plain symbols if
8018 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8019 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8021 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8023 Consistent completion in inferior python with emacs -nw.
8024 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8025 binding in inferior-python-mode-map with "\t".
8026 (python-shell-completion-complete-at-point)
8027 (python-completion-complete-at-point): Remove interactive spec.
8029 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8031 * calc/calccomp.el (math-compose-expr): Undo previous change.
8033 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8035 * progmodes/python.el (python-mode-map): Add keybinding for
8037 (python-shell-make-comint): Fix pop-to-buffer call.
8038 (run-python): Autoload. New arg SHOW.
8039 (python-shell-get-or-create-process): Do not pop python process
8042 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8044 * notifications.el (notifications-on-action-signal)
8045 (notifications-on-closed-signal): Use also the bus address for the map.
8046 (notifications-notify, notifications-close-notification)
8047 (notifications-get-capabilities): Add optional argument BUS.
8049 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8051 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8052 Add support for the lstlisting and minted environments, and for the
8054 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8055 labels written in keyvals syntax.
8057 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8059 * calc/calccomp.el (math-compose-expr): Use parentheses when
8060 there is a product in the denominator of a fraction.
8062 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8064 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8065 ($(lisp)/calendar/diary-loaddefs.el)
8066 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8067 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8068 Fixes failures in parallel bootstrap because subdirs.el is being
8069 rewritten while the autoload files are built at the same time,
8070 which needs to load subdirs.el.
8072 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8074 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8075 (mouse-drag-line): Don't exit tracking when a switch-frame or
8076 switch-window event occurs (Bug#12006).
8078 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * mouse.el (popup-menu): Fix last change.
8082 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8084 Autoload from Lisp with more care. Follow aliases when looking for
8085 function properties.
8086 * subr.el (autoloadp): New function.
8087 (symbol-file): Use it.
8088 (function-get): New function.
8089 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8091 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8092 (lisp-indent-function):
8093 * emacs-lisp/gv.el (gv-get):
8094 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8095 * emacs-lisp/byte-opt.el (byte-optimize-form):
8096 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8097 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8099 * emacs-lisp/cl.el: Don't propagate function properties any more.
8101 * speedbar.el (speedbar-add-localized-speedbar-support):
8102 * emacs-lisp/disass.el (disassemble-internal):
8103 * desktop.el (desktop-load-file):
8104 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8105 (describe-function-1):
8106 * emacs-lisp/find-func.el (find-function-noselect):
8107 * emacs-lisp/elp.el (elp-instrument-function):
8108 * emacs-lisp/advice.el (ad-has-proper-definition):
8109 * apropos.el (apropos-safe-documentation, apropos-macrop):
8110 * emacs-lisp/debug.el (debug-on-entry):
8111 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8112 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8113 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8115 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8117 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8118 function, not an obsolete variable (Bug#12046).
8120 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8122 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8124 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8126 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8127 window only if it is still live (Bug#12034).
8129 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8131 * subr.el (redirect-frame-focus): Add advertised calling
8132 convention (Bug#12030).
8134 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8136 Prefer typical American spelling for "acknowledgment".
8137 * vc/add-log.el (change-log-acknowledgment): Rename from
8138 change-log-acknowledgement, with an alias for the old name.
8140 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8142 * calc-alg.el (math-simplify-divide): Don't cross multiply
8143 in an equation when the lhs is a variable.
8145 2012-07-24 Julien Danjou <julien@danjou.info>
8147 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8150 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8152 * startup.el (command-line): Don't display an empty user name in
8153 the error message about non-existent home directory, when
8154 init-file-user was set to an empty string. See
8155 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8156 for the details and context.
8158 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8160 * ses.el (ses-cell-formula-aset): New macro.
8161 (ses-cell-references-aset): New macro.
8162 (ses-cell-p): New function.
8163 (ses-rename-cell): Do no longer rely on complex operations like
8164 ses-cell-set-formula or ses-set-cell to change the cell and handle
8165 the undo at the same time, but rather use lower level new macros
8166 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8167 the undo directly. Refresh the mode line.
8169 2012-07-21 Leo Liu <sdl.web@gmail.com>
8171 * progmodes/cc-cmds.el (c-defun-name):
8172 Use match-string-no-properties instead for consistency.
8174 2012-07-20 Leo Liu <sdl.web@gmail.com>
8176 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8179 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8181 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8183 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8184 * progmodes/bug-reference.el, misearch.el: Provide themselves
8187 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8188 of narrowed buffer (bug#11966).
8190 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8192 * ses.el (ses-rename-cell): Set new name also in reference list of
8193 cells of which the renamed cell depends.
8195 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8197 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8198 to check whether menu-bar is shown or not. If not shown,
8199 show the menu-bar as a popup menu instead of using tmm.
8200 * mouse.el (popup-menu): Accept `point' as `position' argument.
8202 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8204 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8205 up inside string symbol literal (bug#11923).
8207 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8209 * startup.el (fancy-startup-text): Read the whole tutorial, not
8210 just its first 256 bytes. Prevents gibberish in display of the
8213 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8215 Drop idle buffer compaction due to an absence of the
8217 * compact.el: Remove.
8219 2012-07-19 Sam Steingold <sds@gnu.org>
8221 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8222 vc-bzr-pull & vc-bzr-merge-branch.
8223 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8224 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8225 for consistency with compilation-error-regexp-alist.
8226 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8227 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8228 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8229 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8231 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8233 * emacs-lisp/chart.el: Use lexical-binding.
8234 (chart-emacs-storage): Don't hardcode the list of entries.
8236 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8238 Next round of tweaks caused by Fgarbage_collect changes.
8239 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8241 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8243 Compact buffers when idle.
8244 * compact.el: New file.
8246 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8248 * subr.el (eventp): Presume that if it looks vaguely like an event,
8249 it's an event (bug#10190).
8251 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8253 Enhancements to ppss related code (thanks Stefan).
8254 * progmodes/python.el (python-indent-context)
8255 (python-indent-calculate-indentation, python-indent-dedent-line)
8256 (python-indent-electric-colon, python-nav-forward-block)
8257 (python-mode-abbrev-table)
8258 (python-info-assignment-continuation-line-p): Simplify checks
8260 (python-info-continuation-line-p): Cleanup.
8261 (python-info-ppss-context): Do not catch 'quote.
8262 (python-info-ppss-context-type)
8263 (python-info-ppss-comment-or-string-p): Simplify.
8265 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8267 * progmodes/python.el: Enhancements to eldoc support.
8268 (python-info-current-symbol): New function.
8269 (python-eldoc-at-point): Use python-info-current-symbol.
8270 (python-info-current-defun): Fix cornercase on first defun scan.
8271 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8272 and signal error when no inferior python process is available.
8274 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8276 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8277 assume it's always t.
8278 (vc-git-registered): Remove caching, the function is only called
8280 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8282 2012-07-18 Chong Yidong <cyd@gnu.org>
8284 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8286 * simple.el (count-words): Report on narrowing (Bug#9959).
8288 * bindings.el: Bind M-= to count-words.
8290 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8292 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8294 * progmodes/sh-script.el (sh-imenu-generic-expression):
8295 Capture a function with `function' keyword and without parentheses
8296 like "function FOO" (bug#11856).
8298 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8300 * window.el (split-window-sensibly): Make WINDOW argument
8303 2012-07-18 Chong Yidong <cyd@gnu.org>
8305 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8307 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8308 and make C-x 8 RET exit isearch (Bug#11439).
8310 * international/iso-transl.el: Move isearch-mode-map key
8311 definitions to isearch.el.
8313 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8315 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8316 (eieio-defclass): Use gv-define-setter when possible.
8318 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8320 Reflect recent changes in Fgarbage_collect.
8321 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8322 reflect new format of data returned by Fgarbage_collect.
8324 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8326 New utility functions + python-info-ppss-context fix (Bug#11910).
8327 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8328 (python-info-ppss-comment-or-string-p): New functions.
8329 (python-info-ppss-context): Small fix for string check.
8331 2012-07-17 Juri Linkov <juri@jurta.org>
8333 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8334 (dired-do-async-shell-command): Don't add `*' at the end of the
8335 command (Bug#11815).
8336 (dired-do-shell-command): Doc fix.
8337 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8338 Join the individual commands using either "&" or ";" as the
8339 separator depending on the values of these trailing characters.
8340 At the end re-add the trailing "&". (Bug#10598)
8342 * simple.el (async-shell-command): Sync the interactive spec with
8343 `shell-command'. Doc fix.
8344 (shell-command): Doc fix.
8346 2012-07-17 Juri Linkov <juri@jurta.org>
8348 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8350 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8352 Final renames and doc fixes for movement commands (bug#11899).
8353 * progmodes/python.el (python-nav-beginning-of-statement):
8354 Rename from python-nav-statement-start.
8355 (python-nav-end-of-statement): Rename from
8356 python-nav-statement-end.
8357 (python-nav-beginning-of-block): Rename from
8358 python-nav-block-start.
8359 (python-nav-end-of-block): Rename from python-nav-block-end.
8361 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8363 * progmodes/python.el (python-shell-send-string-no-output):
8364 Allow accept-process-output to quit, keeping shell process ready for
8365 future interactions (Bug#11868).
8367 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8369 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8371 * emacs-lisp/elint.el (elint-find-args-in-code):
8372 Use help-function-arglist, so as to handle lexical byte-code.
8374 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8377 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8379 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8380 Avoid spuriously marking the buffer as modified because of c-is-sws.
8382 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8383 as not-a-comment (bug#11946).
8385 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8386 for uninterned vars.
8388 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8389 Use read-event since we don't really want to read chars but bytes.
8391 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8392 $$..$$ but also $..$ using regexps (bug#11953).
8393 Use tex-verbatim for \url and \path.
8394 (tex-font-lock-keywords): Define as defconst like the others.
8395 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8397 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8399 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8400 alias for insert-char.
8402 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8404 * progmodes/python.el: Simplified imenu implementation.
8405 (python-nav-jump-to-defun): Remove command.
8406 (python-mode-map): Use `imenu' instead.
8407 (python-nav-list-defun-positions-cache)
8408 (python-imenu-include-defun-type, python-imenu-make-tree)
8409 (python-imenu-subtree-root-label, python-imenu-index-alist):
8411 (python-nav-list-defun-positions, python-nav-read-defun)
8412 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8413 (python-imenu-make-tree, python-imenu-create-index):
8415 (python-mode): Update to interact with imenu by setting
8416 `imenu-extract-index-name-function' only.
8418 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8420 * progmodes/python.el: Enhancements to navigation commands.
8421 (python-nav-backward-sentence)
8422 (python-nav-forward-sentence): Remove.
8423 (python-nav-backward-statement, python-nav-forward-statement)
8424 (python-nav-statement-start, python-nav-statement-end)
8425 (python-nav-backward-block, python-nav-forward-block)
8426 (python-nav-block-start, python-nav-block-end)
8427 (python-nav-forward-sexp-function)
8428 (python-info-current-line-comment-p)
8429 (python-info-current-line-empty-p): New functions.
8430 (python-indent-context): Use `python-nav-statement-start'.
8432 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8434 * eshell/em-ls.el (eshell/ls): Use `apply'.
8436 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8437 multi-hops, instead of Tramp internals.
8439 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8441 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8442 when F1 and F2 are located on different hosts.
8444 2012-07-14 Chong Yidong <cyd@gnu.org>
8446 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8447 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8448 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8449 (xterm-mouse--read-event-sequence-1000)
8450 (xterm-mouse--read-event-sequence-1006): New functions. For old
8451 mouse protocol, handle M-mouse-X events correctly.
8452 (xterm-mouse-event): New arg specifying mouse protocol.
8453 (turn-on-xterm-mouse-tracking-on-terminal)
8454 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8455 sequence to toggle extended coordinates on newer XTerms.
8456 This appears to be harmless on terminals which do not support this.
8458 2012-07-14 Leo Liu <sdl.web@gmail.com>
8460 Add fringe bitmap indicators for flymake. (Bug#11253)
8461 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8462 (flymake-make-overlay): New arg BITMAP.
8463 (flymake-error-bitmap, flymake-warning-bitmap)
8464 (flymake-fringe-indicator-position): New user variables.
8466 * fringe.el: New bitmap exclamation-mark.
8468 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8470 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8473 2012-07-14 Chong Yidong <cyd@gnu.org>
8475 * electric.el (electric-pair-post-self-insert-function): Fix pair
8476 insertion in empty-region case (Bug#11520).
8478 2012-07-14 Chong Yidong <cyd@gnu.org>
8480 * bindings.el: Consolidate ctl-x-r-map bindings.
8481 Bind copy-rectangle-as-kill to C-x r w.
8483 * rect.el, register.el: Move bindings to bindings.el.
8485 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8487 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8489 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8491 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8493 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8495 * bindings.el (top): Use `mapc' instead of `mapcar'.
8497 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8499 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8501 * progmodes/sql.el (sql-comint): Suppress the check for program on
8502 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8505 2012-07-13 Chong Yidong <cyd@gnu.org>
8507 * bindings.el: Assign a non-nil permanent-local property to
8508 per-buffer variables which lack a default value (Bug#11930).
8510 * help-fns.el (describe-variable): In the "automatically becomes
8511 local" notice, take note of permanent-local variables.
8513 2012-07-13 Chong Yidong <cyd@gnu.org>
8515 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8516 to allow printing the message when called from Lisp.
8518 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8519 Remove toggle-read-only.
8521 * bs.el (bs-toggle-readonly):
8522 * buff-menu.el (Buffer-menu-toggle-read-only):
8523 Remove with-no-warnings around toggle-read-only.
8525 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8526 Remove with-no-warnings around toggle-read-only.
8527 (ffap-read-only, ffap-read-only-other-window)
8528 (ffap-read-only-other-frame): Callers changed.
8530 * help-mode.el: Don't require view package.
8531 (help-mode-finish): Set buffer-read-only instead of calling
8534 * bindings.el (mode-line-toggle-read-only):
8535 * dired.el (dired-toggle-read-only):
8536 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8537 with non-nil second arg.
8539 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8540 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8543 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8545 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8548 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8550 More CL cleanups and reduction of use of cl.el.
8551 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8552 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8553 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8554 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8555 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8556 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8557 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8558 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8559 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8560 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8561 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8562 * eshell/em-cmpl.el, eshell/em-banner.el:
8563 * calendar/parse-time.el: Use cl-lib.
8564 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8565 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8566 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8567 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8568 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8569 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8570 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8571 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8572 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8573 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8574 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8575 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8576 `lambda' rather than with `quote'.
8577 (eshell-do-opt): Adjust accordingly.
8578 (eshell-process-option): Simplify.
8579 * eshell/esh-var.el:
8580 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8581 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8582 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8583 to `pcase--dontcare'.
8584 * emacs-lisp/cl.el (labels): Mark obsolete.
8585 (cl--letf, letf): Move to cl-lib.
8586 (cl--letf*, letf*): Remove.
8587 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8588 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8589 (cl-progv): Rewrite.
8590 (cl--letf, cl-letf): Move from cl.el.
8591 (cl-letf*): New macro.
8592 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8594 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8596 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8598 2012-07-11 Chong Yidong <cyd@gnu.org>
8600 * vc/log-edit.el (log-edit-vc-backend): New variable.
8601 (log-edit): Doc fix.
8603 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8604 argument of log-edit to set up all local variables.
8605 (vc-start-logentry): New optional arg specifying VC backend.
8607 * vc/vc.el (vc-checkin): Use it.
8608 (vc-deduce-fileset): Handle Log Edit buffers.
8609 (vc-diff): Make first argument optional too.
8611 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8613 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8615 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8616 command, just in case. The function is not needed anymore.
8617 (eshell-external-command): Do not call `eshell-remote-command'.
8619 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8621 Reduce use of (require 'cl).
8622 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8623 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8624 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8625 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8626 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8627 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8628 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8629 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8630 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8631 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8632 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8633 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8634 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8635 (byte-compile-unfold-bcf, byte-compile-check-variable):
8636 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8637 (byte-compile-nilconstp):
8638 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8639 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8641 * emacs-lisp/gv.el (cond): Make it a valid place.
8642 (if): Simplify slightly.
8644 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8645 (pcase--self-quoting-p): New function.
8646 (pcase--u1): Use it.
8648 2012-07-10 Glenn Morris <rgm@gnu.org>
8650 * emacs-lisp/authors.el (authors-fixed-entries):
8651 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8653 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8655 Rename configure.in to configure.ac (Bug#11603).
8656 * emacs-lisp/authors.el (authors-canonical-file-name):
8657 * progmodes/autoconf.el (autoconf-mode):
8658 Prefer configure.ac to configure.in.
8660 2012-07-08 Chong Yidong <cyd@gnu.org>
8662 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8663 Implement the mouse-1-click-follows-link handling properly.
8665 * info.el (Info-link-keymap): Use follow-link mechanism for
8666 header-line links (Bug#374).
8668 * simple.el (deactivate-mark): Do not set the primary selection
8669 if another program has acquired it (Bug#11772).
8671 2012-07-07 Kevin Ryde <user42@zip.com.au>
8673 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8674 (woman-decode-region): Replace escaped-escapes without destroying
8675 bold or underline (Bug#11552).
8676 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8678 2012-07-07 Chong Yidong <cyd@gnu.org>
8680 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8681 (interprogram-cut-function, interprogram-paste-function):
8682 Mention that we typically mean the clipboard.
8684 2012-07-06 Glenn Morris <rgm@gnu.org>
8686 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8688 * files.el (toggle-read-only): Restrict message to interactive use.
8690 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8692 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8694 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8696 2012-07-06 Glenn Morris <rgm@gnu.org>
8698 * Makefile.in (compile-one-process): Rename from "recompile".
8700 * Makefile.in (bzr-update): "compile" is the same as "recompile
8701 autoloads", but parallelizable, so use that instead.
8703 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8705 * window.el (quit-window): Always restore window height when
8706 it's saved in quit-restore parameter (Bug#11810).
8708 2012-07-06 Glenn Morris <rgm@gnu.org>
8710 * simple.el (kill-whole-line): Doc tweak.
8712 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8714 * files.el (file-relative-name): Compare file names
8715 case-insensitively if on MS-Windows or MS-DOS, or if
8716 read-file-name-completion-ignore-case is non-nil. Don't use
8717 case-fold-search for this purpose. (Bug#11827)
8719 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8721 * calendar/cal-dst.el (calendar-current-time-zone):
8722 Return calendar-current-time-zone-cache if non-nil.
8724 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8725 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8727 * calendar/cal-dst.el (calendar-current-time-zone):
8728 Return calendar-current-time-zone-cache if non-nil.
8730 2012-07-06 Glenn Morris <rgm@gnu.org>
8732 * Makefile.in (cvs-update): Remove old alias.
8734 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8736 Sync with Tramp 2.2.6-pre.
8738 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8739 compatible declaration.
8741 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8742 Protect `list-load-path-shadows' call.
8744 * net/tramp-compat.el (top): Require packages, which aren't
8745 autoloaded anymore for XEmacs. Protect call of
8746 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8747 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8748 it hurts at least for SXEmacs.
8749 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8750 standard-value for `temporary-file-directory'.
8752 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8753 Redirect stderr to /dev/null.
8754 (tramp-sh-handle-write-region): uid and gid can be floats.
8755 Reported by Russell Sim <russell.sim@gmail.com>.
8756 (tramp-sh-handle-vc-registered): Hide errors.
8757 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8758 and `start-file-process'.
8759 (tramp-maybe-open-connection): Check also whether `non-essential'
8762 2012-07-04 Chong Yidong <cyd@gnu.org>
8764 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8765 (xml-parse-tag): Likewise, and avoid changing entity tables.
8766 (xml-syntax-table): Define from scratch, making sure not to give
8767 x2000 and other Unicode spaces whitespace syntax, since those are
8769 (xml-parse-fragment): Delete unused function.
8770 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8771 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8772 (xml-entity-ref, xml-pe-reference-re)
8773 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8774 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8775 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8776 (xml-entity-value-re): Use syntax references in regexps where
8777 possible; no need to define inside a let-binding.
8778 (xml-parse-dtd): Use xml-pe-reference-re.
8779 (xml-entity-or-char-ref-re): New defconst.
8780 (xml-parse-string, xml-substitute-special): Use it.
8782 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8784 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8785 (find-file--read-only): New function.
8786 (find-file-read-only, find-file-read-only-other-window)
8787 (find-file-read-only-other-frame): Use it.
8788 (insert-file-contents-literally): Don't `fset'.
8789 (get-free-disk-space): Use locate-dominating-file.
8791 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8792 function is already compiled.
8794 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8796 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8798 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8799 files on the same host.
8801 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8803 * help-fns.el (describe-function-1): Only call
8804 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8806 2012-07-03 Chong Yidong <cyd@gnu.org>
8808 * xml.el: Protect parser against XML bombs.
8809 (xml-entity-expansion-limit): New variable.
8810 (xml-parse-string, xml-substitute-special): Use it.
8811 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8813 2012-07-03 Glenn Morris <rgm@gnu.org>
8815 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8816 Allow linking to specific messages in debbugs reports (eg 123#5).
8818 2012-07-02 Chong Yidong <cyd@gnu.org>
8820 * xml.el: Fix entity and character reference expansion, allowing
8821 them to expand into markup as per XML spec.
8822 (xml-default-ns): New variable.
8823 (xml-entity-alist): Use XML spec definitions for lt and amp.
8824 (xml-parse-region): Make first two arguments optional.
8825 Discard text properties.
8826 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8827 All callers changed.
8828 (xml-parse-tag): Call xml-parse-tag-1. For backward
8829 compatibility, this function should not modify buffer contents.
8830 (xml-parse-tag-1): Fix opening-tag regexp.
8831 (xml-parse-string): Rewrite, handling entity and character
8832 references properly.
8833 (xml--entity-replacement-text): Signal an error if a parameter
8834 entity is undefined.
8836 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8838 * comint.el (comint-output-filter): Filter out repeated prompts.
8840 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8841 and file-name-absolute-p.
8842 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8845 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8848 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8849 Rename from byte-compile--refiy-function. All uses changed.
8851 2012-07-01 Chong Yidong <cyd@gnu.org>
8853 * xml.el (xml--parse-buffer): New function. Move most of
8854 xml-parse-region here.
8855 (xml-parse-region): Copy region into a temporary buffer, since
8856 parameter entity substitution requires changing buffer contents.
8857 Use xml--parse-buffer.
8858 (xml-parse-file): Use xml--parse-buffer.
8859 (xml-parse-dtd): Make parameter entity substitution work right.
8860 Use proper regexps for ELEMENT declarations (Bug#7172).
8862 2012-06-30 Glenn Morris <rgm@gnu.org>
8864 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8866 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8867 Remove outdated and unnecessary dbus declarations.
8869 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8871 * emacs-lisp/timer.el (timer-until): Subtract results of
8872 float-time, instead of taking float-time of the result of
8873 time-subtract, since float-time signals an error for negative time
8876 2012-06-30 Chong Yidong <cyd@gnu.org>
8878 * xml.el (xml-*-re): Convert defvars into defconsts, and
8879 eval-and-compile them so eval-and-compile works on derivatives.
8880 (xml--entity-replacement-text): Use eval-and-comple.
8882 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8884 * vc/vc-git.el (vc-git-registered): Use cache property
8886 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8887 `vc-git-working-revision' in order to benefit from the cache.
8888 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8890 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8892 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8893 removed (likely outside Emacs). (Bug#11757)
8895 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * emacs-lisp/cl-lib.el: Require macroexp.
8899 2012-06-30 Chong Yidong <cyd@gnu.org>
8901 * xml.el: Implement XML parameter entities.
8902 (xml-parameter-entity-alist): New variable.
8903 (xml-parse-region, xml-parse-fragment): Preserve previous values
8904 of xml-entity-alist and xml-parameter-entity-alist, so that
8905 repeated calls on different documents do not change them.
8906 (xml-parse-tag): Fix doctype regexp.
8907 (xml--entity-replacement-text): New function.
8908 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8909 properly requires url retrieval which is unimplemented.
8910 (xml-escape-string): Doc fix.
8912 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8916 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8918 * fringe.el (fringe-mode): Doc fix.
8920 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8922 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8924 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8925 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8927 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8929 * calendar/cal-dst.el (calendar-current-time-zone):
8930 Return calendar-current-time-zone-cache if non-nil.
8932 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8934 * progmodes/which-func.el (which-func-format):
8935 Add mouse-face. (Bug#11698)
8937 2012-06-29 Leo Liu <sdl.web@gmail.com>
8939 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8941 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8943 * minibuffer.el (minibuffer-confirm-exit-commands):
8944 Add completion-at-point (bug#11725).
8946 2012-06-29 Glenn Morris <rgm@gnu.org>
8948 * progmodes/f90.el (f90-font-lock-keywords-2):
8949 Add some preprocessor elements. (Bug#10499)
8951 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8953 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8954 Use syntax-propertize (bug#11739).
8956 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8958 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8960 2012-06-28 Julien Danjou <julien@danjou.info>
8962 * term.el (term-handle-colors-array): Use a set of new faces to
8963 color the terminal. Also uses :inverse-video property.
8964 (term-default-fg-color): Set to nil by default, deprecate in favor
8966 (term-default-bg-color): Set to nil by default, deprecate in favor
8968 (term-current-face): Use `term-face' by default.
8969 (term-bold-attribute): Variable deleted.
8971 2012-06-28 Glenn Morris <rgm@gnu.org>
8973 * simple.el (completion-list-mode-finish):
8974 Don't use toggle-read-only. (Since completion-list-mode has
8975 a special mode-class, it wasn't doing anything extra anyway.)
8977 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8979 Make inlining of other-mode interpreted functions work (bug#11799).
8980 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8981 (byte-compile): Use it to fix compilation of lexical-binding closures.
8982 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8983 function, if needed.
8985 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8987 * help-mode.el (help-make-xrefs): Don't just withstand
8988 cyclic-variable-indirection but any error in documentation-property.
8990 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8992 * bindings.el (bindings--define-key): New function.
8993 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8994 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8995 * bindings.el: Use it to purecopy define-key bindings.
8997 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8999 * emacs-lisp/cl.el (flet): Mark obsolete.
9000 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9001 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9002 * progmodes/js.el (js-c-fill-paragraph):
9003 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9004 (ebrowse-switch-member-buffer-to-derived-class):
9005 * play/5x5.el (5x5-solver): Use cl-flet.
9007 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9008 (cl--symbol-function): New macro.
9009 (cl--letf, cl--letf*): Use it.
9011 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9012 Strip "toggle-" if any.
9014 2012-06-27 Glenn Morris <rgm@gnu.org>
9016 * info.el (Info-default-directory-list): Move here from paths.el.
9017 * paths.el: Remove file, which is now empty.
9018 * loadup.el: No longer load "paths".
9020 * custom.el (custom-initialize-delay): Doc fix.
9022 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9023 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9024 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9025 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9026 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9027 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9028 * eshell/eshell.el (eshell-defgroup): Remove alias.
9030 2012-06-27 Chong Yidong <cyd@gnu.org>
9032 * help.el (help-enable-auto-load): New variable.
9034 * help-fns.el (help-fns--autoloaded-p): New function.
9035 (describe-function-1): Refer to a function as "autoloaded" if it
9036 was autoloaded at any time in the past. Perform autoloading if
9037 help-enable-auto-load is non-nil.
9039 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9041 * makefile.w32-in (compile, compile-always): Depend on
9042 update-subdirs, not on subdirs.el. Otherwise, several different
9043 sub-targets of 'bootstrap' running in parallel could
9044 simultaneously write to subdirs.el, producing a garbled file.
9046 2012-06-26 Sam Steingold <sds@gnu.org>
9048 * files.el (file-name-base): New convenience function.
9049 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9050 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9051 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9052 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9053 * textmodes/ispell.el, textmodes/reftex-ref.el:
9054 * textmodes/tex-mode.el: Use it.
9055 Did not touch cedet and org because they are maintained elsewhere.
9057 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9059 * calendar/calendar.el (calendar-exit): Don't try to delete or
9060 iconify last frame. See:
9061 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9063 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9065 * server.el (server-process-filter): Remember dir in the
9066 process's `server-client-directory' properties.
9068 2012-06-24 Chong Yidong <cyd@gnu.org>
9070 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9073 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9075 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9077 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9079 * help-fns.el (describe-variable): Don't croak when doc is not found.
9080 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9081 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9082 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9083 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9084 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9086 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9088 2012-06-23 Chong Yidong <cyd@gnu.org>
9090 * info.el (Info-mouse-follow-link): Accept symbol values of
9091 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9092 (Info-fontify-node): Use Info-link-keymap for all navigation
9093 buttons, with link-args property to perform the desired action.
9094 (Info-link-keymap): Doc fix.
9095 (Info-next-link-keymap, Info-prev-link-keymap)
9096 (Info-up-link-keymap): Delete now-unused keymaps.
9098 2012-06-23 Chong Yidong <cyd@gnu.org>
9100 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9102 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9105 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9107 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9109 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9112 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9113 the requote function doesn't work properly (bug#11714).
9115 2012-06-23 Glenn Morris <rgm@gnu.org>
9117 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9119 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9121 Further GV/CL cleanups.
9122 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9124 (gv--defun-declaration): New function.
9125 (defun-declarations-alist): Use it.
9126 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9127 (gv-place): Autoload.
9128 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9129 original definition of dotimes and dolist.
9130 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9131 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9132 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9133 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9134 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9135 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9136 to the function's definition.
9137 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9141 * env.el: Don't use CL.
9143 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9145 Support higher-resolution time stamps (Bug#9000).
9147 * calendar/time-date.el (with-decoded-time-value): New arg
9148 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9149 (encode-time-value): New optional arg PICO. New type 3.
9150 (time-to-seconds) [!float-time]: Support the new picoseconds
9151 component if it's used.
9152 (seconds-to-time, time-subtract, time-add):
9153 Support ps-resolution time stamps as well.
9155 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9156 (timerp): Timer vectors now have length 9, not 8.
9157 (timer--time): Support new-style (4-part) time stamps.
9158 (timer-next-integral-multiple-of-time): Time stamps now have
9159 picosecond resolution, so take a bit more care about rounding.
9160 (timer-relative-time, timer-inc-time): New optional arg psecs.
9161 (timer-set-time-with-usecs): Set psecs to 0.
9162 (timer--activate): Check psecs component, too.
9164 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9166 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9169 Move the non-essential binding to the post/pre-command-hook where it is
9170 more obviously correct.
9172 * subr.el (read-passwd): Don't use a history at all.
9173 * savehist.el (savehist-save): Remove password saved accidentally
9174 because of the above bug.
9176 2012-06-22 Bastien Guerry <bzg@gnu.org>
9178 * files.el (toggle-read-only): Display a message telling whether
9179 the buffer is read-only or not (bug#11726).
9181 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9183 * emacs-lisp/gv.el: New file.
9184 * subr.el (push, pop): Extend to generalized variables.
9185 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9186 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9187 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9188 gv-define-simple-setter, and gv-define-expander.
9189 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9190 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9191 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9192 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9193 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9195 (cl-defstruct): Don't define setf-method any more.
9196 * emacs-lisp/cl.el (flet): Don't autoload.
9197 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9198 (define-setf-expander, defsetf, define-modify-macro)
9199 (cl-struct-setf-expander): Move from cl-lib.el.
9200 * emacs-lisp/syntax.el:
9201 * emacs-lisp/ewoc.el:
9202 * emacs-lisp/smie.el:
9203 * emacs-lisp/cconv.el:
9204 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9205 (timer--time): Use gv-define-simple-setter.
9206 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9207 to avoid coding-system problems in subr.el. Adjust all users.
9208 (macroexp--maxsize, macroexp-small-p): New functions.
9209 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9210 * scroll-bar.el (scroll-bar-mode):
9211 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9212 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9213 * winner.el (winner-configuration, winner-make-point-alist)
9214 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9215 * files.el (locate-file-completion-table): Avoid list*.
9217 2012-06-22 Chong Yidong <cyd@gnu.org>
9219 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9220 (dired-create-files): Doc fix (Bug#11329).
9221 (dired-do-copy): Doc fix (Bug#11334).
9222 (dired-mark-read-string): Doc fix (Bug#11553).
9224 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9225 Doc fix (Bug#11326).
9226 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9227 (dired-dwim-target): Doc fix.
9229 * wdired.el (wdired-mode): Doc fix.
9231 2012-06-22 Glenn Morris <rgm@gnu.org>
9233 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9234 (pcmpl-rpm-cache-stamp-file): New constant.
9235 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9236 (pcmpl-rpm-packages): Optionally cache list of packages.
9238 * pcmpl-rpm.el (pcmpl-rpm): New group.
9239 (pcmpl-rpm-query-options): New option.
9240 (pcmpl-rpm-packages): No need to inline it.
9241 Use pcmpl-rpm-query-options.
9243 * calendar/calendar.el (calendar-in-read-only-buffer):
9244 Avoid some needless mode changes.
9246 2012-06-21 Chong Yidong <cyd@gnu.org>
9248 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9249 (desktop-path): Remove . from the default value (Bug#10977).
9250 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9252 2012-06-20 Chong Yidong <cyd@gnu.org>
9254 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9256 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9258 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9261 2012-06-20 Chong Yidong <cyd@gnu.org>
9263 * term.el (term-window-width): Handle the case of a missing right
9265 (term-check-size): Use window-text-height (Bug#5445).
9266 (term-mode): Use define-derived-mode. Minor cleanups.
9267 Set font-lock-defaults (Bug#7692).
9268 (term-move-columns, term-insert-char, term-emulate-terminal)
9269 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9271 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9273 * net/ange-ftp.el (ange-ftp-get-passwd):
9274 Bind `enable-recursive-minibuffers'.
9275 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9277 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9279 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9281 2012-06-19 Glenn Morris <rgm@gnu.org>
9283 * progmodes/python.el (python-mode): Derive from prog-mode.
9285 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9287 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9288 (edt-user-menu-bar-update-buffers): New functions.
9289 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9291 2012-06-19 Chong Yidong <cyd@gnu.org>
9293 * subr.el (with-selected-window): Preserve the selected window's
9294 terminal's top-frame (Bug#4702).
9296 * window.el (save-selected-window): Likewise.
9298 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * progmodes/python.el (python-rx-constituents): Move backquote.
9301 (python-skeleton-define, python-define-auxiliary-skeleton):
9304 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9306 * minibuffer.el (read-file-name-default): Revert the patch from
9309 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9311 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9312 (pcase--u1, pcase--q1): Don't use apply-partially.
9314 2012-06-18 Glenn Morris <rgm@gnu.org>
9316 * progmodes/python.el (python-proc, python-buffer)
9317 (python-send-receive, python-send-string): Fix obsolete versions.
9319 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9321 * window.el (special-display-p): Completely remove stringp
9322 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9324 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9326 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9328 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9330 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9331 * net/tramp-sh.el (tramp-maybe-open-connection):
9332 Throw if `non-essential' is non-nil.
9334 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9336 * window.el (special-display-p): Signal an error if BUFFER-NAME
9337 is not a string (Bug#11713).
9339 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9341 * progmodes/python.el (python-info-beginning-of-backslash):
9342 Rename from python-info-beginning-of-backlash, as a spelling fix.
9344 2012-06-17 Chong Yidong <cyd@gnu.org>
9346 * term.el (term-emulate-terminal): If term-check-size is called,
9347 move point to the process mark without resetting point (Bug#4635).
9349 2012-06-17 Glenn Morris <rgm@gnu.org>
9351 * international/mule-cmds.el (mule-menu-keymap)
9352 (set-language-environment, set-locale-environment): Doc tweaks.
9354 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9356 * cus-face.el (custom-face-attributes): Add wave-style underline
9358 * faces.el (set-face-attribute): Update docstring to describe
9359 wave-style underline attribute.
9361 2012-06-16 Chong Yidong <cyd@gnu.org>
9363 * term/xterm.el (terminal-init-xterm): Discard input before
9364 querying background mode (Bug#10959).
9366 2012-06-16 Stefan Merten <smerten@oekonux.de>
9368 * textmodes/rst.el: Added and corrected some comments.
9369 (rst-re-alist-def): Improve symbol syntax.
9370 (rst-mode-syntax-table): Correct syntax entries.
9371 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9372 (rst-official-version, rst-official-cvs-rev): Update version
9375 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9377 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9378 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9380 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9382 * progmodes/python.el: New python.el merge.
9383 (python-guess-indent): Obsolete var.
9384 (python-indent-guess-indent-offset): New defcustom.
9385 (python-indent): Obsolete var.
9386 (python-indent-offset): New defcustom.
9387 (python-python-command, python-jython-command): Delete var.
9388 (python-shell-interpreter): New defcustom.
9389 (python-pdbtrack-do-tracking-p): Delete var.
9390 (python-pdbtrack-activate): New defcustom.
9391 (python-use-skeletons): Obsolete var.
9392 (python-skeleton-autoinsert): New defcustom.
9393 (inferior-python-filter-regexp, python-continuation-offset)
9394 (python-honour-comment-indentation, python-indent-string-contents)
9395 (python-jython-packages, python-mode-hook)
9396 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9397 (python-shell-prompt-alist)
9398 (python-source-modes): Delete defcustoms.
9399 (python-check-buffer-name, python-eldoc-setup-code)
9400 (python-eldoc-string-code, python-ffap-setup-code)
9401 (python-ffap-string-code, python-fill-comment-function)
9402 (python-fill-decorator-function, python-fill-paren-function)
9403 (python-fill-string-function, python-imenu-include-defun-type)
9404 (python-imenu-make-tree, python-imenu-subtree-root-label)
9405 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9406 (python-shell-compilation-regexp-alist)
9407 (python-shell-completion-module-string-code)
9408 (python-shell-completion-pdb-string-code)
9409 (python-shell-completion-setup-code)
9410 (python-shell-completion-string-code)
9411 (python-shell-enable-font-lock, python-shell-exec-path)
9412 (python-shell-extra-pythonpaths)
9413 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9414 (python-shell-process-environment)
9415 (python-shell-prompt-block-regexp)
9416 (python-shell-prompt-output-regexp)
9417 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9418 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9419 (python-shell-virtualenv-path): New defcustoms.
9420 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9421 (inferior-python-mode-syntax-table, python--prompt-regexp)
9422 (python-buffer, python-command python-python-command)
9423 (python-default-template, python-imports, python-indent-index)
9424 (python-indent-list, python-indent-list-length)
9425 (python-mode-running, python-pdbtrack-is-tracking-p)
9426 (python-preoutput-continuation, python-preoutput-leftover)
9427 (python-preoutput-result, python-preoutput-skip-next-prompt)
9428 (python-prev-dir/file, python-recursing)
9429 (python-saved-check-command, python-version-checked)
9430 (python-which-func-length-limit)
9431 (view-return-to-alist): Delete vars.
9432 (python-check-custom-command, python-dotty-syntax-table)
9433 (python-imenu-index-alist, python-indent-current-level)
9434 (python-indent-dedenters, python-indent-levels)
9435 (python-nav-beginning-of-defun-regexp)
9436 (python-nav-list-defun-positions-cache)
9437 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9438 (python-shell-internal-buffer)
9439 (python-skeleton-available): New vars.
9440 (def-python-skeleton): Delete macro.
9441 (python-skeleton-define): New macro.
9442 (python-define-auxiliary-skeleton, python-rx): New macros.
9443 (python-insert-class): Delete command.
9444 (python-skeleton-class): New command.
9445 (python-insert-def): Delete command.
9446 (python-skeleton-def): New command.
9447 (python-insert-for): Delete command.
9448 (python-skeleton-for): New command.
9449 (python-insert-if): Delete command.
9450 (python-skeleton-if): New command.
9451 (python-insert-try/except, python-insert-try/finally): Delete commands.
9452 (python-skeleton-try): New command.
9453 (python-insert-while): Delete command.
9454 (python-skeleton-while): New command.
9455 (python-backspace): Delete command.
9456 (python-indent-dedent-line-backspace): New command.
9457 (python-electric-colon): Delete command.
9458 (python-indent-electric-colon): New command.
9459 (python-guess-indent): Delete command.
9460 (python-indent-guess-indent-offset): New command.
9461 (python-shift-left): Delete command.
9462 (python-indent-shift-left): New command.
9463 (python-shift-right): Delete command.
9464 (python-indent-shift-right): New command.
9465 (python-find-function): Delete command.
9466 (python-nav-jump-to-defun): New command.
9467 (python-next-statement): Delete command.
9468 (python-nav-forward-sentence): New command.
9469 (python-previous-statement): Delete command.
9470 (python-nav-backward-sentence): New command.
9471 (python-fill-paragraph): Delete command.
9472 (python-fill-paragraph-function): New command.
9473 (python-send-buffer): Delete command.
9474 (python-shell-send-buffer): New command.
9475 (python-send-defun): Delete command.
9476 (python-shell-send-defun): New command.
9477 (python-send-region, python-send-region-and-go): Delete commands.
9478 (python-shell-send-region)
9479 (python-shell-switch-to-shell): New commands.
9480 (python-send-string): Delete command.
9481 (python-shell-send-string): New command.
9482 (python-switch-to-python): Delete command.
9483 (python-shell-switch-to-shell): New command.
9484 (python-describe-symbol): Delete command.
9485 (python-eldoc-at-point): New command.
9486 (python--set-prompt-regexp, python-args-to-list)
9487 (python-after-info-look, python-check-version)
9488 (python-check-comint-prompt, python-find-imports)
9489 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9490 (python-unload-function, python-expand-template)
9491 (python-maybe-jython, python-preoutput-filter)
9492 (python-pdbtrack-get-source-buffer)
9493 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9494 (python-pdbtrack-toggle-stack-tracking)
9495 (python-pdbtrack-track-stack-file, python-initial-text)
9496 (python-first-word, python-comment-line-p, python-send-command)
9497 (python-setup-brm, python-sentinel, python-set-proc)
9498 (python-skip-out, python-input-filter, python-outdent-p)
9499 (python-outline-level, python-backslash-continuation-line-p)
9500 (python-end-of-block, python-end-of-statement, python-mark-block)
9501 (python-beginning-of-block, python-beginning-of-statement)
9502 (python-blank-line-p, python-beginning-of-string)
9503 (python-open-block-statement-p): Delete functions.
9504 (python-indent-line, python-indent-line-1): Delete functions.
9505 (python-indent-line): New function.
9506 (python-indentation-levels): Delete function.
9507 (python-indent-calculate-levels): New function.
9508 (python-proc): Delete function.
9509 (python-shell-get-process): New function.
9510 (python-send-receive): Delete function.
9511 (python-shell-send-string-no-output): New function.
9512 (python-module-path): Delete function.
9513 (python-ffap-module-path): New function.
9514 (python-completion-at-point)
9515 (python-symbol-completions): Delete functions.
9516 (python-completion-complete-at-point): New function.
9517 (python-load-file): Delete function.
9518 (python-shell-send-file): New function.
9519 (python-calculate-indentation): Delete function.
9520 (python-indent-calculate-indentation): New function.
9521 (python-skip-comments/blanks): Delete function.
9522 (python-util-forward-comment): New function.
9523 (python-continuation-line-p): Delete function.
9524 (python-info-continuation-line-p): New function.
9525 (python-which-func, python-current-defun): Delete function.
9526 (python-info-current-defun): New function.
9527 (python-beginning-of-defun): Delete function.
9528 (python-nav-beginning-of-defun): New function.
9529 (python-close-block-statement-p)
9530 (python-block-end-p): Delete function.
9531 (python-info-closing-block): New function.
9532 (python-comint-output-filter-function)
9533 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9534 (python-fill-comment, python-fill-decorator, python-fill-paren)
9535 (python-fill-string, python-imenu-make-element-tree)
9536 (python-imenu-make-tree, python-imenu-tree-assoc)
9537 (python-indent-context, python-indent-dedent-line)
9538 (python-indent-line-function)
9539 (python-indent-post-self-insert-function)
9540 (python-indent-toggle-levels)
9541 (python-info-assignment-continuation-line-p)
9542 (python-info-beginning-of-backlash)
9543 (python-info-block-continuation-line-p)
9544 (python-info-closing-block-message)
9545 (python-info-line-ends-backslash-p)
9546 (python-info-looking-at-beginning-of-defun)
9547 (python-info-ppss-context, python-info-ppss-context-type)
9548 (python-nav-list-defun-positions, python-nav-read-defun)
9549 (python-nav-sentence-end, python-nav-sentence-start)
9550 (python-pdbtrack-comint-output-filter-function)
9551 (python-pdbtrack-set-tracked-buffer)
9552 (python-shell-calculate-exec-path)
9553 (python-shell-calculate-process-environment)
9554 (python-shell-completion--do-completion-at-point)
9555 (python-shell-completion--get-completions)
9556 (python-shell-completion-complete-at-point)
9557 (python-shell-completion-complete-or-indent)
9558 (python-shell-get-or-create-process)
9559 (python-shell-get-process-name)
9560 (python-shell-internal-get-or-create-process)
9561 (python-shell-internal-get-process-name)
9562 (python-shell-internal-send-string, python-shell-make-comint)
9563 (python-shell-parse-command, python-shell-send-setup-code)
9564 (python-skeleton-add-menu-items)
9565 (python-util-clone-local-variables, python-util-position)
9566 (run-python-internal, python-indentation-levels)
9567 (python-nav-beginning-of-defun)
9568 (python-completion-complete-at-point): New functions.
9569 (run-python): Change arguments. New API requirements.
9571 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9573 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9576 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9577 (macroexp--expand-all): Use it.
9579 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9580 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9581 Use `cl-function' instead.
9583 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9585 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9586 Suggested by Stefan Monnier while discussing bug#11657.
9588 2012-06-14 Sam Steingold <sds@gnu.org>
9590 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9592 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9594 * play/doctor.el (doctor-doc): Remove parameter and use
9595 doctor-sent instead of sent.
9596 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9598 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9600 * files.el: Require cl-lib.
9601 (file-name-non-special): Replace case -> cl-case.
9603 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9605 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9606 mapping from #' to function*.
9608 2012-06-13 Chong Yidong <cyd@gnu.org>
9610 * mouse.el (mouse-drag-track): Do not set the mark if the user
9611 releases the mouse without selecting anything (Bug#11588).
9613 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9615 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9616 as well (bug#11646).
9618 * loadup.el: Count byte-code functions as well.
9620 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9621 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9623 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9624 (bug#11649). Add cl-defun and cl-defmacro.
9626 2012-06-13 Drew Adams <drew.adams@oracle.com>
9628 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9631 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9633 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9634 Otherwise, it blocks in batch mode.
9636 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9638 * help-mode.el (bookmark-make-record-default): Declare.
9640 2012-06-13 Chong Yidong <cyd@gnu.org>
9642 * emacs-lisp/package.el (list-packages): Compute a list of
9643 packages that are newly-available since the last list-packages
9645 (package-menu--new-package-list): New var.
9646 (package-menu--generate, package-menu--print-info)
9647 (package-menu--status-predicate, package-menu-mark-install):
9648 Handle new status label "new".
9650 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9652 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9653 conversion to backquotes.
9655 2012-06-12 Chong Yidong <cyd@gnu.org>
9657 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9658 Rename from gud-inhibit-global-bindings.
9660 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9662 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9663 hook from nxml-glyph-set-hook.
9665 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9668 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9670 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9671 Convert to defcustom.
9673 2012-06-12 Drew Adams <drew.adams@oracle.com>
9675 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9677 (help-mode): Use them.
9679 2012-06-11 Glenn Morris <rgm@gnu.org>
9681 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9682 Use preprocessor face for directives.
9683 (fortran-directive-re): Doc fix.
9685 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9688 conversion to backquotes (bug#11652).
9690 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9691 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9692 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9693 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9694 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9695 (cl-ninth, cl-tenth): Mark them as inlinable.
9696 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9697 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9698 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9699 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9700 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9701 (cl-list*, cl-adjoin): Don't put an autoload manually.
9702 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9703 (cl--compiler-macro-list*): Add autoload cookie.
9704 (cl--compiler-macro-cXXr): New function.
9706 * help-fns.el (help-fns--compiler-macro): New function extracted from
9707 describe-function-1; follow aliases and use `compiler-macro' property.
9708 (describe-function-1): Use it.
9710 2012-06-11 Chong Yidong <cyd@gnu.org>
9712 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9713 is uninstalled, if imagemagick is installed.
9715 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * emacs-lisp/cl-lib.el: Use lexical-binding.
9718 (cl-map-extents, cl-maclisp-member): Remove.
9719 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9720 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9721 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9722 * emacs-lisp/cl-extra.el: Use lexical-binding.
9723 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9724 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9725 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9726 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9727 * emacs-lisp/cl-seq.el: Use lexical-binding.
9728 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9729 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9730 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9731 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9732 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9735 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9737 Sync with Tramp 2.2.6-pre.
9739 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9740 `print-length' and `print-level' to nil, in order to avoid
9741 truncation. Reported by Christopher Schmidt
9742 <christopher@ristopher.com>.
9744 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9746 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9748 (tramp-compat-copy-directory): Add optional argument
9749 COPY-CONTENTS. It is not handled yet.
9751 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9752 (tramp-ftp-file-name-p): Simplify.
9754 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9755 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9758 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9759 (tramp-methods): Do not use `tramp-password-end-of-line'.
9760 (tramp-completion-function-alist-putty): Handle UNIX case.
9761 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9762 (tramp-do-file-attributes-with-stat)
9763 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9764 gid as real numbers. They could run out of integer range on cygwin.
9765 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9766 (tramp-sh-handle-expand-file-name): Handle hops.
9767 (tramp-open-connection-setup-interactive-shell):
9768 Use `tramp-cleanup'. Move check for busyboxes ...
9769 (tramp-find-shell): ... here. Simplify implementation.
9770 Set "remote-shell" property also for alternative shells.
9771 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9772 If failing, a regular file would be written otherwise.
9773 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9774 (tramp-find-inline-encoding): Cache the coding commands in the
9775 process cache. Apply test command on the remote side, if defined.
9776 (tramp-find-inline-compress): Cache the compress commands in the
9778 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9779 when requested. Handle hops.
9780 (tramp-current-connection): New defvar.
9781 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9782 Throw `suppress', if there was a failed connection shortly before.
9783 Handle user interrupt. (Bug#10187)
9784 (tramp-get-inline-compress, tramp-get-inline-coding):
9785 Read connection properties from the process cache.
9787 * net/tramp-smb.el (tramp-smb-server-version)
9788 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9790 (tramp-smb-prompt): Extend for powershell prompt.
9791 (tramp-smb-file-name-handler-alist): Add handlers for
9792 `process-file', `shell-command' and `start-file-process'.
9793 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9794 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9795 (tramp-smb-file-name-p): Simplify.
9796 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9797 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9798 (tramp-smb-shell-quote-argument): New defuns.
9799 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9800 Implement using "tar". By this, time-stamps are preserved.
9801 (tramp-smb-handle-copy-file): Handle also the case of directories.
9802 (tramp-smb-do-file-attributes-with-stat)
9803 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9804 Use `tramp-get-connection-buffer').
9805 (tramp-smb-handle-rename-file): Use "rename", when source and
9806 target are on the same share.
9807 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9808 Use `tramp-smb-server-version'.
9809 (tramp-smb-wait-for-output): Remove prompt.
9811 * net/tramp.el (top): Require 'cl.
9812 (tramp-methods, tramp-rsh-end-of-line):
9813 Remove `tramp-password-end-of-line' from docstring.
9814 (tramp-save-ad-hoc-proxies): New defcustom.
9815 (tramp-completion-function-alist): Adapt docstring.
9816 (tramp-default-password-end-of-line): Remove defcustom.
9817 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9818 (tramp-user-regexp, tramp-file-name-regexp-unified)
9819 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9820 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9821 (tramp-remote-file-name-spec-regexp): New defconst.
9822 (tramp-file-name-structure): Extend structure for hops.
9823 (tramp-get-method-parameter): Move up.
9824 (tramp-file-name-p, tramp-dissect-file-name)
9825 (with-parsed-tramp-file-name): Handle hops.
9826 (tramp-file-name-hop): New defun.
9827 (tramp-make-tramp-file-name): New optional arg HOP.
9828 (tramp-message-show-progress-reporter-message): New defvar.
9829 (tramp-with-progress-reporter): Use it. We cannot use
9830 `tramp-message-show-message' here, because this suppresses also
9832 (tramp-error-with-buffer): Suppress buffer view, if
9833 `tramp-message-show-message' is nil.
9834 Use `tramp-get-connection-buffer'.
9835 (tramp-cleanup): New defun.
9836 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9837 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9839 (tramp-completion-handle-file-name-all-completions): Handle hops.
9840 Fix an error when called from ido.
9841 (tramp-completion-dissect-file-name): Use better local variable
9842 name. Add hop to the vector.
9843 (tramp-handle-insert-file-contents): Use progress-reporter for the
9845 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9847 (tramp-check-for-regexp): Simplify search.
9848 (tramp-enter-password): Remove it. Move implementation ...
9849 (tramp-action-password): ... here.
9850 (tramp-mode-string-to-int, tramp-local-host-p)
9851 (tramp-make-tramp-temp-file, tramp-read-passwd)
9852 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9853 Set tramp-autoload cookie.
9855 * net/trampver.el: Update release number.
9857 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9858 Michael Albinus <michael.albinus@gmx.de>
9860 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9861 (tramp-parse-group, tramp-parse-file)
9862 (tramp-parse-shostkeys-sknownhosts): New defuns.
9863 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9864 (tramp-parse-shosts-group, tramp-parse-sconfig)
9865 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9866 (tramp-parse-sknownhosts, tramp-parse-hosts)
9867 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9869 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9870 (tramp-parse-putty-group): Don't narrow.
9871 (tramp-parse-putty): Make a loop.
9872 (tramp-file-name-handler): Catch the `suppress' signal.
9874 2012-06-11 Chong Yidong <cyd@gnu.org>
9876 * image.el (imagemagick-register-types): Put the ImageMagick entry
9877 at the end of image-type-file-name-regexps.
9879 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9881 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9882 (pcase, pcase-let*, pcase-dolist): Use them.
9884 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9886 * emacs-lisp/pcase.el (pcase--let*): New function.
9887 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9888 (pcase--expand): Use macroexp-let².
9890 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9892 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9893 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9894 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9895 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9896 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9897 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9899 2012-06-10 Glenn Morris <rgm@gnu.org>
9901 * mail/rmail.el (rmail-yank-current-message): Leave point at
9902 correct position. (Bug#11660)
9904 2012-06-10 Chong Yidong <cyd@gnu.org>
9906 * allout-widgets.el: Fix code header.
9908 2012-06-10 Chong Yidong <cyd@gnu.org>
9910 * cus-edit.el (customize-changed-options-previous-release):
9913 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9915 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9917 2012-06-09 Chong Yidong <cyd@gnu.org>
9919 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9921 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9923 * window.el (special-display-popup-frame): Don't use
9924 window--display-buffer (Bug#11651).
9926 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9928 Fix parallel builds: make sure loaddefs.el is not being written
9929 while Lisp files are compiled.
9930 (compile): Don't depend on 'mh-autoloads'.
9931 (compile-CMD, compile-SH): Depend on 'autoloads'.
9932 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9934 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9936 2012-06-09 Chong Yidong <cyd@gnu.org>
9938 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9939 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9940 Doc fixes (Bug#11225).
9942 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9944 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9945 a function if there's a clear indication that it has a compiler-macro.
9946 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9947 (macro-declarations-alist): Add arglist to declaration functions.
9948 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9949 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9950 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9951 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9952 Also add autoload to find the compiler macro.
9953 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9954 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9955 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9956 (cl--compiler-macro-get): New functions, replacing calls to
9957 cl-define-compiler-macro.
9958 (cl-typep) [compiler-macro]: Use macroexp-let².
9960 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9962 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9963 string properly, fixes Bug#11473.
9965 2012-06-08 Chong Yidong <cyd@gnu.org>
9967 * faces.el (set-face-attribute): Doc fix.
9968 (modify-face): Don't use :bold and :italic.
9969 (error, warning, success): Tweak definitions.
9971 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9972 (custom-modified, custom-set, custom-changed, custom-themed)
9973 (custom-saved, custom-button, custom-button-mouse)
9974 (custom-button-pressed, custom-state, custom-comment-tag)
9975 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9976 (custom-group-subtitle): Use new-style face specs.
9977 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9978 (custom-set-face, custom-changed-face, custom-saved-face)
9979 (custom-button-face, custom-button-pressed-face)
9980 (custom-documentation-face, custom-state-face)
9981 (custom-comment-face, custom-comment-tag-face)
9982 (custom-variable-tag-face, custom-variable-button-face)
9983 (custom-face-tag-face, custom-group-tag-face-1)
9984 (custom-group-tag-face): Remove obsolete face alias.
9986 * epa.el (epa-validity-high, epa-validity-medium)
9987 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9988 (epa-field-name, epa-field-body):
9989 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9990 (font-lock-keyword-face, font-lock-builtin-face)
9991 (font-lock-function-name-face, font-lock-variable-name-face)
9992 (font-lock-type-face, font-lock-constant-face):
9993 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9994 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9995 * speedbar.el (speedbar-button-face, speedbar-file-face)
9996 (speedbar-directory-face, speedbar-tag-face)
9997 (speedbar-selected-face, speedbar-highlight-face)
9998 (speedbar-separator-face):
9999 * whitespace.el (whitespace-newline, whitespace-space)
10000 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10001 (whitespace-line, whitespace-space-before-tab)
10002 (whitespace-space-after-tab, whitespace-indentation)
10003 (whitespace-empty):
10004 * emulation/cua-base.el (cua-global-mark):
10005 * eshell/em-prompt.el (eshell-prompt):
10006 * net/newst-plainview.el (newsticker-new-item-face)
10007 (newsticker-old-item-face, newsticker-immortal-item-face)
10008 (newsticker-obsolete-item-face, newsticker-date-face)
10009 (newsticker-statistics-face, newsticker-default-face):
10010 * net/newst-reader.el (newsticker-feed-face)
10011 (newsticker-extra-face, newsticker-enclosure-face):
10012 * net/newst-treeview.el (newsticker-treeview-face)
10013 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10014 (newsticker-treeview-immortal-face)
10015 (newsticker-treeview-obsolete-face)
10016 (newsticker-treeview-selection-face):
10017 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10018 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10019 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10020 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10021 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10022 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10023 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10025 * progmodes/vera-mode.el (vera-font-lock-number)
10026 (vera-font-lock-function, vera-font-lock-interface):
10027 * textmodes/table.el (table-cell): Use new-style face specs, and
10028 don't use the old :bold and :italic attributes.
10030 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10031 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10032 (ebrowse-member-class, ebrowse-progress): Likewise.
10033 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10034 (ebrowse-file-name-face, ebrowse-default-face)
10035 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10036 (ebrowse-progress-face): Remove obsolete faces.
10038 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10039 Inherit from error and warning faces respectively.
10041 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10043 (flyspell-incorrect-face, flyspell-duplicate-face):
10044 Remove obsolete aliases.
10046 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10048 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10051 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * startup.el (argv, argi): Make lexically scoped.
10054 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10055 * emacs-lisp/cl-macs.el: Use lexical-binding.
10056 Rename cl-bind-* to cl--bind-*.
10057 * files.el: Don't require `cl' since it doesn't use it.
10058 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10060 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10062 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10063 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10064 instead of calling external sort utility.
10065 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10067 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10069 * descr-text.el (describe-char): Mention how to insert the
10070 character, if the current input method doesn't support it.
10071 See the discussion in this thread for the details:
10072 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10074 2012-06-08 Sam Steingold <sds@gnu.org>
10076 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10077 XF86Back to previous-buffer.
10078 (minibuffer-local-map): Bind them to next-history-element and
10079 previous-history-element respectively.
10080 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10081 help-go-back respectively.
10082 * info.el (Info-mode-map): Bind them to Info-history-forward and
10083 Info-history-back respectively.
10084 These are the keys next to Up on the ThinkPad keyboard.
10086 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10088 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10089 * emacs-lisp/cl-macs.el: Provide itself.
10090 (cl--labels-convert-cache): New var.
10091 (cl--labels-convert): New function.
10092 (cl-flet, cl-labels): New implementation with new semantics, relying on
10094 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10095 (cl-closure-vars, cl--function-convert-cache)
10096 (cl--function-convert): Move from cl-macs.el.
10097 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10098 rename by removing the "cl-" prefix.
10099 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10103 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10104 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10105 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10106 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10107 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10108 (cl-hash-table-count): Add old compatibility aliases.
10110 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10111 Use macroexpand-all-environment instead.
10112 (cl--old-macroexpand): New var.
10113 (cl--sm-macroexpand): New function.
10114 (cl-symbol-macrolet): Use it during macro expansion.
10115 (cl--function-convert-cache): New var.
10116 (cl--function-convert): New function, extracted from
10117 cl-macroexpand-all.
10118 (cl-lexical-let): Use it.
10120 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10121 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10122 (cl-member): Remove old alias.
10124 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10125 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10126 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10127 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10128 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10129 (cl-macroexpand-cmacs): Remove var.
10130 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10131 Use macroexpand-all instead.
10133 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10136 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10137 (macroexp-copyable-p): New functions and macros.
10138 * emacs-lisp/edebug.el (edebug-unwrap):
10139 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10140 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10141 (pcase--let*): Remove.
10142 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10143 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10144 macroexp-const-p instead.
10145 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10147 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10148 instead of "cl-" for internal definitions. Use macroexp-const-p.
10149 (cl-old-bc-file-form): Remove var.
10150 (cl-const-exprs-p): Remove fun.
10151 (cl-labels, cl-macrolet): Use backquote.
10152 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10153 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10154 (cl-define-setf-expander): Rename from cl-define-setf-method.
10155 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10157 * international/mule-cmds.el: Don't require CL.
10158 (view-hello-file): Don't use `letf'.
10160 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10162 * tmm.el (tmm-prompt): Use string-prefix-p.
10163 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10164 (tmm-add-prompt): Use minibuffer-completion-help.
10165 (tmm-delete-map): Remove.
10167 * subr.el (kbd): Make it its own function.
10169 2012-06-07 Stefan Merten <smerten@oekonux.de>
10171 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10172 Silence compiler warnings. Fix versions.
10173 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10174 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10175 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10176 (rst-package-emacs-version-alist): Correct Emacs version to
10177 represent major merge with upstream.
10178 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10180 2012-06-06 Glenn Morris <rgm@gnu.org>
10182 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10183 Only print environment variables if set.
10185 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10187 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10188 (macroexp--cons): Rename from maybe-cons.
10189 (macroexp--accumulate): Rename from macroexp-accumulate.
10190 (macroexp--all-forms): Rename from macroexpand-all-forms.
10191 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10192 (macroexp--expand-all): Rename from macroexpand-all-1.
10194 2012-06-06 Sam Steingold <sds@gnu.org>
10196 * calendar/calendar.el (calendar-in-read-only-buffer):
10197 Call `special-mode' to enable the standard read-only keybindings.
10199 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10202 with "loading" messages (bug#11635).
10204 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10206 * files.el (enable-remote-dir-locals): New option.
10207 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10209 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10210 Ensure, that the temp directory is local.
10212 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10213 `temporary-file-directory'.
10215 * progmodes/python.el (python-send-region): Ensure, that the
10216 temporary file is created also in the remote case.
10218 2012-06-06 Glenn Morris <rgm@gnu.org>
10220 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10221 (vc-rcs-update-changelog): Use it.
10223 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10225 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10226 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10227 (vc-sccs-diff): Replace use of the external vcdiff script.
10229 2012-06-05 Glenn Morris <rgm@gnu.org>
10231 * ledit.el: Move to obsolete/.
10233 2012-06-05 Sam Steingold <sds@gnu.org>
10235 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10238 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * emacs-lisp/cust-print.el: Move to obsolete.
10242 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10243 compiler-macro expansion.
10245 Add native compiler-macro support.
10246 * emacs-lisp/macroexp.el (macroexpand-all-1):
10247 Support compiler-macros directly. Properly follow aliases and apply
10248 the compiler macros more thoroughly.
10249 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10250 macroexpand now properly follows aliases.
10251 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10252 (cl-compiler-macroexpand): Use new prop.
10253 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10255 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10257 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10259 * window.el (get-lru-window, get-mru-window, get-largest-window):
10260 New argument NOT-SELECTED to avoid picking the selected window.
10261 (window--display-buffer-1, window--display-buffer-2): Replace by
10262 new function window--display-buffer
10263 (display-buffer-same-window, display-buffer-reuse-window)
10264 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10265 Use window--display-buffer.
10266 (display-buffer-use-some-window): Remove temporary dedication
10267 hack by calling get-lru-window and get-largest-window with
10268 NOT-SELECTED argument non-nil. Call window--display-buffer.
10270 2012-06-05 Glenn Morris <rgm@gnu.org>
10272 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10273 Replace external vcdiff script.
10275 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10277 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10279 2012-06-04 Chong Yidong <cyd@gnu.org>
10281 * image.el (imagemagick-types-inhibit): Revert last change.
10283 (imagemagick-enabled-types): Remove CIN and EPS*.
10285 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10287 * emacs-lisp/cl-lib.el: Rename from cl.el.
10288 * emacs-lisp/cl.el: New compatibility file.
10289 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10290 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10291 to obey the "cl-" prefix.
10292 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10294 2012-06-03 Glenn Morris <rgm@gnu.org>
10296 * emacs-lisp/authors.el (authors-aliases): Addition.
10298 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10301 2012-06-03 Stefan Merten <smerten@oekonux.de>
10303 * textmodes/rst.el: Add comments.
10304 (rst-transition, rst-adornment): New faces.
10305 (rst-adornment-faces-alist): Make default safe to reevaluate.
10307 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10308 Improve customization tags.
10309 (rst-define-level-faces): Clarify meaning.
10311 2012-06-03 Chong Yidong <cyd@gnu.org>
10313 * progmodes/compile.el (compilation-mode-line-fail)
10314 (compilation-mode-line-run, compilation-mode-line-exit):
10316 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10318 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10320 * progmodes/which-func.el (which-func-update-ediff-windows):
10321 New function. Use it in ediff-select-hook (Bug#11478).
10323 2012-06-03 Chong Yidong <cyd@gnu.org>
10325 * bindings.el: Remove explicit help text from format-mode-line.
10326 It is now supplied by mode-line-default-help-echo.
10327 (mode-line-front-space, mode-line-end-spaces)
10328 (mode-line-misc-info): New variables.
10329 (mode-line-modes, mode-line-position): Move the default value to
10330 the variable definition.
10331 (mode-line-default-help-echo): New defcustom.
10332 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10333 (mode-line-modified-help-echo): New functions.
10334 (mode-line-mule-info, mode-line-modified): Use them.
10335 (mode-line-eol-desc, propertized-buffer-identification):
10336 Consistency fixes for help text.
10337 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10338 set-buffer-file-coding-system (Bug#289).
10339 (mode-line-mule-info-help-echo): Update help text.
10341 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * simple.el (execute-extended-command): Set real-this-command
10346 2012-06-02 Chong Yidong <cyd@gnu.org>
10348 Remove incorrect uses of "modeline" in comments, docstrings, and
10349 function/variable names (Bug#10329).
10351 * cus-edit.el (mode-line):
10352 * dframe.el (dframe-mouse-hscroll):
10353 * emacs-lisp/re-builder.el:
10354 * emacs-lisp/easy-mmode.el (define-minor-mode):
10355 * frame.el (set-frame-name):
10356 * help.el (lookup-minor-mode-from-indicator):
10357 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10358 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10359 (c-toggle-hungry-state):
10360 * progmodes/antlr-mode.el (antlr-language-alist):
10361 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10362 * progmodes/vhdl-mode.el (vhdl-mode):
10363 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10364 * term/ns-win.el (ns-face-at-pos):
10365 * term/sup-mouse.el (sup-mouse-report):
10366 * textmodes/flyspell.el (flyspell-mode-line-string):
10367 * textmodes/ispell.el (ispell-highlight-face):
10368 * textmodes/reftex-global.el:
10369 * vc/vc-arch.el (vc-arch-mode-line-string):
10370 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10371 * vc/vc-git.el (vc-git-mode-line-string):
10372 * vc/vc-hooks.el (vc-display-status)
10373 (vc-default-mode-line-string):
10374 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10376 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10378 * dired.el (dired-sort-set-mode-line): Rename from
10379 dired-sort-set-modeline. All callers changed.
10381 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10382 eshell-status-in-modeline.
10384 * foldout.el (foldout-mode-line-string): Rename from
10385 foldout-modeline-string. All callers changed.
10386 (foldout-update-mode-line): Rename from foldout-update-modeline.
10388 * subr.el (redraw-modeline): Make into obsolete alias.
10390 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10391 timeclock-modeline-display. Make old name an alias.
10392 (timeclock-update-mode-line): Likewise. All callers changed.
10393 (timeclock-mode-line-display): No need to check before using
10395 (timeclock-relative, timeclock-day-over-hook)
10396 (timeclock-use-elapsed, timeclock-mode-string)
10397 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10399 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10400 crisp-mode-modeline-string.
10402 * play/solitaire.el (solitaire-build-mode-line): Rename from
10403 solitaire-build-modeline. All callers changed.
10405 * play/zone.el (zone-hiding-mode-line): Rename from
10406 zone-hiding-modeline. All callers changed.
10407 (zone): Remove unusued `modeline-hidden-level' property.
10409 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10410 xscheme-modeline-initialize. All callers changed.
10412 * strokes.el (strokes-lighter): Rename from
10413 strokes-modeline-string.
10415 * textmodes/sgml-mode.el (html-face-tag-alist)
10416 (html-tag-face-alist): Use mode-line face instead of obsolete
10419 2012-06-02 Stefan Merten <smerten@oekonux.de>
10421 * textmodes/rst.el: Always require `cl'.
10422 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10424 2012-06-02 Chong Yidong <cyd@gnu.org>
10426 * image.el (imagemagick-enabled-types): Rename from
10427 imagemagick-types-enable. Add many more types.
10428 (imagemagick-types-inhibit): Change default to nil.
10429 (imagemagick-filter-types): Caller changed.
10431 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10433 * emacs-lisp/cl-macs.el: Use backquotes.
10434 (cl-transform-function-property): Use eval-and-compile rather than
10436 (defstruct): Use declare-function instead of with-no-warnings.
10438 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10439 (byte-compile-output-docform): Re-add the print-circle bindings.
10440 (byte-compile-fix-header): Use #$ just because it's shorter.
10441 (byte-compile-output-file-form): Remove defun/defmacro.
10443 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10445 * simple.el (choose-completion): Remove now obsolete binding for
10448 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10450 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10451 in order to avoid "Stack overflow in regexp matcher".
10453 2012-05-31 Glenn Morris <rgm@gnu.org>
10455 * image.el: For clarity, call imagemagick-register-types at
10456 top-level, rather than relying on a custom :initialize.
10457 (imagemagick-types-enable): New option. (Bug#11557)
10458 (imagemagick-filter-types): New function. (Bug#7406)
10459 (imagemagick-register-types): Use imagemagick-filter-types.
10460 If disabling support, remove elements altogether rather
10461 than using an impossible regexp.
10462 (imagemagick-types-inhibit): Give it the default init function.
10464 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10467 Handle arbitrary file name lengths (Bug#11585).
10469 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10471 * desktop.el (desktop-read): Clear previous and next buffers for
10472 all windows and bury *Messages* buffer (bug#11556).
10474 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10476 Add `declare' for `defun'. Align `defmacro's with it.
10477 * emacs-lisp/easy-mmode.el (define-minor-mode)
10478 (define-globalized-minor-mode): Don't autoload the var definitions.
10479 * emacs-lisp/byte-run.el: Use lexical-binding.
10480 (defun-declarations-alist, macro-declarations-alist): New vars.
10481 (defmacro, defun): Use them.
10482 (make-obsolete, define-obsolete-function-alias)
10483 (make-obsolete-variable, define-obsolete-variable-alias):
10485 (macro-declaration-function): Mark obsolete.
10486 * emacs-lisp/autoload.el: Use lexical-binding.
10487 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10489 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10491 * textmodes/ispell.el (ispell-with-no-warnings):
10493 (ispell-kill-ispell, ispell-change-dictionary):
10494 Use `called-interactively-p' for Emacs instead of obsolete
10497 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10500 (macro-declaration-function): Move var from C code.
10501 (macro-declaration-function): Define function with defalias.
10502 * emacs-lisp/macroexp.el (macroexpand-all-1):
10503 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10504 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10505 defun/defmacro any more.
10506 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10507 Provide fallback for unknown arglist.
10508 (byte-compile-arglist-warn): Change calling convention.
10509 (byte-compile-output-file-form): Move print-vars binding.
10510 (byte-compile-output-docform): Simplify accordingly.
10511 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10512 (byte-compile-defmacro-declaration): Remove.
10513 (byte-compile-file-form-defmumble): Generalize to defalias.
10514 (byte-compile-output-as-comment): Return byte-positions.
10515 Simplify callers accordingly.
10516 (byte-compile-lambda): Use `assert'.
10517 (byte-compile-defun, byte-compile-defmacro): Remove.
10518 (byte-compile-file-form-defalias):
10519 Use byte-compile-file-form-defmumble.
10520 (byte-compile-defalias-warn): Remove.
10522 2012-05-29 Stefan Merten <smerten@oekonux.de>
10524 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10525 possible. Fix authors. Improve comments. Improve loading of `cl'.
10527 (rst-mode-abbrev-table): Merge definition.
10528 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10529 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10531 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10533 * calendar/icalendar.el
10534 (icalendar-export-region): Export UID properly.
10536 2012-05-29 Leo Liu <sdl.web@gmail.com>
10537 * calendar/icalendar.el (icalendar-import-format):
10538 Add `icalendar-import-format-uid' (Bug#11525).
10539 (icalendar-import-format-uid): New.
10540 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10543 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10545 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10546 different alternative patterns.
10547 (pcase-codegen): Be more careful to preserve identity.
10548 (pcase--u1): Don't forget to mark vars as used.
10550 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10551 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10552 (byte-compile-from-buffer): ...rather than here.
10554 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10555 functions from byte-compile-function-environment.
10557 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10559 * window.el (window-deletable-p): Avoid deleting the root window
10560 of a frame with an active minibuffer.
10562 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10564 * simple.el (choose-completion): Use quit-window (Bug#11567).
10566 2012-05-29 Chong Yidong <cyd@gnu.org>
10568 * whitespace.el (whitespace-cleanup): Fix usage of
10569 whitespace-empty-at-bob-regexp (Bug#11492).
10571 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10573 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10574 revert (Bug#11488).
10576 2012-05-29 Juri Linkov <juri@jurta.org>
10578 * isearch.el (isearch-mode-map): Bind `M-s _' to
10579 `isearch-toggle-symbol'. Bind `M-s c' to
10580 `isearch-toggle-case-fold'.
10581 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10582 (isearch-forward): Add `M-s _' to the docstring.
10583 (isearch-forward-symbol, isearch-toggle-case-fold)
10584 (isearch-symbol-regexp): New functions. (Bug#11381)
10586 2012-05-29 Juri Linkov <juri@jurta.org>
10588 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10589 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10590 a function, call it to get the regexp.
10591 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10592 property `isearch-message-prefix' instead of the string "word ".
10593 (isearch-search-fun-default): For the case of `isearch-word',
10594 return a lambda that calls re-search-forward/re-search-backward
10595 with a regexp returned by `word-search-regexp' or by the function
10598 2012-05-29 Juri Linkov <juri@jurta.org>
10600 * isearch.el (isearch-search-fun-default): New function.
10601 (isearch-search-fun): Move default part to the new function
10602 `isearch-search-fun-default'.
10603 (isearch-search-fun-function): Set the default value to
10604 `isearch-search-fun-default'. (Bug#11381)
10606 * comint.el (comint-history-isearch-end):
10607 Use `isearch-search-fun-default'.
10608 (comint-history-isearch-search): Use `isearch-search-fun-default'
10609 and remove spacial case for `isearch-word'.
10610 (comint-history-isearch-wrap): Remove spacial case for
10613 * hexl.el (hexl-isearch-search-function):
10614 Use `isearch-search-fun-default'.
10616 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10617 Use `word-search-regexp' for `isearch-word'.
10619 * misearch.el (multi-isearch-search-fun):
10620 Use `isearch-search-fun-default'.
10622 * simple.el (minibuffer-history-isearch-search):
10623 Use `isearch-search-fun-default' and remove spacial case for
10625 (minibuffer-history-isearch-wrap): Remove spacial case for
10628 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10629 Remove spacial case for `isearch-word'.
10630 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10632 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10634 Decrease XEmacs incompatibilities.
10635 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10636 Use `string-match'.
10637 (flyspell-delete-region-overlays): Use alternative definition for
10639 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10640 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10641 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10642 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10643 `define-obsolete-face-alias' under XEmacs, but old method.
10645 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10646 `with-no-warnings' definition or Emacs alias.
10647 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10648 (ispell-word): Do not use `region-p' if XEmacs.
10650 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10652 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10653 Check for `ispell-dictionary-base-alist' instead of full
10654 `ispell-dictionary-alist'.
10655 (ispell-init-process): Show spellchecker when starting new Ispell
10658 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10660 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10661 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10663 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10665 * version.el (motif-version-string, gtk-version-string)
10666 (ns-version-string): Declare.
10668 2012-05-27 Juri Linkov <juri@jurta.org>
10670 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10671 after the `eval-defun-1' specialcaseing
10672 like in `edebug-eval-defun' (bug#10181).
10674 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10675 like in `eval-defun-1'.
10677 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10679 * mail/sendmail.el (mail-yank-region):
10680 Recognize rmail-yank-current-message in addition to insert-buffer.
10681 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10682 a *mail* buffer created through rmail-start-mail with sendmail as
10685 2012-05-27 Chong Yidong <cyd@gnu.org>
10687 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10688 Default to 256 (Bug#11267).
10690 * help.el (describe-mode): Doc fix.
10692 2012-05-26 Glenn Morris <rgm@gnu.org>
10694 * w32-fns.el (w32-init-info): Remove.
10695 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10697 * info.el (info-initialize): For self-contained NS builds, put the
10698 included info/ directory at the front. (Bug#2791)
10700 * paths.el (Info-default-directory-list): Make it a defcustom,
10701 mainly so that we can use custom-initialize-delay.
10703 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * subr.el (buffer-has-markers-at): Mark obsolete.
10707 * subr.el (lambda): Use declare.
10709 * emacs-lisp/lisp-mode.el (lambda):
10710 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10712 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10714 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10716 2012-05-26 Glenn Morris <rgm@gnu.org>
10718 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10720 2012-05-25 Glenn Morris <rgm@gnu.org>
10722 * paths.el: Remove no-byte-compile.
10723 * loadup.el: No need to load paths.el uncompiled.
10725 * image.el (imagemagick-types-inhibit): Doc fix.
10727 * version.el: Remove no-byte-compile and associated formatting.
10728 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10729 is ancient code from when there was an "inc-vers.el".
10731 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10733 * progmodes/gdb-mi.el: Minor style changes.
10734 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10735 Turn into minor modes.
10736 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10737 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10738 (gdb-shell): Remove unneeded let-binding.
10739 (gdb-get-many-fields): Eliminate O(n²) behavior.
10741 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10743 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10744 platforms that don't link in fontset.c.
10746 2012-05-25 Juri Linkov <juri@jurta.org>
10748 Use the same diff color scheme as in modern VCSes (bug#10181).
10750 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10751 to avoid confusion with `diff-added' that now uses green colors.
10752 (diff-removed): Use shades of red.
10753 (diff-added): Use shades of green.
10754 (diff-changed): Leave just the yellow color.
10755 (diff-use-changed-face): New variable.
10756 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10757 how to highlight context diff changes.
10758 (diff-refine-change): Use shades of yellow.
10759 (diff-refine-removed): New face that uses shades of red.
10760 (diff-refine-added): New face that uses shades of green.
10761 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10762 `diff-refine-removed' in the call to `smerge-refine-subst'
10763 depending on the value of `diff-use-changed-face'.
10765 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10766 (smerge-other): Use shades of green.
10767 (smerge-base): Use shades of yellow.
10768 (smerge-refined-change): Empty face.
10769 (smerge-refined-removed): New face that uses shades of red.
10770 (smerge-refined-added): New face that uses shades of green.
10771 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10772 args `props-r' and `props-a', and use them. Doc fix.
10773 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10774 on its value use different faces `smerge-refined-change',
10775 `smerge-refined-removed', `smerge-refined-added' in the call to
10776 `smerge-refine-subst'.
10778 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10779 Add face condition `min-colors 88' with shades of red.
10780 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10781 `min-colors 88' with shades of green.
10782 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10783 `min-colors 88' with shades of yellow.
10785 2012-05-24 Glenn Morris <rgm@gnu.org>
10787 * paths.el (prune-directory-list, remote-shell-program): Move to...
10788 * files.el (prune-directory-list, remote-shell-program): ...here.
10789 For the latter, delay initialization, prefer ssh, just search PATH.
10791 * paths.el (term-file-prefix): Move to faces.el (the only user).
10792 * faces.el (term-file-prefix): Move here, make it a defcustom.
10794 * paths.el (news-directory, news-path, news-inews-program):
10795 Move to gnus/nnspool.el.
10797 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10799 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10800 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10801 Make the latter a defcustom, with a delayed initialization.
10803 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10804 These were deleted from Gnus itself late 2010.
10806 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10808 * progmodes/which-func.el (which-func-ff-hook):
10809 Check against user-error, not error.
10811 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10812 cl-specs.el, which no longer exists.
10814 2012-05-22 Glenn Morris <rgm@gnu.org>
10816 * info.el (info-emacs-bug): New command.
10817 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10818 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10820 2012-05-21 Glenn Morris <rgm@gnu.org>
10822 * makefile.w32-in (update-subdirs-SH):
10823 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10825 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10827 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10829 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10830 Simplify Maven regexp, and make sure the file can't start with a space
10833 2012-05-21 Glenn Morris <rgm@gnu.org>
10835 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10836 Scrap superfluous subshells.
10838 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10840 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10841 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10843 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10845 * calc/calc.el (calc-ensure-consistent-units): New variable.
10847 * calc/calc-units.el (math-consistent-units-p)
10848 (math-check-unit-consistency): New functions.
10849 (calc-quick-units, calc-convert-units):
10850 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10852 (calc-extract-units): Fix typo.
10854 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10856 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10858 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10859 (flyspell-default-deplacement-commands): Don't spell check after
10860 repeated window/frame switches (e.g. triggered by mouse-movement).
10861 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10862 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10863 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10864 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10865 Remove unused vars.
10866 (flyspell-get-casechars, flyspell-get-not-casechars):
10867 Simplify; Don't bother removing a ] just to add it back.
10868 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10870 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10872 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10874 (math-function-table): Add support for more C functions.
10876 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10878 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10879 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10880 Protect delay handling for otherchars against empty otherchars.
10882 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10885 their respective macro declarations.
10886 * skeleton.el (define-skeleton):
10887 * progmodes/compile.el (define-compilation-mode):
10888 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10889 (define-ibuffer-filter):
10890 * emacs-lisp/generic.el (define-generic-mode):
10891 * emacs-lisp/easy-mmode.el (define-minor-mode)
10892 (define-globalized-minor-mode):
10893 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10894 * emacs-lisp/byte-run.el (defsubst):
10895 * custom.el (deftheme): Add doc-string metadata.
10897 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10901 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10903 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10905 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10906 * emacs-lisp/cl-macs.el: Idem.
10907 * emacs-lisp/cl-specs.el: Remove.
10909 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10911 Minor renaming of internal CL functions and variables.
10912 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10913 (cl--position): Rename from cl-position.
10914 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10915 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10916 (cl--random-state): Rename from *random-state*.
10918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10921 parens around the arg list (bug#11499).
10923 2012-05-17 Juri Linkov <juri@jurta.org>
10925 * isearch.el (word-search-regexp, word-search-backward)
10926 (word-search-forward, word-search-backward-lax)
10927 (word-search-forward-lax): Move functions from search.c
10928 (bug#10145, bug#11381).
10930 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10932 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10933 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10934 Delay for otherchars as for normal word components.
10936 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10938 * minibuffer.el (completion--sifn-requote): Fix last change.
10939 (minibuffer-local-must-match-filename-map):
10940 Move define-obsolete-variable-alias before its var.
10942 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10944 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10946 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10948 (completion--string-equal-p): New function.
10949 (completion--twq-all): Use it to get better assertion failure data.
10951 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10952 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10953 (shell--requote-argument): New functions.
10954 (shell-completion-vars): Use them.
10955 (shell--parse-pcomplete-arguments): Rename from
10956 shell-parse-pcomplete-arguments.
10957 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10958 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10959 Obey comint-file-name-quote-list.
10961 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10962 (smie-indent-keyword): Use it.
10964 2012-05-14 Stefan Merten <smerten@oekonux.de>
10966 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10968 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * net/rlogin.el (rlogin-mode-map): Fix last change.
10972 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10974 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10975 the following \r\n using a single `process-send-string', since the
10976 Lotus SMTP server refuses to accept any commands if they are sent
10977 with two `process-send-string's (Bug#11444).
10979 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10981 * shell.el (shell-parse-pcomplete-arguments):
10982 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10984 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10986 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10987 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10988 (image-transform-width, image-transform-fit-width): New functions.
10989 (image-transform-properties): Use them.
10990 (image-transform-check-size): New function.
10991 (image-toggle-display-image): Use it (for testing).
10992 (image-transform-set-rotation): Reduce angle mod 360.
10993 Delete obsolete comment.
10995 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10997 * image-mode.el: Fix scaling (bug#11399).
10998 (image-transform-resize): Doc fix.
10999 (image-transform-properties): Default scale is 1 and height should
11002 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11004 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11005 than hard-coding `car', to fix misbehavior when moving forward.
11007 2012-05-13 Chong Yidong <cyd@gnu.org>
11009 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11010 (tabulated-list-entries, tabulated-list-padding)
11011 (tabulated-list-sort-key): Make permanent-local.
11013 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11014 (electric-buffer-list): Put electric buffer menu
11015 command descriptions in this docstring, instead of the docstring
11016 of electric-buffer-menu-mode. Code cleanups.
11017 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11018 Electric-buffer-menu-mode.
11019 (electric-buffer-update-highlight): Minor code cleanup.
11021 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11023 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11026 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11028 Move define-obsolete-variable-alias before the var's definition.
11029 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11030 * tooltip.el (tooltip-hook):
11031 * textmodes/reftex-toc.el (reftex-toc-map):
11032 * textmodes/reftex-sel.el (reftex-select-label-map)
11033 (reftex-select-bib-map):
11034 * textmodes/reftex-index.el (reftex-index-map)
11035 (reftex-index-phrases-map):
11036 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11037 * progmodes/meta-mode.el (meta-mode-map):
11038 * novice.el (disabled-command-hook):
11039 * loadhist.el (unload-hook-features-list):
11040 * frame.el (blink-cursor):
11041 * files.el (find-file-not-found-hooks, write-file-hooks)
11042 (write-contents-hooks):
11043 * emulation/tpu-edt.el (GOLD-map):
11044 * emacs-lock.el (emacs-lock-from-exiting):
11045 * emacs-lisp/generic.el (generic-font-lock-defaults):
11046 * emacs-lisp/chart.el (chart-map):
11047 * dos-fns.el (register-name-alist):
11048 * dired-x.el (dired-omit-files-p):
11049 * desktop.el (desktop-enable):
11050 * cus-edit.el (custom-mode-hook):
11051 * buff-menu.el (buffer-menu-mode-hook):
11052 * bookmark.el (bookmark-read-annotation-text-func)
11053 (bookmark-exit-hooks):
11054 * allout.el (allout-mode-deactivate-hook)
11055 (allout-exposure-change-hook, allout-structure-added-hook)
11056 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11057 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11058 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11059 comes before the corresponding variable's definition.
11061 2012-05-12 Chong Yidong <cyd@gnu.org>
11063 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11064 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11065 (Buffer-menu-mode-map): Bind it.
11066 (Buffer-menu--pretty-name): Add a mouse-face property.
11068 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11071 (prolog-upper-case-string, prolog-lower-case-string)
11072 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11073 (prolog-use-smie, prolog-smie-grammar): New vars.
11074 (prolog-smie-forward-token, prolog-smie-backward-token)
11075 (prolog-smie-rules): New funs.
11076 (prolog-comment-indent): Remove.
11077 (prolog-mode-variables): Use default comment indentation instead.
11079 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11080 (prolog-mode): Don't call them any more.
11081 (prolog-electric-colon, prolog-electric-dash)
11082 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11084 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11086 * minibuffer.el (completion--twq-all): Again, allow case differences.
11088 * term.el: Move keymap initialization code to be more idiomatic.
11089 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11090 (term-terminal-menu): Move initialization into declaration.
11091 (term-escape-char): Let the user set it in her .emacs.
11093 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11094 Provide SMIE-based indentation (not enabled by default yet).
11095 (sh-mode-map): Don't bind electric keys.
11096 Use electric-pair-mode instead of skeleton-pair.
11097 (sh-assignment-regexp): Fit within 80 columns.
11098 (sh-indent-supported): Specify actual shell name instead of boolean.
11099 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11100 (sh-maybe-here-document): Use it. Make obsolete.
11101 (sh-electric-here-document-mode) New minor mode.
11102 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11103 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11104 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11105 (sh-smie-rc-grammar, sh-use-smie): New vars.
11106 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11107 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11108 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11109 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11110 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11111 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11112 (sh-set-shell): Use smie-setup if requested.
11114 * term.el (term-set-escape-char): Properly set term-escape-char.
11115 See http://stackoverflow.com/questions/10524656.
11117 2012-05-10 Chong Yidong <cyd@gnu.org>
11119 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11120 Use url-generic-parse-url, and handle host names and Windows
11121 filenames properly.
11122 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11123 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11124 URL schemes to work on.
11125 (ffap--toggle-read-only): New function.
11126 (ffap-read-only, ffap-read-only-other-window)
11127 (ffap-read-only-other-frame): Use it.
11128 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11129 necessary for ffap-url-unwrap-remote.
11131 2012-05-10 Dave Abrahams <dave@boostpro.com>
11133 * cus-start.el (create-lockfiles): Add it.
11135 2012-05-09 Chong Yidong <cyd@gnu.org>
11137 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11138 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11140 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11142 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11144 2012-05-09 Chong Yidong <cyd@gnu.org>
11146 * ansi-color.el (ansi-color-process-output): Check for validity of
11147 comint-last-output-start before using it. This avoids a bad
11148 interaction with gdb-mi's input/output buffer.
11150 2012-05-09 Glenn Morris <rgm@gnu.org>
11152 * files.el (dir-locals-read-from-file):
11153 Mention dir-locals in any error message.
11155 2012-05-09 Chong Yidong <cyd@gnu.org>
11157 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11158 package (Bug#11410).
11160 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11161 variables into description.
11163 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11165 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11166 shell-delimiter-argument-list (bug#11348).
11167 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11169 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11171 * textmodes/rst.el: Silence byte-compiler warnings.
11172 (rst-re-alist, rst-reset-section-caches): Move around.
11173 (rst-re): Use `characterp', not `char-valid-p'.
11174 (font-lock-beg, font-lock-end): Declare.
11176 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11177 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11179 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11181 2012-05-08 Glenn Morris <rgm@gnu.org>
11183 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11185 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11187 * vc/log-edit.el: Add GNU coding standards highlighting.
11188 (log-edit-font-lock-gnu-style)
11189 (log-edit-font-lock-gnu-keywords): New vars.
11190 (log-edit-font-lock-keywords): New fun.
11191 (log-edit-mode): Don't fold case in font-lock.
11192 (log-edit-font-lock-keywords): Do not assume case-folding.
11194 * imenu.el: Misc cleanup. Make docstrings out of comments.
11195 Use lexical-binding.
11196 (imenu--index-alist, imenu--last-menubar-index-alist)
11197 (imenu-menubar-modified-tick): Use defvar-local.
11198 (imenu--split-menu): Remove unused var.
11199 (imenu--cleanup-seen): Declare as global.
11200 (imenu--cleanup): Use dolist.
11202 * subr.el (defvar-local): Add debug spec and doc-string position.
11204 2012-05-08 Glenn Morris <rgm@gnu.org>
11206 * language/burmese.el, language/cham.el, language/czech.el:
11207 * language/english.el, language/georgian.el, language/greek.el:
11208 * language/japanese.el, language/khmer.el, language/korean.el:
11209 * language/lao.el, language/misc-lang.el, language/romanian.el:
11210 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11211 * language/thai.el, language/utf-8-lang.el:
11212 Remove no-byte-compile setting.
11214 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11216 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11218 * progmodes/make-mode.el (makefile-browse):
11219 Remove unnecessary interactive. (Bug#11324)
11221 2012-05-07 Glenn Morris <rgm@gnu.org>
11223 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11225 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11227 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * loadup.el: Preload newcomment.el.
11230 * newcomment.el: Move autoload-only code to toplevel.
11232 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11233 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11234 Handle new :right-align column property.
11235 (tabulated-list-print-col): Idem, plus use `display' text-property to
11236 try and preserve alignment for variable pitch fonts.
11238 2012-05-07 Chong Yidong <cyd@gnu.org>
11240 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11241 (tabulated-list-use-header-line): New var.
11242 (tabulated-list-init-header): Use it.
11243 (tabulated-list-print-fake-header): New function.
11244 (tabulated-list-print): Use it.
11245 (tabulated-list-sort-button-map): Add non-header-line commands.
11246 (tabulated-list-init-header): Add column name property to basic
11248 (tabulated-list-col-sort): Handle non-header-line button case.
11249 (tabulated-list--sort-by-column-name): Fix a corner case.
11251 * buff-menu.el (list-buffers--refresh):
11252 Handle Buffer-menu-use-header-line.
11254 2012-05-06 Chong Yidong <cyd@gnu.org>
11256 * buff-menu.el: Convert to Tabulated List mode.
11257 (Buffer-menu-buffer+size-width): Make obsolete.
11258 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11259 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11260 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11261 documentation into docstring of buffer-menu.
11262 (Buffer-menu-toggle-files-only): Add an informative message.
11263 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11264 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11265 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11266 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11267 (Buffer-menu-execute, Buffer-menu-select)
11268 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11269 (Buffer-menu-bury): Use Tabulated List machinery.
11270 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11271 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11273 (list-buffers--refresh): New function.
11274 (list-buffers-noselect): Use it.
11275 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11276 (Buffer-menu--pretty-file-name): New helper functions.
11278 * loadup.el: Preload tabulated-list.
11280 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11281 tabulated-list-sort-column.
11282 (tabulated-list-init-header): Add the initial aligning space even
11283 if tabulated-list-padding is zero.
11285 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11287 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11288 whose cdr is not a cons cell correctly (bug#11038).
11290 2012-05-06 Chong Yidong <cyd@gnu.org>
11292 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11293 Accept additional plist in column descriptors.
11294 (tabulated-list-init-header): Obey it.
11295 (tabulated-list-get-entry): New function.
11296 (tabulated-list-put-tag): Use it. Use string-width instead of
11298 (tabulated-list--column-number): New function.
11299 (tabulated-list-print): Use it.
11300 (tabulated-list-print-col): New function.
11301 Set `tabulated-list-column-name' property on each column's text.
11302 (tabulated-list-print-entry): Use it.
11303 (tabulated-list-delete-entry, tabulated-list-set-col):
11305 (tabulated-list-sort-column): New command (Bug#11337).
11307 * buff-menu.el (list-buffers): Move C-x C-b binding from
11308 buff-menu.el to bindings.el.
11310 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11311 :advertised-binding feature.
11313 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11315 * progmodes/compile.el (compilation-internal-error-properties):
11316 Calculate start position correctly when end-col is set but
11317 end-line is not (Bug#11382).
11319 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11321 * man.el (Man-unindent): Use text-property-default-nonsticky to
11322 prevent untabify from inheriting face properties (Bug#11408).
11324 2012-05-05 Stefan Merten <smerten@oekonux.de>
11326 * textmodes/rst.el: Major merge with upstream development up to
11327 Docutils SVN r7399 / rst.el V1.2.1.
11329 Clarify maintainership and authors.
11331 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11332 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11333 (rst-official-version, rst-official-cvs-rev, rst-version)
11334 (rst-package-emacs-version-alist): New functions and variables
11335 for version information.
11337 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11338 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11339 (rst-mode-syntax-table, rst-mode): New and corrected functions
11340 and variables representing reStructuredText features.
11342 (rst-re): New function for reStructuredText regexes. Use in
11345 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11346 (rst-mode-map): Rebind keys.
11348 (rst-mode-lazy, rst-font-lock-keywords)
11349 (rst-font-lock-extend-region)
11350 (rst-font-lock-extend-region-internal)
11351 (rst-font-lock-extend-region-extend)
11352 (rst-font-lock-find-unindented-line-limit)
11353 (rst-font-lock-find-unindented-line-match)
11354 (rst-adornment-level, rst-font-lock-adornment-level)
11355 (rst-font-lock-adornment-match)
11356 (rst-font-lock-handle-adornment-pre-match-form)
11357 (rst-font-lock-handle-adornment-matcher): Major revision of
11358 font-locking. Integrate with other code. Use `jit-lock-mode'.
11360 (rst-preferred-adornments, rst-adjust-hook)
11361 (rst-new-adornment-down, rst-preferred-bullets)
11362 (rst-preferred-bullets, rst-indent, rst-indent-width)
11363 (rst-indent-field, rst-indent-literal-normal)
11364 (rst-indent-literal-minimized, rst-indent-comment): Change,
11365 extend and improve customization.
11367 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11368 (rst-normalize-cursor-position, rst-get-decoration)
11369 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11370 (rst-rstrip, rst-toc-insert-find-delete-contents)
11371 (rst-shift-fill-region, rst-compute-bullet-tabs)
11372 (rst-debug-print-tabs, rst-debug-mark-found)
11373 (rst-shift-region-guts, rst-shift-region-right)
11374 (rst-shift-region-left, rst-use-char-classes)
11375 (rst-font-lock-keywords-function)
11376 (rst-font-lock-indentation-point)
11377 (rst-font-lock-find-unindented-line-begin)
11378 (rst-font-lock-find-unindented-line-end)
11379 (rst-font-lock-find-unindented-line)
11380 (rst-font-lock-adornment-point, rst-font-lock-level)
11381 (rst-adornment-level-alist): Remove functions and variables.
11383 (rst-compare-adornments, rst-get-adornment-match)
11384 (rst-suggest-new-adornment, rst-get-adornments-around)
11385 (rst-adornment-complete-p, rst-get-next-adornment)
11386 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11387 (rst-straighten-adornments): Standardize function names to
11388 use "adornment" instead of "decoration". Correct callers.
11389 Similar standardizing in many places.
11391 (rst-update-section, rst-adjust, rst-promote-region)
11392 (rst-enumerate-region, rst-bullet-list-region)
11393 (rst-repeat-last-character): Correct use of `interactive'.
11395 (rst-classify-adornment, rst-find-all-adornments)
11396 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11397 (rst-find-leftmost-column, rst-repeat-last-character):
11398 Refactor functions.
11400 (rst-find-title-line, rst-reset-section-caches)
11401 (rst-get-adornments-around, rst-adjust-adornment-work)
11402 (rst-arabic-to-roman, rst-roman-to-arabic)
11403 (rst-insert-list-pos, rst-insert-list-new-item)
11404 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11407 (rst-all-sections, rst-section-hierarchy)
11408 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11411 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11412 configuration instead of only buffer. Change where necessary.
11414 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11415 (rst-shift-region, rst-adaptive-fill): New functions for
11416 indentation and filling.
11418 (rst-comment-line-break, rst-comment-indent)
11419 (rst-comment-insert-comment, rst-comment-region)
11420 (rst-uncomment-region): New functions for handling comments.
11422 (rst-compile): Quote shell arguments.
11424 (rst-compile-pdf-preview, rst-compile-slides-preview):
11425 Delete temporary files after use.
11427 2012-05-05 Glenn Morris <rgm@gnu.org>
11429 * calendar/cal-html.el: Optionally include holidays in the output.
11430 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11431 (cal-html-holidays): New option.
11432 (cal-html-css-default): Add holiday entry.
11433 (holiday-in-range): Autoload it.
11434 (cal-html-htmlify-entry): Add optional class argument.
11435 (cal-html-htmlify-list): Add optional holidays argument.
11436 (cal-html-insert-agenda-days): Include holidays in the output.
11437 (cal-html-one-month): Maybe include holidays.
11439 * calendar/holidays.el (holiday-in-range):
11440 Move here from cal-tex-list-holidays.
11441 * calendar/cal-tex.el (cal-tex-list-holidays):
11442 Make it an obsolete alias for holiday-in-range. Update all callers.
11444 2012-05-05 Chong Yidong <cyd@gnu.org>
11446 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11449 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11451 * files.el (file-auto-mode-skip): New var.
11452 (set-auto-mode-1): Use it.
11454 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11456 * repeat.el: Use lexical-binding.
11457 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11458 (repeat-undo-count): Remove.
11460 * progmodes/octave-mod.el (octave-abbrev-start):
11461 * progmodes/f90.el (f90-abbrev-start):
11462 * face-remap.el (text-scale-adjust):
11463 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11465 * emacs-lisp/pcase.el (pcase--let*): New function.
11466 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11468 (pcase--split-pred): Be more clever about ruling out overlap between
11469 a predicate and some constant pattern.
11470 (pcase--q1): Use `null' instead of (eq foo nil).
11472 * subr.el (setq-local, defvar-local): New macros.
11473 (kbd): Redefine as an alias.
11474 (with-selected-window): Leave unrelated frames alone.
11475 (set-temporary-overlay-map): New function.
11477 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11479 * subr.el (user-error): New function.
11480 * window.el (switch-to-buffer):
11481 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11482 (smerge-match-conflict):
11483 * simple.el (previous-matching-history-element)
11484 (next-matching-history-element, goto-history-element, undo-more)
11486 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11487 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11488 (next-file, tags-loop-scan, list-tags, complete-tag):
11489 * progmodes/compile.el (compilation-loop):
11490 * mouse.el (mouse-minibuffer-check):
11491 * man.el (Man-bgproc-sentinel, Man-goto-page):
11492 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11493 (Info-history-forward, Info-follow-reference, Info-menu)
11494 (Info-extract-menu-item, Info-extract-menu-counting)
11495 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11496 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11497 (Info-next-reference, Info-prev-reference, Info-index)
11498 (Info-index-next, Info-follow-nearest-node)
11499 (Info-copy-current-node-name):
11500 * imenu.el (imenu--make-index-alist)
11501 (imenu-default-create-index-function, imenu-add-to-menubar):
11502 * files.el (basic-save-buffer, recover-file):
11503 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11504 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11505 (checkdoc-message-text, checkdoc-defun):
11506 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11507 * cus-edit.el (customize-changed-options, customize-rogue)
11508 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11509 (custom-variable-mark-to-reset-standard)
11510 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11512 * completion.el (check-completion-length):
11513 * comint.el (comint-search-arg)
11514 (comint-previous-matching-input-string-position)
11515 (comint-previous-matching-input)
11516 (comint-replace-by-expanded-history-before-point, comint-send-input)
11517 (comint-copy-old-input, comint-backward-matching-input)
11518 (comint-goto-process-mark, comint-set-process-mark):
11519 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11520 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11522 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11524 * dabbrev.el (dabbrev--ignore-case-p): New function.
11525 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11528 * files.el (automount-dir-prefix): Mark as obsolete.
11530 2012-05-04 Glenn Morris <rgm@gnu.org>
11532 * patcomp.el, play/bruce.el: Move to obsolete/.
11534 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11536 Fix minor Y10k bugs.
11537 * arc-mode.el (archive-unixdate):
11538 * autoinsert.el (auto-insert-alist):
11539 * calc/calc-forms.el (math-this-year):
11540 * emacs-lisp/copyright.el (copyright-current-year)
11541 (copyright-update-year, copyright):
11542 * tar-mode.el (tar-clip-time-string):
11543 * time.el (display-time-update):
11544 Don't assume years have 4 digits.
11546 2012-05-04 Chong Yidong <cyd@gnu.org>
11548 * dos-w32.el (file-name-buffer-file-type-alist)
11549 (direct-print-region-use-command-dot-com):
11550 * ffap.el (ffap-menu-regexp):
11551 * find-file.el (ff-special-constructs):
11552 * follow.el (follow-debug):
11553 * forms.el (forms--debug):
11554 * iswitchb.el (iswitchb-all-frames):
11555 * ido.el (ido-all-frames):
11556 * emacs-lisp/timer.el (timer-max-repeats):
11557 * mail/feedmail.el (feedmail-mail-send-hook)
11558 (feedmail-mail-send-hook-queued):
11559 * mail/footnote.el (footnote-signature-separator):
11560 * mail/mailabbrev.el (mail-alias-separator-string)
11561 (mail-abbrev-mode-regexp):
11562 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11563 * progmodes/idlwave.el (idlwave-libinfo-file)
11564 (idlwave-default-completion-case-is-down)
11565 (idlwave-library-routines): Convert defvars to defcustoms.
11567 * mail/rmail.el (rmail-decode-mime-charset):
11568 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11569 (idlwave-shell-fix-inserted-breaks)
11570 (idlwave-shell-activate-alt-keybindings)
11571 (idlwave-shell-use-breakpoint-glyph):
11572 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11574 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11576 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11578 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11580 * progmodes/verilog-mode.el (font-lock-keywords):
11581 Fix mis-highligting auto. Reported by Craig Barner.
11582 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11583 defines from global name space. Reported by Dan Dever.
11584 (verilog-auto-reset, verilog-auto-reset-widths)
11585 (verilog-auto-tieoff): Support using unbased numbers for
11586 AUTORESET and AUTOTIEOFF.
11587 (verilog-submit-bug-report): Update variable list.
11588 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11589 parenthesis from not matching. Reported by Michael Rytting.
11590 (verilog-auto-template-lint): Fix hash error when linting modules
11591 with no used templates.
11592 (verilog-warn, verilog-warn-error)
11593 (verilog-warn-fatal): When non-interactive report multiple
11594 warnings before exiting. Suggested by Brad Dobbie.
11595 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11596 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11597 to report unused template errors. Reported by Brad Dobbie.
11598 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11599 nets, bug438. Reported by Vns Blore.
11600 (verilog-auto-inout-module, verilog-auto-reg)
11601 (verilog-read-decls, verilog-read-sub-decls-sig)
11602 (verilog-signals-edit-wire-reg, verilog-signals-with):
11603 Fix passing of Verilog data types in ANSI input/output ports
11604 such as "output logic" into the AUTOs. Special case "wire" and
11605 "reg" for backwards compatibility presuming Verilog 2001.
11606 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11607 (verilog-preprocess): Fix replication of preprocess output.
11608 Reported by Brad Dobbie.
11609 (verilog-auto-inst-interfaced-ports):
11610 Create verilog-auto-inst-interfaced-ports, bug429.
11611 Reported by Julian Gorfajn.
11612 (verilog-after-save-font-hook)
11613 (verilog-before-save-font-hook): New variable.
11614 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11615 (verilog-save-font-mods): Wrap disabling fontification, reported
11617 (verilog-do-indent, verilog-pretty-declarations-auto)
11618 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11619 Reported by Pierre-David Pfister.
11620 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11621 of class declarations, bug292. Reported by Kevin Heilman.
11622 (verilog-read-decls): Fix 'parameter type' not appearing in
11623 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11624 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11625 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11626 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11627 Reported by David Kravitz.
11629 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11631 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11632 assignment with tests in ifs and for loops.
11633 (verilog-extended-complete-re, verilog-complete-reg): Change so
11634 that DPI inport functions don't look like fuction declarations.
11635 (verilog-pretty-expr): Don't line up assignment
11636 operations to the test and increment in if and for loops
11637 (verilog-extended-complete-re, verilog-complete-reg): Change so
11638 that DPI inport functions don't look like fuction declarations.
11640 2012-05-03 Kenichi Handa <handa@m17n.org>
11642 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11643 decoding, and show a warning message without signaling an error
11646 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11648 * emacs-lisp/bytecomp.el
11649 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11650 since cconv.el might have introduced :fun-body, internal-make-closure,
11651 and friends for bytecomp to handle (bug#11391).
11652 * custom.el (defcustom): Avoid ((λ ..) ..).
11654 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11656 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11658 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11660 * notifications.el (dbus-debug):
11661 * term/linux.el (gpm-mouse-enable):
11662 * term/screen.el (xterm-register-default-colors): Declare.
11664 2012-05-02 Chong Yidong <cyd@gnu.org>
11666 * cus-start.el (gc-cons-percentage, exec-suffixes)
11667 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11668 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11669 (make-cursor-line-fully-visible, void-text-area-pointer)
11670 (font-list-limit): Add customization data.
11672 * allout.el (allout-exposure-change-functions)
11673 (allout-structure-added-functions)
11674 (allout-structure-deleted-functions)
11675 (allout-structure-shifted-functions): Rename abnormal hooks from
11676 *-hook, and convert to defcustoms.
11677 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11678 Convert to defcustoms.
11679 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11681 * allout-widgets.el: Hook callers changed.
11683 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11685 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11686 the yanked message in preference to the default value of
11687 buffer-file-coding-system.
11689 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11691 * window.el (display-buffer--action-function-custom-type):
11694 2012-05-02 Alan Mackenzie <acm@muc.de>
11696 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11698 2012-05-01 Glenn Morris <rgm@gnu.org>
11700 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11702 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11704 * cus-edit.el (custom-variable-documentation): Simplify with format.
11706 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11707 Stefan Monnier <monnier@iro.umontreal.ca>
11709 * simple.el (suggest-key-bindings, execute-extended-command):
11710 Move from keyboard.c.
11712 2012-05-01 Chong Yidong <cyd@gnu.org>
11714 * follow.el: Eliminate advice.
11715 (set-process-filter, process-filter, sit-for): Advice deleted.
11716 (follow-mode-off-hook): Obsolete hook removed.
11717 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11719 (follow-auto): Use a :set function.
11720 (follow-mode): Rewritten. Don't advise process filters.
11721 (follow-switch-to-current-buffer-all, follow-scroll-up)
11722 (follow-scroll-down): Assume follow-mode is bound.
11723 (follow-comint-scroll-to-bottom)
11724 (follow-align-compilation-windows): New functions.
11725 (follow--window-sorter): New function.
11726 (follow-all-followers): Use it to explicitly sort windows by their
11727 positions; don't make assumptions about next-window order.
11728 (follow-windows-start-end, follow-delete-other-windows-and-split)
11729 (follow-calc-win-start): Doc fix.
11730 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11731 vertical-motion unnecessarily.
11732 (follow-adjust-window): New function.
11733 (follow-post-command-hook): Use it.
11734 (follow-call-set-process-filter, follow-call-process-filter)
11735 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11736 (follow-stop-intercept-process-output, follow-generic-filter):
11738 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11739 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11740 New functions, replacing advice on scroll-bar-* commands.
11741 (follow-mwheel-scroll): New function (Bug#4112).
11743 * comint.el (comint-adjust-point): New function.
11744 (comint-postoutput-scroll-to-bottom): Use it.
11745 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11747 2012-05-01 Glenn Morris <rgm@gnu.org>
11749 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11750 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11751 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11752 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11753 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11754 Remove no-byte-compile setting.
11756 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11758 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11759 all-completions code to not return a number in the last cdr.
11761 2012-04-30 Leo Liu <sdl.web@gmail.com>
11763 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11766 2012-04-29 Chong Yidong <cyd@gnu.org>
11768 * follow.el (follow-calc-win-end): Rewrite to handle partial
11769 screen lines correctly (Bug#8390).
11770 (follow-avoid-tail-recenter): Minor cleanup.
11772 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11774 Avoid the obsolete `assoc' package.
11775 * speedbar.el (speedbar-refresh): Avoid adelete.
11776 (speedbar-file-lists): Simplify and avoid aput.
11777 * man.el (Man--sections, Man--refpages): New vars, replacing
11778 Man-sections-alist and Man-refpages-alist.
11779 (Man-build-section-alist, Man-build-references-alist):
11780 Use them; avoid aput.
11781 (Man--last-section, Man--last-refpage): New vars.
11782 (Man-follow-manual-reference): Use them.
11783 Use the `default' arg of completing-read.
11784 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11786 2012-04-27 Chong Yidong <cyd@gnu.org>
11788 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11790 * startup.el (x-apply-session-resources): New function.
11792 * term/ns-win.el (ns-initialize-window-system):
11793 * term/w32-win.el (w32-initialize-window-system):
11794 * term/x-win.el (x-initialize-window-system): Use it to properly
11795 set menu-bar-mode and other vars from X resources, even if the
11796 initial frame is not a window-system frame (Bug#2299).
11798 * subr.el (read-key): Avoid running filter function when setting
11799 up temporary tool bar entries (Bug#9922).
11801 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11803 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11806 2012-04-27 Chong Yidong <cyd@gnu.org>
11808 * select.el (xselect--encode-string): New function, split from
11809 xselect-convert-to-string.
11810 (xselect-convert-to-string): Use it.
11811 (xselect-convert-to-filename, xselect-convert-to-os)
11812 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11813 returned strings are properly encoded (Bug#11315).
11815 2012-04-27 Chong Yidong <cyd@gnu.org>
11817 * simple.el (delete-active-region): Move to killing custom group.
11819 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11821 * progmodes/which-func.el (which-func-current): Quote %
11822 characters for mode-line processing.
11824 2012-04-27 Chong Yidong <cyd@gnu.org>
11826 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11827 reaching eob (Bug#11286).
11829 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11831 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11832 (gdb): Make it buffer-local and init to zero.
11833 (gdb-control-commands-regexp): New variable.
11834 (gdb-send): Don't wrap in "-interpreter-exec console" if
11835 gdb-control-level is positive. Increment gdb-control-level
11836 whenever the command matches gdb-control-commands-regexp, and
11837 decrement it each time the command is "end". (Bug#11279)
11839 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11841 * window.el (adjust-window-trailing-edge, enlarge-window)
11842 (shrink-window, window-resize):
11843 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11844 windows (Bug#11276).
11846 2012-04-27 Chong Yidong <cyd@gnu.org>
11848 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11849 fix "missing prefix" warning. All callers changed.
11851 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11853 * emacs-lisp/assoc.el: Move to obsolete/.
11855 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11857 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11859 * term/ns-win.el (ns-define-service):
11860 * progmodes/pascal.el (pascal-goto-defun):
11861 * progmodes/js.el (js--read-tab):
11862 * progmodes/etags.el (tags-lazy-completion-table):
11863 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11864 * emacs-lisp/ewoc.el (ewoc--wrap):
11865 * emacs-lisp/assoc.el (aput, adelete, amake):
11866 * doc-view.el (doc-view-convert-current-doc):
11867 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11869 2012-04-26 Chong Yidong <cyd@gnu.org>
11871 * image.el (image-type-from-buffer): Only return supported image
11874 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11875 value, for symmetry with diff-end-of-hunk.
11876 (diff-split-hunk, diff-find-source-location)
11877 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11878 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11879 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11880 compute the relevant hunk or file properly (Bug#6005).
11881 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11883 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11892 * vc/vc.el: Replace lexical-let by lexical-binding.
11893 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11894 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11895 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11897 2012-04-26 Chong Yidong <cyd@gnu.org>
11899 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11900 (diff-mode-shared-map): Bind it to / and [remap undo].
11902 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11903 (ediff-window-setup-function): Use it as the default, to set up
11904 windows based on whether the current frame is graphical (Bug#2138).
11905 (ediff-choose-window-setup-function-automatically): Make obsolete.
11907 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11909 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11911 * ffap.el: Remove old code for obsolete package.
11912 (ffap-complete-as-file-p): Remove.
11914 Use completion-table-with-quoting for comint and pcomplete.
11915 * comint.el (comint--unquote&requote-argument)
11916 (comint--unquote-argument, comint--requote-argument): New functions.
11917 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11918 (comint-quote-filename): Use regexp-opt-charset.
11919 (comint--common-suffix, comint--common-quoted-suffix)
11920 (comint--table-subvert): Remove.
11921 (comint-unquote-function, comint-requote-function): New vars.
11922 (comint--complete-file-name-data): Use them with
11923 completion-table-with-quoting.
11924 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11925 * pcomplete.el (pcomplete-arg-quote-list)
11926 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11927 (pcomplete-unquote-argument-function): Default to non-nil.
11928 (pcomplete-unquote-argument): Simplify.
11929 (pcomplete--common-quoted-suffix): Remove.
11930 (pcomplete-requote-argument-function): New var.
11931 (pcomplete--common-suffix): New function.
11932 (pcomplete-completions-at-point): Use completion-table-with-quoting
11933 and completion-table-subvert.
11935 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11936 (minibuffer--double-dollars): Preserve properties.
11937 (completion--sifn-requote): New function.
11938 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11940 * minibuffer.el: Add support for completion of quoted/escaped data.
11941 (completion-table-with-quoting, completion-table-subvert): New funs.
11942 (completion--twq-try, completion--twq-all): New functions.
11943 (completion--nth-completion): New function.
11944 (completion-try-completion, completion-all-completions): Use it.
11946 2012-04-25 Leo Liu <sdl.web@gmail.com>
11948 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11949 Use compilation-message if available to find real filename.
11951 2012-04-25 Chong Yidong <cyd@gnu.org>
11953 * vc/diff-mode.el (diff-setup-whitespace): New function.
11954 (diff-mode): Use it.
11956 * vc/diff.el (diff-sentinel):
11957 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11958 Whitespace mode variables based on diff style (Bug#8612).
11960 2012-04-25 Leo Liu <sdl.web@gmail.com>
11962 * progmodes/python.el (python-send-region): Add suffix .py to the
11965 * files.el (auto-mode-alist): Use javascript-mode instead.
11967 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11969 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11971 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11972 (soap-resolve-references-for-array-type): Hack to prevent self
11973 references, see Bug#9.
11974 (soap-parse-envelope): Report the contents of the 'detail' node
11975 when receiving a fault reply.
11976 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11978 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11979 (soap-inspect-simple-type): New function.
11981 * net/soap-client.el (soap-simple-type): New struct.
11982 (soap-default-xsd-types, soap-default-soapenc-types)
11983 (soap-decode-basic-type, soap-encode-basic-type):
11984 support unsignedInt and double basic types.
11985 (soap-resolve-references-for-simple-type)
11986 (soap-parse-simple-type, soap-encode-simple-type): New function.
11987 (soap-parse-schema): Parse xsd:simpleType declarations.
11989 * net/soap-client.el (soap-default-xsd-types)
11990 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11991 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11992 the local name of "soapenc:Array".
11993 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11994 decoding integer, byte and anyURI xsd types.
11996 2012-04-25 Chong Yidong <cyd@gnu.org>
11998 * cus-edit.el (custom-buffer-create-internal): Update header text.
12000 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12002 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12003 settings on 'system-type', not on 'window-system'. On MS-Windows,
12004 set interactive-mode on in GDB.
12006 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12008 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12009 (ruby-syntax-propertize-regexp): Remove.
12010 (ruby-syntax-propertize-function): Split regexp into chunks.
12011 Match following code directly.
12013 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12015 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12016 (ruby-syntax-propertize-regexp): New function.
12017 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12018 by a special keyword.
12020 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12021 (ruby-syntax-general-delimiters-goto-beg)
12022 (ruby-syntax-propertize-general-delimiters): New functions.
12023 (ruby-syntax-propertize-function): Use them to handle GDL.
12024 (ruby-font-lock-keywords): Move old handling of GDL...
12025 (ruby-font-lock-syntactic-keywords): .. to here.
12026 (ruby-calculate-indent): Adjust indentation for GDL.
12028 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12030 * notifications.el (top): Remove unneeded declarations.
12031 (notifications-specification-version): Change to "1.2".
12032 (notifications-interface, notifications-notify-method)
12033 (notifications-close-notification-method): Fix docstring.
12034 (notifications-get-capabilities-method): New defconst.
12035 (notifications-notify): Add :action-items, :resident and
12036 :transient hints. Change "image_data" to "image-data" and
12037 "image_path" to "image-path".
12038 (notifications-get-capabilities): New defun.
12040 2012-04-24 Leo Liu <sdl.web@gmail.com>
12042 * progmodes/python.el: Move hideshow setup to the end.
12044 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12046 * window.el (handle-select-window): Clear echo area since this is
12047 no more done by read_char (Bug#11304).
12049 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12051 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12052 and `/ M' to filter-derived-mode.
12053 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12054 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12055 (ibuffer-mark-by-mode): Use default rather than initial-input.
12056 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12058 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12060 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12061 (ibuffer-filter-by-derived-mode): New filter.
12062 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12064 2012-04-23 Andreas Politz <politza@fh-trier.de>
12066 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12068 2012-04-23 Chong Yidong <cyd@gnu.org>
12070 * cus-edit.el (customize-apropos, customize-apropos-options):
12071 Disable matching of non-option variables (Bug#11176).
12072 (customize-option, customize-option-other-window)
12073 (customize-changed-options): Doc fix.
12074 (customize-apropos-options, customize-apropos-faces)
12075 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12077 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12078 Fix word list splitting (Bug#11132).
12079 (apropos-symbol, apropos-keybinding, apropos-label)
12080 (apropos-property, apropos-function-button)
12081 (apropos-variable-button, apropos-misc-button): New faces.
12082 (apropos-symbol-face, apropos-keybinding-face)
12083 (apropos-label-face, apropos-property-face, apropos-match-face):
12084 Variables removed (Bug#8396).
12085 (apropos-library-button, apropos-format-plist, apropos-print)
12086 (apropos-print-doc, apropos-describe-plist): Callers changed.
12088 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12090 * net/xesam.el (xesam-mode-map): Use let-bound map in
12091 initialization. (Bug#11292)
12093 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12095 Preserve ispell session localwords when switching back to
12098 * textmodes/ispell.el (ispell-buffer-session-localwords):
12099 New buffer-local variable to hold buffer session localwords.
12100 (ispell-kill-ispell): Add option 'clear to delete session
12102 (ispell-command-loop, ispell-change-dictionary)
12103 (ispell-buffer-local-words): Preserve session localwords when
12106 * textmodes/flyspell.el (flyspell-process-localwords)
12107 (flyspell-do-correct): Preserve session localwords when needed.
12109 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12111 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12112 using obsolete `translation-table-for-input'.
12113 (ispell-word, ispell-process-line, ispell-complete-word):
12114 Use plain `insert' instead of removed `ispell-insert-word'.
12116 2012-04-22 Chong Yidong <cyd@gnu.org>
12118 * cus-edit.el (custom-variable-menu)
12119 (custom-variable-reset-saved, custom-face-menu)
12120 (custom-face-reset-saved): If there is no saved value, make the
12121 "reset-saved" operation bring back the default (Bug#9509).
12122 (custom-face-state): Properly detect themed faces.
12124 * faces.el (face-spec-set): Stop supporting deprecated form of
12127 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12129 Move functions from C to Lisp. Make non-blocking method calls
12130 the default. Implement further D-Bus standard interfaces.
12132 * net/dbus.el (dbus-message-internal): Declare function.
12133 Remove unneeded function declarations.
12134 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12135 (dbus-message-type-method-return, dbus-message-type-error)
12136 (dbus-message-type-signal): Declare variables. Remove local
12138 (dbus-interface-dbus, dbus-interface-peer)
12139 (dbus-interface-introspectable, dbus-interface-properties)
12140 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12142 (dbus-interface-objectmanager): New defconst.
12143 (dbus-call-method, dbus-call-method-asynchronously)
12144 (dbus-send-signal, dbus-method-return-internal)
12145 (dbus-method-error-internal, dbus-register-service)
12146 (dbus-register-signal, dbus-register-method): New defuns, moved
12148 (dbus-call-method-handler, dbus-setenv)
12149 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12151 (dbus-call-method-non-blocking): Make it an obsolete function.
12152 (dbus-unregister-object, dbus-unregister-service)
12153 (dbus-handle-event, dbus-register-property)
12154 (dbus-property-handler): Obey the new structure of
12155 `bus-registered-objects'.
12156 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12157 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12158 Use `dbus-call-method'.
12160 2012-04-22 Chong Yidong <cyd@gnu.org>
12162 * cus-edit.el (custom-commands, custom-reset-menu)
12163 (Custom-reset-standard): Tweak labels.
12164 (custom-reset-button-menu): Change default to t.
12165 (custom-buffer-create-internal): For the custom-reset-button-menu
12166 case, put the revert button first.
12167 (custom-group-subtitle): New face.
12168 (custom-group-value-create): Align docstring to a specific column.
12170 * wid-edit.el (widget-documentation-link-add): Don't handle
12171 indentation in this function.
12172 (widget-documentation-string-indent-to): New function.
12173 (widget-documentation-string-value-create): Use it.
12175 * autorevert.el (auto-revert):
12176 * epg-config.el (epg):
12177 * ibuffer.el (ibuffer):
12180 * eshell/eshell.el (eshell):
12181 * net/ange-ftp.el (ange-ftp):
12182 * progmodes/ebnf2ps.el (postscript):
12183 * progmodes/flymake.el (flymake):
12184 * progmodes/prolog.el (prolog):
12185 * progmodes/verilog-mode.el (verilog-mode):
12186 * progmodes/which-func.el (which-func):
12187 * term/xterm.el (xterm):
12188 * textmodes/picture.el (picture):
12189 * textmodes/tildify.el (tildify):
12190 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12191 customization buffers.
12193 2012-04-22 Alan Mackenzie <acm@muc.de>
12195 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12196 Adding a ) can hide the resulting (..) from searches. Fix it.
12197 Bound the backward search to the position of the existing (.
12199 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12201 * progmodes/verilog-mode.el (verilog-mode): Check whether
12202 which-func-modes is t before adding verilog-mode.
12203 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12205 2012-04-21 Leo Liu <sdl.web@gmail.com>
12207 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12209 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12211 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12212 filling of the last column of a table (Bug#5635).
12213 (woman-find-next-control-line): New arg, specifying an additional
12214 regexp component for the control line.
12215 (woman2-roff-buffer): Use it.
12216 (woman-break-table): New function.
12217 (woman2-TS): Use it.
12219 2012-04-21 Chong Yidong <cyd@gnu.org>
12221 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12222 (woman-horizontal-escapes, woman-negative-vertical-space)
12223 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12224 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12226 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12228 * minibuffer.el (completion-file-name-table): Complete user names.
12230 2012-04-20 Leo Liu <sdl.web@gmail.com>
12232 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12235 2012-04-20 Chong Yidong <cyd@gnu.org>
12237 * server.el (server-execute): Respect initial-buffer-choice if it
12238 is a string and there are no files to open (Bug#2825).
12239 (server-create-window-system-frame, server-create-tty-frame):
12240 Don't switch buffers here.
12241 (server-process-filter): Only try to open a window system frame if
12242 compiled with graphical support (Bug#8314).
12244 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12246 * battery.el (battery-echo-area-format): Display remaining time
12247 for sysfs backend too (Bug#11269).
12248 (battery-linux-sysfs): Fix conditional for the charge.
12250 2012-04-20 Chong Yidong <cyd@gnu.org>
12252 * progmodes/gdb-mi.el (gdb): Revert previous change.
12253 (gdb-inferior-io--init-proc): New function.
12254 (gdb-init-1): Use it.
12255 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12256 responsible for allocating a new pty and hooking it to gdb when
12257 the old pty gets an EIO due to process exit.
12258 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12259 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12260 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12262 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12264 * window.el (window-min-size, window-sizable, window-min-delta)
12265 (window-max-delta, window--resizable, window-resizable)
12266 (window-total-size, window-full-height-p, window-full-width-p)
12267 (window-in-direction, window--resize-mini-window, window-resize)
12268 (window--resize-child-windows-normal)
12269 (window--resize-child-windows, window--resize-siblings)
12270 (window--resize-this-window, adjust-window-trailing-edge)
12271 (enlarge-window, shrink-window): Doc fixes.
12273 2012-04-20 Chong Yidong <cyd@gnu.org>
12275 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12276 New function to call delete-process on the gdb-inferior buffer's pty.
12277 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12278 pty process (Bug#11273).
12279 (gdb-update): New arg to suppress talking to the gdb process.
12280 (gdb-done-or-error): Use it.
12281 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12282 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12283 sentinel not being called.
12285 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12287 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12289 2012-04-20 Glenn Morris <rgm@gnu.org>
12291 * net/network-stream.el (open-network-stream): Doc fix.
12293 2012-04-20 Chong Yidong <cyd@gnu.org>
12295 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12297 2012-04-20 Alan Mackenzie <acm@muc.de>
12299 Ensure searching for keywords is case sensitive.
12301 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12302 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12303 (c-defun-name, c-mark-function, c-cpp-define-name)
12304 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12305 (c-context-line-break): Bind case-fold-search to nil.
12307 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12308 Bind case-fold-search to nil.
12310 2012-04-20 Chong Yidong <cyd@gnu.org>
12312 * mail/sendmail.el (mail-bury): Call return action with the right
12313 Rmail buffer (Bug#11242).
12315 * server.el (server-process-filter): Handle corner case where both
12316 tty and nowait options are present (Bug#11102).
12318 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12320 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12321 (top level): Put into the executable the ident-style '$Id:' tag on
12322 windows-nt as well.
12324 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12326 * electric.el (electric-indent-post-self-insert-function): Check that
12327 electric-indent-mode is enabled in current buffer.
12329 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12331 * imenu.el (imenu-progress-message): Restore; it is "used" in
12332 erc/erc-imenu.el and net/snmp-mode.el.
12334 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12336 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12337 (mouse-avoidance-nudge-mouse): Remove unused binding.
12339 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12341 * descr-text.el (describe-char):
12342 * progmodes/python.el (python-describe-symbol):
12343 Don't call `toggle-read-only', set `buffer-read-only'.
12345 * imenu.el (imenu-default-goto-function): Mark unused args.
12346 (imenu-progress-message): Remove obsolete macro; all callers changed.
12348 * subr.el (keymap-canonicalize): Remove unused binding.
12349 (read-passwd): Mark unused arg.
12351 * tutorial.el (tutorial--display-changes): Remove unused binding.
12352 (tutorial--save-tutorial-to): Remove unused variable.
12354 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12355 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12356 (package-generate-autoloads, package-menu--generate)
12357 (package-menu--find-upgrades): Remove unused bindings.
12359 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12360 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12361 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12362 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12363 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12364 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12365 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12366 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12367 (cua-delete-char-rectangle): Mark unused args.
12368 (cua-align-rectangle): Remove unused binding.
12370 * mail/rmail.el (compilation--message->loc)
12371 (epa--find-coding-system-for-mime-charset): Declare.
12373 * net/dbus.el (dbus-register-service): Declare.
12374 (dbus-name-owner-changed-handler): Remove unused binding.
12376 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12377 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12378 (nxml-scan-backward-within): Mark unused arg.
12379 (nxml-dynamic-markup-word): Remove unused binding.
12381 * mouse.el (mouse-menu-major-mode-map):
12382 * emacs-lisp/authors.el (authors-scan-change-log)
12383 (authors-add-to-author-list):
12384 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12385 * emacs-lisp/smie.el (smie-auto-fill):
12386 * mail/sendmail.el (mail-bury):
12387 * mail/unrmail.el (unrmail):
12388 * net/tls.el (open-tls-stream):
12389 * textmodes/picture.el (picture-mouse-set-point):
12390 Remove unused bindings.
12392 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12394 * net/tramp.el (tramp-action-password): Let-bind
12395 `enable-recursive-minibuffers' to t.
12397 2012-04-18 Sam Steingold <sds@gnu.org>
12399 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12400 instead of 'string to accommodate values like [f11].
12401 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12402 * progmodes/gdb-mi.el: Likewise.
12404 2012-04-18 Leo Liu <sdl.web@gmail.com>
12406 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12408 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12411 2012-04-18 Chong Yidong <cyd@gnu.org>
12413 * simple.el (line-move): Use forward-line if in batch mode
12416 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12418 * files.el (after-find-file): Do not try to add a final newline if
12419 the buffer is read-only (Bug#11156).
12421 2012-04-17 Richard Stallman <rms@gnu.org>
12423 * mail/rmail.el (rmail-start-mail):
12424 Pass (rmail-mail-return...) for the return-action.
12425 Pass (rmail-yank-current-message...) for the yank-action.
12426 (rmail-yank-current-message): New function.
12427 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12428 (rmail-reply): Likewise.
12429 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12431 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12432 buffer, not the last. Reject temp buffers. Use the rmail-mode
12433 buffer, not newbuf.
12435 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12437 * server.el (server-ensure-safe-dir): Simplify.
12439 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12441 * emacs-lisp/smie.el: Provide smarter auto-filling.
12442 (smie-auto-fill): New function.
12443 (smie-setup): Use it.
12445 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12447 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12449 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12450 (comment-indent): Use it.
12452 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12454 * ses.el: The overall change is to add cell renaming, that is
12455 setting fancy names for cell symbols other than name matching
12456 "\\`[A-Z]+[0-9]+\\'" regexp .
12457 (ses-localvars): Add ses--renamed-cell-symb-list.
12458 (ses-create-cell-variable): New defun.
12459 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12460 (ses-relocate-formula): Relocate formulas only for cells the
12461 symbols of which are not renamed, i.e. symbols whose names do not
12462 match regexp "\\`[A-Z]+[0-9]+\\'".
12463 (ses-relocate-all): Relocate values only for cells the symbols of
12464 which are not renamed.
12465 (ses-load): Create cells variables as the (ses-cell ...) are read,
12466 in order to check row col consistency with cell symbol name only
12467 for cells that are not renamed.
12468 (ses-replace-name-in-formula): New defun.
12469 (ses-rename-cell): New defun.
12471 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12473 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12474 New option (bug#11118).
12475 (perl-calculate-indent): Respect it.
12477 2012-04-17 Glenn Morris <rgm@gnu.org>
12479 * dired-aux.el (dired-mark-read-string): Doc fix.
12481 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12483 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12484 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12486 2012-04-17 Glenn Morris <rgm@gnu.org>
12488 * mouse.el (mouse-drag-track):
12489 * speedbar.el (speedbar-frame-mode):
12490 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12492 2012-04-16 Leo Liu <sdl.web@gmail.com>
12494 * progmodes/python.el: Trivial cleanup.
12496 2012-04-16 Glenn Morris <rgm@gnu.org>
12498 * vc/vc.el (vc-string-prefix-p):
12499 * vc/pcvs-util.el (cvs-string-prefix-p):
12500 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12501 * mpc.el (mpc-string-prefix-p):
12502 Make all of these into obsolete aliases for string-prefix-p.
12504 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12506 * textmodes/two-column.el: Move custom options to the start.
12507 (frame-width): Remove compat definition.
12508 (2C-associate-buffer, 2C-dissociate):
12509 Use with-current-buffer rather than save-excursion.
12510 (2C-dissociate): Force a mode-line update.
12511 (2C-autoscroll): Use ignore-errors.
12513 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12516 * emacs-lisp/cl-extra.el (*random-state*):
12517 Remove unnecessary declaration.
12519 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12521 * play/cookie1.el (cookie-snarf):
12522 Give an explicit error if input file cannot be read.
12524 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12526 * progmodes/perl-mode.el (c-macro-expand):
12527 Remove unnecessary autoload (it is in loaddefs.el).
12529 * textmodes/picture.el (picture-desired-column)
12530 (picture-update-desired-column): Convert comments to doc-strings.
12531 (picture-substitute): Remove function.
12532 (picture-mode-map): Initialize in the defvar.
12534 * woman.el: Remove eval-after-load for tar-mode.
12535 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12536 (woman-tar-extract-file): Autoload it.
12538 * frame.el (automatic-hscrolling): Make this alias obsolete.
12540 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12542 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12543 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12544 (ispell-dictionary-base-alist): Revert to original XEmacs
12545 friendly version for default. [:alpha:] will be added in
12546 `ispell-set-spellchecker-params' if needed.
12548 2012-04-16 Chong Yidong <cyd@gnu.org>
12550 * image.el (imagemagick--file-regexp): New variable.
12551 (imagemagick-register-types): Use it.
12552 (imagemagick-types-inhibit): Add :set function. Allow new value
12553 of t to inhibit all types.
12555 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12556 so we can preload it.
12558 * loadup.el (fboundp): Preload regexp-opt, needed by
12559 imagemagick-register-types.
12561 2012-04-15 Chong Yidong <cyd@gnu.org>
12563 * frame.el (scrolling): Remove nearly unused customization group.
12565 * scroll-all.el (scroll-all-mode): Move to windows group.
12567 2012-04-15 Chong Yidong <cyd@gnu.org>
12569 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12571 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12573 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12574 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12576 2012-04-15 Glenn Morris <rgm@gnu.org>
12578 * simple.el (process-file-side-effects): Doc fix.
12580 2012-04-15 Glenn Morris <rgm@gnu.org>
12582 * international/mule-cmds.el (set-language-environment): Doc fix.
12584 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12586 * server.el (server-auth-key, server-generate-key): Doc fixes.
12587 (server-get-auth-key): Doc fix. Use `string-match-p'.
12588 (server-start): Reflow docstring.
12590 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12592 * server.el (server-generate-key): `called-interactively-p'
12593 requires a parameter.
12595 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12597 * server.el (server-auth-key): New variable.
12598 (server-generate-key, server-get-auth-key): New function.
12599 (server-start): Use the new variable and functions to allow
12600 setting a permanent server key (bug#9423).
12602 2012-04-14 Leo Liu <sdl.web@gmail.com>
12604 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12606 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12609 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12610 Emacs uses American spelling.
12612 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12614 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12615 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12616 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12617 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12619 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * progmodes/which-func.el (which-func-modes): Change default.
12623 2012-04-14 Kim F. Storm <storm@cua.dk>
12625 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12626 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12628 2012-04-14 Chong Yidong <cyd@gnu.org>
12630 * custom.el (custom-theme-set-variables): Doc fix.
12632 2012-04-14 Glenn Morris <rgm@gnu.org>
12634 * international/mule.el (set-auto-coding-for-load): Doc fix.
12636 2012-04-14 Alan Mackenzie <acm@muc.de>
12638 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12639 imenu work again for Objective C Mode. Correct the *-index values,
12640 these having been disturbed by a previous change in 2011-08.
12642 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12643 Correct two search limits.
12645 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12647 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12649 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12651 * international/characters.el: Fix sorting.
12653 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12655 * international/characters.el: Add more missing Latin case pairs.
12657 2012-04-14 Glenn Morris <rgm@gnu.org>
12659 * files.el (dir-locals-set-class-variables): Doc fix.
12661 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12663 * international/characters.el: Add set-case-syntax-pair call for
12664 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12665 counterpart. (Bug#11209)
12667 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12669 2012-04-14 Glenn Morris <rgm@gnu.org>
12671 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12673 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12675 * textmodes/ispell.el (ispell-dictionary-base-alist):
12676 Add data for Hebrew.
12678 2012-04-14 Chong Yidong <cyd@gnu.org>
12680 * net/rcirc.el (rcirc-cmd-quit):
12681 Revert 2012-03-18 change (Bug#11192).
12683 2012-04-14 Glenn Morris <rgm@gnu.org>
12685 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12687 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12689 * minibuffer.el (completion-in-region-mode-map):
12690 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12692 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12694 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12696 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12698 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12699 to allow `C-M-f' and `C-M-b' to move to the nearest path
12700 separator (bug#9511).
12702 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12704 * avoid.el: Require cl when compiling. And also move the
12705 `provide' to the end.
12707 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12709 * avoid.el (mouse-avoidance-banish-position): New variable.
12710 (mouse-avoidance-banish-destination): Use it (bug#10165).
12712 2012-04-13 Leo Liu <sdl.web@gmail.com>
12714 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12716 2012-04-13 Ken Brown <kbrown@cornell.edu>
12718 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12719 this is no longer needed now that cygstart understands file:// URLs.
12720 (browse-url-filename-alist): For the same reason, don't modify
12721 file:// URLs on Cygwin.
12723 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12725 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12726 the region on shift if the binding is already shifted (bug#11221).
12728 2012-04-12 Glenn Morris <rgm@gnu.org>
12730 * mail/mailpost.el: Move to obsolete/.
12732 2012-04-12 Drew Adams <drew.adams@oracle.com>
12734 * imenu.el (imenu--generic-function): Ignore invisible definitions
12737 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12739 * hexl.el (hexl-bits): New variable.
12740 (hexl-options): Mention the variable in the doc string.
12741 (hexl-rulerise, hexl-line-displen): New functions.
12742 (hexl-mode): Mention the new variable.
12743 (hexl-mode, hexl-current-address, hexl-current-address):
12745 (hexl-ascii-start-column): New function.
12746 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12747 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12749 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12751 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12752 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12753 the encoding, as expected by hunspell.
12755 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12757 * battery.el (battery--linux-sysfs-regexp): New const.
12758 (battery-status-function): Use it. Remove yeeloong special case.
12759 (battery-yeeloong-sysfs): Remove.
12760 (battery-echo-area-format): Remove yeeloong special case.
12762 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12764 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12765 Reported by Noah Friedman.
12767 * subr.el (read-passwd): Use read-string.
12769 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12771 * vcursor.el (vcursor-move): Increase the priority of the overlay
12774 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12776 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12777 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12779 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12781 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12782 define-minor-mode (bug#10760).
12784 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12786 * progmodes/grep.el (rgrep): Tweak the find command line so
12787 that directories matching `grep-find-ignored-files' won't be
12788 pruned (bug#10351).
12790 2012-04-11 Chong Yidong <cyd@gnu.org>
12792 * startup.el (command-line): Remove support for long-obsolete
12793 variable font-lock-face-attributes.
12795 2012-04-11 Glenn Morris <rgm@gnu.org>
12797 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12799 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12801 * window.el (window--state-get-1): Obey window-point-insertion-type.
12803 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12805 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12806 to previous function when point is on the first character of a
12807 function. Take care of that in `narrow-to-defun' (bug#6157).
12809 2012-04-11 Glenn Morris <rgm@gnu.org>
12811 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12812 not just file-errors.
12814 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12815 (vc-bzr-sha1): Use internal sha1.
12817 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12819 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12821 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12823 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12824 that start in the middle of the line (bug#10496).
12826 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12828 * battery.el (battery-linux-proc-acpi): Only one battery is
12829 discharged at a time, but that seems to confuse battery.el when
12830 computing `rate-type' for the battery not being discharged
12833 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12835 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12837 * international/quail.el: Use dolist and simplify.
12838 (quail-define-package, quail-update-keyboard-layout)
12839 (quail-define-rules): Use dolist.
12840 (quail-insert-kbd-layout, quail-get-translation): CSE.
12842 * tmm.el: Use dolist, remove left over hook.
12843 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12845 (calendar-load-hook): Don't mess with it.
12847 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12848 Use derived-mode-p. Run the diff asynchronously.
12850 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12852 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12854 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12856 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12857 (list-dynamic-libraries--loaded): New function.
12858 (list-dynamic-libraries--refresh): Use it.
12860 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12862 * progmodes/python.el (python-fill-paragraph):
12863 Make python-fill-region in a multiline string work when font-lock is
12864 disabled (bug#7018).
12866 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12868 * language/european.el (cp775): Add oem/legacy (en)coding on
12869 DOS/MS Windows for the Baltic languages. There are still plenty
12870 of texts written in this encoding/codepage (bug#6519).
12872 2012-04-10 Glenn Morris <rgm@gnu.org>
12874 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12875 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12877 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12879 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12880 next-line "n" and previous-line "p" in order to make recentf more
12881 consistent with ibuffer, dired or org-mode (bug#9387).
12883 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12885 * image.el (put-image): Return the overlay created instead of the
12886 optional input string (bug#7834). Note that this may break code
12887 that is (for some reason or other) depending on `put-image'
12888 returning the string.
12890 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12892 * simple.el (zap-to-char): Allow zapping using input methods
12895 * textmodes/fill.el (fill-region): Leave point and mark where they
12896 were before filling (bug#5399).
12898 2012-04-09 Glenn Morris <rgm@gnu.org>
12900 * version.el (emacs-bzr-get-version):
12901 Handle lightweight checkouts of local branches.
12903 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12905 * international/characters.el: Recover lost case pairs. (Bug#11209)
12907 2012-04-09 Chong Yidong <cyd@gnu.org>
12909 * custom.el (custom-variable-p): Return nil for non-symbol
12910 arguments instead of signaling an error.
12911 (user-variable-p): Obsolete alias for custom-variable-p.
12913 * apropos.el (apropos-variable):
12914 * files-x.el (read-file-local-variable):
12915 * simple.el (set-variable):
12916 * woman.el (woman-mini-help):
12917 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12919 2012-04-09 Glenn Morris <rgm@gnu.org>
12921 * startup.el (normal-top-level): Don't look for leim-list.el
12922 in places where it will not be found. (Bug#910)
12924 * international/mule-cmds.el (set-default-coding-systems):
12925 * files.el (normal-mode):
12926 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12927 This function was removed with ucs-tables.el in 2008.
12929 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12931 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12932 ispell-encoding8-command to "-i", without a trailing space.
12933 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12934 separate command-line arguments, to specify the encoding, since
12935 that's how hunspell expects it.
12937 2012-04-08 Glenn Morris <rgm@gnu.org>
12939 * loadup.el: Load bindings before cus-start.
12940 This reduces somewhat the number of "rogue" settings in emacs -Q.
12942 2012-04-07 Glenn Morris <rgm@gnu.org>
12944 * version.el (emacs-bzr-get-version): New function.
12945 (emacs-bzr-version): New variable.
12946 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12947 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12949 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12951 * international/uni-bidi.el, international/uni-category.el:
12952 * international/uni-combining.el, international/uni-decimal.el:
12953 * international/uni-decomposition.el, international/uni-digit.el:
12954 * international/uni-lowercase.el, international/uni-mirrored.el:
12955 * international/uni-name.el, international/uni-numeric.el:
12956 * international/uni-titlecase.el, international/uni-uppercase.el:
12957 Update for Unicode 6.1.
12959 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12961 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12963 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12965 * window.el (shrink-window): Mention the `window-min-height'
12966 variable in the doc string.
12968 2012-04-05 Bastien Guerry <bzg@altern.org>
12970 * color.el (color-lighten-name): Fix typo.
12972 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12974 * server.el (server--on-display-p): New function.
12975 (server--on-display-p): Use it.
12977 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12979 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12982 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12984 * comint.el (comint--common-quoted-suffix): Check string boundary
12985 before comparing (bug#11158).
12986 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12988 2012-04-04 Chong Yidong <cyd@gnu.org>
12990 * minibuffer.el (completion-extra-properties): Doc fix.
12992 * subr.el (delayed-warnings-hook): Doc fix.
12994 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12996 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12997 selection (Bug#11159).
12998 (epa-insert-keys): Inform that the default public key will be
12999 exported if no key is selected.
13001 2012-04-04 Richard Stallman <rms@gnu.org>
13003 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13005 2012-04-03 Chong Yidong <cyd@gnu.org>
13007 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13008 mail-insert-file, not its obsolete alias mail-attach-file.
13010 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13012 * notifications.el (notifications-notify): Fix docstring.
13014 2012-04-02 Glenn Morris <rgm@gnu.org>
13016 * emacs-lisp/authors.el (authors-aliases): Another addition.
13018 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13020 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13021 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13022 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13024 2012-04-01 Chong Yidong <cyd@gnu.org>
13026 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13027 Handle root directory properly.
13028 (copy-directory): Caller changed.
13030 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13031 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13033 2012-03-31 Glenn Morris <rgm@gnu.org>
13035 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13037 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13039 * calendar/calendar.el (calendar-window-list)
13040 (calendar-hide-window): Restore. (Bug#11140)
13041 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13043 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13045 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13047 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13048 Check if file is a symlink (Bug#10489).
13050 * files.el (copy-directory): Likewise.
13052 2012-03-30 Chong Yidong <cyd@gnu.org>
13054 * image.el (imagemagick-types-inhibit)
13055 (imagemagick-register-types): Doc fix.
13057 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13059 * textmodes/ispell.el (ispell-get-extended-character-mode):
13060 Disable extended-char-mode for hunspell. hunspell does not support it
13061 and treats ~word as ordinary words in pipe mode.
13063 2012-03-30 Glenn Morris <rgm@gnu.org>
13065 * tutorial.el (help-with-tutorial): Ensure local variables don't
13066 happen to make the buffer read-only. (Bug#11127)
13068 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13070 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13071 (perl-calculate-indent): Return `noindent' in strings.
13073 2012-03-28 Sam Steingold <sds@gnu.org>
13075 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13076 instead of the broken adhockery which does not prevent calendar
13077 buffers from being displayed at random after exit.
13078 (calendar-window-list, calendar-hide-window): Remove the broken
13081 2012-03-28 Glenn Morris <rgm@gnu.org>
13083 * replace.el (query-replace-map): Doc fix.
13085 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13087 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13088 contents. (Bug#11109)
13090 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13092 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13094 (avl-tree--check, avl-tree--check-node): New funs.
13096 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13098 * window.el (switch-to-visible-buffer): New option.
13099 (switch-to-prev-buffer, switch-to-next-buffer):
13100 Observe switch-to-visible-buffer. Make sure that checking for a window
13101 showing a buffer already is done on the same frame.
13103 2012-03-27 Glenn Morris <rgm@gnu.org>
13105 * startup.el (mail-host-address): Doc fix.
13107 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13109 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13110 than 197 variables.
13112 2012-03-26 Ami Fischman <ami@fischman.org>
13114 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13116 2012-03-26 Glenn Morris <rgm@gnu.org>
13118 * files.el (save-buffers-kill-emacs): Doc fix.
13120 * startup.el (normal-top-level, command-line, command-line-1):
13121 Give them doc strings.
13123 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13125 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13126 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13128 2012-03-25 Chong Yidong <cyd@gnu.org>
13130 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13131 theme if it was previously enabled before (Bug#11031).
13133 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13134 spec with custom-face-get-current-spec if its :shown-value is not
13135 determined yet (Bug#9337).
13136 (customize-create-theme, custom-theme-revert): Doc fixes.
13138 * button.el (button-at): Minor addition to docstring.
13140 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13142 * vc/vc.el (vc-merge): Fix a prompt.
13144 2012-03-24 Chong Yidong <cyd@gnu.org>
13146 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13149 * button.el (button-at): Minor addition to docstring.
13151 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13153 * newcomment.el (comment-choose-indent): No space after BOL.
13155 2012-03-22 Sam Steingold <sds@gnu.org>
13157 * window.el (switch-to-prev-buffer): Revert last patch because the
13158 bug turned out to be an advertised feature (Elisp manual 28.14).
13160 2012-03-22 Glenn Morris <rgm@gnu.org>
13162 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13163 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13165 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13167 * net/network-stream.el (network-stream-open-starttls): Make error
13168 message under Windows be less misleading.
13170 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13172 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13173 understands (bug#9942).
13175 2012-03-22 Chong Yidong <cyd@gnu.org>
13177 * simple.el (end-of-visible-line): Handle return value of
13178 next-single-property-change properly (Bug#9371).
13180 2012-03-22 Kenichi Handa <handa@m17n.org>
13182 * international/quail.el (quail-insert-kbd-layout): Fix previous
13183 change. To avoid unwanted bidi reordering, use
13184 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13186 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13188 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13189 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13190 (ruby-beginning-of-indent): Be more careful with the difference
13191 between word-boundary and symbol boundary.
13192 (ruby-mode-syntax-table): Make : a symbol constituent.
13194 2012-03-21 Andreas Politz <politza@fh-trier.de>
13196 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13198 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13200 * progmodes/etags.el (tags-completion-at-point-function):
13203 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13205 2012-03-21 Sam Steingold <sds@gnu.org>
13207 * progmodes/etags.el (tags-completion-at-point-function):
13208 Avoid the error when point is inside the pattern.
13210 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13212 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13215 2012-03-21 Drew Adams <drew.adams@oracle.com>
13217 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13219 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13221 * ido.el (ido-set-current-directory, ido-read-internal)
13222 (ido-choose-completion-string, ido-completion-help): Handle nil
13223 value of ido-completion-buffer (Bug#11008).
13225 2012-03-21 Sam Steingold <sds@gnu.org>
13227 * window.el (switch-to-prev-buffer): Do not switch to a visible
13228 window previous buffer, just like with the frame previous buffers.
13230 2012-03-21 Chong Yidong <cyd@gnu.org>
13232 * faces.el (make-face, make-empty-face, copy-face):
13233 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13236 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13238 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13239 (widget-complete): Remove broken use of it.
13241 2012-03-20 Chong Yidong <cyd@gnu.org>
13243 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13244 Use string-width and truncate-string-width to handle arbitrary
13247 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13249 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13250 to draw rectangles, not squares. (Regression introduced by revno
13251 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13253 2012-03-18 Chong Yidong <cyd@gnu.org>
13255 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13256 it is not yet defined (for temacs).
13258 2012-03-18 Leo Liu <sdl.web@gmail.com>
13260 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13263 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13265 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13266 (ispell-choices-win-default-height, ispell-silently-savep)
13267 (ispell-dictionary-alist, ispell-encoding8-command)
13268 (ispell-check-version, ispell-aspell-find-dictionary)
13269 (ispell-valid-dictionary-list, ispell-words-keyword)
13270 (ispell-get-word, ispell-internal-change-dictionary)
13271 (ispell-region, ispell-skip-region-list)
13272 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13273 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13274 (ispell-message-text-end, ispell-message)
13275 (ispell-buffer-local-parsing): Doc fix.
13277 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13279 * htmlfontify.el: Add support for code block fontification for ODT
13280 export (Bug #9914).
13281 (hfy-optimisations): Define new option
13283 (hfy-fontify-buffer): Honor above setting.
13284 (hfy-begin-span, hfy-end-span): New routines factored out form
13285 `hfy-fontify-buffer'.
13286 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13287 that permit insertion of custom tags.
13288 (hfy-fontify-buffer): Use above handlers.
13289 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13290 (hfy-face-to-css): Re-defined to be a variable.
13291 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13292 over multiple runs. This is made possible by having the caller let
13293 bind a special variable `hfy-user-sheet-assoc'.
13294 (htmlfontify-string): New defun.
13295 (hfy-compile-face-map): Make sure that the last char in the
13296 buffer is correctly fontified.
13297 (hfy-face-resolve-face): Whitespace only change.
13299 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13301 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13302 message more clear.
13304 2012-03-16 Leo Liu <sdl.web@gmail.com>
13306 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13308 2012-03-16 Alan Mackenzie <acm@muc.de>
13310 Further optimize the handling of large macros.
13312 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13313 limit to a call of `c-literal-limits'.
13314 (c-determine-+ve-limit): New function.
13315 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13316 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13317 In CASE 5B, restrict a search limit to 500.
13318 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13320 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13321 Restrict macro bounds to +-500 from after-change's BEG END.
13323 2012-03-16 Leo Liu <sdl.web@gmail.com>
13325 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13327 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13329 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13330 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13332 2012-03-16 Glenn Morris <rgm@gnu.org>
13334 * view.el (view-buffer, view-buffer-other-window)
13335 (view-buffer-other-frame): Doc fixes re special mode-class.
13337 * subr.el (eval-after-load): If named feature is provided not from
13338 a file, run after-load forms. (Bug#10946)
13340 * calendar/calendar.el (calendar-insert-at-column):
13341 Handle non-unit-width characters a bit better. (Bug#10978)
13343 2012-03-15 Chong Yidong <cyd@gnu.org>
13345 * emacs-lisp/ring.el (ring-extend): New function.
13346 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13348 * comint.el (comint-read-input-ring)
13349 (comint-add-to-input-history): Grow comint-input-ring lazily.
13351 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13353 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13354 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13356 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13357 (imenu-add-to-menubar): Don't add a redundant index.
13358 (imenu-update-menubar): Handle a dynamically composed keymap.
13360 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13362 * mail/sendmail.el (mail-encode-header):
13363 Bind rfc2047-encode-encoded-words to nil.
13365 2012-03-13 Glenn Morris <rgm@gnu.org>
13367 * calendar/calendar.el (calendar-string-spread):
13368 Handle non-unit-width characters a bit better. (Bug#10978)
13370 2012-03-13 Leo Liu <sdl.web@gmail.com>
13372 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13373 directory and file as argument (Bug#10822).
13375 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13377 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13378 For dynamically generated code, follow $PC.
13379 (gdb-disassembly-handler-custom): Handle no function name case.
13381 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13383 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13384 * emulation/ws-mode.el (ws-query-replace):
13385 * sort.el (sort-regexp-fields):
13386 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13388 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13390 * dabbrev.el: Fix cycle completion order (bug#10963).
13391 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13392 (dabbrev-completion): Don't use an obarray; provide
13393 a cycle-sort-function.
13395 2012-03-12 Leo Liu <sdl.web@gmail.com>
13397 * simple.el (kill-new): Use equal-including-properties for comparison.
13398 (kill-do-not-save-duplicates): Doc fix.
13400 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13402 * dabbrev.el: Fix cycle completion (bug#10963).
13403 Use lexical binding and wrap to 80 columns.
13404 (dabbrev-completion): Delay computing the list of completions.
13406 2012-03-12 Kenichi Handa <handa@m17n.org>
13408 * international/quail.el (quail-insert-kbd-layout): Surround each
13409 row by LRO and PDF instead of inserting many LRMs. Pad the left
13410 and right of each non-spacing marks. Insert invisible space
13411 between lower and upper characters to prevent composition.
13413 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13415 * minibuffer.el (minibuffer-complete): Don't get confused when the
13416 function is run twice via different commands (bug#10958).
13417 (complete-with-action): Fix docstring.
13419 2012-03-12 Chong Yidong <cyd@gnu.org>
13421 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13422 (nxml-completion-at-point-function): New function.
13423 (nxml-mode): Use it.
13424 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13426 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13427 Load generated autoloads file before byte compiling (Bug#10970).
13428 (package--make-autoloads-and-compile): New helper fun.
13430 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13432 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13434 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13436 * autorevert.el (auto-revert-handler): Ensure, that
13437 file-readable-p is applied only for local files or in
13438 auto-revert-tail-mode.
13440 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13442 * server.el (server-eval-at): Handle non-tcp connections.
13443 Decode result string.
13445 * server.el (server-msg-size): New constant.
13446 (server-reply-print): New function.
13447 (server-eval-and-print): Use it.
13448 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13449 Handle -print-nonl.
13451 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13453 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13456 2012-03-11 Chong Yidong <cyd@gnu.org>
13458 * simple.el (goto-line): Doc fix (Bug#9938).
13460 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13462 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13463 when finished (Bug#10963).
13465 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13467 * window.el (split-window-below): Fix bug in case where
13468 split-window-keep-point is nil (Bug#10971).
13470 2012-03-11 Juri Linkov <juri@jurta.org>
13472 * replace.el (replace-highlight): Set isearch-word to nil
13473 unconditionally. (Bug#10887)
13475 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13477 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13478 mairix-replace-illegal-chars; all callers changed. Don't remove
13479 ^, ~, and = characters: they are meaningful in mairix search specs.
13480 (mairix-widget-create-query): Add usage information about mairix
13481 search forms: negating words, searching for substrings, etc.
13483 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13485 * international/fontset.el (font-encoding-alist): Add an entry for
13486 ksx1001 (Bug#5667).
13488 2012-03-10 Richard Stallman <rms@gnu.org>
13490 * mail/sendmail.el (mail-encode-header):
13491 Set rfc2047-encode-encoded-words.
13493 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13495 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13496 view buffer means not swapped.
13497 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13498 (rmail-write-region-annotate): Error if real text has disappeared.
13500 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13502 2012-03-10 Chong Yidong <cyd@gnu.org>
13504 * emulation/cua-rect.el (cua--init-rectangles):
13505 * emulation/cua-base.el (cua--init-keymaps):
13506 Add delete-forward-char to remappings (Bug#9666).
13508 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13510 * speedbar.el (speedbar-unhighlight-one-tag-line):
13511 Avoid unhighlighting due to frame switching (Bug#10275).
13513 2012-03-10 Chong Yidong <cyd@gnu.org>
13515 * minibuffer.el (completion-in-region, completion-help-at-point):
13516 Give the completion field overlay a high priority (Bug#6830).
13518 * dired.el (dired-goto-file): Recognize absolute file name
13519 listings (Bug#7126).
13520 (dired-goto-file-1): New helper function.
13521 (dired-toggle-read-only): Inhibit warnings.
13523 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13525 * net/dbus.el (dbus-property-handler): Return empty array if
13526 there are no properties.
13528 2012-03-09 Leo Liu <sdl.web@gmail.com>
13530 * savehist.el (savehist-printable): Stricter check for string
13533 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13535 * mail/smtpmail.el (smtpmail-send-it):
13536 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13539 2012-03-09 Glenn Morris <rgm@gnu.org>
13541 * files.el (dir-locals-find-file):
13542 Don't check result is regular, readable.
13543 (dir-locals-read-from-file): Demote errors.
13545 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13547 * international/quail.el (quail-insert-kbd-layout):
13548 Insert invisible LRM characters before each character in a keyboard
13549 layout cell, to prevent their reordering by bidi display engine.
13550 For details, see the discussion in
13551 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13553 2012-03-08 Alan Mackenzie <acm@muc.de>
13555 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13556 the starting position; make it extend the marked region when
13557 invoked repeatedly - all under appropriate circumstances.
13558 Fixes bugs #5525, #10906.
13560 2012-03-08 Glenn Morris <rgm@gnu.org>
13562 * files.el (locate-dominating-file, dir-locals-find-file):
13563 Undo 2012-03-06 change.
13565 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13567 * international/quail.el (quail-help):
13568 Force bidi-paragraph-direction be left-to-right. See discussion in
13569 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13572 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13574 Avoid superfluous registering of signals. (Bug#10807)
13576 * notifications.el (notifications-on-action-object)
13577 (notifications-on-close-object): New defvars.
13578 (notifications-on-action-signal, notifications-on-closed-signal):
13579 Unregister the signal if not needed any longer.
13580 (notifications-notify): Register `notifications-action-signal' or
13581 `notifications-closed-signal', if :on-action or :on-close has been
13582 passed as argument.
13584 2012-03-07 Chong Yidong <cyd@gnu.org>
13586 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13589 2012-03-06 Glenn Morris <rgm@gnu.org>
13591 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13592 (x-disown-selection-internal, x-get-selection-internal):
13593 Doc fix (add arglist signatures). (Bug#10783)
13595 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13597 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13598 Handle breakpoints with no "type".
13600 2012-03-06 Glenn Morris <rgm@gnu.org>
13602 * files.el (locate-dominating-file): Add optional predicate argument.
13603 (dir-locals-find-file): Make use of above change.
13605 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13607 * info.el (Info-insert-dir): Also try "dir.gz".
13609 2012-03-06 Glenn Morris <rgm@gnu.org>
13611 * files.el (dir-locals-find-file):
13612 Ignore non-readable or non-regular files. (Bug#10928)
13614 * files.el (locate-dominating-file): Doc fix.
13616 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13618 * calendar/calendar.el (calendar-set-mode-line):
13619 `getenv' returns a string. (Bug#10951)
13621 2012-03-05 Leo Liu <sdl.web@gmail.com>
13623 * simple.el (backward-delete-char-untabify): Constrain point to
13626 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13628 2012-03-05 Chong Yidong <cyd@gnu.org>
13630 * simple.el (count-words): If called from Lisp, return the word
13631 count, for symmetry with `count-lines'. Arglist changed.
13632 (count-words--message): Args changed. Consolidate counting code
13633 from count-words and count-words-region.
13634 (count-words-region): Caller changed.
13635 (count-lines-region): Make it an obsolete alias.
13637 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13639 * saveplace.el (save-place-to-alist)
13640 (save-place-ignore-files-regexp): Allow value nil to disable this
13643 2012-03-04 Chong Yidong <cyd@gnu.org>
13645 * faces.el (face-spec-reset-face): For the default face, reset the
13646 attributes to default values (Bug#10748).
13648 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13650 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13651 previous patch: Check `message-send-mail-function', and not the
13652 default function (bug#10897).
13654 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13656 * notifications.el (notifications-on-action-signal)
13657 (notifications-on-closed-signal): Check for unique service name of
13658 incoming event. Fix error in removing entry.
13659 (top): Register for signals with wildcard service name.
13660 (notifications-notify): Use daemon unique service name for map entries.
13662 2012-03-04 Chong Yidong <cyd@gnu.org>
13664 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13666 2012-03-04 Glenn Morris <rgm@gnu.org>
13668 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13669 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13670 (expand-abbrev, define-abbrev-table): Doc fixes.
13672 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13674 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13675 `message-default-send-mail-function' and not `send-mail-function'
13676 when doing the prompting for `sendmail-query-once' before sending
13677 in Message buffers (bug#10897).
13679 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13680 This is inconsistent with all the other stream functions, which leave
13681 the setting up to the higher levels (if so wanted) (bug#10931).
13683 2012-03-02 Alan Mackenzie <acm@muc.de>
13685 Depessimize the handling of very large macros.
13687 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13688 (c-macro-cache-syntactic): New variables to implement a one
13689 element macro cache.
13690 (c-invalidate-macro-cache): New function.
13691 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13692 Adapt to use the new cache.
13693 (c-state-safe-place): Use better the cache of safe positions.
13694 (c-state-semi-nonlit-pos-cache)
13695 (c-state-semi-nonlit-pos-cache-limit):
13696 New variables for...
13697 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13698 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13699 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13700 Use c-state-semi-safe-place.
13702 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13703 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13705 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13707 * jka-compr.el (jka-compr-call-process):
13708 Apply `file-accessible-directory-p' only when the default directory is
13711 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13713 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13714 access of FILE2, if FILE1 does not exist.
13716 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13717 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13719 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13720 Add "PAGER=" to `process-environment'.
13722 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13724 * progmodes/sql.el: Bug fix
13725 (sql-get-login-ext): Save login values in globals.
13726 (sql-get-login): Use new version of `sql-get-login-ext'.
13727 (sql-interactive-mode): Set global `sql-connection' to nil.
13728 (sql-connect): Set global values for connection.
13729 (sql-product-interactive): Save global values as buffer local.
13731 2012-02-29 Leo Liu <sdl.web@gmail.com>
13733 * abbrev.el (define-abbrevs): Reset sys to nil.
13735 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13737 * files.el (file-equal-p): Rename from `files-equal-p'.
13738 Return nil when one or both files don't exist.
13739 (file-subdir-of-p): Now only top directory must exists,
13740 return nil if it doesn't.
13741 (copy-directory): No need to test with `file-subdir-of-p' after
13743 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13746 2012-02-28 Glenn Morris <rgm@gnu.org>
13748 * shell.el (shell-mode):
13749 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13750 * play/landmark.el (landmark-font-lock-face-O):
13751 * play/handwrite.el (handwrite):
13752 * play/gomoku.el (gomoku-O):
13753 * net/browse-url.el (browse-url-browser-display):
13754 * international/mule.el (define-charset):
13755 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13756 * filesets.el (filesets-find-file-delay):
13757 * eshell/em-xtra.el (eshell-xtra):
13758 * eshell/em-unix.el (eshell-grep):
13759 * emulation/viper.el (viper-mode):
13760 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13761 * emacs-lisp/easymenu.el (easy-menu-define):
13762 * calendar/timeclock.el (timeclock-use-display-time):
13764 * bookmark.el (bookmark-save-flag):
13765 Doc fix (standardize possessive apostrophe usage).
13767 2012-02-27 Chong Yidong <cyd@gnu.org>
13769 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13770 Fix key-binding lookup for ESC key (Bug#9146).
13772 * font-lock.el (font-lock-specified-p): Rename from
13773 font-lock-spec-present. Callers changed.
13775 2012-02-27 Daniel Hackney <dan@haxney.org>
13777 * emacs-lisp/package.el (package-compute-transaction):
13778 Handle holding a package version to t in package-load-list.
13780 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13782 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13783 (tramp-get-inode, tramp-get-device): Use cached values.
13785 2012-02-26 Alan Mackenzie <acm@muc.de>
13787 Check there is a font-lock specification before doing initial
13790 * font-core.el (font-lock-mode): Move the conditional from
13791 :after-hook to font-lock-initial-fontify.
13792 (font-lock-default-function): Move the check for a specification
13793 to font-lock-spec-present.
13795 * font-lock.el (font-lock-initial-fontify): Call ...
13796 (font-lock-spec-present): New function.
13798 2012-02-26 Jim Blandy <jimb@red-bean.com>
13800 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13801 (gdb-send): Apply it to the operand of the '-interpreter-exec
13802 console' command, so that we can pass arguments with (say) quotes
13803 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13805 2012-02-26 Chong Yidong <cyd@gnu.org>
13807 * help-fns.el (describe-function-1): Clarify description of
13808 remapping (Bug#10844).
13810 * files.el (files-equal-p): Doc fix.
13811 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13812 and quit the loop once a mismatch is found.
13814 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13816 * bs.el (bs--show-with-configuration): Don't throw an error
13817 if the window cannot be split; otherwise, subsequent calls to
13818 bs-show fail, restoring a stale window config. (Bug#10882)
13820 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13822 * term/ns-win.el (global-map): Bind ns-drag-file to
13823 ns-find-file (Bug#5855, Bug#10050).
13825 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13827 * calendar/parse-time.el (parse-time-string): Allow extractor to
13830 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13832 * net/tramp.el (tramp-file-name-for-operation):
13833 Add `files-equal-p' and `file-subdir-of-p'.
13835 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13836 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13837 Add COPY-CONTENTS argument.
13839 2012-02-25 Chong Yidong <cyd@gnu.org>
13841 Add custom groups for VC backends, for consistency with vc-bzr.
13843 * vc/vc-arch.el (vc-arch):
13844 * vc/vc-cvs.el (vc-cvs):
13845 * vc/vc-git.el (vc-git):
13846 * vc/vc-hg.el (vc-hg):
13847 * vc/vc-mtn.el (vc-mtn):
13848 * vc/vc-rcs.el (vc-rcs):
13849 * vc/vc-sccs.el (vc-sccs):
13850 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13851 All relevant defcustoms reassigned.
13853 2012-02-25 Chong Yidong <cyd@gnu.org>
13855 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13857 * term/x-win.el (x-initialize-window-system): Reduce default for
13858 x-selection-timeout to 5 seconds (Bug#8869).
13860 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13862 * files.el (files-equal-p, file-subdir-of-p): New functions.
13863 (copy-directory): Error when trying to copy a directory on itself.
13864 Add missing copy-contents arg to tramp handler.
13865 * dired-aux.el (dired-copy-file-recursive): Same.
13866 (dired-create-files): Modify destination when source is equal to
13867 dest when copying files.
13868 Return also when dest is a subdir of source. (Bug#10489)
13870 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13872 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13875 2012-02-23 Alan Mackenzie <acm@muc.de>
13877 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13878 parameter "after-hook:" to allow the expansion to run code after
13879 the execution of the mode hooks.
13881 * font-lock.el (font-lock-initial-fontify): New function extracted
13882 from font-lock-mode-internal.
13884 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13887 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13889 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13890 (completion--cache-all-sorted-completions): New function.
13891 (completion-all-sorted-completions): Use it.
13892 (completion--do-completion, minibuffer-force-complete):
13893 Use it to re-instate the flush hook.
13895 * icomplete.el (icomplete-completions): Replace last fix with a better
13898 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13900 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13901 when it might call us back infinitely (bug#10797).
13903 2012-02-23 Glenn Morris <rgm@gnu.org>
13905 * minibuffer.el (completion-category-overrides): Doc fix.
13907 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13909 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13910 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13912 2012-02-23 Glenn Morris <rgm@gnu.org>
13914 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13915 (authors-obsolete-files-regexps, authors-ignored-files)
13916 (authors-ambiguous-files, authors-renamed-files-alist):
13919 2012-02-23 Juri Linkov <juri@jurta.org>
13921 * isearch.el (isearch-occur): Sync interactive spec with occur's
13922 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13924 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13926 2012-02-22 Juri Linkov <juri@jurta.org>
13928 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13929 (ucs-insert): Doc fix. Check for hex digits in the string.
13930 Don't display `nil' in the error message. (Bug#10857)
13932 2012-02-22 Alan Mackenzie <acm@muc.de>
13934 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13936 2012-02-22 Glenn Morris <rgm@gnu.org>
13938 * ffap.el (ffap-c-path):
13939 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13941 2012-02-22 Chong Yidong <cyd@gnu.org>
13943 * custom.el (load-theme): Doc fix.
13945 2012-02-22 Glenn Morris <rgm@gnu.org>
13947 * dired-x.el (dired-guess-shell-alist-default):
13948 Remove escape sequences from nroff output. (Bug#172)
13950 2012-02-21 Glenn Morris <rgm@gnu.org>
13952 * vc/emerge.el (emerge-defvar-local):
13953 Set `permanent-local' property rather than unused `preserved'.
13955 * textmodes/picture.el (picture-delete-char): New alias.
13956 (picture-mode-map): Use it. (Bug#10860)
13957 (picture-mode): Doc fix.
13959 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13961 * newcomment.el (uncomment-region-default): Remove unused binding.
13963 2012-02-21 Glenn Morris <rgm@gnu.org>
13965 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13966 (picture-self-insert, picture-tab-chars): Doc fix.
13967 (picture-mode-map): Fix C-a, C-e.
13969 2012-02-20 Glenn Morris <rgm@gnu.org>
13971 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13973 2012-02-20 Leo Liu <sdl.web@gmail.com>
13975 * icomplete.el (icomplete-completions): Check FROM arg before
13976 passing to substring (Bug#10850).
13978 2012-02-19 Chong Yidong <cyd@gnu.org>
13980 * comint.el: Require ansi-color.
13981 (comint-output-filter-functions): Add ansi-color-process-output.
13983 * ansi-color.el: Don't set comint-output-filter-functions; it is
13984 now in the initial value defined in comint.el.
13985 (ansi-color-apply-face-function): New variable.
13986 (ansi-color-apply-on-region): Use it.
13987 (ansi-color-apply-overlay-face): New function.
13989 * shell.el (shell): No need to require ansi-color.
13990 (shell-mode): Use ansi-color-apply-face-function to highlight
13991 color escapes using font-lock-face property (Bug#10835).
13993 2012-02-19 Chong Yidong <cyd@gnu.org>
13995 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13996 mode-line formats (Bug#10839).
13998 2012-02-18 Glenn Morris <rgm@gnu.org>
14000 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14002 * mail/undigest.el (unforward-rmail-message): Doc fix.
14004 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14006 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14008 * international/characters.el (script-list): Sync with the latest
14009 Unicode Character Database.
14011 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14013 * international/titdic-cnv.el: Remove duplicate coding tag.
14014 * language/cham.el: Likewise.
14015 * language/tai-viet.el: Likewise.
14017 2012-02-18 Glenn Morris <rgm@gnu.org>
14019 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14020 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14021 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14022 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14023 * calendar/holidays.el (holiday-bahai-holidays)
14024 (calendar-holidays, list-holidays):
14025 Use utf-8 Bahá'í in doc-strings, menus, etc.
14027 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14029 * saveplace.el (save-place-ignore-files-regexp): New variable
14030 allowing for excluding files from saving their location of point.
14031 The default value matches the temporary commit message editing
14032 files from Git, SVN, Bazaar, and Mercurial.
14033 (save-place-to-alist): Use it.
14035 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14036 Stefan Monnier <monnier@iro.umontreal.ca>
14038 * newcomment.el (uncomment-region-default): Don't leave extra space
14039 when an arg is provided (bug#8150).
14041 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14043 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14045 2012-02-17 Glenn Morris <rgm@gnu.org>
14047 * net/socks.el: Require network-stream. (Bug#10599)
14049 2012-02-17 Kenichi Handa <handa@m17n.org>
14051 * international/charprop.el:
14052 * international/uni-name.el:
14053 * international/uni-old-name.el:
14054 * international/uni-comment.el: Regenerate.
14056 2012-02-16 Glenn Morris <rgm@gnu.org>
14058 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14059 Interactively in calendar buffer, give an error if not on a date.
14061 2012-02-15 Glenn Morris <rgm@gnu.org>
14063 * shell.el (shell-delimiter-argument-list):
14064 Revert 2011-02-17 change. (Bug#8027)
14066 2012-02-15 Chong Yidong <cyd@gnu.org>
14068 * minibuffer.el (completion-at-point-functions): Doc fix.
14070 * custom.el (defcustom): Doc fix; note use of defvar.
14072 2012-02-15 Glenn Morris <rgm@gnu.org>
14074 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14077 2012-02-14 Glenn Morris <rgm@gnu.org>
14079 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14081 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14083 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14084 way the ports list is computed.
14085 (smtpmail-query-smtp-server): Prompt the user for a port number if
14086 we can't connect to any of the standard ports (bug#10810).
14088 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14090 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14092 2012-02-13 Glenn Morris <rgm@gnu.org>
14094 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14096 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14098 * net/gnutls.el (gnutls-trustfiles): New variable.
14099 (gnutls-negotiate): Use it.
14101 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14103 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14104 does its stuff if Gnus is running.
14106 2012-02-13 Alan Mackenzie <acm@muc.de>
14108 Fix a loop in c-set-fl-decl-start.
14110 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14111 c-backward-syntactic-ws actually moves backwards.
14113 2012-02-13 Leo Liu <sdl.web@gmail.com>
14115 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14116 beginning so that all \C-o chars are removed.
14118 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14120 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14122 2012-02-12 Alan Mackenzie <acm@muc.de>
14124 Fix infinite loop with long macros.
14125 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14127 2012-02-12 Chong Yidong <cyd@gnu.org>
14129 * window.el (display-buffer): Doc fix (Bug#10785).
14131 2012-02-12 Glenn Morris <rgm@gnu.org>
14133 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14134 (x-disown-selection-internal, x-get-selection-internal):
14135 Sync docs with the xselect.c versions.
14137 * allout-widgets.el: Add missing license notice.
14139 2012-02-11 Glenn Morris <rgm@gnu.org>
14141 * select.el (x-get-selection-internal, x-own-selection-internal)
14142 (x-disown-selection-internal):
14143 * x-dnd.el (x-get-selection-internal): Update declarations.
14145 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14147 * window.el (window-sides-slots):
14148 * tool-bar.el (tool-bar-position):
14149 * term/xterm.el (xterm-extra-capabilities):
14150 * ses.el (ses-self-reference-early-detection):
14151 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14152 (verilog-auto-wire-type)
14153 (verilog-auto-delete-trailing-whitespace)
14154 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14155 (verilog-auto-tieoff-declaration):
14156 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14157 (sql-oracle-statement-starters, sql-oracle-scan-on):
14158 * progmodes/prolog.el (prolog-align-comments-flag)
14159 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14160 (prolog-left-indent-regexp, prolog-paren-indent-p)
14161 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14162 (prolog-types, prolog-mode-specificators)
14163 (prolog-determinism-specificators, prolog-directives)
14164 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14165 (prolog-electric-dot-flag)
14166 (prolog-electric-dot-full-predicate-template)
14167 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14168 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14169 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14170 (prolog-program-switches, prolog-prompt-regexp)
14171 (prolog-debug-on-string, prolog-debug-off-string)
14172 (prolog-trace-on-string, prolog-trace-off-string)
14173 (prolog-zip-on-string, prolog-zip-off-string)
14174 (prolog-use-standard-consult-compile-method-flag)
14175 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14176 (prolog-imenu-max-lines, prolog-info-predicate-index)
14177 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14178 (prolog-char-quote-workaround):
14179 * progmodes/cc-vars.el (c-defun-tactic):
14180 * net/tramp.el (tramp-encoding-command-interactive)
14181 (tramp-local-end-of-line):
14182 * net/soap-client.el (soap-client):
14183 * net/netrc.el (netrc-file):
14184 * net/gnutls.el (gnutls):
14185 * minibuffer.el (completion-category-overrides)
14186 (completion-cycle-threshold)
14187 (completion-pcm-complete-word-inserts-delimiters):
14188 * man.el (Man-name-local-regexp):
14189 * mail/feedmail.el (feedmail-display-full-frame):
14190 * international/characters.el (glyphless-char-display-control):
14191 * eshell/em-ls.el (eshell-ls-date-format):
14192 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14193 (lisp-lambda-list-keyword-parameter-indentation)
14194 (lisp-lambda-list-keyword-parameter-alignment):
14195 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14196 * dired-x.el (dired-omit-verbose):
14197 * cus-theme.el (custom-theme-allow-multiple-selections):
14198 * calc/calc.el (calc-highlight-selections-with-faces)
14199 (calc-lu-field-reference, calc-lu-power-reference)
14200 (calc-note-threshold):
14201 * battery.el (battery-mode-line-limit):
14202 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14203 (archive-7z-update):
14204 * allout.el (allout-prefixed-keybindings)
14205 (allout-unprefixed-keybindings)
14206 (allout-inhibit-auto-fill-on-headline)
14207 (allout-flattened-numbering-abbreviation):
14208 * allout-widgets.el (allout-widgets-auto-activation)
14209 (allout-widgets-icons-dark-subdir)
14210 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14211 (allout-widgets-theme-dark-background)
14212 (allout-widgets-theme-light-background)
14213 (allout-widgets-item-image-properties-emacs)
14214 (allout-widgets-item-image-properties-xemacs)
14215 (allout-widgets-run-unit-tests-on-load)
14216 (allout-widgets-time-decoration-activity)
14217 (allout-widgets-hook-error-post-time)
14218 (allout-widgets-track-decoration):
14219 Add missing :version tags to new defcustoms and defgroups.
14221 * progmodes/sql.el (sql-ansi-statement-starters)
14222 (sql-oracle-statement-starters): Add custom type.
14224 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14225 (prolog-system-version): Give it a type.
14227 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14229 * term/pc-win.el (x-select-text, x-selection-owner-p)
14230 (x-own-selection-internal, x-disown-selection-internal)
14231 (x-get-selection-internal): Sync doc strings and argument lists
14232 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14234 2012-02-11 Leo Liu <sdl.web@gmail.com>
14236 * progmodes/python.el (python-end-of-statement): Fix infinite
14239 2012-02-10 Glenn Morris <rgm@gnu.org>
14241 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14242 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14244 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14246 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14247 about SMTP before checking the From header.
14249 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14250 into own function for reuse by emacsbug.el.
14252 2012-02-10 Leo Liu <sdl.web@gmail.com>
14254 * subr.el (condition-case-unless-debug): Rename from
14255 condition-case-no-debug. All callers changed.
14256 (with-demoted-errors): Fix caller.
14258 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14259 * nxml/rng-valid.el (rng-do-some-validation):
14260 * emacs-lisp/package.el (package-refresh-contents)
14261 (package-menu-execute):
14262 * desktop.el (desktop-create-buffer):
14263 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14265 2012-02-10 Glenn Morris <rgm@gnu.org>
14267 * textmodes/bibtex.el:
14268 Add missing :version tags for new/changed defcustoms.
14270 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14272 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14274 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14275 (smtpmail-via-smtp): Use it, or fall back on the From address.
14276 (smtpmail-send-it): Ditto.
14278 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14280 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14281 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14282 (byte-compile-tmp-var): New const.
14283 (byte-compile-defvar): Use it to minimize .elc size.
14284 Just use `defvar' rather than simulate it (bug#10761).
14286 2012-02-09 Glenn Morris <rgm@gnu.org>
14288 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14290 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14293 * progmodes/compile.el (compilation-error-screen-columns)
14294 (compilation-first-column, compilation-filter-start): Doc fixes.
14296 * vc/log-view.el (log-view-toggle-entry-display):
14297 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14299 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14300 (report-emacs-bug-can-use-xdg-email):
14301 (report-emacs-bug-insert-to-mailer): Doc fixes.
14302 (report-emacs-bug): Message fix.
14304 * net/browse-url.el (browse-url-can-use-xdg-open)
14305 (browse-url-xdg-open): Doc fixes.
14307 * electric.el (electric-indent-mode, electric-pair-mode)
14308 (electric-layout-rules, electric-layout-mode): Doc fixes.
14309 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14311 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14313 * server.el (server-unselect-display): Don't inadvertently kill
14314 the current buffer. (Bug#10729)
14316 2012-02-08 Glenn Morris <rgm@gnu.org>
14318 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14319 (sql-list-table): Doc fixes.
14321 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14322 Comment out (does nothing).
14324 * completion.el (dynamic-completion-mode):
14325 * dirtrack.el (dirtrack-debug-mode):
14326 * electric.el (electric-layout-mode):
14327 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14328 * face-remap.el (text-scale-mode, buffer-face-mode):
14329 * iimage.el (iimage-mode):
14330 * image-mode.el (image-transform-mode):
14331 * minibuffer.el (completion-in-region-mode):
14332 * scroll-lock.el (scroll-lock-mode):
14333 * simple.el (next-error-follow-minor-mode):
14334 * tar-mode.el (tar-subfile-mode):
14335 * tooltip.el (tooltip-mode):
14336 * vcursor.el (vcursor-use-vcursor-map):
14337 * wid-browse.el (widget-minor-mode):
14338 * emulation/tpu-edt.el (tpu-edt-mode):
14339 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14340 * international/iso-ascii.el (iso-ascii-mode):
14341 * language/thai-util.el (thai-word-mode):
14342 * mail/supercite.el (sc-minor-mode):
14343 * net/goto-addr.el (goto-address-mode):
14344 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14345 * progmodes/cwarn.el (cwarn-mode):
14346 * progmodes/flymake.el (flymake-mode):
14347 * progmodes/glasses.el (glasses-mode):
14348 * progmodes/hideshow.el (hs-minor-mode):
14349 * progmodes/pascal.el (pascal-outline-mode):
14350 * textmodes/enriched.el (enriched-mode):
14351 * vc/smerge-mode.el (smerge-mode):
14352 Doc fixes (minor mode argument).
14354 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14356 * ls-lisp.el (ls-lisp-sanitize): New function.
14357 (ls-lisp-insert-directory): Use it to fix or remove any elements
14358 in file-alist with missing attributes. (Bug#4673)
14360 2012-02-07 Alan Mackenzie <acm@muc.de>
14362 Fix spurious recognition of c-in-knr-argdecl.
14364 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14365 putative K&R region.
14367 2012-02-07 Alan Mackenzie <acm@muc.de>
14369 * progmodes/cc-engine.el (c-forward-objc-directive):
14370 Prevent looping in "#pragma mark @implementation".
14372 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14374 * notifications.el (notifications-on-closed-signal): Make `reason'
14375 optional. (Bug#10744)
14377 2012-02-07 Glenn Morris <rgm@gnu.org>
14379 * emacs-lisp/easy-mmode.el (define-minor-mode):
14380 Doc fixes for the macro and the mode it defines.
14382 * image.el (imagemagick-types-inhibit): Doc fix.
14384 * cus-start.el (imagemagick-render-type): Add it.
14386 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14388 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14389 Set the default at load time, too, so that `font-lock-fontify-buffer'
14390 can be called without setting up the entire mode first. This fixes
14391 a bug in `mm-inline-text' with C MIME parts.
14393 2012-02-06 Chong Yidong <cyd@gnu.org>
14395 * simple.el (list-processes--refresh): Delete exited processes
14398 * comint.el (comint-next-prompt): next-single-char-property-change
14399 and prev-single-char-property-change never return nil (Bug#8657).
14401 * custom.el (defcustom): Doc fix (Bug#9711).
14403 2012-02-05 Chong Yidong <cyd@gnu.org>
14405 * cus-edit.el (custom-variable-reset-backup): Quote the value
14406 before storing it in the customized-value property (Bug#6712).
14407 (custom-display): Add a customization type tag.
14408 (custom-buffer-create-internal): Improve tooltip message.
14410 * wid-edit.el (widget-field-value-get): New optional arg to
14411 suppress trailing whitespace truncation.
14412 (character): Use it (Bug#2689).
14414 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14416 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14417 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14419 2012-02-05 Chong Yidong <cyd@gnu.org>
14421 * cus-edit.el (custom-variable-value-create): For mismatched
14422 types, show the current value (Bug#7600).
14424 * custom.el (defcustom): Doc fix.
14426 2012-02-05 Glenn Morris <rgm@gnu.org>
14428 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14430 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14432 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14433 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14434 (pp-last-sexp): Use `looking-at-p'.
14436 2012-02-04 Glenn Morris <rgm@gnu.org>
14438 * files.el (revert-buffer):
14439 Doc fix (mention revert-buffer-in-progress-p).
14441 * emacs-lisp/ert-x.el (ert-simulate-command):
14442 Check deferred-action-list (which is obsolete) is bound.
14444 * subr.el (with-wrapper-hook): Doc fixes.
14446 * simple.el (filter-buffer-substring-functions)
14447 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14449 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14451 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14452 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14454 2012-02-04 Leo Liu <sdl.web@gmail.com>
14456 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14458 2012-02-04 Glenn Morris <rgm@gnu.org>
14460 * image.el (image-extension-data): Add obsolete alias.
14462 * isearch.el (isearch-update): Doc fix.
14464 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14466 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14468 2012-02-03 Glenn Morris <rgm@gnu.org>
14470 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14471 (image-animate-timeout): Doc fix.
14473 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14475 2012-02-02 Glenn Morris <rgm@gnu.org>
14477 * server.el (server-auth-dir): Doc fix.
14478 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14480 * subr.el (run-mode-hooks): Doc fix.
14482 2012-02-02 Juri Linkov <juri@jurta.org>
14484 * image-mode.el (image-toggle-display-image): Remove tautological
14485 `major-mode' from the `derived-mode-p' test.
14487 2012-02-02 Kenichi Handa <handa@m17n.org>
14489 * composite.el (compose-region): Cancel previous change.
14491 2012-02-02 Kenichi Handa <handa@m17n.org>
14493 * composite.el (compose-region, compose-string): Signal error for
14494 a null string component (Bug#6988).
14496 2012-02-01 Chong Yidong <cyd@gnu.org>
14498 * view.el (view-buffer-other-window, view-buffer-other-frame):
14499 Handle special modes like view-buffer (Bug#10650).
14500 (view-buffer): Simplify.
14502 * frame.el (set-frame-font): Tweak meaning of third argument.
14504 * dynamic-setting.el (font-setting-change-default-font):
14505 Use set-frame-font (Bug#9982).
14507 2012-02-01 Glenn Morris <rgm@gnu.org>
14509 * progmodes/compile.el (compilation-internal-error-properties):
14510 Respect compilation-first-column in the "*compilation*" buffer.
14512 * emacs-lisp/easy-mmode.el (define-minor-mode):
14513 Relax :variable's test for a named function.
14515 2012-01-31 Alan Mackenzie <acm@muc.de>
14517 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14520 2012-01-31 Chong Yidong <cyd@gnu.org>
14522 * frame.el (set-frame-font): New arg ALL-FRAMES.
14524 * menu-bar.el (menu-set-font): Use set-frame-font.
14526 * faces.el (face-spec-reset-face): Don't apply unspecified
14527 attribute values to the default face.
14529 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14531 * progmodes/cwarn.el (cwarn): Remove dead link.
14532 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14533 Remove * from defcustom docstrings.
14534 (turn-on-cwarn-mode): Make obsolete.
14535 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14536 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14538 2012-01-31 Glenn Morris <rgm@gnu.org>
14540 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14541 Fix :variable handling of mode a symbol not equal to modefun.
14542 Allow named functions to be used as the cdr of :variable.
14544 2012-01-30 Glenn Morris <rgm@gnu.org>
14546 * emacs-lisp/authors.el (authors-fixed-entries):
14547 Remove reference to deleted file rnewspost.el.
14549 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14551 * window.el (window-with-parameter): Remove unused variable `windows'.
14552 (window--side-check): Remove unused variable `code'.
14553 (window--resize-siblings): Remove unused variable `first'.
14554 (adjust-window-trailing-edge): Remove unused variable `failed'.
14555 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14556 Use `let', not `let*'.
14557 (balance-windows-2): Remove unused variable `found'.
14558 (window--state-put-2): Remove unused variable `splits'.
14559 (window-state-put): Remove unused variable `selected'.
14560 (same-window-p): Use `string-match-p'.
14561 (display-buffer-assq-regexp): Remove unused variable `value'.
14562 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14563 Mark argument ALIST as ignored.
14564 (pop-to-buffer): Remove unused variable `old-window'.
14566 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14568 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14569 and .lzma compressed files.
14571 2012-01-29 Chong Yidong <cyd@gnu.org>
14573 * frame.el (window-system-default-frame-alist): Doc fix.
14575 * dynamic-setting.el (font-setting-change-default-font): Don't
14576 change the default face if SET-FONT argument is non-nil (Bug#9982).
14578 2012-01-29 Samuel Bronson <naesten@gmail.com>
14580 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14582 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14584 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14585 breakpoints in files outside current directory (Bug#6098).
14587 2012-01-29 Chong Yidong <cyd@gnu.org>
14589 * progmodes/python.el: Require ansi-color at top-level.
14591 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14592 Define and use in Emacs Lisp mode (Bug#9360).
14593 (lisp-mode-abbrev-table): Add doc.
14594 (lisp-mode-variables): Don't set local-abbrev-table.
14595 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14597 2012-01-28 Roland Winkler <winkler@gnu.org>
14599 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14601 2012-01-28 Roland Winkler <winkler@gnu.org>
14603 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14604 (bibtex-set-dialect): Use it. Either set global values of
14605 dialect-dependent variables or bind these variables buffer-locally
14607 (bibtex-mode): Call bibtex-set-dialect via
14608 hack-local-variables-hook.
14609 (bibtex-dialect): Update docstring.
14610 Add safe-local-variable predicate.
14611 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14612 bibtex-set-dialect.
14613 (bibtex-mode-map): Define menu for each dialect.
14614 (bibtex-entry): Fix docstring.
14616 2012-01-28 Chong Yidong <cyd@gnu.org>
14618 * eshell/esh-arg.el (eshell-quote-argument): New function.
14620 * eshell/esh-ext.el (eshell-invoke-batch-file):
14621 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14622 first arg to eshell-parse-command (Bug#10523).
14624 2012-01-28 Drew Adams <drew.adams@oracle.com>
14626 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14627 `default-directory' is non-nil.
14629 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14631 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14632 line that displays system-configuration-options. (Bug#9924)
14634 2012-01-28 Drew Adams <drew.adams@oracle.com>
14636 * descr-text.el (describe-char): Show information about POS, in
14637 addition to information about the character at POS. Improve and
14638 update the doc string. Change "code point" to "code point in
14639 charset", to avoid confusion with the character's Unicode code
14640 point shown above that. (Bug#10129)
14642 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14644 * descr-text.el (describe-char): Show the raw character, not only
14645 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14646 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14649 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14651 * emacs-lisp/package.el (package-install):
14652 Run package-refresh-contents if there is no archive yet (Bug#9798).
14654 2012-01-28 Chong Yidong <cyd@gnu.org>
14656 * emacs-lisp/package.el (package-maybe-load-descriptor):
14657 New function, split from package-maybe-load-descriptor.
14658 (package-maybe-load-descriptor): Use it.
14659 (package-download-transaction): Fully load required packages
14660 inside the loop, so that `require' calls work (Bug#10593).
14661 (package-install): No need to call package-initialize now.
14663 2012-01-28 Chong Yidong <cyd@gnu.org>
14665 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14667 * tooltip.el (tooltip-mode): Doc fix.
14668 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14670 * frame.el (set-cursor-color): Doc fix (Bug#352).
14672 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14673 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14675 * cus-edit.el (custom-buffer-create-internal): Fix search button
14676 action (Bug#10542).
14677 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14679 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14681 * dired.el (dired-mark-files-regexp):
14682 Include any subdirectory components. (Bug#10445)
14684 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14686 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14687 Handle [host]:port syntax. (Bug#10533)
14689 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14691 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14693 2012-01-26 Glenn Morris <rgm@gnu.org>
14695 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14696 * term.el (term-raw-escape-map): Use Control-X-prefix.
14697 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14699 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14701 * window.el (window-state-get, window--state-get-1): Don't deal
14702 with fixed-sizeness of windows. Simplify code.
14704 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14706 * window.el (window--state-get-1, window--state-put-2):
14707 Don't save and restore the mark.
14709 2012-01-25 Chong Yidong <cyd@gnu.org>
14711 * custom.el (custom-variable-p): Doc fix.
14713 2012-01-25 Glenn Morris <rgm@gnu.org>
14715 * dired.el (dired-goto-file): Handle some of the more common
14716 characters that `ls -b' escapes. (Bug#10596)
14718 * progmodes/compile.el (compilation-next-error-function):
14719 Respect compilation-first-column in the "*compilation*" buffer.
14720 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14722 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14724 2012-01-24 Glenn Morris <rgm@gnu.org>
14726 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14728 2012-01-24 Julien Danjou <julien@danjou.info>
14730 * color.el (color-rgb-to-hsl): Fix value computing.
14731 (color-hue-to-rgb): New function.
14732 (color-hsl-to-rgb): New function.
14733 (color-clamp, color-saturate-hsl, color-saturate-name)
14734 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14735 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14737 2012-01-24 Glenn Morris <rgm@gnu.org>
14739 * vc/vc-rcs.el (vc-rcs-create-tag):
14740 * vc/vc-sccs.el (vc-sccs-create-tag):
14741 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14743 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14745 * eshell/esh-util.el (eshell-read-hosts-file):
14746 Skip comment lines. (Bug#10549)
14748 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14750 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14752 * subr.el (display-delayed-warnings): Doc fix.
14753 (collapse-delayed-warnings): New function to collapse identical
14755 (delayed-warnings-hook): Add it.
14757 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14759 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14761 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14762 (tramp-default-user-alist): Don't add "pscp".
14763 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14764 property "login-as", if set. (Bug#10530)
14766 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14768 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14769 "plink1" and "psftp". (Bug#10530)
14771 2012-01-21 Kenichi Handa <handa@m17n.org>
14773 * international/mule-cmds.el (prefer-coding-system): Show a
14774 warning message if the default value of file-name-coding-system
14777 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14779 * windmove.el (windmove-reference-loc):
14780 Fix windmove-reference-loc miscalculation.
14782 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14784 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14787 2012-01-21 Glenn Morris <rgm@gnu.org>
14789 * international/mule.el (auto-coding-alist): Add .tbz.
14791 * files.el (local-enable-local-variables): Doc fix.
14792 (inhibit-local-variables-regexps): Rename from
14793 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14794 Doc fix. Add some extensions from auto-coding-alist.
14795 (inhibit-local-variables-suffixes):
14796 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14797 (inhibit-local-variables-p):
14798 New function, extracted from set-auto-mode-1.
14799 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14800 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14801 (hack-local-variables): Doc fix. Make the mode-only case
14802 respect enable-local-variables and friends.
14803 Respect inhibit-local-variables-regexps for file-locals, but
14804 not for directory-locals.
14805 (set-visited-file-name):
14806 Take account of inhibit-local-variables-regexps.
14807 Whether it applies may change as the file name is changed.
14808 * jka-cmpr-hook.el (jka-compr-install):
14809 * jka-compr.el (jka-compr-uninstall):
14810 Update for inhibit-first-line-modes-suffixes name change.
14812 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14814 * help-macro.el (make-help-screen): Temporarily restore original
14815 binding for minor-mode-map-alist (Bug#10454).
14817 2012-01-19 Julien Danjou <julien@danjou.info>
14819 * color.el (color-name-to-rgb): Use the white color to find the max
14820 color component value and return correctly computed values.
14821 (color-name-to-rgb): Add missing float conversion for max value.
14823 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14825 * window.el (window--state-get-1, window-state-get): Do not use
14826 special state value for window-persistent-parameters.
14827 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14828 (window--state-put-2): Reset all window parameters to nil before
14829 assigning values of persistent parameters.
14831 2012-01-18 Alan Mackenzie <acm@muc.de>
14833 Eliminate sluggishness and hangs in fontification of "semicolon
14836 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14837 Change value 10000 -> 3000.
14838 (c-state-safe-place): Reformulate so it doesn't stack up an
14839 infinite number of wrong entries in c-state-nonlit-pos-cache.
14840 (c-determine-limit-get-base, c-determine-limit): New functions to
14841 determine backward search limits disregarding literals.
14842 (c-find-decl-spots): Amend commenting.
14843 (c-cheap-inside-bracelist-p): New function which detects "={".
14845 * progmodes/cc-fonts.el
14846 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14848 (c-font-lock-declarations): Fix an occurrence of point being
14849 undefined. Check additionally for point being in a bracelist or
14850 near a macro invocation without a semicolon so as to avoid a
14851 fruitless time consuming search for a declarator. Give a more
14852 precise search limit for declarators using the new
14855 2012-01-18 Glenn Morris <rgm@gnu.org>
14857 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14858 (set-auto-mode): Doc fixes.
14860 2012-01-17 Glenn Morris <rgm@gnu.org>
14862 * isearch.el (search-nonincremental-instead): Fix doc typo.
14864 * dired.el (dired-insert-directory): Handle newlines in directory name.
14865 (dired-build-subdir-alist): Unescape newlines in directory name.
14867 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14869 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14870 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14871 (tramp-action-terminal): Use it. (Bug#10530)
14873 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14875 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14877 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14879 * window.el (window-state-ignored-parameters): Remove variable.
14880 (window--state-get-1): Rename argument MARKERS to IGNORE.
14881 Handle persistent window parameters. Make copy of clone-of
14882 parameter only if requested. (Bug#10348)
14883 (window--state-put-2): Install a window parameter only if it has
14884 a non-nil value or an existing parameter shall be overwritten.
14886 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14888 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14890 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14892 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14893 don't pass the (nil) value of `upnode' to string-match.
14895 2012-01-14 Chong Yidong <cyd@gnu.org>
14897 * startup.el (command-line): Fix X resource class for cursorColor.
14898 Fix values recognized by the cursorBlink resource.
14900 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14902 * epg.el (epg--make-temp-file): Avoid permission race condition
14903 when running on old Emacs versions (bug#10403).
14905 2012-01-14 Glenn Morris <rgm@gnu.org>
14907 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14909 2012-01-13 Alan Mackenzie <acm@muc.de>
14911 Fix filling for when filladapt mode is enabled.
14913 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14914 c-mask-paragraph, pass in `fill-paragraph' rather than
14915 `fill-region-as-paragraph'. (This is a reversion of a previous
14917 * progmodes/cc-mode.el (c-basic-common-init):
14918 Make fill-paragraph-handle-comment buffer local and set it to nil.
14920 2012-01-13 Glenn Morris <rgm@gnu.org>
14922 * dired.el (dired-switches-escape-p): New function.
14923 (dired-insert-directory): Use dired-switches-escape-p.
14924 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14926 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14928 2012-01-12 Glenn Morris <rgm@gnu.org>
14930 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14931 changes in adaptive-fill-regexp. (Bug#10276)
14933 2012-01-11 Alan Mackenzie <acm@muc.de>
14935 Fix Emacs bug #10463 - put `widen's around the critical spots.
14937 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14938 widen around each invocation of c-state-pp-to-literal. Remove an
14939 unused let variable.
14941 2012-01-11 Glenn Morris <rgm@gnu.org>
14943 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14946 2012-01-10 Chong Yidong <cyd@gnu.org>
14948 * net/network-stream.el (network-stream-open-starttls):
14949 Avoid emitting a confusing error message when the server gives a bad
14950 response to the capability command.
14952 2012-01-10 Glenn Morris <rgm@gnu.org>
14954 * mail/unrmail.el (unrmail): Tweak previous change.
14956 2012-01-09 Chong Yidong <cyd@gnu.org>
14958 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14960 2012-01-08 Alan Mackenzie <acm@muc.de>
14962 Optimize font locking in long enum definitions.
14964 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14965 arm to a cond form to handle enums.
14966 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14967 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14969 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14971 * files.el (move-file-to-trash): Preserve default file modes on error.
14974 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14976 * faces.el (set-face-attribute): Clarify the meaning of the nil
14979 * subr.el (with-selected-frame): Mention that the selected frame
14980 is restored (bug#9980).
14982 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14985 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14986 (password-read): Don't autoload unused function.
14988 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14990 * progmodes/which-func.el (which-func-mode): Turn into a
14991 non-interactive function and mark as obsolete (bug#10428).
14993 2012-01-06 Chong Yidong <cyd@gnu.org>
14995 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14996 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14997 functions, along with 1 and -1.
14999 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15001 * time.el (display-time-load-average)
15002 (display-time-default-load-average): Doc fixes. See the thread
15004 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15007 2012-01-06 Glenn Morris <rgm@gnu.org>
15009 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15010 has no messages. (Bug#10377)
15012 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15013 than Info-edit. (Bug#10385)
15015 * time.el (display-time-load-average, display-time-next-load-average):
15018 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15019 local setting of buffer-read-only to the input buffer. (Bug#10419)
15021 * calendar/calendar.el (calendar-mode):
15022 Locally set scroll-margin to 0. (Bug#10379)
15024 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15026 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15028 2012-01-05 Glenn Morris <rgm@gnu.org>
15030 * eshell/em-unix.el (diff-no-select): Autoload it.
15031 (eshell/diff): Use diff-no-select. (Bug#10420)
15033 2012-01-05 Chong Yidong <cyd@gnu.org>
15035 * shell.el (shell-dynamic-complete-functions): Revert last change.
15036 (shell-command-completion-function): New function.
15037 (shell-completion-vars): Use it to implement
15038 shell-completion-execonly (Bug#10417).
15040 * custom.el (enable-theme): Don't set custom-safe-themes.
15042 * cus-theme.el (custom-theme-merge-theme):
15043 Ignore custom-enabled-themes and custom-safe-themes.
15045 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15047 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15048 first prompt in `sql-interacive-mode'.
15049 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15051 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15052 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15053 context of original buffer. Invoke `sql-login-hook'.
15055 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15057 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15058 letters in cite-prefix.
15060 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15062 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15064 2012-01-03 Chong Yidong <cyd@gnu.org>
15066 * shell.el (shell-dynamic-complete-functions):
15067 Put pcomplete-completions-at-point, so as to try
15068 comint-filename-completion first (Bug#10417).
15070 2012-01-02 Richard Stallman <rms@gnu.org>
15072 * battery.el (battery-status-function):
15073 Detect when to use battery-yeeloong-sysfs.
15074 (battery-echo-area-format): Add string for Yeeloong.
15075 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15076 (battery-yeeloong-sysfs): New function.
15078 2012-01-02 Chong Yidong <cyd@gnu.org>
15080 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15081 (dirtrack): Merge code for handling relative filenames in prompt
15082 from shell-dir-cookie-watcher.
15083 (dirtrack-debug-message): New arg to avoid excess format calls.
15085 * shell.el (shell-dir-cookie-re): Variable deleted.
15086 (shell-dir-cookie-watcher): Function deleted.
15087 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15088 with dirtrack-mode.
15090 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15092 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15093 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15096 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15098 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15100 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15102 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15103 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15105 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15107 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15108 also for alternative shells.
15109 (tramp-open-connection-setup-interactive-shell): Check, whether
15110 the shell is a busybox.
15111 (tramp-send-command): Don't suppress multiple prompts for
15112 busyboxes, it hurts.
15114 2011-12-28 Chong Yidong <cyd@gnu.org>
15116 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15117 (gdb-get-source-file): Move mode line update to
15118 gdb-get-source-file (Bug#10087).
15120 2011-12-25 Chong Yidong <cyd@gnu.org>
15122 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15123 gud-gdb-marker-filter without taking it as an argument.
15124 (gud-gdb-run-command-fetch-lines): Caller changed.
15125 (gud-gdb-completion-function): New variable.
15126 (gud-gdb-completion-at-point): Use it.
15127 (gud-gdb-completions-1): Split from gud-gdb-completions.
15129 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15130 function as separate arguments.
15131 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15132 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15133 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15134 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15135 (gdb-stopped, def-gdb-auto-update-trigger)
15136 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15137 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15139 (gud-gdbmi-completions): New function.
15140 (gdb): Use it for generating the completion table.
15142 2011-12-24 Alan Mackenzie <acm@muc.de>
15144 Introduce a mechanism to widen the region used in context font
15145 locking. Use this to protect declarations from losing their contexts.
15147 * progmodes/cc-langs.el (c-before-font-lock-functions):
15148 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15149 (c-before-context-fontification-functions): New defvar, a list of
15150 functions to be run just before context (etc.) font locking.
15152 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15153 New, functionality extracted from
15154 c-neutralize-syntax-in-and-mark-CPP.
15155 (c-in-after-change-fontification): New variable.
15156 (c-after-change): Set c-in-after-change-fontification.
15157 (c-set-fl-decl-start): Rejig its interface, so it can be called
15158 from both after-change and context fontifying.
15159 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15161 (c-standard-font-lock-fontify-region-function): New variable.
15162 (c-font-lock-fontify-region): New function.
15164 2011-12-24 Juri Linkov <juri@jurta.org>
15166 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15169 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15171 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15172 existence of source file. (Bug#10325)
15174 2011-12-23 Alan Mackenzie <acm@muc.de>
15176 Fix unstable fontification inside templates.
15178 * progmodes/cc-langs.el (c-before-font-lock-functions):
15179 Newly created from the singular version. The (c c++ objc) entry now
15180 additionally has c-set-fl-decl-start. The other languages (apart
15181 from AWK) have that as a single entry.
15183 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15184 The functionality for "local" declarations has been extracted to
15185 c-set-fl-decl-start.
15187 * progmodes/cc-mode.el (c-common-init, c-after-change):
15188 Changes due to pluralisation of c-before-font-lock-functions.
15189 (c-set-fl-decl-start): New function, extracted from
15190 c-font-lock-enclosing-decls and enhanced.
15192 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15194 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15196 2011-12-22 Juri Linkov <juri@jurta.org>
15198 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15200 2011-12-22 Chong Yidong <cyd@gnu.org>
15202 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15204 2011-12-21 Drew Adams <drew.adams@oracle.com>
15206 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15208 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15210 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15212 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15214 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15215 highlighting and support. Fix up comments for capitalization.
15216 (cfengine-mode-debug): New var.
15217 (cfengine3-mode): Change the modeline indicator to "CFE3".
15218 (cfengine3-font-lock-keywords): Improve defun highlighting.
15219 (cfengine2-actions): Rename from `cfengine-actions'.
15220 (cfengine2-font-lock-keywords): Rename from
15221 `cfengine-font-lock-keywords'.
15222 (cfengine2-imenu-expression): Rename from
15223 `cfengine-imenu-expression'.
15224 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15225 (cfengine2-beginning-of-defun): Rename from
15226 `cfengine-beginning-of-defun'.
15227 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15228 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15229 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15230 modeline indicator to "CFE2".
15231 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15232 (cfengine-mode-abbrevs): Mark obsolete.
15234 2011-12-21 Chong Yidong <cyd@gnu.org>
15236 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15239 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15241 * window.el (window-normalize-buffer-to-display): Remove.
15242 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15244 2011-12-19 Chong Yidong <cyd@gnu.org>
15246 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15247 Don't signal an error in a predicate function; return non-nil.
15248 (vc-dir-mark-file): Move the error here.
15249 (vc-dir-mark-unmark): If acting on the region, keep going if one
15250 of the entries cannot be marked/unmarked.
15251 (vc-dir-mark-all-files): If current entry is a directory, mark
15252 only child files, as documented.
15254 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15256 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15257 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15260 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15262 * term/ns-win.el (ns-get-selection-internal)
15263 (ns-store-selection-internal): Declare.
15264 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15265 Declare as obsolete.
15266 (ns-get-pasteboard, ns-paste-secondary):
15267 Use ns-get-selection-internal.
15268 (ns-set-pasteboard, ns-copy-including-secondary):
15269 Use ns-store-selection-internal.
15271 2011-12-17 Chong Yidong <cyd@gnu.org>
15273 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15274 (vc-deduce-fileset): Doc fix.
15276 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15278 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15280 2011-12-13 Sam Steingold <sds@gnu.org>
15282 * man.el (Man-getpage-in-background): When running under a
15283 window-system, ignore $MANWIDTH and $COLUMNS.
15285 2011-12-15 Kenichi Handa <handa@m17n.org>
15287 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15288 (setup-ethiopic-environment-internal): Comment out key-binding for
15289 ethio-toggle-punctuation.
15291 2011-12-13 Alan Mackenzie <acm@muc.de>
15293 Add the switch statement to AWK Mode.
15295 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15296 "default" to the keywords regexp.
15298 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15299 expression as the rest.
15300 (c-nonlabel-token-key): Allow string literals for AWK.
15301 Refactor for the other modes.
15303 Large brace-block initialisation makes CC Mode slow: Fix.
15304 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15305 routines. Limit backward searching in c-font-lock-enclosing.decl.
15307 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15308 pp-state and literal type in addition to the limits.
15309 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15310 (c-state-literal-at): Use the above new defun.
15311 (c-slow-in-literal, c-fast-in-literal): Remove.
15312 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15314 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15315 being in a literal. Add a limit for backward searching.
15317 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15320 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15322 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15324 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15326 * window.el (delete-other-windows): Use correct frame in call to
15327 window-with-parameter.
15329 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15331 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15332 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15333 (makefile-gmake-statements, makefile-makepp-statements):
15334 Use it and add new makepp keywords.
15335 (makefile-makepp-font-lock-keywords): Add new patterns.
15336 (makefile-match-function-end): Match new [...] and [[...]].
15338 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15340 * ses.el (ses-call-printer-return, ses-cell-property-get)
15341 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15342 (ses-create-cell-variable, ses-reset-header-string)
15343 (ses-cell-set-formula, ses-repair-cell-reference-all)
15344 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15345 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15346 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15347 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15348 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15349 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15350 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15351 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15352 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15353 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15354 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15355 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15357 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15359 * ses.el: The overall change is to add cell renaming, that is
15360 setting fancy names for cell symbols other than name matching
15361 "\\`[A-Z]+[0-9]+\\'" regexp .
15362 (ses-create-cell-variable): New defun.
15363 (ses-relocate-formula): Relocate formulas only for cells the
15364 symbols of which are not renamed, i.e. symbols whose names do not
15365 match regexp "\\`[A-Z]+[0-9]+\\'".
15366 (ses-relocate-all): Relocate values only for cells the symbols of
15367 which are not renamed.
15368 (ses-load): Create cells variables as the (ses-cell ...) are read,
15369 in order to check row col consistency with cell symbol name only
15370 for cells that are not renamed.
15371 (ses-replace-name-in-formula): New defun.
15372 (ses-rename-cell): New defun.
15374 2011-12-11 Chong Yidong <cyd@gnu.org>
15376 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15377 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15379 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15381 * window.el (other-window): Fix docstring.
15383 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15385 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15386 `from' or `to' address before taking its substring.
15387 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15388 encoded name is chopped in the middle of the encoded string, and
15389 thus displayed encoded.
15391 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15393 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15395 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15397 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15398 to use texinfo-update-node and commands that call it if the
15399 Texinfo file uses @node lines without next/prev/up pointers.
15400 Correct outdated description about texinfo-master-menu.
15401 (texinfo-all-menus-update, texinfo-master-menu)
15402 (texinfo-update-node, texinfo-every-node-update)
15403 (texinfo-multiple-files-update): Doc fix. Warn against updating
15404 all the @node lines.
15405 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15406 argument is numeric. Explain better in the doc string what the
15407 function really does.
15408 (texinfo-insert-master-menu-list): Improve the error message
15409 displayed if there's no menu in the Top node.
15410 (Bug#2975) See also this thread:
15411 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15413 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15415 * speedbar.el (speedbar-supported-extension-expressions):
15416 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15418 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15420 * printing.el (pr-mode-alist):
15421 * simple.el (filter-buffer-substring-functions)
15422 (completion-list-insert-choice-function):
15423 * window.el (window-with-parameter, window-atom-root)
15424 (window-sides-slots, window-size-fixed, window-min-delta)
15425 (window-max-delta, window--resize-mini-window)
15426 (window--resize-child-windows-normal, window-tree)
15427 (delete-other-windows, quit-window, split-window)
15428 (display-buffer-record-window, special-display-buffer-names)
15429 (special-display-regexps, special-display-popup-frame)
15430 (same-window-p, split-window-sensibly)
15431 (display-buffer-overriding-action, display-buffer-alist)
15432 (display-buffer-base-action, display-buffer, switch-to-buffer)
15433 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15434 (fit-window-to-buffer, recenter-positions)
15435 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15436 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15437 and remove unneeded backslashes in docstrings.
15439 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15441 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15443 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15444 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15446 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15447 when reading the makefile (bug#10116).
15449 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15451 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15454 2011-12-06 Glenn Morris <rgm@gnu.org>
15456 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15458 2011-12-06 Chong Yidong <cyd@gnu.org>
15460 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15462 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15464 * textmodes/table.el (table-shorten-cell): Fix typo.
15466 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15468 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15470 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15472 * descr-text.el (describe-char): Fix display of strong
15473 right-to-left characters and directional embeddings and overrides.
15475 * simple.el (what-cursor-position): Fix display of codepoints of
15476 strong right-to-left characters.
15478 2011-12-05 Chong Yidong <cyd@gnu.org>
15480 * faces.el (read-color): Doc fix.
15482 2011-12-05 Glenn Morris <rgm@gnu.org>
15484 * align.el (align--set-marker): Add doc-string.
15485 Don't try to move something that is not a marker. (Bug#10216)
15487 2011-12-04 Glenn Morris <rgm@gnu.org>
15489 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15490 overly zealous deletion of trailing whitespace.
15492 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15494 * server.el (server-delete-client): On Windows, do not try to delete
15496 (server-process-filter): On Windows, treat requests for a tty frame as
15497 if they were for a GUI frame if the running server is in GUI mode.
15499 2011-12-03 Glenn Morris <rgm@gnu.org>
15501 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15503 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15505 * electric.el: Streamline electric-indent's hook.
15506 (electric-indent-chars): Revert to simple list.
15507 (electric-indent-functions): New var.
15508 (electric-indent-post-self-insert-function): Use it.
15510 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15511 there's no inferior buffer (bug#10196).
15512 (prolog-consult-compile): Don't use toggle-read-only.
15514 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15516 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15517 interrupt. (Bug#10187)
15519 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15521 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15524 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15527 2011-12-02 Juri Linkov <juri@jurta.org>
15529 * info.el (Info-search): Display "end of manual" when Isearch
15530 reaches the end of single-file Info manual. (Bug#9918)
15532 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15534 * isearch.el (isearch-message-prefix): Run the input method part
15535 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15537 2011-12-02 Juri Linkov <juri@jurta.org>
15539 * isearch.el (isearch-occur): Use `word-search-regexp' for
15541 (isearch-search-and-update): Add condition for `isearch-word' and
15542 call `word-search-regexp'. (Bug#10145)
15544 2011-12-01 Glenn Morris <rgm@gnu.org>
15546 * eshell/em-hist.el (eshell-hist-initialize):
15547 Handle eshell-history-size nil and HISTSIZE set or unset.
15548 (eshell-history-file-name, eshell-history-size): Fix custom type.
15550 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15552 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15554 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15556 * progmodes/verilog-mode.el (verilog-pretty-expr):
15557 Rework verilog-pretty-expr to handle new assignment operators in system
15558 verilog, such as += *= and the like.
15559 (verilog-assignment-operator-re): Regular expression to find the
15560 assigment operator in a verilog assignment.
15561 (verilog-assignment-operation-re): Regular expression to find an
15562 assignment statement for pretty-expr.
15563 (verilog-in-attribute-p): Query returns true if point is in an
15564 attribute context; used to skip these for expression line up from
15566 (verilog-in-parameter-p): Query returns true if point is in an
15567 parameter definition context; used to skip these for expression
15568 line up from pretty-expr.
15569 (verilog-in-parenthesis-p): Query returns true if point is in a
15570 parenthetical expression, specifically ( ) but not [ ] or { };
15571 used by pretty-expr.
15572 (verilog-just-one-space): If there is no space, don't add one.
15573 (verilog-get-lineup-indent-2): Specifically skip just attribute
15574 contexts for expression lineup, rather than skipping all
15575 parenthetical expressions.
15576 (verilog-calculate-indent): Fix comment, and fix indent.
15577 (verilog-do-indent): Indent declarations in lists (suggested by
15579 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15581 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15584 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15586 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15587 parameters with embedded comments. Reported by Ray Stevens.
15588 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15589 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15590 Reported by Tim Holt.
15591 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15592 instantiated by upper module causing wrong expansion until AUTOed a
15593 second time. Reported by K C Buckenmaier.
15594 (verilog-diff-auto): Fix showing .* as a difference when
15595 `verilog-auto-star-save' off. Reported by Dan Dever.
15596 (verilog-auto-reset, verilog-read-always-signals)
15597 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15598 temporary signals in reset list if
15599 verilog-auto-reset-blocking-in-non is nil, and match assignment
15600 style to each signal's assignment type, bug381.
15601 Reported by Thomas Esposito.
15602 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15603 (verilog-uvm-statement-re): Support UVM indentation and
15604 highlighting, with old OVM keywords only.
15605 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15606 Support AUTOTIEOFF creating non-wire data types.
15607 Suggested by Jonathan Greenlaw.
15608 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15609 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15610 (verilog-inject-sense, verilog-read-inst-pins)
15611 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15612 Fix mismatching parenthesis inside commented out code when deleting
15613 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15614 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15615 non-numeric vector width. Reported by Alex Reed.
15616 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15617 detecting signals with parameter widths. Reported by Alex Reed.
15618 (verilog-auto-delete-trailing-whitespace):
15619 With `verilog-auto-delete-trailing-whitespace' remove trailing
15620 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15621 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15622 Fix verilog-scan-cache corruption when running user AUTO expansion
15623 hooks that call indentation routines.
15624 (verilog-simplify-range-expression): Fix typo ignoring lower case
15626 (verilog-delete-auto): Fix delete-autos to also remove user created
15627 automatics, as long as they start with AUTO.
15628 (verilog-batch-diff-auto, verilog-diff-auto)
15629 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15630 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15631 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15632 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15633 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15634 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15635 is disabled and its cache will get corrupt, causing AUTOS not to
15636 expand. Instead use only -quick functions.
15637 (verilog-scan-region): Fix scanning over escaped quotes.
15638 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15639 (verilog-re-search-backward-quick)
15640 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15641 related functions now ignore strings, to fix misparsing of strings
15642 with magic comments embedded in them.
15643 (verilog-read-auto-template):
15644 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15645 Reported by Brad Dobbie.
15646 (verilog-read-auto-template):
15647 Fix 'verilog-auto-inst-template-numbers' with comments.
15648 Reported by Brad Dobbie.
15649 (verilog-auto-inst, verilog-auto-inst-param)
15650 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15651 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15652 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15653 debugging templates without merge conflicts, bug357.
15654 Reported by Brad Dobbie.
15655 (verilog-read-auto-template):
15656 Fix verilog-auto-inst-template-numbers with multiple templates.
15657 Reported by Brad Dobbie.
15658 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15659 abbrevs so user won't be asked to save.
15660 (verilog-read-auto-lisp-present): Fix to start at beginning of
15661 buffer in case called outside of verilog-auto.
15662 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15663 to "X-2". Reported by Matthew Myers.
15664 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15665 all inputs from module templates. Reported by Leith Johnson.
15666 (verilog-module-inside-filename-p): Fix locating programs as with
15668 (verilog-auto-inst-port): Fix vl-width expressions when using
15669 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15670 (verilog-decls-get-regs, verilog-decls-get-signals,
15671 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15672 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15673 verilog-read-decls): Combine reg and wire structures into one var
15674 structure to represent SystemVerilog concepts.
15675 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15676 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15677 (verilog-auto-wire-type, verilog-insert-definition):
15678 Add verilog-auto-wire-type and AUTOLOGIC to support using
15679 SystemVerilog "logic" keyword instead of "wire"/"reg".
15680 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15681 to declares outputs that also have assignments (presumably in an
15682 ifdef or generate if so there's not a driver conflict).
15683 Reported by Matthew Myers.
15684 (verilog-auto-declare-nettype, verilog-insert-definition):
15685 Add verilog-auto-declare-nettype to fix declarations using
15686 `default_nettype none. Reported by Julian Gorfajn.
15687 (verilog-read-always-signals-recurse, verilog-read-decls)
15688 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15689 malformed end statement, bug325. Reported by Joshua Wise and
15691 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15692 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15693 when expanding .* in interfaces, bug320.
15694 Reported by Pierre-David Pfister.
15695 (verilog-read-module-name): Fix import statements between module
15696 name and open parenthesis, bug317.
15697 Reported by Pierre-David Pfister.
15698 (verilog-simplify-range-expression): Fix simplification of
15699 multiplications inside AUTOWIRE connections, bug303.
15700 (verilog-auto-inst-port): Support parameter expansion in
15701 multidimensional arrays.
15702 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15703 after "assert property". Reported by Julian Gorfajn.
15704 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15705 with multiplication, bug303.
15706 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15707 Reported by Jan Frode Lonnum.
15709 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15711 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15712 (hfy-shell-file-name, hfy-shell):
15713 * international/fontset.el (x-decompose-font-name): Fix typos.
15715 2011-11-29 Ken Brown <kbrown@cornell.edu>
15717 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15718 (gdb-version): Remove defvar.
15719 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15720 (gdb-gud-context-command, gdb-non-stop-handler)
15721 (gdb-current-context-command, gdb-stopped): Use it.
15722 (gdb-init-1): Enable pretty printing here.
15723 (gdb-non-stop-handler): Don't enable pretty-printing here.
15724 Check to see if the target supports non-stop mode; if not, turn off
15725 non-stop mode. Use the following.
15726 (gdb-check-target-async): New defun.
15727 (gud-watch, gdb-stopped): Fix whitespace.
15728 (gdb-get-source-file): Don't try to display the source file if
15729 `gdb-main-file' is nil.
15731 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15733 * align.el: Try to generate fewer markers (bug#10047).
15734 (align--set-marker): New macro.
15735 (align-region): Use it.
15737 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15739 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15741 2011-11-29 Chong Yidong <cyd@gnu.org>
15743 * indent.el (indent-for-tab-command, indent-according-to-mode):
15745 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15747 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15749 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15750 aware of remote file names. (Bug#10124)
15752 2011-11-29 Chong Yidong <cyd@gnu.org>
15754 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15756 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15758 * files.el (find-file): Don't use force-same-window (bug#10144).
15759 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15760 use pop-to-buffer if the selected window can't be used.
15761 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15763 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15765 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15768 2011-11-28 Chong Yidong <cyd@gnu.org>
15770 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15772 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15774 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15775 gdb-get-source-file-list on gdb-create-source-file-list.
15777 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15779 * whitespace.el (whitespace-newline): Use a different foreground
15780 color for 16-color light-background displays.
15782 2011-11-24 Chong Yidong <cyd@gnu.org>
15784 * window.el (display-buffer--special-action): Doc fix.
15786 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15788 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15789 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15790 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15791 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15792 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15793 (avl-tree-stack-first):
15794 * emacs-lisp/cconv.el (cconv--analyse-use):
15795 * net/gnutls.el (gnutls-negotiate): Fix typos.
15797 2011-11-24 Glenn Morris <rgm@gnu.org>
15799 * lpr.el (lpr-windows-system, lpr-lp-system):
15800 * mail/binhex.el (binhex-begin-line):
15801 * progmodes/grep.el (grep-history, grep-find-history):
15802 * textmodes/flyspell.el:
15803 * vc/pcvs-defs.el (cvs-global-menu):
15804 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15805 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15806 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15808 * net/tls.el: Fix case of "GnuTLS".
15810 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15812 * version.el (emacs-build-system): Give it a doc-string.
15814 2011-11-24 Juri Linkov <juri@jurta.org>
15816 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15818 2011-11-24 Glenn Morris <rgm@gnu.org>
15820 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15821 if called on a non-mime message just toggle the headers. (Bug#8006)
15823 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15825 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15826 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15827 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15828 (allout-rebullet-heading, allout-open-sibtopic)
15829 (allout-toggle-current-subtree-encryption)
15830 (allout-toggle-subtree-encryption, allout-encrypt-string)
15831 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15832 (allout-distinctive-bullets-string, allout-auto-activation):
15833 * window.el (window-normalize-buffer-to-display):
15834 * progmodes/verilog-mode.el (verilog-batch-indent):
15835 * textmodes/bibtex.el (bibtex-field-braces-opt)
15836 (bibtex-field-strings-opt):
15837 * vc/cvs-status.el (cvs-tree-merge):
15840 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15842 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15843 `non-essential' to t, in order to avoid remote connections.
15845 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15847 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15848 On MS-DOS and MS-Windows, compare with loaddefs.el
15849 case-insensitively.
15851 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15853 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15855 2011-11-23 Glenn Morris <rgm@gnu.org>
15857 * paths.el (rmail-file-name): Reformat the doc-string so that it
15860 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15861 (rmail-auto-file): Ignore case in the "special" field names,
15862 as mail-fetch-field does for all others.
15864 * mail/rmail.el (rmail-forward):
15865 * mail/rmailkwd.el (rmail-set-label):
15866 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15867 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15869 * mail/rmail.el (rmail-current-message): Doc fix.
15871 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15873 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15875 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15877 2011-11-22 Glenn Morris <rgm@gnu.org>
15879 * mail/rmailmm.el (test-rmail-mime-handler)
15880 (test-rmail-mime-bulk-handler)
15881 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15883 2011-11-21 Juri Linkov <juri@jurta.org>
15885 * calc/calc.el (calc-read-key-sequence):
15886 Let-bind `input-method-function' to nil. (Bug#10018)
15888 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15890 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15891 Tell the caller that the next line needs recomputation, even
15892 though it doesn't start a sexp (bug#10094).
15894 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15896 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15898 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15900 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15901 Use force-same-window.
15903 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15905 * descr-text.el (describe-char-unicode-data):
15906 * json.el (json-string-escape):
15907 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15908 (Footnote-unicode, Footnote-style-p):
15909 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15911 2011-11-20 Chong Yidong <cyd@gnu.org>
15913 * window.el (replace-buffer-in-windows): Restore interactive spec.
15915 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15917 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15919 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15920 (byte-compile-global-not-obsolete-vars): New var.
15921 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15923 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15925 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15927 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15928 * progmodes/pascal.el (electric-pascal-equal):
15929 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15930 * xml.el (xml-substitute-special): Fix typos.
15932 2011-11-20 Glenn Morris <rgm@gnu.org>
15934 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15935 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15937 (rmail-decode-mime-charset): Mark as obsolete.
15939 * mail/rmailsum.el (rmail-message-regexp-p-1):
15940 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15941 Before using mime functions, check they are set. (Bug#10077)
15943 2011-11-19 Juri Linkov <juri@jurta.org>
15945 * info.el (Info-finder-find-node): Use `package--builtins' instead
15946 of `package-alist'. Use node names formed by the pattern "Keyword "
15947 and the keyword name.
15949 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15951 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15953 2011-11-19 Juri Linkov <juri@jurta.org>
15955 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15956 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15957 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15958 `old-history', `old-history-forward'. Add let-binding
15959 `window-selected'. Remove calls to `kill-buffer',
15960 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15961 before calling `Info-find-node', so `Info-find-node-2' will reread
15962 the Info file. Restore window positions only when `window-selected'
15965 2011-11-19 Juri Linkov <juri@jurta.org>
15967 * isearch.el (isearch-lazy-highlight-new-loop):
15968 Remove condition `(not isearch-error)'. (Bug#9918)
15970 * misearch.el (multi-isearch-search-fun): Add condition
15971 `(not bound)' to ignore lazy-highlighting search.
15972 Add the search-failed message "end of multi" when the end of
15973 multi-sequence is reached. Uncapitalize the search-failed
15974 message "Repeat for next buffer".
15976 * info.el (Info-search): Add the search-failed message
15977 "end of the manual" when the end of the manual is reached
15980 2011-11-19 Juri Linkov <juri@jurta.org>
15982 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15983 Use non-destructive `remove' instead of `delete' because
15984 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15985 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15987 2011-11-19 Juri Linkov <juri@jurta.org>
15989 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15990 to nil instead of binding `search-ring' and `regexp-search-ring'.
15993 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15995 * simple.el (line-move): Force movement by logical lines for any
15996 hscrolled window, not only when auto-hscroll-mode is on.
15997 (line-move-visual): Update doc string to that effect. (Bug#10076)
15999 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16001 * language/european.el (macintosh): Define as alias for mac-roman.
16003 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16005 * mail/rmailmm.el (rmail-mime-display-header)
16006 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16007 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16008 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16009 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16010 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16012 (rmail-mime-entity-segment): To get past the tagline, move forward
16013 2 more lines, to account for the 2 empty lines that precede and
16014 follow the line with the buttons.
16015 (rmail-mime-update-tagline): Move one more line, to get past the
16016 empty line that follows the buttons in the tagline. (Bug#9520)
16018 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16020 * window.el (window-max-delta-1, window-min-delta-1)
16021 (window-min-size-1, window-state-get-1, window-state-put-1)
16022 (window-state-put-2): Use "window--" prefix.
16024 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16026 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16027 (smie-warning-count): New var.
16028 (smie-set-prec2tab): Use it.
16029 (smie-bnf->prec2): Improve warnings. Add docstring.
16030 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16031 (smie-bnf--set-class): New function.
16032 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16035 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16036 (compilation-error-properties, compilation-move-to-column):
16037 Handle compilation-first-column while in the target buffer.
16039 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16040 Don't hardcode point-min==1.
16042 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16043 (eshell-rewrite-for-command): Remove workaround.
16044 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16045 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16046 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16048 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16050 2011-11-17 Glenn Morris <rgm@gnu.org>
16052 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16053 Ignore buffer-local generated-autoload-file if it is the same
16054 as the global value. (Bug#10049)
16056 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16058 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16059 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16060 (reftex-toc-previous-heading, reftex-toc-max-level)
16061 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16062 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16063 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16064 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16065 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16066 (reftex-toc-rename-label, reftex-toc-visit-location)
16067 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16068 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16069 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16070 leaving "*toc*" only for references to the buffer.
16072 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16074 * window.el (window-resize, delete-window, split-window):
16075 Replace window-splits by window-combination-resize.
16076 * cus-start.el (window-splits): Replace by window-combination-resize.
16078 2011-11-17 Glenn Morris <rgm@gnu.org>
16080 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16081 Make bash entry derive from sh entry, not shell entry.
16083 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16085 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16088 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16090 * menu-bar.el (menu-bar-file-menu):
16091 * printing.el (pr-ps-utility):
16092 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16093 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16094 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16095 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16096 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16097 (icalendar--convert-cyclic-to-ical)
16098 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16099 (icalendar--convert-ical-to-diary)
16100 (icalendar--convert-recurring-to-diary)
16101 (icalendar--convert-non-recurring-all-day-to-diary)
16102 (icalendar-import-format-sample):
16103 * progmodes/idlw-shell.el (idlwave-shell-mode):
16104 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16105 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16106 (vhdl-ps-print-init): Fix typos.
16108 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16110 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16111 FSF and collapse date sequence, obscure author/maintainer email address
16112 better, remove extra version line, track relocation of author's webpage.
16114 * progmodes/python.el (python-pdbtrack-input-prompt)
16115 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16116 regular python pdb prompts. Adjustments shamelessly taken exactly as
16117 suggested in EmacsWiki page (tiny change):
16118 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16120 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16122 * expand.el (expand-pos, expand-index, expand-point):
16123 Remove redundant info from docstring.
16124 (expand-add-abbrevs): Doc fix.
16125 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16126 (expand-sample-perl-mode-expand-list): Fix typos.
16128 * net/dbus.el (dbus-event-member-name):
16129 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16130 * term/pc-win.el (msdos-create-frame-with-faces):
16131 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16133 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16135 * window.el (split-window, window-state-get-1)
16136 (window-state-put-1, window-state-put-2): Rename occurrences of
16137 window-nest to window-combination-limit.
16138 * cus-start.el (window-nest): Rename to window-combination-limit.
16140 2011-11-16 Chong Yidong <cyd@gnu.org>
16142 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16143 regexp (Bug#10033).
16145 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16147 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16148 `completing-read' will remove *Completions* and will preserve
16149 current-buffer for us.
16150 (tmm-add-prompt): Users of *Completions* will always (re)set its
16152 (tmm-old-comp-map): Remove.
16154 2011-11-16 Glenn Morris <rgm@gnu.org>
16156 * mail/rmailedit.el: Require rmailmm when compiling.
16157 (rmail-old-mime-state): New declaration.
16158 (rmail-edit-current-message): If editing a mime message,
16159 edit the "raw" message from the mbox buffer.
16160 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16162 2011-11-15 Glenn Morris <rgm@gnu.org>
16164 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16165 which wasn't being used. Add optional arg to force given state.
16166 (rmail-mime): Add optional arg to force given state.
16168 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16170 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16171 * frame.el (display-mm-dimensions-alist):
16172 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16173 (outline-move-subtree-down):
16174 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16175 (newsticker--treeview-do-get-node):
16176 * net/quickurl.el (quickurl-list-buffer-name):
16177 * progmodes/dcl-mode.el (dcl-mode):
16178 * progmodes/gdb-mi.el (gdb-mapcar*):
16179 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16181 2011-11-15 Glenn Morris <rgm@gnu.org>
16183 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16184 in a boolean sense, so just make it a boolean, and fix the doc.
16185 (rmail-show-mime-function, rmail-mime-feature)
16186 (rmail-require-mime-maybe): Doc fixes.
16187 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16189 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16191 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16193 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16194 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16195 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16196 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16198 2011-11-15 Glenn Morris <rgm@gnu.org>
16200 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16201 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16202 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16203 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16204 (rmail-mime, rmail-show-mime): Doc fixes.
16206 * term/ns-win.el (mode-line-frame-identification):
16207 Leave it alone. (Bug#10051)
16209 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16211 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16212 Handle empty buffers. (Bug#9978)
16214 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16216 * international/mule.el (define-charset):
16217 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16218 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16219 * progmodes/verilog-mode.el (verilog-backward-token):
16220 * textmodes/ispell.el (lookup-words):
16221 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16223 2011-11-14 Glenn Morris <rgm@gnu.org>
16225 * progmodes/executable.el
16226 (executable-make-buffer-file-executable-if-script-p):
16227 Handle file-modes returning nil.
16229 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16230 message - not necessary, and causes problems. (Bug#9831)
16232 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16234 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16236 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16237 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16238 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16240 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16242 * window.el (window-resize, delete-window): Use window-splits
16243 variable instead of function.
16244 (window-state-get-1, window-state-put-2, window-state-put):
16245 Don't deal with windows' splits status.
16247 2011-11-12 Glenn Morris <rgm@gnu.org>
16249 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16250 (apropos-documentation): Doc fixes.
16252 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16254 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16255 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16257 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16259 * electric.el (electric-indent-post-self-insert-function): Make it
16260 possible for a char to only indent in some circumstances.
16261 (electric-indent-mode): Simplify.
16263 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16265 * window.el (windows-with-parameter): Remove unused function.
16266 (windows-at-side): Rename to window-at-side-list.
16267 (window-check, window-atom-check, window-atom-check-1)
16268 (window-side-check, window-size-ignore, window-size-fixed-1)
16269 (window-in-direction-2): Prefix with "window--".
16270 (window-tree-1): Rename to window--subtree, fix doc-string.
16272 2011-11-11 Glenn Morris <rgm@gnu.org>
16274 * subr.el (eval-after-load): If FILE is already loaded,
16275 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16277 2011-11-10 Glenn Morris <rgm@gnu.org>
16279 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16280 Call svn via vc-svn-command rather than vc-do-command.
16281 (vc-svn-command): Add --non-interactive. (Bug#9993)
16282 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16285 Add toggle-read-only. (Bug#7292)
16286 * files.el (toggle-read-only): Mention that it should only
16287 be used interactively. (Bug#10006)
16289 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16291 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16292 Adjust regexp for OCaml warnings.
16294 * electric.el (electric-pair-post-self-insert-function): Let user
16295 turn it off buffer-locally (bug#9932).
16297 * progmodes/python.el (python-beginning-of-statement):
16298 Rewrite (bug#2703).
16300 * progmodes/compile.el: Better handle TABs (bug#9749).
16301 (compilation-internal-error-properties)
16302 (compilation-next-error-function): Obey the target buffer's
16303 compilation-error-screen-columns.
16305 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16307 * progmodes/meta-mode.el: Remove obsolete comments.
16308 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16309 Fix typos in docstrings.
16311 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16313 * window.el (window-size-fixed-p): Rewrite doc-string.
16314 (window-resizable-p): Rename to window--resizable-p. Update callers.
16315 (window--resizable): New function. Make all callers of
16316 window-resizable call window--resizable instead.
16317 (window-resizable): Rewrite in terms of window--resizable.
16319 2011-11-08 Glenn Morris <rgm@gnu.org>
16321 * progmodes/delphi.el (delphi-mode-syntax-table):
16322 Let define-derived-mode define a proper syntax table. (Bug#9994)
16324 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16326 * window.el: Stay away from defsubst.
16327 (window-list-no-nils): Remove.
16328 (window-state-get-1, window-state-get): Use backquote instead.
16330 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16332 * emacs-lisp/find-func.el (find-function-read):
16333 Fix incorrect use of default argument in `completing-read'.
16335 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16337 * window.el (display-buffer-function, special-display-function):
16338 Mention display-buffer-record-window but do not mention
16339 help-setup parameter in doc-strings.
16340 (window-min-delta): Fix doc-string typo.
16342 2011-11-08 Chong Yidong <cyd@gnu.org>
16344 * window.el (window-total-height, window-total-width): Doc fix.
16345 (window-body-size): Move from C.
16346 (window-body-height, window-body-width): Move to C.
16348 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16350 * window.el: Make special-display like display-buffer-alist (bug#9532).
16351 (display-buffer--special-action): New function, morphed
16352 from display-buffer--special.
16353 (display-buffer): Use it to handle special-display-buffers at higher
16354 priority (just after display-buffer-alist).
16355 (display-buffer-fallback-action, display-buffer--other-frame-action)
16356 (pop-to-buffer-same-window): Remove display-buffer--special.
16358 2011-11-07 Glenn Morris <rgm@gnu.org>
16360 * calendar/cal-menu.el (cal-menu-set-date-title):
16361 Do nothing if not in a calendar. (Bug#9976)
16363 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16365 * files.el (find-file): Always use selected-window.
16367 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16369 * window.el (window-combinations): Make WINDOW argument
16370 mandatory. Rewrite doc-string.
16371 (walk-window-subtree, window-atom-check, window-min-delta)
16372 (window-max-delta, window--resize-this-window)
16373 (window--resize-root-window-vertically, window-tree)
16374 (balance-windows, window-state-put): Rewrite doc-strings as to
16375 not mention the term "subwindow".
16376 (window--resize-subwindows-skip-p): Rename to
16377 window--resize-child-windows-skip-p.
16378 (window--resize-subwindows-normal): Rename to
16379 window--resize-child-windows-normal.
16380 (window--resize-subwindows): Rename to
16381 window--resize-child-windows.
16382 (window-or-subwindow-p): Rename to window--in-subtree-p.
16384 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16386 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16387 Ensure that mbox format messages end in two newlines (Bug#9974).
16389 2011-11-06 Chong Yidong <cyd@gnu.org>
16391 * window.el (window-combination-p): Function deleted; its
16392 side-effect is not used in any existing code.
16393 (window-combinations, window-combined-p): Call window-*-child
16396 2011-11-05 Chong Yidong <cyd@gnu.org>
16398 * window.el (window-valid-p): Rename from window-any-p.
16399 (window-size-ignore, window-state-get): Callers changed.
16400 (window-normalize-window): Rename from window-normalize-any-window.
16401 New arg LIVE-ONLY, replacing window-normalize-live-window.
16402 (window-normalize-live-window): Delete.
16403 (window-combination-p, window-combined-p, window-combinations)
16404 (walk-window-subtree, window-atom-root, window-min-size)
16405 (window-sizable, window-sizable-p, window-size-fixed-p)
16406 (window-min-delta, window-max-delta, window-resizable)
16407 (window-resizable-p, window-full-height-p, window-full-width-p)
16408 (window-current-scroll-bars, window-point-1, set-window-point-1)
16409 (window-at-side-p, window-in-direction, window-resize)
16410 (adjust-window-trailing-edge, maximize-window, minimize-window)
16411 (window-deletable-p, delete-window, delete-other-windows)
16412 (record-window-buffer, unrecord-window-buffer)
16413 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16414 (quit-window, split-window, window-state-put)
16415 (set-window-text-height, fit-window-to-buffer)
16416 (shrink-window-if-larger-than-buffer): Callers changed.
16418 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16420 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16421 rfc2047-decode-string.
16422 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16425 * window.el (window-body-height, window-body-width): Mention in
16426 the doc string that the return values are in frame's canonical
16429 2011-11-03 Alan Mackenzie <acm@muc.de>
16431 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16432 change in cc-engine.el.
16434 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16436 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16438 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16440 * window.el (quit-window): Call unrecord-window-buffer after
16441 showing another buffer in the window. (Bug#9937)
16442 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16444 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16446 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16447 Accept status with more than 9 shelves. (Bug#9935)
16448 Reported by Colin D Bennett <colin@gibibit.com>.
16450 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16452 * help.el (with-help-window): Don't reference
16453 temp-buffer-show-specifiers in doc-string.
16455 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16457 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16460 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16462 * whitespace.el: New version 13.2.2.
16463 (whitespace-newline-mode): Disable properly. Reported by Sarah
16466 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16468 * net/newst-treeview.el: Remove "Time-stamp".
16469 (newsticker--group-manage-orphan-feeds): Do not call
16470 newsticker--treeview-tree-update.
16471 (newsticker-treeview-update, newsticker-treeview):
16472 Call newsticker--treeview-tree-update if necessary.
16474 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16476 * window.el (window-iso-combination-p, window-iso-combined-p)
16477 (window-iso-combinations): Remove "iso-" infix.
16478 Suggested by Chong Yidong.
16479 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16480 (window-max-delta-1, window-resize, window--resize-siblings)
16481 (window--resize-this-window, adjust-window-trailing-edge)
16482 (split-window, balance-windows-1)
16483 (shrink-window-if-larger-than-buffer):
16484 * calendar/calendar.el (calendar-generate-window):
16485 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16487 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16489 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16490 in place (bug#9907).
16491 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16492 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16493 (eshell-structure-basic-command, eshell-rewrite-while-command)
16494 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16495 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16496 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16497 (eshell-do-pipelines-synchronously, eshell-eval-command):
16498 Use backquotes and prefer setq to set.
16499 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16500 (eshell-macrop): Use functionp.
16501 (eshell-do-eval): Handle multiple expressions in `while' body.
16503 2011-10-30 Chong Yidong <cyd@gnu.org>
16505 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16506 instead of set-mark (Bug#9810).
16508 2011-10-30 Chong Yidong <cyd@gnu.org>
16510 * window.el (split-window-below, split-window-right): Rename from
16511 split-window-above-each-other and split-window-side-by-side
16512 respectively. All callers changed.
16513 (split-window-sensibly, split-window-sensibly): Use them.
16514 (split-window-keep-point): Doc fix.
16516 * isearch.el: Add isearch-scroll property to split-window-below
16517 and split-window-right.
16519 * follow.el (follow-mode):
16520 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16521 * progmodes/ada-xref.el (ada-gdb-application):
16522 * emulation/vip.el (vip-buffer-in-two-windows):
16523 * image-dired.el (image-dired-dired-with-window-configuration):
16524 * dired-x.el (dired-do-find-marked-files):
16525 * dired.el (dired-pop-to-buffer):
16526 * bs.el (bs--show-with-configuration):
16527 * vc/emerge.el (emerge-setup-windows):
16528 * textmodes/two-column.el (2C-two-columns):
16529 * textmodes/reftex-toc.el (reftex-toc):
16530 * progmodes/gdb-mi.el (gdb-setup-windows):
16531 * progmodes/fortran.el (fortran-window-create):
16532 * net/newst-treeview.el (newsticker--treeview-window-init):
16533 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16534 * emulation/tpu-edt.el (tpu-gold-map):
16535 * emulation/crisp.el (crisp-mode-map):
16536 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16538 2011-10-29 Chong Yidong <cyd@gnu.org>
16540 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16542 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16544 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16545 forged Ispell output (Bug#7904).
16547 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16549 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16551 * doc-view.el: Avoid ugly errors about not finding nil.
16552 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16553 (doc-view-dvipdf-program, doc-view-unoconv-program)
16554 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16555 Avoid nil or absolute file name as default value.
16556 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16558 2011-10-28 Alan Mackenzie <acm@muc.de>
16560 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16562 2011-10-28 Alan Mackenzie <acm@muc.de>
16564 Amend the handling of c-beginning/end-of-defun in nested declaration
16567 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16568 cc-langs.el. Change it to a defcustom.
16570 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16573 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16574 Prevent "class foo : bar" being spuriously recognized as a label.
16576 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16577 Add parameter `inclusive' (to include enclosing braces in the region).
16578 (c-widen-to-enclosing-decl-scope): New function.
16579 (c-while-widening-to-decl-block): New macro.
16580 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16581 outward for defun boundaries, and correspondingly change symbol
16582 `respect-enclosure' to `go-outward'.
16583 (c-declaration-limits): Change algorithm to report only the "innermost"
16584 defun's boundaries.
16586 2011-10-28 Deniz Dogan <deniz@dogan.se>
16588 * net/rcirc.el (rcirc-mode): Use hard newlines.
16590 2011-10-28 Alan Mackenzie <acm@muc.de>
16592 Amend to indent and fontify macros "which include their own semicolon"
16593 correctly, using the "virtual semicolon" mechanism.
16595 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16597 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16598 Recode to scan one line at a time rather than having \n and \r
16599 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16600 (c-forward-label): Amend for virtual semicolons.
16601 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16603 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16604 of the new C macros.
16606 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16607 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16608 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16609 (c-opt-cpp-macro-define): Make into a full language variable.
16610 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16611 AWK Mode (including \n, \r) removed, no longer needed.
16613 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16614 Invoke c-make-macro-with-semi-re.
16616 * progmodes/cc-vars.el (c-macro-with-semi-re):
16617 (c-macro-names-with-semicolon): New variables.
16618 (c-make-macro-with-semi-re): New function.
16620 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16622 * vc/log-edit.el: Fill empty field rather than adding new one.
16623 (log-edit-add-field): New function.
16624 (log-edit-insert-changelog): Use it.
16626 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16628 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16630 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16632 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16633 (gdb--check-interpreter): New function.
16636 2011-10-27 Glenn Morris <rgm@gnu.org>
16638 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16639 (least-positive-float, least-negative-float)
16640 (least-positive-normalized-float, least-negative-normalized-float)
16641 (float-epsilon, float-negative-epsilon):
16642 Remove unnecessary declarations.
16644 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16645 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16646 (least-positive-float, least-negative-float)
16647 (least-positive-normalized-float, least-negative-normalized-float)
16648 (float-epsilon, float-negative-epsilon): Add doc-strings,
16649 based on those in cl.texi.
16651 * files.el (set-visited-file-name): If the major-mode changed,
16652 reload the local variables. (Bug#9796)
16654 2011-10-27 Chong Yidong <cyd@gnu.org>
16656 * subr.el (change-major-mode-after-body-hook): New hook.
16657 (run-mode-hooks): Run it.
16659 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16660 Use change-major-mode-before-body-hook.
16662 * simple.el (fundamental-mode):
16663 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16664 change introducing fundamental-mode-hook.
16666 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16668 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16670 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16672 * ido.el (ido-file-name-all-completions-1): Do not require
16673 tramp.el explicitly. (Bug#7583)
16675 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16677 * progmodes/octave-mod.el:
16678 * progmodes/octave-inf.el: Update maintainer.
16680 2011-10-26 Chong Yidong <cyd@gnu.org>
16682 * subr.el (with-wrapper-hook): Rewrite doc.
16684 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16686 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16687 filenames "/method:foo:". (Bug#9793)
16689 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16691 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16694 2011-10-24 Glenn Morris <rgm@gnu.org>
16696 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16698 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16700 * notifications.el: Add the requirement of a running D-Bus session
16701 bus to the Commentary.
16703 2011-10-24 Juri Linkov <juri@jurta.org>
16705 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16706 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16709 2011-10-24 Juri Linkov <juri@jurta.org>
16711 * info.el (Info-following-node-name-re): Add newline to the list
16712 of allowed characters for leading space. (Bug#9824)
16714 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16716 * progmodes/octave-inf.el (inferior-octave-mode-map):
16717 Fix C-c C-h binding.
16718 * progmodes/octave-mod.el (octave-help): Remove.
16720 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16722 Sync with Tramp 2.2.3.
16724 * net/tramp-cache.el (top): Pacify byte-compiler using
16725 `init-file-user' and `site-run-file'.
16727 * net/trampver.el: Update release number.
16729 2011-10-23 Chong Yidong <cyd@gnu.org>
16731 * files.el (toggle-read-only): Remove obsolete comment about
16734 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16735 for toggle-read-only. Note that this hasn't called vc-next-action
16736 since 2008-05-02, though it wasn't documented at the time.
16738 * vc/ediff-init.el (ediff-toggle-read-only-function):
16739 Use toggle-read-only.
16741 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16743 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16746 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16747 correct faulty logical expression.
16748 (c-parse-state-state, c-record-parse-state-state):
16749 (c-replay-parse-state-state): New defvar/defuns.
16750 (c-debug-parse-state): Use new functions.
16752 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16754 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16755 last fix. Use window-in-direction correctly.
16757 2011-10-21 Chong Yidong <cyd@gnu.org>
16759 * progmodes/idlwave.el (idlwave-mode):
16760 * progmodes/vera-mode.el (vera-mode): No need to set
16761 require-final-newline; that's done in prog-mode.
16762 Suggested by Stefan Monnier.
16764 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16766 * mouse.el (mouse-drag-window-above)
16767 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16768 (mouse-drag-mode-line-1, mouse-drag-header-line)
16769 (mouse-drag-vertical-line-rightward-window): Remove.
16770 (mouse-drag-line): New function.
16771 (mouse-drag-mode-line, mouse-drag-header-line)
16772 (mouse-drag-vertical-line): Call mouse-drag-line.
16773 * window.el (window-at-side-p, windows-at-side): New functions.
16775 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16777 * tar-mode.el (tar-grind-file-mode):
16778 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16780 2011-10-21 Chong Yidong <cyd@gnu.org>
16782 * progmodes/idlwave.el (idlwave-mode):
16783 * progmodes/vera-mode.el (vera-mode):
16784 Use mode-require-final-newline.
16786 2011-10-20 Glenn Morris <rgm@gnu.org>
16788 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16790 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16792 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16794 2011-10-20 Chong Yidong <cyd@gnu.org>
16796 * emulation/cua-base.el (cua-mode):
16797 * mail/footnote.el (footnote-mode):
16798 * mail/mailabbrev.el (mail-abbrevs-mode):
16799 * net/xesam.el (xesam-minor-mode):
16800 * progmodes/bug-reference.el (bug-reference-mode):
16801 * progmodes/cap-words.el (capitalized-words-mode):
16802 * progmodes/compile.el (compilation-minor-mode)
16803 (compilation-shell-minor-mode):
16804 * progmodes/gud.el (gud-tooltip-mode):
16805 * progmodes/hideif.el (hide-ifdef-mode):
16806 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16807 * progmodes/subword.el (subword-mode):
16808 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16809 * progmodes/which-func.el (which-function-mode):
16810 * term/tvi970.el (tvi970-set-keypad-mode):
16811 * term/vt100.el (vt100-wide-mode):
16812 * textmodes/flyspell.el (flyspell-mode):
16813 * textmodes/ispell.el (ispell-minor-mode):
16814 * textmodes/nroff-mode.el (nroff-electric-mode):
16815 * textmodes/paragraphs.el (use-hard-newlines):
16816 * textmodes/refill.el (refill-mode):
16817 * textmodes/reftex.el (reftex-mode):
16818 * textmodes/rst.el (rst-minor-mode):
16819 * textmodes/sgml-mode.el (html-autoview-mode)
16820 (sgml-electric-tag-pair-mode):
16821 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16822 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16823 * emulation/crisp.el (crisp-mode):
16824 * emacs-lisp/eldoc.el (eldoc-mode):
16825 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16826 minor mode behavior.
16828 2011-10-19 Juri Linkov <juri@jurta.org>
16830 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16831 the list of hard-coded chars with escape-glyph face.
16833 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16835 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16837 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16839 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16842 2011-10-19 Glenn Morris <rgm@gnu.org>
16844 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16845 Ignore ignored files. (Bug#9726)
16847 2011-10-19 Chong Yidong <cyd@gnu.org>
16849 Doc fix for minor modes, stating that an omitted argument enables
16850 the mode unconditionally when called from Lisp.
16852 * abbrev.el (abbrev-mode):
16853 * allout.el (allout-mode):
16854 * autoinsert.el (auto-insert-mode):
16855 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16856 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16857 (global-auto-revert-mode):
16858 * battery.el (display-battery-mode):
16859 * composite.el (global-auto-composition-mode)
16860 (auto-composition-mode):
16861 * delsel.el (delete-selection-mode):
16862 * desktop.el (desktop-save-mode):
16863 * dired-x.el (dired-omit-mode):
16864 * dirtrack.el (dirtrack-mode):
16865 * doc-view.el (doc-view-minor-mode):
16866 * double.el (double-mode):
16867 * electric.el (electric-indent-mode, electric-pair-mode):
16868 * emacs-lock.el (emacs-lock-mode):
16869 * epa-hook.el (auto-encryption-mode):
16870 * follow.el (follow-mode):
16871 * font-core.el (font-lock-mode):
16872 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16873 * help.el (temp-buffer-resize-mode):
16874 * hilit-chg.el (highlight-changes-mode)
16875 (highlight-changes-visible-mode):
16876 * hi-lock.el (hi-lock-mode):
16877 * hl-line.el (hl-line-mode, global-hl-line-mode):
16878 * icomplete.el (icomplete-mode):
16879 * ido.el (ido-everywhere):
16880 * image-file.el (auto-image-file-mode):
16881 * image-mode.el (image-minor-mode):
16882 * iswitchb.el (iswitchb-mode):
16883 * jka-cmpr-hook.el (auto-compression-mode):
16884 * linum.el (linum-mode):
16885 * longlines.el (longlines-mode):
16886 * master.el (master-mode):
16887 * mb-depth.el (minibuffer-depth-indicate-mode):
16888 * menu-bar.el (menu-bar-mode):
16889 * minibuf-eldef.el (minibuffer-electric-default-mode):
16890 * mouse-sel.el (mouse-sel-mode):
16891 * msb.el (msb-mode):
16892 * mwheel.el (mouse-wheel-mode):
16893 * outline.el (outline-minor-mode):
16894 * paren.el (show-paren-mode):
16895 * recentf.el (recentf-mode):
16896 * reveal.el (reveal-mode, global-reveal-mode):
16897 * rfn-eshadow.el (file-name-shadow-mode):
16898 * ruler-mode.el (ruler-mode):
16899 * savehist.el (savehist-mode):
16900 * scroll-all.el (scroll-all-mode):
16901 * scroll-bar.el (scroll-bar-mode):
16902 * server.el (server-mode):
16903 * shell.el (shell-dirtrack-mode):
16904 * simple.el (auto-fill-mode, transient-mark-mode)
16905 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16906 (line-number-mode, column-number-mode, size-indication-mode)
16907 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16908 * strokes.el (strokes-mode):
16909 * time.el (display-time-mode):
16910 * t-mouse.el (gpm-mouse-mode):
16911 * tool-bar.el (tool-bar-mode):
16912 * tooltip.el (tooltip-mode):
16913 * type-break.el (type-break-mode-line-message-mode)
16914 (type-break-query-mode):
16915 * view.el (view-mode):
16916 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16917 (global-whitespace-mode, global-whitespace-newline-mode):
16918 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16920 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16921 Fix autogenerated docstring.
16923 2011-10-19 Juri Linkov <juri@jurta.org>
16925 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16926 by checking environment variables "DESKTOP_SESSION" and
16927 "XDG_CURRENT_DESKTOP". (Bug#9779)
16929 2011-10-19 Juri Linkov <juri@jurta.org>
16931 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16932 (browse-url-chromium-program, browse-url-chromium-arguments):
16934 (browse-url-default-browser): Check for `browse-url-chromium' and
16935 call `browse-url-chromium-program'.
16936 (browse-url-chromium): New command. (Bug#9779)
16938 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16940 * facemenu.el (list-colors-duplicates): On Windows, detect more
16941 duplicates by assuming that only colors matching "^System" are
16942 special "system colors". (Bug#9722)
16944 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16946 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16947 to distinguish the author from the committer.
16949 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16951 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16953 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16955 * international/mule.el (sgml-html-meta-auto-coding-function):
16956 Add support for detecting encoding in HTML5 specified only as
16957 <meta charset="UTF-8">. Implementation just makes http-equiv and
16958 content-type parts from HTML4 encoding string optional. (Bug#9716)
16960 2011-10-18 Glenn Morris <rgm@gnu.org>
16962 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16964 2011-10-18 Chong Yidong <cyd@gnu.org>
16966 * faces.el (cursor): Doc fix.
16968 2011-10-17 Chong Yidong <cyd@gnu.org>
16970 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16972 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16974 * dirtrack.el (dirtrack): Support shell buffers with path
16975 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16977 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16979 * json.el: Bump version to 1.3 and note change in History.
16980 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16982 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16984 * comint.el (comint-insert-input, comint-send-input)
16985 (comint-get-old-input-default, comint-backward-matching-input)
16986 (comint-next-prompt): Use nil instead of `input' for field property of
16987 past user input (bug#114).
16989 * minibuffer.el (completion--replace): Inherit surrounding properties
16991 (minibuffer-complete-and-exit): Use it.
16993 * comint.el (comint--table-subvert): Quote the all-completions output
16996 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16998 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17000 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17001 window on right of selected. (Bug#9350) Reword other window
17002 entries and separate them from frame entries.
17004 2011-10-15 Glenn Morris <rgm@gnu.org>
17006 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17009 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17011 * net/network-stream.el (network-stream-open-starttls):
17012 Improve detection of failure due to lack of TLS support.
17014 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17015 putting the input text in front and in bold.
17017 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17019 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17021 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17024 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17025 unread-command-events rather than pushing yet-another event.
17027 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17029 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17030 the explanation of the possible choices. Make the options passed
17031 to completing-read shorter.
17033 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17035 * textmodes/flyspell.el (flyspell-large-region): Make sure
17036 extended character mode is used if defined (Bug#1339).
17038 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17040 * simple.el (what-cursor-position): Fix the display of the
17041 character info for LRE, LRO, RLE, and RLO characters by appending
17044 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17046 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17047 even in case of error; add debug spec; simplify data flow.
17048 (with-timeout-handler): Remove.
17050 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17052 Fix Bug#6019, Bug#9315.
17054 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17055 complete `buffer-file-name', the local file name part could look
17056 remotely (for example on VMS).
17058 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17059 `tramp-run-real-handler'.
17060 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17061 already quoted by '"'.
17063 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17064 Let `file-name-handler-alist' be nil, the local file name part
17065 could look remotely (for example on VMS).
17067 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17069 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17071 (flyspell-post-command-hook): ...to here.
17073 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17075 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17077 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17078 using completion. Protect against "slow" callers.
17079 Remove the "message hack".
17081 2011-10-11 Juri Linkov <juri@jurta.org>
17083 * isearch.el (isearch-lazy-highlight-word): New variable.
17084 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17087 2011-10-11 Glenn Morris <rgm@gnu.org>
17089 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17090 like f90-previous-statement does.
17092 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17094 * eshell/eshell.el (eshell-command): History should be saved
17095 only in interactive use, to avoid error.
17097 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17099 * minibuffer.el (completion-file-name-table): Fix last change,
17100 i.e. ignore normal errors but not the other ones.
17102 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17104 * window.el (special-display-buffer-names)
17105 (special-display-regexps): Remove some remnants of earlier
17106 changes from doc-strings.
17107 (quit-windows-on): New function.
17109 * vc/vc.el (vc-revert, vc-rollback):
17110 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17111 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17112 (Bug#6183) (Bug#7074) (Bug#7447)
17114 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17116 * window.el (frame-auto-hide-function): Add version tag.
17119 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17121 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17124 2011-10-09 Leo Liu <sdl.web@gmail.com>
17126 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17129 2011-10-08 Glenn Morris <rgm@gnu.org>
17131 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17132 before the first code statement zero indent. (Bug#9690)
17134 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17136 * simple.el (count-words-region): Always count in the region.
17137 Report the number of lines and characters too.
17138 (count-words): New command, which counts in the buffer if the
17139 region is inactive, as count-words-region used to.
17140 (count-words--message): New function. Handle plurals.
17141 (count-lines-region): Make it an alias for count-words-region.
17143 * bindings.el (esc-map): Replace count-lines-region with
17144 count-words-region.
17146 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17148 * window.el (window--delete): Delete dedicated frame
17149 unconditionally when argument KILL is non-nil. (Bug#9699)
17150 (switch-to-buffer): Fix doc-string typo.
17152 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17154 * eshell/eshell.el (eshell-command): Avoid using hooks.
17156 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17158 * bindings.el ([M-left],[M-right]): Bind to left-word and
17159 right-word respectively.
17161 2011-10-07 Glenn Morris <rgm@gnu.org>
17163 * cus-start.el (debug-on-quit): Fix custom type.
17165 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17167 * subr.el (define-key-after): Clarify that the function is not
17168 useful for non-menu keymaps.
17170 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17172 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17174 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17175 in current minibuffer (Fix bug with recursive minibuffers).
17177 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17179 * progmodes/gdb-mi.el (gdb): Doc fix.
17181 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17183 * window.el (frame-auto-hide-function): New option replacing
17184 frame-auto-delete. Suggested by Stefan Monnier.
17185 (window--delete): Call frame-auto-hide-function instead of
17186 investigating frame-auto-delete.
17187 (window-point-1, set-window-point-1): New functions.
17188 (window-in-direction, record-window-buffer, window-state-get-1)
17189 (display-buffer-record-window): Use window-point-1 instead of
17191 (set-window-buffer-start-and-point): Use set-window-point-1.
17193 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17195 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17197 2011-10-05 Glenn Morris <rgm@gnu.org>
17199 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17200 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17202 2011-10-05 Leo Liu <sdl.web@gmail.com>
17204 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17205 works with buffer object.
17207 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17209 * mpc.el (mpc-tool-bar-map): Add labels.
17211 2011-10-04 Glenn Morris <rgm@gnu.org>
17213 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17215 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17217 * window.el (window--delete): New function.
17218 (frame-auto-delete): Resuscitate option.
17219 (bury-buffer, replace-buffer-in-windows)
17220 (quit-window): Rewrite using window--delete.
17221 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17222 Pass display-buffer-mark-dedicated to window--display-buffer-2
17225 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17227 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17228 returns a list (bug#9554). Add remote file name completion.
17229 * comint.el (comint--table-subvert): Curry and get quote&unquote
17230 functions as arguments.
17231 (comint--complete-file-name-data): Adjust call accordingly.
17232 * pcomplete.el (pcomplete--table-subvert): Remove.
17233 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17235 * minibuffer.el (completion-table-case-fold): Use currying.
17236 (completion--styles-type, completion--cycling-threshold-type):
17238 (completion-styles, completion-category-overrides)
17239 (completion-cycle-threshold): Use them.
17240 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17241 completion-table-case-fold.
17243 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17245 * minibuffer.el (completion-category-overrides): Fix type of styles
17246 and add more user friendly tags (bug#9660).
17248 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17250 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17251 (mule-input-method-string): New widget.
17252 (default-input-method, language-info-custom-alist): Use it.
17254 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17256 * pcomplete.el: Require comint.
17257 (pcomplete--common-suffix): Remove.
17258 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17259 (pcomplete--table-subvert): Sync with comint--table-subvert.
17260 (pcomplete--entries): Use comint-completion-file-name-table.
17261 * comint.el (comint-unquote-filename): Simplify.
17262 (comint-completion-file-name-table): New function (bug#9616).
17263 (comint--complete-file-name-data): Use it.
17265 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17266 (pcmpl-gnu-tar-buffer): Remove.
17267 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17268 around. Make sure pcomplete-suffix-list is only changed temporarily.
17269 Don't look inside the tar's file if it's too large.
17271 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17273 * cus-edit.el (custom-mode-map):
17274 * epa.el (epa-key-list-mode-map):
17275 * man.el (Man-mode-map):
17276 * startup.el (splash-screen-keymap):
17277 * simple.el (special-mode-map): Use scroll-up-command and
17278 scroll-down-command.
17280 * progmodes/idlw-help.el (idlwave-help-mode-map):
17281 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17282 * net/newst-plainview.el (newsticker-mode-map):
17283 * emulation/ws-mode.el (wordstar-mode-map):
17284 * emulation/vi.el (vi-com-map):
17285 * calc/calc-graph.el (calc-graph-show-dumb):
17286 * term/sun.el (terminal-init-sun):
17287 * term/ns-win.el (global-map):
17288 * progmodes/grep.el (grep-mode-map):
17289 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17290 * mail/rmail.el (rmail-mode-map):
17291 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17293 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17294 custom-safe-themes as special.
17296 2011-10-01 Julien Danjou <julien@danjou.info>
17298 * notifications.el (notifications-notify): Fix docstring.
17300 2011-10-01 Per Starbäck <per@starback.se>
17302 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17304 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17306 * startup.el (command-line-1): Fix last fix by inserting
17307 initial-scratch-message into *scratch* before displaying it.
17308 (Bug#9605) and (Bug#9636)
17310 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17312 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17313 window is hscrolled, move by logical lines. (Bug#9607)
17314 (line-move-visual): Update the doc string to the above effect.
17316 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17318 * window.el (display-buffer-record-window): When WINDOW is the
17319 selected window use `point' instead of `window-point'. (Bug#9626)
17321 * startup.el (command-line-1): Use insert-before-markers when
17322 inserting initial-scratch-message. (Bug#9605)
17324 * help.el (help-window): Remove variable.
17326 2011-09-29 Glenn Morris <rgm@gnu.org>
17328 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17330 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17332 * descr-text.el (describe-char-categories): Accept category
17333 descriptions more than one line long.
17335 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17337 * simple.el (delete-trailing-whitespace): Fix last change.
17339 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17340 Don't confuse "y => 3" as the beginning of a `y' operation.
17342 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17343 object has more than 4 slots (bug#9613).
17345 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17347 * subr.el (with-output-to-temp-buffer):
17348 * net/quickurl.el (quickurl, quickurl-browse-url):
17349 Fix typos in docstrings.
17351 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17353 * minibuffer.el (completion-styles)
17354 (completion-category-overrides): Cross reference each other in doc
17357 2011-09-27 Glenn Morris <rgm@gnu.org>
17359 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17360 to split-string. (Bug#9606)
17362 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17364 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17367 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17369 * emacs-lisp/package.el (list-packages): Fix echo area message.
17371 2011-09-27 Leo Liu <sdl.web@gmail.com>
17373 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17375 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17377 * net/dbus.el (dbus-unregister-object): Don't release services for
17378 registered signals. (Bug#9581)
17380 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17382 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17383 function that picks between cfengine 2 and 3 support
17384 automatically. Update docs accordingly.
17386 2011-09-22 Kenichi Handa <handa@m17n.org>
17388 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17390 (indian-itrans-v5-table-for-tamil): New variable.
17391 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17393 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17395 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17396 that's true if the current command involved collapsing of text.
17397 It's reset to false at the beginning of the next command.
17398 (allout-post-command-business): Move the cursor to the beginning
17399 of entry if the cursor is hidden and collapsing activity just
17402 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17404 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17405 tracking (Bug#9541).
17407 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17409 * net/newst-reader.el (newsticker-html-renderer)
17410 (newsticker-show-news): Automatically load html rendering package
17411 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17412 because w3m-fill-column is let-bound" and the error "Symbol's value
17413 as variable is void: w3m-fill-column".
17415 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17417 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17418 Release services only if they are defined. (Bug#9581)
17420 2011-09-23 Richard Stallman <rms@gnu.org>
17422 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17423 distinguish start of paragraph from start of its text.
17425 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17427 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17428 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17429 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17431 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17433 * international/mule-diag.el (mule-diag): Insert a newline after
17434 each fontset description.
17436 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17438 * simple.el (delete-trailing-whitespace):
17439 Document last change; simplify.
17441 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17443 * simple.el (delete-trailing-whitespace): Also delete
17444 extra newlines at the end of the buffer.
17446 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17447 (picture-newline): Use forward-line so as to ignore fields.
17449 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17451 * subr.el (with-wrapper-hook): Fix edebug spec.
17453 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17455 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17458 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17460 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17461 Fix nasty bug using wrong cached values.
17463 2011-09-23 Alan Mackenzie <acm@muc.de>
17465 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17467 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17469 * window.el (pop-to-buffer): Ensure right window is selected if we
17470 chose another frame.
17472 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17474 * simple.el (what-cursor-position): Use get-char-property-change
17475 and next-single-char-property-change, to be able to show display
17476 properties that come from overlays as well as text properties.
17478 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17480 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17482 * cmuscheme.el (run-scheme, switch-to-scheme):
17483 * cus-edit.el (customize-group, custom-buffer-create)
17484 (customize-browse):
17486 * shell.el (shell):
17487 * mail/sendmail.el (mail):
17488 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17490 2011-09-22 Richard Stallman <rms@gnu.org>
17492 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17493 move back only to line beg, don't move back over blank lines.
17495 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17497 * files.el (copy-directory): Set directory attributes only in case
17498 they could be retrieved from the source directory. (Bug#9565)
17500 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17502 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17503 (hs-find-block-beginning, hs-hide-level-recursive):
17504 Ignore strings as well as comments. (Bug#9502)
17506 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17508 * progmodes/sql.el (sql-comint-postgres):
17509 Convert port number to a string. (Bug#9566)
17511 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17513 * window.el (quit-window): Undedicate window when switching to
17514 previous buffer. Reported by Thierry Volpiatto
17515 <thierry.volpiatto@gmail.com>.
17516 (special-display-popup-frame): When popping up a new frame reset
17517 its previous buffers to nil. Simplify code.
17519 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17521 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17522 and process filter, as done also in `shell-command'.
17524 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17526 * window.el (set-window-buffer-start-and-point):
17527 Call set-window-start with NOFORCE argument t.
17528 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17529 (quit-window): Reword doc-string. Handle new format of
17530 quit-restore parameter. Don't delete window if it has a
17531 previous buffer we can show instead of the present one.
17532 (display-buffer-record-window): Rewrite using a new format for
17533 the quit-restore window parameter
17534 (special-display-popup-frame, display-buffer-same-window)
17535 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17536 (display-buffer-pop-up-window, display-buffer-use-some-window):
17537 Adapt symbol passed to display-buffer-record-window.
17538 * help.el (help-window-setup): Handle new format of quit-restore
17541 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17543 * faces.el (face-list): Fix docstring (bug#9564).
17545 * window.el (display-buffer--action-function-custom-type):
17546 Don't include internal functions in the Custom interface.
17548 2011-09-20 Juri Linkov <juri@jurta.org>
17550 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17551 (Info-forward-node, Info-backward-node, Info-next-preorder)
17552 (Info-last-preorder): Use it. (Bug#9528)
17554 2011-09-20 Juri Linkov <juri@jurta.org>
17556 * info.el (Info-last-preorder): Visit last menu item only when
17557 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17559 2011-09-20 Julien Danjou <julien@danjou.info>
17561 * password-cache.el (password-cache-remove): Remove entries even if the
17562 value is nil, so that password with a nil value (negative caching) is
17563 possible to invalidate.
17565 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17567 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17568 all whitespace around breakpoint. (Bug#9553)
17569 (f90-find-breakpoint): Only break at whitespace inside a comment.
17571 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17573 * minibuffer.el (completion-file-name-table): Keep track of errors.
17574 (completion-table-with-predicate): Handle the case where pred1 is nil.
17575 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17577 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17579 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17580 (debugger-return-value): Signal an error if the debugging context does
17581 not await any return value.
17583 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17584 * image-mode.el (image-toggle-display-text)
17585 (image-toggle-display-image): Stay away from evil `intangible'.
17587 2011-09-19 Leo Liu <sdl.web@gmail.com>
17589 * replace.el (occur-revert-arguments): Make it permanent-local.
17590 (occur-mode): Don't call font-lock-defontify.
17592 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17594 * net/ldap.el (ldap-search-internal): Don't push empty search
17597 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17599 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17601 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17603 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17604 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17606 2011-09-18 Juri Linkov <juri@jurta.org>
17608 * buff-menu.el (Buffer-menu-mode-map):
17609 * dired.el (dired-mode-map):
17610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17611 (lisp-interaction-mode-map):
17612 * emacs-lisp/package.el (package-menu-mode-map):
17613 * epa.el (epa-key-list-mode-map):
17614 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17615 (menu-bar-options-menu):
17616 * outline.el (outline-mode-menu-bar-map):
17617 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17618 * vc/vc-dir.el (vc-dir-menu-map):
17619 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17620 Capitalize non-function content words in menu item strings.
17622 * dired.el (dired-mode-map): Add menu item for
17623 `image-dired-dired-toggle-marked-thumbs'.
17625 2011-09-18 Juri Linkov <juri@jurta.org>
17627 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17628 to `isearch-case-fold-search' and restore its original value
17629 after the `isearch-mode' call.
17631 2011-09-18 Juri Linkov <juri@jurta.org>
17633 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17634 because `zgrep' returns 1 for successful matches (bug#9226).
17636 2011-09-18 Juri Linkov <juri@jurta.org>
17638 * info.el (Info-extract-menu-node-name): Check the second match
17639 for empty string (second test-case of bug#9528).
17640 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17641 intermediate nodes to the history (first test-case of bug#9528).
17643 2011-09-18 Juri Linkov <juri@jurta.org>
17645 * info.el (Info-mode-syntax-table): New variable.
17646 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17648 2011-09-18 Juri Linkov <juri@jurta.org>
17650 * info.el (Info-file-supports-index-cookies):
17651 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17652 outputs one more line for long file names (bug#4142).
17654 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17656 * newcomment.el (comment-normalize-vars): If prompting for
17657 comment-start, set comment-start-skip too (Bug#8424).
17659 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17661 * icomplete.el: Fix previous fix of Bug#5849.
17662 (icomplete-mode): Don't set completion-show-inline-help.
17663 (icomplete-minibuffer-setup): Set completion-show-inline-help
17664 locally during icompletion.
17666 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17668 * woman.el (woman2-process-escapes): Don't delete unrecognized
17669 escapes (Bug#7843).
17671 * files.el (inhibit-first-line-modes-regexps): Add image files.
17672 (hack-local-variables-prop-line): Return nil for malformed
17673 prop-lines (Bug#9044).
17675 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17677 * net/tramp.el (top): Don't require 'shell.
17678 (tramp-methods): Fix docstring.
17679 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17680 Return complete remote file name. Handle "smb" case.
17681 Use `tramp-tmpdir', if defined for the respective method.
17682 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17684 * net/tramp-compat.el (top): Require 'shell.
17686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17687 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17688 `tramp-current-host'.
17689 (tramp-get-remote-tmpdir): Remove.
17691 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17692 `tramp-tmpdir' entries.
17693 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17694 (tramp-smb-handle-file-attributes): Ignore errors.
17695 (tramp-smb-wait-for-output): Check also for process end.
17697 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17699 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17700 when sending QUIT (bug#9312).
17702 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17704 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17705 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17706 occur-mode-display-occurrence.
17707 (occur-edit-mode): Add usage message.
17708 (occur-cease-edit): New command.
17709 (occur-after-change-function): Use text properties to find the
17710 position of the prefix text.
17711 (occur-engine): Set stickiness of prefix text properties.
17713 2011-09-17 Glenn Morris <rgm@gnu.org>
17715 * progmodes/etags.el (complete-tag):
17716 Fix call to completion-in-region. (Bug#9526)
17718 2011-09-17 Juri Linkov <juri@jurta.org>
17720 * textmodes/ispell.el (ispell-word): Add to the error message
17721 the word, ispell program name and current dictionary (bug#9121).
17722 (ispell-tex-arg-end): Capitalize "error" in the error message.
17724 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17726 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17729 2011-09-17 Juri Linkov <juri@jurta.org>
17731 * window.el (window-safe-min-height, window-safe-min-width):
17732 Fix typos (followup to bug#9522).
17734 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17736 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17738 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17740 * simple.el (line-move): If goal-column is set, move by logical
17741 lines, not by display lines. (Bug#971)
17742 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17743 to reflect the above change.
17745 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17747 * image.el (imagemagick-register-types): Use regexp-opt.
17749 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17751 * window.el (display-buffer-base-action): Rename from
17752 display-buffer-default-action. Make default value empty.
17753 (display-buffer-overriding-action): Convert to defvar.
17754 (display-buffer-fallback-action): New var.
17756 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17758 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17760 (package--add-to-archive-contents): If there is a duplicate entry
17761 with an older version, remove it.
17762 (package-menu-mark-delete, package-menu-mark-install)
17763 (package-menu-mark-unmark): Make unused args optional.
17764 (package-menu-mark-obsolete-for-deletion):
17765 Use package-menu-get-status instead of a regexp search.
17766 (package-menu-get-status): Use tabulated-list-entry.
17767 (package-menu-mark-upgrades): New command.
17768 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17769 (package-menu-execute): Do installation before deletion.
17770 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17771 instead of checking major-mode.
17772 (package-menu--find-upgrades): New function.
17774 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17776 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17777 passwords in the log buffer.
17778 (smtpmail-process-filter): Update the process marker so that the
17779 "broken by peer" status message is inserted in the right place.
17781 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17783 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17784 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17785 bibtex-completion-at-point-function.
17786 (bibtex-completion-at-point-function): Use them.
17788 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17790 * mpc.el (mpc-constraints-tag-lookup): New function.
17791 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17792 also to browser "album|playlist".
17794 2011-09-14 Juri Linkov <juri@jurta.org>
17796 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17797 (isearch-edit-string): Use length of `isearch-string' when
17798 `isearch-fail-pos' returns nil.
17799 (isearch-message): Remove duplicate code and call
17800 `isearch-fail-pos' with arg `t'.
17802 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17804 * replace.el (occur-mode-goto-occurrence): Don't force using other
17807 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17809 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17811 * window.el (display-buffer-window): Remove.
17812 (display-buffer-record-window): Use help-setup window parameter
17813 instead of variable display-buffer-window.
17814 (display-buffer-function, special-display-buffer-names)
17815 (special-display-function): Mention help-setup parameter instead
17816 of display-buffer-window in doc-string.
17817 * help.el (help-window-setup): New argument help-window.
17818 Use help-window-setup parameter instead of display-buffer-window.
17819 Reword some messages.
17820 (with-help-window): Pass window used for displaying the buffer
17821 to help-window-setup. Don't set display-buffer-window.
17823 2011-09-13 Glenn Morris <rgm@gnu.org>
17825 * emacs-lisp/debug.el (debugger-make-xrefs):
17826 Preserve point. (Bug#9462)
17828 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17830 * window.el (window-deletable-p): Use next-frame.
17832 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17834 * window.el (window-auto-delete): Remove.
17835 (window-deletable-p): Remove argument FORCE. Don't deal with
17836 dedication and previous buffers.
17837 (switch-to-prev-buffer): Don't delete window.
17838 (delete-windows-on): Delete a window's frame if and only if the
17839 window is dedicated.
17840 (replace-buffer-in-windows): Delete buffer's window or frame if
17841 and only if window is dedicated.
17842 (quit-window): Handle quit-restore as before last change.
17843 (bury-buffer): Delete window only if window-deletable-p returns t.
17845 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17847 * window.el (window-deletable-p): Never delete the last frame on a
17850 2011-09-13 Glenn Morris <rgm@gnu.org>
17852 * help.el (describe-key-briefly): Copy previous standard-output change.
17854 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17856 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17858 2011-09-13 Glenn Morris <rgm@gnu.org>
17860 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17861 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17863 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17865 * dired-aux.el (dired-mark-read-string): Don't return default
17866 value on empty input (Bug#9361).
17867 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17868 Omit initial minibuffer contents.
17869 (dired-do-chmod): Signal an error on empty input.
17870 (dired-mark-read-string): Don't return default on empty input.
17872 * files.el (file-modes-symbolic-to-number): Doc fix.
17874 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17876 * international/mule-cmds.el (ucs-completions): Remove.
17877 (read-char-by-name): Use complete-with-action instead; add metadata.
17879 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17881 * window.el (display-buffer--action-function-custom-type)
17882 (display-buffer--action-custom-type): New vars.
17883 (display-buffer-alist, display-buffer-default-action)
17884 (display-buffer-overriding-action): Add defcustom types.
17886 * frame.el (delete-other-frames): Doc fix (Bug#276).
17888 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17890 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17892 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17894 Change modes that used same-window-* vars to use switch-to-buffer.
17896 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17897 Use switch-to-buffer.
17899 * cus-edit.el (customize-group, custom-buffer-create)
17900 (customize-browse, custom-buffer-create-other-window):
17901 Use switch-to-buffer or switch-to-buffer-other-window.
17903 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17904 (Info-prev, Info-up, Info-speedbar-goto-node)
17905 (info-display-manual): Use switch-to-buffer.
17906 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17908 * mail/sendmail.el (mail): Use switch-to-buffer.
17909 (mail-recover): Use switch-to-buffer-other-window.
17911 * cmuscheme.el (run-scheme, switch-to-scheme):
17913 * shell.el (shell):
17914 * net/rlogin.el (rlogin):
17915 * net/telnet.el (telnet, rsh):
17916 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17918 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17920 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17922 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17924 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17925 so don't mention it (bug#9301).
17926 (dired-sort-toggle-or-edit): Clarify string further.
17928 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17929 match `x', `w32' and `ns', like the manual says (bug#9029).
17931 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17932 (process-kill-buffer-query-function): Mention the buffer name in
17935 * image-mode.el (image-next-line): The line parameter is mandatory
17938 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17939 which can be useful (bug#9301).
17941 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17943 * subr.el (match-string): Mention that the current buffer should
17944 be the same as the search was done in (bug#9282).
17946 * facemenu.el: Disable the remove-* commands if the mark isn't
17949 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17951 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17953 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17955 * replace.el (occur-mode-goto-occurrence)
17956 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17957 and display-buffer.
17959 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17962 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17963 special-display and same-window variables.
17964 (mail-other-window): Use switch-to-buffer-other-window.
17965 (mail-other-frame): USe switch-to-buffer-other-frame.
17967 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17968 Use display-buffer-other-frame.
17969 (gdb-display-gdb-buffer): Use pop-to-buffer.
17971 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17973 * progmodes/python.el: Don't set same-window-buffer-names.
17975 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17977 * window.el (display-buffer-alist): Add *Python*.
17979 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17981 * window.el (display-buffer-alist): Add entry for buffers
17982 previously handled same-window-*.
17983 (display-buffer-alist, display-buffer-default-action)
17984 (display-buffer-overriding-action): Mark as risky.
17985 (display-buffer-alist): Document action function changes.
17986 (display-buffer--same-window-action)
17987 (display-buffer--other-frame-action): New variables.
17988 (switch-to-buffer, display-buffer-other-frame): Use them.
17989 (display-buffer): Rename reuse-frame entry to reusable-frames.
17990 (display-buffer-reuse-selected-window): Function deleted.
17991 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17992 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17993 (display-buffer-special): New function.
17994 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17995 display-buffer-reuse-or-pop-window. Split off special-display
17996 part into display-buffer-special.
17997 (display-buffer-use-some-window): Don't perform any special
17998 pop-up-frames handling.
17999 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18000 (display-buffer--maybe-same-window): Rename from
18001 display-buffer-maybe-same-window.
18003 * info.el: Don't set same-window-regexps.
18004 (info-setup): New function.
18005 (info-other-window, info): Call it.
18007 * cus-edit.el: Don't set same-window-regexps.
18008 (customize-group): New argument.
18009 (customize-group-other-window): Use it.
18010 (customize-face, customize-face-other-window): Likewise.
18011 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18015 * progmodes/gud.el: Don't set same-window-regexps.
18020 * mail/sendmail.el:
18021 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18023 2011-09-10 Juri Linkov <juri@jurta.org>
18025 * isearch.el (isearch-edit-string): Remove obsolete mention of
18026 `C-w' (`isearch-yank-word-or-char') from docstring.
18027 (isearch-query-replace): Fix typo in docstring (bug#9466).
18029 2011-09-10 Juri Linkov <juri@jurta.org>
18031 * paren.el (show-paren-function): Don't show escaped parens.
18032 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18034 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18036 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18037 (mm-default-file-encoding): Remove autoload forms, they are
18038 replaced with autoload cookies in mml.el and mm-encode.el.
18039 (mail-add-attachment): New command.
18040 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18041 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18043 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18045 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18047 * simple.el (count-words-region): Use buffer if there's no region
18050 2011-09-09 Juri Linkov <juri@jurta.org>
18052 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18053 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18054 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18056 2011-09-09 Alan Mackenzie <acm@muc.de>
18058 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18059 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18061 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18063 Fix for Savannah bug#9392.
18064 * simple.el (mail-encode-mml): New defvar.
18066 * mail/rmail.el (mail-encode-mml): Add a defvar.
18067 (rmail-enable-mime-composing): Default to t.
18068 (rmail-forward): Use MIME method of forwarding only if both
18069 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18070 Set mail-encode-mml non-nil if the MIME method was used.
18072 * mail/sendmail.el (mml-to-mime): Add autoload form.
18073 (mail-encode-mml): Add a defvar.
18074 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18076 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18077 message through mml-to-mime, and reset mail-encode-mml to nil.
18079 2011-09-09 Glenn Morris <rgm@gnu.org>
18081 * woman.el (woman-if-body): When processing an .el block,
18082 do not delete the next .el block as well. (Bug#9447)
18083 (woman-special-characters): Add oq, cq, and hy characters.
18085 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18087 * window.el (window-deletable-p): Make sure window is live before
18088 invoking window-prev-buffers.
18090 2011-09-08 Leo Liu <sdl.web@gmail.com>
18092 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18094 2011-09-08 Juri Linkov <juri@jurta.org>
18096 * progmodes/compile.el (compilation-environment): Make it
18097 a defcustom (bug#8340).
18099 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18101 * window.el (frame-auto-delete): Rename to window-auto-delete.
18102 Make it control auto-deletion of windows and/or frames.
18103 (window-deletable-p): New argument FORCE. Rewrite conditions
18104 for deleting window/frame. (Bug#9419)
18105 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18106 Rewrite handling of case when window/frame can be deleted.
18107 (delete-windows-on): Call window-deletable-p with new FORCE
18108 argument t. (Bug#9456)
18110 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18112 * help-mode.el (help-mode): Restore autoload.
18114 2011-09-07 Juri Linkov <juri@jurta.org>
18116 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18117 `compilation-environment'. Set buffer-local
18118 `compilation-environment' to `thisenv' later after (funcall mode).
18121 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18122 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18123 instead of replacing its value. (Bug#8340)
18125 2011-09-07 Juri Linkov <juri@jurta.org>
18127 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18128 based on text properties put by `grep-filter' instead of matching
18130 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18131 to the value of `grep-error-screen-columns' (bug#9438).
18133 2011-09-07 Juri Linkov <juri@jurta.org>
18135 * simple.el (next-error-highlight, next-error-highlight-no-select):
18136 Doc fix (bug#9432).
18138 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18140 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18141 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18143 2011-09-07 Leo Liu <sdl.web@gmail.com>
18145 * net/rcirc.el (rcirc-mode): Conditionally initialize
18148 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18150 * emacs-lisp/find-func.el (find-function-C-source): Only set
18151 find-function-C-source-directory after checking that we found a source
18152 file there (bug#9440).
18154 2011-09-06 Alan Mackenzie <acm@muc.de>
18156 * isearch.el (isearch-other-meta-char): Wherever a key list is
18157 unread, "unread" the prefix arg, too. This fixes bug #8901.
18159 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18161 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18163 2011-09-05 Juri Linkov <juri@jurta.org>
18165 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18167 2011-09-05 Juri Linkov <juri@jurta.org>
18169 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18170 keeping point where processing of grep matches begins, and
18171 continue to delete remaining escape sequences from the same point.
18172 (grep-filter): Make leading zero optional in "0?1;31m" because
18173 git-grep emits "\033[1;31m" escape sequences unlike expected
18174 "\033[01;31m" as GNU Grep does (bug#9408).
18175 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18177 2011-09-05 Juri Linkov <juri@jurta.org>
18179 * subr.el (y-or-n-p): Capitalize "yes".
18181 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18183 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18184 `tramp-cache-unload-hook' where appropriate.
18185 (tramp-methods): Rename `tramp-remote-sh' to
18186 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18187 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18189 * net/tramp-sh.el (top): Don't require 'shell.
18190 (tramp-methods): Add `tramp-remote-shell' and
18191 `tramp-remote-shell-args' entries.
18192 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18193 (tramp-sh-handle-shell-command): Remove.
18194 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18195 Use `tramp-remote-shell'.
18197 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18199 * mail/sendmail.el (sendmail-query-once-function): Delete.
18200 (sendmail-query-once): Save directly to send-mail-function.
18201 Update message-send-mail-function too.
18203 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18205 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18207 * progmodes/python.el (python-mode-map): Use correct function to
18208 start python interpreter from menu-bar (as reported by Geert
18210 (inferior-python-mode-map): Fix typo.
18211 (python-shell-map): Remove.
18213 2011-09-03 Deniz Dogan <deniz@dogan.se>
18215 * net/rcirc.el (rcirc-print): Simplify code for
18216 rcirc-scroll-show-maximum-output. There is no need to walk
18217 through all windows to find the right one.
18219 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18221 * help.el (help-return-method): Doc fix.
18223 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18225 * window.el (window-deletable-p): Don't return a non-nil value
18226 when there's a buffer that was shown in the window before.
18228 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18229 Set window's previous buffers to nil.
18231 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18233 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18234 newline before and after the tag line, so it doesn't interfere
18235 with determining the paragraph direction of bidirectional text.
18237 2011-09-03 Leo Liu <sdl.web@gmail.com>
18239 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18241 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18243 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18244 (pop-to-buffer): Change interactive spec. Pass second argument
18245 directly to display-buffer.
18246 (display-buffer): Fix interactive spec. Use functionp to
18247 distinguish between a function and a list of functions.
18249 * abbrev.el (edit-abbrevs):
18250 * arc-mode.el (archive-extract):
18251 * autoinsert.el (auto-insert):
18252 * bookmark.el (bookmark-bmenu-list):
18253 * files.el (find-file):
18254 * view.el (view-buffer):
18255 * progmodes/compile.el (compilation-goto-locus):
18256 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18258 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18260 * window.el (display-buffer-alist): Doc fix.
18261 (display-buffer): Add docstring. Don't treat
18262 display-buffer-default specially.
18263 (display-buffer-reuse-selected-window)
18264 (display-buffer-same-window, display-buffer-maybe-same-window)
18265 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18266 (display-buffer-pop-up-window)
18267 (display-buffer-reuse-or-pop-window)
18268 (display-buffer-use-some-window): New functions.
18269 (display-buffer-default-action): Use them.
18270 (display-buffer-default): Delete.
18271 (pop-to-buffer-1): Fix choice of actions.
18273 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18275 * minibuffer.el (completion--insert-strings): Don't get confused by
18276 completion entries that end with an LF char.
18278 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18280 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18282 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18284 * window.el (display-buffer): Restore interactive spec.
18285 (display-buffer-same-window, display-buffer-other-window):
18287 (pop-to-buffer-1): New function. Use the above.
18288 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18289 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18291 * view.el (view-buffer-other-window, view-buffer-other-frame):
18292 Just use pop-to-buffer.
18294 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18296 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18298 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18300 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18302 2011-08-31 Richard Stallman <rms@gnu.org>
18304 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18305 of the separation of rmail-view-buffer from rmail-buffer.
18306 If you say no to "replace original", the decrypt is in the
18307 view buffer. If you say yes, the decrypt goes into the
18310 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18312 * window.el (display-buffer-window): Rewrite doc-string.
18313 (display-buffer-record-window): New function.
18314 (display-buffer-macro-specifiers)
18315 (display-buffer-even-window-sizes, display-buffer-set-height)
18316 (display-buffer-set-width, display-buffer-in-window)
18317 (display-buffer-reuse-window, display-buffer-split-specifiers)
18318 (display-buffer-side-specifiers, display-buffer-split-window-1)
18319 (display-buffer-split-window, display-buffer-split-atom-window)
18320 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18321 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18322 (display-buffer-other-window-means-other-frame)
18323 (display-buffer-normalize-special)
18324 (display-buffer-normalize-default)
18325 (display-buffer-normalize-argument)
18326 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18327 (display-buffer-normalize-specifiers, display-buffer-frame)
18328 (display-buffer-same-window, display-buffer-same-frame)
18329 (display-buffer-other-window)
18330 (display-buffer-same-frame-other-window)
18331 (display-buffer-other-frame, pop-to-buffer-same-window)
18332 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18333 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18334 (switch-to-buffer-same-frame)
18335 (switch-to-buffer-other-window-same-frame)
18336 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18337 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18338 (display-buffer-alist-set): Remove.
18339 (display-buffer-function, special-display-buffer-names)
18340 (special-display-regexps, special-display-function):
18341 In doc-string refer to display-buffer-window and quit-restore
18343 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18344 (special-display-frame-alist, special-display-popup-frame)
18345 (same-window-buffer-names, same-window-regexps, same-window-p)
18346 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18347 (split-window-preferred-function, split-height-threshold)
18348 (split-width-threshold, window-splittable-p)
18349 (split-window-sensibly, window--try-to-split-window)
18350 (window--frame-usable-p, even-window-heights)
18351 (window--even-window-heights, window--display-buffer-1)
18352 (window--display-buffer-2, display-buffer-other-frame):
18353 Restore old Emacs 23 code, order and doc-strings where applicable.
18354 (display-buffer-default, display-buffer-assq-regexp): New functions.
18355 (display-buffer-alist): Rewrite doc-string.
18356 (display-buffer-default-action)
18357 (display-buffer-overriding-action): New variables.
18358 (display-buffer, switch-to-buffer): Rewrite.
18359 (pop-to-buffer): Restore Emacs 23 behavior but use
18360 window-normalize-buffer-to-display.
18361 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18362 Restore Emacs 23 behavior but use
18363 window-normalize-buffer-to-switch-to.
18364 (pop-to-buffer-same-window): Rewrite.
18365 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18366 Rewrite using Emacs 23 options.
18368 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18370 * net/tramp.el (tramp-root-regexp): Remove.
18371 (tramp-completion-file-name-regexp-unified)
18372 (tramp-completion-file-name-regexp-separate)
18373 (tramp-completion-file-name-regexp-url): Don't use leading volume
18374 letter on w32 systems. (Bug#5303, Bug#9311)
18375 (tramp-drop-volume-letter): Simplify definition.
18376 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18378 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18380 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18383 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18385 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18387 2011-08-29 Juri Linkov <juri@jurta.org>
18389 * isearch.el (isearch-done): Don't display message "Mark saved"
18390 when arg `edit' is non-nil to prevent its flicker in the echo area.
18392 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18394 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18395 obsolete packages for deletion.
18397 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18399 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18400 (help-mode): Derive help-mode from special-mode. Don't invoke
18401 view-mode from help-mode.
18402 (help-xref-override-view-map): Remove.
18403 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18404 view-mode is not used anymore.
18406 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18408 * server.el (server-port): Doc fix.
18410 * cus-theme.el (custom-theme-choose-mode): Inherit from
18411 special-mode (Bug#9124).
18412 (custom-theme-choose-mode-map): Add special-mode to parent.
18414 2011-08-28 Alan Mackenzie <acm@muc.de>
18416 * progmodes/cc-fonts.el
18417 (c-make-font-lock-BO-decl-search-function): New function.
18418 (c-basic-matchers-after - "Fontify the clauses after various
18419 keywords"): Extract the three keyword lists for the 3 erroneous
18420 constructs from the list of four, and use the new function above
18421 in place of an old one.
18423 2011-08-28 Deniz Dogan <deniz@dogan.se>
18425 * net/rcirc.el (rcirc-insert-prev-input)
18426 (rcirc-insert-next-input): Remove unused argument.
18428 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18430 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18432 2011-08-27 Alan Mackenzie <acm@muc.de>
18434 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18435 handle function pointer parameters properly.
18437 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18439 * window.el (display-buffer-reuse-window): Fix case where
18440 selected window was reused with non-nil OTHER-WINDOW argument.
18443 2011-08-27 Deniz Dogan <deniz@dogan.se>
18445 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18446 oftc's NickServ messages.
18448 2011-08-27 Glenn Morris <rgm@gnu.org>
18450 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18452 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18454 * emacs-lisp/package.el (package-install): Call package-initialize
18455 if called interactively.
18457 2011-08-26 Leo Liu <sdl.web@gmail.com>
18459 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18461 2011-08-25 Juri Linkov <juri@jurta.org>
18463 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18464 `search-whitespace-regexp' (bug#9364).
18466 2011-08-25 Juri Linkov <juri@jurta.org>
18468 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18469 `regexp-search-ring' to their global values to protect from
18470 updating by `read-from-minibuffer' (bug#9185).
18472 2011-08-25 Juri Linkov <juri@jurta.org>
18474 * textmodes/ispell.el (ispell-command-loop): Add newline
18475 at the end of the "Use option `i'..." line.
18477 2011-08-25 Juri Linkov <juri@jurta.org>
18479 * battery.el (display-battery-mode): If `battery-status-function'
18480 or `battery-mode-line-format' is nil, display the message and set
18481 `display-battery-mode' to nil (bug#9363).
18483 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18485 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18486 bidi-string-mark-left-to-right; they are unnecessary now.
18488 2011-08-25 Deniz Dogan <deniz@dogan.se>
18490 * net/quickurl.el: Documentation typo fixes.
18492 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18494 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18496 2011-08-25 Glenn Morris <rgm@gnu.org>
18498 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18500 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18501 (smtpmail-via-smtp): Handle nil response from smtp.
18503 2011-08-24 Juri Linkov <juri@jurta.org>
18505 * proced.el (proced-marked): Inherit from `error' instead of
18506 `font-lock-warning-face'.
18508 * ibuffer.el (ibuffer-marked-face): Change default face from
18509 `font-lock-warning-face' to `warning'.
18510 (ibuffer-deletion-face): Change default face from
18511 `font-lock-type-face' to `error'.
18513 * battery.el (battery-update): Use the face `error' instead of
18514 `font-lock-warning-face' (bug#6117).
18516 2011-08-24 Juri Linkov <juri@jurta.org>
18518 * faces.el (success): Change face color from "Green3" to
18519 "ForestGreen" on light background (bug#9353).
18521 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18523 * window.el (quit-window): Rename from quit-restore-window.
18524 Use same arglist as old quit-window.
18525 (frame-auto-delete): Doc fix.
18527 * view.el (view-mode-exit): Use quit-window.
18529 2011-08-24 Juri Linkov <juri@jurta.org>
18531 * isearch.el (isearch-ring-adjust1): Start visiting previous
18532 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18533 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18534 for empty search string (when the last search string is reused
18535 automatically) to adjust the isearch ring to the last element and
18536 prepare the correct index for further M-p commands (bug#9185).
18538 2011-08-24 Kenichi Handa <handa@m17n.org>
18540 * international/ucs-normalize.el: If decomposition property of
18541 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18543 (nfd, nfkd): Likewise.
18545 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18547 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18548 from process filters aren't reliably transmitted to the surrounding
18549 accept-process-output.
18550 (mpc-proc-check): New function.
18551 (mpc-proc-sync): Use it (bug#8293)
18553 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18555 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18556 Add compatibility functions (bug#9313).
18558 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18560 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18562 * international/uni-bidi.el: Regenerate.
18564 2011-08-23 Kenichi Handa <handa@m17n.org>
18566 * international/charprop.el:
18567 * international/uni-bidi.el:
18568 * international/uni-category.el:
18569 * international/uni-combining.el:
18570 * international/uni-comment.el:
18571 * international/uni-decimal.el:
18572 * international/uni-decomposition.el:
18573 * international/uni-digit.el:
18574 * international/uni-lowercase.el:
18575 * international/uni-mirrored.el:
18576 * international/uni-name.el:
18577 * international/uni-numeric.el:
18578 * international/uni-old-name.el:
18579 * international/uni-titlecase.el:
18580 * international/uni-uppercase.el: Regenerate.
18582 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18584 * help.el (help-window-setup): Fix message displayed when other
18585 window is reused. (Bug#9341)
18587 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18589 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18590 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18592 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18594 * shell.el (shell-parse-pcomplete-arguments): New function.
18595 (shell-completion-vars): Use it instead (bug#9160).
18597 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18599 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18600 strings and comments (bug#9333).
18602 * emacs-lisp/debug.el (debug-arglist): New function.
18603 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18604 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18606 2011-08-22 Juri Linkov <juri@jurta.org>
18608 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18609 Revert regexp that highlights output switches to its old
18610 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18612 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18613 to check for empty output (bug#9226).
18615 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18617 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18618 symbol-constituent as the default, as that stops font-lock from
18619 working properly (Bug#8843).
18621 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18623 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18624 `coding-system-for-*' around the process open call to avoid
18625 auth-source side effects.
18626 (smtpmail-try-auth-methods): Expand the secret password.
18627 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18630 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18632 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18634 * emacs-lisp/find-func.el (find-function-noselect): New arg
18637 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18638 signal an error for built-in functions (Bug#6664).
18640 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18642 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18643 (smtpmail-try-auth-methods): Use it.
18645 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18647 * font-lock.el (font-lock-fontify-region)
18648 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18649 (font-lock-default-unfontify-buffer)
18650 (font-lock-default-fontify-region)
18651 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18653 * progmodes/compile.el (compilation-error-properties):
18654 Fix confusion between file struct and message struct (Bug#9319).
18655 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18658 * net/browse-url.el (browse-url-firefox): Don't call
18659 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18661 2011-08-20 Glenn Morris <rgm@gnu.org>
18663 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18665 * tutorial.el (tutorial--default-keys): Update some default bindings.
18667 * files.el (hack-local-variables): Fully ignore case for "mode:".
18669 2011-08-20 Alan Mackenzie <acm@muc.de>
18671 Resolve invalid use of a regexp in regexp-opt.
18673 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18674 detection for a java annotation.
18676 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18677 detection for a java annotation.
18679 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18681 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18683 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18685 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18688 2011-08-20 Alan Mackenzie <acm@muc.de>
18690 Fontify CPP expressions correctly when starting in the middle of
18691 such a construct. Mainly for when jit-lock etc. starts a chunk
18694 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18696 (c-make-font-lock-search-form): New function, extracted from
18697 c-make-font-lock-search-function.
18698 (c-make-font-lock-search-function): Use the above function.
18699 (c-make-font-lock-context-search-function): New function.
18700 (c-cpp-matchers): Enhance the preprocessor expression case with
18702 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18703 which takes an expression.
18705 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18707 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18709 * window.el (display-buffer-reuse-window)
18710 (display-buffer-pop-up-window): Don't reuse or split a side
18713 2011-08-19 Glenn Morris <rgm@gnu.org>
18715 * files.el (hack-local-variables-prop-line, hack-local-variables):
18716 Downcase "Mode:". (Bug#9331)
18718 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18720 * international/characters.el: Add L and R categories.
18722 * subr.el (bidi-string-mark-left-to-right): Rename from
18723 string-mark-left-to-right. Use category search.
18725 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18727 2011-08-18 Juri Linkov <juri@jurta.org>
18729 * faces.el (error, warning, success): New faces with definitions
18730 copied from old default values of `font-lock-warning-face',
18731 `compilation-warning', `compilation-info' (bug#6117).
18733 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18735 * progmodes/compile.el (compilation-error): Inherit from `error'.
18736 (compilation-warning): Inherit from `warning'.
18737 (compilation-info): Inherit from `success'.
18739 * dired.el (dired-marked): Inherit from `warning'.
18740 (dired-flagged): Inherit from `error'.
18742 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18744 * mail/smtpmail.el (auth-source): Require to avoid problems with
18745 binding variables (bug#9298). Also clean up some unused
18748 * net/network-stream.el (network-stream-open-starttls):
18749 Support using starttls.el without using gnutls-cli.
18751 2011-08-17 Juri Linkov <juri@jurta.org>
18753 * progmodes/grep.el (rgrep): Handle the case when
18754 `grep-find-command' is a cons cell (bug#9278).
18756 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18758 * window.el (display-buffer-pop-up-frame): Run frame creation
18759 function with BUFFER current (as special-display-popup-frame
18760 does). Reported by Drew Adams.
18762 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18764 * epa-mail.el: Simplify GnuPG group expansion using
18766 (epa-mail-group-alist, epa-mail-group-modtime)
18767 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18768 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18769 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18772 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18774 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18776 2011-08-16 Alan Mackenzie <acm@muc.de>
18778 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18779 Correct, to avoid the inside of macros.
18781 2011-08-16 Richard Stallman <rms@gnu.org>
18783 * epa-mail.el: Handle GnuPG group definitions.
18784 (epa-mail-group-alist, epa-mail-group-modtime)
18785 (epa-mail-gnupg-conf-file): New variables.
18786 (epa-mail-parse-groups, epa-mail-sync-groups)
18787 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18788 (epa-mail-expand-recipients): New functions.
18789 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18791 * mail/rmail.el (rmail-epa-decrypt): New command.
18793 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18794 Don't bind buffer-read-only, just inhibit-read-only.
18795 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18796 (epa-decrypt-armor-in-region): Make error message clearer.
18798 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18800 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18801 and "a2b" to "ab" for `prefix'.
18803 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18805 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18807 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18808 Fourquet (Bug#8804).
18810 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18812 * startup.el (argi): Declare as global variable (bug#9275).
18814 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18816 * subr.el (string-mark-left-to-right): Search the entire string
18817 for RTL script, not just the terminating character. Doc fix.
18819 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18821 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18823 (js--regexp-literal, js-syntax-propertize-function): Remove.
18824 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18825 (js-mode-map): Don't rebind electric keys.
18826 (js-insert-and-indent): Remove.
18827 (js-mode): Setup electric-layout and electric-indent instead.
18829 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18831 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18833 * epa.el (epa-progress-callback-function): Fix the logic of
18834 displaying progress.
18835 * epa-file.el (epa-file-insert-file-contents): Make progress
18836 display more user-friendly.
18837 (epa-file-write-region): Ditto.
18839 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18841 * subr.el (string-mark-left-to-right): New function.
18843 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18844 Use string-mark-left-to-right.
18845 (list-buffers-noselect): Caller changed.
18847 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18848 Use string-mark-left-to-right.
18849 (tabulated-list-print): Recenter after moving point.
18851 2011-08-10 Juri Linkov <juri@jurta.org>
18853 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18854 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18855 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18857 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18859 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18862 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18864 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18865 character. (Bug#6594)
18867 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18869 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18870 (image-dired--with-db-file): New macro.
18871 (image-dired-write-tags, image-dired-remove-tag)
18872 (image-dired-create-gallery-lists, image-dired-write-comments)
18873 (image-dired-get-comment, image-dired-mark-tagged-files)
18874 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18875 (image-dired-gallery-generate): Use insert-file-contents.
18877 * time.el (display-time-world-list, display-time-world-display):
18878 * time-stamp.el (time-stamp-string):
18879 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18880 set-time-zone-rule (Bug#7337).
18882 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18884 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18885 (epg-error-to-string, epg-errors-to-string): New function.
18886 (epg-wait-for-completion): Reverse errors list.
18887 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18888 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18889 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18890 (epg-sign-keys, epg-generate-key-from-file)
18891 (epg-generate-key-from-string): Format errors by using
18892 epg-errors-to-string (bug#9255).
18893 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18895 2011-08-07 Juri Linkov <juri@jurta.org>
18897 * faces.el (list-faces-display): Remove extra angle bracket
18898 from `help-mode-map'.
18900 * info.el (Info-history-toc-nodes): Doc fix.
18902 * longlines.el (longlines-mode): Doc fix.
18904 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18906 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18907 of statements and in a few more cases (bug#9183).
18909 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18911 (cl-transform-lambda): Use them (bug#9239).
18913 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18915 * window.el (display-buffer-same-window)
18916 (display-buffer-same-frame, display-buffer-other-window)
18917 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18918 (pop-to-buffer-other-window)
18919 (pop-to-buffer-same-frame-other-window)
18920 (pop-to-buffer-other-frame): Make them defuns.
18921 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18923 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18925 * subr.el (make-composed-keymap): Move from C. Change calling
18926 convention, and improve docstring to bring attention to a subtle point.
18927 * minibuffer.el (completing-read-default): Adjust accordingly.
18929 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18931 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18932 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18934 * net/trampver.el: Update release number.
18936 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18938 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18941 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18943 * mail/sendmail.el (sendmail-query-once): Restore the current
18944 buffer after querying (bug#9074).
18946 * dired.el (dired-flagged): Use different faces for marked and
18947 flagged files (bug#6117).
18949 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18952 * ido.el (ido-mode): Switch off the message if called
18955 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18956 before 587, since it appears that that's more likely to work for
18959 * cus-edit.el (custom-file): When running under emacs -q, always
18960 refuse to save the customizations, even if the .emacs file doesn't
18963 * info.el: Remove the `Info-beginning-of-buffer' function
18966 * net/network-stream.el (network-stream-open-starttls):
18967 Use `starttls-available-p' to see whether starttls.el can be used.
18969 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18971 * window.el (display-buffer-in-window): Don't set dedicated status
18972 of window here (Bug#9215).
18973 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18974 (display-buffer-pop-up-side-window)
18975 (display-buffer-in-side-window): Set dedicated status of window here.
18977 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18979 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18980 before binding generated-autoload-file.
18982 2011-08-01 Deniz Dogan <deniz@dogan.se>
18984 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18986 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18988 Sync with Tramp 2.2.2.
18990 * net/trampver.el: Update release number.
18992 2011-07-30 Juri Linkov <juri@jurta.org>
18994 * dired-aux.el (dired-touch-initial): Remove function.
18995 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18996 current time, and `default' to the last modification time of the
18997 current marked file (bug#6887).
18999 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19001 * simple.el (goto-line): Use string-to-number to provide a
19002 numeric argument to read-number (bug#9163).
19004 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19006 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19007 connection process, it could be nil.
19009 2011-07-27 Leo Liu <sdl.web@gmail.com>
19011 Simplify url handling in rcirc-mode.
19013 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19014 (rcirc-browse-url-at-mouse): Remove.
19015 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19017 2011-07-26 Alan Mackenzie <acm@muc.de>
19019 Fontify bitfield declarations properly.
19021 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19022 (c-symbol-chars): Now exported as a lang variable.
19023 (c-not-primitive-type-keywords): New lang variable.
19025 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19026 QT keyword "more" to prevent "more slots: ...." being spuriously
19027 parsed as a bitfield declaration.
19029 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19030 Refactor and enhance to handle bitfield declarations.
19031 (c-punctuation-in): New function.
19032 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19033 declarations properly.
19035 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19037 * calendar/icalendar.el (icalendar--all-events): Take care of
19038 multiple vcalendars in a single file.
19039 (icalendar--convert-float-to-ical): Checkdoc fixes.
19041 2011-07-25 Deniz Dogan <deniz@dogan.se>
19043 * image.el (insert-image): Clarifying docstring.
19045 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19047 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19048 `tramp-send-command-and-check' if there is no error.
19049 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19051 2011-07-22 Alan Mackenzie <acm@muc.de>
19053 Prevent cc-langs.elc being loaded at run time.
19055 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19058 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19059 "(require 'cc-langs)". Quote a form so it will evaluate at
19060 (cc-mode's) compilation time.
19062 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19064 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19065 loading. (Bug#9114)
19067 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19069 * window.el (display-buffer-pop-up-window)
19070 (display-buffer-pop-up-side-window)
19071 (display-buffer-in-side-window): Call display-buffer-set-height
19072 and display-buffer-set-width after setting the new window's
19073 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19075 2011-07-20 Sam Steingold <sds@gnu.org>
19077 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19078 (etags-tags-included-tables): Call `convert-standard-filename' on
19079 the file names contained in TAGS so that windows Emacs can handle
19080 TAGS files created by cygwin ctags.
19082 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19084 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19085 which apparently didn't work.
19087 2011-07-19 Roland Winkler <winkler@gnu.org>
19089 * proced.el (proced-send-signal): For *Marked Processes* buffer
19090 put point at beginning of buffer.
19092 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19094 * proced.el (proced-format): Make header lines align with the text
19097 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19099 * view.el (view-buffer): Allow running in `special' modes if we're
19100 visiting a file (bug#8615).
19102 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19104 * window.el (display-buffer-alist-of-strings-p)
19105 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19107 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19110 2011-07-18 Alan Mackenzie <acm@muc.de>
19112 Fontify declarators properly when, e.g., a jit-lock chunk begins
19113 inside a declaration.
19115 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19119 (c-complex-decl-matchers): Insert reference to
19120 c-font-lock-enclosing-decls.
19122 * progmodes/cc-engine.el (c-backward-single-comment):
19123 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19124 to nil around calls to (forward-comment -1).
19126 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19128 * image.el (put-image): Doc typo fix.
19130 * progmodes/etags.el (tags-search): Doc typo fix.
19132 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19133 password if we get errors 550 to 554.
19135 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19137 * net/gnutls.el (gnutls-log-level): Remove.
19139 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19140 indentation character (bug#6380).
19142 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19144 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19145 to clarify what the problem is (bug#4291).
19147 * simple.el (current-kill): Clarify what
19148 `interprogram-paste-function' does (bug#7500).
19149 (auto-fill-mode): Document `auto-fill-function' in relation to
19150 `auto-fill-mode' (bug#2470).
19152 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19154 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19155 method if slot is read-only (bug#9035).
19157 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19159 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19160 * window.el (pop-to-buffer): Select window used even if it was
19161 selected before, see discussion of (Bug#8615), (Bug#6954).
19162 Pass argument NORECORD on to select-frame-set-input-focus.
19164 2011-07-15 Glenn Morris <rgm@gnu.org>
19166 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19169 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19171 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19172 (gnutls-negotiate): Use it.
19174 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19176 * net/gnutls.el (gnutls-negotiate):
19177 Upcase `gnutls-algorithm-priority'.
19179 2011-07-15 Glenn Morris <rgm@gnu.org>
19181 * jka-compr.el (jka-compr-verbose): Move from here...
19182 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19183 Add missing :version tag.
19184 * info.el: No need to require jka-compr when compiling.
19186 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19188 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19189 (gnutls-negotiate): Use it.
19191 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19193 * info.el (Info-beginning-of-buffer): New command.
19194 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19195 announcing `b' as the key (bug#8325).
19196 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19198 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19200 * international/mule-cmds.el
19201 (describe-specified-language-support): Make the error message
19202 clearer (bug#8905).
19204 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19206 * isearch.el (isearch-barrier): Add a doc string, since it's
19207 mentioned in a function doc string (bug#8678).
19209 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19211 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19212 buffer argument (Bug#9083) and self-identifying label argument.
19214 2011-07-15 Glenn Morris <rgm@gnu.org>
19216 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19218 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19220 * man.el (Man-fontify-manpage): Fix message when formatting the
19221 man page (bug#7929).
19223 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19225 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19226 argument LRM; if non-nil, append an invisible LRM character to the
19228 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19229 last argument non-nil, when formatting buffer names.
19230 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19231 paragraph direction.
19233 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19235 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19236 the man page name (bug#7929).
19238 * image.el (put-image): Mention the `put-image' overlay property
19241 * scroll-bar.el (set-scroll-bar-mode): Mention that
19242 `scroll-bar-mode' lists the values (bug#7772).
19244 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19245 command (bug#7729).
19247 * rect.el (apply-on-rectangle): Return the point after the last
19249 (string-rectangle): Go to the point after the last operation
19252 * printing.el (pr-toggle-region): Clarify the documentation
19253 slightly (bug#7493).
19255 * time.el (display-time-update):
19256 Allow `display-time-mail-function' to return nil (bug#7158).
19257 Fix suggested by Detlev Zundel.
19259 * vc/diff.el (diff): Clarify the order the file names are read
19262 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19263 the doc string (bug#7015).
19265 * font-lock.el (font-lock-maximum-decoration): Mention what
19266 numeric levels mean (bug#6935).
19268 * startup.el (initial-buffer-choice): Don't mention the `none'
19269 selection, which is against policy.
19271 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19273 * window.el (display-buffer-normalize-special):
19274 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19276 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19278 * subr.el (version<, version<=, version=): Mention "-CVS" and
19279 "-12345" alpha version numbers.
19281 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19283 * bindings.el: Add advertised binding for set-mark-command
19286 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19288 * bindings.el (mode-line-other-buffer):
19289 * bookmark.el (bookmark-bmenu-2-window):
19290 * bs.el (bs-cycle-next, bs-cycle-previous):
19291 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19294 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19297 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19299 * follow.el (follow-debug-message, follow-redisplay):
19300 * jka-cmpr-hook.el (with-auto-compression-mode):
19301 Fix typos in docstrings.
19303 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19305 * subr.el (with-silent-modifications): Clarify somewhat what the
19306 macro inhibits (bug#6525).
19308 * simple.el (eval-expression): Note what it does if called
19309 interactively (bug#6495).
19311 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19313 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19314 Use pop-to-buffer buffer-or-name if it is nil.
19316 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19317 Remove switch-to-buffer.
19319 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19321 * files.el (make-directory): Clarify that an error will be raised
19322 if there's an error (bug#6397).
19324 * startup.el (initial-buffer-choice): Add `none' as a choice
19327 * subr.el (add-hook): Clarify section about buffer-local hooks
19330 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19332 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19334 * tabify.el (untabify): Preserve the current column so that point
19335 doesn't move (bug#6032).
19337 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19339 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19340 Rewrite to avoid awkward possessive "s" (bug#5986).
19342 2011-07-13 Glenn Morris <rgm@gnu.org>
19344 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19345 (dired-insert-directory): Give a message the first time
19346 if ls is found not to support --dired.
19348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19350 * simple.el (toggle-truncate-lines): Clarify what is toggled
19351 (bug#5580). Text by Drew Adams.
19353 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19355 * simple.el (blink-matching-open): Make the error message from the
19356 last change less verbose.
19358 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19360 * font-lock.el (font-lock-comment-face): Use the high contrast
19361 "yellow" color for font-lock-comment-face on low color terminals
19362 using a dark background color (bug#4221).
19364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19366 * dired.el (dired-insert-set-properties): Make the doc string
19367 reflect what it does now (bug#5325).
19369 * simple.el (blink-matching-open): Say that we were unable to find
19370 the match within the limit, if we're limited (bug#5122).
19372 * international/mule-cmds.el (prefer-coding-system): Add an
19373 example (bug#4869).
19375 * progmodes/etags.el (tags-search): Document `file-list-form'
19378 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19380 * net/browse-url.el (browse-url-default-browser)
19381 (browse-url-browser-function): Make the default browser choice a
19382 bit more logical (bug#4300). Also clean up the doc string.
19384 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19386 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19387 binary endings (bug#4440).
19389 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19391 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19392 which can be pretty annoying (bug#8971).
19394 * jka-compr.el (jka-compr-verbose): New variable, and use
19395 throughout (bug#8971).
19397 * info.el (Info-find-file): Fall back on the installation
19398 directory if we can't find the info node anywhere else.
19400 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19402 * vc/vc.el (vc-revert-file):
19403 Don't set file time-stamp in the past. (Bug#5181)
19405 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19407 * files.el (after-find-file): Give a better error message when
19408 trying to find a symlink that points to a file that doesn't exist
19411 * progmodes/cc-vars.el: Remove (probably) misleading comment
19414 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19416 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19418 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19420 * mouse-sel.el: Hack restoring functionality, while keeping
19421 compatibility with 2010-07-03 changes to mouse selection.
19422 (mouse-sel-primary-overlay): New var.
19423 (mouse-sel-selection-alist): Use it.
19424 (mouse-sel-mode): Doc fix; remove points that are default features
19427 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19430 Fix previous fix (bug#2490).
19432 2011-07-12 Roland Winkler <winkler@gnu.org>
19434 * textmodes/bibtex.el (bibtex-initialize):
19435 Use pop-to-buffer-same-window.
19436 (bibtex-search-entries): Fix interactive call.
19438 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19441 Fontise bytecomp Error lines more correctly (bug#2490).
19442 Fix suggested by Johan Bockgård.
19444 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19446 * dired-x.el (dired-guess-default): Use `delete-dups'.
19448 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19450 * dired.el (dired-mark-prompt):
19451 * dired-aux.el (dired-read-shell-command): Doc fix.
19453 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19455 * mail/sendmail.el (sendmail-query-once):
19456 Use `customize-save-variable' unconditionally, now that it works under
19459 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19461 * cus-edit.el (custom-file): Take an optional no-error variable.
19462 (customize-save-variable): Set the variable, and give a warning if
19463 running under "emacs -q".
19465 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19467 * loadhist.el (unload-feature-special-hooks):
19468 Add `auto-coding-functions', `fill-nobreak-predicate' and
19469 `find-directory-functions' (bug#5327).
19471 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19473 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19475 * cus-edit.el (custom-guess-name-alist): -alist variables should
19476 use the `alist' type (bug#3120). Suggested by Drew Adams.
19478 * printing.el: Add documentation to all the `pr-toggle-' commands.
19480 2011-07-11 Leo Liu <sdl.web@gmail.com>
19482 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19483 backends where it makes sense (bug#2623).
19485 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19487 * dired-x.el (dired-guess-default): Remove duplicate shell command
19488 entries (bug#2028).
19489 (dired-guess-default): Fix grammar in doc string (bug#2028).
19490 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19492 * subr.el (remove-duplicates): New conveniency function.
19494 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19496 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19499 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19501 * window.el (display-buffer-normalize-default): Don't invert
19502 meaning of even-window-heights. Reported by Eli Zaretskii
19505 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19507 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19509 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19511 * window.el (display-buffer): Fix arguments to
19512 display-buffer-reuse-window in last change.
19514 * faces.el (link): Use a less saturated blue on light backgrounds.
19516 * startup.el (fancy-startup-text, fancy-about-text)
19517 (fancy-startup-tail): Use font-lock faces, for background safety.
19519 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19521 * emulation/viper-cmd.el (viper-change-state-to-vi):
19522 Limit triggering of abbrev expansion (Bug#9038).
19524 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19526 * window.el (display-buffer-default-specifiers): Remove.
19527 (display-buffer-macro-specifiers): Remove default specifiers.
19528 (display-buffer-alist): Default to nil.
19529 (display-buffer-reuse-window): New optional argument other-window.
19530 (display-buffer-pop-up-window): Allow splitting internal
19531 windows. Check whether a live window was created.
19532 (display-buffer-other-window-means-other-frame)
19533 (display-buffer-normalize-arguments): Rename to
19534 display-buffer-normalize-argument and rewrite. Set the
19535 other-window specifier.
19536 (display-buffer-normalize-special): New function.
19537 (display-buffer-normalize-options): Rename to
19538 display-buffer-normalize-default and rewrite.
19539 (display-buffer-normalize-options-inhibit): Remove.
19540 (display-buffer-normalize-specifiers): Rewrite.
19541 (display-buffer): Process other-window specifier and call
19542 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19544 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19545 (display-buffer-alist-set): Don't handle 'unset default values.
19546 (display-buffer-in-window, display-buffer-alist-set):
19547 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19548 <tassilo@member.fsf.org>.
19550 2011-07-09 Leo Liu <sdl.web@gmail.com>
19552 * register.el (insert-register): Restore accidental change on
19553 2011-06-26. (Bug#9028)
19555 2011-07-09 Glenn Morris <rgm@gnu.org>
19557 * subr.el (remq): Handle the empty list. (Bug#9024)
19559 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19561 * mail/sendmail.el (send-mail-function): No longer delay custom
19563 * custom.el (custom-initialize-delay): Doc fix.
19565 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19567 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19569 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19571 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19572 human-friendly prompt.
19574 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19576 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19577 provided by a particular plugin.
19579 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19581 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19582 save customizations (with "emacs -Q"), just set the variable
19583 instead of erroring out.
19585 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19587 2011-07-08 Juri Linkov <juri@jurta.org>
19589 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19590 (archive-zip-update-case): Use 7z if found by `executable-find'.
19591 The order of searching the available programs is the same as in
19592 `archive-zip-extract' (bug#8968).
19594 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19596 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19597 (menu-bar-options-menu): Tweak descriptions.
19599 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19601 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19602 menu items into verb phrases (bug#1421). Also refill to fit under
19605 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19607 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19608 (Info-read-node-name): Doc fix (Bug#1084).
19610 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19611 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19612 (end-of-sexp, beginning-of-sexp)
19613 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19614 (forward-symbol, forward-same-syntax, word-at-point)
19615 (sentence-at-point): Doc fix (Bug#1144).
19617 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19619 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19620 should cover it (bug#1281).
19622 * cus-edit.el (custom-show): Mark as obsolete.
19624 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19625 negotiation fails, then possibly try again with a non-encrypted
19626 connection (bug#9017).
19628 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19631 2011-07-07 Richard Stallman <rms@gnu.org>
19633 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19634 property, and handle its changed format.
19635 Look for the correct line number.
19636 Use file's line contents (but not past first =) to find
19637 correct line in message.
19639 2011-07-07 Kenichi Handa <handa@m17n.org>
19641 * international/characters.el (build-unicode-category-table):
19643 (unicode-category-table): Set it by unicode-property-table-internal.
19645 * international/mule-cmds.el (char-code-property-alist): Move to
19647 (get-char-code-property): Call unicode-property-table-internal to
19648 load a file. Call get-unicode-property-internal where necessary.
19649 (put-char-code-property): Call unicode-property-table-internal to
19650 load a file. Call put-unicode-property-internal where necessary.
19651 put-unicode-property-internal where necessary.
19652 (char-code-property-description):
19653 Call unicode-property-table-internal to load a file.
19655 * international/charprop.el:
19656 * international/uni-bidi.el:
19657 * international/uni-category.el:
19658 * international/uni-combining.el:
19659 * international/uni-comment.el:
19660 * international/uni-decimal.el:
19661 * international/uni-decomposition.el:
19662 * international/uni-digit.el:
19663 * international/uni-lowercase.el:
19664 * international/uni-mirrored.el:
19665 * international/uni-name.el:
19666 * international/uni-numeric.el:
19667 * international/uni-old-name.el:
19668 * international/uni-titlecase.el:
19669 * international/uni-uppercase.el: Regenerate.
19671 * loadup.el: Load international/charprop.el before
19672 international/characters.
19674 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19676 * window.el (next-buffer, previous-buffer): Signal an error if
19677 called from a minibuffer window.
19679 * bindings.el: Revert 2011-07-04 change.
19681 2011-07-06 Richard Stallman <rms@gnu.org>
19683 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19684 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19685 Treat markers like ints.
19686 (rmail-mime-entity): Doc fix.
19688 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19690 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19691 defcustom again for backwards compatibility.
19693 * simple.el (shell-command-on-region): Fill.
19695 * dired-aux.el (dired-kill-line): Add a doc string.
19697 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19698 to "\\sw\\|\\s_" (bug#358).
19700 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19701 (dired-unmark-backward): Ditto.
19702 (dired-flag-backup-files): Ditto.
19704 * dired-x.el (dired-mark-sexp): Ditto.
19706 2011-07-06 Richard Stallman <rms@gnu.org>
19708 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19709 (rmail-mime-entity): New arg TRUNCATED.
19710 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19712 (rmail-mime-save): Warn if entity is truncated.
19713 (rmail-mime-toggle-hidden): Likewise, for showing.
19714 (rmail-mime-process-multipart): Record when an entity is truncated.
19716 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19717 if ENTITY is a string.
19719 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19721 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19722 of faces when `M-C-x'-ing their definitions (bug#8378).
19723 Also clean up the code slightly.
19725 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19726 because that makes the colors go away.
19728 * mail/sendmail.el (send-mail-function): Change the default to
19729 `sendmail-query-once'.
19730 (sendmail-query-once): Add an autoload cookie.
19732 * net/network-stream.el (network-stream-open-starttls): Try using
19733 a plain connection even if the server offered STARTTLS, and we
19734 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19735 capability. This should make smtpmail.el work in slightly more
19738 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19740 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19742 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19744 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19746 * progmodes/sql.el: Version 3.0
19747 (sql-product-alist): Add product :completion-object,
19748 :completion-column, and :statement attributes.
19749 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19750 (sql-mode-syntax-table): Mark all punctuation.
19751 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19753 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19754 (sql-mode-oracle-font-lock-keywords): Improve.
19755 (sql-oracle-show-reserved-words): New function for development.
19756 (sql-product-font-lock): Simplify for source code buffers.
19757 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19759 (sql-highlight-product): Set product specific syntax table.
19760 (sql-mode-map): Add statement movement functions.
19761 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19763 (sql-statement-regexp, sql-beginning-of-statement)
19764 (sql-end-of-statement, sql-signum): New functions.
19765 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19766 (sql-show-sqli-buffer): Bug fix.
19767 (sql-interactive-mode): Store connection data as buffer local.
19768 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19769 with sql-interactive-mode.
19770 (sql-save-connection): Save buffer local settings.
19771 (sql-connection-menu-filter): Change menu entry name.
19772 (sql-product-interactive): Bug fix.
19773 (sql-preoutput-hold): New variable.
19774 (sql-interactive-remove-continuation-prompt): Bug fixes.
19775 (sql-debug-redirect): New variable.
19776 (sql-str-literal): New function.
19777 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19779 (sql-oracle-save-settings, sql-oracle-restore-settings)
19780 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19781 (sql-completion-object, sql-completion-column)
19782 (sql-completion-sqlbuf): New variables.
19783 (sql-build-completions-1, sql-build-completions)
19784 (sql-try-completion): New functions.
19785 (sql-read-table-name): Use them.
19786 (sql-contains-names): New buffer local variable.
19787 (sql-list-all, sql-list-table): Use it.
19788 (sql-oracle-completion-types): New variable.
19789 (sql-oracle-completion-object, sql-sqlite-completion-object)
19790 (sql-postgres-completion-object): New functions.
19792 2011-07-06 Glenn Morris <rgm@gnu.org>
19794 * window.el (pop-to-buffer): Doc fix.
19796 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19798 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19800 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19802 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19804 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19806 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19808 * button.el (button): Inherit from link face. Suggested by Dan
19811 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19813 * progmodes/gdb-mi.el: Fit in 80 columns.
19814 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19817 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19818 if imenu is simply not configured (bug#8941).
19820 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19822 * allout.el (allout-post-undo-hook): New allout outline-change
19823 event hook to signal undo activity.
19824 (allout-post-command-business): Run allout-post-undo-hook if an
19825 undo just occurred.
19826 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19827 * allout-widgets.el (allout-widgets-after-undo-function):
19828 Ensure the integrity of the current item's decoration after it has been
19829 in the vicinity of an undo.
19830 (allout-widgets-mode): Include allout-widgets-after-undo-function
19831 on the new allout-post-undo-hook.
19833 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19835 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19836 Let define-derived-mode define it.
19837 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19838 cycles of abbrev-table inheritance (bug#8998).
19840 2011-07-05 Roland Winkler <winkler@gnu.org>
19842 * textmodes/bibtex.el: Add support for biblatex.
19843 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19844 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19845 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19846 (bibtex-entry-alist, bibtex-field-alist): New variables.
19847 (bibtex-entry-field-alist): Obsolete alias for
19848 bibtex-BibTeX-entry-alist.
19849 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19850 (bibtex-set-dialect): New command.
19851 (bibtex-entry-type, bibtex-entry-head)
19852 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19853 Bind via bibtex-set-dialect.
19854 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19855 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19856 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19857 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19858 Define via bibtex-set-dialect.
19859 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19860 Obey bibtex-no-opt-remove-re.
19861 (bibtex-vec-push, bibtex-vec-incr): New functions.
19862 (bibtex-format-entry, bibtex-field-list)
19863 (bibtex-print-help-message, bibtex-validate)
19864 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19866 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19868 * progmodes/compile.el (compilation-goto-locus):
19869 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19870 * bs.el (bs-cycle-next, bs-cycle-previous):
19871 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19872 * bindings.el (mode-line-other-buffer):
19873 * autoinsert.el (auto-insert):
19874 * arc-mode.el (archive-extract):
19875 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19877 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19879 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19880 Fix check of `emacs-lock-unlockable-modes'.
19881 Coerce true values of `emacs-lock--try-unlocking' to t.
19883 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19885 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19886 * emacs-lock.el: New file.
19888 2011-07-05 Julien Danjou <julien@danjou.info>
19890 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19891 than `boundp' to check if face is set.
19893 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19895 * register.el (registerv-make):
19896 * window.el (window-min-height): Fix typos in docstrings.
19898 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19900 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19903 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19905 * server.el (server-execute): Catch quit and call
19906 `server-return-error' to pass the error back to emacsclient and
19907 close the connection (bug#8942).
19909 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19911 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19912 insecure exception for current topic. Also note that auto-saves
19913 are handled differently.
19915 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19916 State variables for tracking auto-save inhibition situation.
19918 (allout-write-contents-hook-handler): Rename from
19919 'allout-write-file-hook-handler', and describe how it depends on
19920 write-contents-functions sensitivity to non-nil value to prevent
19923 (allout-auto-save-hook-handler): Remove. auto-save does not check
19924 this in individual buffers, only in the starting buffer, so this
19925 is not the right way for us to inhibit auto-save in a buffer
19926 according to its condition.
19928 (allout-mode): Use new allout-write-contents-hook-handler, and
19929 only with write-contents-functions. Remove auto-save provisions -
19930 they're implemented elsewhere.
19932 (allout-before-change-handler): If undo is in progress, note that
19933 for attention of allout-post-command-business.
19935 (allout-post-command-business): If the command we're following was
19936 an undo, check for change in the status of encrypted items and
19937 adjust auto-save inhibitions accordingly.
19939 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19940 according to whether there are or aren't any plain-text topics
19941 pending encryption.
19943 (allout-inhibit-auto-save-info-for-decryption):
19944 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19945 if there are plain-text topics pending encryption.
19947 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19948 buffer-saved-size and some allout state to not inhibit auto-saves
19949 if there are no longer any plain-text topics pending encryption.
19951 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19952 No longer provide for exemption of the current topic.
19954 2011-07-04 Juri Linkov <juri@jurta.org>
19956 Add 7z operations to delete and save changed members (bug#8968).
19957 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19959 (archive-7z-write-file-member): New function.
19960 (archive-7z-summarize): Fix the number of dashes in the
19963 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19965 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19968 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19970 * bindings.el: Ignore next-buffer and previous-buffer in
19971 minibuffer-local-map.
19973 * font-lock.el (font-lock-builtin-face): Change light background
19974 color to dark slate blue (Bug#6693).
19976 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19978 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19980 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19982 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19983 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19984 Add switch-to-buffer.
19986 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19988 * isearch.el (isearch-search-fun-function): Clarify further the
19989 meaning of the function returned.
19991 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19993 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19995 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19996 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19998 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19999 `tramp-default-remote-path' does not exist.
20000 (tramp-send-command-and-read): New optional argument NOERROR.
20001 (tramp-open-connection-setup-interactive-shell)
20002 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20003 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20004 (tramp-process-sentinel): Flush also process' connection property.
20005 (tramp-sh-handle-start-file-process): Do not set process
20006 sentinel. It is done now ...
20007 (tramp-maybe-open-connection): ... here. (Bug#8929)
20009 2011-07-04 MON KEY <monkey@sandpframing.com>
20011 * play/animate.el (animate-string): Doc fixes and allow changing
20012 the buffer name (bug#5417).
20014 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20016 * play/animate.el (animation-buffer-name): Rename from *animate*.
20018 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20020 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20021 This is simpler and helps future-proof the code.
20022 (timer-until): Use time-subtract and float-time.
20023 (timer--time-less-p): Use time-less-p.
20025 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20027 * type-break.el (timep): Use the value of `float-time' to avoid a
20028 byte-compiler warning.
20030 * server.el (server-eval-and-print): Return any result, even nil.
20032 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20034 * type-break.el: Accept time formats that the builtins accept.
20035 (timep, type-break-time-difference): Accept any format that
20036 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20037 This is simpler and helps future-proof the code.
20038 (type-break-time-difference): Round rather than ignoring
20039 subseconds components.
20041 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20043 * info.el (Info-apropos-matches): Make non-interactive, since it
20044 doesn't seem to do anything useful as a command (bug#8829).
20046 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20048 * frame.el (frame-background-mode, frame-set-background-mode):
20049 Move from faces.el.
20050 (frame-default-terminal-background): New function.
20052 * custom.el (custom-push-theme): Don't record faces in `changed'
20053 theme; this doesn't work correctly for per-frame face settings.
20054 (disable-theme): Use face-set-after-frame-default to reset faces.
20055 (custom--frame-color-default): New function.
20057 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20059 * dired.el (dired-flagging-regexp): Remove unused variable
20062 2011-03-29 Kevin Ryde <user42@zip.com.au>
20064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20065 `perl-Test2' extend to match possible "fail #N" rep count
20068 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20070 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20071 `smtpmail-via-smtp' now returns the error instead of nil.
20073 * isearch.el (isearch-search-fun-function): Clarify the doc string
20076 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20078 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20079 unnecessary spaces (bug#8987).
20081 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20083 * net/network-stream.el (open-network-stream): Use the
20084 :end-of-capability command thoughout.
20086 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20088 * net/network-stream.el (open-network-stream): Add the
20089 :end-of-capability command parameter, used by pop3.el.
20091 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20093 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20095 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20096 for list)" (bug#6475).
20098 * files.el (file-expand-wildcards): Ignore non-readable
20099 sub-directories while trying to find matches instead of signaling
20100 an error (bug#6297).
20102 * man.el (Man-reference-regexp): Allow matching possible
20103 word-wrapped references (bug#6289).
20105 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20106 for consistency with the other vc buffers (bug#6197).
20107 (vc-checkin): Ditto.
20109 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20111 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20113 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20115 * custom.el (defcustom): Clarify that :set is only used in the
20116 Customize user interface (bug#6089).
20118 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20119 associated with a file, refuse to run instead of erroring out
20122 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20123 the doc string, since it appears that using `fill-column' always
20124 controls the width (bug#7845).
20126 * simple.el (shell-command-on-region): Say where the error output
20127 went if `shell-command-default-error-buffer' is set (bug#6857).
20129 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20131 * allout.el (allout-yank-processing): Adjust cursor position for
20132 backwards-deleted space.
20134 (allout-rebullet-heading): Register changes with
20135 allout-exposure-changed-hook, so the modified topic is properly
20138 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20140 * minibuffer.el (completion-in-region): Document PREDICATE
20143 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20144 of keyword/argument pairs (bug#6904).
20146 * replace.el (multi-occur):
20147 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20149 2011-07-02 Drew Adams <drew.adams@oracle.com>
20151 * dired.el (dired-mark-if): Make the message about whether it's
20152 marking or unmarking clearer (bug#8523).
20154 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20156 * disp-table.el (display-table-print-array): New function.
20157 (describe-display-table): Use it to print the vectors more pretty
20160 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20162 * window.el (window-state-get-1): Don't assign clone numbers.
20163 Add clone-of item to list of window parameters.
20164 (window-state-put-2): Don't process clone numbers.
20165 (display-buffer-alist): Fix doc-string.
20167 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20169 * subr.el (remq): Don't allocate if it's not needed.
20170 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20171 (keymap--merge-bindings): New functions.
20172 (keymap-canonicalize): Use them to refine the canonicalization.
20173 * minibuffer.el (minibuffer-local-completion-map)
20174 (minibuffer-local-must-match-map): Move initialization from C.
20175 (minibuffer-local-filename-completion-map): Move initialization from C;
20176 don't inherit from anything here.
20177 (minibuffer-local-filename-must-match-map): Make obsolete.
20178 (completing-read-default): Use make-composed-keymap to combine
20179 minibuffer-local-filename-completion-map with either
20180 minibuffer-local-must-match-map or
20181 minibuffer-local-filename-completion-map.
20183 2011-07-01 Glenn Morris <rgm@gnu.org>
20185 * type-break.el (type-break-time-sum): Use dolist.
20187 * textmodes/flyspell.el (flyspell-word-search-backward):
20188 Replace CL function.
20190 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20192 * mouse.el (mouse--strip-first-event): New function.
20193 (function-key-map): Use it to map fringe clicks to normal clicks
20196 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20197 (vc-bzr-revision-completion-table): Add support for annotate and date.
20199 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20200 inherit from parent.
20202 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20204 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20205 (dired-show-file-type): Doc fixup (bug#8818).
20207 * dired.el (dired-mode): Fix up the doc string as suggested by
20208 Drew Adams (bug#8817).
20210 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20211 cookie, since the manual says that it should be possible to add
20212 this function to `find-file-hook' (bug#8709).
20214 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20216 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20217 here. Noted Ted Zlatanov as the maintainer.
20218 (cfengine-common-settings, cfengine-common-syntax): New functions
20219 to set up common things between `cfengine-mode' and
20221 (cfengine3-mode): New mode.
20222 (cfengine3-defuns cfengine3-defuns-regex
20223 (cfengine3-class-selector-regex cfengine3-category-regex)
20224 (cfengine3-vartypes cfengine3-font-lock-keywords)
20225 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20226 (cfengine3-indent-line): Add from cfengine3.el.
20228 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20230 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20232 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20234 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20236 * window.el (same-window-buffer-names, same-window-regexps)
20237 (same-window-p, special-display-frame-alist)
20238 (special-display-popup-frame, special-display-function)
20239 (special-display-buffer-names, special-display-regexps)
20240 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20241 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20242 (split-window-preferred-function, split-height-threshold)
20243 (split-width-threshold, even-window-heights)
20244 (display-buffer-mark-dedicated, window-splittable-p)
20245 (split-window-sensibly, window-safely-shrinkable-p):
20247 (display-buffer): Don't spread args with function specifier
20248 because special-display-popup-frame won't like it.
20250 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20252 Time-stamp simplifications and fixes.
20253 These improve accuracy slightly, and future-proof the code
20254 against some potential changes to current-time format.
20256 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20257 by using time-since and float-time.
20259 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20260 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20261 + NNN microseconds".
20263 * type-break.el (type-break-time-sum): Rewrite using time-add.
20265 * play/hanoi.el (hanoi-current-time-float): Remove.
20266 All uses replaced by float-time.
20268 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20269 This yields a more-accurate answer.
20270 (rng-time-to-float): Remove; no longer needed.
20272 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20274 * calendar/timeclock.el (timeclock-seconds-to-time):
20275 Defalias to seconds-to-time, since they're the same thing.
20277 * emacs-lisp/elp.el (elp-elapsed-time):
20278 * emacs-lisp/benchmark.el (benchmark-elapse):
20279 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20281 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20283 * window.el (bury-buffer): Don't iconify the only frame.
20284 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20285 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20287 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20289 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20290 Add mouse-yank-primary.
20292 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20294 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20296 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20298 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20299 (find-library-name): Use it to find relative load names when provided
20300 absolute file name (bug#8803).
20302 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20304 * textmodes/flyspell.el (flyspell-word): Consider words that
20305 differ only in case as potential doublons (bug#5687).
20307 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20308 Remove two rather uninteresting debugging-like messages to make
20309 debbugs.el more silent.
20311 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20312 a password-like phrase.
20314 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20316 * progmodes/cc-guess.el: New file.
20318 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20320 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20321 derived from `c-basic-common-init'.
20323 * progmodes/cc-mode.el (top-level): Require cc-guess.
20324 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20326 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20328 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20330 2011-06-30 Alan Mackenzie <acm@muc.de>
20332 * progmodes/cc-engine.el (c-guess-continued-construct):
20333 Correct the handling of template-args-cont, particularly for when font
20334 lock is disabled. Name this case as "CASE G".
20336 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20338 * allout.el (allout-yank-processing): Fix injection of extra space
20339 between bullet and non-whitespace character in first topic when
20340 pasting, ensuring that the actual spacing in the pasted topic
20341 following the bullet char is preserved. This extra space was
20342 causing pasted encrypted topics to get a decrypted status even
20343 when the content was actually still encrypted. Now the decryption
20344 status from before the paste is preserved.
20346 (allout-flag-region): Set all allout overlays so they evaporate
20347 when reduced to zero length (evanescent), to prevent overlay
20350 2011-06-30 Glenn Morris <rgm@gnu.org>
20352 * w32-fns.el (w32-charset-info-alist): Declare.
20354 * find-dired.el (find-grep-options): Simplify.
20356 * term/ns-win.el (ns-set-resource): Declare.
20358 * ses.el (row, col): Declare dynamic variables honestly.
20360 * textmodes/reftex-parse.el (index-tags): Declare.
20362 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20364 * cus-edit.el (customize-push-and-save): New function.
20366 * files.el (hack-local-variables-confirm): Use it.
20368 * custom.el (load-theme): New arg NO-CONFIRM.
20369 Use customize-push-and-save (Bug#8720).
20370 (custom-enabled-themes): Doc fix.
20372 * cus-theme.el (customize-create-theme)
20373 (custom-theme-merge-theme): Callers to load-theme changed.
20375 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20377 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20378 short URLs have at least one dot in them (bug #7614).
20380 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20381 nil, because using a pty is apparently too slow (bug #895).
20383 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20385 * mail/sendmail.el (sendmail-query-once): New function.
20386 (sendmail-query-once-function): New variable.
20388 2011-06-29 Glenn Morris <rgm@gnu.org>
20390 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20392 * ses.el (top-level): Require cl when compiling.
20393 (ses-set-localvars): Fix error statement.
20394 Call it at compile time to silence a storm of warnings.
20396 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20398 * window.el (normalize-live-buffer): Rename to
20399 window-normalize-buffer.
20400 (normalize-live-frame): Rename to window-normalize-frame.
20401 (normalize-any-window): Rename to window-normalize-any-window.
20402 (normalize-live-window): Rename to window-normalize-live-window.
20403 (make-window-atom): Rename to window-make-atom.
20404 (window-resize-reset): Rename to window--resize-reset.
20405 (window-resize-reset-1): Rename to window--resize-reset-1.
20406 (resize-mini-window): Rename to window--resize-mini-window.
20407 (resize-subwindows-skip-p): Rename to
20408 window--resize-subwindows-skip-p.
20409 (resize-subwindows-normal): Rename to
20410 window--resize-subwindows-normal.
20411 (resize-subwindows): Rename to window--resize-subwindows.
20412 (resize-other-windows): Rename to window--resize-siblings.
20413 (resize-this-window): Rename to window--resize-this-window.
20414 (resize-root-window): Rename to window--resize-root-window.
20415 (resize-root-window-vertically): Rename to
20416 window--resize-root-window-vertically.
20417 (normalize-buffer-to-display): Rename to
20418 window-normalize-buffer-to-display.
20419 (normalize-buffer-to-switch-to): Rename to
20420 window-normalize-buffer-to-switch-to.
20421 Correspondingly update all callers of the functions listed
20423 (display-buffer-alist, display-buffer-normalize-arguments)
20424 (display-buffer-normalize-options, display-buffer)
20425 (display-buffer-alist-set): Use "function" instead of
20428 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20430 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20431 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20432 debbugs.gnu.org. Mention acknowledgment email.
20434 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20436 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20437 buffer multibyteness, since it shouldn't matter.
20439 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20441 * window.el (display-buffer-in-side-window): Handle dedicated
20442 windows as in display-buffer-reuse-window.
20443 (display-buffer-normalize-alist): Use value of override
20445 (display-buffer-normalize-specifiers): Use value of
20446 other-window-means-other-frame specifier.
20447 (display-buffer-alist): Rewrite some texts in widgets.
20448 (display-buffer): Spread arguments when calling function
20449 specified by fun-with-args.
20451 2011-06-28 Deniz Dogan <deniz@dogan.se>
20453 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20456 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20457 selectors (Bug#5732).
20458 (css-proprietary-nmstart-re): Use `regexp-opt'.
20460 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20462 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20463 (eshell-ls-date-format): New defcustom.
20464 (eshell-ls-file): Use it.
20466 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20468 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20470 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20472 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20473 (ange-ftp-make-tmp-name): New arg.
20474 (ange-ftp-file-local-copy): Use it.
20476 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20478 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20479 no-conversion (Bug#8870).
20481 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20483 * window.el (window-right, window-left, window-child)
20484 (window-child-count, window-last-child)
20485 (window-iso-combination-p, walk-window-tree-1)
20486 (window-atom-check-1, window-tree-1, delete-window)
20487 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20488 new naming conventions - window-vchild, window-hchild,
20489 window-next and window-prev are now called window-top-child,
20490 window-left-child, window-next-sibling and window-prev-sibling
20492 (resize-window-reset): Rename to window-resize-reset.
20493 (resize-window-reset-1): Rename to window-resize-reset-1.
20494 (resize-window): Rename to window-resize.
20495 (window-min-height, window-min-width)
20496 (resize-mini-window, resize-this-window, resize-root-window)
20497 (resize-root-window-vertically, adjust-window-trailing-edge)
20498 (enlarge-window, shrink-window, maximize-window)
20499 (minimize-window, delete-window, quit-restore-window)
20500 (split-window, balance-windows, balance-windows-area-adjust)
20501 (balance-windows-area, window-state-put-2)
20502 (display-buffer-even-window-sizes, display-buffer-set-height)
20503 (display-buffer-set-width, set-window-text-height)
20504 (fit-window-to-buffer): Rename all "resize-window" prefixed
20505 calls to use the "window-resize" prefix convention.
20506 (display-buffer-alist): Fix symbol for label specifier.
20507 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20508 corresponding specifier.
20509 Reported by Juanma Barranquero <lekktu@gmail.com>.
20511 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20513 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20515 (ses-call-printer): Does not pass an empty string to formatter when the
20516 cell is empty to keep from barking printer Calc math-format-value.
20518 2011-06-27 Richard Stallman <rms@gnu.org>
20520 * battery.el (battery-mode-line-limit): New variable.
20521 (battery-update): Handle it.
20523 * mail/rmailmm.el (rmail-mime-process-multipart):
20524 Handle truncated messages.
20526 2011-06-27 Glenn Morris <rgm@gnu.org>
20528 * progmodes/flymake.el (flymake-err-line-patterns):
20529 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20531 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20533 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20534 (ses--clean-!, ses--clean-_): New functions.
20535 (ses-range): Add configurability of readout order, and conversion
20538 * ses.el (ses-repair-cell-reference-all): New function.
20539 (ses-cell-symbol): Set macro as safe, so that it can be used in
20542 * ses.el: Update cycle detection algorithm.
20543 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20544 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20545 (ses-set-localvars): New function.
20546 (ses-make-cell): Add property-list as a cell element.
20547 (ses-cell-property-get-fun, ses-cell-property-get)
20548 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20549 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20551 (ses-cell-property-set, ses-cell-property-pop)
20552 (ses-cell-property-get-handle): New macro.
20553 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20554 New aliases, used for code readability.
20555 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20557 (ses-self-reference-early-detection): New defcustom.
20558 (ses-formula-references): Robustify against self-referring cells.
20559 (ses-mode): Use ses-set-localvars.
20560 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20561 before lauching the update processing.
20562 (ses-initialize-Dijkstra-attempt): New function.
20563 (ses-recalculate-cell): Update for cycle detection based on
20564 Dijkstra algorithm.
20566 * ses.el: Fix commenting and indenting convention.
20568 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20570 * bs.el (bs-cycle-next): Complete last change.
20572 2011-06-27 Drew Adams <drew.adams@oracle.com>
20574 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20576 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20578 * net/network-stream.el (network-stream-open-starttls):
20579 Don't re-get capabilities unless we've reestablished connection.
20580 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20582 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20583 to binary to possibly avoid line encoding issues on Windows (among
20586 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20588 * net/network-stream.el (open-network-stream): Return an :error
20589 saying what the problem was, if possible.
20591 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20594 * net/network-stream.el (network-stream-open-starttls): If we
20595 wanted to use STARTTLS, and the server offered it, but we weren't
20596 able to because we had no STARTTLS support, then close the connection.
20597 (open-network-stream): Return an :error element, if present.
20599 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20601 * hl-line.el (hl-line-sticky-flag): Doc fix.
20602 (global-hl-line-sticky-flag): New option (Bug#8323).
20603 (global-hl-line-highlight): Obey it.
20605 * vc/vc.el (vc-revert-show-diff): Default to t.
20607 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20609 * allout-widgets.el (allout-widgets-post-command-business):
20610 Stop decorating intermediate isearch matches. They're not being
20611 undecorated when an isearch is continued past, and isearch
20612 automatically collapses them. This leads to "widget leaks", where
20613 decorated items accumulate in collapsed areas. Lines with lots of
20614 hidden widgets can slow down cursor travel, substantially.
20615 Too much complicated machinery would be needed to ensure undecoration,
20616 so we're doing without this nicety.
20618 (allout-widgets-tally-string): Don't try to do a hash-table-count
20619 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20620 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20621 *Messages* when allout-widgets-maintain-tally is t.
20623 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20625 * window.el (display-buffer-normalize-argument): Rename to
20626 display-buffer-normalize-arguments. Handle special meaning of
20627 LABEL argument. Respect special-display-function when popping up
20628 a new frame. Fix code searching for a window showing the buffer
20630 (display-buffer-normalize-specifiers):
20631 Call display-buffer-normalize-arguments.
20632 (display-buffer-in-window): Don't undedicate the window if its
20633 buffer remains the same.
20634 Reported by Drew Adams <drew.adams@oracle.com>.
20635 (display-buffer-alist): Add choice for same-window macro
20637 (display-buffer): Mention special meaning of LABEL argument in
20638 doc-string. Fix quoting. Don't pop up a new frame even as
20641 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20643 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20644 avoid deleting the current window in some cases (bug#8911).
20646 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20648 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20651 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20653 * net/network-stream.el (network-stream-open-starttls):
20654 Use built-in TLS support if `gnutls-available-p' is true.
20655 (network-stream-open-tls): Ditto.
20657 2011-06-26 Leo Liu <sdl.web@gmail.com>
20659 * register.el (registerv): New struct.
20660 (registerv-make): New function.
20661 (jump-to-register, describe-register-1, insert-register):
20662 Support the jump-func, print-func and insert-func slot of a registerv
20665 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20667 * vc/vc.el (vc-revert-show-diff): New defcustom.
20668 (vc-diff-internal): New arg specifying diff buffer.
20669 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20670 reuse an existing *vc-diff* buffer (Bug#8927).
20672 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20674 2011-06-26 Glenn Morris <rgm@gnu.org>
20676 * progmodes/f90.el (f90-critical-indent): New option.
20677 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20678 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20679 (f90-mode): Doc fix.
20680 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20681 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20682 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20683 (f90-match-end): Handle block, critical.
20685 2011-06-25 Glenn Morris <rgm@gnu.org>
20687 * calendar/diary-lib.el (diary-included-files): Doc fix.
20688 (diary-include-files): New function, extracted from
20689 diary-include-other-diary-files and diary-mark-included-diary-files.
20690 (diary-include-other-diary-files, diary-mark-included-diary-files):
20691 Just call diary-include-files.
20692 (diary-mark-entries): Reset diary-included-files on first call.
20694 * calendar/diary-lib.el (diary-mark-entries)
20695 (diary-mark-included-diary-files):
20696 Visit included diary-files in temp buffers.
20698 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20699 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20700 (f90-start-block-re, f90-imenu-generic-expression)
20701 (f90-looking-at-program-block-start, f90-no-block-limit):
20702 Add support for submodules.
20704 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20705 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20707 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20709 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20710 buffer-file-type before setting its value, to avoid disastrous
20711 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20713 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20715 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20717 * ses.el (ses-unload-function):
20718 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20720 * proced.el (proced-unload-function):
20721 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20723 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20725 * server.el (server-create-window-system-frame): Add parameters arg.
20726 (server-process-filter): Doc fix. Handle frame-parameters.
20728 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20730 Fix bug#8730, bug#8781.
20732 * loadhist.el (unload--set-major-mode): New function.
20733 (unload-feature): Use it.
20735 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20736 (python-unload-function): New function.
20738 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20740 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20742 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20744 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20745 the candidates list.
20747 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20749 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20751 2011-06-23 Richard Stallman <rms@gnu.org>
20753 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20754 (rmail-variables): Set next-error-move-function.
20755 (rmail-what-message): Take argument POS.
20756 (rmail-next-error-move): New function.
20758 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20760 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20761 messages for adjacent non-terminals.
20763 2011-06-23 Richard Stallman <rms@gnu.org>
20765 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20766 (rmail-show-message-1): Preserve buffer modified flag.
20767 (rmail-start-mail): Don't specify use of rmail-mail-return;
20768 that's done by mail-bury now.
20769 (rmail-mail-return): Handle arg NEWBUF.
20771 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20773 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20776 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20778 * window.el (get-lru-window, get-mru-window)
20779 (get-largest-window): Never return a minibuffer window.
20780 (display-buffer-pop-up-window): Fix a bug that could lead to
20781 reusing the minibuffer window.
20782 (display-buffer): Pass original specifier argument to
20783 display-buffer-function instead of the normalized one.
20784 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20786 2011-06-22 Leo Liu <sdl.web@gmail.com>
20788 * minibuffer.el (completing-read-function)
20789 (completing-read-default): Move from minibuf.c.
20791 2011-06-22 Richard Stallman <rms@gnu.org>
20793 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20794 to Rmail even if not started by a special Rmail command.
20796 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20797 Copy the buffer currently showing just one message.
20799 2011-06-22 Roland Winkler <winkler@gnu.org>
20801 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20802 (bibtex-clean-entry): First delete the old key so that a
20803 customized algorithm for generating the new key does not get
20804 confused by the old key.
20805 (bibtex-url): Obey regexp of first step.
20806 (bibtex-search-entries): Do not use add-to-list with local
20809 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20811 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20812 stored a user name, then query for the password first, instead of
20813 waiting for SMTP to give an error message and the trying again.
20815 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20817 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20818 BUFFER in call-process.
20820 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20822 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20824 (smtpmail-try-auth-methods): Require user name and password from
20827 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20829 * window.el (display-buffer-default-specifiers)
20830 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20831 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20832 (split-window): Normalize SIDE argument (Bug#8916).
20834 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20835 (special-display-frame-alist, special-display-popup-frame):
20836 Remove duplicate declarations. These are now in window.el.
20838 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20840 * mail/smtpmail.el (smtpmail-via-smtp):
20841 Set :use-starttls-if-possible so that we always use STARTTLS if the
20842 server supports it. SMTP servers that support STARTTLS commonly
20845 * net/network-stream.el (network-stream-open-starttls): Support
20846 upgrading to STARTTLS always, even if we don't have built-in support.
20847 (open-network-stream): Add the :always-query-capabilities keyword.
20849 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20850 upgrades with `open-network-stream', and rely solely on
20851 auth-source for all credentials. Big changes throughout the file,
20853 (smtpmail-auth-credentials): Remove.
20854 (smtpmail-starttls-credentials): Remove.
20855 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20858 * net/network-stream.el (network-stream-open-starttls):
20859 Provide support for client certificates both for external and built-in
20861 (auth-source): Require.
20862 (open-network-stream): Document the :client-certificate keyword.
20863 (network-stream-certificate): Change cert-cert to cert and
20866 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20868 * net/tramp-cache.el (top): Don't load the persistency file when
20869 "emacs -Q" has been called.
20871 2011-06-21 Tim Harper <timcharper@gmail.com>
20873 * term/ns-win.el (ns-initialize-window-system):
20874 Set application-specific `ApplePressAndHoldEnabled' system
20875 resource to NO as it is not yet supported by the NS port.
20877 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20879 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20880 (list-dynamic-libraries): ...not here.
20882 2011-06-21 Leo Liu <sdl.web@gmail.com>
20884 * subr.el (sha1): Implement sha1 using secure-hash.
20886 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20888 * window.el (display-buffer-alist): In default value do not
20889 enforce searching a window on any but the selected frame.
20890 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20891 (display-buffer-select-window): Remove function.
20892 (display-buffer-in-window): When a window on another frame gets
20893 reused, do not select it any more but just raise its frame if
20894 necessary (Bug#8851) and (Bug#8856).
20895 (display-buffer-normalize-options): Handle pop-up-frames related
20896 options more faithfully.
20897 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20898 window if it is on another frame.
20899 (display-buffer-alist, display-buffer-default-specifiers):
20900 Don't make new frame unsplittable by default.
20901 (display-buffer-normalize-argument): Fix doc-string typo and use
20902 'same-frame-other-window instead of 'other-window when associating
20903 with display-buffer-macro-specifiers.
20905 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20907 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20909 (5x5-mode-map, 5x5-mode-menu): Bind them.
20910 (5x5-draw-grid): Tweak the solver's rendering.
20912 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20914 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20915 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20917 2011-06-21 Drew Adams <drew.adams@oracle.com>
20919 * menu-bar.el: Use function variable instead of switch-to-buffer.
20920 (menu-bar-select-buffer-function): New variable.
20921 (menu-bar-update-buffers): Use it (bug#8876).
20923 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20925 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20928 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20930 * x-dnd.el (x-dnd-version-from-flags)
20931 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20932 and long as number (Bug#8899).
20933 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20935 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20937 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20938 (completion-try-completion, completion-all-completions): Compute the
20939 metadata argument if it's missing; make it optional (bug#8795).
20941 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20942 (widget-complete): Use new :completion-function property.
20943 (widget-completions-at-point): New function.
20944 (default): Use :completion-function instead of :complete.
20945 (widget-default-completions): Rename from widget-default-complete;
20947 (widget-string-complete, widget-file-complete, widget-color-complete):
20949 (file, symbol, function, variable, coding-system, color):
20950 * international/mule-cmds.el (default-input-method, charset)
20951 (language-info-custom-alist):
20952 * cus-edit.el (face): Use new property :completions.
20954 * progmodes/pascal.el (pascal-completions-at-point): New function.
20955 (pascal-mode): Use it.
20956 (pascal-mode-map): Use completion-at-point.
20957 (pascal-toggle-completions): Make obsolete.
20958 (pascal-complete-word, pascal-show-completions):
20959 * progmodes/octave-mod.el (octave-complete-symbol):
20960 Redefine as obsolete alias.
20961 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20962 Signal absence of completion info for old Octave,
20963 (inferior-octave-complete): Redefine as obsolete alias.
20964 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20965 (meta-completions-at-point): Rename from meta-complete-symbol and
20966 adapt it for use on completion-at-point-functions.
20967 (meta-common-mode): Use it.
20968 (meta-looking-at-backward, meta-match-buffer): Remove.
20969 (meta-complete-symbol): Redefine as obsolete alias.
20970 (meta-common-mode-map): Use completion-at-point.
20971 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20972 (makefile-mode-map): Use completion-at-point.
20973 (makefile-completions-at-point): Rename from makefile-complete and
20974 adapt it for use on completion-at-point-functions.
20975 (makefile-mode): Use it.
20976 (makefile-complete): Redefine as obsolete alias.
20978 2011-06-20 Deniz Dogan <deniz@dogan.se>
20980 * net/rcirc.el: Delete trailing whitespaces once and for all.
20982 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20984 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20986 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20988 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20990 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20992 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20994 * window.el (display-buffer-other-window-means-other-frame):
20995 Call display-buffer-normalize-alist.
20996 (display-buffer-normalize-specifiers-1): Rename to
20997 display-buffer-normalize-argument. New argument other-frame.
20999 (display-buffer-normalize-specifiers-2): Rename to
21000 display-buffer-normalize-options.
21001 (display-buffer-normalize-alist-1): New function.
21002 (display-buffer-normalize-specifiers-3): Rename to
21003 display-buffer-normalize-alist.
21004 Call display-buffer-normalize-alist-1.
21005 (display-buffer-normalize-options-inhibit): New variable.
21006 (display-buffer-normalize-specifiers): Rewrite calling
21007 display-buffer-normalize-alist,
21008 display-buffer-normalize-argument, and
21009 display-buffer-normalize-options. Don't call the latter if
21010 display-buffer-normalize-options-inhibit is non-nil.
21011 (frame-auto-delete): New option.
21012 (window-deletable-p): Use frame-auto-delete.
21013 (window-list-no-nils, window-state-ignored-parameters)
21014 (window-state-get-1, window-state-get, window-state-put-list)
21015 (window-state-put-1, window-state-put-2, window-state-put):
21017 (display-buffer-normalize-options): Move special-display-p group
21018 after pop-up-frame group (Bug#8851) and (Bug#8856).
21020 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21022 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21024 (rx-submatch-n): New function.
21027 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21030 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21032 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21034 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21035 anytime existing face settings are present (Bug#8889).
21037 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21038 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21039 Remove unused argument.
21041 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21043 * window.el (display-buffer-default-specifiers):
21044 Remove pop-up-frame. Add pop-up-window-min-height,
21045 pop-up-window-min-width, and another reuse-window specifier
21046 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21047 (display-buffer-normalize-specifiers-2):
21048 Handle split-height-threshold and split-width-threshold also when
21049 pop-up-windows is unset. Add a reuse-window specifier for the
21050 case popping up a new window fails.
21051 (special-display-popup-frame): Remove double quoting.
21052 (display-buffer-normalize-specifiers-1): Fix thinko.
21054 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21056 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21057 according to comint-completion-addsuffix.
21059 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21060 (pcomplete-suffix-list): Mark as obsolete.
21061 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21062 pcomplete-seen in the closure.
21063 (pcomplete-comint-setup): Setup completion-at-point as well.
21064 (pcomplete--entries): New function.
21065 (pcomplete--env-regexp): New var.
21066 (pcomplete-entries): Rewrite to work with partial-completion and
21067 without relying on pcomplete-suffix-list.
21068 (pcomplete-pare-list): Remove, unused.
21070 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21072 * window.el (display-buffer-alist): Set pop-up-window-min-height
21073 and pop-up-window-min-width in default value. Reported by
21074 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21075 other-window-means-other-frame.
21076 (display-buffer-macro-specifiers): Comment out entry for
21077 other-window specifier.
21078 (display-buffer-other-window-means-other-frame): New function.
21079 (display-buffer-normalize-specifiers-1): New arguments
21080 buffer-name and label. Treat other-window case specially.
21081 (display-buffer-normalize-specifiers-2): Treat other-window case
21083 (display-buffer-normalize-specifiers-3): New function.
21084 (display-buffer-normalize-specifiers):
21085 Call display-buffer-normalize-specifiers-3.
21087 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21089 * window.el (same-window-p): Fix two typos introduced when
21090 adding with-no-warnings.
21091 (display-buffer-normalize-specifiers-1): Don't check
21092 pop-up-frames for 'unset initialization.
21093 (display-buffer-normalize-specifiers-2): Major rewrite using
21094 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21095 (pop-up-frames, display-buffer-reuse-frames)
21096 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21097 Suggested by David Engster <deng@randomsample.de>.
21098 (even-window-heights): Initialize to 'unset.
21099 (display-buffer-alist-set): Handle new 'unset initializations.
21100 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21103 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21105 * window.el (display-buffer-normalize-specifiers-1):
21106 Respect current value of pop-up-frames for most reasonable values of
21107 second argument of display-buffer (Bug#8865).
21108 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21109 (switch-to-buffer-other-window-same-frame)
21110 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21112 (display-buffer): Don't check noninteractive when calling
21113 display-buffer-pop-up-frame.
21114 (display-buffer-pop-up-frame): Never pop up a frame in
21115 noninteractive mode (Bug#8857).
21116 (enlarge-window, shrink-window): Don't report an error when the
21117 window can't be resized as requested (Bug#8862).
21119 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21121 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21123 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21125 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21127 2011-06-15 Alan Mackenzie <acm@muc.de>
21129 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21130 for declarators, disable knr checking to speed up for normal files.
21131 2: Refactor, replacing a sequence of nested if forms by a cond form.
21133 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21135 * net/network-stream.el (open-network-stream): Add the keyword
21136 :always-query-capabilities for the case where you want to force a
21137 `plain' network connection, but the protocol still requires the
21138 capabilitiy command (i.e., SMTP and EHLO).
21140 * subr.el (process-live-p): Rename from `process-alive-p' for
21141 consistency with other `-live-p' functions.
21143 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21145 * window.el (same-window-buffer-names, same-window-regexps)
21146 (special-display-frame-alist, special-display-popup-frame)
21147 (special-display-function, special-display-buffer-names)
21148 (special-display-regexps, pop-up-frame-alist)
21149 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21150 (pop-up-windows, split-window-preferred-function)
21151 (split-height-threshold, split-width-threshold, even-window-heights)
21152 (display-buffer-mark-dedicated): Don't encourage the use of
21153 display-buffer-alist from Elisp code.
21155 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21157 * progmodes/python.el (python-mode): Derive from prog-mode.
21158 * progmodes/ps-mode.el (ps-mode):
21159 * progmodes/mixal-mode.el (mixal-mode):
21160 * progmodes/cfengine.el (cfengine-mode):
21161 * progmodes/ld-script.el (ld-script-mode): Likewise.
21163 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21165 * window.el (display-buffer-alist): Trim default value to avoid
21166 popping up a new frame (Bug#8857) or reusing an arbitrary window
21168 (display-buffer): Do not fall back on popping up a new frame in
21169 batch mode (Bug#8857).
21171 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21173 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21174 (custom-theme-summary): New function.
21175 (customize-themes): Use it.
21177 2011-06-13 Glenn Morris <rgm@gnu.org>
21179 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21181 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21183 * help.el (help-window): Remove variable.
21184 (help-window-point-marker, temp-buffer-max-height)
21185 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21186 (help-print-return-message): Don't set help-window.
21187 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21188 (help-window-setup-finish): Remove.
21189 (help-window-display-message, help-window-setup)
21190 (with-help-window): Major rewrite based on new
21191 display-buffer-window variable.
21193 * help-mode.el (help-mode-finish): Remove help-window related
21196 * view.el (view-exits-all-viewing-windows): Remove reference to
21197 view-return-to-alist in doc-string.
21198 (view-return-to-alist): Make obsolete.
21199 (view-buffer): Call pop-to-buffer-same-window and remove
21201 (view-buffer-other-window): Call pop-to-buffer-other-window and
21202 simplify code. Ignore second argument.
21203 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21204 simplify code. Ignore second argument.
21205 (view-return-to-alist-update): Make obsolete.
21206 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21207 Rewrite using quit-restore window parameters.
21208 (view-mode-exit): Rename second argument to EXIT-ONLY.
21209 Rewrite using quit-restore-window.
21210 (View-exit, View-exit-and-edit, View-leave, View-quit)
21211 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21212 appropriate arguments.
21213 (view-end-message): Use quit-restore window parameter.
21215 * window.el (display-buffer-function): Rewrite doc-string.
21216 (display-buffer-window, display-buffer-alist): New variables.
21217 (display-buffer-split-specifiers)
21218 (display-buffer-side-specifiers)
21219 (display-buffer-macro-specifiers): New constants.
21220 (display-buffer-even-window-sizes, display-buffer-set-height)
21221 (display-buffer-set-width, display-buffer-select-window)
21222 (display-buffer-in-window, display-buffer-reuse-window)
21223 (display-buffer-split-window-1, display-buffer-split-window)
21224 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21225 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21226 (display-buffer-in-side-window, normalize-buffer-to-display)
21227 (display-buffer-normalize-specifiers-1)
21228 (display-buffer-normalize-specifiers-2)
21229 (display-buffer-normalize-specifiers, display-buffer-frame):
21231 (display-buffer): Major rewrite.
21232 (display-buffer-other-window, display-buffer-other-frame)
21233 (pop-to-buffer, switch-to-buffer-other-window)
21234 (switch-to-buffer-other-frame): Rewrite.
21235 (display-buffer-same-window, display-buffer-same-frame)
21236 (display-buffer-same-frame-other-window)
21237 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21238 (pop-to-buffer-other-window)
21239 (pop-to-buffer-same-frame-other-window)
21240 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21241 (switch-to-buffer-other-window-same-frame): New functions.
21242 (same-window-p, special-display-p): Rewrite disabling warnings.
21244 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21245 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21247 (same-window-buffer-names, same-window-regexps)
21248 (special-display-frame-alist, special-display-popup-frame)
21249 (special-display-function, special-display-buffer-names)
21250 (special-display-regexps, pop-up-frame-alist)
21251 (pop-up-frame-function, split-window-preferred-function)
21252 (split-height-threshold, split-width-threshold)
21253 (even-window-heights): Make obsolete.
21255 2011-06-12 Glenn Morris <rgm@gnu.org>
21257 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21258 Misc simplifications.
21260 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21262 * window.el (window-safely-shrinkable-p): Restore function which
21263 was inadvertently removed in change from 2011-06-11. Declare as
21266 * calendar/calendar.el (calendar-generate-window):
21267 Use window-iso-combined-p instead of combination of one-window-p and
21268 window-safely-shrinkable-p.
21270 2011-06-12 Glenn Morris <rgm@gnu.org>
21272 * progmodes/fortran.el (fortran-mode-syntax-table):
21273 * progmodes/f90.el (f90-mode-syntax-table):
21274 Set % to punctuation. (Bug#8820)
21275 (f90-find-tag-default): Remove, no longer needed.
21277 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21279 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21281 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21283 * image.el (image-animated-p): Return animation delay in seconds.
21284 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21285 (image-animate-timeout): Remove DELAY argument. Don't assume
21286 every subimage has the same delay; get it from image-animated-p.
21287 (image-animate): Caller changed.
21289 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21291 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21292 to ignored backtrace functions.
21294 2011-06-11 Glenn Morris <rgm@gnu.org>
21296 * calendar/appt.el (appt-disp-window-function): Doc fix.
21297 (appt-check): Handle overlapping appointments. (Bug#8337)
21299 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21301 * window.el (window-tree-1, window-tree): New functions, moving
21302 the latter to window.el.
21303 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21304 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21305 (bw-refresh-edges): Remove.
21306 (balance-windows-1, balance-windows-2): New functions.
21307 (balance-windows): Rewrite in terms of window tree functions,
21308 balance-windows-1 and balance-windows-2.
21309 (bw-adjust-window): Remove.
21310 (balance-windows-area-adjust): New function with functionality of
21311 bw-adjust-window but using resize-window.
21312 (set-window-text-height): Rewrite doc-string.
21313 Use normalize-live-window and resize-window.
21314 (enlarge-window-horizontally, shrink-window-horizontally):
21315 Rename argument to DELTA.
21316 (window-buffer-height): New function.
21317 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21318 Rewrite using new window resize routines.
21319 (kill-buffer-and-window, mouse-autoselect-window-select):
21320 Use ignore-errors instead of condition-case.
21321 (quit-window): Call delete-frame instead of delete-windows-on
21322 for the only buffer on frame.
21324 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21326 * loadup.el (top-level): Load window before files for the sake
21327 of replace-buffer-in-windows.
21329 * files.el (read-buffer-to-switch)
21330 (switch-to-buffer-other-window)
21331 (switch-to-buffer-other-frame, display-buffer-other-frame):
21334 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21335 (previous-buffer): Move to window.el.
21337 * bindings.el (unbury-buffer): Move to window.el.
21339 * window.el (delete-other-windows-vertically): Move after
21340 definition of delete-other-windows.
21341 (other-window, delete-windows-on, replace-buffer-in-windows):
21342 Move here from window.c.
21343 (record-window-buffer, unrecord-window-buffer)
21344 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21345 (switch-to-next-buffer): New functions.
21346 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21347 from simple.el. Call switch-to-next-buffer.
21348 (previous-buffer): Move here from simple.el.
21349 Call switch-to-prev-buffer.
21350 (bury-buffer): Move here from buffer.c. Switch to previous
21351 buffer when window cannot be deleted.
21352 (unbury-buffer): Move here from bindings.el.
21353 (ctl-x-map): Move binding for other-window from window.c to
21355 (read-buffer-to-switch, switch-to-buffer-other-window)
21356 (switch-to-buffer-other-frame): Move here from files.el.
21357 (normalize-buffer-to-switch-to): New functions.
21358 (switch-to-buffer): Move here from buffer.c.
21359 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21361 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21363 * window.el (window-min-height, window-min-width): Move here
21364 from window.c. Add defcustoms and rewrite doc-strings.
21365 (resize-mini-window, resize-window): New functions.
21366 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21367 Move here from window.c.
21368 (maximize-window, minimize-window): New functions.
21369 (delete-window, delete-other-windows, split-window): Move here
21371 (window-split-min-size): New function.
21372 (split-window-keep-point): Mention split-window-above-each-other
21373 instead of split-window-vertically.
21374 (split-window-above-each-other, split-window-vertically):
21375 Rename split-window-vertically to split-window-above-each-other
21376 and provide defalias for old definition.
21377 (split-window-side-by-side, split-window-horizontally):
21378 Rename split-window-horizontally to split-window-side-by-side
21379 and provide defalias for the old definition.
21380 (ctl-x-map): Move bindings for delete-window,
21381 delete-other-windows and enlarge-window here from window.c.
21382 Replace bindings for split-window-vertically and
21383 split-window-horizontally by bindings for
21384 split-window-above-each-other and split-window-side-by-side.
21386 * cus-start.el (all): Remove entries for window-min-height and
21387 window-min-width. Add entries for window-splits and
21390 2011-06-09 Glenn Morris <rgm@gnu.org>
21392 * calendar/appt.el (appt-mode-line): New function.
21393 (appt-check, appt-disp-window): Use it.
21395 * files.el (hack-one-local-variable-eval-safep):
21396 Allow minor-modes with explicit +/-1 arguments.
21398 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21400 * term/xterm.el (xterm): Add defgroup.
21401 (xterm-extra-capabilities): Add defcustom to supply known xterm
21402 capabilities, skip querying them, or query them (default).
21403 (terminal-init-xterm): Use it.
21404 (terminal-init-xterm-modify-other-keys): New function to set up
21405 modifyOtherKeys support to simplify `terminal-init-xterm'.
21407 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21409 * window.el (resize-window-reset, resize-window-reset-1)
21410 (resize-subwindows-skip-p, resize-subwindows-normal)
21411 (resize-subwindows, resize-other-windows, resize-this-window)
21412 (resize-root-window, resize-root-window-vertically)
21413 (window-deletable-p, window-or-subwindow-p)
21414 (frame-root-window-p): New functions.
21416 2011-06-09 Glenn Morris <rgm@gnu.org>
21418 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21419 (ange-ftp-get-files): Use it.
21421 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21423 * mail/sendmail.el (mail-recover-1, mail-recover):
21424 * files.el (recover-file, recover-session):
21425 Handle dired-listing-switches not being just a single short option.
21427 2011-06-09 Glenn Morris <rgm@gnu.org>
21429 * calendar/appt.el (appt-display-message, appt-disp-window):
21430 Handle lists of appointments.
21432 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21434 * window.el (one-window-p): Move down in code.
21435 Rewrite doc-string.
21436 (window-current-scroll-bars): Rewrite doc-string.
21437 Normalize live window argument.
21438 (walk-windows, get-window-with-predicate, count-windows):
21439 Rewrite doc-string. Use window-list-1.
21440 (window-in-direction-2, window-in-direction, get-mru-window):
21443 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21445 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21446 Doc fix (Bug#8713).
21448 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21450 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21452 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21454 * loadhist.el (unload-feature-special-hooks):
21455 Add `comint-output-filter-functions'.
21457 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21459 * calendar/appt.el (appt-check): Move some initializations into the let.
21461 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21463 * window.el (window-height): Defalias to window-total-height.
21464 (window-width): Defalias to window-body-width.
21466 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21468 * image-mode.el (image-toggle-animation): New command.
21469 (image-mode-map): Bind it to RET.
21470 (image-mode): Update message.
21471 (image-toggle-display-image): Avoid a spurious cache flush.
21472 (image-transform-rotation): Doc fix.
21473 (image-transform-properties): Return quickly in the normal case.
21474 (image-animate-loop): Rename from image-animate-max-time.
21476 * image.el (image-animate-max-time): Move to image-mode.el.
21477 (create-animated-image): Remove unnecessary function.
21478 (image-animate): Rename from image-animate-start. New arg.
21479 (image-animate-stop): Remove; just use image-animate-timer.
21480 (image-animate-timer): Use car-safe.
21481 (image-animate-timeout): Rename argument.
21483 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21485 * window.el (get-lru-window, get-largest-window): Move here from
21486 window.c. Rename first argument to ALL-FRAMES.
21487 Rephrase doc-strings.
21488 (get-buffer-window-list): Rewrite using window-list-1.
21489 Rephrase doc-string.
21490 (window-safe-min-height, window-safe-min-width): New constants.
21491 (window-size-ignore, window-min-size, window-min-size-1)
21492 (window-sizable, window-sizable-p, window-size-fixed-1)
21493 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21494 (window-max-delta-1, window-max-delta, window-resizable)
21495 (window-resizable-p, window-total-height, window-total-width)
21496 (window-body-width): New functions.
21497 (window-full-height-p, window-full-width-p): Rewrite using
21499 (window-body-height): Rewrite using window-body-size.
21501 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21503 * window.el (window-right, window-left, window-child)
21504 (window-child-count, window-last-child, window-any-p)
21505 (normalize-live-buffer, normalize-live-frame)
21506 (normalize-any-window, normalize-live-window)
21507 (window-iso-combination-p, window-iso-combined-p)
21508 (window-iso-combinations)
21509 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21510 (windows-with-parameter, window-with-parameter)
21511 (window-atom-root, make-window-atom, window-atom-check-1)
21512 (window-atom-check, window-side-check, window-check):
21514 (ignore-window-parameters, window-sides, window-sides-vertical)
21515 (window-sides-slots): New variables.
21516 (window-size-fixed): Move down in code. Minor doc-string fix.
21518 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21520 * comint.el (comint-dynamic-complete-as-filename)
21521 (comint-dynamic-complete-filename): Correctly call
21522 completion-in-region.
21524 2011-06-05 Deniz Dogan <deniz@dogan.se>
21526 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21529 2011-06-05 Deniz Dogan <deniz@dogan.se>
21531 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21532 (rcirc): Use it to prompt for encryption.
21534 2011-06-05 Roland Winkler <winkler@gnu.org>
21536 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21537 (bibtex-search-entries): New command bound to C-c C-a.
21538 (bibtex-display-entries): New function.
21540 2011-06-05 Roland Winkler <winkler@gnu.org>
21542 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21543 (bibtex-insert-kill): After yanking insert newline if necessary.
21544 (bibtex-initialize): Call bibtex-string-files-init only once.
21545 (bibtex-mode): Do not call easy-menu-add.
21546 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21547 (bibtex-yank): Set arg properly if nil.
21549 2011-06-05 Roland Winkler <winkler@gnu.org>
21551 * textmodes/bibtex.el (bibtex-search-entry-globally):
21553 (bibtex-search-entry): Use it.
21555 2011-06-05 Roland Winkler <winkler@gnu.org>
21557 * textmodes/bibtex.el (bibtex-entry-format): New option
21559 (bibtex-format-entry, bibtex-reformat): Honor this option.
21560 (bibtex-parse-entry): Return fields in proper order.
21562 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21564 * doc-view.el (doc-view-remove-if): Move computation of result out
21565 of `dolist' to silence misleading lexical-binding warning.
21567 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21569 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21570 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21572 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21574 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21577 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21579 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21580 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21581 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21582 (tramp-parse-putty):
21583 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21584 (tramp-completion-function-alist-ssh)
21585 (tramp-completion-function-alist-telnet)
21586 (tramp-completion-function-alist-su)
21587 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21590 * net/tramp-ftp.el:
21592 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21593 load "tramp.el" `tramp-set-completion-function'.
21595 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21597 * shell.el: Require and use pcomplete.
21598 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21599 (shell-completion-vars): Set pcomplete-default-completion-function.
21601 2011-06-04 Deniz Dogan <deniz@dogan.se>
21603 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21606 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21608 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21610 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21612 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21613 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21614 * vc/log-view.el (log-view-beginning-of-defun):
21615 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21616 (smerge-refine-forward, smerge-refine-chopup-region):
21617 Silence warning for unused `dotimes' counter variables.
21619 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21621 * net/tramp.el (tramp-with-progress-reporter): Rename from
21622 with-progress-reporter. Use `declare'.
21623 * net/tramp-smb.el:
21625 * net/tramp-gvfs.el: Update all uses.
21627 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21629 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21630 buffer isn't killed before making it current.
21632 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21634 Silence various byte-compiler warnings.
21635 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21636 `access-type' and new obsolescence format.
21637 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21639 (byte-compile-check-variable): New `access-type' argument.
21640 Only warn if the access-type is obsolete.
21641 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21642 (byte-compile-variable-set): Adjust callers.
21643 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21644 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21645 setting it as obsolete.
21646 * simple.el (minibuffer-completing-symbol):
21647 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21648 access as obsolete.
21649 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21651 * international/quail.el (quail-mouse-choose-completion): Remove unused
21652 code referring to obsolete var.
21653 (quail-choose-completion-string): Remove.
21654 * server.el (server-clients-with, server-kill-buffer-query-function)
21655 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21656 * proced.el (proced-send-signal):
21657 * emacs-lisp/lisp.el (lisp-complete-symbol):
21658 Replace completion-annotate-function with completion-extra-properties.
21660 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21662 * simple.el (goto-line): Use read-number.
21663 (overriding-map-is-bound): Remove.
21664 (saved-overriding-map): Change default.
21665 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21666 Take the map as argument.
21667 (universal-argument, negative-argument, digit-argument): Use it.
21668 (restore-overriding-map): Adjust.
21669 (do-auto-fill): Use fill-forward-paragraph.
21670 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21672 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21673 (minibuffer-inactive-mode): New major mode.
21674 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21675 the *Messages* buffer" hack.
21676 (mouse-popup-menubar): Don't burp if the event is a normal key.
21678 Miscellaneous tweaks.
21679 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21680 lexical scoping as in subr.el's dolist and dotimes.
21681 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21682 Silence compiler warning.
21683 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21684 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21685 * international/ccl.el (ccl-compile): Trivial simplification.
21686 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21687 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21688 `printflag' argument.
21689 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21690 Purecopy the whole obsolescence data.
21692 2011-06-01 Leo Liu <sdl.web@gmail.com>
21694 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21695 improve doc-string as suggested by Marco Pessotto
21696 <melmothx@gmail.com>.
21697 (rcirc-print): Fix last change.
21699 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21701 * minibuffer.el (complete-with-action): Return nil for the metadata and
21702 boundaries of non-functional tables.
21703 (completion-table-dynamic): Return nil for the metadata.
21704 (completion-table-with-terminator): Add default case, using
21705 complete-with-action.
21706 (completion--metadata): New function.
21707 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21708 to try and avoid pathological performance problems.
21709 (completion--embedded-envvar-table): Return `category' metadata.
21711 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21713 * subr.el (process-alive-p): New tiny convenience function.
21715 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21717 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21718 content but also its previous major mode.
21720 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21722 * emacs-lisp/debug.el (debug): Restore the previous content of the
21723 *Backtrace* buffer when we exit with C-M-c.
21725 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21727 * minibuffer.el: Add metadata method to completion tables.
21728 (completion-category-overrides): New defcustom.
21729 (completion-metadata, completion--field-metadata)
21730 (completion-metadata-get, completion--styles)
21731 (completion--cycle-threshold): New functions.
21732 (completion-try-completion, completion-all-completions):
21733 Add `metadata' argument to choose completion-styles.
21734 (completion--do-completion): Use metadata to choose cycling.
21735 (completion-all-sorted-completions): Use metadata for sorting.
21736 Remove :completion-cycle-penalty which is not needed any more.
21737 (completion--try-word-completion): Add `metadata' argument.
21738 (minibuffer-completion-help): Check metadata for annotation function
21740 (completion-file-name-table): Return `category' metadata.
21741 (minibuffer-completing-file-name): Make obsolete.
21742 * simple.el (minibuffer-completing-symbol): Make obsolete.
21743 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21744 completion-try-completion.
21746 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21748 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21750 2011-05-30 Leo Liu <sdl.web@gmail.com>
21752 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21753 (rcirc-print): Decode all incoming messages (bug#8744).
21754 (rcirc-decode-coding-system): Allow value nil for automatic coding
21757 2011-06-01 Glenn Morris <rgm@gnu.org>
21759 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21761 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21763 * image.el (image-animate-max-time): Allow nil and t values.
21765 (create-animated-image): Doc fix.
21766 (image-animate-start): Remove second arg; just use
21767 image-animate-max-time.
21768 (image-animate-timeout): Doc fix. Args changed.
21770 * image-mode.el (image-toggle-display-image): Ensure that the
21771 image spec passed to the animate timer is the same object as in
21772 the buffer's display property (Bug#6981).
21773 (image-transform-properties): Doc fix.
21775 * image.el (image-animate-max-time): Default to nil.
21777 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21779 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21780 entire buffer list (Bug#8184).
21782 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21784 * image.el (imagemagick-types-inhibit)
21785 (imagemagick-register-types): Doc fix.
21787 2011-05-29 Deniz Dogan <deniz@dogan.se>
21789 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21792 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21794 * select.el: Don't perform clipboard-manager saving in hooks;
21795 leave the hooks empty.
21797 2011-05-28 Leo Liu <sdl.web@gmail.com>
21799 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21800 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21801 (occur-edit-mode): New major mode (Bug#8463).
21802 (occur-after-change-function): New function.
21803 (occur-engine): Give Occur tags a read-only property.
21805 2011-05-28 Kevin Ryde <user42@zip.com.au>
21807 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21809 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21811 * bindings.el (help-echo): Make the initial non-indicator dash
21812 empty on graphical terminals (Bug#7295).
21814 * files.el (auto-mode-alist): Move config rule after the
21815 in-stripping one (Bug#8547).
21817 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21819 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21820 setting (Bug#8740).
21822 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21824 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21825 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21828 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21830 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21832 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21834 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21835 (hs-hide-block-at-point, hs-find-block-beginning)
21836 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21839 2011-05-28 Glenn Morris <rgm@gnu.org>
21841 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21843 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21845 * help-fns.el (describe-function-1): If the function is a derived
21846 major mode, print the parent mode.
21848 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21849 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21851 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21853 * minibuffer.el (completion--capf-wrapper): Check applicability before
21854 returning non-nil for non-exclusive completion data.
21855 * progmodes/etags.el (tags-completion-at-point-function):
21856 * info-look.el (info-lookup-completions-at-point): Mark as
21858 (info-complete): Adjust accordingly.
21860 * info-look.el: Convert to lexical-binding and completion-at-point.
21861 (info-lookup-completions-at-point): New function.
21862 (info-complete): Use it and completion-in-region.
21864 2011-05-28 Drew Adams <drew.adams@oracle.com>
21866 * isearch.el: Let M-e start with point at the first mismatched char.
21867 (isearch-fail-pos): New function.
21868 (isearch-edit-string): Use it.
21870 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21872 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21874 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21876 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21877 traversal functions for avl-trees.
21878 (avl-tree--stack): New struct.
21879 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21880 (avl-tree-enter): Add optional `updatefun' arg.
21881 (avl-tree--do-enter): Add optional `updatefun' arg.
21882 Change return value.
21883 (avl-tree-delete): Add optional `test' and `nilflag' args.
21884 (avl-tree--do-delete): Add `test' and `nilflag' args.
21885 Change return value.
21886 (avl-tree-member): Add optional `nilflag'
21887 (avl-tree-member-p): New function.
21888 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21889 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21890 (avl-tree-stack-empty-p): New functions.
21892 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21893 avl-tree--del-balance1 and make it work both ways.
21894 (avl-tree--del-balance2): Remove.
21895 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21896 make it work both ways.
21897 (avl-tree--enter-balance2): Remove.
21898 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21900 (avl-tree--mapc, avl-tree-map): Add direction argument.
21902 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21904 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21906 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21908 * select.el: Support clipboard managers with built-in function
21909 x-clipboard-manager-save, via delete-frame-functions and
21911 (xselect-convert-to-targets): Add MULTIPLE target to list.
21912 (xselect-convert-to-save-targets): New function.
21914 2011-05-27 Kenichi Handa <handa@m17n.org>
21916 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21917 let-binding rfc2047-encode-encoded-words to nil.
21919 2011-05-27 Glenn Morris <rgm@gnu.org>
21921 * mail/emacsbug.el: Don't require url-util.
21923 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21925 * files.el (set-auto-mode):
21926 Also respect mode: entries at the end of the file. (Bug#8586)
21928 2011-05-26 Glenn Morris <rgm@gnu.org>
21930 * files.el (hack-local-variables-prop-line, hack-local-variables):
21931 Downcase mode names, as seems to be traditional.
21932 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21934 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21935 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21937 2011-05-25 Julien Danjou <julien@danjou.info>
21939 * textmodes/rst.el (rst-define-level-faces): Do not define face
21940 symbol if it is already defined.
21942 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21944 * play/5x5.el (5x5-new-game, 5x5-randomize):
21945 Reset 5x5-solver-output to nil when a new grid is cast.
21946 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21947 these debugging traces, as defmacro breaks the compiled code.
21949 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21951 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21953 2011-05-24 Leo Liu <sdl.web@gmail.com>
21955 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21956 (vc-bzr-sha1): Adapt.
21958 * sha1.el: Remove. Function `sha1' is now builtin.
21960 * bindings.el: Provide sha1 feature.
21962 2011-05-24 Kenichi Handa <handa@m17n.org>
21964 * mail/sendmail.el: Require `rfc2047'.
21965 (mail-insert-from-field): Do not perform RFC2047 encoding.
21966 (mail-encode-header): New function.
21967 (sendmail-send-it): Set buffer-file-coding-system of the work
21968 buffer to the return value of select-message-coding-system.
21969 Call mail-encode-header.
21971 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21973 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21975 * mail/supercite.el (sc-default-cite-frame):
21976 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21978 2011-05-24 Glenn Morris <rgm@gnu.org>
21980 * progmodes/python.el (brm-menu): Declare.
21982 * emulation/viper.el (viper-set-hooks): Declare.
21984 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21985 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21986 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21987 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21988 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21989 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21991 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21993 Add an :exit-function for completion-at-point.
21995 * minibuffer.el (completion--done): New fun.
21996 (completion--do-completion): Use it. New arg `expect-exact'.
21997 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21998 since completion--do-completion does it for us now.
21999 (minibuffer-force-complete): Use completion--done and
22000 completion--replace. Handle sole-completion case with more care.
22001 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22002 (completion-extra-properties): New var.
22003 (completion-annotate-function): Make obsolete.
22004 (minibuffer-completion-help): Adjust accordingly.
22005 Use completion-list-insert-choice-function.
22006 (completion-at-point, completion-help-at-point):
22007 Bind completion-extra-properties.
22008 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22009 * simple.el (completion-list-insert-choice-function): New var.
22010 (completion-setup-function): Preserve it.
22011 (choose-completion): Pay attention to it, shuffle the code a bit.
22012 (choose-completion-string): New arg `insert-function'.
22014 * textmodes/bibtex.el: Convert to lexical binding.
22015 (bibtex-mode-map): Use completion-at-point.
22016 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22017 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22018 (bibtex-complete): Define as obsolete alias.
22019 (bibtex-complete-internal): Remove.
22020 (bibtex-format-entry): Remove unused sub-group in regexp.
22021 * shell.el (shell--command-completion-data)
22022 (shell-environment-variable-completion):
22023 * pcomplete.el (pcomplete-completions-at-point):
22024 * comint.el (comint--complete-file-name-data): Use :exit-function
22025 instead of completion-table-with-terminator so it also works for
22028 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22030 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22032 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22035 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22037 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22039 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22040 customization variable and implement: If non-nil, auto-fill will
22041 be inhibited while on topic's header line.
22043 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22045 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22046 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22047 always have a solution in grid size = 5 cases.
22048 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22049 (5x5-solver-output, 5x5-log-buffer): New vars.
22050 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22051 Make these variables buffer local to achieve 5x5 multi-session-ness.
22052 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22053 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22054 (5x5-solve-suggest): New funs.
22055 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22056 randomize a grid so that we ensure that there is always a solution.
22057 (5x5-make-random-grid): Allow other movement than flipping.
22059 2011-05-23 Kevin Ryde <user42@zip.com.au>
22061 * emacs-lisp/advice.el (ad-read-advised-function):
22062 Use `function-called-at-point' as the default, if it has
22063 advice and passes PREDICATE.
22065 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22067 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22068 byte-compile-lambda if it's actually a lambda.
22070 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22071 Fix function quoting. Use backquote better.
22073 2011-05-22 Yuanle Song <sylecn@gmail.com>
22075 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22076 matching (Bug#8516).
22078 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22080 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22081 different face (Bug#8178).
22083 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22085 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22086 defface (Bug#8144).
22088 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22090 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22091 funcall as well (bug#8712). Warn when performing those conversions.
22092 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22094 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22096 2011-05-22 Glenn Morris <rgm@gnu.org>
22098 * files.el (hack-local-variables-prop-line): Small simplifications.
22099 (hack-local-variables, hack-local-variables-prop-line):
22100 If MODE-ONLY, return the mode, rather than just `t'.
22102 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22104 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22106 2011-05-21 Glenn Morris <rgm@gnu.org>
22108 * files.el (hack-local-variables-prop-line, hack-local-variables):
22109 If only interested in the mode, don't bother doing the other stuff.
22111 * image-mode.el (image-after-revert-hook):
22112 Redraw all frames on which the image is visible. (Bug#8567)
22114 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22116 * wid-edit.el (widget-checklist-match-inline):
22117 Fix 2011-04-19 change. (Bug#8649)
22119 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22121 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22122 Also allow singlespace after single-letter capitals followed by a dot.
22124 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22125 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22127 2011-05-20 Nix <nix@esperi.org.uk>
22129 * files.el (basic-save-buffer-2):
22130 Fix handling of break-hardlink-on-save with non-existent files.
22132 2011-05-19 Deniz Dogan <deniz@dogan.se>
22134 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22135 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22137 2011-05-19 Glenn Morris <rgm@gnu.org>
22139 * progmodes/f90.el (f90-type-def-re):
22140 Handle "type, bind(c)". (Bug#8691)
22142 * emacs-lisp/autoload.el (batch-update-autoloads):
22143 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22145 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22147 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22148 property for the correct connection in case of multihops.
22150 2011-05-18 Glenn Morris <rgm@gnu.org>
22152 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22153 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22155 Rationalize calendar handling of day and month abbrev-arrays.
22156 * calendar/calendar.el (calendar-customized-p): New function.
22157 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22158 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22160 (calendar-abbrev-length, calendar-day-abbrev-array)
22161 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22162 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22163 Elements may no longer be nil.
22164 (calendar-day-name, calendar-month-name):
22165 Update for changed nature of abbrev arrays.
22166 * calendar/diary-lib.el (diary-name-pattern):
22167 Update for changed nature of abbrev arrays.
22168 (diary-mark-entries-1): Update calendar-make-alist calls.
22169 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22170 * calendar/cal-html.el (cal-html-day-abbrev-array):
22171 Simply inherit from calendar-day-abbrev-array.
22173 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22175 * progmodes/grep.el (grep-mode): Disable default
22176 compilation-directory-matcher setting (bug#8684).
22178 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22180 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22181 instead of "head" and "tail". There were problems with SunOS 5.9,
22182 and it performs better.
22184 2011-05-17 Glenn Morris <rgm@gnu.org>
22186 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22188 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22189 Replace obsolete function.
22191 * shell.el (pcomplete-parse-arguments-function): Declare.
22193 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22194 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22195 (appt-check): Doc fixes.
22196 (appt-disp-window-function, appt-delete-window-function):
22197 Remove needless special case in custom :type.
22198 (appt-display-count): Default to 0, not nil.
22199 (appt-check): Reset appt-display-count to 0, not nil.
22201 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22203 * progmodes/python.el (python-font-lock-keywords):
22204 Add the Python 3.X keyword "nonlocal" (bug#8639).
22206 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22208 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22210 2011-05-16 Kevin Ryde <user42@zip.com.au>
22212 * info-look.el (makefile-automake-mode): New setups, looking in
22213 automake manual, then makefile-mode.
22214 (makefile-mode): Remove automake manual, have it just in
22215 makefile-automake-mode since there's various things different or
22216 not relevant to plain make.
22217 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22218 believe a hypothetical automake-mode would go to makefile-mode,
22219 not the other way around.
22221 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22223 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22224 hunk-end tags (Bug#8672).
22226 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22227 vc-annotate-show-diff-revision-at-line (Bug#8671).
22229 2011-05-14 Glenn Morris <rgm@gnu.org>
22231 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22232 in the middle of an existing one with multiple authors. (Bug#8645)
22233 (change-log-font-lock-keywords): Also handle multiple author lines
22234 with leading tabs. (Bug#8644)
22236 * calendar/appt.el (appt-check): Rename some local variables.
22237 Some simplification/reordering.
22239 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22240 (feedmail-sendmail-f-doesnt-sell-me-out)
22241 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22242 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22243 (feedmail-queue-runner-message-sender): Set :version.
22244 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22245 (bbdb-dwim-net-address, vm-mail): Declare.
22246 (feedmail-binmail-gnulinuxish-template):
22247 Rename from feedmail-binmail-linuxish-template.
22248 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22249 Use insert-buffer-substring.
22251 2011-05-14 Bill Carpenter <bill@carpenter.org>
22253 * mail/feedmail.el (feedmail-patch-level): Increase.
22254 (feedmail-debug): New custom group.
22255 (feedmail-confirm-outgoing-timeout)
22256 (feedmail-sendmail-f-doesnt-sell-me-out)
22257 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22258 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22259 (feedmail-sender-line, feedmail-from-line)
22260 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22261 (feedmail-spray-this-address)
22262 (feedmail-spray-address-fiddle-plex-list)
22263 (feedmail-queue-use-send-time-for-date)
22264 (feedmail-queue-use-send-time-for-message-id)
22265 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22266 (feedmail-buffer-eating-function):
22268 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22269 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22270 (feedmail-message-action-scroll-down): New functions.
22271 (feedmail-queue-directory, feedmail-queue-draft-directory):
22272 Use expand-file-name.
22273 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22274 Remove C-v help entry.
22275 (feedmail-queue-buffer-file-name): New variable.
22276 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22277 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22278 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22279 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22280 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22281 (feedmail-message-action-toggle-spray)
22282 (feedmail-run-the-queue-no-prompts)
22283 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22284 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22285 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22286 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22287 (feedmail-envelope-deducer, feedmail-fiddle-from)
22288 (feedmail-fiddle-sender, feedmail-default-date-generator)
22289 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22290 (feedmail-fiddle-spray-address)
22291 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22292 (feedmail-fiddle-list-of-fiddle-plexes)
22293 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22294 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22295 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22296 Change default. Doc fix.
22297 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22298 (feedmail-binmail-linuxish-template): New constant.
22299 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22300 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22301 (feedmail-send-it): Add debug call.
22302 Use feedmail-queue-buffer-file-name, and
22303 feedmail-send-it-immediately-wrapper.
22304 (feedmail-message-action-send): Add debug call.
22305 Use feedmail-send-it-immediately-wrapper.
22306 (feedmail-queue-express-to-queue): Add debug call.
22307 Run feedmail-queue-express-hook.
22308 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22309 (feedmail-message-action-help-blat):
22310 Rename from feedmail-queue-send-edit-prompt-help-first.
22311 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22312 Check line-endings. Handle errors better.
22313 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22314 Doc fix. Add debug call.
22315 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22316 Use feedmail-queue-send-edit-prompt-inner.
22317 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22318 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22319 from feedmail-queue-send-edit-prompt.
22320 (feedmail-queue-send-edit-prompt-help)
22321 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22322 (feedmail-tidy-up-slug): Add debug call.
22323 Respect feedmail-queue-slug-suspect-regexp.
22324 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22325 (feedmail-dump-message-to-queue): Add debug call.
22326 Expand queue-directory.
22327 (feedmail-dump-message-to-queue): Change message slightly.
22328 Use feedmail-say-chatter.
22329 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22330 (feedmail-send-it-immediately-wrapper): New function.
22331 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22332 Insert empty string rather than newline. Handle full-frame case.
22333 Use catch/throw. Use feedmail-say-chatter.
22334 (feedmail-fiddle-from): Try mail-host-address.
22335 (feedmail-default-message-id-generator): Doc fix.
22336 Bind system-time-locale. Handle missing end.
22337 (feedmail-fiddle-x-mailer): Add debug call.
22338 Handle feedmail-x-mailer-line being nil.
22339 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22340 Add debug call. Use buffer-substring-no-properties.
22341 (feedmail-say-debug, feedmail-say-chatter): New functions.
22342 (feedmail-find-eoh): Give an explicit error.
22344 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22346 * net/newst-treeview.el (newsticker-treeview-face): Change default
22347 family from helvetica to sans.
22348 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22349 etc/images/newsticker.
22351 * net/newst-reader.el (newsticker-feed-face): Change default
22352 family from helvetica to sans.
22354 * net/newst-plainview.el (newsticker-new-item-face)
22355 (newsticker-old-item-face, newsticker-immortal-item-face)
22356 (newsticker-obsolete-item-face, newsticker-date-face)
22357 (newsticker-statistics-face): Change default family from
22359 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22360 etc/images/newsticker.
22362 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22363 (newsticker--process-auto-mark-filter-match): Tell user about
22366 2011-05-13 Didier Verna <didier@xemacs.org>
22368 Common Lisp indentation improvements on defmethod and lambda-lists.
22369 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22371 (lisp-lambda-list-keyword-parameter-indentation)
22372 (lisp-lambda-list-keyword-parameter-alignment)
22373 (lisp-lambda-list-keyword-alignment): New customizable user options.
22374 (lisp-indent-defun-method): Improve docstring.
22375 (extended-loop-p): Fix comment.
22376 (lisp-indent-lambda-list-keywords-regexp): New variable.
22377 (lisp-indent-lambda-list): New function.
22378 (lisp-indent-259): Use it.
22379 (lisp-indent-defmethod): Support for more than one
22380 method qualifier and properly indent methods lambda-lists.
22381 (defgeneric): Provide a missing common-lisp-indent-function property.
22383 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22385 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22386 bounds for the empty string (bug#8667).
22388 2011-05-13 Glenn Morris <rgm@gnu.org>
22390 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22392 * mail/sendmail.el (sendmail-program): Try executable-find first.
22393 (sendmail-send-it): `sendmail-program' cannot be unbound.
22395 * calendar/appt.el (appt-make-list): Simplify.
22396 (appt-time-msg-list): Doc fix.
22397 (appt-check): Change mode-line message at the time of the appointment.
22399 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22401 * progmodes/ld-script.el (ld-script-keywords)
22402 (ld-script-builtins): Update keywords list.
22404 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22406 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22408 * shell.el (shell-completion-vars): New function.
22410 * simple.el (read-shell-command): Use it.
22411 (blink-matching-open): No need for " [...]" in minibuffer-message.
22413 2011-05-12 Glenn Morris <rgm@gnu.org>
22415 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22416 (appt-check): Simplify.
22418 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22420 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22421 literal "/dev/null".
22423 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22425 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22428 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22430 * progmodes/which-func.el (which-function):
22431 Use add-log-current-defun instead of add-log-current-defun-function,
22432 which might not be defined (Bug#8260).
22434 2011-05-12 Glenn Morris <rgm@gnu.org>
22436 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22437 Let byte-compile-initial-macro-environment always take precedence.
22439 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22441 * net/rcirc.el: Add support for SSL/TLS connections.
22442 (rcirc-server-alist): New field `encryption'.
22443 (rcirc): Check `encryption' settings.
22444 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22445 Merge make-local-variable into `set'.
22446 (rcirc--connection-open-p): New function.
22447 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22448 the process is not a network process (e.g. running gnutls-cli).
22449 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22450 Make rcirc-(en|de)code-coding-system local here.
22451 (rcirc-mode): Merge make-local-variable into `set'.
22452 (rcirc-parent-buffer): Make permanent buffer-local.
22453 (rcirc-multiline-minor-mode): Don't do it here.
22454 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22455 there's no server buffer.
22457 2011-05-11 Glenn Morris <rgm@gnu.org>
22459 * newcomment.el (comment-kill): Prefix "unused" local.
22461 * term/w32console.el (get-screen-color): Declare.
22463 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22464 Handle symbol elements of byte-compile-initial-macro-environment.
22466 2011-05-10 Leo Liu <sdl.web@gmail.com>
22468 * bookmark.el (bookmark-bmenu-mode-map):
22469 Bind bookmark-bmenu-search to `/'.
22471 * mail/footnote.el: Convert to utf-8 encoding.
22472 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22473 (Footnote-unicode): New function.
22474 (footnote-style-alist): Add unicode style to the list.
22475 (footnote-style): Doc fix.
22477 2011-05-10 Jim Meyering <meyering@redhat.com>
22479 Fix doubled-word typos.
22480 * international/quail.el (quail-insert-kbd-layout): and and -> and
22481 * kermit.el: and and -> and
22482 * net/ldap.el (ldap-search-internal): to to -> to
22483 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22484 * progmodes/js.el (js-mode): and and -> and
22485 * textmodes/artist.el (artist-move-to-xy): at at -> at
22486 (artist-draw-region-trim-line-endings): if if -> if
22487 And Safetyc -> Safety.
22488 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22490 2011-05-10 Glenn Morris <rgm@gnu.org>
22491 Stefan Monnier <monnier@iro.umontreal.ca>
22493 * files.el (hack-one-local-variable-eval-safep):
22494 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22496 2011-05-10 Glenn Morris <rgm@gnu.org>
22498 * calendar/diary-lib.el (diary-list-entries-hook)
22499 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22500 (diary-nongregorian-marking-hook, diary-list-entries)
22501 (diary-include-other-diary-files, diary-mark-entries)
22502 (diary-mark-included-diary-files): Doc fixes.
22504 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22506 * misc.el: Require tabulated-list.el during compilation.
22508 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22510 * progmodes/compile.el (compilation-start):
22511 Run compilation-filter-hook for the async case too.
22512 (compilation-filter-hook): Doc fix.
22514 2011-05-09 Deniz Dogan <deniz@dogan.se>
22516 * wdired.el: Remove outdated installation comment. Fix usage
22519 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22521 * misc.el: Implement new command `list-dynamic-libraries'.
22522 (list-dynamic-libraries--loaded-only-p): New variable.
22523 (list-dynamic-libraries--refresh): New function.
22524 (list-dynamic-libraries): New command.
22526 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22528 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22529 Fix the ant regexp to handle end-line and end-column info from jikes.
22530 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22531 higher priority to avoid clobbering by gnu.
22533 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22535 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22536 if the face has existing theme settings (Bug#8454).
22538 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22540 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22541 Only match variables declared via `my' or `our' (Bug#8261).
22543 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22544 special file names `.' and `..' (Bug#8259).
22546 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22548 * progmodes/grep.el (grep-mode-font-lock-keywords):
22549 Remove buffer-changing entries.
22550 (grep-filter): New function.
22551 (grep-mode): Add it to compilation-filter-hook.
22553 * progmodes/compile.el (compilation-filter-hook)
22554 (compilation-filter-start): New defvars.
22555 (compilation-filter): Call compilation-filter-hook prior to
22556 updating the process mark.
22558 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22560 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22562 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22564 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22565 mailclient-send-it even if window-system is nil. (Bug#8595)
22567 * term/w32console.el (terminal-init-w32console):
22568 Call get-screen-color and use its output to set the frame
22569 background-mode. (Bug#8597)
22571 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22573 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22574 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22576 (defgeneric, eieio--defmethod): Use them.
22577 (eieio-defgeneric): Remove.
22578 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22580 2011-05-07 Glenn Morris <rgm@gnu.org>
22582 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22583 Use let rather than let*.
22584 (timeclock-find-discrep): Remove unused local.
22586 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22588 * calendar/appt.el (appt-time-msg-list): Doc fix.
22590 2011-05-06 Noah Friedman <friedman@splode.com>
22592 * apropos.el (apropos-print-doc): Only use
22593 emacs-lisp-docstring-fill-column when it is bound to an integer,
22594 per that variable's documentation.
22596 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22598 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22599 and warnings are not silently discarded (e.g. use -d instead of -P).
22601 2011-05-06 Glenn Morris <rgm@gnu.org>
22603 * calendar/appt.el (appt-message-warning-time): Doc fix.
22604 (appt-warning-time-regexp): New option.
22605 (appt-make-list): Respect appt-message-warning-time.
22607 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22609 (diary-add-to-list): Strip comments from the displayed string.
22610 (diary-mode): Set comment-start and comment-end.
22612 * vc/diff-mode.el (smerge-refine-subst): Declare.
22613 (diff-refine-hunk): Don't require smerge-mode when compiling.
22615 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22617 * simple.el (list-processes): Return nil as the docstring says.
22619 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22621 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22623 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22624 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22625 determining of binary transfer. (Bug#7383)
22627 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22630 Fix port computation bug. (Bug#8618)
22632 2011-05-05 Glenn Morris <rgm@gnu.org>
22634 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22636 * simple.el (shell-dynamic-complete-functions)
22637 (comint-dynamic-complete-functions): Declare.
22639 * net/network-stream.el (gnutls-negotiate):
22640 * simple.el (tabulated-list-print): Fix declarations.
22642 * progmodes/gud.el (syntax-symbol, syntax-point):
22643 Remove unnecessary and incorrect declarations.
22645 * emacs-lisp/check-declare.el (check-declare-scan):
22646 Handle byte-compile-initial-macro-environment in bytecomp.el.
22648 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22650 Fix earlier half-done eieio-defmethod change (bug#8338).
22651 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22652 Streamline and change calling convention.
22653 (defmethod): Adjust accordingly and simplify.
22654 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22655 new eieio--defmethod.
22656 (slot-boundp): Minor CSE simplification.
22658 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22660 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22661 (glasses-make-readable): Use glasses-separate-capital-groups.
22663 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22665 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22666 (warning-series): Doc fix.
22667 (display-warning): Don't try to create the buffer if we just found it.
22669 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22671 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22672 (autoload-find-generated-file): New function.
22673 (generate-file-autoloads): Bind generated-autoload-file to
22675 (update-file-autoloads, update-directory-autoloads):
22676 Use autoload-find-generated-file. If called interactively, prompt for
22677 output file (Bug#7989).
22678 (batch-update-autoloads): Doc fix.
22680 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22682 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22684 2011-05-04 Glenn Morris <rgm@gnu.org>
22686 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22687 function, so it follows changes in calendar-date-style.
22688 (diary-fancy-date-matcher): New function.
22689 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22690 (diary-fancy-font-lock-fontify-region-function):
22691 Use diary-fancy-date-pattern as a function.
22693 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22694 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22696 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22698 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22699 instead of positional arguments. Allow :keylist and :crlfiles
22701 (open-gnutls-stream): Call it.
22703 * net/network-stream.el (network-stream-open-starttls): Adjust to
22704 call `gnutls-negotiate' with :process and :hostname arguments.
22706 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22708 * minibuffer.el (completion--message): New function.
22709 (completion--do-completion, minibuffer-complete)
22710 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22711 (completion--do-completion): Don't ignore completion-auto-help when in
22714 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22715 internal encoding (e.g. tibetan zero is not whitespace).
22716 (global-whitespace-mode): Prefer save-current-buffer.
22717 (whitespace-trailing-regexp): Remove useless save-match-data.
22718 (whitespace-empty-at-bob-regexp): Minor simplification.
22720 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22722 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22724 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22726 * textmodes/ispell.el (ispell-add-per-file-word-list):
22727 Use `concat' to create string for insertion.
22729 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22731 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22732 Avoid open-line which runs post-self-insert-hook.
22733 (bibtex-fill-entry): Remove unused `end' var.
22735 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22737 * textmodes/ispell.el (ispell-add-per-file-word-list):
22738 Protect against `nil' value of `comment-start' (Bug#8579).
22740 2011-05-03 Leo Liu <sdl.web@gmail.com>
22742 * isearch.el (isearch-yank-pop): New command.
22743 (isearch-mode-map): Bind it to `M-y'.
22744 (isearch-forward): Mention it.
22746 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22748 * simple.el (minibuffer-complete-shell-command): Remove.
22749 (minibuffer-local-shell-command-map): Use completion-at-point.
22750 (read-shell-command): Setup completion vars here instead.
22751 (read-expression-map): Bind TAB to symbol completion.
22753 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22754 error directly rather via storing it into `results'.
22756 2011-05-02 Leo Liu <sdl.web@gmail.com>
22758 * vc/diff.el: Fix description.
22760 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22762 * server.el (server-eval-at): New function.
22764 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22766 * net/network-stream.el (open-network-stream): Take a :nowait
22767 parameter and pass it on to `make-network-process'.
22768 (network-stream-open-plain): Ditto.
22770 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22772 * faces.el (face-spec-set-match-display): Don't match toolkit
22773 options on terminal frames.
22775 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22777 * progmodes/pascal.el: Use lexical binding.
22778 (pascal-mode-map): Remove author preferences.
22780 * pcomplete.el (pcomplete-std-complete): Don't abuse
22781 completion-at-point.
22783 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22785 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22786 removing code that has been dead since 1991 or so.
22788 * startup.el (command-line): When warning about "_emacs", use a
22789 delayed warning to allow the user to filter it out.
22791 2011-04-28 Deniz Dogan <deniz@dogan.se>
22793 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22794 user has not joined.
22796 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22798 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22799 aren't any completions at point.
22801 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22803 * subr.el (display-delayed-warnings): New function.
22804 (delayed-warnings-hook): New variable.
22806 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22808 * minibuffer.el (completion-at-point, completion-help-at-point):
22809 Don't presume that a given completion-at-point-function will always
22810 use the same calling convention.
22812 * pcomplete.el (pcomplete-completions-at-point):
22813 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22814 pcomplete-seen is non-nil.
22815 (pcomplete-comint-setup): Also recognize the new comint/shell
22816 completion functions.
22817 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22818 pcomplete-seen is non-nil.
22820 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22822 * calendar/icalendar.el (diary-lib): Add require statement.
22823 (icalendar--create-uid): Read out a uid from a text-property on
22824 the first character in the entry. This allows for code to add its
22825 own uid to the entry.
22826 (icalendar--convert-float-to-ical): Add export of
22827 `diary-float'-entries save for those with the optional DAY
22830 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22832 * subr.el (shell-quote-argument): Use alternate escaping strategy
22833 when we spot a variable reference in a string.
22835 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22837 * cus-start.el (all): Define customization for debug-on-event.
22839 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22841 * subr.el (shell-quote-argument): Escape correctly under Windows.
22843 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22845 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22847 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22849 * net/tramp.el (tramp-process-actions): Add POS argument.
22850 Delete region between POS and (pos).
22852 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22853 Use `nil' position in `tramp-process-actions' call.
22854 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22856 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22857 position in `tramp-process-actions' call.
22859 * net/trampver.el: Update release number.
22861 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22863 * custom.el (defcustom): Obey lexical-binding.
22865 Fix octave-inf completion problems reported by Alexander Klimov.
22866 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22867 Inherit from octave-mode-syntax-table.
22868 (inferior-octave-mode): Set info-lookup-mode.
22869 (inferior-octave-completion-at-point): New function.
22870 (inferior-octave-complete): Use it and completion-in-region.
22871 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22872 comint-filename-completion.
22873 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22874 symbol elements which shouldn't be word elements.
22875 (octave-font-lock-keywords, octave-beginning-of-defun)
22876 (octave-function-header-regexp): Adjust regexps accordingly.
22877 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22879 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22881 * net/gnutls.el (gnutls-errorp): Declare before first use.
22883 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22885 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22886 verify-error, and verify-hostname-error parameters. Check whether
22887 default trustfile exists before going to use it. Add missing
22888 argument to gnutls-message-maybe call. Return value.
22889 Reported by Claudio Bley <claudio.bley@gmail.com>.
22890 (open-gnutls-stream): Add usage example.
22892 * net/network-stream.el (network-stream-open-starttls): Give host
22893 parameter to `gnutls-negotiate'.
22894 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22895 * subr.el (shell-quote-argument): Escape correctly under Windows.
22897 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22899 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22900 Use correct match group (bug#8438).
22902 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22904 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22905 (package-menu--generate): New arg specifying packages to show.
22906 (package-menu-refresh, package-menu-execute, list-packages):
22908 (package-show-package-list): New function, replacing deleted
22909 package--list-packages (renamed because it is non-internal).
22911 * finder.el (finder-list-matches): Use package-show-package-list
22912 instead of deleted package--list-packages.
22914 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22915 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22916 (vc-annotate-mode-map): Bind it to RET.
22918 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22920 * progmodes/etags.el (next-file): Don't use set-buffer to change
22921 buffers (Bug#8478).
22923 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22925 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22927 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22928 (apropos-accumulator): Doc fix.
22929 (apropos-function, apropos-macro, apropos-command)
22930 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22931 (apropos-plist): Add face property.
22932 (apropos-symbols-internal): Fix indentation.
22933 (apropos-print): Simplify help, and recognize apropos-multi-type.
22934 (apropos-print-doc): Use button-type-get to extract the button's
22935 face property. Fill docstring (Bug#8352).
22937 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22939 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22941 * play/mpuz.el (mpuz-silent): Doc fix.
22942 (mpuz-mode-map): Use mapc.
22943 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22944 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22945 Fix typos in docstrings.
22947 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22948 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22950 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22952 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22954 * minibuffer.el (completion--do-completion): Avoid the "Next char
22955 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22957 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22958 mouse-2 into unread-command-events, it is interpreted correctly.
22960 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22961 (image-toggle-display): Doc fix.
22963 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22965 * textmodes/page.el (what-page): Use line-number-at-pos to
22966 calculate line number (Bug#6825).
22968 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22970 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22971 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22972 Pass argument NO-DEFAULT to `find-tag-interactive'.
22974 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22976 Lexical-binding cleanup.
22978 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22979 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22980 * progmodes/ada-prj.el (ada-prj-initialize-values)
22981 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22982 (ada-prj-show-value):
22983 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22984 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22985 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22986 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22987 * progmodes/bug-reference.el (bug-reference-push-button):
22988 * progmodes/fortran.el (fortran-line-length):
22989 * progmodes/glasses.el (glasses-change):
22990 * progmodes/octave-mod.el (octave-fill-paragraph):
22991 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22992 (python-pdbtrack-grub-for-buffer, python-sentinel):
22993 * progmodes/sql.el (sql-save-connection):
22994 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22995 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22996 Mark unused parameters.
22998 * progmodes/compile.el (compilation--flush-directory-cache)
22999 (compilation--flush-parse, compile-internal): Mark unused parameters.
23000 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23001 (compilation-next-error-function): Remove unused variable `timestamp'.
23003 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23004 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23006 * progmodes/dcl-mode.el (dcl-end-of-command):
23007 Remove unused variable `start'.
23008 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23009 (dcl-option-value-basic, dcl-option-value-offset)
23010 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23011 Mark unused parameters.
23012 (dcl-save-local-variable): Remove unused variable `val'.
23015 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23016 Mark unused parameters.
23017 (delphi-ignore-changes): Move before first use.
23018 (delphi-charset-token-at): Remove unused variable `start'.
23019 (delphi-else-start): Remove unused variable `if-count'.
23020 (delphi-comment-block-start, delphi-comment-block-end):
23021 Remove unused variable `kind'.
23022 (delphi-indent-line): Remove unused variable `new-point'.
23024 * progmodes/ebrowse.el (ebrowse-files-list)
23025 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23026 Mark unused parameters. Don't quote `lambda'.
23027 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23028 Don't quote `lambda'.
23029 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23030 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23031 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23032 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23033 Use `ignore-errors'.
23034 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23035 (ebrowse-view/find-file-and-search-pattern)
23036 (ebrowse-view/find-member-declaration/definition):
23037 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23038 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23039 Rename parameter PREFIX-ARG to PREFIX.
23040 (ebrowse-tags-read-name): Remove unused variables `start' and
23042 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23045 * progmodes/etags.el (local-find-tag-hook): Declare.
23046 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23047 Mark unused parameters.
23049 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23050 (executable-interpret): Mark unused parameter.
23052 * progmodes/flymake.el (flymake-process-sentinel)
23053 (flymake-after-change-function)
23054 (flymake-create-temp-with-folder-structure)
23055 (flymake-get-include-dirs-dot): Mark unused parameters.
23056 (flymake-safe-delete-directory): Remove unused variable `err'.
23058 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23059 (speedbar-timer-fn, speedbar-line-text)
23060 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23061 (speedbar-center-buffer-smartly): Declare functions.
23062 (gdb-find-watch-expression): Remove unused variable `array'.
23063 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23064 (gdb-starting): Mark unused parameters.
23065 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23066 (gdb-table-string): Remove unused variable `res'.
23067 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23068 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23069 (gdb-display-buffer): Remove unused variable `cur-size'.
23071 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23072 allow lexical-binding compilation.
23073 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23074 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23075 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23076 Mark unused parameters.
23077 (gud-gdb-marker-filter): Remove unused variable `match'.
23078 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23079 lambda expressions and funcall them, instead of using `fset'.
23081 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23082 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23084 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23085 variable `header-beg'; use `let'.
23087 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23088 `restart', `last-sexp' and `at-do'.
23090 * progmodes/js.el (js--debug): Mark unused parameter.
23091 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23092 (js--splice-into-items): Remove unused variable `item'.
23093 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23095 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23096 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23097 (makefile-complete): Remove unused variable `try'.
23098 (makefile-fill-paragraph, makefile-match-function-end):
23099 Mark unused parameters.
23101 * progmodes/octave-inf.el (inferior-octave-complete):
23102 Remove unused variable `proc'.
23103 (inferior-octave-output-digest): Mark unused parameter.
23105 * progmodes/perl-mode.el (perl-calculate-indent):
23106 Remove unused variable `err'.
23108 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23109 (prolog-indent-line): Mark unused parameters.
23110 (prolog-indent-line): Remove unused variable `beg'.
23112 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23113 (reporter-dont-compact-list): Declare.
23115 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23116 Remove unused variable `char'.
23117 (sh-debug): Mark unused parameter.
23118 (sh-get-indent-info): Remove unused variable `start'.
23119 (sh-calculate-indent): Remove unused variable `var'.
23121 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23122 (simula-electric-keyword): Remove unused variable `null'.
23123 (simula-search-backward, simula-search-forward): Remove unused
23124 variables `begin' and `end'.
23126 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23127 Remove unused variable `pos'.
23128 (vera-electric-tab, vera-comment-uncomment-region):
23129 Mark unused parameters.
23130 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23132 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23134 * emacs-lisp/package.el (package--builtins, package-alist)
23135 (package-load-descriptor, package-built-in-p, package-activate)
23136 (define-package, package-installed-p)
23137 (package-compute-transaction, package-buffer-info)
23138 (package--push): Doc fix. Distinguish more clearly between
23139 version strings and version lists.
23141 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23143 Lexical-binding cleanup.
23145 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23146 (5x5-make-mutate-best):
23147 * play/fortune.el (fortune-in-buffer):
23148 * play/gomoku.el (gomoku-init-display):
23149 * play/solitaire.el (solitaire, solitaire-do-check):
23150 * play/tetris.el (tetris-default-update-speed-function):
23151 Mark unused parameters.
23153 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23154 (bubbles--shift): Remove unused variable `char-org'.
23155 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23156 (bubbles--show-images): Remove unused variable `char'.
23158 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23159 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23160 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23161 (decipher-analyze-buffer): Use ?\s.
23162 (decipher-make-checkpoint): Remove unused variable `mapping'.
23164 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23167 Remove unused variable `result'; use `let'.
23169 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23170 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23171 (gametree-children-shown-p, gametree-compute-reduced-score):
23172 Use `ignore-errors'.
23174 * play/handwrite.el (ps-lpr-switches): Declare.
23175 (handwrite): Remove unused variables `pmin' and `lastp'.
23177 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23179 * play/landmark.el (landmark-init-display)
23180 (landmark-update-naught-weights): Mark unused parameters.
23181 (landmark-y): Remove unused variable `noise'. Simplify.
23182 (landmark-human-plays): Remove unused variable `score'.
23184 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23185 (mpuz-try-proposal): Remove unused variable `game'.
23187 * play/zone.el (life-patterns): Declare.
23189 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23191 * vc/vc.el (ediff-vc-internal): Declare function.
23193 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23195 * shell.el: Use lexical-binding and std completion UI.
23196 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23197 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23198 comint-preoutput-filter-functions rather than on
23199 comint-output-filter-functions.
23200 (shell-command-completion, shell--command-completion-data)
23201 (shell-filename-completion, shell-environment-variable-completion)
23202 (shell-c-a-p-replace-by-expanded-directory): New functions.
23203 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23204 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23205 (shell-dynamic-complete-environment-variable): Use them.
23206 (shell-dynamic-complete-as-environment-variable)
23207 (shell-dynamic-complete-as-command): Remove.
23208 (shell-match-partial-variable): Match past point.
23209 * comint.el: Clean up use of completion-at-point-functions.
23210 (comint-completion-at-point): New function.
23211 (comint-mode): Use it completion-at-point-functions.
23212 (comint-dynamic-complete): Make it obsolete.
23213 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23214 (comint-c-a-p-replace-by-expanded-history): New function.
23215 (comint-dynamic-complete-functions)
23216 (comint-replace-by-expanded-history): Use it.
23217 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23218 termination strings. Try harder to avoid second try-completion.
23219 (completion-in-region-mode-map): Disable bindings that don't work yet.
23221 * comint.el: Use lexical-binding. Require CL.
23222 (comint-dynamic-complete-functions): Use comint-filename-completion.
23223 (comint-completion-addsuffix): Tweak custom type.
23224 (comint-filename-completion, comint--common-suffix)
23225 (comint--common-quoted-suffix, comint--table-subvert)
23226 (comint--complete-file-name-data): New functions.
23227 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23228 (comint-dynamic-list-filename-completions): Use them.
23229 (comint-dynamic-simple-complete): Make obsolete.
23231 * minibuffer.el (completion-in-region-mode):
23232 Keep completion-in-region-mode--predicate global.
23233 (completion-in-region--postch):
23234 Assume completion-in-region-mode--predicate is not null.
23236 * progmodes/flymake.el (flymake-start-syntax-check-process):
23237 Obey `dir'. Simplify.
23239 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23240 we're in VC after all.
23242 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23244 * vc/vc.el (vc-diff-build-argument-list-internal)
23245 (vc-version-ediff, vc-ediff): New commands.
23246 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23248 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23250 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23253 * obsolete/erc-hecomplete.el: Make obsolete.
23254 * obsolete/: Standardize obsolescence info in the header.
23256 2011-04-20 Glenn Morris <rgm@gnu.org>
23258 * calendar/solar.el (solar-horizontal-coordinates):
23259 Use the longitude argument rather than `calendar-longitude'.
23260 (solar-date-next-longitude): Remove unused locals.
23262 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23264 * whitespace.el: New version 13.2.1.
23266 2011-04-20 felix <EmacsWiki> (tiny change)
23268 * whitespace.el (global-whitespace-mode): Keep highlight when
23269 switching between major modes on a file.
23271 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23273 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23274 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23275 multi-line comments as well.
23277 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23279 Lexical-binding cleanup.
23281 * arc-mode.el (archive-mode-revert):
23282 * cmuscheme.el (scheme-interactively-start-process):
23283 * custom.el (custom-initialize-delay):
23284 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23285 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23286 * emacs-lock.el (emacs-lock-clear-sentinel):
23287 * ezimage.el (defezimage):
23288 * follow.el (follow-avoid-tail-recenter):
23289 * fringe.el (set-fringe-mode-1):
23290 * generic-x.el (bat-generic-mode-compile):
23291 * help-mode.el (help-info-variable, help-do-xref)
23292 (help-mode-revert-buffer):
23293 * help.el (view-emacs-todo):
23294 * iswitchb.el (iswitchb-completion-help):
23295 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23296 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23297 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23298 * locate.el (locate-update):
23299 * longlines.el (longlines-encode-region)
23300 (longlines-after-change-function):
23301 * outline.el (outline-isearch-open-invisible):
23302 * ps-def.el (declare-function, charset-dimension, char-width)
23304 * ps-mule.el (ps-mule-plot-string):
23305 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23306 (recentf-edit-list-select, recentf-edit-list-validate)
23307 (recentf-open-files-action):
23308 * rect.el (delete-whitespace-rectangle-line)
23309 (rectangle-number-line-callback):
23310 * register.el (window-configuration-to-register)
23311 (frame-configuration-to-register):
23312 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23313 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23314 (xselect-convert-to-targets, xselect-convert-to-delete)
23315 (xselect-convert-to-filename, xselect-convert-to-charpos)
23316 (xselect-convert-to-lineno, xselect-convert-to-colno)
23317 (xselect-convert-to-os, xselect-convert-to-host)
23318 (xselect-convert-to-user, xselect-convert-to-class)
23319 (xselect-convert-to-name, xselect-convert-to-integer)
23320 (xselect-convert-to-atom, xselect-convert-to-identity):
23321 * subr.el (declare, ignore, process-kill-without-query)
23322 (text-clone-maintain):
23323 * terminal.el (te-get-char, te-tic-sentinel):
23324 * tool-bar.el (tool-bar-make-keymap):
23325 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23326 * type-break.el (type-break-mode, type-break-noninteractive-query):
23327 * view.el (View-back-to-mark):
23328 * wid-browse.el (widget-browse-action, widget-browse-widget)
23329 (widget-browse-widgets, widget-browse-sexp):
23330 * widget.el (define-widget-keywords):
23331 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23332 Mark unused parameters.
23334 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23335 (align-areas): Remove unused variable `look'.
23336 (align-region): Remove unused variables `real-end' and `pos-list'.
23338 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23340 * bindings.el (mode-line-modified, mode-line-remote):
23341 Mark unused parameters.
23342 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23344 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23345 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23347 * comint.el (comint-history-isearch-pop-state)
23348 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23349 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23350 (comint-substitute-in-file-name): Doc fix.
23352 * completion.el (cmpl-statistics-block): Mark unused parameter.
23353 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23354 (save-completions-to-file, load-completions-from-file):
23355 Remove unused local variable `e'.
23357 * composite.el (compose-chars): Remove unused variable `len'.
23358 (lgstring-insert-glyph): Remove unused variable `g'.
23359 (compose-glyph-string): Remove unused variables `ascent',
23360 `descent', `lbearing' and `rbearing'.
23361 (compose-glyph-string-relative): Remove unused variables
23362 `lbearing', `rbearing' and `wadjust'.
23363 (compose-gstring-for-graphic): Remove unused variables `header',
23364 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23365 (compose-gstring-for-terminal): Remove unused variables `header'
23366 and `nchars'. Use `let', not `let*'.
23368 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23369 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23370 (Custom-buffer-done, custom-buffer-create-internal)
23371 (custom-browse-visibility-action, custom-browse-group-tag-action)
23372 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23373 (widget-magic-mouse-down-action, custom-toggle-parent)
23374 (custom-add-parent-links, custom-toggle-hide-variable)
23375 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23376 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23377 (custom-face-menu-create, custom-variable-menu-create, get)
23378 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23379 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23380 (customize-apropos): Remove unused variable `tests'.
23381 (custom-group-value-create): Remove unused variable `hidden-p'.
23382 (sort-fold-case): Declare.
23384 * cus-theme.el (custom-reset-standard-faces-list)
23385 (custom-reset-standard-variables-list): Declare.
23386 (customize-create-theme, custom-theme-revert, custom-theme-write)
23387 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23388 Mark unused parameters.
23390 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23392 * delim-col.el (delimit-columns-max): Move defvar before first use.
23394 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23395 (describe-char): Don't quote `lambda'. Mark unused parameter.
23397 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23398 (auto-insert): Declare.
23399 (desktop-restore-file-buffer): Rename desktop-* parameters;
23401 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23402 (desktop-buffer): Rename desktop-* parameters.
23404 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23405 (dframe-reposition-frame-xemacs, dframe-help-echo)
23406 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23407 Mark unused parameters.
23409 * dired-aux.el (backup-extract-version-start, overwrite-query)
23410 (overwrite-backup-query, rename-regexp-query)
23411 (rename-non-directory-query): Declare.
23412 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23413 (dired-add-entry): Remove unused variable `orig-file-name'.
23414 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23415 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23416 `dired-copy-preserve-time' directly.
23417 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23418 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23420 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23421 (dired-virtual-revert, dired-make-relative-symlink):
23422 Mark unused parameters.
23423 (manual-program): Declare.
23424 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23425 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23426 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23428 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23430 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23432 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23435 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23437 * electric.el (Electric-command-loop): Rename parameter
23438 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23440 * expand.el (expand-in-literal): Remove unused variable `here'.
23442 * facemenu.el (facemenu-add-new-color):
23443 Remove unused variable `docstring'.
23445 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23446 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23447 (face-attr-construct): Mark unused parameter. Doc fix.
23448 (read-color): Remove unused variable `hex-string'.
23450 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23451 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23452 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23453 (display-buffer-other-frame): Remove unused variable `old-window'.
23454 (kill-buffer-hook): Declare.
23455 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23456 Mark unused parameters.
23457 (after-find-file): Pass 1 to `auto-save-mode', not t.
23459 * files-x.el (auto-insert): Declare.
23460 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23462 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23463 variable `buf'. Mark unused parameter.
23464 (find-lisp-insert-directory): Mark unused parameter.
23466 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23467 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23468 (format-common-tail): Remove, unused.
23469 (format-deannotate-region): Remove unused variable `loc'.
23470 (format-annotate-region): Remove unused variable `p'.
23471 (format-annotate-single-property-change): Remove unused variables
23472 `default' and `tail'.
23474 * forms.el (read-file-filter): Declare.
23475 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23477 * frame.el (frame-creation-function-alist): Mark unused parameter.
23478 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23480 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23481 Remove unused parameters.
23482 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23483 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23485 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23486 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23487 (hfy-prepare-tag-map): Mark unused parameters.
23488 (htmlfontify-buffer): Use `called-interactively-p'.
23490 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23491 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23492 (ibuffer-do-occur): Mark unused parameters.
23493 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23494 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23496 * ibuffer.el: Don't quote `lambda'.
23497 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23498 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23499 Mark unused parameters.
23501 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23502 (ido-completing-read): Mark unused parameters.
23503 (ido-copy-current-word): Mark unused parameters;
23504 remove unused variable `name'.
23505 (ido-sort-merged-list): Remove unused parameter `dirs'.
23507 * ielm.el (ielm-input-sender): Mark unused parameter.
23508 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23509 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23510 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23511 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23512 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23514 * image-dired.el (image-dired-display-thumbs): Remove unused
23515 variables `curr-file' and `count'.
23516 (image-dired-remove-tag): Remove unused variable `start'.
23517 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23518 variable `curr-file'
23519 (image-dired-rotate-original): Remove unused variable `temp-file'.
23520 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23521 Remove unused variable `file'.
23522 (image-dired-gallery-generate): Remove unused variable `curr'.
23523 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23525 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23527 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23529 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23531 * isearch.el (minibuffer-history-symbol): Declare.
23532 (isearch-edit-string): Remove unused variable `err'.
23533 (isearch-message-prefix, isearch-message-suffix):
23534 Mark unused parameters.
23536 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23538 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23540 * makesum.el (double-column): Remove unused variable `cnt'.
23542 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23543 (ido-ignore-item-temp-list): Declare.
23545 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23546 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23547 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23548 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23551 * mouse-sel.el (mouse-extend-internal):
23552 Remove unused variable `orig-window-frame'.
23554 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23555 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23556 Move declarations before first use.
23557 (pcomplete-opt): Mark unused parameters; doc fix.
23559 * proced.el (proced-revert): Mark unused parameter.
23560 (proced-send-signal): Remove unused variable `err'.
23562 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23563 Rename parameter PREFIX-ARG to ARG.
23564 (ps-basic-plot-string, ps-basic-plot-whitespace):
23565 Mark unused parameters.
23567 * replace.el (replace-count): Define.
23568 (occur-revert-function): Mark unused parameters.
23569 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23570 (isearch-case-fold-search, isearch-string): Declare.
23571 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23572 bind `case-fold-search'. Remove unused variables `beg' and `end',
23574 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23575 COUNT and bind `replace-count'.
23576 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23579 * savehist.el (print-readably, print-string-length): Declare.
23581 * shadowfile.el (shadow-expand-cluster-in-file-name):
23582 Remove unused variable `cluster'.
23583 (shadow-copy-file): Remove unused variable `i'.
23584 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23585 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23586 (shadow-define-literal-group, shadow-define-regexp-group)
23587 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23589 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23590 (shell): Use `called-interactively-p'.
23591 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23593 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23594 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23595 (delete-backward-char): Remove unused variable `ocol'.
23596 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23597 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23598 (event-apply-hyper-modifier, event-apply-shift-modifier)
23599 (event-apply-control-modifier, event-apply-meta-modifier):
23600 Mark unused parameters.
23601 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23602 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23604 * speedbar.el (speedbar-ignored-directory-expressions)
23605 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23606 (speedbar-find-file, speedbar-dir-follow)
23607 (speedbar-directory-buttons-follow, speedbar-tag-find)
23608 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23609 (speedbar-buffers-line-directory, speedbar-buffer-click):
23610 Mark unused parameters.
23611 (speedbar-tag-file): Remove unused variable `mode'.
23612 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23614 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23616 * talk.el (talk): Remove unused variable `display'.
23618 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23619 (tar-write-region-annotate): Mark unused parameter.
23621 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23622 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23623 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23624 warning by another.
23626 * time-stamp.el (time-stamp-string-preprocess):
23627 Remove unused variable `require-padding'.
23629 * tree-widget.el (widget-glyph-enable): Declare.
23630 (tree-widget-action): Mark unused parameter.
23632 * w32-fns.el (x-get-selection): Mark unused parameter.
23633 (autoload-make-program, generated-autoload-file): Declare.
23635 * wdired.el (wdired-revert): Mark unused parameters.
23636 (wdired-xcase-word): Remove unused variable `err'.
23638 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23639 (whitespace-help-scroll): Remove unused variable `data-help'.
23641 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23642 (widget-image-insert, widget-after-change, default)
23643 (widget-default-format-handler, widget-default-notify)
23644 (widget-default-prompt-value, widget-info-link-action)
23645 (widget-url-link-action, widget-function-link-action)
23646 (widget-variable-link-action, widget-file-link-action)
23647 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23648 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23649 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23650 (widget-insert-button-action, widget-delete-button-action, visibility)
23651 (widget-documentation-link-action, widget-documentation-string-action)
23652 (widget-const-prompt-value, widget-regexp-match, symbol)
23653 (widget-coding-system-prompt-value)
23654 (widget-key-sequence-value-to-external, sexp)
23655 (widget-sexp-value-to-internal, character, vector, cons)
23656 (widget-choice-prompt-value, widget-boolean-prompt-value)
23657 (widget-color--choose-action): Mark unused parameters.
23658 (widget-item-match-inline, widget-choice-match-inline)
23659 (widget-checklist-match, widget-checklist-match-inline)
23660 (widget-group-match): Rename parameter VALUES to VALS.
23661 (widget-field-value-set): Remove unused variable `size'.
23662 (widget-color-action): Remove unused variables `value' and `start'.
23664 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23665 variable `dir'. Doc fix.
23666 (windmove-find-other-window): Don't pass it.
23668 * window.el (count-windows): Mark unused parameter.
23669 (bw-adjust-window): Remove unused variable `err'.
23671 * woman.el (woman-file-name): Remove unused variable `default'.
23672 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23673 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23674 (global-font-lock-mode): Declare.
23675 (woman-decode-region): Mark unused parameter.
23676 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23678 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23679 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23680 (x-dnd-handle-moz-url): Remove unused variable `title'.
23681 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23683 * xml.el (xml-parse-tag, xml-parse-attlist):
23684 Remove unused variable `pos'.
23686 2011-04-19 Glenn Morris <rgm@gnu.org>
23688 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23689 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23690 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23691 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23692 * calendar/cal-html.el (cal-html-insert-minical):
23693 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23694 (calendar-mark-date-pattern):
23695 Prefix "unused" locals.
23697 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23698 optional argument `style'.
23700 * calendar/appt.el (appt-make-list):
23701 * calendar/cal-china.el (calendar-chinese-date-string):
23702 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23703 (diary-hebrew-yahrzeit):
23704 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23705 * calendar/calendar.el (calendar-generate-window):
23706 * calendar/time-date.el (time-to-days):
23707 Remove unused local variables.
23709 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23711 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23712 glyphless-char-display table.
23713 (tabulated-list-glyphless-char-display): New var.
23715 2011-04-18 Sam Steingold <sds@gnu.org>
23717 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23718 to acknowledgments.
23720 2011-04-17 Glenn Morris <rgm@gnu.org>
23722 * calendar/diary-lib.el (diary-sexp-entry):
23723 * calendar/holidays.el (holiday-sexp):
23724 Set debug-on-error rather than the removed stack-trace-on-error.
23726 2011-04-16 Glenn Morris <rgm@gnu.org>
23728 * progmodes/f90.el: Use lexical-binding.
23729 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23731 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23733 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23734 (mail-mode): Setup mailalias completion here instead.
23735 * mail/mailalias.el: Use lexical-binding.
23736 (pattern, mailalias-done): Declare dynamic.
23737 (mail-completion-at-point-function): New function, from mail-complete.
23738 (mail-complete): Use it.
23739 (mail-completion-expand): New function.
23740 (mail-get-names): Use it.
23741 (mail-directory, mail-directory-process, mail-directory-stream):
23742 Don't use `pattern' for lexically bound arg.
23744 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23746 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23747 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23748 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23750 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23751 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23752 (byte-interactive-p): Define them again, for use when inlining
23755 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23757 * loadup.el: Use `string-to-number', not `string-to-int'.
23759 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23761 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23762 gud-gdb-complete-command.
23763 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23764 (gud-gdb-completion-at-point): New function.
23765 (gud-gdb-completions): Remove.
23767 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23769 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23770 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23771 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23772 whether `executable-find' is bound.
23774 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23776 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23778 * minibuffer.el (completion-in-region-mode-predicate)
23779 (completion-in-region-mode--predicate): New vars.
23780 (completion-in-region, completion-in-region--postch)
23781 (completion-in-region-mode): Use them.
23782 (completion--capf-wrapper): Also return the hook function.
23783 (completion-at-point, completion-help-at-point):
23784 Adjust and provide a predicate.
23786 Preserve arg names for advice of subr and lexical functions (bug#8457).
23787 * help-fns.el (help-function-arglist): Consolidate the subr and
23788 new-byte-code cases. Add argument `preserve-names' to extract names
23789 from the docstring when needed.
23790 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23791 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23792 (ad-arglist): Use help-function-arglist's new arg.
23793 (ad-definition-type): Use cond.
23795 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23797 * autorevert.el (auto-revert-handler):
23798 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23799 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23800 Don't quote lambda.
23802 * image-mode.el (image-transform-set-scale):
23803 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23805 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23807 * net/network-stream.el (network-stream-open-starttls): Only do
23808 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23809 Upgrades via gnutls-cli are too slow to be done opportunistically.
23811 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23813 * dframe.el (dframe-current-frame): Remove spurious quote.
23815 2011-04-12 Glenn Morris <rgm@gnu.org>
23817 * calendar/cal-tex.el (cal-tex-end-document):
23818 Try to automatically use latin1 input if needed.
23820 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23821 Don't try to cons a mark onto an empty element.
23823 2011-04-11 Leo Liu <sdl.web@gmail.com>
23825 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23827 (ido-kill-buffer-at-head): Support killing virtual buffers.
23829 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23831 * minibuffer.el (completion-show-inline-help): New var.
23832 (completion--do-completion, minibuffer-complete)
23833 (minibuffer-force-complete, minibuffer-complete-word):
23834 Inhibit minibuffer messages if completion-show-inline-help is nil.
23836 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23837 to avoid interference from inline help (Bug#5849).
23839 2011-04-10 Leo Liu <sdl.web@gmail.com>
23841 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23844 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23846 * image-mode.el (image-toggle-display-image): Signal an error if
23848 (image-transform-mode, image-transform-resize)
23849 (image-transform-set-rotation): Doc fix.
23850 (image-transform-set-resize): Delete.
23851 (image-transform-set-scale, image-transform-fit-to-height)
23852 (image-transform-fit-to-width): Handle image-toggle-display-image
23853 and image-transform-resize directly.
23855 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23857 * doc-view.el (doc-view-fit-width-to-window)
23858 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23859 New functions for fitting the shown image to the Emacs window size.
23860 (doc-view-mode-map): Add bindings for the new functions.
23862 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23864 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23865 Fix typo in docstring.
23867 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23869 * files.el (file-size-human-readable): Produce one digit after
23870 decimal, like "ls -lh" does.
23872 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23873 the file size representation.
23875 * simple.el (list-processes): If async subprocesses are not
23876 available, error out with a clear error message.
23878 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23880 * help.el (help-form-show): New function, to be called from C.
23881 Put help-form output in a buffer named differently than *Help*.
23883 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23885 * files.el (file-size-human-readable): New function.
23887 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23888 computing the representation inline. Don't require `cl'.
23890 2011-04-08 Glenn Morris <rgm@gnu.org>
23892 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23894 * net/browse-url.el (browse-url-firefox):
23895 Test system-type, not system-configuration.
23897 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23898 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23899 Use log-edit-empty-buffer-p. (Bug#7598)
23901 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23902 (rlogin-mode-map): Initialize in the defvar.
23903 (rlogin): Use ignore-errors.
23905 * replace.el (occur-mode-map): Some fixes for menu items.
23907 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23909 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23911 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23913 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23914 issuing unused warnings.
23916 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23919 * simple.el: Lisp reimplement of list-processes. Based on an
23920 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23921 (process-menu-mode): New major mode.
23922 (list-processes--refresh, list-processes):
23923 (process-menu-visit-buffer): New functions.
23925 * files.el (save-buffers-kill-emacs): Don't assume any return
23926 value of list-processes, which is undocumented anyway.
23928 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23930 * emacs-lisp/tabulated-list.el: New file.
23932 * emacs-lisp/package.el: Use Tabulated List mode.
23933 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23934 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23935 table format using Tabulated List mode variables.
23936 (package--push): New macro, replacing package-list-maybe-add.
23937 (package-menu--generate): Use package--push. Renamed from
23938 package--generate-package-list.
23939 (package-menu-refresh, list-packages): Use it.
23940 (package-menu--print-info): Rename from package-print-package.
23941 Return insertion data instead of inserting it directly.
23942 (package-menu-describe-package, package-menu-execute):
23943 Use tabulated-list-get-id.
23944 (package-menu-mark-delete, package-menu-mark-install)
23945 (package-menu-mark-unmark, package-menu-backup-unmark)
23946 (package-menu-mark-obsolete-for-deletion):
23947 Use tabulated-list-put-tag.
23948 (package--list-packages, package-menu-revert)
23949 (package-menu-get-package, package-menu-get-version)
23950 (package-menu-sort-by-column): Functions deleted.
23951 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23952 (package-menu--status-predicate, package-menu--version-predicate)
23953 (package-menu--name-predicate)
23954 (package-menu--description-predicate): Handle arguments in the
23955 Tabulated List format.
23956 (package-list-packages-no-fetch): Call list-packages.
23958 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23960 * files.el (after-find-file-from-revert-buffer): Remove variable.
23961 (after-find-file): Don't bind it.
23962 (revert-buffer-in-progress-p): New variable.
23963 (revert-buffer): Bind it.
23964 Pass nil for `after-find-file-from-revert-buffer'.
23966 * saveplace.el (save-place-find-file-hook): Use new variable
23967 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23969 2011-04-06 Glenn Morris <rgm@gnu.org>
23971 * Makefile.in (AUTOGEN_VCS): New variable.
23972 (autoloads): Use $AUTOGEN_VCS.
23974 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23975 * calendar/calendar.el (calendar-mode-map):
23976 Check for toolkit scroll bars. (Bug#8305)
23978 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23980 * minibuffer.el (completion-in-region--postch)
23981 (completion-in-region-mode): Remove unnecessary messages.
23983 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23985 * font-lock.el (font-lock-refresh-defaults):
23986 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23987 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23989 * info.el (Info-directory-list, Info-read-node-name-2)
23990 (Info-split-parameter-string): Doc fixes.
23991 (Info-virtual-nodes): Reflow docstring.
23992 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23993 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23994 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23995 Fix typos in docstrings.
23996 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23997 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23998 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23999 (Info-restore-desktop-buffer): Mark unused parameters.
24000 (Info-directory-find-file, Info-directory-find-node)
24001 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24002 (Info-virtual-index-find-node, Info-apropos-find-file)
24003 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24004 Mark unused parameters; fix typos in docstrings.
24005 (Info-virtual-index): Remove unused local variable `nodename'.
24007 2011-04-05 Deniz Dogan <deniz@dogan.se>
24009 * net/rcirc.el: Update my e-mail address.
24010 (rcirc-mode-map): Remove M-o binding.
24012 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24014 * startup.el (command-line): Save the cursor's theme-face
24015 directly, instead of using face-override-spec.
24017 * custom.el (load-theme): Minor optimization in assigning faces.
24019 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24021 * help-fns.el (describe-variable): Complete all variables having
24022 documentation, including keywords.
24023 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24025 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24027 Convert to lexical-binding.
24029 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24030 (bs--get-marked-string, bs--get-modified-string)
24031 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24032 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24033 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24035 * ehelp.el (electric-help-execute-extended)
24036 (electric-help-ctrl-x-prefix):
24037 * hexl.el (hexl-revert-buffer-function):
24038 * linum.el (linum-after-change, linum-after-scroll):
24039 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24041 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24043 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24050 * epg.el: Use lexical binding.
24052 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24054 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24056 * textmodes/flyspell.el (flyspell-word): Recognize default
24057 dictionary case for flyspell-mark-duplications-exceptions.
24058 Use regexp matching for languages.
24059 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24060 default dictionary (Bug#7926).
24062 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24064 * emacs-lisp/package.el (package--with-work-buffer):
24065 Recognize https URLs.
24067 * net/network-stream.el: Move from gnus/proto-stream.el.
24068 Change prefix to network-stream throughout.
24069 (open-protocol-stream): Merge into open-network-stream, leaving
24070 open-protocol-stream as an alias. Handle nil BUFFER args.
24072 * subr.el (open-network-stream): Move to net/network-stream.el.
24074 2011-04-02 Glenn Morris <rgm@gnu.org>
24076 * find-dired.el (find-exec-terminator): New option.
24077 (find-ls-option): Test for -ls support.
24078 (find-ls-subdir-switches): Test for -b in find-ls-option.
24079 (find-dired, find-grep-dired): Doc fixes.
24080 (find-dired): Use find-exec-terminator.
24082 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24083 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24084 (find-name-arg): Remove purecopy.
24086 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24087 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24088 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24089 accordingly. Don't add the null-device if not needed.
24091 * files.el (save-some-buffers): Doc fix.
24093 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24095 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24097 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24099 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24100 Use `dolist' rather than `mapcar'.
24102 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24104 Add lexical binding.
24106 * subr.el (apply-partially): Use new closures rather than CL.
24107 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24108 (dolist, dotimes): Use slightly different expansion for lexical code.
24109 (functionp): Move to C.
24110 (letrec): New macro.
24111 (with-wrapper-hook): Use it and apply-partially instead of CL.
24112 (eval-after-load): Preserve lexical-binding.
24113 (save-window-excursion, with-output-to-temp-buffer): Turn them
24116 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24118 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24120 (help-add-fundoc-usage): Don't add `Not documented'.
24121 (help-function-arglist): Handle closures, subroutines, and new
24122 byte-code-functions.
24123 (help-make-usage): Remove leading underscores.
24124 (describe-function-1): Handle closures.
24125 (describe-variable): Use special-variable-p for completion.
24127 * files.el (lexical-binding): Declare safe.
24129 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24130 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24131 (pcase): Add `let' pattern.
24132 Change memoization so it actually works.
24133 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24134 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24137 * emacs-lisp/macroexp.el: Use lexical binding.
24138 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24139 Don't convert ' to #' without checking that it's indeed quoting
24142 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24143 Use eval-sexp-add-defvars.
24144 (eval-sexp-add-defvars): New fun.
24146 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24148 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24150 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24151 than the internal `byte-compile-lambda'.
24152 (defmethod): Don't hide code under quotes.
24153 (eieio-defmethod): New `code' argument.
24155 * emacs-lisp/eieio-comp.el: Remove.
24157 * emacs-lisp/edebug.el (edebug-eval-defun)
24158 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24159 (edebug-toggle): Avoid `eval'.
24161 * emacs-lisp/disass.el (disassemble-internal): Handle new
24163 (disassemble-1): Handle new byte codes.
24165 * emacs-lisp/cl.el (pushnew): Silence warning.
24167 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24168 (cl-byte-compile-throw): Remove.
24169 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24171 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24174 * emacs-lisp/cconv.el: New file.
24176 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24177 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24178 (byte-compile-initial-macro-environment):
24179 Handle declare-function here.
24180 (byte-compile--lexical-environment): New var.
24181 (byte-stack-ref, byte-stack-set, byte-discardN)
24182 (byte-discardN-preserve-tos): New lap codes.
24183 (byte-interactive-p): Don't use any more.
24184 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24186 (byte-compile-lapcode): Use them and handle new lap codes.
24187 (byte-compile-obsolete): Remove.
24188 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24189 (byte-compile-arglist-warn): Check late def of inlinable funs.
24190 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24191 since they should have been expanded by now.
24192 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24193 (byte-compile-from-buffer): Remove unused second arg.
24194 (byte-compile-preprocess): New function.
24195 (byte-compile-toplevel-file-form): New function to distinguish
24196 file-form calls from outside from file-form calls from hunk-handlers.
24197 (byte-compile-file-form): Simplify.
24198 (byte-compile-file-form-defsubst): Remove.
24199 (byte-compile-file-form-defmumble): Simplify now that
24200 byte-compile-lambda always returns a byte-code-function.
24201 (byte-compile): Preprocess.
24202 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24203 Remove, not used any more.
24204 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24205 (byte-compile-make-args-desc): New funs.
24206 (byte-compile-lambda): Handle lexical functions. Always return
24207 a byte-code-function.
24208 (byte-compile-reserved-constants): New var, to make up room for
24209 closed-over variables.
24210 (byte-compile-constants-vector): Obey it.
24211 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24212 (byte-compile-macroexpand-declare-function): New function.
24213 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24214 byte-code-functions.
24215 (byte-compile-form): Check obsolescence here.
24216 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24217 (byte-compile-variable-ref): Remove.
24218 (byte-compile-dynamic-variable-op): New fun.
24219 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24220 (byte-compile-variable-set): New funs.
24221 (byte-compile-discard): Add 2 args.
24222 (byte-compile-stack-ref, byte-compile-stack-set)
24223 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24224 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24225 macroexpand-all instead.
24226 (byte-compile-quote-form): Remove.
24227 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24228 (byte-compile-bind, byte-compile-unbind): New funs.
24229 (byte-compile-let): Handle let* and lexical binding.
24230 (byte-compile-let*): Remove.
24231 (byte-compile-catch, byte-compile-unwind-protect)
24232 (byte-compile-track-mouse, byte-compile-condition-case):
24233 Handle a new :fun-body form, used for lexical scoping.
24234 (byte-compile-save-window-excursion)
24235 (byte-compile-with-output-to-temp-buffer): Remove.
24236 (byte-compile-defun): Simplify.
24237 (byte-compile-stack-adjustment): New fun.
24238 (byte-compile-out): Use it.
24239 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24241 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24244 * emacs-lisp/byte-opt.el: Use lexical binding.
24245 (byte-inline-lapcode): Remove (to bytecomp).
24246 (byte-compile-inline-expand): Pay attention to inlining to/from
24247 lexically bound code.
24248 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24250 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24251 any more and don't call compiler-macros.
24252 (byte-compile-splice-in-already-compiled-code): Remove.
24253 (byte-code): Don't inline any more.
24254 (disassemble-offset): Receive `bytes' as argument rather than via
24256 (byte-compile-tag-number): Declare before first use.
24257 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24258 `return' even if make-spliceable.
24259 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24260 obsolete interactive-p.
24261 (byte-optimize-lapcode): Optimize new lap-codes.
24262 Don't trip up on new form of `byte-constant' lap code.
24264 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24266 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24268 * custom.el (custom-initialize-default, custom-declare-variable):
24271 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24273 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24274 (COMPILE_FIRST): Add macroexp and cconv.
24275 * makefile.w32-in: Mirror changes in Makefile.in.
24277 * vc/cvs-status.el:
24281 * vc/smerge-mode.el:
24282 * textmodes/bibtex-style.el:
24283 * textmodes/css-mode.el:
24291 * emacs-lisp/smie.el:
24294 * abbrev.el: Use lexical binding.
24296 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24298 * info.el (info-display-manual): New function.
24300 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24302 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24304 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24306 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24307 an entry for that server in rcirc-authinfo. (Bug#8385)
24309 2011-03-31 Glenn Morris <rgm@gnu.org>
24311 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24313 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24315 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24317 * progmodes/python.el (python-default-interpreter)
24318 (python-python-command-args, python-jython-command-args)
24319 (python-which-shell, python-which-args, python-which-bufname)
24320 (python-file-queue, python-comint-output-filter-function)
24321 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24322 variables and functions.
24324 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24326 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24327 (completion-in-region-mode): New minor mode.
24328 (completion-in-region): Use it.
24329 (completion-in-region--data, completion-in-region-mode-map): New vars.
24330 (completion-in-region--postch): New function.
24331 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24333 (completion--capf-wrapper): New function.
24334 (completion-at-point): Use it to track well-behavedness of
24336 (completion-help-at-point): New command.
24338 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24340 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24341 syntax class to search for whitespace on a single line
24342 (Message-ID: <4D938140.4030905@redhat.com>).
24344 2011-03-30 Leo Liu <sdl.web@gmail.com>
24346 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24348 (edit-abbrevs-map): Bind them here.
24349 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24351 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24353 * allout.el (allout-hide-by-annotation, allout-flag-region):
24354 Reduce possibility of overlay leakage by making them volatile.
24356 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24357 hash is not shared between buffers. Mode initialization is
24358 responsible for giving it a useful starting value.
24359 (allout-item-span): Reduce possibility of overlay leakage by
24360 making them volatile.
24361 (allout-widgets-count-buttons-in-region): Add diagnostic function
24362 for tracking down button overlay leaks.
24364 2011-03-29 Leo Liu <sdl.web@gmail.com>
24366 * ido.el (ido-read-internal): Use the default history var
24367 minibuffer-history if no HISTORY is specified.
24369 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24371 * net/imap.el (imap-shell-open, imap-process-connection-type):
24372 Use imap-process-connection-type for 'shell' streams as well as
24373 Kerberos, SSL, other subprocesses.
24375 2011-03-28 Leo Liu <sdl.web@gmail.com>
24377 * abbrev.el (abbrev-table-empty-p): New function.
24378 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24379 nonempty ones. (Bug#5937)
24381 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24383 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24385 2011-03-27 Leo Liu <sdl.web@gmail.com>
24387 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24388 for foreground and background colors.
24389 (ansi-color-make-color-map): Adapt.
24391 2011-03-25 Leo Liu <sdl.web@gmail.com>
24393 * midnight.el (midnight-time-float): Remove. Note it calculates
24394 the microsecond component incorrectly and seconds-to-time does the
24396 Remove redundant (require 'timer).
24398 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24399 (ido-completions): Remove unused arguments. (Bug#8329)
24401 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24403 * minibuffer.el (completion--flush-all-sorted-completions):
24404 Remove itself from hook.
24405 (completion-at-point): Let the functions perform the completion
24406 immediately and return nil or t.
24407 * comint.el (comint-dynamic-complete-functions): Now identical to
24408 completion-at-point-functions.
24409 (comint-dynamic-list-input-ring): Remove unused var `index'.
24410 (comint--match-partial-filename, comint--unquote&expand-filename):
24411 New funs, split from comint-match-partial-filename.
24412 (comint-dynamic-complete): Use completion-at-point.
24413 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24415 2011-03-24 Drew Adams <drew.adams@oracle.com>
24417 * thingatpt.el: Support `defun'.
24419 2011-03-23 Leo Liu <sdl.web@gmail.com>
24421 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24423 * help-mode.el (help-mode-finish): Tweak regexp.
24425 2011-03-23 Glenn Morris <rgm@gnu.org>
24427 * eshell/esh-opt.el (eshell-eval-using-options):
24428 Do not bind unused local variable `eshell-option-stub'.
24430 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24432 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24434 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24435 keymap variable in `with-no-warnings' to avoid a warning when the
24436 keymap has been already `defconst'ed.
24438 2011-03-22 Leo Liu <sdl.web@gmail.com>
24440 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24441 encode all chars in abbrevs; otherwise use emacs-mule or
24442 utf-8-emacs. (Bug#8308)
24444 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24446 * simple.el (backward-delete-char-untabify):
24447 Avoid warning about using `delete-backward-char'.
24449 * image.el (image-type-file-name-regexps): Make it variable.
24450 `imagemagick-register-types' modifies it, and the user may want
24451 to add new extensions for known image types.
24452 (imagemagick-register-types): Throw error if not using ImageMagick.
24454 2011-03-22 Leo Liu <sdl.web@gmail.com>
24456 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24457 located before rcirc-prompt-end-marker.
24458 (rcirc-complete): Error if point is not after rcirc prompt.
24459 Handle the case when table is nil.
24460 (rcirc-user-authenticated): Define to fix compiler warning.
24462 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24464 * custom.el (custom--inhibit-theme-enable): Make it affect only
24465 custom-theme-set-variables and custom-theme-set-faces.
24466 (provide-theme): Ignore custom--inhibit-theme-enable.
24467 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24468 (custom-enabling-themes): Delete variable.
24469 (enable-theme): Accept only loaded themes as arguments.
24470 Ignore the special custom-enabled-themes variable.
24471 (custom-enabled-themes): Forbid themes from setting this.
24472 Eliminate use of custom-enabling-themes.
24473 (custom-push-theme): Quote "changed" custom var entry.
24475 2011-03-21 Leo Liu <sdl.web@gmail.com>
24477 * ido.el (ido-read-internal): Add ido-selected to history instead
24480 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24482 * subr.el (deferred-action-list, deferred-action-function):
24485 2011-03-21 Leo Liu <sdl.web@gmail.com>
24487 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24488 change on 2011-02-13 (bug#8309).
24490 * minibuffer.el (read-file-name-function): Change default value.
24491 (read-file-name--defaults): Rename from read-file-name-defaults.
24492 (read-file-name-default): Rename from read-file-name.
24493 (read-file-name): Call read-file-name-function.
24495 2011-03-21 Glenn Morris <rgm@gnu.org>
24497 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24500 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24502 * cus-theme.el: Add missing provide statement.
24503 (customize-create-theme): Extract theme value correctly.
24504 (custom-theme-visit-theme): Autoload.
24505 (customize-create-theme): Prompt before inserting default faces.
24507 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24509 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24510 units and musical notes.
24512 2011-03-20 Leo Liu <sdl.web@gmail.com>
24514 * ido.el (ido-read-internal): Use completing-read-default.
24515 (ido-completing-read): Fix compatibility with completing-read.
24517 2011-03-20 Christian Ohler <ohler@gnu.org>
24519 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24520 (ert-delete-all-tests): Use `called-interactively-p' rather than
24522 (ert--make-xrefs-region): Respect END.
24524 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24526 * dired-aux.el (dired-create-directory): Signal an error if the
24527 directory already exists (Bug#8246).
24529 * facemenu.el (list-colors-display): Call list-faces-display
24530 inside with-help-window.
24531 (list-colors-print): Use display property to align the final
24532 column, instead of checking window-width.
24534 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24536 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24537 windows-nt systems.
24538 (emerge-protect-metachars): Quote correctly for ms-dos and
24539 windows-nt systems.
24541 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24543 * info.el (info-initialize): Replace all uses of `:' with
24544 path-separator for compatibility with non-Unix systems.
24545 Cache quoting of path-separator. (Bug#8258)
24547 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24549 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24550 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24551 (mouse-avoidance-mode): Fix typos in docstrings.
24553 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24555 * startup.el (package-subdirectory-regexp): Move from package.el.
24556 Omit \\` and \\', and let callers add them.
24558 * emacs-lisp/package.el (package-strip-version)
24559 (package-load-all-descriptors): Add \\` and \\' to
24560 package-subdirectory-regexp before using it.
24561 (package-untar-buffer): New arg DIR; ensure that file untars only
24562 into this expected directory. Remove superfluous delete-region.
24563 (package-unpack): Caller changed.
24564 (package-tar-file-info): Use package-subdirectory-regexp.
24566 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24568 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24569 diff-mode-shared-map (bug#8284).
24570 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24572 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24574 * calendar/time-date.el (format-seconds): Use assoc instead of
24575 assoc-string, since assoc-string doesn't exist in XEmacs.
24577 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24579 * custom.el (custom-known-themes): Reflow docstring.
24580 (custom-theme-load-path): Fix typo in docstring.
24581 (load-theme): Fix typo in error message.
24582 (custom-available-themes, custom-variable-theme-value):
24583 Use `let', not `let*'.
24585 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24587 * calc/README: Mention inclusion of musical notes.
24589 * calc/calc-units.el (calc-lu-quant): Rename from
24590 `calc-logunits-quantity'.
24591 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24592 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24593 (calc-db): Rename from `calc-dblevel'.
24594 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24595 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24596 (calc-np): Rename from `calc-nplevel'.
24597 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24598 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24599 (calc-lu-plus): Rename from `calc-logunits-add'.
24600 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24601 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24602 (calc-lu-minus): Rename from `calc-logunits-sub'.
24603 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24604 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24605 (calc-lu-times): Rename from `calc-logunits-mul'.
24606 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24607 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24608 (calc-lu-divide): Rename from `calc-logunits-div'.
24609 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24610 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24612 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24613 functions being autoloaded.
24615 * calc/calc.el (calc-lu-power-reference): Rename from
24616 `calc-logunits-power-reference'.
24617 (calc-lu-field-reference): Rename from
24618 `calc-logunits-field-reference'.
24620 * calc/calc-help.el (calc-l-prefix-help):
24621 Mention musical note functions.
24623 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24625 * minibuffer.el (completion-all-sorted-completions):
24626 Use :completion-cycle-penalty text property if present.
24628 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24630 * allout.el (allout-yank-processing): Adjust for new rebulleting
24631 regime so bullet being yanked is used without prompting the user
24634 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24636 * startup.el (command-line): Warn the user that _emacs is deprecated.
24638 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24640 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24641 (delphi-verbose, delphi-comment-face, delphi-string-face)
24642 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24643 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24644 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24645 (delphi-new-comment-line, delphi-font-lock-defaults)
24646 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24647 Fix typos in docstrings.
24649 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24651 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24652 Invert the roles of character and string values for INSTEAD, so a
24653 string is used for the more common case of a defaulting prompt.
24655 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24657 * progmodes/ruby-mode.el (ruby-backward-sexp):
24658 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24659 * play/gamegrid.el (gamegrid-make-face):
24660 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24661 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24662 * notifications.el (notifications-notify):
24663 * net/xesam.el (xesam-search-engines):
24664 * net/quickurl.el (quickurl-list-insert):
24665 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24667 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24669 * startup.el (command-line): Update package subdirectory regexp.
24671 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24673 * allout.el (allout-abbreviate-flattened-numbering)
24674 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24676 * subr.el (read-char-choice): Only show the cursor after the prompt,
24677 not after the answer.
24679 2011-03-15 Kevin Ryde <user42@zip.com.au>
24681 * help-fns.el (variable-at-point): Skip leading quotes, if any
24684 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24686 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24689 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24691 * shell.el (shell): When called interactively, offer to change the
24692 shell file name on remote hosts.
24694 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24696 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24697 integration for LDAP parameters. The host, base, user or binddn,
24698 and secret tokens can be specified in a netrc file, for instance.
24699 This is optional because an `auth-source' parameter must be
24700 specified in the search attributes.
24702 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24704 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24706 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24708 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24709 into declaration. Remove redundant and harmful binding.
24711 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24713 * files.el (file-ownership-preserved-p): Pass `integer' as an
24714 explicit 2nd argument to `file-attributes'. If the file's owner
24715 is the Administrators group on Windows, and the current user is
24716 Administrator, consider that a match.
24718 * server.el (server-ensure-safe-dir): Consider server directory
24719 safe on MS-Windows if its owner is the Administrators group while
24720 the current Emacs user is Administrator. Use `=' to compare
24721 numerical UIDs, since they could be integers or floats.
24723 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24725 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24727 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24729 Sync with Tramp 2.2.1.
24731 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24733 * net/trampver.el: Update release number.
24735 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24737 * progmodes/compile.el (compilation--previous-directory): Fix up
24738 various nil/dead-marker mismatches (bug#8014).
24739 (compilation-directory-properties, compilation-error-properties):
24740 Don't call it at a position past the one we're about to change.
24742 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24743 Disable obsolescence warnings in the file that declares it.
24745 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24747 * allout-widgets.el (allout-widgets-tally):
24748 Initialize allout-widgets-tally as a hash table rather than nil to
24749 prevent mode-line redisplay warnings. Also, clarify the module
24750 description and fix a comment typo.
24752 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24754 * help-fns.el (describe-variable): Don't complete keywords.
24755 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24757 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24759 * emacs-lisp/package.el (package-version-join): Impose a standard
24760 string representation for pre/alpha/beta version lists.
24761 (package-unpack-single): Standardize the directory name by passing
24762 it through package-version-join.
24763 (package-strip-rcs-id): Accept any version string that does not
24764 signal an error in version-to-list.
24766 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24768 * simple.el (delete-trailing-whitespace): Return nil for the
24769 benefit of `write-file-functions'.
24771 2011-03-10 Glenn Morris <rgm@gnu.org>
24773 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24775 * vc/vc-git.el (vc-git-program): New option.
24776 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24777 (vc-git--call): Use it.
24779 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24781 * cus-edit.el (Custom-newline): If no button at point, look
24782 for a subgroup button at start-of-line. (Bug#2298)
24784 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24786 2011-03-10 Julien Danjou <julien@danjou.info>
24788 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24789 `cursor-type' is nil.
24791 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24793 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24795 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24797 * allout.el: Change so yank of distinctive-bullet items
24798 preserves the existing header prefix, rebulleting it if necessary,
24799 rather than replacing it. This is necessary for proper operation
24800 of cooperative addons like allout-widgets.
24801 (allout-make-topic-prefix, allout-rebullet-heading):
24802 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24803 value as alternate bullet to be used, instead of prompting the user
24804 for a bullet character.
24806 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24808 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24809 Do not use `tramp-file-name-port', because this returns also
24810 `tramp-default-port'.
24812 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24814 * net/rcirc.el (rcirc-handler-001): Remove useless
24815 with-rcirc-process-buffer.
24816 (rcirc-check-auth-status): Swap arguments to string-match.
24818 2011-03-09 Glenn Morris <rgm@gnu.org>
24820 * shell.el (shell-mode):
24821 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24823 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24824 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24826 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24828 * emacs-lisp/package.el (package-refresh-contents)
24829 (package-menu-execute): Use condition-case-no-debug.
24831 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24833 * simple.el (shell-command-to-string): Use `process-file'.
24835 * emacs-lisp/package.el (package-tar-file-info): Handle also
24838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24839 Use `equal' for upload base check.
24841 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24843 * textmodes/texinfo.el (texinfo-environments):
24844 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24846 2011-03-08 Glenn Morris <rgm@gnu.org>
24848 * cus-start.el (cursor-in-non-selected-windows):
24849 Fix :set quoting oddness. (Bug#8192)
24851 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24852 in some setf expressions. (Bug#2159)
24854 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24856 * custom.el (custom-available-themes): Return themes in
24857 alphabetical order.
24859 See ChangeLog.15 for earlier changes.
24861 ;; Local Variables:
24865 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24867 This file is part of GNU Emacs.
24869 GNU Emacs is free software: you can redistribute it and/or modify
24870 it under the terms of the GNU General Public License as published by
24871 the Free Software Foundation, either version 3 of the License, or
24872 (at your option) any later version.
24874 GNU Emacs is distributed in the hope that it will be useful,
24875 but WITHOUT ANY WARRANTY; without even the implied warranty of
24876 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24877 GNU General Public License for more details.
24879 You should have received a copy of the GNU General Public License
24880 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.