1 2013-02-28 Dale Sedivec <dale@codefu.org>
3 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
4 Return valid syntax-table property value when converting
5 quotes within text from string syntax to punctuation syntax (bug#13844).
7 2013-02-28 Juri Linkov <juri@jurta.org>
9 * dired-aux.el (dired-diff): If file at point is a backup file,
10 use its original as the default value, and reverse the order
11 of arguments to the `diff' call. Doc fix. (Bug#13772)
13 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
15 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
16 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
18 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20 Initial support for hunspell dictionaries auto-detection (Bug#13639)
22 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
23 Ask hunspell about available and default dictionaries.
24 (ispell-parse-hunspell-affix-file): Extract relevant info from
26 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
27 `ispell-dictionary-alist' entry for given dictionary after info
28 provided by `ispell-parse-hunspell-affix-file'.
29 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
30 of parsed hunspell dicts and associated affix files.
31 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
32 of parsed hunspell dicts and associated parameters.
33 (ispell-set-spellchecker-params):
34 Call `ispell-find-hunspell-dictionaries' if hunspell and not
36 (ispell-start-process):
37 Call `ispell-hunspell-fill-dictionary-entry' for current
38 dictionary if it is not initialized.
40 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
42 * imenu.el: Comment nitpicks.
44 2013-02-28 Sam Steingold <sds@gnu.org>
46 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
47 See <http://stackoverflow.com/questions/14720205>.
49 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
51 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
52 (net-utils-mode): Use it.
53 (net-utils--revert-cmd): New var.
54 (net-utils-run-simple): Set it, and remove bogus interactive spec.
55 (traceroute): Use net-utils-run-simple.
57 2013-02-28 Glenn Morris <rgm@gnu.org>
59 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
61 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
63 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
64 (doc-view-fallback-mode): Remove overlays here.
65 (doc-view-toggle-display): Instead of here. Don't throw away
66 image-mode-winprops-alist.
67 (doc-view-goto-page): Don't mess with hscroll.
69 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
71 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
72 &optional (bug#13819).
74 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
76 * net/tramp-adb.el (tramp-adb-parse-device-names)
77 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
79 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
81 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
82 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
83 defined. POSIX environments fall back to the "C" locale then and
84 emit a warning, which shall be suppressed.
86 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
88 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
89 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
91 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
93 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
95 2013-02-25 Juri Linkov <juri@jurta.org>
97 * replace.el (read-regexp): Let-bind `default' to the first
98 element of `defaults' if it's a list, otherwise it should be
99 a string or nil. Let-bind `suggestions' to `defaults' if it's
100 a list, otherwise make a list with the string value. Doc fix.
103 2013-02-25 Eli Zaretskii <eliz@gnu.org>
105 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
106 that match "\`\.#", to avoid compiling lock files, even if they
107 are readable (as they are on MS-Windows).
109 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
111 * files.el (basic-save-buffer): Remove redundant directory-creation.
113 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
115 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
116 Add option to force `pi' to remain symbolic.
117 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
118 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
119 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
120 derivatives, when necessary.
122 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
124 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
125 (ps-mode-octal-region): Use string-make-unibyte.
127 2013-02-23 Glenn Morris <rgm@gnu.org>
129 * emulation/viper-cmd.el (viper-submit-report):
130 * progmodes/ps-mode.el (ps-mode-maintainer-address):
131 * progmodes/vera-mode.el (vera-mode-help-address):
132 * textmodes/artist.el (artist-maintainer-address):
133 * textmodes/reftex.el (reftex-report-bug):
134 * vc/ediff-util.el (ediff-submit-report):
135 Add bug-gnu-emacs to bug report address.
137 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
138 Remove bug report entries.
139 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
141 * emacs-lisp/bytecomp.el (byte-compile-level): New.
142 (byte-compile-file, byte-compile-from-buffer):
143 Use separate input/output buffers for each level of recursive
144 byte-compile-file calls. (Bug#13787)
146 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
148 * net/tramp.el (tramp-methods): Fix docstring.
149 (tramp-ssh-controlmaster-options): Rename it from
150 `tramp-ssh-controlmaster-template'. Return a string.
151 (tramp-default-method): Adapt check for
152 `tramp-ssh-controlmaster-options'.
154 * net/tramp-sh.el (tramp-methods):
155 Replace `tramp-ssh-controlmaster-template' by "%c".
156 (tramp-do-copy-or-rename-file-out-of-band)
157 (tramp-maybe-open-connection): Use it in format spec. Ensure,
158 that it is applied for the first hop only.
160 2013-02-22 Juri Linkov <juri@jurta.org>
162 * isearch.el (isearch-lazy-highlight-new-loop):
163 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
164 to `isearch-other-end' if it is not nil. (Bug#13402)
166 * replace.el (replace-highlight): Let-bind `isearch-other-end'
169 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
170 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
171 and `isearch-error' to nil.
173 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
175 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
177 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
178 Handle multibyte file names.
180 2013-02-22 Glenn Morris <rgm@gnu.org>
182 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
183 (sgml-transformation-function): Give it a :set function.
186 * cmuscheme.el (scheme-buffer):
187 * progmodes/inf-lisp.el (inferior-lisp-buffer):
188 * progmodes/tcl.el (inferior-tcl-buffer):
189 * textmodes/tex-mode.el (tex-command): Doc fixes.
191 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
193 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
195 2013-02-21 Bastien Guerry <bzg@gnu.org>
197 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
199 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
201 * progmodes/python.el (python-info-current-defun):
202 Enhance match-data cluttering prevention.
204 2013-02-21 Glenn Morris <rgm@gnu.org>
206 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
207 loaded while outline-regexp is let bound. (Bug#9584)
209 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
211 * progmodes/python.el (python-info-current-defun): Fix failed
212 defun name retrieval because of unwanted match-data cluttering.
214 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
216 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
217 defconst. Apply independent check for ControlPersist.
219 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
220 temporarily, via "env".
222 2013-02-21 Glenn Morris <rgm@gnu.org>
224 * info.el (Info-enable-edit): Remove.
225 (Info-edit): Disable it rather than using Info-enable.
226 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
227 (Info-cease-edit): Make editing of Info files obsolete.
229 * informat.el (Info-tagify):
230 Handle buffers not visiting files. (Bug#13763)
232 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
234 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
236 2013-02-21 Glenn Morris <rgm@gnu.org>
238 * files.el (basic-save-buffer): Move check for existing parent
239 directory after hooks. (Bug#13773)
241 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
243 * simple.el (command-execute): Move from C. Add obsolete check.
244 (extended-command-history): Move from C.
246 2013-02-20 Ulrich Müller <ulm@gentoo.org>
248 * jka-cmpr-hook.el (jka-compr-compression-info-list)
249 (jka-compr-mode-alist-additions): Handle .txz suffix for
250 XZ-compressed tar archives (bug#13770).
252 2013-02-20 Bastien Guerry <bzg@gnu.org>
254 * outline.el (outline-regexp, outline-heading-end-regexp):
255 Make variables, not options (bug#13731).
257 2013-02-20 Glenn Morris <rgm@gnu.org>
259 * image.el (image-current-frame): Change from variable to function.
260 (image-show-frame): Rename from image-nth-frame. Update callers.
261 * image-mode.el (image-multi-frame): New variable.
262 (image-mode-map, image-mode, image-goto-frame):
263 Use image-multi-frame rather than image-current-frame.
264 (image-mode, image-goto-frame): Use image-current-frame as
265 function rather than as variable.
267 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
268 * emacs-lisp/cl-macs.el (cl--make-type-test)
269 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
271 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
273 * net/tramp-cache.el (tramp-get-hash-table): New defun.
274 (tramp-get-file-property, tramp-set-file-property)
275 (tramp-get-connection-property, tramp-set-connection-property): Use it.
276 (tramp-flush-file-property, tramp-flush-directory-property):
277 Rename argument to KEY.
278 (tramp-flush-connection-property): Simplify a little bit.
279 (tramp-connection-property-p): New defun.
280 (top): Reapply saved values only if there isn't a corresponding
281 entry in `tramp-connection-properties'.
283 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
285 * progmodes/python.el (python-indent-context):
286 Fix python-info-line-ends-backslash-p call.
287 (python-info-line-ends-backslash-p)
288 (python-info-beginning-of-backslash): Respect line-number argument.
289 (python-info-current-line-comment-p):
290 Fix behavior when not at beginning-of-line.
291 (python-util-position): Remove function.
292 (python-util-goto-line): New function.
294 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
296 * eshell/em-unix.el (eshell/su): Require tramp.
297 (eshell/sudo): Require tramp. Remove now unnecessary check.
299 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
300 `tramp-current-connection' in order to avoid an error when several
301 commands are invoked in a short time in eshell and friends.
303 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
305 Cleanup some of EIEIO's namespace.
306 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
307 Use it to define all the class-* and object-* field accessors (renamed
308 to eieio--class-* and eieio--object-*). Update all uses.
309 (eieio--class-num-slots, eieio--object-num-slots): Rename from
310 class-num-slots and object-num-slots.
311 (eieio--check-type): New macro.
312 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
313 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
314 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
315 (object-assoc-list-safe): Use it.
316 (eieio-defclass): Tighten regexp.
317 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
318 Remove unreachable code.
319 (object-class-fast): Declare obsolete.
320 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
321 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
322 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
323 Rename from class-name, object-name, object-set-name-string,
324 object-class, object-class-name, class-parents, class-children,
325 class-precedence-list, class-parent; with obsolete alias.
326 (class-of, class-direct-superclasses, class-direct-subclasses):
328 (eieio-defmethod): Use `memq'; remove unreachable code.
329 * emacs-lisp/eieio-base.el (eieio-persistent-read):
330 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
331 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
334 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
336 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
337 Use font-lock-keyword-face for macros and special forms (bug#8345).
339 2013-02-17 Didier Verna <didier@didierverna.net>
341 * net/network-stream.el (network-stream-open-starttls):
342 Check that response to the starttls-command is non-nil. (Bug#13706)
344 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
346 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
347 Don't assume all identifier chars have syntax word.
348 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
349 Remove bar-not-symbol. Adjust callers.
350 (lisp-mode-variables): Don't set a font-lock-syntax-table.
352 2013-02-17 Leo Liu <sdl.web@gmail.com>
354 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
356 2013-02-17 Glenn Morris <rgm@gnu.org>
358 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
360 * image-mode.el (image-mode-map): Add image-dired menu entry.
362 * image-dired.el (tumme): Make this alias obsolete.
364 2013-02-16 Glenn Morris <rgm@gnu.org>
366 * image.el (image-animated-types): Remove.
367 (image-multi-frame-p): Rename from image-animated-p, and generalize.
368 (image-animated-p): Make obsolete alias.
369 (image-animate, image-nth-frame, image-animate-timeout):
370 Use image-multi-frame-p.
371 (image-animate-timeout): If no delay, use image-default-frame-delay.
372 * image-mode.el (image-mode, image-toggle-animation):
373 Use image-multi-frame-p. (Bug#763, bug#10739)
374 (image-mode): Adjust startup message for a multi-frame image.
376 * image-mode.el (image-mode-map): Give it a menu.
378 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
380 * net/tramp-cache.el (tramp-connection-properties): New customer
382 (tramp-get-connection-property): Use it.
384 * net/tramp-compat.el (top): Require 'trampver.
386 * net/tramp-sh.el (tramp-remote-process-environment):
387 Set tramp-autoload cookie.
389 2013-02-16 Kevin Ryde <user42@zip.com.au>
391 * info-look.el (info-lookup-select-mode): If major-mode has no
392 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
394 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
396 * replace.el (read-regexp): Tighten the regexp that matches tag.
397 When tag is retrieved with `find-tag-default', use regexp that
398 matches tag at point. Also update docstring (Bug#13687).
400 2013-02-16 Eli Zaretskii <eliz@gnu.org>
402 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
403 add watch for the file, not its parent directory, since w32notify
404 sets up the watch for the directory internally. (Bug#13725)
406 2013-02-16 Glenn Morris <rgm@gnu.org>
408 * image.el (image-default-frame-delay): New variable.
409 (image-animated-p): Use image-default-frame-delay.
410 (image-minimum-frame-delay): New constant.
411 (image-animate-timeout): Use image-minimum-frame-delay.
413 * image.el (image-nth-frame): New, split from image-animate-timeout.
414 (image-animate-timeout): Use image-nth-frame.
415 * image-mode.el (image-goto-frame, image-next-frame)
416 (image-previous-frame): New commands.
417 (image-mode-map): Add new frame commands.
419 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
421 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
422 If col-desc already has help-echo, use it. (Bug#13563)
424 2013-02-16 Glenn Morris <rgm@gnu.org>
426 * image.el (image-current-frame): New variable.
427 (image-animate-timeout): Set image-current-frame.
428 * image-mode.el (image-mode): For animated images,
429 display a frame counter via mode-line-process.
431 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
433 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
435 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
437 2013-02-15 Alan Mackenzie <acm@muc.de>
439 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
440 global minor mode has been enabled, call the minor mode function
441 for a new buffer once only, after the major mode hook, whilst
442 allowing that hook explicitly to disable the minor mode.
443 (MODE-disable-in-buffer): New (generated) function.
444 (disable-MODE): New (generated) buffer local variable.
446 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
448 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
449 `iswitchb-next-match' and `iswitchb-prev-match' resply.
450 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
451 `ido-next-match' and `ido-prev-match' resply.
452 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
453 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
454 `icomplete-backward-completions' (Bug#13708).
456 2013-02-15 Glenn Morris <rgm@gnu.org>
458 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
460 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
462 * net/goto-addr.el (goto-address-fontify): Add start and end args.
463 (goto-address-fontify-region): Use them instead of narrowing, so
464 syntax-ppss has access to the whole buffer.
466 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
468 * progmodes/python.el: Explain how to restore "cc-mode"-like
469 forward-sexp movement in header documentation (Bug#13642).
470 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
471 comments and strings (GH bug 114).
473 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
475 * progmodes/python.el (python-info-current-defun): Fix current
476 defun detection (Bug#13618).
478 2013-02-15 Chong Yidong <cyd@gnu.org>
480 * xml.el (xml-parse-string): Fix typo in handling of bad character
483 2013-02-15 Glenn Morris <rgm@gnu.org>
485 * play/fortune.el (fortune-compile): Simplify and fix previous change.
487 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
489 * net/tramp.el (tramp-debug-message):
490 Add `tramp-condition-case-unless-debug'.
491 (tramp-debug-on-error): New defvar.
492 (tramp-condition-case-unless-debug): New defun.
493 (tramp-file-name-handler): Use it.
495 2013-02-14 Juri Linkov <juri@jurta.org>
497 * info.el (Info-isearch-filter): Treat non-nil values of
498 `search-invisible' including its default value `open'
499 like the value `t' to match hidden text. (Bug#13402)
501 2013-02-14 Glenn Morris <rgm@gnu.org>
503 * help-fns.el (find-lisp-object-file-name): Give special treatment
504 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
506 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
508 * net/quickurl.el (quickurl-save-urls):
509 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
511 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
513 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
514 depth for unfinished percent literal. Not using it in the caller.
515 (ruby-move-to-block): Jump over multiline literals of all types,
516 ignoring code-looking contents inside them.
517 (ruby-add-log-current-method): Improve performance at the expense
518 of accuracy. `ruby-block-contains-point' is relatively slow, so
519 only use it for method and singleton class blocks.
521 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
523 Use ControlMaster where applicable. (Bug#13677)
525 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
526 replacing `tramp-detect-ssh-controlmaster'.
527 (tramp-default-method): Use it.
529 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
530 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
532 [scpc, rsyncc]: Remove methods.
533 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
535 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
536 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
538 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
540 * emacs-lisp/package.el (package--initialized): Move before first use.
542 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
544 * icomplete.el (icomplete-hide-common-prefix): New user option.
545 (icomplete-first-match): New face.
546 (icomplete-completions): Correct handling of "complete but not
549 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
551 * descr-text.el (describe-char): Display the script (bug#13698).
553 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
555 * tmm.el: Use lexical-binding and current-active-maps.
556 (tmm-menubar): Use map-keymap and pcase.
557 (tmm--completion-table): New function.
558 (tmm-prompt): Use it to fix the menu order.
559 (tmm-get-keybind): Use current-active-maps.
561 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
563 Add dired-hide-details-mode. (Bug#6799)
565 * locate.el (locate-mode): Set parent mode property to dired-mode.
567 * find-dired.el (find-dired): Call dired-insert-set-properties on
568 initial information line. Set process mark on end of buffer.
569 (find-dired-sentinel):
570 Call dired-insert-set-properties on summary.
572 * dired.el (dired-hide-details-hide-symlink-targets)
573 (dired-hide-details-hide-information-lines): New options.
574 (dired-insert-directory):
575 Set properties after final treatment of output.
576 (dired-insert-set-properties):
577 Set dired-hide-details-* properties.
578 (dired-mode-map): Bind dired-hide-details-mode.
579 (dired-mode): Set buffer-invisibility-spec to a list.
580 (dired-next-line): Skip hidden lines.
581 (dired-previous-line): Use dired-next-line.
582 (dired-hide-details-mode): New minor mode.
583 (dired-hide-details-update-invisibility-spec): New function.
585 2013-02-13 Glenn Morris <rgm@gnu.org>
587 * play/yow.el: Move to obsolete/. (Bug#9384)
589 2013-02-13 Juri Linkov <juri@jurta.org>
591 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
592 to select `ediff-control-frame' and set input focus correctly on Xfce.
595 2013-02-13 Juri Linkov <juri@jurta.org>
597 * image-mode.el (image-mode-map):
598 * doc-view.el (doc-view-mode-map):
599 * vc/ediff-util.el (ediff-setup-keymap):
600 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
602 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
604 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
605 performance. Instead of recalculating indentation fully for each
606 line, sum up indentation depth based only on visited lines.
607 (ruby-parse-partial): Increase the depth after "do" even when END
609 (ruby-parse-partial): When END is in the middle of a percent
610 literal, increase the depth if the delimiter chars belong to the
613 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
615 * play/fortune.el (fortune-compile): Also make the compiled file
616 if it does not exist at all, not just if it is old. (Bug#5338)
618 2013-02-13 Glenn Morris <rgm@gnu.org>
620 * emacs-lisp/package.el (package-menu-execute): Doc fix.
622 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
624 * lisp/emacs-lisp/package.el (package-menu-execute):
625 Add optional noquery argument. (Bug#13625)
627 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
629 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
630 if DIR exists and PARENTS is non-nil.
632 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
634 * progmodes/js.el (js--multi-line-declaration-indentation):
635 Silence byte-compiler warning.
637 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
639 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
641 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
642 only if it doesn't exist.
644 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
647 2013-02-12 Tassilo Horn <tsdh@gnu.org>
649 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
650 UserInstallation when calling soffice to work around LibreOffice
653 2013-02-12 Glenn Morris <rgm@gnu.org>
655 * files.el (basic-save-buffer):
656 Offer to create a non-existing directory. (Bug#3016)
658 * calc/calc-graph.el (calc-graph-show-dumb):
659 * calendar/calendar.el (calendar-mode-map):
660 * cus-edit.el (custom-mode-map):
661 * ehelp.el (electric-help-map):
662 * emulation/vip.el (vip-mode-map):
663 * epa.el (epa-key-list-mode-map):
664 * info.el (Info-mode-map):
665 * mail/rmail.el (rmail-mode-map):
666 * mail/rmailsum.el (rmail-summary-mode-map):
667 * man.el (Man-mode-map):
668 * net/newst-plainview.el (newsticker-mode-map):
669 * progmodes/cpp.el (cpp-edit-mode-map):
670 * progmodes/grep.el (grep-mode-map):
671 * progmodes/idlw-help.el (idlwave-help-mode-map):
672 * simple.el (special-mode-map):
673 * startup.el (splash-screen-keymap):
674 * view.el (view-mode-map):
675 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
677 2013-02-11 Elias Pipping <pipping@lavabit.com>
679 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
682 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
684 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
686 2013-02-11 Glenn Morris <rgm@gnu.org>
688 * vc/diff.el (diff-use-labels): New variable.
689 (diff-no-select): Use --label rather than -L, and first
690 check that it is supported. (Bug#11067)
692 * files.el (enable-dir-local-variables): New variable.
693 (hack-dir-local-variables): Respect enable-dir-local-variables.
694 * tutorial.el (help-with-tutorial):
695 Ignore directory-local variables. (Bug#11127)
697 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
698 (vc-svn-global-switches): ... to here. (Bug#13513)
700 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
702 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
703 Handle "foo (bar, default: xxx): " prompts.
705 2013-02-10 Chong Yidong <cyd@gnu.org>
707 * files.el (basic-save-buffer-1): Do not set
708 buffer-file-coding-system-explicit (Bug#4533).
710 * mail/emacsbug.el (report-emacs-bug): Change binding of
711 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
713 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
715 * calc/calc.el (calc-allow-units-as-numbers): New variable.
716 * calc/calc-units.el (calc-convert-units): Use new variable.
718 2013-02-09 Eli Zaretskii <eliz@gnu.org>
720 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
722 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
725 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
726 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
727 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
728 coding-system-for-write instead.
730 * jka-compr.el (jka-compr-write-region): Don't bind
733 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
736 * files.el (file-name-buffer-file-type-alist): Remove defvar.
737 (insert-file-contents-literally): Remove reference to
738 file-name-buffer-file-type-alist.
740 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
742 (find-buffer-file-type-match, find-buffer-file-type): Remove.
743 (find-buffer-file-type-coding-system): Remove references to
744 find-buffer-file-type-match, find-buffer-file-type, and
746 Don't put find-buffer-file-type-coding-system into
747 file-coding-system-alist.
748 (find-file-binary, find-file-text): Bind coding-system-for-read
749 instead of file-name-buffer-file-type-alist.
751 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
753 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
754 converter (Bug#13622).
755 (doc-view-unoconv-program): Make obsolete alias.
756 (doc-view-odf->pdf-converter-program): New variable.
757 (doc-view-odf->pdf-converter-function): New variable.
758 (doc-view-mode-p): Use it.
759 (doc-view-odf->pdf-converter-unoconv):
760 Rename from `doc-view-odf->pdf-converter-unoconv'.
761 (doc-view-odf->pdf-converter-soffice): New function.
762 (doc-view-convert-current-doc):
763 Use `doc-view-odf->pdf-converter-function'.
765 2013-02-09 Chong Yidong <cyd@gnu.org>
767 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
768 view-echo-area-messages (Bug#13340).
770 * help.el (view-echo-area-messages): Use display-buffer.
772 * dired-x.el (dired-do-run-mail): Prompt for confirmation
775 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
777 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
778 Eval body right away, now that we do eager macroexpansion (bug#13605).
780 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
781 (fundamental-mode): Use run-mode-hooks.
783 * eshell/esh-proc.el (eshell/kill): Fix last change.
784 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
786 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
788 * eshell/esh-proc.el (eshell/kill): Rewrite.
790 * eshell/em-ls.el (show-almost-all): Declare.
791 (eshell-do-ls): Add support for -A argument.
793 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
795 * icomplete.el (icomplete-forward-completions)
796 (icomplete-backward-completions): Handle corner case (bug#13602).
798 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
800 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
801 be nil. Handle this. (Bug#13636)
803 2013-02-07 Richard Stallman <rms@gnu.org>
805 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
806 `save-buffer-coding-system'.
808 2013-02-07 Alan Mackenzie <acm@muc.de>
810 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
811 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
812 (c-parse-state-get-strategy): Don't return 'BOD any more.
813 (c-append-lower-brace-pair-to-state-cache):
814 Extra parameter HERE instead of narrowing.
815 Widen to top of buffer before searching backwards for a brace pair.
816 (c-state-push-any-brace-pair): Add HERE parameter to function call.
817 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
818 Narrow to parameter HERE, in place of being called narrowed.
819 (c-remove-stale-state-cache): Extra parameter HERE in place of
820 narrowing. Check there's an open brace in the cache before
821 searching for its match.
822 (c-invalidate-state-cache-1): Add HERE parameter to function call.
823 (c-parse-state-1): Don't narrow here for 'forward strategy,
824 instead passing extra parameter HERE to several functions.
825 Remove 'BOD strategy.
827 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
829 * emacs-lisp/package.el (describe-package-1): Tell what archive is
830 used to install the package.
832 2013-02-06 Glenn Morris <rgm@gnu.org>
834 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
835 if we can't get user input. (Bug#6567)
837 * startup.el (command-line): If simple.el is missing,
838 test and warn about for some possible causes.
840 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
842 * cus-start.el (all): Add ns-use-native-fullscreen.
844 2013-02-05 Glenn Morris <rgm@gnu.org>
846 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
848 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
849 Fix directory creation in fallback case.
851 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
853 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
854 (vc-update-change-log): Use dolist.
856 2013-02-04 Chong Yidong <cyd@gnu.org>
858 * thingatpt.el: Rewrite the URL detection routines, absorbing some
860 (thing-at-point-beginning-of-url-regexp): New var.
861 (thing-at-point-uri-schemes): Update list of URI schemes.
862 (thing-at-point-url-regexp): Variable deleted.
863 (thing-at-point-markedup-url-regexp): Disallow newlines.
864 (thing-at-point-newsgroup-regexp)
865 (thing-at-point-newsgroup-heads)
866 (thing-at-point-default-mail-uri-scheme): New variables.
867 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
868 method to find the possible bounds of the URI at point.
869 New optional argument to find ill-formed URIs.
870 (thing-at-point-url-at-point): Rewrite. New arguments for finding
871 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
872 the scheme-adding heuristics from ffap-url-at-point.
873 (thing-at-point--bounds-of-well-formed-url): New function.
874 Do parens matching to decide whether to include parens in the URI
877 * ffap.el: Require thingatpt.
878 (ffap-url-at-point): Delegate URI detection to thing-at-point.
879 All URI-valid characters are now recognized (Bug#5673).
880 (ffap-string-at-point): Use use-region-p.
881 (ffap-url-regexp): Extra character is handled by thing-at-point.
882 (ffap-string-at-point-mode-alist): Allow parentheses.
883 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
884 Convert to aliases; code moved to thingatpt.el.
885 (ffap-gnus-hook): Use setq-local.
887 2013-02-04 Glenn Morris <rgm@gnu.org>
889 * emacs-lisp/ert.el (ert--explain-format-atom):
890 Don't try to print non-characters as characters. (Bug#13543)
892 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
894 * net/tramp.el (tramp-debug-message): Extend function exclude list.
895 (tramp-backtrace): New defun.
896 (tramp-handle-insert-file-contents): Use `visit' when inserting
899 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
900 Use `remote-file-name-inhibit-cache'.
902 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
904 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
907 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
908 current-load-list (bug#13366).
910 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
912 * progmodes/compile.el (compilation-error-regexp-alist-alist):
913 Identify g++ template instantiation trace. (Bug#12287)
914 (compilation-mode-hook, compilation-start-hook)
915 (compilation-window-height): Simplify docstrings. (Bug#13379)
917 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
919 * mouse.el (mouse-drag-track): Always deactivate the mark before
920 running the final event's command since that command is in charge of
921 activating the mark if needed (bug#13523).
923 2013-02-02 Juri Linkov <juri@jurta.org>
925 * replace.el (perform-replace): Move let-bindings of isearch-*
926 variables deeper to the loop that searches for the next match.
927 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
928 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
931 * isearch.el (isearch-search-fun-default): Check for null
932 first element of isearch-cmds as a precaution when it's used
933 with inactive isearch.
935 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
937 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
938 error when buffer in question is narrowed so position 1 is out of
941 2013-02-02 Glenn Morris <rgm@gnu.org>
943 * textmodes/remember.el (remember-clipboard): Doc fix.
945 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
947 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
948 properties (bug#13179).
950 2013-02-02 Juri Linkov <juri@jurta.org>
952 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
953 instead of hard-coded default face `match'. (Bug#9438)
955 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
957 * vc/vc-arch.el (vc-arch-registered):
958 * vc/vc-bzr.el (vc-bzr-registered):
959 * vc/vc-cvs.el (vc-cvs-registered):
960 * vc/vc-git.el (vc-git-registered):
961 * vc/vc-hg.el (vc-hg-registered):
962 * vc/vc-mtn.el (vc-mtn-registered):
963 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
966 * info.el (Info-next-reference, Info-prev-reference): Add numeric
967 prefix argument. (Bug#11656)
969 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
971 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
973 2013-02-01 Glenn Morris <rgm@gnu.org>
975 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
976 if the backend is known not to support it.
978 * imenu.el (imenu-default-create-index-function):
979 Tweak infinite loop test to check for forward motion as well as none.
981 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
983 * net/soap-client.el (soap-invoke): Encode the string for
984 `url-request-data' as UTF-8.
985 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
987 2013-02-01 Glenn Morris <rgm@gnu.org>
989 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
991 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
993 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
995 * net/tramp.el (tramp-tramp-file-p): Comment check for
996 `string-as-unibyte'. The function does not exist on XEmacs, and
997 likely we need another approach.
999 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1000 `tramp-gw-*' variables are bound.
1002 2013-01-31 Glenn Morris <rgm@gnu.org>
1004 * files.el (basic-save-buffer-2): Choose coding system for
1005 writing the file before backing it up, to reduce delay between
1006 backing up and writing the new version. (Bug#13522)
1008 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1010 * simple.el (cycle-spacing): New command.
1011 (just-one-space): Use it.
1013 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1016 (opascal-newline-always-indents): Remove custom.
1017 (opascal-tab, opascal-newline): Remove commands.
1018 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1019 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1020 (opascal-save-match-data): Remove, use save-match-data instead.
1021 (opascal-save-state): Use with-silent-modifications.
1023 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1026 2013-01-30 Juri Linkov <juri@jurta.org>
1028 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1029 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1030 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1032 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1034 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1035 column if we're just deleting the backslashes.
1036 (makefile-fill-paragraph): Use eolp.
1038 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1040 * autorevert.el (auto-revert-use-notify): Fix docstring.
1042 2013-01-30 Leo Liu <sdl.web@gmail.com>
1044 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1046 2013-01-30 Glenn Morris <rgm@gnu.org>
1048 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1049 unread-command-events twice in some cases. This tries to implement
1050 the 2012-07-26 changes in a different way. (Bug#13560)
1052 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1054 * progmodes/python.el
1055 (python-pdbtrack-comint-output-filter-function): Enhancements on
1056 stacktrace detection. (thanks @gnovak)
1058 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1060 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1061 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1063 (jit-lock-register): Use setq-local.
1065 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1067 * calc-units.el (math-default-units-table): Remove initial value.
1068 (calc-convert-units): Treat expressions where all the units cancel as
1069 if they didn't have units.
1071 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1073 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1074 (tramp-completion-reread-directory-timeout): Fix type.
1075 (tramp-connection-min-time-diff): New defcustom.
1077 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1079 2013-01-30 Glenn Morris <rgm@gnu.org>
1081 * imenu.el (imenu-default-create-index-function):
1082 Put back a version of the infinite loop test removed 2013-01-23.
1084 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1086 * progmodes/python.el (python-shell-parse-command):
1087 Find python-shell-interpreter with modified environment.
1089 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1093 2013-01-29 Alan Mackenzie <acm@muc.de>
1095 Amend to fontify /regexp/s in actions correctly.
1096 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1097 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1098 are no longer included.
1099 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1100 What used to be these variables without "-line" in the name.
1101 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1102 (c-awk-non-arith-op-bra-re): Now also matches {.
1103 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1104 "return", and "case".
1105 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1107 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1108 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1110 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1112 * autorevert.el (auto-revert-use-notify):
1113 Use `custom-initialize-default' for initialization. (Bug#13583)
1115 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1117 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1118 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1119 in `tramp-file-name-handler'.
1120 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1122 (tramp-compute-multi-hops): Check, whether
1123 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1125 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1127 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1130 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1132 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1133 checks made superfluous by the \_< operator.
1134 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1135 temporarily) broken indentation.
1136 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1137 Highlight nested constants, too. \_< broke that.
1139 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1141 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1144 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1146 * autorevert.el (auto-revert-handler): Notifications which result
1147 from a saved file shall not be taken into account. (Bug#13557)
1149 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1151 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1152 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1153 (lisp-mode): Pass t for it. (Bug#13556)
1155 2013-01-25 Alan Mackenzie <acm@muc.de>
1157 AWK Mode: Fix indentation bug at top level. Bug #12274.
1159 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1160 just before CASE 5D.
1162 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1164 * net/socks.el (socks-nslookup-host): Use string-to-number.
1166 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1168 * autorevert.el (auto-revert-remote-files)
1169 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1170 (auto-revert-notify-enabled, auto-revert-use-notify)
1171 (auto-revert-notify-watch-descriptor-hash-list)
1172 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1173 (auto-revert-notify-event-descriptor)
1174 (auto-revert-notify-event-action)
1175 (auto-revert-notify-event-file-name): Doc fix.
1176 (global-auto-revert-mode): Reorder checks.
1177 (auto-revert-notify-rm-watch): Respect changed values of
1178 `auto-revert-notify-watch-descriptor-hash-list'.
1179 (auto-revert-notify-add-watch): Check for
1180 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1181 `inotify-add-watch'. Watch `default-directory' instead of
1182 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1183 has a changed meaning now. (Bug#13540)
1184 (auto-revert-notify-handler): Change implementation wrt events
1185 returning from a directory.
1186 (auto-revert-handler): Reorder implementation for checks of remote
1188 (auto-revert-buffers): Fix parentheses error.
1190 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1192 * progmodes/python.el: Enhancements to header documentation about
1193 skeletons. (Bug#5716)
1195 * imenu.el (imenu-default-create-index-function): Remove useless
1196 infinite loop check. (Bug#13438)
1198 2013-01-25 Alan Mackenzie <acm@muc.de>
1200 Fix a bug in the state cache mechanism. Refactor this a bit.
1202 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1203 `cache-pos' element from the return value.
1204 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1205 buffer to enable proper searching from beyond HERE. Amend the
1206 test for detecting the sought brace pair. Amend the value written
1207 to the "brace desert cache" when the brace isn't found.
1208 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1209 and several other variables analogously.
1210 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1211 parameter to a locally calculated variable.
1212 (c-parse-state-1): Change the calling conventions to the two
1213 defuns involving `cache-pos'.
1215 2013-01-25 Chong Yidong <cyd@gnu.org>
1217 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1219 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1221 * paren.el (show-paren-function): Make sure to set 'priority and
1222 'face only if the overlay does exist.
1224 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1226 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1228 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1230 (tramp-sh-handle-set-file-acl): Improve error checking.
1232 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1234 * doc-view.el (doc-view-display): Force mode line update until all
1235 document is converted. Suggested by Stefan Monnier (Bug#13164).
1237 2013-01-23 Bastien Guerry <bzg@gnu.org>
1239 * paren.el (show-paren-function): Make sure an overlay exists
1240 before trying to delete it. Also use `pos' as a position only
1241 when it is an integer.
1243 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1245 * play/gametree.el (gametree-break-line-here): Use point-marker.
1247 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1249 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1250 Mark descriptive parts with `display' property.
1252 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1254 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1255 New variable to map standard dict names to hunspell ones.
1256 (ispell-set-spellchecker-params): Make sure specific dict names
1257 are used for standard dicts with hunspell.
1259 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1261 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1262 chars for note (%N) and url (%U).
1263 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1265 2013-01-21 Juri Linkov <juri@jurta.org>
1267 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1268 in addition to existing separate binding `meta f10' in `global-map'.
1271 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1273 Improve XEmacs compatibility.
1275 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1277 * net/tramp-adb.el (top): Require `time-date'.
1278 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1279 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1280 Use `tramp-file-name-handler'.
1281 (tramp-adb-maybe-open-connection):
1282 Use `tramp-compat-set-process-query-on-exit-flag'.
1284 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1285 Use `tramp-compat-funcall'.
1287 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1288 `tramp-compat-funcall'.
1290 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1292 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1293 reimplementation using "adb shell command ..." instead of running
1294 remote shell interactively.
1296 2013-01-20 Glenn Morris <rgm@gnu.org>
1298 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1299 Add native profiler menu entries.
1301 * profiler.el (profiler-running-p): New function.
1302 (profiler-cpu-profile): Use profiler-running-p.
1303 (profiler-report-mode-map): Add some more menu entries.
1305 2013-01-19 Glenn Morris <rgm@gnu.org>
1307 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1308 fixes 2012-12-07 change. (Bug#13499)
1310 2013-01-19 Leo Liu <sdl.web@gmail.com>
1312 * dired.el (dired-get-marked-files): Prune erroneous values due to
1313 last change. (Bug#13152)
1315 2013-01-19 Glenn Morris <rgm@gnu.org>
1317 * progmodes/etags.el (tags-table-check-computed-list):
1318 Preserve point in tags buffer. (Bug#13412)
1320 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1322 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1323 Chong Yidong <cyd@gnu.org>
1325 * image-mode.el (image-next-file, image-previous-file):
1326 New commands (Bug#8453).
1327 (image-mode-map): Bind them to n and p.
1328 (image-mode--images-in-directory): New helper function.
1330 2013-01-19 Chong Yidong <cyd@gnu.org>
1332 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1333 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1334 save and restore the old window configuration.
1336 2013-01-18 Leo Liu <sdl.web@gmail.com>
1338 * progmodes/js.el: Tweak autoload cookie for alias.
1340 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1342 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1343 buffer local, again. This was lost with the fix on 2013-01-12.
1345 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1347 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1348 order to support several eshell buffers in parallel.
1350 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1352 * autorevert.el (auto-revert-use-notify): In the :set function, do
1353 not modify `kill-buffer-hook'.
1354 (auto-revert-notify-rm-watch):
1355 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1356 (auto-revert-notify-add-watch): Do not call
1357 `auto-revert-notify-rm-watch', but add it to a buffer local
1360 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1363 call to `eval' rather than a backquoted lambda.
1365 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1368 to return an explicit nil.
1369 (advice--remove-function): Change accordingly.
1371 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1372 the use of nadvice.el.
1374 * progmodes/which-func.el (which-function): Silence imenu errors
1377 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1379 * progmodes/sql.el: (sql-imenu-generic-expression):
1380 (sql-mode-font-lock-object-name): Match schema qualified names.
1381 (sql-connect): Use string keys.
1382 (sql-product-interactive): Wait for interpreter prompt.
1383 (sql-comint-oracle): Set process coding based on NLS_LANG.
1385 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1387 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1388 (sql-interactive-remove-continuation-prompt):
1389 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1391 2013-01-14 Leo Liu <sdl.web@gmail.com>
1393 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1396 2013-01-14 Glenn Morris <rgm@gnu.org>
1398 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1399 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1401 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1403 * progmodes/python.el (python-nav-end-of-statement):
1404 Fix cornercase when handling multiline strings.
1406 2013-01-13 Richard Stallman <rms@gnu.org>
1408 * mail/sendmail.el (mail-position-on-field): Add doc string.
1410 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1411 Get current message boundaries and pass them to
1412 message-forward-make-body-mime. Minor style changes.
1414 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1416 * cus-start.el (all): Avoid warnings about
1417 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1419 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1421 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1423 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1426 (jit-lock--debug-fontifying): New var.
1427 (jit-lock--debug-fontify): New function.
1428 * subr.el (condition-case-unless-debug): Don't prevent catching the
1429 error, just let the debbugger run.
1430 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1431 timer code and don't drop errors silently.
1433 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1435 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1436 `permanent-local' property.
1437 (auto-revert-notify-handler): Use `file-equal-p'.
1439 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1441 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1442 file notification by ACTION. For filtering by file name, compare
1443 only the non-directory part of the file name.
1445 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * autorevert.el: Use cl-lib instead of cl.
1449 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1450 (vc-bzr-checkin): Use it.
1451 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1452 will preserve match-data.
1454 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1456 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1457 (js--declaration-keyword-re): New var.
1458 (js--multi-line-declaration-indentation): New function.
1459 (js--proper-indentation): Use it.
1461 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1463 * calc/calc.el (calc-highlight-selections-with-faces)
1465 * comint.el (comint-history-isearch-message):
1466 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1467 * ffap.el (ffap-string-at-point-region, ffap-next)
1468 (ffap-string-at-point, ffap-string-around)
1469 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1471 * font-lock.el (font-lock-keywords-alist)
1472 (font-lock-removed-keywords-alist):
1473 * help-mode.el (help-xref-symbol-regexp):
1474 * info.el (Info-find-emacs-command-nodes):
1475 * international/mule.el (add-to-coding-system-list):
1476 * isearch.el (isearch-message-function, isearch-fail-pos):
1477 * misearch.el (multi-isearch-next-buffer-function):
1478 * newcomment.el (comment-box):
1479 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1480 (pr-setting-database):
1481 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1482 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1483 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1484 (pike-font-lock-keywords-3):
1485 * progmodes/compile.el (compile):
1486 * progmodes/etags.el (tags-table-files)
1487 (tags-table-files-function, tags-included-tables-function):
1488 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1489 (gdb-restore-windows):
1490 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1491 (ps-n-up-filling-database):
1492 * server.el (server-buffer, server-log):
1493 * simple.el (newline, delete-backward-char, delete-forward-char)
1494 (minibuffer-history-isearch-message, kill-line, track-eol)
1495 (temporary-goal-column):
1496 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1497 (flyspell-default-deplacement-commands):
1498 * textmodes/ispell.el (ispell-accept-output):
1499 * textmodes/sgml-mode.el (html-tag-help):
1500 * vc/compare-w.el (compare-ignore-whitespace)
1501 (compare-ignore-case, compare-windows-dehighlight):
1502 * vc/diff.el (diff):
1503 * whitespace.el (whitespace-point)
1504 (whitespace-font-lock-refontify, whitespace-bob-marker)
1505 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1507 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1509 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1510 (auto-revert-notify-rm-watch): Ignore errors.
1511 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1512 inotify, and '(size last-write-time) for w32notify.
1513 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1514 watch fails - this is a fallback to the file modification check.
1515 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1516 (auto-revert-notify-event-action)
1517 (auto-revert-notify-event-file-name): New defuns.
1518 (auto-revert-notify-handler): Use them. Implement first
1519 plausibility checks.
1520 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1522 2013-01-11 Julien Danjou <julien@danjou.info>
1524 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1525 max are almost equal. Also return the correct value for V which is
1526 already between 0 and 1.
1528 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1530 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1532 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1534 * autorevert.el (auto-revert-notify-rm-watch)
1535 (auto-revert-notify-add-watch): Fix typos in w32notify function
1538 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1540 * autorevert.el (auto-revert-notify-enabled): Move up.
1541 (auto-revert-use-notify): New defcustom.
1542 (auto-revert-mode, global-auto-revert-mode)
1543 (auto-revert-notify-add-watch, auto-revert-handler)
1544 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1545 `auto-revert-notify-enabled'.
1547 2013-01-10 Elias Pipping <pipping@exherbo.org>
1549 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1550 * doc-view.el (doc-view-document->bitmap):
1551 Use doc-view-single-page-converter-function instead of
1552 single-page-converter arg; adjust callers.
1554 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1556 * progmodes/which-func.el (which-function): Understand Semantic's use
1557 of overlays in imenu--index-alist.
1559 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1561 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1562 (Man-man-k-use-anchor): New var.
1563 (Man-parse-man-k): New function.
1564 (Man-completion-table): Use it.
1565 (man): Flush the completion cache between uses.
1567 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1569 * autorevert.el: Add file watch support.
1570 (auto-revert-notify-enabled): New defconst.
1571 (auto-revert-notify-watch-descriptor-hash-list)
1572 (auto-revert-notify-watch-descriptor)
1573 (auto-revert-notify-modified-p): New defvars.
1574 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1575 (auto-revert-notify-handler): New defuns.
1576 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1577 when mode is disabled.
1578 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1579 (auto-revert-buffers): Add file watches for active buffers.
1581 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1583 * cus-start.el (toplevel): Only allow float values for
1584 scroll-up-aggressively and scroll-down-aggressively.
1585 Allow any number for line-spacing.
1587 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1589 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1590 (doc-view-pdf->png-converter-function): Use mupdf if available.
1591 (doc-view-djvu->png-converter-function)
1592 (doc-view-ps->png-converter-function): Remove.
1593 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1594 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1595 (doc-view-already-converted-p): Adjust accordingly.
1596 (doc-view-mode-p): Simplify.
1597 (doc-view-enlarge): Use setq-local.
1598 (doc-view-pdf->png-converter-ghostscript)
1599 (doc-view-djvu->png-converter-ddjvu)
1600 (doc-view-pdf->png-converter-mupdf): Rework to call
1601 doc-view-start-process directly.
1602 (doc-view-pdf/ps->png): Simplify accordingly.
1603 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1604 (doc-view-document->bitmap): Rename from doc-view-document->png.
1605 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1606 (doc-view-set-slice-from-bounding-box): Fix completion table.
1607 (doc-view-mode): Use add-hook for after-revert-hook.
1609 2013-01-10 Glenn Morris <rgm@gnu.org>
1611 * emacs-lisp/authors.el (authors-ignored-files)
1612 (authors-valid-file-names, authors-renamed-files-alist):
1613 Add some more entries.
1615 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1617 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1618 `t' pseudo-window entry.
1620 2013-01-10 Alan Mackenzie <acm@muc.de>
1622 Fix bugs in the c-parse-state mechanism. Reuse some markers
1623 instead of continually generating new ones.
1625 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1626 (c-state-old-cpp-end-marker): New variables.
1627 (c-append-lower-brace-pair-to-state-cache): Start a backward
1628 search for "}" definitively outside CPP constructs.
1629 (c-remove-stale-state-cache): Inform the caller of a need to
1630 search back for a brace pair in certain circumstances.
1631 (c-state-maybe-marker): New macro.
1632 (c-parse-state): Reuse markers when appropriate.
1634 2013-01-10 Glenn Morris <rgm@gnu.org>
1636 * simple.el (execute-extended-command): Doc fix.
1637 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1639 2013-01-10 Chong Yidong <cyd@gnu.org>
1641 * faces.el (read-face-name): Doc fix.
1643 2013-01-10 Roland Winkler <winkler@gnu.org>
1645 * emacs-lisp/crm.el: Allow any regexp for separators.
1646 (crm-default-separator): All spaces around the default comma separator.
1647 (crm--completion-command): New macro.
1648 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1649 (crm-complete-and-exit): Handle non-single-char separators.
1651 2013-01-09 Elias Pipping <pipping@lavabit.com>
1653 * doc-view.el: Add support for DjVu (bug#13164).
1654 (doc-view-djvu->png-converter-function): New config var.
1655 (doc-view-single-page-converter-function, doc-view--image-type)
1656 (doc-view--image-file-extension): New vars.
1657 (doc-view-mode): Initialize them.
1658 (doc-view-goto-page): Use them.
1659 (doc-view-mode-p): Add support for ddjvu.
1660 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1661 (doc-view-set-up-single-converter): New funs.
1662 (doc-view-pdf/ps->png): Extend for djvu.
1663 (doc-view-document->png): Rename from doc-view-pdf->png.
1664 (doc-view-convert-current-doc): Handle djvu.
1665 (doc-view-insert-image, doc-view-display)
1666 (doc-view-already-converted-p): Don't hardcode png.
1667 (doc-view-set-doc-type): Recognize djvu docs.
1669 2013-01-09 Elias Pipping <pipping@lavabit.com>
1671 * doc-view.el: Add support for mupdf converter (bug#13164).
1672 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1673 (doc-view-ps->png-converter-function): New config vars.
1674 (doc-view-pdf->png-converter-ghostscript)
1675 (doc-view-ps->png-converter-ghostscript)
1676 (doc-view-pdf->png-converter-mupdf): New functions.
1677 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1679 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1681 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1682 first in session cache: When `tramp-own-remote-path' is in
1683 `tramp-remote-path', the remote path is only set in the session
1686 2013-01-09 Glenn Morris <rgm@gnu.org>
1688 * emacs-lisp/trace.el (trace-function-foreground)
1689 (trace-function-background): Doc fix.
1691 2013-01-09 Juri Linkov <juri@jurta.org>
1693 * international/mule-cmds.el (read-char-by-name): Move let-binding
1694 of completion-ignore-case around completing-read to fix regression
1695 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1696 `string-match-p' using the nil value of `case-fold-search' and
1697 `completion-ignore-case' in `completion-pcm--all-completions'.
1700 2013-01-09 Glenn Morris <rgm@gnu.org>
1702 * progmodes/compile.el (compilation-parse-errors):
1703 Fix typo. (Bug#13369)
1705 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1707 * comint.el (comint-send-input): Check size of buffer before
1708 waiting for process output, in case already accepted. (Bug#13290)
1710 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1713 * net/tramp-adb.el (tramp-adb-get-toolbox):
1714 Fix misspelling of 'unknown'.
1716 2013-01-08 Juri Linkov <juri@jurta.org>
1718 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1719 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1720 Use underline style wave on terminals that support it. (Bug#13000)
1722 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1724 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1725 the predicate returns nil.
1727 * simple.el: Use lexical-binding.
1728 (primitive-undo): Use pcase.
1729 (minibuffer-history-isearch-push-state): Use a closure.
1731 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1733 * simple.el (primitive-undo): Move from undo.c.
1735 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1737 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1738 (cvs-mode-remove-handled): Use it (bug#13380).
1740 * emacs-lisp/nadvice.el (advice--tweak): New function.
1741 (advice--remove-function, advice--subst-main): Use it.
1743 * emacs-lisp/advice.el: Update commentary.
1745 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1747 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1748 Remove spurious entry.
1750 2013-01-08 Glenn Morris <rgm@gnu.org>
1752 * net/tramp.el (tramp-default-host-alist): Add :version.
1754 2013-01-08 Juri Linkov <juri@jurta.org>
1756 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1757 single completion. (Bug#12456)
1758 (info--manual-names): Expand node completions into an explicit list
1759 before appending it to another list. Filter out internal buffers
1760 with the leading space in the buffer name. (Bug#10771)
1762 2013-01-08 Juri Linkov <juri@jurta.org>
1764 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1765 that defaults to the Top node.
1766 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1767 the short format (FILENAME) goes to the Top node.
1768 (Info-build-node-completions): Rename arg `file' to `filename'.
1771 2013-01-07 Bastien Guerry <bzg@gnu.org>
1773 * menu-bar.el (menu-bar-search-documentation-menu):
1774 Use `apropos-user-option' and fix the help message.
1776 2013-01-07 Bastien Guerry <bzg@gnu.org>
1778 * apropos.el (apropos-do-all): Update docstring.
1779 (apropos-user-option-button): New face.
1780 (apropos-user-option): Rename from `apropos-variable' and update
1782 (apropos-variable): Rewrite, now show all variables by default.
1783 (apropos-print): Mention "User option" instead of "Variable" when
1784 printing doc for user options. (Bug#13276)
1786 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1788 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1789 Handle filename correctly, when parsing "source -> target" symlink
1791 (tramp-adb-handle-set-file-times): New defun.
1793 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1795 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1796 advice list when the interactive-spec of ad-Advice-* changes.
1798 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1800 * wid-edit.el (widget-default-get): Work for inlined elements.
1803 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1805 * net/tramp.el (tramp-default-host-alist): New defcustom.
1806 (tramp-find-host): Use it.
1807 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1808 `eshell-directory-change-hook'.
1810 * net/tramp-adb.el (top): Add adb specific entry in
1811 `tramp-default-host-alist'.
1812 (tramp-adb-file-name-host): Remove function.
1813 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1814 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1816 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1818 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1820 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1822 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1824 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1825 consist of more than one digit.
1826 (tramp-adb-file-name-handler-alist):
1827 Use `tramp-handle-file-exists-p' consistently.
1828 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1829 (tramp-adb-handle-file-exists-p): Remove function.
1830 (tramp-adb-file-name-host): New defun.
1831 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1833 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1835 2013-01-06 Chong Yidong <cyd@gnu.org>
1837 * vc/vc.el (vc-next-action): Detect buffer modifications
1838 conflicting with locking VCS operation (Bug#11490).
1840 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1842 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1844 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1845 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1847 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1849 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1850 parsing of ls output using regular expression (handle filenames
1851 with spaces). Use virtual device number.
1852 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1855 2013-01-04 Daiki Ueno <ueno@gnu.org>
1857 * epg.el: Silence byte-compiler warnings.
1858 (epg--start): Use delete-char instead of delete-backward-char.
1859 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1861 2013-01-04 Daiki Ueno <ueno@gnu.org>
1863 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1864 Suggested by Eli Zaretskii <eliz@gnu.org>.
1866 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1868 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1869 non-negative integers. Otherwise, the default values are used.
1870 (tramp-convert-file-attributes): Convert uid and gid to integers.
1872 2013-01-04 Glenn Morris <rgm@gnu.org>
1874 * term.el (term-handle-colors-array): Ensure face attributes
1875 are fully specified, not nil. (Bug#13337)
1877 * term.el (term-default-fg-color, term-default-bg-color):
1880 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1881 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1882 rather than 'jka-compr being loaded. (Bug#13338)
1884 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1886 * icomplete.el (icomplete-completions):
1887 Honor icomplete-prospects-height once more following
1888 2012-11-29 changes. (Bug#13224)
1890 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1892 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1893 of called-interactively-p as well (bug#13237).
1895 * view.el (view--enable, view--disable): Rename from view-mode-enable
1896 and view-mode-disable and assume it's called from view-mode.
1897 (view-mode-enable, view-mode-disable): Redefine as obsolete
1898 compatibility layer above view-mode.
1899 (view-mode-enter): Call `view-mode'.
1901 * files.el (after-find-file): Call `view-mode'.
1903 * doc-view.el (doc-view-scale-internally): New var.
1904 (doc-view-enlarge, doc-view-insert-image): Obey it.
1906 2013-01-03 Daiki Ueno <ueno@gnu.org>
1908 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1911 2013-01-03 Glenn Morris <rgm@gnu.org>
1913 * mail/rmail.el (rmail-set-header-1): Ignore case.
1914 Handle multi-line headers. (Bug#13330)
1916 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1917 Handle paragraph starting at beginning of buffer.
1919 * subr.el (eval-after-load): Don't purecopy the form, so that it
1920 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1922 * emacs-lisp/byte-run.el (defun): Place cl declarations
1923 after any interactive spec. (Bug#13265)
1925 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1927 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1928 defun. Don't check for DECL if DOCSTRING isn't a string.
1931 2013-01-02 Glenn Morris <rgm@gnu.org>
1933 * eshell/em-cmpl.el (eshell-pcomplete):
1934 More thoroughly imitate pcomplete. (Bug#13293)
1936 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1937 Return nil for empty path elements. (Bug#13296)
1939 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1941 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1942 order to improve efficiency (Based on Daniel Colascione's
1943 <dancol@dancol.org> patch). (Bug#13182)
1945 2013-01-02 Glenn Morris <rgm@gnu.org>
1947 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1949 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1951 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1952 neither DOCSTRING nor DECL was given. (Bug#13316)
1954 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1956 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1958 (tramp-do-copy-or-rename-file): Ignore errors when calling
1959 `set-file-extended-attributes'.
1961 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1962 Add handler for `file-acl'.
1963 (tramp-smb-handle-file-acl): New defun.
1965 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1967 * calc/README: Mention ISO 8601 week-numbering dates.
1969 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1971 * view.el (view-mode-enable): New argument run-view-mode-hook.
1972 Run view-mode-hook only when it's non-nil (Bug#13315).
1973 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1976 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1978 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1979 (No device connected, invalid device name). (Bug #13299)
1981 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1983 * window.el (window-resizable--p): Rename to window-resizable-p.
1984 (window-resize-no-error): New function.
1986 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1987 broken in fix from 2012-12-28.
1989 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1991 * subr.el (special-form-p): Don't signal errors on undef aliases.
1993 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1995 * calc/calc-forms.el (math-parse-date): Try using
1996 `math-parse-iso-date' when it looks like it might be needed.
1997 Allow times of 24:00.
1998 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2001 2012-12-30 Glenn Morris <rgm@gnu.org>
2003 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2004 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2005 (rmail-summary-displayed, rmail-summary): Declare.
2006 (mairix-rmail-display): Just require rmail.
2008 2012-12-30 Chong Yidong <cyd@gnu.org>
2010 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2011 check for the tarball contents.
2013 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2015 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2016 tarfile content listings (Bug#13136).
2018 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2020 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2021 Insert the undecoded text of the message being forwarded. (Bug#9521)
2023 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2025 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2026 integers, if they are real numbers. (Bug#13282)
2028 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2029 Return `t' on success.
2031 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2032 Add handler for `set-file-selinux-context'.
2034 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2036 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2037 (tramp-sh-handle-set-file-acl): Return `t' on success.
2039 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2041 * files.el (backup-buffer-copy, basic-save-buffer-2):
2042 If set-file-extended-attributes fails, fall back on set-file-modes
2043 instead of signaling an error. (Bug#13298)
2044 (basic-save-buffer): Likewise.
2046 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2048 * progmodes/python.el: Support other commands triggering
2049 python-indent-line so indentation cycling continues to work.
2050 (python-indent-trigger-commands): New defcustom.
2051 (python-indent-line): Use it.
2053 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2055 * progmodes/python.el (python-shell-send-region): Add blank lines
2056 for non sent code so backtraces remain correct.
2058 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2060 * progmodes/python.el: Remove cl dependency.
2061 (python-syntax-count-quotes): Replace incf call.
2062 (python-fill-string): Replace setf call.
2064 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2066 * info.el (info-other-window): New arg, for consistency with info.
2068 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2070 * mail/rmail.el (rmail-maybe-display-summary):
2071 Rewrite (Bug#13066).
2073 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2075 * epg.el (epg--start): Modify process-environment locally.
2077 2012-12-28 Daiki Ueno <ueno@gnu.org>
2079 * epg.el: Support pinentry-curses.
2080 Suggested by Werner Koch in
2081 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2082 (epg-agent-file, epg-agent-mtime): New variable.
2083 (epg--start): Record the modified time of gpg-agent socket file,
2084 to restore Emacs frame after pinentry-curses termination.
2085 (epg-wait-for-completion): Restore Emacs frame here.
2087 2012-12-27 Juri Linkov <juri@jurta.org>
2089 * info.el (Info-file-completions): New variable.
2090 (Info-read-node-name-1): Complete node names in the Info file
2091 when a file name is given. Call `Info-build-node-completions'
2093 (Info-build-node-completions): Add new arg `file'. When it is
2094 non-nil, visit it in a temporary buffer and cache its completions in
2095 `Info-current-file-completions'. Move most of the function body to
2096 `Info-build-node-completions-1'.
2097 (Info-build-node-completions-1): New function with the body from
2098 `Info-build-node-completions'. (Bug#12456)
2100 2012-12-27 Juri Linkov <juri@jurta.org>
2102 * frame.el (frame-maximization-style): Remove user option.
2103 (cycle-frame-maximized): Remove function.
2104 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2105 (toggle-frame-fullscreen): New command bound to <f11> instead of
2106 `toggle-frame-maximized'.
2107 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2109 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2111 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2113 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2114 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2115 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2116 for `file-accessible-directory-p'. (Bug#13275)
2118 2012-12-27 Sam Steingold <sds@gnu.org>
2120 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2121 continuations, see <http://stackoverflow.com/questions/3582436>.
2123 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2125 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2126 "module" and "def" to have indentation before them.
2127 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2129 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2131 2012-12-27 Alan Mackenzie <acm@muc.de>
2133 Speed up fontification where there's large brace blocks.
2134 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2135 to a call of c-beginning-of-decl-1.
2137 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2139 * comint.el (comint-adjust-window-point): New function.
2140 (comint-postoutput-scroll-to-bottom):
2141 Call comint-adjust-window-point (Bug#13248).
2143 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2145 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2147 (auto-mode-alist): Associate .gemspec files with ruby-mode
2148 (https://bugs.ruby-lang.org/issues/5453).
2150 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2152 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2153 Suppress coloring, if possible (required for BusyBox based systems like
2155 (tramp-adb-handle-file-attributes)
2156 (tramp-adb-handle-insert-directory)
2157 (tramp-adb-handle-file-name-all-completions): Use it.
2158 (tramp-adb-get-toolbox): New defun. Check for remote shell
2159 implementation (BusyBox or Toolbox).
2161 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2163 * startup.el (initial-buffer-choice): Allow function as value
2165 (command-line-1): Handle case where initial-buffer-choice
2166 specifies a function.
2167 * server.el (server-execute): Handle case where
2168 initial-buffer-choice specifies a function.
2170 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2172 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2174 (smtpmail-try-auth-methods): Forget the user name/password if the
2175 login is unsuccessful (bug#12424).
2177 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2179 * notifications.el (notifications-notify): Protect body with
2180 `with-demoted-errors'.
2182 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2183 Check properties of remote device. Restart connection, if there is a
2186 2012-12-21 Chong Yidong <cyd@gnu.org>
2188 * sort.el (sort-subr): Doc fix (Bug#13056).
2190 2012-12-21 Bastien Guerry <bzg@gnu.org>
2192 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2194 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2196 * simple.el (process-file): Overwrite stderr file, if exists.
2198 2012-12-21 Daiki Ueno <ueno@gnu.org>
2200 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2201 (epg-error): Set `error-message' property.
2203 2012-12-21 Chong Yidong <cyd@gnu.org>
2205 * international/mule-cmds.el (read-char-by-name): Signal an error
2206 if the user does not supply a valid character (Bug#13177).
2208 * simple.el (transpose-subr-1): Preserve marker positions by
2209 changing the insertion sequence (Bug#13122).
2211 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2213 * simple.el (kill-region): Deactivate mark even for empty regions
2216 2012-12-21 Chong Yidong <cyd@gnu.org>
2218 * help-fns.el (describe-variable): Make sure we get the right
2219 buffer name (Bug#13105). Suggested by Kelly Dean.
2221 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2223 * comint.el (comint-redirect-previous-input-string): New variable.
2224 (comint-redirect-setup, comint-redirect-cleanup)
2225 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2226 (comint-redirect-preoutput-filter): Fix verbose message.
2228 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2230 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2231 is too long for Tramp. See discussion in
2232 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2234 * progmodes/compile.el (compilation-start): Remove line escape
2237 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2239 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2242 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2244 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2245 following non-comment text (bug#13207).
2246 (lm-header-multiline): Continuation lines need to be indented more than
2248 (lm-homepage): New function.
2249 (lm-with-file): Don't be confused if narrowing is in effect.
2251 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2253 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2254 very beginning of a hunk (e.g. killing the first line).
2256 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2258 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2259 and text properties from returned ACL string.
2260 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2261 for "setfacl" command.
2263 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2265 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2266 `tramp-cleanup-this-connection', when the process has died.
2269 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2273 2012-12-17 Kevin Ryde <user42@zip.com.au>
2275 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2277 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2279 Add support for preserving ACL entries of files.
2281 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2282 `set-file-acl' handlers.
2284 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2285 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2287 * net/tramp-compat.el (tramp-compat-copy-file):
2288 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2290 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2291 Add `file-acl' and `set-file-acl' handlers.
2292 (tramp-gvfs-handle-copy-file):
2293 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2294 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2297 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2298 Add `file-acl' and `set-file-acl' handlers.
2299 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2300 (tramp-sh-handle-set-file-acl): New defuns.
2301 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2302 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2304 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2305 Add `file-acl' and `set-file-acl' handlers.
2306 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2308 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2310 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2311 use pop-to-buffer with NORECORD argument t. As buffer name, use
2312 *Metahelp* with a leading space (Bug#13190).
2314 2012-12-16 Romain Francoise <romain@orebokech.com>
2316 * files.el (file-extended-attributes)
2317 (set-file-extended-attributes): New functions.
2318 (backup-buffer): Use them to handle both SELinux context and ACL
2320 (backup-buffer-copy): Work with an alist of extended attributes,
2321 rather than an SELinux context.
2322 (basic-save-buffer-2): Ditto.
2324 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2326 * battery.el (battery-bsd-apm): New function.
2328 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2330 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2331 standard date formats.
2333 2012-12-15 Juri Linkov <juri@jurta.org>
2335 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2336 `isearch-insert-char-by-name'.
2337 (with-isearch-suspended): New defmacro with body mostly from
2338 `isearch-edit-string' except the part that sets
2339 `isearch-new-string' and `isearch-new-message'.
2340 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2341 body that sets `isearch-new-string' and `isearch-new-message'.
2342 (isearch-insert-char-by-name): New command.
2343 * international/mule-cmds.el (read-char-by-name): Let-bind
2344 `enable-recursive-minibuffers' to t.
2345 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2347 2012-12-15 Juri Linkov <juri@jurta.org>
2349 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2352 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2354 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2355 the prompt. (Bug#13045)
2357 2012-12-14 Glenn Morris <rgm@gnu.org>
2359 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2360 Try to include filename in non-bytecomp warning. (Bug#13132)
2362 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2364 Fix permissions bugs with setgid directories etc. (Bug#13125)
2365 * files.el (backup-buffer): Don't rely on 9th output of
2366 file-attributes, as it's now a placeholder. Instead, use the new
2367 optional arg of file-ownership-preserved-p.
2368 (file-ownership-preserved-p): New optional arg GROUP.
2369 Fix mishandling of setuid directories that would cause this
2370 function to return t when it should have returned nil.
2371 Document what happens if the file does not exist, and when
2372 it's not known whether the ownership will be preserved.
2373 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2375 (tramp-get-local-gid): Use group-gid for integer, as that's
2376 faster and more reliable.
2378 2012-12-14 Julien Danjou <julien@danjou.info>
2380 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2381 Update keywords list, data type and PL/pgSQL.
2383 2012-12-14 Dave Abrahams <dave@boostpro.com>
2385 * vc/ediff-util.el (ediff-buffer-type): New function.
2386 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2387 rather than taking it as as argument.
2388 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2390 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2392 * json.el: Add pretty-print option (bug#12634).
2393 (json-encoding-separator, json-encoding-default-indentation)
2394 (json--encoding-current-indentation, json-encoding-pretty-print)
2395 (json-encoding-lisp-style-closings): New vars.
2396 (json--with-indentation): New macro.
2397 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2398 (json-encode-array): Use it to obey json-encoding-pretty-print.
2399 (json-pretty-print-buffer, json-pretty-print): New commands.
2401 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2403 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2404 Extract `ruby-syntax-propertize-expansions'.
2405 (ruby-syntax-propertize-expansions): Only change syntax on
2406 certain string delimiters, to punctuation. This way the common
2407 functions like forward-word and thing-at-point still work.
2408 (ruby-match-expression-expansion): Improve readability.
2409 (ruby-block-contains-point): New function.
2410 (ruby-add-log-current-method): Handle several edge cases.
2412 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2414 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2415 unload-feature finishes even when aborting an ongoing edebug session.
2416 Also, do not worry about edebug-mode, unload-feature takes care of it.
2418 2012-12-13 Andreas Schwab <schwab@suse.de>
2420 * net/tls.el (tls-program): Update customize type.
2422 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2424 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2425 (edebug-setup-hook, cl-read-load-hooks): Use it.
2426 (edebug-unload-function): New function. (Bug#13163)
2428 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2430 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2431 Otherwise, there could be errors in autoloading. (Bug#13151)
2433 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2435 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2438 2012-12-13 Alan Mackenzie <acm@muc.de>
2440 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2441 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2442 around `forward-comment' not recognizing ^M as whitespace.
2444 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2446 * progmodes/python.el (python-skeleton-class)
2447 (python-skeleton-def): Do not add space after defun name.
2449 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2452 (cl--symbol-function): Remove (now that funbound is like nil).
2454 2012-12-12 Glenn Morris <rgm@gnu.org>
2456 * button.el (button--area-button-p): Fix typo.
2458 2012-12-12 Sam Steingold <sds@gnu.org>
2460 * frame.el (frame-maximization-style): New user option.
2461 (toggle-frame-maximized): Toggle frame maximization according to
2462 `frame-maximization-style', bound to <f11>.
2463 (cycle-frame-maximized): Cycle between all maximization styles and
2464 non-maximized frame, bound to shift-<f11>.
2466 2012-12-12 David Cadé <codename68@gmail.com>
2468 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2470 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2472 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2473 (eieio-override-prin1): Don't quote kewords and booleans.
2474 (object-write) <eieio-default-superclass>: Don't put closing parens
2475 on new line, avoid needless empty lines, align values that are objects
2476 with the slot keyword (instead of beginning on the same line).
2477 (eieio-list-prin1): Align value with slot keyword; increase
2478 eieio-print-depth before printing members of the list.
2480 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2482 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2483 a display text-property.
2484 (report-emacs-bug-hook): Don't bother deleting it any more.
2486 * hilit-chg.el (highlight-save-buffer-state): Delete.
2487 Use with-silent-modifications instead.
2488 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2490 * button.el: Handle buttons in display text-properties.
2491 (button--area-button-p, button--area-button-string):
2492 Use (STRING . STRING-POS) representation instead of just STRING.
2494 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2496 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2497 subdirectory be skipped.
2499 2012-12-11 Glenn Morris <rgm@gnu.org>
2501 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2503 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2504 Treat preprocessor lines embedded in continuations like comments.
2505 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2507 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2509 * calc/calc.el (calc-standard-date-formats): Add more date
2511 * calc/calc-forms.el (math-parse-iso-date): New function.
2512 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2513 (math-parse-iso-date-validate): Add extra error checking.
2514 (calc-date-notation): Add ability to access new date formats.
2516 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2519 font-lock as well as when there's no text-property.
2521 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2523 * hi-lock.el: Refine the choice of default face.
2524 (hi-lock-keyword->face): New function. Use it wherever we used
2526 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2527 (hi-lock--last-face): Remove var.
2528 (hi-lock--unused-faces): New var to replace it.
2529 (hi-lock-read-face-name): Use/maintain it.
2530 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2531 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2532 if it has another face.
2534 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2536 * subr.el (w32notify-handle-event): New function.
2537 (inotify-handle-event): Doc fix.
2539 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2541 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2543 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2545 * simple.el (just-one-space): Doc fix.
2547 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2549 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2551 2012-12-10 Le Wang <l26wang@gmail.com>
2553 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2554 narrowed buffer (bug#12361).
2556 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2558 * vc/vc-hooks.el (vc-state): Doc fix.
2560 2012-12-10 Glenn Morris <rgm@gnu.org>
2562 * mail/rmail.el (rmail-maybe-display-summary):
2563 Preserve buffer, in case select-window changes it. (Bug#13066)
2565 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2568 cl-load-hook where they belong.
2570 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2574 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2576 Parallelize byte compilation on MS-Windows.
2577 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2578 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2579 (WINS_BASIC): Define as concatenation of the above.
2580 (compile): Subdivide into 4 separate and independent jobs that can
2582 (compile0-CMD, compile0-SH): New targets for compiling
2583 COMPILE_FIRST files, which are prerequisites for the rest of the
2585 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2586 New targets for parallel compilation with cmd.exe.
2587 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2588 compiling under a Unixy shell.
2590 2012-12-09 Chong Yidong <cyd@gnu.org>
2592 * simple.el (set-mark-default-inactive): Delete this
2593 accidentally-introduced option.
2594 (set-mark-command, exchange-point-and-mark): Remove calls.
2596 2012-12-09 Glenn Morris <rgm@gnu.org>
2598 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2599 Respect a defcustom's :set function, if appropriate. (Bug#109)
2600 (eval-defun): Doc fix.
2602 2012-12-08 Juri Linkov <juri@jurta.org>
2604 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2605 (Info-fontify-node, Info-bookmark-make-record): Remove the
2606 file extension from Info-current-file (Bug#13016).
2608 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2611 point, still provide some default.
2612 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2613 names, since we don't use it right now. Actually return the list.
2614 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2616 2012-12-07 Chong Yidong <cyd@gnu.org>
2618 * novice.el (disabled-command-function): Remove a spurious help
2619 xref (Bug#13043). Suggested by Kelly Dean.
2621 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2622 syntax is specified (Bug#13025).
2624 * info.el (Info-set-mode-line): Remove the file extension from
2625 Info-current-file if there is one (Bug#13016).
2627 2012-12-07 Glenn Morris <rgm@gnu.org>
2629 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2630 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2631 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2632 and rmail-mime-decoded. (Bug#9841)
2634 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2635 (batch-unrmail, unrmail): Doc fixes.
2636 (unrmail): Respect unrmail-mbox-format.
2637 * mail/rmail.el (rmail-mbox-format): New option.
2638 (rmail-show-message-1): Respect rmail-mbox-format.
2640 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2642 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2644 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2646 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2647 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2648 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2649 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2650 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2651 (cl-progv): Don't rely on dynamic scoping to find the body.
2652 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2653 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2654 (cl-declaim): Use backquotes.
2655 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2656 Use "cl--" prefix for the object's tag.
2658 * ses.el: Use advice-add/remove.
2659 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2660 (copy-region-as-kill, yank): Use advice-add.
2661 (ses-unload-function): Use advice-remove.
2663 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2665 * button.el: Make them work in header-lines (bug#12817).
2666 (button-map): Add bindings for header-line and mode-line use.
2667 (button-get, button-put, button-label): `button' may now be a string.
2668 (button-activate): Don't make it a defsubst.
2669 (button--area-button-p, button--area-button-string): New functions.
2670 (make-text-button): Fix the return value when `beg' was a string.
2671 (push-button): Handle the mode-line case.
2673 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2675 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2676 (sql-signum): Remove. Use `cl-signum' instead.
2677 (sql-read-passwd): Remove; use read-passwd instread.
2678 (sql-get-login-ext): Use read-string.
2679 (sql-get-login): Use dolist and pcase.
2680 (sql--completion-table): Rename from sql-try-completion.
2681 Use complete-with-action.
2682 (sql-mode): Don't change abbrev-all-caps globally.
2683 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2684 (sql-postgres-completion-object): Initialize vars in their `let'.
2685 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2686 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2687 (sql-comint-interbase): Use a single append, without setq.
2688 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2690 * hi-lock.el: Rework the default face and the serialize regexp code.
2691 (hi-lock--auto-select-face-defaults): Remove.
2692 (hi-lock-string-serialize-serial): Remove.
2693 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2695 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2697 (hi-lock-set-pattern): Adjust accordingly.
2698 (hi-lock--regexps-at-point): Simplify accordingly.
2699 (hi-lock--auto-select-face-defaults): Remove.
2700 (hi-lock--last-face): New var to replace it.
2701 (hi-lock-read-face-name): Rewrite (bug#11095).
2702 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2704 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2706 * net/tramp.el (tramp-replace-environment-variables):
2707 Hide compiler warning.
2708 (tramp-file-name-for-operation): Remove `executable-find',
2709 `start-process', `call-process' and `call-process-region'.
2711 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2713 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2716 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2718 2012-12-06 Chong Yidong <cyd@gnu.org>
2720 * ffap.el (ffap-replace-file-component): Fix typo.
2722 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2725 fix open-paren-like token test (bug#12785).
2727 2012-12-06 Glenn Morris <rgm@gnu.org>
2729 * mail/rmailsum.el (rmail-new-summary): Tweak for
2730 rmail-maybe-display-summary changing buffer. (Bug#13066)
2732 2012-12-06 Juri Linkov <juri@jurta.org>
2734 * info.el (Info-fontify-node): Don't hide the last newline.
2737 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2739 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2740 so as to enable message-read-from-minibuffer to expand mail aliases.
2742 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2745 the `intangible' property.
2746 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2748 2012-12-05 Deniz Dogan <deniz@dogan.se>
2750 * net/rcirc.el (rcirc-urls): Update documentation.
2751 (rcirc-condition-filter): New function.
2752 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2753 and exclude consecutive duplicate URLs (Bug#6082).
2755 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2758 Check return code of copy command.
2760 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2761 Use group `tramp'. Add version.
2763 2012-12-05 Chong Yidong <cyd@gnu.org>
2765 * ffap.el (ffap-url-regexp): Don't require matching at front of
2767 (ffap-url-p): If only a substring matches, return that.
2768 (ffap-url-at-point): Use the return value of ffap-url-p.
2769 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2770 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2771 (ffap-guess-file-name-at-point): Likewise.
2772 (ffap-replace-file-component): Fix typo.
2774 * info.el (info-display-manual): Add existing Info buffers, whose
2775 files may not be in Info-directory-list, to the completion.
2776 (info--manual-names): New helper function.
2778 2012-12-05 Glenn Morris <rgm@gnu.org>
2780 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2781 New functions, for detecting and resolving conflicts. (Bug#10709)
2783 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2785 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2786 (hi-lock-auto-select-face-defaults): New buffer local variable.
2787 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2788 (hi-lock-unface-buffer): Prompt user with useful defaults.
2789 With prefix arg, unhighlight all hi-lock patterns in buffer.
2791 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2793 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2795 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2797 * Makefile.in (TRAMP_SRC):
2798 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2800 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2802 * net/tramp-adb.el: New package.
2804 2012-12-04 Chong Yidong <cyd@gnu.org>
2806 * terminal.el: Move to obsolete/.
2808 * longlines.el: Move to obsolete/.
2810 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2811 Remove code referring to longlines mode.
2813 2012-12-03 Juri Linkov <juri@jurta.org>
2815 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2817 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2819 * textmodes/ispell.el (ispell-init-process)
2820 (ispell-start-process, ispell-internal-change-dictionary):
2821 Make sure personal dictionary name is expanded after initial
2822 `default-directory' value. Use expanded strings for
2823 keep/restart checks and for value (Bug#13019).
2825 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2827 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2829 2012-12-03 Leo Liu <sdl.web@gmail.com>
2831 * files.el (dir-locals-read-from-file): Check file non-empty
2832 before reading. (Bug#13038)
2834 2012-12-03 Glenn Morris <rgm@gnu.org>
2836 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2837 Remove any version extension before checking filename. (Bug#13006)
2838 (jka-compr-compression-info-list): Belated :version bump.
2840 2012-12-03 Chong Yidong <cyd@gnu.org>
2842 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2844 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2845 (buffer-menu): Doc fix (Bug#12294).
2847 2012-12-03 Roland Winkler <winkler@gnu.org>
2849 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2850 of diary-show-all-entries in the diary buffer (Bug#12994).
2852 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2854 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2855 "<STDIN>". This is binary safe.
2857 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2859 * calc/calc-forms.el (math-absolute-from-iso-dt)
2860 (math-date-to-iso-dt, math-parse-iso-date-validate)
2861 (math-iso-dt-to-date): New functions.
2862 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2863 (math-fd-isoweekday): New variables.
2864 (calc-date-notation, math-parse-standard-date, math-format-date)
2865 (math-format-date-part): Add support for more formatting codes.
2867 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2869 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2870 current buffer's file name when called interactively (Bug#12488).
2872 2012-12-02 Juri Linkov <juri@jurta.org>
2874 * info.el (info-display-manual): Don't clobber an existing Info
2875 buffer (Bug#10770). Add completion (Bug#10771).
2877 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2879 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2880 before using it for comparison (Bug#5297).
2882 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2884 * textmodes/css-mode.el (css-current-defun-name): New function.
2887 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2888 (html-mode): Use it.
2890 2012-12-01 Chong Yidong <cyd@gnu.org>
2892 Modularize add-log-current-defun (Bug#2224).
2893 Suggested by Jari Aalto.
2895 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2896 (add-log-current-defun): Move mode-specific code to other files.
2897 (add-log-lisp-like-modes, add-log-c-like-modes)
2898 (add-log-tex-like-modes): Variables deleted.
2900 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2901 (lisp-mode-variables): Use it.
2903 * progmodes/cc-mode.el (c-common-init):
2904 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2905 add-log-current-defun-function.
2907 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2910 * progmodes/perl-mode.el (perl-current-defun-name): New.
2911 (perl-mode): Use it.
2913 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2914 Use lisp-current-defun-name.
2916 * textmodes/tex-mode.el (tex-current-defun-name): New.
2917 (tex-common-initialization): Use it.
2919 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2920 (texinfo-mode): Use it.
2922 2012-12-01 Chong Yidong <cyd@gnu.org>
2924 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2925 * progmodes/autoconf.el (autoconf-mode):
2926 * progmodes/js.el (js-mode):
2927 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2928 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2929 * progmodes/perl-mode.el (perl-mode):
2930 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2931 * textmodes/css-mode.el (css-mode):
2932 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2933 (sgml-tags-invisible, sgml-guess-indent):
2934 * textmodes/tex-mode.el (tex-common-initialization)
2935 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2936 (doctex-mode, plain-tex-mode, latex-mode):
2937 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2939 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2941 * vc/vc-hg.el (vc-hg-next-revision):
2942 Ensure use of default "tip" output format. (Bug#6968)
2944 2012-12-01 Kim F. Storm <storm@cua.dk>
2946 * startup.el (fancy-startup-tail): Add a clickable link
2949 2012-12-01 Chong Yidong <cyd@gnu.org>
2951 * startup.el (fancy-startup-tail): Improve the message about
2952 auto-save files (Bug#2176).
2954 * files.el (recover-session): Improve the descriptive message, and
2955 use substitute-command-keys.
2957 2012-12-01 Glenn Morris <rgm@gnu.org>
2959 * ido.el (ido-file-internal):
2960 Handle other-window, other-frame for dired. (Bug#13036)
2962 2012-11-30 Glenn Morris <rgm@gnu.org>
2964 * icomplete.el (icomplete-separator): Fix :version.
2966 2012-11-30 Chong Yidong <cyd@gnu.org>
2968 * shell.el (shell): For C-u M-x shell, use an inactive shell
2969 buffer as the default (Bug#1975).
2970 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2971 (shell-mode): Use them to reapply ansi colorization if Shell mode
2974 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2976 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2978 2012-11-30 Samuel Bronson <naesten@gmail.com>
2980 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2981 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2983 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2985 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2986 by move-to-column (Bug#3234).
2988 2012-11-30 Chong Yidong <cyd@gnu.org>
2990 * longlines.el (longlines-wrap-line, longlines-encode-region):
2991 Preserve text properties (Bug#1425).
2993 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2995 * vc/vc.el (vc-register): Allow registering a file which is
2996 already registered with a different backend (Bug#10589).
2998 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2999 Stefan Monnier <monnier@iro.umontreal.ca>
3001 * icomplete.el: Change separator; add ido-style commands.
3002 (icomplete-show-key-bindings): Remove custom var.
3003 (icomplete-get-keys): Remove function.
3004 (icomplete-forward-completions, icomplete-backward-completions):
3006 (icomplete-minibuffer-map): New var.
3007 (icomplete-minibuffer-setup): Use it.
3008 (icomplete-exhibit): Don't delay if the list of completions is known.
3009 (icomplete-separator): New custom.
3010 (icomplete-completions): Use it.
3011 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3012 (minibuffer-force-complete-and-exit): New command.
3013 (minibuffer--complete-and-exit): New function extracted from
3014 minibuffer-complete-and-exit.
3015 (minibuffer-complete-and-exit): Use it.
3017 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3018 error message when the file doesn't exist (bug#12974).
3020 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3022 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3024 2012-11-29 Glenn Morris <rgm@gnu.org>
3026 * files.el (hack-dir-local-variables): Warn if try to set
3027 coding via dir-locals, since it doesn't work. (Bug#7169)
3029 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3030 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3031 Set buffer-local value of desktop-save-buffer.
3032 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3034 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3035 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3037 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3038 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3040 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3043 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3045 * calc/calc-forms.el (calc-date-notation): Fix regexp
3046 used to find time codes. Fix symbol for seconds.
3048 2012-11-27 Glenn Morris <rgm@gnu.org>
3050 * emacs-lisp/derived.el (derived-mode-make-docstring):
3051 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3053 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3055 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3056 lexically scoped variables (bug#13005).
3058 2012-11-27 Glenn Morris <rgm@gnu.org>
3060 * vc/vc-hooks.el (vc-mistrust-permissions):
3061 Default to t, to avoid data-loss. (Bug#11490)
3063 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3065 * progmodes/python.el (python-indent-guess-indent-offset):
3066 If indentation is guessed make python-indent-offset buffer-local.
3068 Fix Imenu regression.
3069 * progmodes/python.el (python-nav-beginning-of-defun):
3070 Fix forward movement when statement(s) separates point from defun.
3071 (python-imenu-prev-index-position): New function.
3073 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3075 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3077 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3078 Don't set buffer-file-type. Return nil. (Bug#12989)
3080 2012-11-27 Glenn Morris <rgm@gnu.org>
3082 * hippie-exp.el (hippie-expand-try-functions-list):
3083 Re-autoload it. (Bug#12982)
3085 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3087 * descr-text.el (describe-char-padded-string):
3088 Call internal-char-font only on GUI frames. (Bug#11964)
3090 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3092 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3093 and obsoletion message.
3095 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3098 the constructs to keep outside of the `cl-block' (bug#12977).
3100 2012-11-27 Chong Yidong <cyd@gnu.org>
3102 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3103 keep reading until we get the up-event anyway, in order to process
3104 the up-event for mouse-1-click-follows-link (Bug#12971).
3106 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3109 base function is not yet defined (bug#12965).
3110 (ad-activate-advised-definition): Use ad-compile-function.
3111 (ad-activate): Use cond.
3113 2012-11-25 Leo Liu <sdl.web@gmail.com>
3115 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3118 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3120 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3121 reftex-section-info-function in order to be compatible with
3122 Texinfo integration.
3124 * textmodes/reftex.el (reftex-section-pre-regexp)
3125 (reftex-section-post-regexp, reftex-section-info-function):
3127 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3128 reftex-section-post-regexp, and reftex-section-info-function in order
3129 to be compatible with Texinfo integration.
3131 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3132 use reftex-section-pre-regexp variable in order to be compatible with
3133 Texinfo integration.
3135 2012-11-25 Chong Yidong <cyd@gnu.org>
3137 * faces.el: Make face-spec-set more analogous to setq.
3138 (face-spec-set): Change the third arg to specify whether this
3139 function is being called via defface, customize, or a third party.
3140 Set the appropriate symbol properties. Clear the override spec if
3141 setting via Custom. Initialize face if necessary. (Bug#4988)
3142 (face-spec-recalc): Allow theme faces to completely replace the
3143 defface spec, in the same way as custom faces (Bug#8454).
3145 * cus-face.el (custom-declare-face): Move face initialization to
3147 (custom-theme-set-faces): Don't initialize the face name here, as
3148 that is now done in face-spec-set.
3150 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3151 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3152 Simplify by using the new arg to face-spec-set.
3154 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3155 reset face-override-spec too, and use custom-declare-face.
3157 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3159 * term/ns-win.el (ns-initialize-window-system): Move creation of
3160 fontsets here (Bug#11964).
3162 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3164 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3167 2012-11-24 Chong Yidong <cyd@gnu.org>
3169 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3172 * custom.el (custom-theme-set-variables): Use a topological sort
3173 for ordering by custom dependencies (Bug#12952).
3174 (custom--sort-vars, custom--sort-vars-1): New functions.
3176 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3178 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3179 lexical-binding (bug#12938).
3181 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3183 * image-mode.el (image-transform-check-size): Use assertions only
3184 for images of type imagemagick.
3186 Otherwise no error, image-transform-fit-to-{width,height} is
3187 silently ignored, as before. Doc fix.
3189 2012-11-24 Chong Yidong <cyd@gnu.org>
3191 * faces.el (color-defined-p): Doc fix (Bug#12853).
3193 2012-11-24 Juri Linkov <juri@jurta.org>
3195 * dired.el (dired-mark): Add optional arg `interactive'.
3196 Check for `use-region-p' if `interactive' is non-nil.
3197 (dired-unmark, dired-flag-file-deletion): Add optional arg
3198 `interactive'. Call `dired-mark' with the arg `interactive'.
3201 * wdired.el: Revert 2012-10-17 change partly and replace it with
3202 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3203 (wdired-finish-edit): Add marks for new file names to
3204 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3205 after `revert-buffer'.
3206 (wdired-do-renames): Remove calls to `dired-remove-file',
3207 `dired-add-file', `dired-add-entry'. (Bug#11795)
3209 2012-11-24 Alan Mackenzie <acm@muc.de>
3211 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3213 Fix bugs in the state cache. Enhance a debugging mechanism.
3214 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3215 "brace at column zero" strategy for C++.
3216 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3217 (c-parse-state-point): New variable.
3218 (c-record-parse-state-state): Record old parse state with
3219 `copy-tree'. Record previous value of point.
3220 (c-debug-parse-state-double-cons): New debugging function.
3221 (c-debug-parse-state): Call the above new function.
3222 (c-toggle-parse-state-debug): Output a confirmatory message.
3224 * progmodes/cc-mode.el (c-before-change, c-after-change):
3225 Call c-invalidate-state-cache from `c-before-change' instead of
3228 2012-11-23 Chong Yidong <cyd@gnu.org>
3230 * find-cmd.el (find-constituents): Add executable, ipath,
3231 readable, samefile, writable, daystart, regextype (Bug#12856).
3233 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3237 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3239 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3240 definition. This fixes a bootstrap failure.
3241 (calc-gregorian-switch): In menu, put dates before regions.
3242 This is easier to follow, lines up better in the menu, and lets us
3243 coalesce regions that switch at the same time. Give country
3244 names, not "Vatican", as that's better for non-expert users.
3245 Use names that are stable between the date of switch and now, e.g.,
3246 Bohemia and Moravia (which existed then and now) and not
3247 Czechoslovakia (which didn't exist then and doesn't exist now).
3248 What is now the U.S. mostly did not switch at the same time as
3249 Britain, so omit the U.S. Correct spelling of "Britain".
3250 Catholic Switzerland was too much of a mess, so omit it.
3252 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3254 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3255 after the variable is changed.
3257 2012-11-21 Daniel Colascione <dancol@dancol.org>
3259 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3260 in SQL declarations for font-lock.
3261 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3263 2012-11-21 Glenn Morris <rgm@gnu.org>
3265 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3266 (face-italic-p): Add optional argument "inherit".
3268 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3269 Remove -p suffix from names, for consistency with other set-face-*.
3270 (set-face-inverse-video): Fix interactive spec.
3271 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3272 * textmodes/table.el (table--update-cell-face):
3273 Use set-face-inverse-video rather than now obsolete alias.
3275 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3277 * simple.el (line-move): Don't call line-move-partial if
3278 scroll-conservatively is in effect. (Bug#12927)
3280 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3283 Fallback on completion-at-point rather than
3284 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3285 (eshell-cmpl-initialize): Setup completion-at-point.
3287 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3289 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3291 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3293 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3294 are remote, check out-of-band property for both.
3296 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3298 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3301 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3303 More minor time fixes.
3304 * calendar/time-date.el: Commentary fix.
3305 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3306 too much other code depends on (0 0) time stamps.
3307 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3308 Add a couple of FIXME comments.
3310 Minor cleanup for times as lists of four integers.
3311 * files.el (dir-locals-directory-cache):
3312 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3314 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3315 * ps-bdf.el (bdf-file-newer-than-time):
3316 Process four-integers time stamps, not two. Doc fixes.
3318 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * uniquify.el (uniquify-managed): Use defvar-local.
3321 (rename-buffer, create-file-buffer): Advise with advice-add.
3322 (uniquify-unload-function): Unadvise accordingly.
3324 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3325 (trace-buffer): Don't purecopy.
3326 (trace-entry-message, trace-exit-message): Add `context' arg.
3327 (trace--timer): New var.
3328 (trace-make-advice): Adjust for use in nadvice.
3329 Add `context' argument. Delay `display-buffer' via a timer.
3330 (trace-function-internal): Use advice-add.
3331 (trace--read-args): New function.
3332 (trace-function-foreground, trace-function-background): Use it.
3333 (trace-function): Rename to trace-function-foreground and redefine as
3334 an alias to that new name.
3335 (untrace-function, untrace-all): Adjust to the use of nadvice.
3337 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3339 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3341 * subr.el (called-interactively-p-functions): New var.
3342 (internal--called-interactively-p--get-frame): New macro.
3343 (called-interactively-p, interactive-p): Rewrite in Lisp.
3344 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3345 (called-interactively-p-functions): Use it.
3346 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3347 (called-interactively-p-functions): Use it.
3348 * allout.el (allout-called-interactively-p): Don't assume
3349 called-interactively-p is a subr.
3351 2012-11-20 Glenn Morris <rgm@gnu.org>
3353 * profiler.el (profiler-report-mode-map): Add a menu.
3354 No need to bind `q' because we derive from special-mode.
3355 (profiler-report-find-entry): Handle calls from the menu-bar.
3357 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3359 * emacs-lisp/byte-run.el (defun-declarations-alist):
3360 Allow a compiler-macro to be a lambda expression.
3362 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3364 (python-syntax-context): Add compiler-macro.
3365 (python-font-lock-keywords): Simplify with De Morgan.
3367 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3369 * files.el (load-file): Require match in minibuffer selection, as was
3370 the case in Emacs-20 before we changed the spec to allow .elc files
3373 * json.el: Don't require cl since we don't use it.
3374 * color.el: Don't require cl.
3375 (color-complement): `caddr' -> `nth 2'.
3377 * calendar/time-date.el (time-to-seconds): De-obsolete.
3379 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3381 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3383 (math-date-to-julian-dt): Adjust the initial approximation for the
3384 year to deal with the new definition of the DATE.
3386 2012-11-19 Daniel Colascione <dancol@dancol.org>
3388 * term/w32-win.el (cygwin-convert-path-from-windows):
3389 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3391 2012-11-18 Chong Yidong <cyd@gnu.org>
3393 * filecache.el (file-cache--read-list): New function.
3394 (file-cache-add-directory-list, file-cache-add-file-list)
3395 (file-cache-delete-file-list, file-cache-delete-directory-list):
3396 Use it to read a list of files or directories (Bug#12846).
3397 (file-cache-add-file, file-cache-add-directory)
3398 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3399 (file-cache-delete-directory): Print an message.
3401 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3403 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3404 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3406 2012-11-18 Glenn Morris <rgm@gnu.org>
3408 * image.el (insert-image, insert-sliced-image): Doc fix.
3410 2012-11-18 Chong Yidong <cyd@gnu.org>
3412 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3415 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3417 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3418 response when the target file is in a subdirectory (Bug#12757).
3420 2012-11-18 Chong Yidong <cyd@gnu.org>
3422 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3424 2012-11-18 Glenn Morris <rgm@gnu.org>
3426 * emacs-lisp/cl-lib.el (face-underline-p):
3427 Use set-face-underline rather than the alias set-face-underline-p.
3429 * window.el (with-temp-buffer-window): Doc fix.
3430 * subr.el (with-output-to-temp-buffer):
3431 Add doc xref to with-temp-buffer-window.
3433 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3435 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3436 * calc/calc.el (math-format-date-cache): Declare.
3438 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3440 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3441 It also uses January 1, 1 AD as its day number 1.
3442 * calc/calc-forms.el (math-julian-date-beginning)
3443 (math-julian-date-beginning-int): Implement this.
3445 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3447 * descr-text.el (quail-find-key):
3448 * dired.el (desktop-file-name):
3449 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3450 * generic-x.el (comint-mode, comint-exec):
3451 * image-dired.el (widget-forward):
3452 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3453 (speedbar-change-expand-button-char)
3454 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3455 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3456 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3457 (widget-field-action, widget-value-set):
3458 * speedbar.el (imenu--make-index-alist):
3459 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3460 (ring-length, ring-insert):
3461 * vcursor.el (compare-windows-skip-whitespace):
3462 * woman.el (dired-get-filename):
3465 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3467 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3469 * calc/calc.el (calc-gregorian-switch): New variable.
3471 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3472 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3473 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3474 (math-leap-year-p): Add option to distinguish between Julian
3475 and Gregorian calendars.
3476 (math-day-number): Use `math-day-in-year' to do the computations.
3477 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3478 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3479 to do the computations.
3480 (math-date-to-dt): Use `math-date-to-julian-dt' and
3481 `math-date-to-gregorian-dt' to do the computations.
3482 (calcFunc-weekday, math-format-date-part): Use the new version of
3483 the DATE to determine the weekday.
3484 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3487 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3489 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3490 Cygwin; otherwise use 'file:'. (Bug#12914)
3491 (cygwin-convert-path-from-windows): Declare, to avoid
3492 byte-compiler warnings.
3494 2012-11-17 Andreas Politz <politza@fh-trier.de>
3496 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3497 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3498 prefix and negative numeric prefix args (Bug#12795).
3500 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3502 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3503 Don't signal an error with a score that is too low to add to the
3504 list of top scores. (Bug#12779)
3506 2012-11-17 Chong Yidong <cyd@gnu.org>
3508 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3510 * filecache.el (file-cache-add-file): Handle relative file name in
3511 the argument (Bug#12694).
3513 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3515 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3517 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3519 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3521 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3523 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3525 * window.el (enlarge-window, shrink-window): Don't mention return
3526 value in doc-string (Bug#12896).
3527 (window--display-buffer): Don't resize frames - it won't work
3528 with all window managers and defeat pop-up-frame-alist.
3529 (display-buffer-alist): In doc-string explain that CONDITION can
3530 be a function and which arguments are passed to it (Bug#12854).
3531 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3532 expressions (Bug#12854).
3533 (display-buffer): Pass ACTION argument to
3534 display-buffer-assq-regexp.
3536 2012-11-16 Glenn Morris <rgm@gnu.org>
3538 * window.el (fit-frame-to-buffer-bottom-margin)
3539 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3541 * faces.el (face-underline-p): Use face-attribute-specified-or.
3543 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3545 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3547 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3551 2012-11-16 Glenn Morris <rgm@gnu.org>
3553 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3554 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3556 * faces.el (face-underline-p): Doc fix. Handle :underline being
3557 things other than `t' (a string, a list).
3558 (face-inverse-video-p): Doc fix.
3559 (set-face-underline): Rename it back from set-face-underline-p.
3560 Doc fix. Allow interactive input of values other than t.
3561 (read-face-attribute): Apply formatting to :underline,
3562 since like :box and :stipple it can take list values.
3564 * term.el (ansi-term): Don't let C-x escape-char binding
3565 clobber the more standard C-c binding. (Bug#12842)
3567 * subr.el (set-temporary-overlay-map): Doc fix.
3569 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3571 * window.el (record-window-buffer)
3572 (display-buffer-record-window): When copying the markers to
3573 window-point preserve window-point-insertion-type. (Bug#12588)
3575 2012-11-16 Glenn Morris <rgm@gnu.org>
3577 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3578 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3579 Use new names for hooks rather than obsolete aliases.
3581 2012-11-15 Daniel Colascione <dancol@dancol.org>
3583 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3584 prefix instead of "file:" so that when FILE-NAME begins with "//",
3585 as it does when the target file is on a network share, url-handler
3588 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3591 a preactivated advice from an old advice.el; they're not compatible!
3593 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3595 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3596 Fix string-spec case.
3598 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3600 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3602 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3603 (advice--buffer-local-function-sample): New var.
3604 (advice--set-buffer-local, advice--buffer-local): New functions.
3605 (add-function, remove-function): Use them.
3607 2012-11-15 Drew Adams <drew.adams@oracle.com>
3609 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3611 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3613 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3614 potential binding of print-gensym to t, and prettify (back)quotes in
3615 case they appear in args's default values (bug#12884).
3617 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3620 (advice-eval-interactive-spec): New function.
3621 (advice--make-interactive-form): Support around advice (bug#12844).
3623 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3625 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3626 more strict. Add docstring.
3627 (ruby-expression-expansion-re): Extract from
3628 `ruby-match-expression-expansion'.
3629 (ruby-syntax-propertize-function): After everything else, search
3630 for expansions in string literals, mark their insides as
3631 whitespace syntax and save match data for font-lock.
3632 (ruby-font-lock-keywords): Use the 2nd group from expression
3634 (ruby-match-expression-expansion): Use the match data saved to the
3635 text property in ruby-syntax-propertize-function.
3637 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3639 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3642 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3644 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3645 start/end keyword a bit harder. Works with different values of N.
3647 (ruby-end-of-block): Update accordingly.
3649 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * woman.el (woman-file-name): Don't mess with unread-command-events
3654 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3655 Remove out of date self-require hack.
3656 (ad-do-advised-functions): Use simple `dolist'.
3657 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3658 (ad-advice-definition): Redefine as functions.
3659 (ad-advice-classes): Move before first use.
3660 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3661 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3662 (ad--defalias-fset): Remove functions.
3663 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3664 (ad-get-orig-definition): Rewrite.
3665 (ad-make-advised-definition-docstring): Change base docstring.
3666 (ad-real-orig-definition): Rewrite.
3667 (ad-map-arglists): Change name of called function.
3668 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3669 (ad-make-advised-definition): Simplify.
3670 (ad-assemble-advised-definition): Tweak for new calling context.
3671 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3672 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3673 function and call ad-activate if needed.
3674 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3675 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3676 (ad-compile-function): Compile ad-Advice-*.
3677 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3678 (ad-start-advice, ad-stop-advice): Remove.
3680 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3682 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3683 period before class method names, not after. Remove handling of
3684 one impossible case. Add comments.
3686 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3688 * emacs-lisp/advice.el: Remove support for freezing.
3689 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3690 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3691 Remove support for `freeze'.
3693 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3694 override the default.
3695 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3697 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3700 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3702 (advice--strip-macro): New function.
3703 (advice--defalias-fset): Use them to handle macros.
3704 (advice-add): Use them.
3705 (advice-member-p): Correctly handle macros.
3707 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3709 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3710 Never font-lock the beginning of singleton class as heredoc.
3712 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3714 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3716 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3718 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3719 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3720 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3722 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3724 Fix end-of-defun misbehavior.
3725 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3726 python-beginning-of-defun-function. Handle nested defuns
3728 (python-nav-end-of-defun): Rename from
3729 python-end-of-defun-function. Ensure forward movement.
3730 (python-info-current-defun): Reimplement to work as intended
3731 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3732 parent defuns as soon as possible.
3734 2012-11-13 Glenn Morris <rgm@gnu.org>
3736 * progmodes/flymake.el (flymake-error-bitmap)
3737 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3738 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3740 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3742 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3743 backward, always stop at indentation. Reverts the change from
3744 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3746 2012-11-13 Glenn Morris <rgm@gnu.org>
3748 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3749 Add ibuffer-filter-by-derived-mode.
3751 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3752 the same name shadowing each other.
3754 * window.el (with-temp-buffer-window): Doc tweak.
3756 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3758 * help.el (temp-buffer-max-height):
3759 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3760 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3762 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3764 * emacs-lisp/nadvice.el: New package.
3765 * subr.el (special-form-p): New function.
3766 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3767 (elp-all-instrumented-list): Remove var.
3768 (elp-not-profilable): Remove elp-wrapper.
3769 (elp-profilable-p): Use autoloadp and special-form-p.
3770 (elp--advice-name): New const.
3771 (elp-instrument-function): Use advice-add.
3772 (elp--instrumented-p): New predicate.
3773 (elp-restore-function): Use advice-remove.
3774 (elp-restore-all, elp-reset-all): Use mapatoms.
3775 (elp-set-master): Use elp--instrumented-p.
3776 (elp--make-wrapper): Rename from elp-wrapper, return a function
3777 suitable for advice-add. Use cl-inf.
3778 (elp-results): Use mapatoms+elp--instrumented-p.
3779 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3780 (debug-function-list): Remove var.
3781 (debug): Rename arg, and then let-bind it explicitly inside.
3782 (debugger-setup-buffer): Rename arg.
3783 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3784 (debugger-frame-number): Adjust to new debug-on-entry setup.
3785 (debug--implement-debug-on-entry): Rename from
3786 implement-debug-on-entry, add argument.
3787 (debugger-special-form-p): Remove, use special-form-p instead.
3788 (debug-on-entry): Use advice-add.
3789 (debug--function-list): New function.
3790 (cancel-debug-on-entry): Use it, along with advice-remove.
3791 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3792 (debugger-list-functions): Use debug--function-list instead of
3793 debug-function-list.
3794 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3795 (ad-special-form-p): Remove, use special-form-p instead.
3796 (ad-set-advice-info): Use add-function and remove-function.
3797 (ad--defalias-fset): Adjust accordingly.
3799 2012-11-10 Glenn Morris <rgm@gnu.org>
3801 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3802 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3803 (report-emacs-bug-create-existing-bugs-buffer)
3804 (report-emacs-bug-parse-query-results)
3805 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3807 * term.el (term-default-fg-color, term-default-bg-color):
3808 Make obsolete, rather than just saying "deprecated" in the doc.
3810 * term.el (term): Rename from `term-face'.
3811 (term-current-face, ansi-term-color-vector)
3812 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3815 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3817 * server.el (server-create-window-system-frame): Handle Nextstep
3818 specially (Bug#12780).
3820 2012-11-10 Glenn Morris <rgm@gnu.org>
3822 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3823 Unautoload, and make obsolete. (Bug#7449)
3825 2012-11-10 Chong Yidong <cyd@gnu.org>
3827 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3828 rename from diff-remove-trailing-whitespace (Bug#12831).
3830 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3832 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3833 miscompilation of trace.el.
3835 2012-11-10 Glenn Morris <rgm@gnu.org>
3837 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3839 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3841 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3844 2012-11-10 Chong Yidong <cyd@gnu.org>
3846 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3847 a defcustom with an appropriate :set function.
3848 (minibuffer-default--in-prompt-regexps): New function.
3850 2012-11-10 Glenn Morris <rgm@gnu.org>
3852 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3853 (define-modify-macro): Doc fixes.
3855 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3856 (gv-define-simple-setter): Update doc of `fix-return'.
3858 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3860 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3861 twice when `fix-return' is set (bug#12813).
3863 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3864 gv-define-simple-setter (bug#12812).
3866 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3869 2012-11-10 Glenn Morris <rgm@gnu.org>
3871 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3873 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3874 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3875 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3876 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3878 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3880 2012-11-10 Leo Liu <sdl.web@gmail.com>
3882 * ido.el (ido-set-matches-1): Improve flex matching performance by
3883 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3885 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3888 (ad--defalias-fset): New function.
3889 (ad-safe-fset): Remove.
3890 (ad-make-freeze-definition): Use cl-letf*.
3892 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * subr.el (dolist): Don't bind VAR in RESULT.
3896 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3897 (fset, documentation): Don't save real def since we don't advise.
3898 (ad-do-advised-functions): Remove problematic `result-form'.
3899 (ad-safe-fset): `ad-real-fset' => `fset'.
3900 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3901 uses CL's dolist internally.
3902 (ad-arglist): Remove unused arg `name'.
3903 (ad-docstring, ad-make-advised-docstring):
3904 `ad-real-documentation' => `documentation'.
3905 (warning-suppress-types): Declare.
3906 (ad-set-arguments): Simple CSE.
3907 (ad-recover-normality): Sanity check.
3909 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3910 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3912 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3914 * ses.el: symbol to coordinate mapping is made by symbol property
3915 `ses-cell'. This means that the same mapping is done for all SES
3916 sheets. That is good enough for cells with standard A1 names, but
3917 not for named cell. So a hash map is added for the latter.
3918 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3919 (ses-sym-rowcol): Use hashmap for named cell.
3920 (ses-is-cell-sym-p): New defun.
3921 (ses-decode-cell-symbol): New defun.
3922 (ses-create-cell-variable): Add cell to hashmap when name is not
3924 (ses-rename-cell): Check that cell new name is not already in
3925 spreadsheet with the use of ses-is-cell-sym-p
3926 (ses-rename-cell): Use hash map for named cells, but accept also
3927 renaming back to A1-like.
3929 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3931 * emacs-lisp/advice.el: Use new dynamic docstrings.
3932 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3933 Use dynamic-docstring-function instead of ad-advice-info.
3934 (ad--make-advised-docstring): New function extracted from
3935 ad-make-advised-docstring.
3936 (ad-make-advised-docstring): Use it.
3937 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3939 (sql-help): Use it with dynamic-docstring-function.
3941 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3943 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3945 * files.el (hack-one-local-variable--obsolete): New function.
3946 (hack-one-local-variable): Use it for obsolete settings.
3948 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3951 * progmodes/js.el (js--filling-paragraph): New var.
3952 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3953 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3956 2012-11-08 Julien Danjou <julien@danjou.info>
3958 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3959 `auto-mode-alist' (Bug#12835).
3961 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3963 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3964 (perl--prettify-symbols-alist): New const.
3965 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3967 (perl-font-lock-keywords-2): Use them.
3968 (perl-electric-noindent-p): New function.
3969 (perl-mode): Use it to set up electric-indent-mode.
3970 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3971 (perl-mode-map): Remove bindings for them.
3972 (perl-imenu-generic-expression, perl-outline-level):
3973 Match functions&packages in column>0.
3975 * env.el (env--substitute-vars-regexp): New const.
3976 (substitute-env-vars): Use it. Add `only-defined' arg.
3977 * net/tramp.el (tramp-replace-environment-variables): Use it.
3979 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3980 Byte-compile *before* eval in eval-and-compile.
3981 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3982 (byte-compile-file-form-autoload): Don't hide actual definition.
3983 (byte-compile-maybe-guarded): Accept `functionp' as well.
3985 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3987 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3989 * notifications.el (notifications-get-server-information-method):
3991 (notifications-get-capabilities): Fix docstring.
3992 (notifications-get-server-information): New defun.
3994 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3996 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3999 * textmodes/ispell.el: Experimental support for support debugging.
4000 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4002 (ispell-print-if-debug): New function to print stuff to
4003 `ispell-debug-buffer' if debugging is enabled.
4004 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4005 show some debugging info.
4006 (ispell-buffer-with-debug): New function that creates a debugging
4007 buffer and calls `ispell-buffer' with debugging enabled.
4009 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4010 comment in autoconf mode. (Bug#12768)
4012 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4014 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4015 frame-first-window, frame-root-window, frame-selected-window,
4016 minibuffer-selected-window, minibuffer-window,
4017 window-absolute-pixel-edges, window-at, window-body-height,
4018 window-body-width, window-display-table, window-combination-limit,
4019 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4020 window-inside-edges, window-inside-pixel-edges, window-left-child,
4021 window-left-column, window-margins, window-next-buffers,
4022 window-next-sibling, window-new-normal, window-new-total,
4023 window-normal-size, window-parameter, window-parameters, window-parent,
4024 window-pixel-edges, window-point, window-prev-buffers,
4025 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4026 window-start, window-text-height, window-top-child, window-top-line,
4027 window-total-height, window-total-width and window-use-time to the list
4028 of functions without side-effects.
4029 (toplevel): Add window-valid-p to the list of error-free functions
4030 without side-effects.
4032 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4034 * textmodes/ispell.el (ispell-program-name):
4035 Update spellchecker parameters when customized.
4037 2012-11-04 Glenn Morris <rgm@gnu.org>
4039 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4041 2012-11-04 Chong Yidong <cyd@gnu.org>
4043 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4044 same-window-* variables.
4046 2012-11-04 Juri Linkov <juri@jurta.org>
4048 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4049 (isearch-describe-key, isearch-describe-mode): Use a display
4050 action instead of binding same-window-* variables (Bug#10040).
4052 2012-11-03 Glenn Morris <rgm@gnu.org>
4054 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4055 Rename handler properties back from cl-- to cl-. (Bug#12788)
4057 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4059 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4061 * term/pc-win.el: Don't load term/internal from here.
4063 * loadup.el: Load term/internal from here.
4065 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4067 * progmodes/python.el (inferior-python-mode): Fix hang in
4068 jit-lock (Bug#12645).
4070 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4072 * window.el (switch-to-visible-buffer)
4073 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4075 2012-11-03 Glenn Morris <rgm@gnu.org>
4077 * emacs-lisp/cl-lib.el (cl--random-time):
4078 Rename from cl-random-time. (Bug#12773)
4079 (cl--gensym-counter, cl--random-state): Update callers.
4080 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4082 2012-11-03 Chong Yidong <cyd@gnu.org>
4084 * cus-start.el: Make cursor-type customizable (Bug#11633).
4086 2012-11-02 Glenn Morris <rgm@gnu.org>
4088 * filecache.el: No need to load find-lisp when compiling.
4089 (find-lisp-find-files): Autoload it.
4090 (file-cache-add-directory-recursively): Don't require find-lisp.
4092 * image.el (image-type-from-file-name): Trivial simplification.
4094 * emacs-lisp/bytecomp.el (byte-compile-eval):
4095 Decouple "noruntime" and "cl-functions" warnings.
4097 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4099 * play/gomoku.el (gomoku-display-statistics): Update mode line
4100 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4102 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4104 * window.el (quit-restore-window): If the window has been
4105 created on an existing frame and ended up as the sole window on
4106 that frame, do not delete it (Bug#12764).
4108 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4111 Rename from sh--inside-arithmetic-expression, handle more cases
4114 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4115 (sh-font-lock-open-heredoc): Use it (bug#12770).
4117 2012-10-30 Glenn Morris <rgm@gnu.org>
4119 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4121 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4123 2012-10-29 Chong Yidong <cyd@gnu.org>
4125 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4126 function key is stored in a keyboard macro (Bug#4894).
4128 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4130 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4132 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4134 (diff-unified->context, diff-context->unified)
4135 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4137 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4139 * files.el (find-alternate-file): Only ask one question (bug#12487).
4141 2012-10-29 Chong Yidong <cyd@gnu.org>
4143 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4144 Suggested by Dan Nicolaescu (Bug#6326).
4146 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4148 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4150 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4152 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4154 * face-remap.el (face-remap-add-relative): Handle the case where a
4155 face-remapping-alist entry is a cons cell (Bug#12762).
4157 2012-10-29 Kevin Ryde <user42@zip.com.au>
4159 * woman.el (woman-parse-numeric-value): Handle picas correctly
4162 2012-10-29 Glenn Morris <rgm@gnu.org>
4164 * emacs-lisp/cl.el (defsetf): Doc fix.
4166 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4169 syntax to the matching opener, if any (bug#12547).
4170 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4171 matching open as a "case-(".
4172 (sh-smie-rc-grammar): Add a corresponding rule for it.
4174 2012-10-28 Daniel Hackney <dan@haxney.org>
4176 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4177 "PKGNAME-autoloads.el" in case we created it.
4179 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4182 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4183 (completion--twq-all): Disable too-strict assertions.
4185 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4187 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4189 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4190 text to match the real keybindings.
4192 2012-10-27 Juri Linkov <juri@jurta.org>
4194 * wdired.el (wdired-keep-marker-rename): New defcustom.
4195 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4198 * dired.el (dired-keep-marker-rename): Add reference to
4199 `wdired-keep-marker-rename' in the docstring.
4200 Add default character value ?R to display initially in
4201 Customization UI instead of ?@.
4203 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4205 * window.el (display-buffer): In doc-string describe
4206 window-height and window-width alist entries.
4208 * time.el (display-time-world): Restore fit-window-to-buffer
4211 2012-10-27 Chong Yidong <cyd@gnu.org>
4213 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4215 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4217 * minibuffer.el (completion-category-overrides): New completion
4218 category `bookmark' (bug#11131).
4220 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4223 Silence bogus compiler warnings for ad-do-it.
4225 * bookmark.el (bookmark-completing-read): Set the completion category
4226 to `bookmark' (bug#11131).
4228 2012-10-26 Bastien <bzg@altern.org>
4229 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * face-remap.el: Use lexical-binding.
4232 (text-scale-adjust): Improve docstring. Use itself for the temporary
4233 overlay-map bindings, so as to repeat the "Use..." message each time.
4235 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4237 * emacs-lisp/macroexp.el (macroexp--expand-all):
4238 Obey byte-compile-warning-enabled-p (bug#12486).
4240 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4241 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4243 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4245 * mouse.el (mouse-drag-line): Move last form into preceding when
4248 * help.el (resize-temp-buffer-window): Fix doc-string.
4250 2012-10-25 David Engster <deng@randomsample.de>
4252 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4253 Remove. This feature is already integrated in imenu.
4255 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4256 always loaded. Require `speedbar' unconditionally.
4258 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4262 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4264 * net/ldap.el (ldap-search-internal): The official ldif format starts
4265 with a "version: 1" header (bug#12724).
4267 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4270 2012-10-25 Glenn Morris <rgm@gnu.org>
4272 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4274 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4276 * minibuffer.el (minibuffer-force-complete): Use one more marker
4277 for the temporary-overlay-map command (bug#12619).
4279 2012-10-24 Chong Yidong <cyd@gnu.org>
4281 * time.el (display-time-world-mode): Derive from special-mode.
4282 (display-time-world): Use display-buffer (Bug#12708).
4283 (display-time-world-mode-map): Variable deleted.
4284 (display-time-world-display): Wrap the final delete-char inside
4287 2012-10-24 Chong Yidong <cyd@gnu.org>
4289 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4292 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4294 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * minibuffer.el (completion--all-sorted-completions-location): New var.
4297 (completion--cache-all-sorted-completions)
4298 (completion--flush-all-sorted-completions): Use it.
4299 (completion-in-region, completion-in-region--postch)
4300 (completion-at-point, completion-help-at-point): Use markers in
4301 completion-in-region--data (bug#12619).
4303 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4305 * progmodes/compile.el (compilation-start): Try to handle common
4306 quoting of `cd' argument (bug#12640).
4308 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4311 2012-10-23 Glenn Morris <rgm@gnu.org>
4313 * progmodes/gud.el (gud-menu-map):
4314 Check gdb-active-process is bound. (Bug#12358)
4316 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * repeat.el (repeat): Set real-this-command (bug#12232).
4320 * htmlfontify.el (hfy-post-html-hook):
4321 * filesets.el (filesets-cache-fill-content-hook):
4322 * arc-mode.el (archive-extract-hook):
4323 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4324 * net/rcirc.el (rcirc-sentinel-functions)
4325 (rcirc-receive-message-functions, rcirc-activity-functions)
4326 (rcirc-print-functions):
4327 * net/dbus.el (dbus-event-error-functions):
4328 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4329 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4330 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4331 * term/sun.el (sun-raw-prefix-hooks):
4332 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4334 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4336 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4337 Set `tramp-chunksize' to 1. This improves the performance.
4338 (tramp-smb-wait-for-output): Add timeout to
4339 `tramp-accept-process-output' calls.
4341 2012-10-23 Chong Yidong <cyd@gnu.org>
4343 * faces.el (font-list-limit): Define as an obsolete variable.
4345 * startup.el (command-line):
4346 * cus-start.el: Don't refer to font-list-limit.
4348 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4350 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * subr.el (internal-temp-output-buffer-show): Rename from
4353 temp-output-buffer-show, since previously compiled files expect this name.
4355 2012-10-23 Glenn Morris <rgm@gnu.org>
4357 * image.el (image-type-from-file-name): If multiple types match,
4358 return the first one that is supported. (Bug#9045)
4360 2012-10-22 Glenn Morris <rgm@gnu.org>
4362 * image.el (imagemagick-enabled-types): Doc fix.
4364 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4366 * progmodes/which-func.el (which-func-current): The hash-table may have
4367 an explicit nil (bug#12338).
4369 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4371 * electric.el (electric-pair-delete-selection-self-insert-function):
4372 Rename to electric-pair-will-use-region, return a boolean.
4373 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4375 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4376 (delete-selection-pre-hook): Use use-region-p.
4377 (delete-selection-self-insert-function): Remove.
4378 (self-insert-command): Obey self-insert-uses-region-functions.
4379 (self-insert-iso): Revert to previous setting, since we don't actually
4380 know what that command does.
4381 (delete-selection-self-insert-hooks): Remove.
4383 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4385 * delsel.el (delete-selection-helper): New function, extracted from
4386 delete-selection-pre-hook.
4387 (delete-selection-pre-hook): Use it.
4388 (delete-selection-self-insert-function): New function.
4389 (delete-selection-self-insert-hooks): New hook.
4390 (self-insert-command, self-insert-iso): Use it.
4391 * electric.el (electric-pair-syntax): New function, extracted from
4392 electric-pair-post-self-insert-function.
4393 (electric-pair-post-self-insert-function): Use it.
4394 (electric-pair-delete-selection-self-insert-function): New function.
4395 (electric-pair-mode): Require delsel and setup
4396 delete-selection-self-insert-hooks (bug#11520).
4398 2012-10-20 Chong Yidong <cyd@gnu.org>
4400 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4401 no changes to show (Bug#12586).
4403 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4404 list explicitly (Bug#12571).
4406 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4408 * progmodes/flymake.el (flymake-create-temp-inplace):
4411 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4413 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4415 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4417 * calc/calc-units.el (math-extract-units): Properly extract powers
4420 2012-10-20 Daniel Colascione <dancol@dancol.org>
4422 * frame.el (make-frame): Set x-display-name as we used to in order
4423 to unbreak creating an X11 frame from an Emacs daemon started
4426 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4428 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4429 the same completion-field (bug#12221).
4431 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4433 * emacs-lisp/debug.el (debug): Record height of debugger window
4434 also when debugger will be back (Bug#8789).
4436 2012-10-18 Chong Yidong <cyd@gnu.org>
4438 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4439 Convert to defcustom.
4440 (gdb-get-source-file): Don't bind pop-up-windows.
4442 * progmodes/gud.el (gud-display-line): Don't specially re-use
4443 other frames for the gdb-mi case (Bug#12648).
4445 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * emacs-lisp/advice.el: Clean up commentary a bit.
4448 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4449 (byte-code-function-p): Never redefine.
4451 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4453 2012-10-18 Glenn Morris <rgm@gnu.org>
4455 * dired.el (dired-sort-toggle): Some ls implementations only allow
4456 a single option string. (Bug#12666)
4458 * minibuffer.el (completion-cycle-threshold): Doc fix.
4460 2012-10-17 Kenichi Handa <handa@gnu.org>
4462 * international/mule.el (set-keyboard-coding-system):
4463 Recover input meta mode when the new coding system doesn not use 8-bit.
4464 Supply TERMINAL arg to set-input-meta-mode.
4466 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4468 * wdired.el (wdired-old-marks): New variable.
4469 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4470 (wdired-do-renames): Move point with renamed file and don't lose
4471 mark status (Bug#11795).
4473 2012-10-16 Juri Linkov <juri@jurta.org>
4475 * replace.el (query-replace-help): Mention multi-buffer replacement
4476 keys in the Help message. (Bug#12655)
4478 2012-10-15 Chong Yidong <cyd@gnu.org>
4480 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4482 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4484 * window.el (display-buffer): Doc fix.
4486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4487 Adjust the msft regexp to the output of Studio 2010, and move msft
4488 before edg-1. See the discussion on emacs-devel,
4489 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4492 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4495 (oset): Move uses of object-class-fast macro after its definition.
4497 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4499 2012-10-13 Chong Yidong <cyd@gnu.org>
4501 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4502 enabled, re-enable it (Bug#11963).
4504 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4506 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4507 non-nil, restore window configuration (Bug#12623).
4509 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4511 * help-fns.el (describe-variable, describe-function-1):
4512 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4514 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4516 2012-10-12 Glenn Morris <rgm@gnu.org>
4518 * mail/rmailsum.el (rmail-header-summary):
4519 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4521 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4523 * progmodes/python.el (python-mode-map):
4524 Replace subtitute-key-definition with proper command remapping.
4525 (python-nav--up-list): Fix behavior for blocks on the same level.
4527 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4531 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4532 changes to the format of load-history.
4534 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4535 completion-ignore-case in case that var is buffer-local (bug#12615).
4537 2012-10-11 Kenichi Handa <handa@gnu.org>
4539 * international/eucjp-ms.el: Re-generated.
4541 2012-10-10 Kenichi Handa <handa@gnu.org>
4543 * select.el (xselect--encode-string): If a coding is specified for
4544 selection, and that is compatible with COMPOUND_TEXT, use it.
4546 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4548 * window.el (switch-to-buffer-preserve-window-point): New option.
4550 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4552 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4554 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4555 Don't document nil as a useful value (bug#12583).
4557 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4559 * net/tramp.el (tramp-debug-message):
4560 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4561 (with-tramp-progress-reporter): Rename from
4562 `tramp-with-progress-reporter'.
4563 (with-tramp-file-property, with-tramp-connection-property):
4564 Move from tramp-cache.el, rename from `with-file-property' and
4565 `with-connection-property', respectively.
4567 * net/tramp-cache.el: Remove `with-file-property' and
4568 `with-connection-property'.
4571 * net/tramp-gvfs.el:
4573 * net/tramp-smb.el: Adapt callees.
4575 * net/trampver.el: Update release number.
4577 2012-10-09 Glenn Morris <rgm@gnu.org>
4579 * w32-fns.el (set-message-beep):
4580 * term/w32-win.el (set-message-beep): Update declarations.
4582 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4585 (mode-line-widen, mode-line-input-method-map)
4586 (mode-line-coding-system-map, mode-line-remote)
4587 (mode-line-unbury-buffer, mode-line-bury-buffer)
4588 (mode-line-next-buffer, mode-line-previous-buffer):
4589 Replace save-selected-window+select-window => with-selected-window.
4591 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4592 * progmodes/cc-vars.el (bq-process): Remove, unused.
4594 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4596 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4598 Implemented `backward-up-list'-like navigation.
4599 * progmodes/python.el (python-nav-up-list)
4600 (python-nav-backward-up-list): New functions.
4601 (python-mode-map): Define substitute key for backward-up-list to
4602 python-nav-backward-up-list.
4604 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4606 * progmodes/python.el (python-fill-paragraph): Rename from
4607 python-fill-paragraph-function. Fixed fill-paragraph for
4608 decorators (Bug#12605).
4610 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4612 * progmodes/python.el (python-shell-output-filter): Handle extra
4613 carriage return in OSX (Bug#12409).
4615 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4617 Fix shell handling of unbalanced quotes and parens in output.
4618 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4619 (python-syntax-propertize-function): Use it.
4620 (python-shell-output-syntax-table): New var.
4621 (inferior-python-mode): Prevent unbalanced parens/quotes from
4622 previous output mess with current input context.
4624 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4626 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4627 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4629 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4631 * ffap.el (ffap-replace-file-component): Support Tramp file name
4632 syntax, not only ange-ftp's one.
4634 2012-10-08 Glenn Morris <rgm@gnu.org>
4636 * cus-start.el (message-log-max): Set :version.
4638 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4640 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4642 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4643 the minibuffer window (Bug#10851).
4645 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4647 Enhancements on forward-sexp movement.
4648 * progmodes/python.el (python-nav-beginning-of-statement)
4649 (python-nav-end-of-statement): Return point-marker.
4650 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4651 (python-info-current-symbol)
4652 (python-info-statement-starts-block-p): Rename from
4653 python-info-beginning-of-block-p.
4654 (python-info-statement-ends-block-p): Rename from
4655 python-info-end-of-block-p.
4656 (python-info-beginning-of-statement-p)
4657 (python-info-end-of-statement-p)
4658 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4661 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4664 frame-selected-windows.
4666 2012-10-08 Daniel Colascione <dancol@dancol.org>
4668 * battery.el (battery-status-function): Check for
4669 w32-battery-status itself, not system-time windows-nt.
4671 * frame.el: Require cl-lib.
4672 (display-format-alist): New variable mapping frame types to
4673 functions that initialize them.
4674 (window-system-for-display): New function: interprets
4675 display-format-alist.
4676 (make-frame-on-display): Remove existing display-selection logic
4677 and just forward to make-frame, which will now DTRT.
4678 (make-frame): Restructure to use window-system-for-display to
4679 figure out how to create a frame on a given display.
4680 (display-mouse-p): Look for frame-type w32, not a particular
4683 * loadup.el: Load w32 lisp code when we have the w32 feature.
4685 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4686 system-type windows-nt.
4688 * server.el (server-create-window-system-frame): Look for window
4690 (server-proces-filter): Only force a window system when windows-nt
4691 _and_ w32. Explain why.
4693 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4694 of window systems we configure for the mode.
4696 * startup.el (command-line): Mark window system is initialized
4697 after we've done it.
4699 * common-win.el (x-select-text): Look for w32, not windows-nt.
4701 * ns-win.el: Require cl-lib. Add ourselves to
4702 display-format-alist.
4703 (ns-initialize-window-system): Assert we're not initialized twice.
4705 * w32-win.el: Enable lexical binding; require cl-lib; add
4706 ourselves to display-format-alist.
4707 (w32-handle-dropped-file): Convert incoming dropped files from
4708 Windows paths to Cygwin ones before passing them on to the rest of
4710 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4711 (w32-initialize-window-system): Assert we're not initialized twice.
4713 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4714 (x-initialize-window-system): Assert we're not initialized twice.
4716 * w32-common-fns.el: New File.
4717 (w32-version, w32-using-nt, w32-get-clipboard-data)
4718 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4719 (w32-charset-info-alist, x-last-selected, text)
4720 (x-get-selection-value, x-selection-value): Move here.
4722 * w32-fns.el: Require w32-common-fns.
4723 (w32-version, w32-using-nt, w32-get-clipboard-data)
4724 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4725 (w32-charset-info-alist, x-last-selected, text)
4726 (x-get-selection-value, x-selection-value): Move to
4730 (w32-allow-system-shell, w32-system-shells): Define only in
4733 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4735 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4736 (read-passwd): Remove a few more potential sources of leaks.
4738 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4740 * progmodes/python.el (inferior-python-mode)
4741 (python-shell-make-comint): Fix initialization of local
4742 variables copied from parent buffer.
4744 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4746 * term/ns-win.el (ns-read-file-name): Update declaration to match
4748 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4749 it is set when font is acted upon.
4751 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4753 Enhancements to indentation.
4754 * progmodes/python.el (python-indent-context): Give priority to
4755 inside-string context. Make comments indentation markers.
4756 (python-indent-region): Do not mess with strings, unless it's the
4757 enclosing set of quotes.
4759 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * window.el (internal--before-save-selected-window)
4762 (internal--after-save-selected-window): New functions extracted from
4763 save-selected-window. Make sure we return the `alist' we construct.
4764 (save-selected-window): Use them.
4766 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4767 Use with-selected-window.
4769 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4770 forms that define macros (bug#12593).
4772 2012-10-07 Kenichi Handa <handa@gnu.org>
4774 * international/mule-conf.el (compound-text-with-extensions):
4775 Add :mime-charset property as x-ctext.
4777 2012-10-07 Stefan Merten <smerten@oekonux.de>
4779 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4780 (rst-indent-literal-normal, rst-indent-literal-minimized)
4781 (rst-indent-comment): Correct :version tag.
4782 (rst-official-cvs-rev): Correct version string.
4784 2012-10-07 Glenn Morris <rgm@gnu.org>
4786 * mail/rmailmm.el (rmail-mime-process-multipart):
4787 Do not confuse a multipart message with an epilogue
4788 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4790 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4792 Fix shell output retrieval and comint-prompt-regexp init.
4793 * progmodes/python.el (inferior-python-mode):
4794 (python-shell-make-comint): Fix initialization of
4795 comint-prompt-regexp from copied file local variables.
4796 (python-shell-fetched-lines): Remove var.
4797 (python-shell-output-filter-in-progress): Rename from
4798 python-shell-fetch-lines-in-progress.
4799 (python-shell-output-filter-buffer): Rename from
4800 python-shell-fetch-lines-string.
4801 (python-shell-fetch-lines-filter): Delete function.
4802 (python-shell-output-filter): New function.
4803 (python-shell-send-string-no-output): Use them.
4805 2012-10-07 Glenn Morris <rgm@gnu.org>
4807 * hi-lock.el (hi-lock-process-phrase):
4808 Try to make it less fragile. (Bug#7161)
4810 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4812 2012-10-06 Glenn Morris <rgm@gnu.org>
4814 * ehelp.el (electric-help-mode): Use help-mode rather than
4815 non-existent mode `help'.
4816 (electric-help-map): Use button-buffer-map. (Bug#10917)
4818 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4819 (reftex-create-bibtex-footer): Fix custom types.
4821 * progmodes/sh-script.el (sh-indent-after-continuation):
4822 Add explicit :group.
4824 * textmodes/rst.el (rst-preferred-decorations)
4825 (rst-shift-basic-offset): Clarify obsolescence versions.
4827 * profiler.el (profiler): Add missing group :version tag.
4828 * avoid.el (mouse-avoidance-banish-position):
4829 * proced.el (proced-renice-command):
4830 * calc/calc.el (calc-ensure-consistent-units):
4831 * calendar/icalendar.el (icalendar-import-format-uid):
4832 * net/tramp.el (tramp-save-ad-hoc-proxies):
4833 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4834 * progmodes/flymake.el (flymake-error-bitmap)
4835 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4836 * progmodes/sh-script.el (sh-indent-after-continuation):
4837 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4838 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4839 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4840 (vhdl-array-index-record-field-in-sensitivity-list)
4841 (vhdl-indent-comment-like-next-code-line):
4842 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4843 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4844 (reftex-cite-key-separator, reftex-create-bibtex-header)
4845 (reftex-create-bibtex-footer):
4846 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4847 (rst-indent-literal-normal, rst-indent-literal-minimized)
4848 (rst-indent-comment): Add missing custom :version tags.
4850 * calendar/timeclock.el (timeclock-modeline-display):
4851 Add missing obsolete alias for renamed user option.
4853 * strokes.el (strokes-modeline-string):
4854 * emulation/crisp.el (crisp-mode-modeline-string):
4855 * eshell/esh-mode.el (eshell-status-in-modeline):
4856 Aliases to defcustoms must come before the defcustom.
4858 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4859 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4860 (cal-tex-cursor-week-monday): Doc fixes.
4861 (cal-tex-cursor-week2-summary): Doc fix.
4862 Rename from cal-tex-cursor-week-at-a-glance.
4864 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4865 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4867 * calendar/calendar.el (calendar-mode-map):
4868 Add cal-tex-cursor-week2-summary.
4870 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4872 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4874 * subr.el (read-passwd-map): New var.
4875 (read-passwd): Use `read-string' again.
4876 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4878 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4880 * register.el (append-to-register, prepend-to-register):
4881 Deactivate mark, as does `copy-to-register' (bug#12389).
4883 2012-10-06 Chong Yidong <cyd@gnu.org>
4885 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4887 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4889 * international/characters.el: Fix simple mistake ((car chars) ->
4890 elt), delete duplicated code.
4892 2012-10-06 Glenn Morris <rgm@gnu.org>
4894 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4896 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4898 * color.el (color-hsl-to-rgb): Fix incorrect results for
4899 small and large hue values. (Bug#12559)
4901 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4903 Enhancements to docstring formatting when filling paragraphs.
4904 * progmodes/python.el (python-fill-docstring-style): Rename from
4905 python-fill-string-style. Added new style.
4906 (python-fill-string): Use new style. Better checks for
4909 2012-10-05 Glenn Morris <rgm@gnu.org>
4911 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4913 * color.el (color-name-to-rgb, color-rgb-to-hex)
4914 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4915 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4916 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4917 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4919 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4921 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4923 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4924 to get the correct size across symlinks.
4926 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4928 2012-10-04 Juri Linkov <juri@jurta.org>
4930 * replace.el (query-replace-interactive): Declare obsolete.
4931 (query-replace-read-from): Add the last incremental search string
4932 to the list of default values accessible via M-n.
4933 (map-query-replace-regexp): Use `read-regexp'.
4934 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4935 (map-query-replace-regexp, replace-string, replace-regexp):
4936 Fix docstrings to replace mentions of `query-replace-interactive'
4937 with alternatives. (Bug#12526)
4939 2012-10-04 Juri Linkov <juri@jurta.org>
4941 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4942 (dired-pop-to-buffer): Declare obsolete.
4943 (dired-mark-pop-up): Doc fix.
4945 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4947 Allow user to set docstring style for fill-paragraph.
4948 * progmodes/python.el
4949 (python-fill-comment-function, python-fill-string-function)
4950 (python-fill-decorator-function, python-fill-paren-function):
4951 Remove :safe for defcustoms.
4952 (python-fill-string-style): New defcustom
4953 (python-fill-paragraph-function): Enhance context detection.
4954 (python-fill-string): Honor python-fill-string-style settings.
4956 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4958 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4959 after setting its buffer (Bug#10805).
4961 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4963 Fix cornercase for string syntax.
4964 * progmodes/python.el (python-syntax-propertize-function):
4965 Simplify and enhance the regexp for unescaped quotes. Now it also
4966 matches quotes in weird situations like the single quote in
4968 (python-syntax-stringify): Simplify num-quotes detecting code.
4970 2012-10-03 Glenn Morris <rgm@gnu.org>
4972 * help-macro.el (three-step-help):
4973 Revert 2012-09-29 change. (Bug#12567)
4975 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4977 * menu-bar.el (kill-this-buffer): Don't do anything when
4978 `menu-frame' is not alive or visible (Bug#8184).
4980 * emacs-lisp/debug.el (debug): When quitting the debugger window
4981 restore current buffer (Bug#12502).
4983 2012-10-02 Chong Yidong <cyd@gnu.org>
4985 * progmodes/hideif.el (hif-lookup, hif-defined):
4986 Handle semantic-c-takeover-hideif.
4988 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4990 Change sampling interval units from ms to ns.
4991 * profiler.el (profiler-sampling-interval): Change units
4992 from ms to ns, multiplying the default by 1000000 so that
4994 (profiler-report-cpu-line-format): Give enough room for
4995 the maximum counters on 64-bit hosts.
4996 (profiler-report-render-calltree-1): Call them "CPU samples",
4997 not "Time (ms)", since they are not milliseconds now (and
5000 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5002 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5003 Fix querying BBDB for entries without a last name (Bug#11580).
5005 2012-10-02 Chong Yidong <cyd@gnu.org>
5007 * emacs-lisp/eieio.el: Restore Version header.
5009 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5011 * vc/diff-mode.el (diff--auto-refine-data): New var.
5012 (diff-hunk): Use it to delay refinement.
5013 (diff-mode): Remove overlays when we turn off font-lock.
5015 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5016 (table-initialize-table-fixed-width-mode)
5017 (table-set-table-fixed-width-mode): Remove functions.
5018 (table-command-list): Move initialization into declaration.
5019 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5020 (table-with-cache-buffer): Use `declare'.
5021 (table-span-cell): Simplify via CSE.
5022 (table-fixed-width-mode): Use define-minor-mode.
5023 (table-call-interactively, table-funcall, table-apply): Remove.
5024 (table-function): New function, to replace them.
5026 * bookmark.el (bookmark-search-pattern): Remove var.
5027 (bookmark-read-search-input): Remove function.
5028 (bookmark-bmenu-search): Reimplement using a minibuffer.
5030 * faces.el (modeline): Remove obsolete face name.
5032 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5033 and give a non-nil default value.
5034 (add-change-log-entry): Simplify accordingly.
5036 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5038 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5039 (vc-git-log-edit-toggle-amend): New function.
5040 (vc-git-log-edit-toggle-signoff): New function.
5041 (vc-git-log-edit-mode): New major mode.
5042 (vc-git-log-edit-mode-map): Keymap for it.
5043 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5045 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5047 (log-edit-toggle-header): New function.
5048 (log-edit-extract-headers): Accept function values in HEADERS alist.
5050 2012-10-01 David Engster <deng@randomsample.de>
5052 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5053 from symbol property and change message to be more consistent with
5055 (eieio-describe-generic): Add filename for each implementation.
5056 Fix indices for generic and normal methods.
5057 (eieio-method-def, eieio-class-def): New buttons.
5058 (eieio-help-find-method-definition)
5059 (eieio-help-find-class-definition): New functions.
5060 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5061 class, constructor and method definitions.
5063 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5064 information in symbol property.
5065 (scoped-class): Remove.
5066 (eieio-slot-name-index, call-next-method): Check if it is bound.
5068 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5070 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5071 (eieio-custom-mode): New major mode.
5072 (eieio-customize-object): Use it.
5074 2012-10-01 Eric Ludlam <zappo@gnu.org>
5076 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5077 specifying the expected class, and whether subclassing is allowed.
5078 (eieio-persistent-convert-list-to-object):
5079 (eieio-persistent-validate/fix-slot-value)
5080 (eieio-persistent-slot-type-is-class-p): New functions.
5081 (eieio-named::slot-missing): Doc fix.
5083 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5084 Stop using unused publd variable.
5086 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5087 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5088 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5089 (eieio-speedbar-handle-click): Do not specify a class for the
5090 method. Fixes method invocation order problems with EDE.
5092 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5095 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5097 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5099 * bookmark.el (bookmark-version-control): Give tags in the
5100 :type choices (Bug#12309), and improve doc string.
5101 (bookmark-write-file): Bind `print-circle' to `t' to allow
5102 circular custom bookmark types. (Bug#12503)
5104 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5106 Revert the FOLLOW-SYMLINKS change for file-attributes.
5107 * files.el (remote-file-name-inhibit-cache, after-find-file):
5108 * time.el (display-time-file-nonempty-p): Undo last change.
5110 * profiler.el (profiler-sampling-interval): Change default back to 1.
5111 See Stefan Monnier in
5112 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5114 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5116 Shell output catching a la gud-gdb.
5117 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5118 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5120 (python-shell-fetch-lines-filter): New function.
5121 (python-shell-send-string-no-output): Use them.
5123 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5125 * profiler.el (profiler-sampling-interval): Rename from
5126 profiler-sample-interval.
5127 (profiler-sampling-interval): Default to 10.
5128 (profiler-find-profile): New command (was profiler-find-log).
5129 (profiler-find-profile-other-window): New command.
5130 (profiler-find-profile-other-frame): New command.
5131 (profiler-profile): Introduce API-level data structure.
5133 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5135 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5136 * files.el (remote-file-name-inhibit-cache):
5137 * time.el (display-time-file-nonempty-p): Use it.
5138 * files.el (after-find-file): Don't chase links before calling
5139 file-exists-p, as file-exists-p already does the right thing.
5141 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5143 Merge from standalone RefTeX repository.
5145 The following ChangeLog entries are shortened versions of the
5146 original ones with file paths adapted. A not so strongly edited
5147 version of the original ChangeLog can be found in the commit log.
5149 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5150 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5151 Correctly handle new value type returned by `reftex-citation'.
5153 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5154 that entries with whitespace at various places are found.
5155 Doc fix. Include entries that are cross-referenced from cited entries.
5156 Include @String definitions in the resulting bib file. Add header
5157 and footer defined in `reftex-create-bibtex-header' and
5158 `reftex-create-bibtex-footer'.
5159 (reftex-do-citation): Make it possible again to insert
5160 non-existent entries. Save match data when asking for optional
5161 arguments. Return all keys, not just the first one.
5162 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5163 all citations in the same line.
5164 (reftex-parse-bibtex-entry): Accept additional optional argument
5165 `raw' and keep quotes or braces if it is non-nil. Match fields
5166 containing hyphens besides word constituents.
5167 (reftex-get-string-refs): New function.
5168 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5169 and ask if it should be reread in case it did.
5170 (reftex-pop-to-bibtex-entry)
5171 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5172 entries with spaces or tabs in front of arguments.
5173 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5174 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5175 Match entries containing numbers and symbol constituents.
5176 (reftex-do-citation, reftex-figure-out-cite-format):
5177 Use `reftex-cite-key-separator'.
5179 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5180 (reftex-mouse-view-crossref): Explain why point is set.
5182 * textmodes/reftex-global.el: Whitespace changes.
5184 * textmodes/reftex-index.el: Move provide statement to end of
5186 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5187 (reftex-index-visit-phrases-buffer): Set marker when visiting
5188 buffer. This allows for returning from the phrases file to the
5189 file one was just editing instead of the file where the last
5190 phrases was added from.
5191 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5192 punctuation syntax as it usually is not used as string quote in
5193 TeX-related modes and may occur unmatched. The change also
5194 prevents fontification of quoted content.
5195 (reftex-index-phrases-mode): Use it.
5197 * textmodes/reftex-parse.el (reftex-parse-from-file):
5198 Move backward one char if a `\' was matched after a section macro.
5199 (reftex-parse-from-file): Use beginning of match instead of end as
5202 * textmodes/reftex-ref.el: Adapt creation of
5203 `reftex-<package>-<macro>' functions to new structure of
5204 `reftex-ref-style-alist'.
5205 (reftex-reference): Use `reftex-ref-style-list' function.
5206 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5207 reference macro if `reftex-ref-macro-prompt' is non-nil.
5208 (reftex-reference): Pass refstyle to `reftex-format-special'.
5209 Determine reference macro by looking at
5210 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5211 Use only one special format function.
5212 (reftex-varioref-vref, reftex-fancyref-fref)
5213 (reftex-fancyref-Fref): Remove definitions. The functions are now
5214 generated from `reftex-ref-style-alist'.
5215 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5217 (reftex-format-special): New function.
5219 * textmodes/reftex-sel.el
5220 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5221 of `reftex-ref-style-alist'. Remove code for testing macro type.
5222 (reftex-select-toggle-varioref)
5223 (reftex-select-toggle-fancyref): Remove.
5224 (reftex-select-cycle-ref-style-internal)
5225 (reftex-select-cycle-ref-style-forward)
5226 (reftex-select-cycle-ref-style-backward): New functions.
5227 (reftex-select-label-map): Use `v' and `V' for general cycling
5228 through reference styles. Add `p' for switching between number
5229 and page reference types.
5231 * textmodes/reftex-toc.el (reftex-re-enlarge):
5232 Call `enlarge-window' only if there is something to do because in Emacs
5233 the horizontal version throws an error even if the parameter is 0.
5235 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5236 (reftex-plug-into-AUCTeX): Doc fix.
5237 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5238 string. Adapt to new name.
5239 (reftex-ref-style-alist): Change structure so that it is not
5240 possible to use multiple different package names within a style.
5241 Remove the symbols for symbols for macro type distinction.
5242 Add characters for macro selection.
5243 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5244 (reftex-create-bibtex-footer): New variables.
5245 (reftex-format-ref-function): Mention third argument of special
5247 (reftex-ref-style-alist, reftex-ref-style-default-list):
5249 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5250 to new implementation. Mark as obsolete. Add compatibility code
5251 for honoring the variable values in case they are set.
5252 (reftex-cite-format-builtin, reftex-bibliography-commands):
5253 Add support for ConTeXt.
5254 (reftex-format-ref-function, reftex-format-cite-function):
5256 (reftex-cite-key-separator): New variable.
5258 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5259 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5260 `reftex-syntax-table' because parens have to retain their paren
5261 syntax in order for parsing of BibTeX entries like @book(...) to
5263 (reftex-in-comment): Do not error out if `comment-start-skip' is
5264 not set. Deal correctly with escaped comment characters.
5265 (reftex-tie-multifile-symbols): Add doc string.
5266 Initialize `reftex-ref-style-list'.
5267 (reftex-untie-multifile-symbols): Add doc string.
5268 (reftex-add-index-macros): Doc fix.
5269 (reftex-ref-style-activate, reftex-ref-style-toggle)
5270 (reftex-ref-style-list): New functions.
5271 (reftex-mode-menu): Use them. Adapt to new structure of
5272 `reftex-ref-style-alist'.
5273 (reftex-select-with-char): Kill the RefTeX Select buffer when
5275 (reftex-remove-if): New function.
5276 (reftex-erase-all-selection-and-index-buffers)
5277 (reftex-mode-menu): Reference styles are now computed from
5278 `reftex-ref-style-alist'. Fix typo.
5279 (reftex-report-bug): New function.
5280 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5281 algorithms with O(n log n). Introduce optional argument SORT (not
5284 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5286 Enhancements for triple-quote string syntax.
5287 * progmodes/python.el (python-syntax-propertize-function):
5288 Match both quote cases in one regexp.
5289 (python-syntax-stringify): Handle matches properly.
5291 2012-09-30 Juri Linkov <juri@jurta.org>
5293 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5294 to nil around the call to `insert' to prevent
5295 directory time modification by lock_file. (Bug#2295)
5296 * tar-mode.el (tar-summarize-buffer): Idem.
5298 2012-09-30 Juri Linkov <juri@jurta.org>
5300 * facemenu.el (list-colors-sort): Add option "Luminance".
5301 (list-colors-sort-key): Implement it.
5303 * vc/diff-mode.el (diff-refine-removed):
5304 * vc/ediff-init.el (ediff-fine-diff-A):
5305 * vc/smerge-mode.el (smerge-refined-removed):
5306 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5308 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5310 * term/ns-win.el (x-file-dialog): New function.
5312 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5314 * ido.el (ido-max-directory-size): Default to nil; the current
5315 default is small for POSIX systems, and impractical on Windows 7
5316 now that lstat returns directory sizes for NTFS.
5318 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5320 In buffer display functions handle window-height/window-width
5321 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5322 * window.el (window--display-buffer): New argument ALIST.
5323 Obey window-height and window-width alist entries.
5324 (window--try-to-split-window): New argument ALIST.
5325 Bind window-combination-limit to t when the window's size shall be
5326 changed and window-combination-limit equals `window-size'.
5327 (display-buffer-in-atom-window)
5328 (display-buffer-in-major-side-window)
5329 (display-buffer-in-side-window, display-buffer-same-window)
5330 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5331 (display-buffer-pop-up-window, display-buffer-below-selected)
5332 (display-buffer-at-bottom, display-buffer-in-previous-window)
5333 (display-buffer-use-some-window): Adjust all callers of
5334 window--display-buffer and window--try-to-split-window.
5335 (fit-frame-to-buffer): New option.
5336 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5338 (display-buffer-in-major-side-window): Evaluate window-height /
5339 window-width alist entries.
5341 * help.el (temp-buffer-resize-frames)
5342 (temp-buffer-resize-regexps): Remove options.
5343 (temp-buffer-resize-mode): Adjust doc-string.
5344 (resize-temp-buffer-window): Don't consult
5345 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5346 temp-buffer-resize-frames.
5348 * dired.el (dired-mark-pop-up):
5349 Call display-buffer-below-selected with a fit-window-to-buffer alist
5352 2012-09-30 Chong Yidong <cyd@gnu.org>
5354 * server.el (server-host): Document the security implications.
5355 (server-auth-key): Doc fix.
5357 * startup.el (initial-buffer-choice): Doc fix.
5359 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5361 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5364 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5366 * help-fns.el (help-fns--obsolete): Fix last change.
5368 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5370 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5371 (minor-mode-map-alist): Remove redundant code.
5373 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5374 visited in a buffer.
5375 (cvs-insert-visited-file): New function.
5376 (find-file-hook): Use it.
5378 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5380 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5382 (log-edit-empty-buffer-p): Don't require a space after a header.
5384 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5386 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5388 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5389 a proper minor-mode.
5391 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5393 2012-09-29 Glenn Morris <rgm@gnu.org>
5395 * winner.el (winner-mode): Remove variable (let define-minor-mode
5397 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5399 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5400 (winner-mode): Use define-minor-mode.
5402 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5403 the full definition in loaddefs, rather than duplicating it.
5405 * help-macro.el (three-step-help): No need to autoload defcustom.
5407 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5408 (inferior-lisp-program, inferior-lisp-load-command)
5409 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5410 No need to autoload defcustoms.
5412 * hippie-exp.el (hippie-expand-try-functions-list)
5413 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5414 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5415 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5416 (hippie-expand-only-buffers): No need to autoload defcustoms.
5417 * progmodes/vhdl-mode.el (vhdl-line-expand):
5418 Explicitly load hippie-exp, so it does not get autoloaded
5419 while hippie-expand-try-functions-list is let-bound.
5421 2012-09-28 Glenn Morris <rgm@gnu.org>
5423 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5425 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5426 Only "cl.el" counts as cl these days.
5428 2012-09-28 Juri Linkov <juri@jurta.org>
5430 Display archive errors in the echo area instead of inserting
5433 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5434 to STDERR-TEST that can be a regexp matching a successful output.
5435 Create a temporary file and redirect stderr to it. Search for
5436 STDERR-TEST in the stderr output and display it in the echo area
5437 if no match is found.
5438 (archive-extract-by-file): New function like
5439 `archive-extract-by-stdout' but extracting archives to files
5440 and looking for successful matches in stdout. Function body is
5441 mostly copied from `archive-rar-extract'.
5442 (archive-rar-extract): Use `archive-extract-by-file'.
5443 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5445 2012-09-28 Leo Liu <sdl.web@gmail.com>
5447 * pcomplete.el (pcomplete-show-completions):
5448 Use minibuffer-message to make pcomplete usable in minibuffer.
5450 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5452 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * type-break.el: Use lexical-binding.
5455 (type-break-mode): Use define-minor-mode.
5457 * emacs-lisp/pcase.el (pcase--mark-used): New.
5458 (pcase--u1): Use it (bug#12512).
5460 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5461 in load-history with the right file name.
5463 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5465 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5466 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5467 (doc-view-get-bounding-box): Make bounding box slicing work for
5468 ODF and DVI documents.
5470 2012-09-28 Glenn Morris <rgm@gnu.org>
5472 * type-break.el (type-break-mode, type-break-interval)
5473 (type-break-good-rest-interval, type-break-keystroke-threshold):
5474 No need to autoload.
5475 (type-break-good-rest-interval, type-break-keystroke-threshold):
5478 2012-09-28 Chong Yidong <cyd@gnu.org>
5480 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5483 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5487 2012-09-27 Glenn Morris <rgm@gnu.org>
5489 * faces.el (x-display-name): Declare (for without-x builds).
5491 * linum.el (linum-format): Don't autoload it. Improve :type.
5493 * progmodes/tcl.el: Don't require outline when compiling.
5494 (outline-regexp, outline-level): Declare.
5495 * textmodes/sgml-mode.el: Don't require outline when compiling.
5496 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5498 * term.el (term-ansi-reset):
5499 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5501 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5502 files for RCS and SCCS. (Bug#9781)
5504 2012-09-27 Chong Yidong <cyd@gnu.org>
5506 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5507 change; value should be t.
5509 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5511 * image-mode.el: Use lexical-binding.
5512 (image-mode-winprops): Use t to stand for the window of
5513 a buffer that's not displayed.
5514 * doc-view.el (doc-view-new-window-function): Handle the new
5516 (doc-view-enlarge): Make it a real nop if the size is not changed.
5517 (doc-view-display): Handle the case where the buffer is not (yet?)
5518 displayed in any window.
5519 (doc-view-saved-settings): New var.
5520 (doc-view-mode): Use it.
5521 (doc-view-fallback-mode): Set it.
5523 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5524 Set lexical-binding.
5525 (minibuffer-eldef-shorten-default): New var.
5526 (minibuffer-default-in-prompt-regexps): Use it for new default.
5527 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5529 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5531 * international/uni-bidi.el:
5532 * international/uni-category.el:
5533 * international/uni-name.el:
5534 * international/uni-numeric.el: Regenerate.
5536 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5537 Stefan Monnier <monnier@iro.umontreal.ca>
5539 * profiler.el: New file.
5541 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5543 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5544 (testcover-reinstrument): Simplify with CSE.
5546 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5548 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5550 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5552 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5553 (verilog-auto-input, verilog-auto-insert-lisp)
5554 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5555 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5556 (verilog-auto-unused, verilog-auto-wire)
5557 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5558 newline. Reported by Andrew Jones.
5559 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5560 Reported by Brad Dobbie.
5561 (verilog-batch-delete-trailing-whitespace):
5562 Create verilog-batch-delete-trailing-whitespace.
5563 Reported by Brad Dobbie.
5564 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5565 parameters from another module. Reported by Dan Katz.
5566 (verilog-auto, verilog-auto-assign-modport)
5567 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5568 AUTOINOUTMODPORT for UVM interface module shell generation.
5569 Reported by Brad Dobbie.
5570 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5572 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5573 Reported by Matt Martin.
5575 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5577 * window.el (window--resize-child-windows): When resizing child
5578 windows proportionally, process them in reverse order to
5579 preserve the "when splitting a window the new one gets the odd
5581 (window--resize-root-window-vertically): When resizing the
5582 minibuffer window try to affect only windows at the bottom of the
5585 2012-09-25 Chong Yidong <cyd@gnu.org>
5587 * subr.el (declare): Doc fix.
5589 * help-fns.el (help-fns--obsolete): Handle macros properly.
5591 2012-09-25 Chong Yidong <cyd@gnu.org>
5593 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5594 this function obsolete.
5596 * calendar/cal-x.el (calendar-two-frame-setup)
5597 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5598 * calendar/calendar.el (american-calendar, european-calendar)
5599 (calendar-for-loop):
5600 * comint.el (comint-dynamic-simple-complete)
5601 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5602 * desktop.el (desktop-load-default):
5603 * dired-x.el (dired-omit-here-always)
5604 (dired-hack-local-variables, dired-default-directory):
5605 * emacs-lisp/derived.el (derived-mode-class):
5606 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5607 * emacs-lock.el (toggle-emacs-lock):
5608 * epa.el (epa-display-verify-result):
5609 * epg.el (epg-sign-keys, epg-start-sign-keys)
5610 (epg-passphrase-callback-function):
5611 * eshell/esh-util.el (eshell-for):
5612 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5613 (eshell-add-to-window-buffer-names):
5614 * files.el (locate-file-completion):
5615 * imenu.el (imenu-example--create-c-index)
5616 (imenu-example--create-lisp-index)
5617 (imenu-example--lisp-extract-index-name)
5618 (imenu-example--name-and-position):
5619 * international/mule-cmds.el (princ-list):
5620 * international/mule-diag.el (decode-codepage-char):
5621 * international/mule-util.el (detect-coding-with-priority):
5622 * iswitchb.el (iswitchb-read-buffer):
5623 * mail/mailalias.el (mail-complete):
5624 * mail/sendmail.el (mail-sent-via):
5625 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5626 (mouse-major-mode-menu):
5627 * password-cache.el (password-read-and-add):
5628 * pcomplete.el (pcomplete-parse-comint-arguments):
5629 * progmodes/sh-script.el (sh-maybe-here-document):
5630 * replace.el (query-replace-regexp-eval):
5631 * savehist.el (savehist-load):
5632 * simple.el (choose-completion-delete-max-match):
5633 * term.el (term-dynamic-simple-complete):
5634 * vc/ediff-init.el (ediff-check-version):
5635 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5636 * vc/vc.el (vc-diff-switches-list):
5637 * view.el (view-return-to-alist-update): Likewise.
5639 * subr.el (eval-next-after-load, makehash, insert-string)
5640 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5642 (mode-line-inverse-video): Variable deleted.
5644 * international/mule-util.el (string-to-sequence): Remove.
5646 * calendar/calendar.el (calendar-version):
5647 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5648 (icalendar-convert-diary-to-ical):
5649 * cus-edit.el (custom-mode):
5650 * ansi-color.el (ansi-color-unfontify-region):
5651 * international/latin1-disp.el (latin1-char-displayable-p):
5652 * progmodes/cwarn.el (turn-on-cwarn-mode):
5653 * progmodes/which-func.el (which-func-update-1):
5654 Use define-obsolete-function-alias.
5656 * net/newst-backend.el (newsticker-cache-filename):
5657 * net/newst-treeview.el (newsticker-groups-filename):
5658 Fix incorrect obsolescence declaration.
5660 * allout.el (allout-passphrase-hint-string): Likewise.
5661 (allout-init): Use a declare form to mark obsolete.
5663 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5664 this applies to functions.
5666 * iswitchb.el (iswitchb-read-buffer): Move code of
5667 iswitchb-define-mode-map here, and delete that obsolete function.
5669 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5670 font-lock-reference-face.
5672 2012-09-25 Glenn Morris <rgm@gnu.org>
5674 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5677 * eshell/em-term.el (eshell-term-name):
5678 Default to term-term-name. (Bug#12485)
5680 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5682 * progmodes/python.el (python-shell-send-buffer): Better handling
5683 of "if __name__ == '__main__':" conditionals when sending the buffer.
5685 2012-09-24 Glenn Morris <rgm@gnu.org>
5687 * eshell/esh-cmd.el (eshell-find-alias-function):
5688 Tighten up file-name regexp. (Bug#12499)
5690 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5692 Enhancements for triple-quote string syntax.
5693 * progmodes/python.el (python-quote-syntax): Remove.
5694 (python-syntax-propertize-function): New value.
5695 (python-syntax-count-quotes, python-syntax-stringify):
5698 2012-09-24 Chong Yidong <cyd@gnu.org>
5700 * mail/supercite.el (sc-version): Remove obsolete function.
5701 (sc-describe): Don't mark as obsolete, since it is bound.
5702 (sc-submit-bug-report): Remove.
5704 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5705 (cvs-commit-buffer-require-final-newline): Remove.
5706 (log-edit-require-final-newline)
5707 (log-edit-changelog-full-paragraphs): Default to t.
5709 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5710 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5711 * vc/vc.el (vc-checkout-carefully): Likewise.
5713 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5714 (emerge-version): Remove.
5716 * progmodes/compile.el (compile-internal): Remove.
5717 (compilation-parse-errors-function): Fix typo.
5719 * international/mule.el (set-char-table-default): Remove.
5720 (set-coding-priority, make-coding-system, generic-char-p)
5721 (charset-list, charset-bytes, charset-id): Use declare to mark
5722 functions as obsolete.
5724 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5725 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5726 * vc/vc-hooks.el (vc-default-registered): Don't use
5727 vc-master-templates.
5729 * font-lock.el (font-lock-reference-face):
5730 Use define-obsolete-variable-alias.
5732 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5733 * calendar/calendar.el (calendar-font-lock-keywords):
5734 * calendar/diary-lib.el (diary-font-lock-keywords)
5735 (diary-fancy-font-lock-keywords):
5736 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5737 * textmodes/reftex-index.el (reftex-insert-index):
5738 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5739 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5740 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5741 * progmodes/prolog.el (prolog-font-lock-keywords):
5742 * progmodes/idlwave.el (idlwave-idl-keywords):
5743 * progmodes/ada-mode.el (ada-font-lock-keywords):
5744 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5746 2012-09-24 Glenn Morris <rgm@gnu.org>
5748 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5750 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5752 * progmodes/python.el (python-indent-line): More consistent cursor
5755 2012-09-23 Stefan Merten <smerten@oekonux.de>
5757 * textmodes/rst.el: Fix compiler warning.
5759 2012-09-23 Roland Winkler <winkler@gnu.org>
5761 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5762 Transcribe also LaTeX hyphenation.
5763 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5764 bibtex-reformat-previous-options.
5766 2012-09-23 Roland Winkler <winkler@gnu.org>
5768 * proced.el (proced-renice-command): New variable.
5769 (proced-marked-processes): New function.
5770 (proced-with-processes-buffer): New macro.
5771 (proced-send-signal): Use them.
5772 (proced-renice): New command bound to r.
5774 2012-09-23 Roland Winkler <winkler@gnu.org>
5776 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5777 ibuffer-saved-filter-groups has one element, shortcut the call of
5778 completing-read. (Bug#12331)
5780 2012-09-23 Chong Yidong <cyd@gnu.org>
5782 * bindings.el (mode-line-toggle-read-only):
5783 * bs.el (bs-toggle-readonly):
5784 * buff-menu.el (Buffer-menu-toggle-read-only):
5785 * dired.el (dired-toggle-read-only):
5786 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5788 2012-09-23 Chong Yidong <cyd@gnu.org>
5790 * image.el (image-type-available-p): Adapt to init-image-library
5793 2012-09-22 Juri Linkov <juri@jurta.org>
5795 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5796 `dired-toggle-read-only'. (Bug#12462)
5798 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5800 * subr.el (temp-output-buffer-show): New function.
5801 (with-output-to-temp-buffer): Call temp-output-buffer-show
5802 instead of internal-temp-output-buffer-show.
5804 2012-09-22 Chong Yidong <cyd@gnu.org>
5806 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5809 * repeat.el (repeat): Doc fix (Bug#12348).
5811 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5814 * simple.el (shell-command-on-region): Doc fix.
5815 (read-only-mode): Doc fix.
5817 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5819 * emacs-lisp/timer.el (run-with-idle-timer)
5820 (timer-activate-when-idle): Warn against reinvoking an idle timer
5821 from within its own timer action. (Bug#12447)
5823 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5825 * cus-start.el (window-combination-limit): Add new optional
5827 * window.el (temp-buffer-window-show)
5828 (window--try-to-split-window): Handle new values of
5829 window-combination-limit (Bug#1806).
5830 (split-window): Test window-combination-limit for t instead of
5832 (display-buffer-at-bottom): New buffer display action function.
5833 * help.el (temp-buffer-resize-regexps): New option.
5834 (temp-buffer-resize-mode): Rewrite doc-string.
5835 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5836 Don't resize reused window. Suggested by Glenn Morris.
5838 2012-09-22 Stefan Merten <smerten@oekonux.de>
5840 * textmodes/rst.el: Revamp section title faces.
5841 (rst-official-version)
5842 (rst-package-emacs-version-alist): Sync with official version
5844 (rst-faces-defaults, rst-set-level-default)
5845 (rst-level-face-max, rst-level-face-base-color)
5846 (rst-level-face-base-light, rst-level-face-format-light)
5847 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5848 (rst-adornment-faces-alist): Match new setup.
5849 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5850 (rst-level-5, rst-level-6): New faces.
5852 2012-09-22 Chong Yidong <cyd@gnu.org>
5854 * simple.el (undo): Handle indirect buffers (Bug#8207).
5856 2012-09-21 Leo Liu <sdl.web@gmail.com>
5858 IDO: Disable match re-ordering for buffer switching.
5859 * ido.el (ido-buffer-disable-smart-matches): New variable.
5860 (ido-set-matches-1): Use it. (Bug#2042)
5862 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5864 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5865 Fix 2011-05-17 change. (Bug#12418)
5867 2012-09-21 Leo Liu <sdl.web@gmail.com>
5869 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5871 2012-09-21 Glenn Morris <rgm@gnu.org>
5873 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5874 Be more robust about locating simple.el.
5876 2012-09-21 Glenn Morris <rgm@gnu.org>
5878 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5880 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5882 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5884 2012-09-20 Juri Linkov <juri@jurta.org>
5886 * replace.el (query-replace-read-from): Use `read-regexp' instead
5887 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5888 (occur-read-primary-args): Use `read-regexp' instead of
5890 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5891 `read-from-minibuffer'.
5892 * isearch.el (isearch-occur): Use `read-regexp' instead of
5894 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5895 `read-from-minibuffer'.
5896 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5897 of `read-string'. (Bug#7567)
5899 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5900 and allow accepting a list of strings prepended to a list of
5901 standard default values. Doc fix. (Bug#12321)
5903 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5905 * replace.el (read-regexp): Don't add ": " when PROMPT already
5906 ends with a colon and space. (Bug#12321)
5908 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5910 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5913 2012-09-20 Stefan Merten <smerten@oekonux.de>
5915 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5916 Fixes feature request bug#11711.
5917 (rst-mode): Create `imenu-create-index-function'.
5918 (rst-get-stripped-line): Delete after refactoring.
5919 (rst-section-tree, rst-section-tree-rec)
5920 (rst-section-tree-point): Refactor and document properly.
5921 (rst-imenu-find-adornments-for-position)
5922 (rst-imenu-convert-cell, rst-imenu-create-index):
5925 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5927 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5928 (macroexp--expand-all): Use it.
5929 (macroexp--funcall-and-return): Remove by folding it into its sole
5930 caller (macroexp--warn-and-return).
5931 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5932 Use macroexp--obsolete-warning.
5934 * calc/calc.el: Fix last change by removing the whole chunk, since it
5935 was only needed back when Calc was not bundled.
5937 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5939 * emacs-lisp/debug.el (debug): Restore assignment to
5940 debugger-old-buffer removed on 2012-09-08.
5942 2012-09-20 Juri Linkov <juri@jurta.org>
5944 * dired-aux.el (dired-diff): Remove (require 'diff) since
5945 `diff-latest-backup-file' is now autoloaded.
5947 2012-09-20 Chong Yidong <cyd@gnu.org>
5949 * vc/diff.el (diff-latest-backup-file): Autoload.
5951 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5953 * calc/calc.el: Remove redundant autoload shape check.
5954 (sel-mode): Don't defvar.
5955 (calc-get-stack-element): Add `sel-mode' arg instead.
5956 (calc-top, calc-top-list): Pass it this additional argument.
5957 * calc/calc-store.el (calc-store-map):
5958 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5959 (calc-map-equation, calc-outer-product, calc-inner-product):
5960 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5962 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5964 2012-09-19 Juri Linkov <juri@jurta.org>
5966 * dired-aux.el (dired-diff): Add (require 'diff) because
5967 `diff-latest-backup-file' is not autoloaded.
5968 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5969 of `dired-get-filename' to t to not report error when there is
5970 no default file on the current line.
5972 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5975 macroexp--eval-if-compile.
5976 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5977 (macroexp--expand-all): Use them (bug#12371).
5979 * doc-view.el (doc-view-guess-paper-size)
5980 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5982 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5984 New feature: set optimal slice from BoundingBox information.
5985 * doc-view.el (doc-view-mode-map): Add keybinding.
5986 (doc-view-menu): Add menu entry.
5987 (doc-view-set-slice): Adapt docstring.
5988 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5989 (doc-view-scale-bounding-box)
5990 (doc-view-set-slice-from-bounding-box): New functions.
5991 (doc-view-paper-sizes): New defvar.
5993 2012-09-19 Glenn Morris <rgm@gnu.org>
5995 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5996 (byte-compile-log-warning): Autoload. (Bug#12371)
5998 * calendar/calendar.el (calendar-american-month-header)
5999 (calendar-european-month-header, calendar-iso-month-header)
6000 (calendar-month-header): New options.
6001 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6002 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6004 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6006 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6008 2012-09-18 Juri Linkov <juri@jurta.org>
6010 * dired-aux.el (dired-diff): Restore original functionality of
6011 getting the default value, but keep new feature of using the
6012 latest existing backup file (`diff-latest-backup-file').
6014 2012-09-18 Juri Linkov <juri@jurta.org>
6016 * dired.el (dired-mark): If the region is active in Transient Mark
6017 mode, mark all files in the active region. Doc fix.
6018 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6019 Doc fix. (Bug#10624)
6021 2012-09-18 Juri Linkov <juri@jurta.org>
6023 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6024 attributes for M-n are pulled from the file at point.
6025 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6026 Suggested by Drew Adams. (Bug#10624)
6028 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6030 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6031 whitespace after "end".
6032 (ruby-do-end-to-brace): Collapse block to one line if it fits
6035 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6037 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6039 (debug): Don't remove debugger window when debugger is expected
6042 2012-09-18 Chong Yidong <cyd@gnu.org>
6044 * custom.el (defface): Doc fix.
6046 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6048 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6050 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6051 to initialize query-on-exit; then test that instead (bug#12288).
6053 2012-09-17 Stefan Merten <smerten@oekonux.de>
6055 * textmodes/rst.el: Add support for `testcover'.
6056 (rst-defcustom-testcover, rst-testcover-add-compose)
6057 (rst-testcover-add-1value): New functions.
6058 (rst-portable-mark-active-p): Replace by `use-region-p'.
6059 (rst-update-section, rst-classify-adornment)
6060 (rst-find-title-line): Mark `1value' forms.
6061 (rst-classify-adornment): Remove superfluous form.
6062 (rst-update-section, rst-get-adornments-around)
6063 (rst-adornment-complete-p, rst-get-next-adornment)
6064 (rst-adjust, rst-promote-region)
6065 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6066 (rst-find-pfx-in-region, rst-section-tree-rec)
6067 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6068 (rst-toc-node, rst-toc, rst-forward-section)
6069 (rst-iterate-leftmost-paragraphs)
6070 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6071 (rst-bullet-list-region)
6072 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6073 (rst-compile-find-conf, rst-compile)
6074 (rst-repeat-last-character): Fix style.
6076 2012-09-17 Chong Yidong <cyd@gnu.org>
6078 * comint.el (comint--complete-file-name-data): Don't add a space
6079 if the status is `sole'; that adds a gratuitous space in the
6080 completion-cycling case (Bug#12092).
6082 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6084 2012-09-17 Richard Stallman <rms@gnu.org>
6086 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6087 only in the mime-shown mode, not in raw mode.
6088 (rmail-mime): Toggle off mime by displaying the message without
6089 mime processing. (Bug#12305)
6091 * mail/rmail.el (rmail-retry-failure):
6092 Turn off mime processing first. (Bug#12037)
6094 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6096 2012-09-17 Chong Yidong <cyd@gnu.org>
6098 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6099 (shell-dynamic-complete-functions): Convert to defcustom.
6100 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6102 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6103 * comint.el (comint-prompt-read-only):
6104 * custom.el (defcustom):
6105 * hi-lock.el (hi-lock-mode):
6106 * ibuffer.el (ibuffer-formats):
6107 * ielm.el (ielm-prompt-read-only):
6108 * novice.el (disable-command):
6109 * saveplace.el (toggle-save-place):
6110 * speedbar.el (speedbar-supported-extension-expressions):
6111 * startup.el (auto-save-list-file-prefix, init-file-user)
6112 (after-init-hook, inhibit-startup-echo-area-message):
6113 * strokes.el (strokes-help):
6114 * time-stamp.el (time-stamp):
6115 * calendar/calendar.el (calendar, diary-file):
6116 * calendar/diary-lib.el (diary-mail-entries, diary)
6117 (diary-list-entries-hook):
6118 * calendar/holidays.el (holidays, calendar-holidays):
6119 * calendar/lunar.el (lunar-phases):
6120 * calendar/solar.el (sunrise-sunset):
6121 * emulation/edt.el (edt-load-keys):
6122 * emulation/viper.el (viper-mode):
6123 * eshell/em-alias.el (eshell-command-aliases-list):
6124 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6125 * international/ogonek.el (ogonek-information):
6126 * net/tramp-cmds.el (tramp-bug):
6127 * net/quickurl.el (quickurl-reread-hook-postfix):
6128 * play/decipher.el (decipher-font-lock-keywords):
6129 * progmodes/cc-styles.el (c-set-style):
6130 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6131 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6132 * progmodes/octave-mod.el (octave-mode):
6133 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6134 * progmodes/verilog-mode.el (verilog-read-defines):
6135 * textmodes/two-column.el (2C-mode): Likewise.
6137 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6139 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6140 that holds many addresses.
6142 2012-09-16 Chong Yidong <cyd@gnu.org>
6144 * align.el (align-areas): Call the indication function with
6145 positions instead of markers for arguments (Bug#12343).
6147 * files.el (parse-colon-path): Use split-string (Bug#12351).
6149 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6150 (display-buffer-function): Mark as obsolete.
6152 * progmodes/compile.el (compilation-parse-errors): Accept list
6153 values similar to font-lock-keywords (Bug#12136).
6154 Suggested by Oleksandr Manzyuk.
6155 (compilation-error-regexp-alist): Doc fix.
6157 2012-09-15 Glenn Morris <rgm@gnu.org>
6159 * version.el (emacs-bzr-version-bzr): New function.
6160 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6162 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6163 checkouts, check the parent dirstate matches the branch.
6164 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6167 * version.el (emacs-bzr-version): Doc fix.
6168 (emacs-bzr-version-dirstate): New function.
6169 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6170 is local try and check that it matches the branch. If not, just
6171 use dirstate information. (Bug#12441)
6173 2012-09-14 Juri Linkov <juri@jurta.org>
6175 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6178 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6182 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6183 Remove obsolete byte-compiler hack that tried to silence some warnings.
6184 (edebug-submit-bug-report): Remove.
6185 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6186 Remove aliases, use the un-prefixed name instead.
6187 (edebug-pop-to-buffer): Consider other frames.
6188 (edebug-original-read):: Make it more obvious that it's always defined.
6189 (edebug--make-form-data-entry, edebug--form-data-name)
6190 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6191 single-dashed name, and implement with cl-defstruct.
6192 (edebug-set-form-data-entry): Use the standard accessors.
6193 (edebug-make-top-form-data-entry): Use push.
6194 (edebug-no-match): Drop useless `funcall'.
6195 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6197 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6198 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6199 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6200 (easy-menu-define, with-custom-print): Remove redundant specs.
6201 (edebug-outside-overriding-local-map)
6202 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6203 (edebug--display): Bind unread-command-events directly to nil rather
6204 than binding it to unread-command-events and later setting it to nil.
6205 (edebug--display): Kill edebug-eval-buffer here...
6206 (edebug--recursive-edit): ...rather than here.
6207 Bind standard-output and standard-input.
6208 (edebug-eval): Check cl-macroexpand-all is fboundp.
6209 (edebug-temp-display-freq-count): Fix last change.
6211 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6212 * subr.el (noreturn, 1value): Add `debug' spec.
6213 * emacs-lisp/advice.el: Require cl-lib.
6214 (ad-copy-tree): Remove, use copy-tree instead.
6215 (ad-dolist): Remove use dolist or cl-dolist instead.
6216 (ad-do-return): Remove, use cl-return instead.
6217 (defadvice): Add `debug' spec.
6219 2012-09-13 Juri Linkov <juri@jurta.org>
6221 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6224 2012-09-13 Glenn Morris <rgm@gnu.org>
6226 * calc/calc.el (math-compose-expr):
6227 * calc/calc-ext.el (math-compose-expr):
6228 * progmodes/cc-defs.el (cl-macroexpand-all):
6229 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6230 (cl-macroexpand-all): Update declarations.
6232 * vc/vc.el: No need to require ediff.
6233 (ediff-load-version-control): Declare.
6234 (ediff-vc-internal): Fix declaration.
6235 (vc-version-ediff): Require ediff.
6237 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6239 Use a more backwards-compatible timer format (Bug#12430).
6240 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6241 being right after USECS, as that better supports old code that
6242 inadvisedly looked directly at the timer vector.
6244 2012-09-13 Kenichi Handa <handa@gnu.org>
6246 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6247 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6248 `coding-priority' property of these language environment.
6250 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6252 Fix glitches caused by addition of psec to timers (Bug#12430).
6253 * image.el (image-animate-timer):
6254 * time.el (display-time-world-timer):
6255 Use timer--function and timer--args rather than raw access to
6258 2012-09-13 Glenn Morris <rgm@gnu.org>
6260 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6261 If not compiling a file, try using load-file-name.
6263 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6267 (edebug-update-eval-list): Use `push'.
6269 * emacs-lisp/edebug.el: Use lexical-binding.
6270 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6271 Mark unused args with underscore.
6272 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6273 (edebug-form-data): Use defvar-local.
6274 (edebug-make-before-and-after-form, edebug-make-after-form):
6276 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6277 Not dynamically scoped any more.
6278 (edebug--enter-trace): Add arguments `function' and `args'.
6279 Rename from edebug-enter-trace.
6280 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6281 (edebug--update-coverage): Add `after-index' and `value' args.
6282 Rename from edebug-update-coverage.
6283 (edebug-slow-after): Call it accordingly.
6284 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6285 edebug-recursive-edit.
6286 (edebug--display): Call it accordingly. Add args `value',
6287 `offset-index', and `arg-mode'. Rename from edebug-display.
6288 (edebug-debugger, edebug): Call it accordingly.
6289 (edebug-eval-display-list): Use dolist.
6291 2012-09-12 Juri Linkov <juri@jurta.org>
6293 * info.el (Info-search): Don't check for isearch-mode and
6294 isearch-regexp before let-binding search-spaces-regexp to
6295 Info-search-whitespace-regexp.
6296 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6297 search-whitespace-regexp if isearch-lax-whitespace or
6298 isearch-regexp-lax-whitespace is non-nil.
6299 (Info-mode): Don't set local variable search-whitespace-regexp.
6300 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6302 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6304 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6305 (debugger-env-macro): Remove support for unread-command-char.
6307 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6308 the temporary map re-appearing on emulation-mode-map-alists.
6310 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6313 * ehelp.el (with-electric-help): Accept functions in
6314 electric-help-form-to-execute.
6315 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6316 And replace unread-command-char -> unread-command-events.
6318 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6320 Sync with Tramp 2.2.6.
6322 * net/tramp.el (tramp-accept-process-output): Don't use
6323 JUST-THIS-ONE in the XEmacs case.
6325 * net/trampver.el: Update release number.
6327 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6329 * emacs-lisp/debug.el (debugger-previous-window-height):
6331 (debug): When debugger-jumping-flag is non-nil try to restore
6332 height of debugger window. (Bug#8789)
6334 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6336 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6337 overriding-local-map and pre/post-command-hook here.
6338 (edebug-recursive-edit): Do it here instead (bug#12345).
6339 (edebug-outside-unread-command-char): Remove all uses of
6340 unread-command-char.
6342 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6343 inhibit-debugger is bound instead.
6345 2012-09-11 Bastien Guerry <bzg@gnu.org>
6347 * subr.el (set-temporary-overlay-map): Add a docstring.
6350 2012-09-11 Bastien Guerry <bzg@gnu.org>
6352 * minibuffer.el (completion-table-subvert): Fix docstring.
6355 2012-09-11 Bastien Guerry <bzg@gnu.org>
6357 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6359 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6361 * progmodes/sql.el: Version 3.1
6362 (sql-db2-escape-newlines): New variable.
6363 (sql-escape-newlines-filter): Use it.
6365 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6367 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6369 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6371 * vc/diff-mode.el (diff-mode-menu):
6372 Bind diff-remove-trailing-whitespace.
6374 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6377 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6378 (emacs-lisp-byte-code-mode): New functions.
6379 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6380 (eval-defun-2): Remove bogus interactive spec.
6381 (lisp-indent-line): Remove redundant whole-exp code, now done in
6382 indent-according-to-mode.
6383 (save-match-data): Remove redundant indent data.
6385 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6388 2012-09-09 Juri Linkov <juri@jurta.org>
6390 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6391 (replace-lax-whitespace, query-replace-regexp)
6392 (query-replace-regexp-eval, replace-regexp): Doc fix.
6393 (perform-replace, replace-highlight): Let-bind
6394 isearch-lax-whitespace to replace-lax-whitespace and
6395 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6397 * isearch.el (isearch-query-replace): Let-bind
6398 replace-lax-whitespace to isearch-lax-whitespace and
6399 replace-regexp-lax-whitespace to
6400 isearch-regexp-lax-whitespace. (Bug#10885)
6402 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6406 2012-09-09 Alan Mackenzie <acm@muc.de>
6408 * progmodes/cc-engine.el (c-state-cache-init):
6409 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6410 (c-record-parse-state-state):
6411 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6413 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6415 * register.el (register-separator): Rename from
6416 separator-register. All uses changed. Doc fix.
6417 (register): Fix version.
6419 2012-09-09 Chong Yidong <cyd@gnu.org>
6421 * replace.el (query-replace-map): Bind four new symbols for
6422 requesting window scrolling.
6424 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6425 query-replace-map (Bug#8948).
6427 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6429 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6430 since they are now in query-replace-map.
6432 * window.el (scroll-other-window-down): Make the arg optional.
6434 2012-09-09 Chong Yidong <cyd@gnu.org>
6436 * files.el (hack-local-variables-confirm): Use quit-window to kill
6437 the *Local Variables* buffer.
6439 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6441 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6442 not just expect to be at its beginning. Adjust callees.
6443 Succeed when do-end block has no space before the pipe character.
6444 (ruby-brace-to-do-end): When the original block is one-liner,
6445 convert to multiline. Reindent the result.
6447 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6449 * register.el (register): New group.
6450 (separator-register): New user option.
6451 (increment-register): Route it to `append-to-register', if
6452 register contains text. Implication is that `C-x r +' can now be
6453 used for appending to a text register (bug#12217).
6454 (append-to-register, prepend-to-register): Add separator based on
6455 `separator-register'.
6457 2012-09-08 Alan Mackenzie <acm@muc.de>
6459 AWK Mode: make auto-newline work when there's "==" in the pattern.
6460 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6462 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6463 Test more rigorously for "=" token.
6465 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6467 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6468 Only fail when reached LIMIT.
6470 2012-09-08 Chong Yidong <cyd@gnu.org>
6472 * dired.el (dired-mode-map): Don't bind M-=.
6474 * dired-aux.el (dired-diff): Use backup file as default.
6476 2012-09-08 Drew Adams <drew.adams@oracle.com>
6478 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6480 2012-09-08 Chong Yidong <cyd@gnu.org>
6482 * subr.el (syntax-after, syntax-class): Doc fix.
6484 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6486 * window.el (display-buffer-in-previous-window): New buffer
6487 display action function.
6489 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6490 (debugger-previous-window): New variable.
6491 (debug): Rewrite using display-buffer-in-previous-window,
6492 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6494 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6496 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6498 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6500 * progmodes/python.el (python-shell-send-string):
6501 When default-directory is remote, create temp file on remote
6503 (python-shell-send-file): When file is remote, pass local view of
6504 file paths to remote Python interpreter. (Bug#12340)
6506 2012-09-07 Chong Yidong <cyd@gnu.org>
6508 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6510 * files.el (after-find-file): Don't fail on a read-only buffer if
6511 require-final-newline is `visit' or `visit-save' (Bug#11156).
6513 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6515 * userlock.el (ask-user-about-supersession-threat):
6516 Use read-char-choice (Bug#12093).
6518 2012-09-07 Chong Yidong <cyd@gnu.org>
6520 * subr.el (buffer-narrowed-p): New function.
6522 * ses.el (ses-widen):
6523 * simple.el (count-words--buffer-message):
6524 * net/browse-url.el (browse-url-of-buffer): Use it.
6526 * simple.el (count-words-region): Don't signal an error if there
6527 is a non-nil prefix arg and the mark is not set.
6529 * help.el (describe-key-briefly): Allow the message to be seen
6530 when invoked from the minibuffer (Bug#7014).
6532 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6534 * progmodes/ruby-mode.el (ruby-end-of-defun)
6535 (ruby-beginning-of-defun): Simplify, allow indentation before
6536 block beginning and end keywords.
6537 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6538 (ruby-end-of-defun): Expect that the point is at the beginning of
6541 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6545 (cl--make-usage-args): Strip _ from argument names.
6547 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6549 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6550 obsolete alias speedbar-key-map.
6551 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6552 (vhdl-index-menu-init): Don't use obsolete variable
6553 font-lock-maximum-size.
6555 2012-09-06 Chong Yidong <cyd@gnu.org>
6557 * frame.el (window-system-version): Mark as obsolete.
6559 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6560 of obsolete variable speedbar-key-map.
6562 2012-09-06 Juri Linkov <juri@jurta.org>
6564 * replace.el (replace-lax-whitespace): New defcustom.
6565 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6566 (replace-string, replace-regexp): Mention it in docstrings.
6567 (perform-replace, replace-highlight): Let-bind
6568 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6569 to the values of replace-lax-whitespace and regexp-flag.
6570 Don't let-bind search-whitespace-regexp. (Bug#10885)
6572 * isearch.el (isearch-query-replace): Let-bind
6573 replace-lax-whitespace instead of let-binding
6574 replace-search-function and replace-re-search-function.
6575 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6576 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6577 (isearch-toggle-symbol): Set isearch-regexp to nil
6578 in isearch-word mode (like in isearch-toggle-word).
6580 2012-09-06 Juri Linkov <juri@jurta.org>
6582 * replace.el (replace-search-function)
6583 (replace-re-search-function): Set default values to nil.
6584 (perform-replace): Let-bind isearch-related variables based on
6585 replace-related values, call `isearch-search-fun' and let-bind
6586 the result to `search-function'. Remove code that sets
6587 `search-function' and `search-string' separately for
6589 (replace-highlight): Add new argument `delimited-flag' and
6590 rename other arguments to the names used in `perform-replace'.
6591 Let-bind `isearch-word' to the argument `delimited-flag'.
6592 (Bug#10885, bug#10887)
6594 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6596 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6597 ruby-beginning-of-indent, simplify, allow all keywords to have
6598 indentation before them.
6599 (ruby-beginning-of-indent): Adjust for above. Search until the
6600 found point is not inside a string or comment.
6601 (ruby-font-lock-keywords): Allow symbols to start with "@"
6602 character, give them higher priority than variables.
6603 (ruby-syntax-propertize-function)
6604 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6605 matchers. Expression expansions are not comments when inside a
6606 string, and there comment syntax status is irrelevant.
6607 (ruby-match-expression-expansion): New function. Check that
6608 expression expansion is inside a string, and it's not escaped.
6609 (ruby-font-lock-keywords): Use it.
6611 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6613 * help.el (temp-buffer-max-height): New default value.
6614 (temp-buffer-resize-frames): New option.
6615 (resize-temp-buffer-window): Optionally resize frame.
6617 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6618 (fit-frame-to-buffer): New function.
6620 2012-09-05 Glenn Morris <rgm@gnu.org>
6622 * emulation/cua-rect.el (cua--init-rectangles):
6623 * textmodes/picture.el (picture-mode-map):
6624 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6625 like forward-char and backward-char. (Bug#12317)
6627 2012-09-05 Leo Liu <sdl.web@gmail.com>
6629 * progmodes/flymake.el (flymake-warning-re): New variable.
6630 (flymake-parse-line): Use it.
6632 2012-09-05 Glenn Morris <rgm@gnu.org>
6634 * calendar/holidays.el (holiday-christian-holidays):
6635 Rename an entry. (Bug#12289)
6637 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6642 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6644 * loadup.el: Load macroexp. Remove hack.
6645 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6646 (macroexp--expand-all): Use it to get better warnings.
6647 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6648 (internal-macroexpand-for-load): New functions.
6649 (macroexp--pending-eager-loads): New var.
6650 (emacs-startup-hook): New hack to replace one in loadup.el.
6651 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6652 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6653 (cl-psetf): Simplify.
6654 (cl-defstruct): Add indent rule.
6656 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6658 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6659 over `user-mail-address' for the SMTP MAIL FROM envelope.
6660 (smtpmail-via-smtp): Ditto.
6662 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6664 * progmodes/ruby-mode.el: Clean up keybindings.
6665 (ruby-mode-map): Don't bind ruby-electric-brace,
6666 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6667 backward-kill-word, reindent-then-newline-and-indent.
6668 (ruby-mark-defun): Remove.
6669 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6670 (ruby-mode): Set local beginning-of-defun-function and
6671 end-of-defun-function values.
6673 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6675 * window.el (temp-buffer-window-setup-hook)
6676 (temp-buffer-window-show-hook): New hooks.
6677 (temp-buffer-window-setup, temp-buffer-window-show)
6678 (with-temp-buffer-window): New functions.
6679 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6680 (special-display-popup-frame): Make sure the window used shows BUFFER.
6682 * help.el (temp-buffer-resize-mode): Fix doc-string.
6683 (resize-temp-buffer-window): New optional argument WINDOW.
6685 * files.el (recover-file, save-buffers-kill-emacs):
6686 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6688 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6690 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6691 remote definition of `default-directory', ensure we can connect.
6693 2012-09-02 Juri Linkov <juri@jurta.org>
6695 Toggle whitespace matching mode with M-s SPC.
6696 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6698 * isearch.el (search-whitespace-regexp): Doc fix.
6699 Remove cons cell customization.
6700 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6701 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6703 (isearch-forward, isearch-forward-regexp): Doc fix.
6704 (isearch-toggle-lax-whitespace): New command.
6705 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6706 (re-search-forward-lax-whitespace)
6707 (re-search-backward-lax-whitespace): New functions.
6708 (isearch-whitespace-regexp): Remove function.
6709 (isearch-query-replace): Let-bind replace-search-function and
6710 replace-re-search-function.
6711 (isearch-occur): Let-bind search-spaces-regexp according to the
6712 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6713 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6714 condition for C-q SPC.
6715 (isearch-search-fun-default): Use new functions mentioned above.
6716 (isearch-search-forward, isearch-search-backward): Remove functions.
6717 (isearch-search): Don't let-bind search-spaces-regexp.
6718 (isearch-lazy-highlight-space-regexp): Remove variable.
6719 (isearch-lazy-highlight-lax-whitespace)
6720 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6721 (isearch-lazy-highlight-new-loop): Use them.
6722 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6724 2012-09-02 Chong Yidong <cyd@gnu.org>
6726 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6728 2012-09-02 Glenn Morris <rgm@gnu.org>
6730 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6732 2012-09-01 Glenn Morris <rgm@gnu.org>
6734 * term.el: Tidy up menu definitions.
6735 (term-mode-map): Use easymenu for In/Out, Complete menus.
6736 (term-pager-break-map): Initialize in the defvar.
6737 (term-terminal-menu, term-signals-menu): Define with easymenu.
6738 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6739 (term-pager-menu): New, extracted from term-process-pager.
6740 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6741 (term-update-mode-line): Propertize line/char and page items.
6742 (term-process-pager): Move keymap initialization elsewhere.
6744 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6746 * window.el (switch-to-prev-buffer): Handle additional values of
6747 BURY-OR-KILL argument. Don't switch in minibuffer window.
6748 (switch-to-next-buffer): Don't switch in minibuffer window.
6749 (quit-restore-window): New function based on quit-window.
6750 Handle additional values of former KILL argument.
6751 (quit-window): Call quit-restore-window with appropriate
6752 interpretation of KILL argument.
6753 (display-buffer-below-selected): New buffer display action
6756 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6758 * minibuffer.el (completion-at-point-functions): Complete docstring
6761 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6763 Better seed support for (random).
6764 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6765 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6766 * play/mpuz.el, play/tetris.el, play/zone.el:
6767 * calc/calc-comb.el (math-init-random-base):
6768 * play/blackbox.el (bb-init-board):
6769 * play/life.el (life):
6770 * server.el (server-use-tcp):
6771 * type-break.el (type-break):
6772 Remove unnecessary call to (random t).
6773 * net/sasl.el (sasl-unique-id-function):
6774 Change (random t) to (random), now that the latter is more random.
6775 * play/life.el (life-initialized): Remove no-longer-needed var.
6777 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6779 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6780 Consider frame's buffer predicate when choosing the buffer.
6783 2012-08-30 Richard Stallman <rms@gnu.org>
6785 * simple.el (special-mode-map): Delete binding for `z'.
6787 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6789 * progmodes/compile.el (compilation-always-kill): Doc fix.
6791 2012-08-30 Chong Yidong <cyd@gnu.org>
6793 * window.el (display-buffer-reuse-frames): Make the obsolescence
6794 message more informative.
6796 2012-08-30 Glenn Morris <rgm@gnu.org>
6798 * paren.el (show-paren-delay):
6799 Add a :set function. Doc fix. (Bug#12297)
6801 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6803 * progmodes/compile.el (compilation-always-kill): New var.
6804 (compilation-start): Use it.
6806 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6808 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6809 * files.el (read-only-mode): Move to simple.el.
6811 * files.el (read-only-mode): New minor mode.
6812 (toggle-read-only): Use it and mark obsolete.
6813 (find-file--read-only):
6814 * vc/vc.el (vc-next-action, vc-checkout):
6815 * vc/vc-cvs.el (vc-cvs-checkout):
6816 * obsolete/vc-mcvs.el (vc-mcvs-update):
6817 * ffap.el (ffap--toggle-read-only): Update callers.
6819 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6821 * eshell/esh-ext.el (eshell-external-command): Do not examine
6822 remote shell scripts.
6823 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6825 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6828 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6830 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6832 2012-08-28 Leo Liu <sdl.web@gmail.com>
6834 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6835 completion-at-point. (Bug#12220)
6837 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6839 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6841 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6844 be buffer-local; add delete-trailing-whitespace (bug#12259).
6846 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6848 * progmodes/hideif.el (hif-compress-define-list):
6849 Fix typo. (Bug#11951)
6851 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6853 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6854 buffer local setting.
6856 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6857 rcirc-encode-coding-system.
6859 2012-08-28 Leo Liu <sdl.web@gmail.com>
6861 * net/rcirc.el (rcirc-split-message): New function.
6862 (rcirc-send-message): Use it. (Bug#12051)
6864 2012-08-28 Juri Linkov <juri@jurta.org>
6866 * info.el (Info-fontify-node): Hide empty lines at the end of
6867 the node. (Bug#12272)
6869 2012-08-27 Drew Adams <drew.adams@oracle.com>
6871 * dired.el (dired-pop-to-buffer): Make window start at beginning
6872 of buffer (Bug#12281).
6874 2012-08-26 Chong Yidong <cyd@gnu.org>
6876 * window.el (special-display-regexps, special-display-frame-alist)
6877 (special-display-buffer-names, special-display-function)
6878 (display-buffer-reuse-frames): Mark as obsolete.
6880 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6882 * help.el (help-print-return-message): Don't treat
6883 display-buffer-reuse-frames specially.
6885 2012-08-26 Chong Yidong <cyd@gnu.org>
6887 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6888 New variable, replacing gdb-frame-parameters.
6889 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6890 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6891 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6892 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6893 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6894 the functions directly with gdb-display-buffer-other-frame-action.
6895 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6896 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6897 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6898 (gdb-display-registers-buffer): Define directly.
6899 (def-gdb-display-buffer): Macro deleted.
6900 (gdb-display-buffer): Remove second and third args, callers don't
6901 use them. Defer to the default display-buffer behavior, apart
6902 from making windows dedicated.
6903 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6905 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6907 * window.el (display-buffer-pop-up-frame): Handle a
6908 pop-up-frame-parameters alist entry.
6909 (display-buffer): Document it.
6911 2012-08-26 Chong Yidong <cyd@gnu.org>
6913 * isearch.el (search-whitespace-regexp): Make string and nil
6914 values apply to both ordinary and regexp search. Allow a cons
6915 cell value to distinguish between the two.
6916 (isearch-whitespace-regexp, isearch-search-forward)
6917 (isearch-search-backward): New functions.
6918 (isearch-occur, isearch-search-fun-default, isearch-search)
6919 (isearch-lazy-highlight-new-loop): Use them.
6920 (isearch-forward, isearch-forward-regexp): Doc fix.
6922 2012-08-26 Chong Yidong <cyd@gnu.org>
6924 * faces.el (help-argument-name): Always inherit from italic
6927 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6929 * window.el (window--even-window-heights): Even heights when
6930 WINDOW and the selected window form a vertical combination.
6931 (display-buffer-use-some-window): Provide that window used gets
6932 sized back by quit-window. (Bug#11880) and (Bug#12091)
6934 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6936 Fix file time stamp problem with bzr and CVS (Bug#12001).
6937 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6938 in the file's time stamp, since the version control system loses
6941 2012-08-22 Juri Linkov <juri@jurta.org>
6943 * info.el (Info-fontify-node): Hide the suffix of the
6944 Info file name in the header line. (Bug#12187)
6946 2012-08-22 Glenn Morris <rgm@gnu.org>
6948 * calendar/cal-tex.el (cal-tex-weekly-common):
6949 Restore leading blank page.
6951 2012-08-22 Le Wang <l26wang@gmail.com>
6953 * misc.el (forward-to-word, backward-to-word): Activate or extend
6954 the region under `shift-select-mode'. (Bug#12231)
6956 2012-08-22 Bastien Guerry <bzg@gnu.org>
6958 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6959 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6960 gives details on why the space is never needed.
6962 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6964 * window.el (walk-window-tree, window-with-parameter):
6965 New optional argument MINIBUF to control whether these functions
6966 should run on the minibuffer window.
6967 (window-at-side-list): Don't operate on minibuffer window.
6968 (window-in-direction): Simplify and rewrite doc-string.
6969 (window--size-ignore): Rename to window--size-ignore-p.
6971 (display-buffer-in-atom-window, window--major-non-side-window)
6972 (window--major-side-window, display-buffer-in-major-side-window)
6973 (delete-side-window, display-buffer-in-side-window):
6975 (window--side-check, window-deletable-p, delete-window)
6976 (delete-other-windows, split-window): Handle side windows and
6977 atomic windows appropriately.
6978 (window--display-buffer): Call display-buffer-record-window also
6979 when the window buffer did not change.
6981 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6983 * help-fns.el (help-fns--key-bindings):
6984 Abbreviate non-symbol remap targets. (Bug#12174)
6986 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6988 * dired.el (dired-mark-remembered): Don't clobber point.
6991 2012-08-22 Glenn Morris <rgm@gnu.org>
6993 * progmodes/bug-reference.el (bug-reference): New custom group.
6994 (bug-reference-bug-regexp): Make it a defcustom.
6996 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6998 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6999 (js-paren-indent-offset, js-square-indent-offset)
7000 (js-curly-indent-offset): Add :safe (Bug#12257).
7002 2012-08-22 Edward O'Connor <hober0@gmail.com>
7004 * json.el (json-key-format): Add error properties.
7005 (json-encode-key): New function.
7006 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7007 Use json-encode-key.
7009 2012-08-22 Glenn Morris <rgm@gnu.org>
7011 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7012 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7013 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7014 Update for above change.
7016 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7018 * cus-face.el (custom-face-attributes): Fix customize type for the
7019 :underline attribute. (Bug#11805)
7021 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7023 * window.el (window-point-1, set-window-point-1): Remove.
7024 (window-in-direction, record-window-buffer)
7025 (set-window-buffer-start-and-point, split-window-below)
7026 (window--state-get-1, display-buffer-record-window):
7027 Replace calls to window-point-1 and set-window-point-1 by calls to
7028 window-point and set-window-point respectively.
7030 2012-08-21 Glenn Morris <rgm@gnu.org>
7032 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7033 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7036 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7037 (cal-tex-shortday): New function.
7038 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7039 (cal-tex-cursor-filofax-daily): Use the above.
7041 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7043 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7044 (cal-tex-cursor-filofax-week): Use them.
7046 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7048 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7049 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7051 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7052 (cal-tex-end-document): Don't rely on buffer name.
7054 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7056 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7057 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7058 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7061 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7062 (cal-tex-cursor-week, cal-tex-cursor-week2)
7063 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7064 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7065 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7066 (cal-tex-insert-preamble, cal-tex-b-document)
7067 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7068 Improve cal-tex-cmd usage.
7070 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7071 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7072 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7073 (cal-tex-weekly-paper): New function.
7074 (cal-tex-cursor-week, cal-tex-cursor-week2)
7075 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7076 (cal-tex-cursor-day): Use it.
7078 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7079 (cal-tex-cursor-filofax-week): Remove leading blank page.
7081 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7082 Add autoload cookie. For now at least, don't use color, since
7083 no other cal-tex function does.
7085 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7086 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7087 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7089 2012-08-21 Juri Linkov <juri@jurta.org>
7091 * info.el (Info-file-attributes): New variable.
7092 (info-insert-file-contents): Add file attributes to
7093 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7094 `Info-toc-nodes' when previous modtime of the Info file is less
7096 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7097 of info.el. (Bug#12230)
7099 2012-08-20 Glenn Morris <rgm@gnu.org>
7101 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7102 * calendar/holidays.el (calendar-holiday-list):
7103 Report errors with display-warning rather than beep'n'sleep.
7105 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7107 * net/tramp.el (tramp-accept-process-output): Accept only output
7108 from PROC. Otherwise, process filters and sentinels might be
7109 confused. (Bug#12145)
7111 2012-08-20 Chong Yidong <cyd@gnu.org>
7113 * descr-text.el (describe-text-properties-1): Use overlays-in to
7114 report on empty overlays (Bug#3322).
7116 2012-08-20 Glenn Morris <rgm@gnu.org>
7118 * mail/rmailout.el (rmail-output-read-file-name):
7119 Trap and report errors in rmail-output-file-alist elements.
7121 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7122 since most non-font-lock faces are not also variables).
7124 2012-08-20 Edward Reingold <reingold@iit.edu>
7126 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7127 New function. (Bug12160)
7129 2012-08-19 Glenn Morris <rgm@gnu.org>
7131 * mail/rmailout.el (rmail-output-read-file-name):
7132 Fix previous change (when the alist is nil or does not match).
7134 2012-08-19 Chong Yidong <cyd@gnu.org>
7136 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7139 2012-08-18 Chong Yidong <cyd@gnu.org>
7141 * simple.el (yank-handled-properties): New defcustom.
7142 (yank-excluded-properties): Add font-lock-face and category.
7145 * subr.el (remove-yank-excluded-properties):
7146 Obey yank-handled-properties. The special handling of font-lock-face
7147 and category is now done this way, instead of being hard-coded.
7148 (insert-for-yank-1): Remove font-lock-face handling.
7149 (yank-handle-font-lock-face-property)
7150 (yank-handle-category-property): New function.
7152 2012-08-17 Glenn Morris <rgm@gnu.org>
7154 * mail/rmailout.el (rmail-output-read-file-name):
7155 Check rmail-output-file-alist against the full message body
7156 in the correct rmail buffer. (Bug#12214)
7158 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7160 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7161 Eliminate superfluous prompt. (Bug#12203)
7163 2012-08-17 Chong Yidong <cyd@gnu.org>
7165 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7166 font spec, set the font directly (Bug#3228).
7168 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7170 * window.el (delete-window): Fix last fix.
7172 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7174 * window.el (window-valid-p): Move to window.c.
7175 (window-child, window-child-count, window-last-child)
7176 (window-normalize-window, window-combined-p)
7177 (window-combinations, window-atom-root, window-min-size)
7178 (window-sizable, window-sizable-p, window-size-fixed-p)
7179 (window-min-delta, window-max-delta, window--resizable)
7180 (window--resizable-p, window-resizable, window-total-size)
7181 (window-full-height-p, window-full-width-p, window-body-size)
7182 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7183 (minimize-window, window-deletable-p, delete-window)
7184 (delete-other-windows, set-window-buffer-start-and-point)
7185 (next-buffer, previous-buffer, split-window, balance-windows-2)
7186 (set-window-text-height, window-buffer-height)
7187 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7188 (truncated-partial-width-window-p): Minor code adjustments.
7189 In doc-strings state whether the argument window has to denote a
7190 live, valid or any window.
7192 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7194 * progmodes/subword.el (subword-forward-function)
7195 (subword-backward-function, subword-forward-regexp)
7196 (subword-backward-regexp): New variables.
7197 (subword-forward, subword-forward-internal, subword-backward-internal):
7198 Use new variables, eg so that different "word" definitions
7199 can be easily used. (Bug#11411)
7201 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7204 for composite selectors.
7205 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7206 operation just because we can't find a previous revision.
7208 2012-08-15 Chong Yidong <cyd@gnu.org>
7210 * frame.el (set-frame-font): Accept font objects.
7212 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7216 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7218 * man.el (Man-overstrike-face, Man-underline-face)
7219 (Man-reverse-face): Remove variables.
7220 (Man-overstrike, Man-underline, Man-reverse): New faces.
7221 (Man-fontify-manpage): Use them instead of the variables.
7222 (Man-cleanup-manpage): Comment change.
7223 (Man-ansi-color-map): New variable.
7224 (Man-fontify-manpage): Use it.
7225 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7227 Implement ANSI SGR parameters 22-27 (bug#12146).
7228 * ansi-color.el (ansi-colors): Doc fix.
7229 (ansi-color-context, ansi-color-context-region): Doc fix.
7230 (ansi-color--find-face): New function.
7231 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7232 Rename the local variable `face' to `codes' since it is now a list of
7233 ansi codes. Doc fix.
7234 (ansi-color-get-face): Remove.
7235 (ansi-color-parse-sequence): New function, derived from
7236 ansi-color-get-face.
7237 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7240 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * subr.el (read-passwd): Allow use from a minibuffer.
7244 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7246 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7247 inside comments and strings as identifiers.
7249 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7250 expression to evaluate. This allows to evaluate expressions with
7251 embedded whitespace.
7252 (gud-tooltip-tips): Add a blank before the newline in the
7253 message-box text, for the benefit of message-box emulation on
7256 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7257 messages from GDB, pop them up in a tooltip to give feedback to
7259 (gdb-tooltip-print-1): Quote the expression to evaluate.
7260 This allows to evaluate expressions with embedded whitespace.
7261 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7262 if the TTY name is nil or empty (which happens when communicating
7263 with the inferior via pipes, e.g. on MS-Windows).
7264 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7265 don't send that to the GUD buffer.
7267 2012-08-14 Glenn Morris <rgm@gnu.org>
7269 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7270 Optimize away setq-default with no args, as for setq. (Bug#12195)
7272 2012-08-14 Chong Yidong <cyd@gnu.org>
7274 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7276 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7279 2012-08-14 Glenn Morris <rgm@gnu.org>
7281 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7283 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7285 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7286 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7287 Use cached shell name.
7289 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7291 * progmodes/python.el (python-shell-send-string):
7292 (python-shell-send-setup-code): Do not use `format' with `message'.
7294 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7296 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7297 (ruby-percent-literal-beg-re): New constant.
7298 (ruby-syntax-general-delimiters-goto-beg): Rename to
7299 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7300 (ruby-syntax-propertize-general-delimiters): Rename to
7301 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7302 popular term. Adjust comments everywhere.
7303 (ruby-syntax-propertize-percent-literal): Only propertize when not
7304 inside a simple string or comment. When the literal is unclosed,
7305 leave the text after it unpropertized.
7306 (ruby-syntax-methods-before-regexp): New constant.
7307 (ruby-syntax-propertize-function): Use it to recognize regexps.
7308 Don't look at the text after regexp, just use the whitelist.
7310 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7312 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7313 non-nil always load the compiled file if it exists. (Bug#12197)
7315 2012-08-14 Chong Yidong <cyd@gnu.org>
7317 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7318 (hi-lock-set-pattern): When deciding whether to use font lock or
7319 overlays, look at font-lock-mode instead of font-lock-fontified
7321 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7322 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7324 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7326 * subr.el (internal--after-with-selected-window): Fix typo
7329 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7331 Use `completion-table-dynamic' for completion functions.
7332 * progmodes/python.el
7333 (python-shell-completion--do-completion-at-point)
7334 (python-shell-completion--get-completions):
7336 (python-shell-completion-complete-at-point): New function.
7337 (python-completion-complete-at-point): Use it.
7339 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7341 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7342 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7344 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * subr.el (function-get): Refine `autoload' arg so it can also
7347 autoload functions for gv.el (bug#12191).
7348 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7351 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7352 Prefer pcase-let over destructuring-bind.
7353 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7354 Also, remove whitespace as we go, rather than after accumulating the
7357 * subr.el (internal--before-with-selected-window)
7358 (internal--after-with-selected-window): Fix typo seleted->selected.
7359 (with-selected-window): Adjust callers.
7360 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7362 2012-08-13 Bastien Guerry <bzg@gnu.org>
7364 * window.el (special-display-popup-frame): Minor docstring
7365 enhancement. (Bug#12172)
7367 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7369 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7371 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7374 * files.el (hack-local-variables-filter): Remove useless eval.
7376 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7378 * subr.el (with-selected-window): Fix last change.
7380 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7382 * subr.el (internal--before-with-seleted-window)
7383 (internal--after-with-seleted-window): New functions.
7384 (with-selected-window): Use them, to replace dependency on
7387 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7389 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7390 binding for `newline'.
7391 (ruby-move-to-block): When moving backward, stop at block opening,
7393 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7394 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7395 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7396 `ruby-toggle-block'.
7398 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * ibuffer.el (ibuffer-do-toggle-read-only):
7401 * dired.el (dired-toggle-read-only):
7402 * buff-menu.el (Buffer-menu-toggle-read-only):
7403 * bindings.el (mode-line-toggle-read-only):
7404 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7406 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7408 * descr-text.el (describe-char): Put the overlays over the
7409 "displayed as" character.
7411 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7413 * calc/calc-units.el (math-default-units-table): Give an
7415 (math-put-default-units): Add options to put composite units and
7416 unit systems in the default units table.
7417 (calc-convert-units): Send composite units to
7418 `math-put-default-units' when appropriate.
7420 2012-08-11 Glenn Morris <rgm@gnu.org>
7422 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7424 * tutorial.el (help-with-tutorial):
7425 * emacs-lisp/copyright.el (copyright-update-directory):
7426 * emacs-lisp/autoload.el (autoload-find-generated-file)
7427 (autoload-find-file): Disable local eval: (for insurance).
7429 * files.el (hack-local-variables-filter): If an eval: form is not
7430 known to be safe, and enable-local-variables is :safe, then ignore
7431 the form totally, as is done for non-eval forms. (Bug#12155)
7432 This is CVE-2012-3479.
7434 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7436 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7437 (rx-form): Simplify.
7439 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7441 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7442 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7443 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7444 (ruby-syntax-propertize-function): Adjust for changes in
7445 `ruby-syntax-propertize-heredoc'.
7447 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7449 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7450 binding (use `M-;' instead).
7451 (ruby-singleton-class-p): New function.
7452 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7454 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7456 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7458 2012-08-10 Chong Yidong <cyd@gnu.org>
7460 * progmodes/python.el (python-shell-get-process-name): Don't mess
7461 with same-window-buffer-names.
7463 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7464 (eshell-remove-from-window-buffer-names): Make obsolete.
7465 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7466 (eshell): Just use pop-to-buffer-same-window instead.
7468 2012-08-10 Chong Yidong <cyd@gnu.org>
7470 * bindings.el: Bind M-= back to count-words-region.
7472 * simple.el (count-words-region): Accept a prefix arg for acting
7473 on the entire buffer.
7474 (count-words--buffer-message): New helper function.
7476 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7479 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7480 (event-start, event-end): Use posn-at-point to return a more
7482 (posnp): New function.
7483 * mouse.el (popup-menu-normalize-position): Use it.
7485 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7487 * mouse.el (popup-menu-normalize-position): New function.
7488 (popup-menu): Use `popup-menu-normalize-position' to normalize
7489 the form for POSITION argument.
7491 * term/x-win.el (x-menu-bar-open):
7492 Use the value returend from (posn-at-point) as position
7493 passed to `popup-menu'.
7495 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7497 * calc/calccomp.el (math-compose-expr): Add extra argument
7498 indicating that parentheses should be put around products in
7499 denominators. Give multiplication precedence over division during
7502 2012-08-09 Chong Yidong <cyd@gnu.org>
7504 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7505 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7506 (Man-untabify-command, manual-program): Convert to defcustom
7509 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7511 * descr-text.el (describe-char): Don't insert extra newlines
7514 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7515 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7517 * align.el (align-region): Delete temporary markers (Bug#10047).
7518 Plus some code cleanups.
7520 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7522 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7523 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7524 (python-shell-internal-last-output): Use make-local-variable
7525 instead of make-variable-buffer-local.
7527 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7529 * progmodes/python.el: Enhancements to forward-sexp.
7530 (python-nav-forward-sexp): Rename from
7531 python-nav-forward-sexp-function.
7532 (python-nav--forward-sexp, python-nav--backward-sexp):
7535 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7537 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7538 modes and simplification modes.
7540 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * delsel.el (delete-selection-pre-hook): Don't propagate the
7543 file-supersession signals (bug#12161).
7545 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7547 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7548 (cl-map-extents): Add compatibility aliases (bug#12135).
7550 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7552 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7553 tests by `ignore-error'.
7554 (tramp-find-shell): Open also a new shell, when cache is already
7555 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7557 2012-08-08 Juri Linkov <juri@jurta.org>
7559 * bookmark.el: Add `defaults' property to the bookmark record.
7560 (bookmark-current-buffer): Doc fix.
7561 (bookmark-make-record): Add `defaults' property with default values
7562 to the bookmark record.
7563 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7564 with `bookmark-insert-current-bookmark'.
7565 (bookmark-set): Get `defaults' property from the bookmark record
7566 and use it in `read-from-minibuffer'.
7567 (bookmark-insert-current-bookmark): Remove function.
7569 * info.el (Info-bookmark-make-record): Add `defaults' property
7570 with values of canonical Info node name, the current Info file
7571 name and the current Info node name. (Bug#12107)
7573 2012-08-08 Juri Linkov <juri@jurta.org>
7575 * files.el (basic-save-buffer): Use `buffer-name' as the default
7576 of `read-file-name' when buffer is not visiting a file (bug#12128).
7578 2012-08-08 Juri Linkov <juri@jurta.org>
7580 * info.el (Info-isearch-search): Doc fix.
7581 (Info-search): Change search-failed message from "initial node" to
7582 "end of node" (bug#12078).
7583 (Info-isearch-search): Change `isearch-string-state' to
7584 `isearch--state-string'.
7586 2012-08-08 Glenn Morris <rgm@gnu.org>
7588 * language/persian.el: Remove file.
7589 * language/misc-lang.el: Move unique part of persian.el here.
7590 * loadup.el: Remove language/persian.
7592 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7594 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7596 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7598 * progmodes/python.el: Fix defsubst warning.
7599 (python-syntax-context) Rename from python-info-ppss-context.
7600 (python-syntax-context-type): Rename from
7601 python-info-ppss-context-type.
7602 (python-syntax-comment-or-string-p): Rename from
7603 python-info-ppss-comment-or-string-p.
7605 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7607 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7609 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7611 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7612 a defcustom that is quoted with backquote.
7614 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7615 Fix handling of interactive spec when the body uses return.
7616 (math-do-arg-check, math-define-function-body): Use backquote forms.
7617 * calc/calc-ext.el (math-defcache): Likewise.
7618 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7619 * allout.el (allout-new-exposure): Likewise.
7620 * calc/calcalg2.el (math-tracing-integral): Likewise.
7621 * info.el (Info-last-menu-item): Likewise.
7622 * emulation/vip.el (vip-loop): Likewise.
7623 * textmodes/artist.el (artist-funcall): Likewise.
7624 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7625 Construct menu-item directly.
7627 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7630 2012-08-07 Chong Yidong <cyd@gnu.org>
7632 * simple.el (deactivate-mark): Preserve text properties when
7633 saving the primary selection (Bug#8384).
7635 2012-08-07 Kevin Ryde <user42@zip.com.au>
7637 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7638 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7639 and continue processing (Bug#12110).
7641 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7644 syntax-propertize-function (bug#10095).
7646 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7649 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7650 describe-function-1.
7651 (describe-function-1): Use them. Move compiler macro after sig.
7652 (help-fns--compiler-macro): Use function-get. Assume we're already in
7653 standard-output. Adjust layout to new call order.
7655 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7656 re-binding a symbol that has a symbol-macro (bug#12119).
7658 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7660 * language/persian.el: New file. (Bug#11812)
7661 * loadup.el: Add language/persian.el.
7663 2012-08-06 Chong Yidong <cyd@gnu.org>
7665 * window.el (window--maybe-raise-frame): New function.
7666 (window--display-buffer): Split off from here.
7667 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7668 (display-buffer-pop-up-window, display-buffer-use-some-window):
7669 Obey an inhibit-switch-frame action alist entry.
7670 (display-buffer): Update doc.
7672 * replace.el (occur-after-change-function): Avoid losing focus by
7673 using the inhibit-switch-frame display parameter (Bug#12139).
7675 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7677 Make internal shell process buffer names start with space.
7678 * progmodes/python.el (python-shell-make-comint): Add optional
7680 (run-python-internal): Use it.
7681 (python-shell-internal-get-or-create-process): Check for new
7682 internal buffer names.
7684 2012-08-06 Glenn Morris <rgm@gnu.org>
7686 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7687 Do less getting and setting of environment variables.
7689 2012-08-05 Chong Yidong <cyd@gnu.org>
7691 * proced.el (proced): Add substitution string to docstring to
7692 trigger autoloading of the proced library on C-h f (Bug#1768).
7694 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7695 Don't show defvars which have no second argument (Bug#8638).
7697 * imenu.el (imenu-generic-expression): Move documentation here
7698 from imenu--generic-function.
7699 (imenu--generic-function): Refer to imenu-generic-expression.
7701 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7703 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7704 indentation declaration.
7705 (viper-loop): Add indentation declaration (Bug#7025).
7707 2012-08-05 Chong Yidong <cyd@gnu.org>
7709 * help-fns.el (describe-variable): Add hyperlink for
7710 directory-local variables files. Improve buffer-local and
7711 permanent-local reporting; suggested by MON KEY (Bug#6644).
7713 * help-mode.el (help-dir-local-var-def): New button type.
7715 * files.el (kill-buffer-hook): Provide a defvar.
7717 2012-08-05 Glenn Morris <rgm@gnu.org>
7719 * eshell/esh-ext.el (eshell/addpath):
7720 Also update eshell-path-env. (Bug#12013)
7722 2012-08-05 Chong Yidong <cyd@gnu.org>
7724 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7726 * fringe.el (fringe-styles): Add docstring.
7727 (fringe--check-mode): New function.
7728 (set-fringe-mode, set-fringe-style): Use it.
7729 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7731 * files.el (set-auto-mode): Fix invalid setq call.
7733 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7735 * isearch.el: Misc simplification; use defstruct.
7736 (isearch-mode-map): Dense maps now work like sparse ones.
7737 (isearch--state): New defstruct.
7738 (isearch-string-state, isearch-message-state, isearch-point-state)
7739 (isearch-success-state, isearch-forward-state)
7740 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7741 (isearch-wrapped-state, isearch-barrier-state)
7742 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7743 replaced by defstruct's accessors.
7744 (isearch--set-state): Rename from isearch-top-state and change
7746 (isearch-push-state): Use new isearch--get-state.
7747 (isearch-toggle-word): Disable regexp when enabling word.
7748 (isearch-message-prefix): Remove unused arg _c-q-hack.
7749 (isearch-message-suffix): Remove unused arg _ellipsis.
7751 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7753 * simple.el (list-processes--refresh): For a server use :host or
7754 :local as the address.
7755 (list-processes): Doc fix.
7757 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7759 * lisp/mpc.el: Support password in host argument.
7760 (mpc--proc-connect): Parse and use new password element.
7761 Set mpc-proc variable instead of returning process.
7762 (mpc-proc): Adjust accordingly.
7764 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7766 * whitespace.el (whitespace-display-mappings): Use Unicode
7767 codepoints, instead of emacs-mule codepoints. See
7768 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7771 * files.el (file-truename): Don't skip symlink-chasing part on
7772 windows-nt. Incorporate the resolution of 8+3 short aliases on
7773 Windows into the loop that recursively chases symlinks.
7774 Compare directory and its parent case-insensitively on MS-Windows and
7777 2012-08-03 Chong Yidong <cyd@gnu.org>
7779 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7781 * sort.el (sort-regexp-fields): Doc fix.
7783 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7785 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7786 labels regex position point at the expected place.
7788 2012-08-03 MON KEY <monkey@sandpframing.com>
7790 * net/imap.el (imap-interactive-login, imap-authenticate)
7791 (imap-mailbox-lsub, imap-mailbox-list)
7792 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7793 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7794 (imap-parse-response): Doc fix.
7796 2012-08-03 João Távora <joaotavora@gmail.com>
7798 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7799 if sexp scanning does not move point (Bug#5734).
7801 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7803 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7804 Add listings, minted, and ctable packages.
7805 (reftex-label-alist-builtin): Move listings, minted, and ctable
7806 entries before LaTeX.
7807 (reftex-label-alist): Docfix.
7809 2012-08-02 Bastien Guerry <bzg@gnu.org>
7811 * replace.el (occur): Fix docstring (bug#12122).
7813 2012-08-02 Glenn Morris <rgm@gnu.org>
7815 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7817 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7819 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7820 * international/mule-cmds.el: Create
7821 inactivate-current-input-method-function as an obsolete alias for
7822 deactivate-current-input-method-function. See Katsumi Yamaoka in
7823 <http://bugs.gnu.org/10150#46>.
7825 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7827 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7830 2012-08-01 Glenn Morris <rgm@gnu.org>
7832 * progmodes/autoconf.el (autoconf-definition-regexp):
7833 Add AH_TEMPLATE, adjust submatch numbering.
7834 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7835 (autoconf-current-defun-function): Update for above change.
7836 (autoconf-current-defun-function): First skip to end of current word.
7838 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7840 * calendar/cal-html.el (cal-html-insert-agenda-days):
7841 Fix typo. (Bug#12018)
7843 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7845 Shell processes: enhancements to startup and CEDET compatibility.
7846 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7847 (python-shell-make-comint): accept-process-output at startup.
7848 (run-python-internal): Set inferior-python-mode-hook to nil.
7849 (python-shell-internal-get-or-create-process): call sit-for.
7850 (python-preoutput-result): Add obsolete alias.
7851 (python-shell-internal-send-string): Use it.
7852 (python-shell-send-setup-code): Remove call to
7853 accept-process-output.
7855 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7857 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7860 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7862 * calc-mode.el (calc-basic-simplification-mode): Rename from
7863 `calc-limited-simplification-mode'.
7864 (calc-alg-simplification-mode): New function.
7865 (calc-set-simplify-mode): Adjust message.
7867 * calc.el (calc-set-mode-line): Adjust mode line display for
7868 basic simplification mode.
7870 * calc-help.el (calc-m-prefix-help): Update help message.
7872 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7873 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7875 2012-07-31 Bastien Guerry <bzg@gnu.org>
7877 * man.el (man): Fix comment. (bug#12101)
7879 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7881 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7882 Don't return a non-nil value when no suitable buffer was found.
7884 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7886 * progmodes/python.el (run-python-internal): Disable font lock for
7889 2012-07-30 Stefan Merten <smerten@oekonux.de>
7891 * textmodes/rst.el: Silence `checkdoc-ispell'.
7892 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7893 (rst-official-version, rst-official-cvs-rev)
7894 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7895 (rst-mode-map): New key binding.
7897 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7899 Update .PHONY listings in makefiles.
7900 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7901 autoloads, update-subdirs, updates, bzr-update, update-authors,
7902 compile-onefile, compile-calc, backup-compiled-files,
7903 compile-after-backup, compile-one-process, mh-autoloads,
7904 bootstrap-clean, distclean, maintainer-clean.
7906 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7908 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7909 (calc-set-mode-line): Don't display "AlgSimp ".
7911 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7912 (calc-lim-simplify-mode): New function.
7913 (calc-set-simplify-mode): Default to 'alg.
7914 (calc-default-simplify-mode): Make algebraic simplifications
7917 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7918 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7920 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7921 indicate new simplification modes.
7923 * calc/README: Mention new default simplification mode.
7925 * calc/calc.el (math-normalize-error): New variable.
7926 (math-normalize): Set `math-normalize-error' to t
7927 when there's an error.
7929 * calc/calc-alg.el (math-simplify): Don't simplify when
7930 `math-normalize' returns an error.
7932 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7934 * international/mule-cmds.el (set-locale-environment): Revert last
7935 change, since display-graphic-p returns nil when this function is
7936 called during startup. Instead...
7938 * term/w32console.el (terminal-init-w32console): ...setup the
7939 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7941 2012-07-29 Juri Linkov <juri@jurta.org>
7943 * simple.el (goto-line): Don't display default line number in the
7944 prompt because it should be displayed by `read-number' (bug#9952).
7945 Add the current line number to the defaults of `goto-line' to
7946 allow its easier modification by users with `M-n' (bug#9201).
7948 * subr.el (read-number): Support multiple default values like in
7949 other minibuffer reading functions. Replace `read' with
7950 `string-to-number' for consistency with `number-to-string'.
7952 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7954 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7955 * emulation/viper-init.el (viper-deactivate-input-method-action):
7956 Rename from viper-inactivate-input-method-action.
7957 (viper-deactivate-input-method):
7958 Rename from viper-inactivate-input-method.
7959 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7960 * international/mule-cmds.el (deactivate-input-method):
7961 Rename from inactivate-input-method.
7962 Also run input-method-deactivate-hook.
7963 (deactivate-current-input-method-function):
7964 Rename from inactivate-current-input-method-function.
7965 (input-method-deactivate-hook): New hook.
7966 (input-method-inactivate-hook): Mark obsolete.
7967 (inactivate-input-method): Mark obsolete.
7969 * international/quail.el (quail-activate):
7970 Also run quail-deactivate-hook.
7971 (quail-deactivate): Rename from quail-inactivate.
7972 * international/robin.el (robin-activate):
7973 Also run robin-deactivate-hook.
7974 (robin-deactivate): Rename from robin-inactivate.
7976 2012-07-29 Chong Yidong <cyd@gnu.org>
7978 * simple.el (indicate-copied-region): New function.
7979 (kill-ring-save): Split off from here.
7981 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7982 (kill-rectangle): Set deactivate-mark to t on read-only error.
7984 * register.el (copy-to-register, copy-rectangle-to-register):
7985 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7986 (append-to-register, prepend-to-register): Call indicate-copied-region.
7988 2012-07-29 Juri Linkov <juri@jurta.org>
7990 * simple.el (async-shell-command-buffer): New defcustom.
7991 (shell-command): Use it. (Bug#4719)
7993 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7995 * international/mule-cmds.el (set-locale-environment): In a
7996 console session on MS-Windows, set up keyboard and terminal
7997 encoding from the OEM codepage, not the ANSI codepage.
8000 2012-07-28 Chong Yidong <cyd@gnu.org>
8002 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8005 2012-07-28 Leo Liu <sdl.web@gmail.com>
8007 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8008 the alist (bug#12029).
8010 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8012 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8013 (compile-always, compile-first)
8014 ($(lisp)/calendar/cal-loaddefs.el)
8015 ($(lisp)/calendar/diary-loaddefs.el)
8016 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8017 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8018 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8019 instead of on update-subdirs.
8020 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8022 2012-07-28 Chong Yidong <cyd@gnu.org>
8024 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8025 directory if vc-deduce-backend returns nil (Bug#7350).
8027 * simple.el (delete-trailing-lines): New option.
8028 (delete-trailing-whitespace): Obey it (Bug#11879).
8030 2012-07-28 David Engster <deng@randomsample.de>
8032 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8033 Explanation of new 'symbol-qnames feature in doc-strings.
8034 (xml-maybe-do-ns): Return expanded names as plain symbols if
8035 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8036 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8038 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8040 Consistent completion in inferior python with emacs -nw.
8041 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8042 binding in inferior-python-mode-map with "\t".
8043 (python-shell-completion-complete-at-point)
8044 (python-completion-complete-at-point): Remove interactive spec.
8046 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8048 * calc/calccomp.el (math-compose-expr): Undo previous change.
8050 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8052 * progmodes/python.el (python-mode-map): Add keybinding for
8054 (python-shell-make-comint): Fix pop-to-buffer call.
8055 (run-python): Autoload. New arg SHOW.
8056 (python-shell-get-or-create-process): Do not pop python process
8059 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8061 * notifications.el (notifications-on-action-signal)
8062 (notifications-on-closed-signal): Use also the bus address for the map.
8063 (notifications-notify, notifications-close-notification)
8064 (notifications-get-capabilities): Add optional argument BUS.
8066 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8068 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8069 Add support for the lstlisting and minted environments, and for the
8071 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8072 labels written in keyvals syntax.
8074 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8076 * calc/calccomp.el (math-compose-expr): Use parentheses when
8077 there is a product in the denominator of a fraction.
8079 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8081 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8082 ($(lisp)/calendar/diary-loaddefs.el)
8083 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8084 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8085 Fixes failures in parallel bootstrap because subdirs.el is being
8086 rewritten while the autoload files are built at the same time,
8087 which needs to load subdirs.el.
8089 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8091 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8092 (mouse-drag-line): Don't exit tracking when a switch-frame or
8093 switch-window event occurs (Bug#12006).
8095 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * mouse.el (popup-menu): Fix last change.
8099 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8101 Autoload from Lisp with more care. Follow aliases when looking for
8102 function properties.
8103 * subr.el (autoloadp): New function.
8104 (symbol-file): Use it.
8105 (function-get): New function.
8106 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8108 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8109 (lisp-indent-function):
8110 * emacs-lisp/gv.el (gv-get):
8111 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8112 * emacs-lisp/byte-opt.el (byte-optimize-form):
8113 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8114 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8116 * emacs-lisp/cl.el: Don't propagate function properties any more.
8118 * speedbar.el (speedbar-add-localized-speedbar-support):
8119 * emacs-lisp/disass.el (disassemble-internal):
8120 * desktop.el (desktop-load-file):
8121 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8122 (describe-function-1):
8123 * emacs-lisp/find-func.el (find-function-noselect):
8124 * emacs-lisp/elp.el (elp-instrument-function):
8125 * emacs-lisp/advice.el (ad-has-proper-definition):
8126 * apropos.el (apropos-safe-documentation, apropos-macrop):
8127 * emacs-lisp/debug.el (debug-on-entry):
8128 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8129 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8130 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8132 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8134 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8135 function, not an obsolete variable (Bug#12046).
8137 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8139 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8141 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8143 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8144 window only if it is still live (Bug#12034).
8146 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8148 * subr.el (redirect-frame-focus): Add advertised calling
8149 convention (Bug#12030).
8151 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8153 Prefer typical American spelling for "acknowledgment".
8154 * vc/add-log.el (change-log-acknowledgment): Rename from
8155 change-log-acknowledgement, with an alias for the old name.
8157 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8159 * calc-alg.el (math-simplify-divide): Don't cross multiply
8160 in an equation when the lhs is a variable.
8162 2012-07-24 Julien Danjou <julien@danjou.info>
8164 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8167 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8169 * startup.el (command-line): Don't display an empty user name in
8170 the error message about non-existent home directory, when
8171 init-file-user was set to an empty string. See
8172 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8173 for the details and context.
8175 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8177 * ses.el (ses-cell-formula-aset): New macro.
8178 (ses-cell-references-aset): New macro.
8179 (ses-cell-p): New function.
8180 (ses-rename-cell): Do no longer rely on complex operations like
8181 ses-cell-set-formula or ses-set-cell to change the cell and handle
8182 the undo at the same time, but rather use lower level new macros
8183 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8184 the undo directly. Refresh the mode line.
8186 2012-07-21 Leo Liu <sdl.web@gmail.com>
8188 * progmodes/cc-cmds.el (c-defun-name):
8189 Use match-string-no-properties instead for consistency.
8191 2012-07-20 Leo Liu <sdl.web@gmail.com>
8193 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8196 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8198 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8200 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8201 * progmodes/bug-reference.el, misearch.el: Provide themselves
8204 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8205 of narrowed buffer (bug#11966).
8207 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8209 * ses.el (ses-rename-cell): Set new name also in reference list of
8210 cells of which the renamed cell depends.
8212 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8214 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8215 to check whether menu-bar is shown or not. If not shown,
8216 show the menu-bar as a popup menu instead of using tmm.
8217 * mouse.el (popup-menu): Accept `point' as `position' argument.
8219 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8221 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8222 up inside string symbol literal (bug#11923).
8224 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8226 * startup.el (fancy-startup-text): Read the whole tutorial, not
8227 just its first 256 bytes. Prevents gibberish in display of the
8230 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8232 Drop idle buffer compaction due to an absence of the
8234 * compact.el: Remove.
8236 2012-07-19 Sam Steingold <sds@gnu.org>
8238 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8239 vc-bzr-pull & vc-bzr-merge-branch.
8240 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8241 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8242 for consistency with compilation-error-regexp-alist.
8243 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8244 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8245 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8246 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8248 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8250 * emacs-lisp/chart.el: Use lexical-binding.
8251 (chart-emacs-storage): Don't hardcode the list of entries.
8253 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8255 Next round of tweaks caused by Fgarbage_collect changes.
8256 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8258 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8260 Compact buffers when idle.
8261 * compact.el: New file.
8263 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * subr.el (eventp): Presume that if it looks vaguely like an event,
8266 it's an event (bug#10190).
8268 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8270 Enhancements to ppss related code (thanks Stefan).
8271 * progmodes/python.el (python-indent-context)
8272 (python-indent-calculate-indentation, python-indent-dedent-line)
8273 (python-indent-electric-colon, python-nav-forward-block)
8274 (python-mode-abbrev-table)
8275 (python-info-assignment-continuation-line-p): Simplify checks
8277 (python-info-continuation-line-p): Cleanup.
8278 (python-info-ppss-context): Do not catch 'quote.
8279 (python-info-ppss-context-type)
8280 (python-info-ppss-comment-or-string-p): Simplify.
8282 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8284 * progmodes/python.el: Enhancements to eldoc support.
8285 (python-info-current-symbol): New function.
8286 (python-eldoc-at-point): Use python-info-current-symbol.
8287 (python-info-current-defun): Fix cornercase on first defun scan.
8288 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8289 and signal error when no inferior python process is available.
8291 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8293 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8294 assume it's always t.
8295 (vc-git-registered): Remove caching, the function is only called
8297 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8299 2012-07-18 Chong Yidong <cyd@gnu.org>
8301 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8303 * simple.el (count-words): Report on narrowing (Bug#9959).
8305 * bindings.el: Bind M-= to count-words.
8307 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8309 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8311 * progmodes/sh-script.el (sh-imenu-generic-expression):
8312 Capture a function with `function' keyword and without parentheses
8313 like "function FOO" (bug#11856).
8315 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8317 * window.el (split-window-sensibly): Make WINDOW argument
8320 2012-07-18 Chong Yidong <cyd@gnu.org>
8322 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8324 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8325 and make C-x 8 RET exit isearch (Bug#11439).
8327 * international/iso-transl.el: Move isearch-mode-map key
8328 definitions to isearch.el.
8330 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8333 (eieio-defclass): Use gv-define-setter when possible.
8335 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8337 Reflect recent changes in Fgarbage_collect.
8338 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8339 reflect new format of data returned by Fgarbage_collect.
8341 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8343 New utility functions + python-info-ppss-context fix (Bug#11910).
8344 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8345 (python-info-ppss-comment-or-string-p): New functions.
8346 (python-info-ppss-context): Small fix for string check.
8348 2012-07-17 Juri Linkov <juri@jurta.org>
8350 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8351 (dired-do-async-shell-command): Don't add `*' at the end of the
8352 command (Bug#11815).
8353 (dired-do-shell-command): Doc fix.
8354 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8355 Join the individual commands using either "&" or ";" as the
8356 separator depending on the values of these trailing characters.
8357 At the end re-add the trailing "&". (Bug#10598)
8359 * simple.el (async-shell-command): Sync the interactive spec with
8360 `shell-command'. Doc fix.
8361 (shell-command): Doc fix.
8363 2012-07-17 Juri Linkov <juri@jurta.org>
8365 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8367 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8369 Final renames and doc fixes for movement commands (bug#11899).
8370 * progmodes/python.el (python-nav-beginning-of-statement):
8371 Rename from python-nav-statement-start.
8372 (python-nav-end-of-statement): Rename from
8373 python-nav-statement-end.
8374 (python-nav-beginning-of-block): Rename from
8375 python-nav-block-start.
8376 (python-nav-end-of-block): Rename from python-nav-block-end.
8378 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8380 * progmodes/python.el (python-shell-send-string-no-output):
8381 Allow accept-process-output to quit, keeping shell process ready for
8382 future interactions (Bug#11868).
8384 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8386 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8388 * emacs-lisp/elint.el (elint-find-args-in-code):
8389 Use help-function-arglist, so as to handle lexical byte-code.
8391 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8394 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8396 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8397 Avoid spuriously marking the buffer as modified because of c-is-sws.
8399 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8400 as not-a-comment (bug#11946).
8402 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8403 for uninterned vars.
8405 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8406 Use read-event since we don't really want to read chars but bytes.
8408 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8409 $$..$$ but also $..$ using regexps (bug#11953).
8410 Use tex-verbatim for \url and \path.
8411 (tex-font-lock-keywords): Define as defconst like the others.
8412 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8414 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8416 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8417 alias for insert-char.
8419 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8421 * progmodes/python.el: Simplified imenu implementation.
8422 (python-nav-jump-to-defun): Remove command.
8423 (python-mode-map): Use `imenu' instead.
8424 (python-nav-list-defun-positions-cache)
8425 (python-imenu-include-defun-type, python-imenu-make-tree)
8426 (python-imenu-subtree-root-label, python-imenu-index-alist):
8428 (python-nav-list-defun-positions, python-nav-read-defun)
8429 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8430 (python-imenu-make-tree, python-imenu-create-index):
8432 (python-mode): Update to interact with imenu by setting
8433 `imenu-extract-index-name-function' only.
8435 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8437 * progmodes/python.el: Enhancements to navigation commands.
8438 (python-nav-backward-sentence)
8439 (python-nav-forward-sentence): Remove.
8440 (python-nav-backward-statement, python-nav-forward-statement)
8441 (python-nav-statement-start, python-nav-statement-end)
8442 (python-nav-backward-block, python-nav-forward-block)
8443 (python-nav-block-start, python-nav-block-end)
8444 (python-nav-forward-sexp-function)
8445 (python-info-current-line-comment-p)
8446 (python-info-current-line-empty-p): New functions.
8447 (python-indent-context): Use `python-nav-statement-start'.
8449 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8451 * eshell/em-ls.el (eshell/ls): Use `apply'.
8453 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8454 multi-hops, instead of Tramp internals.
8456 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8458 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8459 when F1 and F2 are located on different hosts.
8461 2012-07-14 Chong Yidong <cyd@gnu.org>
8463 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8464 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8465 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8466 (xterm-mouse--read-event-sequence-1000)
8467 (xterm-mouse--read-event-sequence-1006): New functions. For old
8468 mouse protocol, handle M-mouse-X events correctly.
8469 (xterm-mouse-event): New arg specifying mouse protocol.
8470 (turn-on-xterm-mouse-tracking-on-terminal)
8471 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8472 sequence to toggle extended coordinates on newer XTerms.
8473 This appears to be harmless on terminals which do not support this.
8475 2012-07-14 Leo Liu <sdl.web@gmail.com>
8477 Add fringe bitmap indicators for flymake. (Bug#11253)
8478 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8479 (flymake-make-overlay): New arg BITMAP.
8480 (flymake-error-bitmap, flymake-warning-bitmap)
8481 (flymake-fringe-indicator-position): New user variables.
8483 * fringe.el: New bitmap exclamation-mark.
8485 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8487 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8490 2012-07-14 Chong Yidong <cyd@gnu.org>
8492 * electric.el (electric-pair-post-self-insert-function): Fix pair
8493 insertion in empty-region case (Bug#11520).
8495 2012-07-14 Chong Yidong <cyd@gnu.org>
8497 * bindings.el: Consolidate ctl-x-r-map bindings.
8498 Bind copy-rectangle-as-kill to C-x r w.
8500 * rect.el, register.el: Move bindings to bindings.el.
8502 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8504 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8506 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8508 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8510 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8512 * bindings.el (top): Use `mapc' instead of `mapcar'.
8514 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8516 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8518 * progmodes/sql.el (sql-comint): Suppress the check for program on
8519 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8522 2012-07-13 Chong Yidong <cyd@gnu.org>
8524 * bindings.el: Assign a non-nil permanent-local property to
8525 per-buffer variables which lack a default value (Bug#11930).
8527 * help-fns.el (describe-variable): In the "automatically becomes
8528 local" notice, take note of permanent-local variables.
8530 2012-07-13 Chong Yidong <cyd@gnu.org>
8532 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8533 to allow printing the message when called from Lisp.
8535 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8536 Remove toggle-read-only.
8538 * bs.el (bs-toggle-readonly):
8539 * buff-menu.el (Buffer-menu-toggle-read-only):
8540 Remove with-no-warnings around toggle-read-only.
8542 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8543 Remove with-no-warnings around toggle-read-only.
8544 (ffap-read-only, ffap-read-only-other-window)
8545 (ffap-read-only-other-frame): Callers changed.
8547 * help-mode.el: Don't require view package.
8548 (help-mode-finish): Set buffer-read-only instead of calling
8551 * bindings.el (mode-line-toggle-read-only):
8552 * dired.el (dired-toggle-read-only):
8553 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8554 with non-nil second arg.
8556 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8557 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8560 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8562 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8565 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8567 More CL cleanups and reduction of use of cl.el.
8568 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8569 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8570 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8571 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8572 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8573 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8574 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8575 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8576 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8577 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8578 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8579 * eshell/em-cmpl.el, eshell/em-banner.el:
8580 * calendar/parse-time.el: Use cl-lib.
8581 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8582 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8583 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8584 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8585 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8586 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8587 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8588 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8589 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8590 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8591 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8592 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8593 `lambda' rather than with `quote'.
8594 (eshell-do-opt): Adjust accordingly.
8595 (eshell-process-option): Simplify.
8596 * eshell/esh-var.el:
8597 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8598 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8599 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8600 to `pcase--dontcare'.
8601 * emacs-lisp/cl.el (labels): Mark obsolete.
8602 (cl--letf, letf): Move to cl-lib.
8603 (cl--letf*, letf*): Remove.
8604 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8605 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8606 (cl-progv): Rewrite.
8607 (cl--letf, cl-letf): Move from cl.el.
8608 (cl-letf*): New macro.
8609 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8611 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8613 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8615 2012-07-11 Chong Yidong <cyd@gnu.org>
8617 * vc/log-edit.el (log-edit-vc-backend): New variable.
8618 (log-edit): Doc fix.
8620 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8621 argument of log-edit to set up all local variables.
8622 (vc-start-logentry): New optional arg specifying VC backend.
8624 * vc/vc.el (vc-checkin): Use it.
8625 (vc-deduce-fileset): Handle Log Edit buffers.
8626 (vc-diff): Make first argument optional too.
8628 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8630 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8632 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8633 command, just in case. The function is not needed anymore.
8634 (eshell-external-command): Do not call `eshell-remote-command'.
8636 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8638 Reduce use of (require 'cl).
8639 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8640 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8641 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8642 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8643 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8644 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8645 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8646 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8647 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8648 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8649 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8650 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8651 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8652 (byte-compile-unfold-bcf, byte-compile-check-variable):
8653 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8654 (byte-compile-nilconstp):
8655 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8656 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8658 * emacs-lisp/gv.el (cond): Make it a valid place.
8659 (if): Simplify slightly.
8661 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8662 (pcase--self-quoting-p): New function.
8663 (pcase--u1): Use it.
8665 2012-07-10 Glenn Morris <rgm@gnu.org>
8667 * emacs-lisp/authors.el (authors-fixed-entries):
8668 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8670 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8672 Rename configure.in to configure.ac (Bug#11603).
8673 * emacs-lisp/authors.el (authors-canonical-file-name):
8674 * progmodes/autoconf.el (autoconf-mode):
8675 Prefer configure.ac to configure.in.
8677 2012-07-08 Chong Yidong <cyd@gnu.org>
8679 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8680 Implement the mouse-1-click-follows-link handling properly.
8682 * info.el (Info-link-keymap): Use follow-link mechanism for
8683 header-line links (Bug#374).
8685 * simple.el (deactivate-mark): Do not set the primary selection
8686 if another program has acquired it (Bug#11772).
8688 2012-07-07 Kevin Ryde <user42@zip.com.au>
8690 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8691 (woman-decode-region): Replace escaped-escapes without destroying
8692 bold or underline (Bug#11552).
8693 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8695 2012-07-07 Chong Yidong <cyd@gnu.org>
8697 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8698 (interprogram-cut-function, interprogram-paste-function):
8699 Mention that we typically mean the clipboard.
8701 2012-07-06 Glenn Morris <rgm@gnu.org>
8703 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8705 * files.el (toggle-read-only): Restrict message to interactive use.
8707 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8709 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8711 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8713 2012-07-06 Glenn Morris <rgm@gnu.org>
8715 * Makefile.in (compile-one-process): Rename from "recompile".
8717 * Makefile.in (bzr-update): "compile" is the same as "recompile
8718 autoloads", but parallelizable, so use that instead.
8720 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8722 * window.el (quit-window): Always restore window height when
8723 it's saved in quit-restore parameter (Bug#11810).
8725 2012-07-06 Glenn Morris <rgm@gnu.org>
8727 * simple.el (kill-whole-line): Doc tweak.
8729 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8731 * files.el (file-relative-name): Compare file names
8732 case-insensitively if on MS-Windows or MS-DOS, or if
8733 read-file-name-completion-ignore-case is non-nil. Don't use
8734 case-fold-search for this purpose. (Bug#11827)
8736 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8738 * calendar/cal-dst.el (calendar-current-time-zone):
8739 Return calendar-current-time-zone-cache if non-nil.
8741 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8742 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8744 * calendar/cal-dst.el (calendar-current-time-zone):
8745 Return calendar-current-time-zone-cache if non-nil.
8747 2012-07-06 Glenn Morris <rgm@gnu.org>
8749 * Makefile.in (cvs-update): Remove old alias.
8751 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8753 Sync with Tramp 2.2.6-pre.
8755 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8756 compatible declaration.
8758 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8759 Protect `list-load-path-shadows' call.
8761 * net/tramp-compat.el (top): Require packages, which aren't
8762 autoloaded anymore for XEmacs. Protect call of
8763 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8764 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8765 it hurts at least for SXEmacs.
8766 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8767 standard-value for `temporary-file-directory'.
8769 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8770 Redirect stderr to /dev/null.
8771 (tramp-sh-handle-write-region): uid and gid can be floats.
8772 Reported by Russell Sim <russell.sim@gmail.com>.
8773 (tramp-sh-handle-vc-registered): Hide errors.
8774 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8775 and `start-file-process'.
8776 (tramp-maybe-open-connection): Check also whether `non-essential'
8779 2012-07-04 Chong Yidong <cyd@gnu.org>
8781 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8782 (xml-parse-tag): Likewise, and avoid changing entity tables.
8783 (xml-syntax-table): Define from scratch, making sure not to give
8784 x2000 and other Unicode spaces whitespace syntax, since those are
8786 (xml-parse-fragment): Delete unused function.
8787 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8788 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8789 (xml-entity-ref, xml-pe-reference-re)
8790 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8791 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8792 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8793 (xml-entity-value-re): Use syntax references in regexps where
8794 possible; no need to define inside a let-binding.
8795 (xml-parse-dtd): Use xml-pe-reference-re.
8796 (xml-entity-or-char-ref-re): New defconst.
8797 (xml-parse-string, xml-substitute-special): Use it.
8799 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8802 (find-file--read-only): New function.
8803 (find-file-read-only, find-file-read-only-other-window)
8804 (find-file-read-only-other-frame): Use it.
8805 (insert-file-contents-literally): Don't `fset'.
8806 (get-free-disk-space): Use locate-dominating-file.
8808 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8809 function is already compiled.
8811 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8813 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8815 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8816 files on the same host.
8818 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8820 * help-fns.el (describe-function-1): Only call
8821 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8823 2012-07-03 Chong Yidong <cyd@gnu.org>
8825 * xml.el: Protect parser against XML bombs.
8826 (xml-entity-expansion-limit): New variable.
8827 (xml-parse-string, xml-substitute-special): Use it.
8828 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8830 2012-07-03 Glenn Morris <rgm@gnu.org>
8832 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8833 Allow linking to specific messages in debbugs reports (eg 123#5).
8835 2012-07-02 Chong Yidong <cyd@gnu.org>
8837 * xml.el: Fix entity and character reference expansion, allowing
8838 them to expand into markup as per XML spec.
8839 (xml-default-ns): New variable.
8840 (xml-entity-alist): Use XML spec definitions for lt and amp.
8841 (xml-parse-region): Make first two arguments optional.
8842 Discard text properties.
8843 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8844 All callers changed.
8845 (xml-parse-tag): Call xml-parse-tag-1. For backward
8846 compatibility, this function should not modify buffer contents.
8847 (xml-parse-tag-1): Fix opening-tag regexp.
8848 (xml-parse-string): Rewrite, handling entity and character
8849 references properly.
8850 (xml--entity-replacement-text): Signal an error if a parameter
8851 entity is undefined.
8853 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8855 * comint.el (comint-output-filter): Filter out repeated prompts.
8857 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8858 and file-name-absolute-p.
8859 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8862 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8865 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8866 Rename from byte-compile--refiy-function. All uses changed.
8868 2012-07-01 Chong Yidong <cyd@gnu.org>
8870 * xml.el (xml--parse-buffer): New function. Move most of
8871 xml-parse-region here.
8872 (xml-parse-region): Copy region into a temporary buffer, since
8873 parameter entity substitution requires changing buffer contents.
8874 Use xml--parse-buffer.
8875 (xml-parse-file): Use xml--parse-buffer.
8876 (xml-parse-dtd): Make parameter entity substitution work right.
8877 Use proper regexps for ELEMENT declarations (Bug#7172).
8879 2012-06-30 Glenn Morris <rgm@gnu.org>
8881 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8883 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8884 Remove outdated and unnecessary dbus declarations.
8886 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8888 * emacs-lisp/timer.el (timer-until): Subtract results of
8889 float-time, instead of taking float-time of the result of
8890 time-subtract, since float-time signals an error for negative time
8893 2012-06-30 Chong Yidong <cyd@gnu.org>
8895 * xml.el (xml-*-re): Convert defvars into defconsts, and
8896 eval-and-compile them so eval-and-compile works on derivatives.
8897 (xml--entity-replacement-text): Use eval-and-comple.
8899 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8901 * vc/vc-git.el (vc-git-registered): Use cache property
8903 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8904 `vc-git-working-revision' in order to benefit from the cache.
8905 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8907 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8909 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8910 removed (likely outside Emacs). (Bug#11757)
8912 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * emacs-lisp/cl-lib.el: Require macroexp.
8916 2012-06-30 Chong Yidong <cyd@gnu.org>
8918 * xml.el: Implement XML parameter entities.
8919 (xml-parameter-entity-alist): New variable.
8920 (xml-parse-region, xml-parse-fragment): Preserve previous values
8921 of xml-entity-alist and xml-parameter-entity-alist, so that
8922 repeated calls on different documents do not change them.
8923 (xml-parse-tag): Fix doctype regexp.
8924 (xml--entity-replacement-text): New function.
8925 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8926 properly requires url retrieval which is unimplemented.
8927 (xml-escape-string): Doc fix.
8929 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8933 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8935 * fringe.el (fringe-mode): Doc fix.
8937 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8939 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8941 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8942 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8944 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8946 * calendar/cal-dst.el (calendar-current-time-zone):
8947 Return calendar-current-time-zone-cache if non-nil.
8949 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8951 * progmodes/which-func.el (which-func-format):
8952 Add mouse-face. (Bug#11698)
8954 2012-06-29 Leo Liu <sdl.web@gmail.com>
8956 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8958 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * minibuffer.el (minibuffer-confirm-exit-commands):
8961 Add completion-at-point (bug#11725).
8963 2012-06-29 Glenn Morris <rgm@gnu.org>
8965 * progmodes/f90.el (f90-font-lock-keywords-2):
8966 Add some preprocessor elements. (Bug#10499)
8968 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8971 Use syntax-propertize (bug#11739).
8973 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8975 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8977 2012-06-28 Julien Danjou <julien@danjou.info>
8979 * term.el (term-handle-colors-array): Use a set of new faces to
8980 color the terminal. Also uses :inverse-video property.
8981 (term-default-fg-color): Set to nil by default, deprecate in favor
8983 (term-default-bg-color): Set to nil by default, deprecate in favor
8985 (term-current-face): Use `term-face' by default.
8986 (term-bold-attribute): Variable deleted.
8988 2012-06-28 Glenn Morris <rgm@gnu.org>
8990 * simple.el (completion-list-mode-finish):
8991 Don't use toggle-read-only. (Since completion-list-mode has
8992 a special mode-class, it wasn't doing anything extra anyway.)
8994 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8996 Make inlining of other-mode interpreted functions work (bug#11799).
8997 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8998 (byte-compile): Use it to fix compilation of lexical-binding closures.
8999 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9000 function, if needed.
9002 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9004 * help-mode.el (help-make-xrefs): Don't just withstand
9005 cyclic-variable-indirection but any error in documentation-property.
9007 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9009 * bindings.el (bindings--define-key): New function.
9010 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9011 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9012 * bindings.el: Use it to purecopy define-key bindings.
9014 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9016 * emacs-lisp/cl.el (flet): Mark obsolete.
9017 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9018 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9019 * progmodes/js.el (js-c-fill-paragraph):
9020 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9021 (ebrowse-switch-member-buffer-to-derived-class):
9022 * play/5x5.el (5x5-solver): Use cl-flet.
9024 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9025 (cl--symbol-function): New macro.
9026 (cl--letf, cl--letf*): Use it.
9028 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9029 Strip "toggle-" if any.
9031 2012-06-27 Glenn Morris <rgm@gnu.org>
9033 * info.el (Info-default-directory-list): Move here from paths.el.
9034 * paths.el: Remove file, which is now empty.
9035 * loadup.el: No longer load "paths".
9037 * custom.el (custom-initialize-delay): Doc fix.
9039 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9040 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9041 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9042 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9043 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9044 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9045 * eshell/eshell.el (eshell-defgroup): Remove alias.
9047 2012-06-27 Chong Yidong <cyd@gnu.org>
9049 * help.el (help-enable-auto-load): New variable.
9051 * help-fns.el (help-fns--autoloaded-p): New function.
9052 (describe-function-1): Refer to a function as "autoloaded" if it
9053 was autoloaded at any time in the past. Perform autoloading if
9054 help-enable-auto-load is non-nil.
9056 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9058 * makefile.w32-in (compile, compile-always): Depend on
9059 update-subdirs, not on subdirs.el. Otherwise, several different
9060 sub-targets of 'bootstrap' running in parallel could
9061 simultaneously write to subdirs.el, producing a garbled file.
9063 2012-06-26 Sam Steingold <sds@gnu.org>
9065 * files.el (file-name-base): New convenience function.
9066 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9067 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9068 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9069 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9070 * textmodes/ispell.el, textmodes/reftex-ref.el:
9071 * textmodes/tex-mode.el: Use it.
9072 Did not touch cedet and org because they are maintained elsewhere.
9074 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9076 * calendar/calendar.el (calendar-exit): Don't try to delete or
9077 iconify last frame. See:
9078 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9080 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9082 * server.el (server-process-filter): Remember dir in the
9083 process's `server-client-directory' properties.
9085 2012-06-24 Chong Yidong <cyd@gnu.org>
9087 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9090 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9092 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9094 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * help-fns.el (describe-variable): Don't croak when doc is not found.
9097 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9098 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9099 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9100 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9101 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9103 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9105 2012-06-23 Chong Yidong <cyd@gnu.org>
9107 * info.el (Info-mouse-follow-link): Accept symbol values of
9108 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9109 (Info-fontify-node): Use Info-link-keymap for all navigation
9110 buttons, with link-args property to perform the desired action.
9111 (Info-link-keymap): Doc fix.
9112 (Info-next-link-keymap, Info-prev-link-keymap)
9113 (Info-up-link-keymap): Delete now-unused keymaps.
9115 2012-06-23 Chong Yidong <cyd@gnu.org>
9117 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9119 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9122 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9124 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9126 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9129 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9130 the requote function doesn't work properly (bug#11714).
9132 2012-06-23 Glenn Morris <rgm@gnu.org>
9134 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9136 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9138 Further GV/CL cleanups.
9139 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9141 (gv--defun-declaration): New function.
9142 (defun-declarations-alist): Use it.
9143 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9144 (gv-place): Autoload.
9145 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9146 original definition of dotimes and dolist.
9147 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9148 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9149 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9150 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9151 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9152 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9153 to the function's definition.
9154 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9158 * env.el: Don't use CL.
9160 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9162 Support higher-resolution time stamps (Bug#9000).
9164 * calendar/time-date.el (with-decoded-time-value): New arg
9165 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9166 (encode-time-value): New optional arg PICO. New type 3.
9167 (time-to-seconds) [!float-time]: Support the new picoseconds
9168 component if it's used.
9169 (seconds-to-time, time-subtract, time-add):
9170 Support ps-resolution time stamps as well.
9172 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9173 (timerp): Timer vectors now have length 9, not 8.
9174 (timer--time): Support new-style (4-part) time stamps.
9175 (timer-next-integral-multiple-of-time): Time stamps now have
9176 picosecond resolution, so take a bit more care about rounding.
9177 (timer-relative-time, timer-inc-time): New optional arg psecs.
9178 (timer-set-time-with-usecs): Set psecs to 0.
9179 (timer--activate): Check psecs component, too.
9181 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9183 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9185 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9186 Move the non-essential binding to the post/pre-command-hook where it is
9187 more obviously correct.
9189 * subr.el (read-passwd): Don't use a history at all.
9190 * savehist.el (savehist-save): Remove password saved accidentally
9191 because of the above bug.
9193 2012-06-22 Bastien Guerry <bzg@gnu.org>
9195 * files.el (toggle-read-only): Display a message telling whether
9196 the buffer is read-only or not (bug#11726).
9198 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9200 * emacs-lisp/gv.el: New file.
9201 * subr.el (push, pop): Extend to generalized variables.
9202 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9203 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9204 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9205 gv-define-simple-setter, and gv-define-expander.
9206 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9207 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9208 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9209 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9210 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9212 (cl-defstruct): Don't define setf-method any more.
9213 * emacs-lisp/cl.el (flet): Don't autoload.
9214 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9215 (define-setf-expander, defsetf, define-modify-macro)
9216 (cl-struct-setf-expander): Move from cl-lib.el.
9217 * emacs-lisp/syntax.el:
9218 * emacs-lisp/ewoc.el:
9219 * emacs-lisp/smie.el:
9220 * emacs-lisp/cconv.el:
9221 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9222 (timer--time): Use gv-define-simple-setter.
9223 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9224 to avoid coding-system problems in subr.el. Adjust all users.
9225 (macroexp--maxsize, macroexp-small-p): New functions.
9226 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9227 * scroll-bar.el (scroll-bar-mode):
9228 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9229 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9230 * winner.el (winner-configuration, winner-make-point-alist)
9231 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9232 * files.el (locate-file-completion-table): Avoid list*.
9234 2012-06-22 Chong Yidong <cyd@gnu.org>
9236 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9237 (dired-create-files): Doc fix (Bug#11329).
9238 (dired-do-copy): Doc fix (Bug#11334).
9239 (dired-mark-read-string): Doc fix (Bug#11553).
9241 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9242 Doc fix (Bug#11326).
9243 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9244 (dired-dwim-target): Doc fix.
9246 * wdired.el (wdired-mode): Doc fix.
9248 2012-06-22 Glenn Morris <rgm@gnu.org>
9250 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9251 (pcmpl-rpm-cache-stamp-file): New constant.
9252 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9253 (pcmpl-rpm-packages): Optionally cache list of packages.
9255 * pcmpl-rpm.el (pcmpl-rpm): New group.
9256 (pcmpl-rpm-query-options): New option.
9257 (pcmpl-rpm-packages): No need to inline it.
9258 Use pcmpl-rpm-query-options.
9260 * calendar/calendar.el (calendar-in-read-only-buffer):
9261 Avoid some needless mode changes.
9263 2012-06-21 Chong Yidong <cyd@gnu.org>
9265 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9266 (desktop-path): Remove . from the default value (Bug#10977).
9267 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9269 2012-06-20 Chong Yidong <cyd@gnu.org>
9271 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9273 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9275 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9278 2012-06-20 Chong Yidong <cyd@gnu.org>
9280 * term.el (term-window-width): Handle the case of a missing right
9282 (term-check-size): Use window-text-height (Bug#5445).
9283 (term-mode): Use define-derived-mode. Minor cleanups.
9284 Set font-lock-defaults (Bug#7692).
9285 (term-move-columns, term-insert-char, term-emulate-terminal)
9286 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9288 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9290 * net/ange-ftp.el (ange-ftp-get-passwd):
9291 Bind `enable-recursive-minibuffers'.
9292 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9294 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9296 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9298 2012-06-19 Glenn Morris <rgm@gnu.org>
9300 * progmodes/python.el (python-mode): Derive from prog-mode.
9302 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9304 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9305 (edt-user-menu-bar-update-buffers): New functions.
9306 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9308 2012-06-19 Chong Yidong <cyd@gnu.org>
9310 * subr.el (with-selected-window): Preserve the selected window's
9311 terminal's top-frame (Bug#4702).
9313 * window.el (save-selected-window): Likewise.
9315 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9317 * progmodes/python.el (python-rx-constituents): Move backquote.
9318 (python-skeleton-define, python-define-auxiliary-skeleton):
9321 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9323 * minibuffer.el (read-file-name-default): Revert the patch from
9326 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9328 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9329 (pcase--u1, pcase--q1): Don't use apply-partially.
9331 2012-06-18 Glenn Morris <rgm@gnu.org>
9333 * progmodes/python.el (python-proc, python-buffer)
9334 (python-send-receive, python-send-string): Fix obsolete versions.
9336 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9338 * window.el (special-display-p): Completely remove stringp
9339 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9341 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9343 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9345 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9347 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9348 * net/tramp-sh.el (tramp-maybe-open-connection):
9349 Throw if `non-essential' is non-nil.
9351 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9353 * window.el (special-display-p): Signal an error if BUFFER-NAME
9354 is not a string (Bug#11713).
9356 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9358 * progmodes/python.el (python-info-beginning-of-backslash):
9359 Rename from python-info-beginning-of-backlash, as a spelling fix.
9361 2012-06-17 Chong Yidong <cyd@gnu.org>
9363 * term.el (term-emulate-terminal): If term-check-size is called,
9364 move point to the process mark without resetting point (Bug#4635).
9366 2012-06-17 Glenn Morris <rgm@gnu.org>
9368 * international/mule-cmds.el (mule-menu-keymap)
9369 (set-language-environment, set-locale-environment): Doc tweaks.
9371 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9373 * cus-face.el (custom-face-attributes): Add wave-style underline
9375 * faces.el (set-face-attribute): Update docstring to describe
9376 wave-style underline attribute.
9378 2012-06-16 Chong Yidong <cyd@gnu.org>
9380 * term/xterm.el (terminal-init-xterm): Discard input before
9381 querying background mode (Bug#10959).
9383 2012-06-16 Stefan Merten <smerten@oekonux.de>
9385 * textmodes/rst.el: Added and corrected some comments.
9386 (rst-re-alist-def): Improve symbol syntax.
9387 (rst-mode-syntax-table): Correct syntax entries.
9388 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9389 (rst-official-version, rst-official-cvs-rev): Update version
9392 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9394 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9395 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9397 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9399 * progmodes/python.el: New python.el merge.
9400 (python-guess-indent): Obsolete var.
9401 (python-indent-guess-indent-offset): New defcustom.
9402 (python-indent): Obsolete var.
9403 (python-indent-offset): New defcustom.
9404 (python-python-command, python-jython-command): Delete var.
9405 (python-shell-interpreter): New defcustom.
9406 (python-pdbtrack-do-tracking-p): Delete var.
9407 (python-pdbtrack-activate): New defcustom.
9408 (python-use-skeletons): Obsolete var.
9409 (python-skeleton-autoinsert): New defcustom.
9410 (inferior-python-filter-regexp, python-continuation-offset)
9411 (python-honour-comment-indentation, python-indent-string-contents)
9412 (python-jython-packages, python-mode-hook)
9413 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9414 (python-shell-prompt-alist)
9415 (python-source-modes): Delete defcustoms.
9416 (python-check-buffer-name, python-eldoc-setup-code)
9417 (python-eldoc-string-code, python-ffap-setup-code)
9418 (python-ffap-string-code, python-fill-comment-function)
9419 (python-fill-decorator-function, python-fill-paren-function)
9420 (python-fill-string-function, python-imenu-include-defun-type)
9421 (python-imenu-make-tree, python-imenu-subtree-root-label)
9422 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9423 (python-shell-compilation-regexp-alist)
9424 (python-shell-completion-module-string-code)
9425 (python-shell-completion-pdb-string-code)
9426 (python-shell-completion-setup-code)
9427 (python-shell-completion-string-code)
9428 (python-shell-enable-font-lock, python-shell-exec-path)
9429 (python-shell-extra-pythonpaths)
9430 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9431 (python-shell-process-environment)
9432 (python-shell-prompt-block-regexp)
9433 (python-shell-prompt-output-regexp)
9434 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9435 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9436 (python-shell-virtualenv-path): New defcustoms.
9437 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9438 (inferior-python-mode-syntax-table, python--prompt-regexp)
9439 (python-buffer, python-command python-python-command)
9440 (python-default-template, python-imports, python-indent-index)
9441 (python-indent-list, python-indent-list-length)
9442 (python-mode-running, python-pdbtrack-is-tracking-p)
9443 (python-preoutput-continuation, python-preoutput-leftover)
9444 (python-preoutput-result, python-preoutput-skip-next-prompt)
9445 (python-prev-dir/file, python-recursing)
9446 (python-saved-check-command, python-version-checked)
9447 (python-which-func-length-limit)
9448 (view-return-to-alist): Delete vars.
9449 (python-check-custom-command, python-dotty-syntax-table)
9450 (python-imenu-index-alist, python-indent-current-level)
9451 (python-indent-dedenters, python-indent-levels)
9452 (python-nav-beginning-of-defun-regexp)
9453 (python-nav-list-defun-positions-cache)
9454 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9455 (python-shell-internal-buffer)
9456 (python-skeleton-available): New vars.
9457 (def-python-skeleton): Delete macro.
9458 (python-skeleton-define): New macro.
9459 (python-define-auxiliary-skeleton, python-rx): New macros.
9460 (python-insert-class): Delete command.
9461 (python-skeleton-class): New command.
9462 (python-insert-def): Delete command.
9463 (python-skeleton-def): New command.
9464 (python-insert-for): Delete command.
9465 (python-skeleton-for): New command.
9466 (python-insert-if): Delete command.
9467 (python-skeleton-if): New command.
9468 (python-insert-try/except, python-insert-try/finally): Delete commands.
9469 (python-skeleton-try): New command.
9470 (python-insert-while): Delete command.
9471 (python-skeleton-while): New command.
9472 (python-backspace): Delete command.
9473 (python-indent-dedent-line-backspace): New command.
9474 (python-electric-colon): Delete command.
9475 (python-indent-electric-colon): New command.
9476 (python-guess-indent): Delete command.
9477 (python-indent-guess-indent-offset): New command.
9478 (python-shift-left): Delete command.
9479 (python-indent-shift-left): New command.
9480 (python-shift-right): Delete command.
9481 (python-indent-shift-right): New command.
9482 (python-find-function): Delete command.
9483 (python-nav-jump-to-defun): New command.
9484 (python-next-statement): Delete command.
9485 (python-nav-forward-sentence): New command.
9486 (python-previous-statement): Delete command.
9487 (python-nav-backward-sentence): New command.
9488 (python-fill-paragraph): Delete command.
9489 (python-fill-paragraph-function): New command.
9490 (python-send-buffer): Delete command.
9491 (python-shell-send-buffer): New command.
9492 (python-send-defun): Delete command.
9493 (python-shell-send-defun): New command.
9494 (python-send-region, python-send-region-and-go): Delete commands.
9495 (python-shell-send-region)
9496 (python-shell-switch-to-shell): New commands.
9497 (python-send-string): Delete command.
9498 (python-shell-send-string): New command.
9499 (python-switch-to-python): Delete command.
9500 (python-shell-switch-to-shell): New command.
9501 (python-describe-symbol): Delete command.
9502 (python-eldoc-at-point): New command.
9503 (python--set-prompt-regexp, python-args-to-list)
9504 (python-after-info-look, python-check-version)
9505 (python-check-comint-prompt, python-find-imports)
9506 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9507 (python-unload-function, python-expand-template)
9508 (python-maybe-jython, python-preoutput-filter)
9509 (python-pdbtrack-get-source-buffer)
9510 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9511 (python-pdbtrack-toggle-stack-tracking)
9512 (python-pdbtrack-track-stack-file, python-initial-text)
9513 (python-first-word, python-comment-line-p, python-send-command)
9514 (python-setup-brm, python-sentinel, python-set-proc)
9515 (python-skip-out, python-input-filter, python-outdent-p)
9516 (python-outline-level, python-backslash-continuation-line-p)
9517 (python-end-of-block, python-end-of-statement, python-mark-block)
9518 (python-beginning-of-block, python-beginning-of-statement)
9519 (python-blank-line-p, python-beginning-of-string)
9520 (python-open-block-statement-p): Delete functions.
9521 (python-indent-line, python-indent-line-1): Delete functions.
9522 (python-indent-line): New function.
9523 (python-indentation-levels): Delete function.
9524 (python-indent-calculate-levels): New function.
9525 (python-proc): Delete function.
9526 (python-shell-get-process): New function.
9527 (python-send-receive): Delete function.
9528 (python-shell-send-string-no-output): New function.
9529 (python-module-path): Delete function.
9530 (python-ffap-module-path): New function.
9531 (python-completion-at-point)
9532 (python-symbol-completions): Delete functions.
9533 (python-completion-complete-at-point): New function.
9534 (python-load-file): Delete function.
9535 (python-shell-send-file): New function.
9536 (python-calculate-indentation): Delete function.
9537 (python-indent-calculate-indentation): New function.
9538 (python-skip-comments/blanks): Delete function.
9539 (python-util-forward-comment): New function.
9540 (python-continuation-line-p): Delete function.
9541 (python-info-continuation-line-p): New function.
9542 (python-which-func, python-current-defun): Delete function.
9543 (python-info-current-defun): New function.
9544 (python-beginning-of-defun): Delete function.
9545 (python-nav-beginning-of-defun): New function.
9546 (python-close-block-statement-p)
9547 (python-block-end-p): Delete function.
9548 (python-info-closing-block): New function.
9549 (python-comint-output-filter-function)
9550 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9551 (python-fill-comment, python-fill-decorator, python-fill-paren)
9552 (python-fill-string, python-imenu-make-element-tree)
9553 (python-imenu-make-tree, python-imenu-tree-assoc)
9554 (python-indent-context, python-indent-dedent-line)
9555 (python-indent-line-function)
9556 (python-indent-post-self-insert-function)
9557 (python-indent-toggle-levels)
9558 (python-info-assignment-continuation-line-p)
9559 (python-info-beginning-of-backlash)
9560 (python-info-block-continuation-line-p)
9561 (python-info-closing-block-message)
9562 (python-info-line-ends-backslash-p)
9563 (python-info-looking-at-beginning-of-defun)
9564 (python-info-ppss-context, python-info-ppss-context-type)
9565 (python-nav-list-defun-positions, python-nav-read-defun)
9566 (python-nav-sentence-end, python-nav-sentence-start)
9567 (python-pdbtrack-comint-output-filter-function)
9568 (python-pdbtrack-set-tracked-buffer)
9569 (python-shell-calculate-exec-path)
9570 (python-shell-calculate-process-environment)
9571 (python-shell-completion--do-completion-at-point)
9572 (python-shell-completion--get-completions)
9573 (python-shell-completion-complete-at-point)
9574 (python-shell-completion-complete-or-indent)
9575 (python-shell-get-or-create-process)
9576 (python-shell-get-process-name)
9577 (python-shell-internal-get-or-create-process)
9578 (python-shell-internal-get-process-name)
9579 (python-shell-internal-send-string, python-shell-make-comint)
9580 (python-shell-parse-command, python-shell-send-setup-code)
9581 (python-skeleton-add-menu-items)
9582 (python-util-clone-local-variables, python-util-position)
9583 (run-python-internal, python-indentation-levels)
9584 (python-nav-beginning-of-defun)
9585 (python-completion-complete-at-point): New functions.
9586 (run-python): Change arguments. New API requirements.
9588 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9590 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9593 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9594 (macroexp--expand-all): Use it.
9596 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9597 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9598 Use `cl-function' instead.
9600 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9602 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9603 Suggested by Stefan Monnier while discussing bug#11657.
9605 2012-06-14 Sam Steingold <sds@gnu.org>
9607 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9609 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9611 * play/doctor.el (doctor-doc): Remove parameter and use
9612 doctor-sent instead of sent.
9613 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9615 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9617 * files.el: Require cl-lib.
9618 (file-name-non-special): Replace case -> cl-case.
9620 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9622 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9623 mapping from #' to function*.
9625 2012-06-13 Chong Yidong <cyd@gnu.org>
9627 * mouse.el (mouse-drag-track): Do not set the mark if the user
9628 releases the mouse without selecting anything (Bug#11588).
9630 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9632 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9633 as well (bug#11646).
9635 * loadup.el: Count byte-code functions as well.
9637 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9638 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9640 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9641 (bug#11649). Add cl-defun and cl-defmacro.
9643 2012-06-13 Drew Adams <drew.adams@oracle.com>
9645 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9648 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9650 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9651 Otherwise, it blocks in batch mode.
9653 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9655 * help-mode.el (bookmark-make-record-default): Declare.
9657 2012-06-13 Chong Yidong <cyd@gnu.org>
9659 * emacs-lisp/package.el (list-packages): Compute a list of
9660 packages that are newly-available since the last list-packages
9662 (package-menu--new-package-list): New var.
9663 (package-menu--generate, package-menu--print-info)
9664 (package-menu--status-predicate, package-menu-mark-install):
9665 Handle new status label "new".
9667 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9670 conversion to backquotes.
9672 2012-06-12 Chong Yidong <cyd@gnu.org>
9674 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9675 Rename from gud-inhibit-global-bindings.
9677 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9679 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9680 hook from nxml-glyph-set-hook.
9682 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9685 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9687 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9688 Convert to defcustom.
9690 2012-06-12 Drew Adams <drew.adams@oracle.com>
9692 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9694 (help-mode): Use them.
9696 2012-06-11 Glenn Morris <rgm@gnu.org>
9698 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9699 Use preprocessor face for directives.
9700 (fortran-directive-re): Doc fix.
9702 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9704 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9705 conversion to backquotes (bug#11652).
9707 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9708 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9709 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9710 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9711 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9712 (cl-ninth, cl-tenth): Mark them as inlinable.
9713 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9714 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9715 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9716 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9717 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9718 (cl-list*, cl-adjoin): Don't put an autoload manually.
9719 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9720 (cl--compiler-macro-list*): Add autoload cookie.
9721 (cl--compiler-macro-cXXr): New function.
9723 * help-fns.el (help-fns--compiler-macro): New function extracted from
9724 describe-function-1; follow aliases and use `compiler-macro' property.
9725 (describe-function-1): Use it.
9727 2012-06-11 Chong Yidong <cyd@gnu.org>
9729 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9730 is uninstalled, if imagemagick is installed.
9732 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9734 * emacs-lisp/cl-lib.el: Use lexical-binding.
9735 (cl-map-extents, cl-maclisp-member): Remove.
9736 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9737 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9738 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9739 * emacs-lisp/cl-extra.el: Use lexical-binding.
9740 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9741 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9742 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9743 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9744 * emacs-lisp/cl-seq.el: Use lexical-binding.
9745 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9746 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9747 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9748 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9749 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9752 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9754 Sync with Tramp 2.2.6-pre.
9756 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9757 `print-length' and `print-level' to nil, in order to avoid
9758 truncation. Reported by Christopher Schmidt
9759 <christopher@ristopher.com>.
9761 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9763 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9765 (tramp-compat-copy-directory): Add optional argument
9766 COPY-CONTENTS. It is not handled yet.
9768 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9769 (tramp-ftp-file-name-p): Simplify.
9771 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9772 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9775 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9776 (tramp-methods): Do not use `tramp-password-end-of-line'.
9777 (tramp-completion-function-alist-putty): Handle UNIX case.
9778 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9779 (tramp-do-file-attributes-with-stat)
9780 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9781 gid as real numbers. They could run out of integer range on cygwin.
9782 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9783 (tramp-sh-handle-expand-file-name): Handle hops.
9784 (tramp-open-connection-setup-interactive-shell):
9785 Use `tramp-cleanup'. Move check for busyboxes ...
9786 (tramp-find-shell): ... here. Simplify implementation.
9787 Set "remote-shell" property also for alternative shells.
9788 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9789 If failing, a regular file would be written otherwise.
9790 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9791 (tramp-find-inline-encoding): Cache the coding commands in the
9792 process cache. Apply test command on the remote side, if defined.
9793 (tramp-find-inline-compress): Cache the compress commands in the
9795 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9796 when requested. Handle hops.
9797 (tramp-current-connection): New defvar.
9798 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9799 Throw `suppress', if there was a failed connection shortly before.
9800 Handle user interrupt. (Bug#10187)
9801 (tramp-get-inline-compress, tramp-get-inline-coding):
9802 Read connection properties from the process cache.
9804 * net/tramp-smb.el (tramp-smb-server-version)
9805 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9807 (tramp-smb-prompt): Extend for powershell prompt.
9808 (tramp-smb-file-name-handler-alist): Add handlers for
9809 `process-file', `shell-command' and `start-file-process'.
9810 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9811 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9812 (tramp-smb-file-name-p): Simplify.
9813 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9814 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9815 (tramp-smb-shell-quote-argument): New defuns.
9816 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9817 Implement using "tar". By this, time-stamps are preserved.
9818 (tramp-smb-handle-copy-file): Handle also the case of directories.
9819 (tramp-smb-do-file-attributes-with-stat)
9820 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9821 Use `tramp-get-connection-buffer').
9822 (tramp-smb-handle-rename-file): Use "rename", when source and
9823 target are on the same share.
9824 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9825 Use `tramp-smb-server-version'.
9826 (tramp-smb-wait-for-output): Remove prompt.
9828 * net/tramp.el (top): Require 'cl.
9829 (tramp-methods, tramp-rsh-end-of-line):
9830 Remove `tramp-password-end-of-line' from docstring.
9831 (tramp-save-ad-hoc-proxies): New defcustom.
9832 (tramp-completion-function-alist): Adapt docstring.
9833 (tramp-default-password-end-of-line): Remove defcustom.
9834 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9835 (tramp-user-regexp, tramp-file-name-regexp-unified)
9836 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9837 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9838 (tramp-remote-file-name-spec-regexp): New defconst.
9839 (tramp-file-name-structure): Extend structure for hops.
9840 (tramp-get-method-parameter): Move up.
9841 (tramp-file-name-p, tramp-dissect-file-name)
9842 (with-parsed-tramp-file-name): Handle hops.
9843 (tramp-file-name-hop): New defun.
9844 (tramp-make-tramp-file-name): New optional arg HOP.
9845 (tramp-message-show-progress-reporter-message): New defvar.
9846 (tramp-with-progress-reporter): Use it. We cannot use
9847 `tramp-message-show-message' here, because this suppresses also
9849 (tramp-error-with-buffer): Suppress buffer view, if
9850 `tramp-message-show-message' is nil.
9851 Use `tramp-get-connection-buffer'.
9852 (tramp-cleanup): New defun.
9853 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9854 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9856 (tramp-completion-handle-file-name-all-completions): Handle hops.
9857 Fix an error when called from ido.
9858 (tramp-completion-dissect-file-name): Use better local variable
9859 name. Add hop to the vector.
9860 (tramp-handle-insert-file-contents): Use progress-reporter for the
9862 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9864 (tramp-check-for-regexp): Simplify search.
9865 (tramp-enter-password): Remove it. Move implementation ...
9866 (tramp-action-password): ... here.
9867 (tramp-mode-string-to-int, tramp-local-host-p)
9868 (tramp-make-tramp-temp-file, tramp-read-passwd)
9869 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9870 Set tramp-autoload cookie.
9872 * net/trampver.el: Update release number.
9874 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9875 Michael Albinus <michael.albinus@gmx.de>
9877 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9878 (tramp-parse-group, tramp-parse-file)
9879 (tramp-parse-shostkeys-sknownhosts): New defuns.
9880 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9881 (tramp-parse-shosts-group, tramp-parse-sconfig)
9882 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9883 (tramp-parse-sknownhosts, tramp-parse-hosts)
9884 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9886 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9887 (tramp-parse-putty-group): Don't narrow.
9888 (tramp-parse-putty): Make a loop.
9889 (tramp-file-name-handler): Catch the `suppress' signal.
9891 2012-06-11 Chong Yidong <cyd@gnu.org>
9893 * image.el (imagemagick-register-types): Put the ImageMagick entry
9894 at the end of image-type-file-name-regexps.
9896 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9898 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9899 (pcase, pcase-let*, pcase-dolist): Use them.
9901 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9903 * emacs-lisp/pcase.el (pcase--let*): New function.
9904 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9905 (pcase--expand): Use macroexp-let².
9907 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9910 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9911 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9912 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9913 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9914 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9916 2012-06-10 Glenn Morris <rgm@gnu.org>
9918 * mail/rmail.el (rmail-yank-current-message): Leave point at
9919 correct position. (Bug#11660)
9921 2012-06-10 Chong Yidong <cyd@gnu.org>
9923 * allout-widgets.el: Fix code header.
9925 2012-06-10 Chong Yidong <cyd@gnu.org>
9927 * cus-edit.el (customize-changed-options-previous-release):
9930 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9932 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9934 2012-06-09 Chong Yidong <cyd@gnu.org>
9936 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9938 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9940 * window.el (special-display-popup-frame): Don't use
9941 window--display-buffer (Bug#11651).
9943 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9945 Fix parallel builds: make sure loaddefs.el is not being written
9946 while Lisp files are compiled.
9947 (compile): Don't depend on 'mh-autoloads'.
9948 (compile-CMD, compile-SH): Depend on 'autoloads'.
9949 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9951 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9953 2012-06-09 Chong Yidong <cyd@gnu.org>
9955 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9956 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9957 Doc fixes (Bug#11225).
9959 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9962 a function if there's a clear indication that it has a compiler-macro.
9963 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9964 (macro-declarations-alist): Add arglist to declaration functions.
9965 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9966 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9967 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9968 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9969 Also add autoload to find the compiler macro.
9970 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9971 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9972 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9973 (cl--compiler-macro-get): New functions, replacing calls to
9974 cl-define-compiler-macro.
9975 (cl-typep) [compiler-macro]: Use macroexp-let².
9977 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9979 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9980 string properly, fixes Bug#11473.
9982 2012-06-08 Chong Yidong <cyd@gnu.org>
9984 * faces.el (set-face-attribute): Doc fix.
9985 (modify-face): Don't use :bold and :italic.
9986 (error, warning, success): Tweak definitions.
9988 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9989 (custom-modified, custom-set, custom-changed, custom-themed)
9990 (custom-saved, custom-button, custom-button-mouse)
9991 (custom-button-pressed, custom-state, custom-comment-tag)
9992 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9993 (custom-group-subtitle): Use new-style face specs.
9994 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9995 (custom-set-face, custom-changed-face, custom-saved-face)
9996 (custom-button-face, custom-button-pressed-face)
9997 (custom-documentation-face, custom-state-face)
9998 (custom-comment-face, custom-comment-tag-face)
9999 (custom-variable-tag-face, custom-variable-button-face)
10000 (custom-face-tag-face, custom-group-tag-face-1)
10001 (custom-group-tag-face): Remove obsolete face alias.
10003 * epa.el (epa-validity-high, epa-validity-medium)
10004 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10005 (epa-field-name, epa-field-body):
10006 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10007 (font-lock-keyword-face, font-lock-builtin-face)
10008 (font-lock-function-name-face, font-lock-variable-name-face)
10009 (font-lock-type-face, font-lock-constant-face):
10010 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10011 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10012 * speedbar.el (speedbar-button-face, speedbar-file-face)
10013 (speedbar-directory-face, speedbar-tag-face)
10014 (speedbar-selected-face, speedbar-highlight-face)
10015 (speedbar-separator-face):
10016 * whitespace.el (whitespace-newline, whitespace-space)
10017 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10018 (whitespace-line, whitespace-space-before-tab)
10019 (whitespace-space-after-tab, whitespace-indentation)
10020 (whitespace-empty):
10021 * emulation/cua-base.el (cua-global-mark):
10022 * eshell/em-prompt.el (eshell-prompt):
10023 * net/newst-plainview.el (newsticker-new-item-face)
10024 (newsticker-old-item-face, newsticker-immortal-item-face)
10025 (newsticker-obsolete-item-face, newsticker-date-face)
10026 (newsticker-statistics-face, newsticker-default-face):
10027 * net/newst-reader.el (newsticker-feed-face)
10028 (newsticker-extra-face, newsticker-enclosure-face):
10029 * net/newst-treeview.el (newsticker-treeview-face)
10030 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10031 (newsticker-treeview-immortal-face)
10032 (newsticker-treeview-obsolete-face)
10033 (newsticker-treeview-selection-face):
10034 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10035 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10036 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10037 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10038 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10039 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10040 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10042 * progmodes/vera-mode.el (vera-font-lock-number)
10043 (vera-font-lock-function, vera-font-lock-interface):
10044 * textmodes/table.el (table-cell): Use new-style face specs, and
10045 don't use the old :bold and :italic attributes.
10047 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10048 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10049 (ebrowse-member-class, ebrowse-progress): Likewise.
10050 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10051 (ebrowse-file-name-face, ebrowse-default-face)
10052 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10053 (ebrowse-progress-face): Remove obsolete faces.
10055 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10056 Inherit from error and warning faces respectively.
10058 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10060 (flyspell-incorrect-face, flyspell-duplicate-face):
10061 Remove obsolete aliases.
10063 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10065 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10068 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * startup.el (argv, argi): Make lexically scoped.
10071 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10072 * emacs-lisp/cl-macs.el: Use lexical-binding.
10073 Rename cl-bind-* to cl--bind-*.
10074 * files.el: Don't require `cl' since it doesn't use it.
10075 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10077 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10079 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10080 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10081 instead of calling external sort utility.
10082 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10084 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10086 * descr-text.el (describe-char): Mention how to insert the
10087 character, if the current input method doesn't support it.
10088 See the discussion in this thread for the details:
10089 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10091 2012-06-08 Sam Steingold <sds@gnu.org>
10093 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10094 XF86Back to previous-buffer.
10095 (minibuffer-local-map): Bind them to next-history-element and
10096 previous-history-element respectively.
10097 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10098 help-go-back respectively.
10099 * info.el (Info-mode-map): Bind them to Info-history-forward and
10100 Info-history-back respectively.
10101 These are the keys next to Up on the ThinkPad keyboard.
10103 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10105 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10106 * emacs-lisp/cl-macs.el: Provide itself.
10107 (cl--labels-convert-cache): New var.
10108 (cl--labels-convert): New function.
10109 (cl-flet, cl-labels): New implementation with new semantics, relying on
10111 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10112 (cl-closure-vars, cl--function-convert-cache)
10113 (cl--function-convert): Move from cl-macs.el.
10114 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10115 rename by removing the "cl-" prefix.
10116 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10118 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10121 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10122 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10123 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10124 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10125 (cl-hash-table-count): Add old compatibility aliases.
10127 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10128 Use macroexpand-all-environment instead.
10129 (cl--old-macroexpand): New var.
10130 (cl--sm-macroexpand): New function.
10131 (cl-symbol-macrolet): Use it during macro expansion.
10132 (cl--function-convert-cache): New var.
10133 (cl--function-convert): New function, extracted from
10134 cl-macroexpand-all.
10135 (cl-lexical-let): Use it.
10137 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10138 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10139 (cl-member): Remove old alias.
10141 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10142 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10143 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10144 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10145 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10146 (cl-macroexpand-cmacs): Remove var.
10147 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10148 Use macroexpand-all instead.
10150 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10152 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10153 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10154 (macroexp-copyable-p): New functions and macros.
10155 * emacs-lisp/edebug.el (edebug-unwrap):
10156 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10157 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10158 (pcase--let*): Remove.
10159 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10160 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10161 macroexp-const-p instead.
10162 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10164 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10165 instead of "cl-" for internal definitions. Use macroexp-const-p.
10166 (cl-old-bc-file-form): Remove var.
10167 (cl-const-exprs-p): Remove fun.
10168 (cl-labels, cl-macrolet): Use backquote.
10169 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10170 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10171 (cl-define-setf-expander): Rename from cl-define-setf-method.
10172 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10174 * international/mule-cmds.el: Don't require CL.
10175 (view-hello-file): Don't use `letf'.
10177 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * tmm.el (tmm-prompt): Use string-prefix-p.
10180 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10181 (tmm-add-prompt): Use minibuffer-completion-help.
10182 (tmm-delete-map): Remove.
10184 * subr.el (kbd): Make it its own function.
10186 2012-06-07 Stefan Merten <smerten@oekonux.de>
10188 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10189 Silence compiler warnings. Fix versions.
10190 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10191 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10192 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10193 (rst-package-emacs-version-alist): Correct Emacs version to
10194 represent major merge with upstream.
10195 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10197 2012-06-06 Glenn Morris <rgm@gnu.org>
10199 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10200 Only print environment variables if set.
10202 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10205 (macroexp--cons): Rename from maybe-cons.
10206 (macroexp--accumulate): Rename from macroexp-accumulate.
10207 (macroexp--all-forms): Rename from macroexpand-all-forms.
10208 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10209 (macroexp--expand-all): Rename from macroexpand-all-1.
10211 2012-06-06 Sam Steingold <sds@gnu.org>
10213 * calendar/calendar.el (calendar-in-read-only-buffer):
10214 Call `special-mode' to enable the standard read-only keybindings.
10216 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10219 with "loading" messages (bug#11635).
10221 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10223 * files.el (enable-remote-dir-locals): New option.
10224 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10226 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10227 Ensure, that the temp directory is local.
10229 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10230 `temporary-file-directory'.
10232 * progmodes/python.el (python-send-region): Ensure, that the
10233 temporary file is created also in the remote case.
10235 2012-06-06 Glenn Morris <rgm@gnu.org>
10237 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10238 (vc-rcs-update-changelog): Use it.
10240 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10242 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10243 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10244 (vc-sccs-diff): Replace use of the external vcdiff script.
10246 2012-06-05 Glenn Morris <rgm@gnu.org>
10248 * ledit.el: Move to obsolete/.
10250 2012-06-05 Sam Steingold <sds@gnu.org>
10252 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10255 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10257 * emacs-lisp/cust-print.el: Move to obsolete.
10259 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10260 compiler-macro expansion.
10262 Add native compiler-macro support.
10263 * emacs-lisp/macroexp.el (macroexpand-all-1):
10264 Support compiler-macros directly. Properly follow aliases and apply
10265 the compiler macros more thoroughly.
10266 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10267 macroexpand now properly follows aliases.
10268 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10269 (cl-compiler-macroexpand): Use new prop.
10270 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10272 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10274 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10276 * window.el (get-lru-window, get-mru-window, get-largest-window):
10277 New argument NOT-SELECTED to avoid picking the selected window.
10278 (window--display-buffer-1, window--display-buffer-2): Replace by
10279 new function window--display-buffer
10280 (display-buffer-same-window, display-buffer-reuse-window)
10281 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10282 Use window--display-buffer.
10283 (display-buffer-use-some-window): Remove temporary dedication
10284 hack by calling get-lru-window and get-largest-window with
10285 NOT-SELECTED argument non-nil. Call window--display-buffer.
10287 2012-06-05 Glenn Morris <rgm@gnu.org>
10289 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10290 Replace external vcdiff script.
10292 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10294 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10296 2012-06-04 Chong Yidong <cyd@gnu.org>
10298 * image.el (imagemagick-types-inhibit): Revert last change.
10300 (imagemagick-enabled-types): Remove CIN and EPS*.
10302 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * emacs-lisp/cl-lib.el: Rename from cl.el.
10305 * emacs-lisp/cl.el: New compatibility file.
10306 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10307 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10308 to obey the "cl-" prefix.
10309 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10311 2012-06-03 Glenn Morris <rgm@gnu.org>
10313 * emacs-lisp/authors.el (authors-aliases): Addition.
10315 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10318 2012-06-03 Stefan Merten <smerten@oekonux.de>
10320 * textmodes/rst.el: Add comments.
10321 (rst-transition, rst-adornment): New faces.
10322 (rst-adornment-faces-alist): Make default safe to reevaluate.
10324 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10325 Improve customization tags.
10326 (rst-define-level-faces): Clarify meaning.
10328 2012-06-03 Chong Yidong <cyd@gnu.org>
10330 * progmodes/compile.el (compilation-mode-line-fail)
10331 (compilation-mode-line-run, compilation-mode-line-exit):
10333 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10335 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10337 * progmodes/which-func.el (which-func-update-ediff-windows):
10338 New function. Use it in ediff-select-hook (Bug#11478).
10340 2012-06-03 Chong Yidong <cyd@gnu.org>
10342 * bindings.el: Remove explicit help text from format-mode-line.
10343 It is now supplied by mode-line-default-help-echo.
10344 (mode-line-front-space, mode-line-end-spaces)
10345 (mode-line-misc-info): New variables.
10346 (mode-line-modes, mode-line-position): Move the default value to
10347 the variable definition.
10348 (mode-line-default-help-echo): New defcustom.
10349 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10350 (mode-line-modified-help-echo): New functions.
10351 (mode-line-mule-info, mode-line-modified): Use them.
10352 (mode-line-eol-desc, propertized-buffer-identification):
10353 Consistency fixes for help text.
10354 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10355 set-buffer-file-coding-system (Bug#289).
10356 (mode-line-mule-info-help-echo): Update help text.
10358 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10360 * simple.el (execute-extended-command): Set real-this-command
10363 2012-06-02 Chong Yidong <cyd@gnu.org>
10365 Remove incorrect uses of "modeline" in comments, docstrings, and
10366 function/variable names (Bug#10329).
10368 * cus-edit.el (mode-line):
10369 * dframe.el (dframe-mouse-hscroll):
10370 * emacs-lisp/re-builder.el:
10371 * emacs-lisp/easy-mmode.el (define-minor-mode):
10372 * frame.el (set-frame-name):
10373 * help.el (lookup-minor-mode-from-indicator):
10374 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10375 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10376 (c-toggle-hungry-state):
10377 * progmodes/antlr-mode.el (antlr-language-alist):
10378 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10379 * progmodes/vhdl-mode.el (vhdl-mode):
10380 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10381 * term/ns-win.el (ns-face-at-pos):
10382 * term/sup-mouse.el (sup-mouse-report):
10383 * textmodes/flyspell.el (flyspell-mode-line-string):
10384 * textmodes/ispell.el (ispell-highlight-face):
10385 * textmodes/reftex-global.el:
10386 * vc/vc-arch.el (vc-arch-mode-line-string):
10387 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10388 * vc/vc-git.el (vc-git-mode-line-string):
10389 * vc/vc-hooks.el (vc-display-status)
10390 (vc-default-mode-line-string):
10391 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10393 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10395 * dired.el (dired-sort-set-mode-line): Rename from
10396 dired-sort-set-modeline. All callers changed.
10398 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10399 eshell-status-in-modeline.
10401 * foldout.el (foldout-mode-line-string): Rename from
10402 foldout-modeline-string. All callers changed.
10403 (foldout-update-mode-line): Rename from foldout-update-modeline.
10405 * subr.el (redraw-modeline): Make into obsolete alias.
10407 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10408 timeclock-modeline-display. Make old name an alias.
10409 (timeclock-update-mode-line): Likewise. All callers changed.
10410 (timeclock-mode-line-display): No need to check before using
10412 (timeclock-relative, timeclock-day-over-hook)
10413 (timeclock-use-elapsed, timeclock-mode-string)
10414 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10416 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10417 crisp-mode-modeline-string.
10419 * play/solitaire.el (solitaire-build-mode-line): Rename from
10420 solitaire-build-modeline. All callers changed.
10422 * play/zone.el (zone-hiding-mode-line): Rename from
10423 zone-hiding-modeline. All callers changed.
10424 (zone): Remove unusued `modeline-hidden-level' property.
10426 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10427 xscheme-modeline-initialize. All callers changed.
10429 * strokes.el (strokes-lighter): Rename from
10430 strokes-modeline-string.
10432 * textmodes/sgml-mode.el (html-face-tag-alist)
10433 (html-tag-face-alist): Use mode-line face instead of obsolete
10436 2012-06-02 Stefan Merten <smerten@oekonux.de>
10438 * textmodes/rst.el: Always require `cl'.
10439 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10441 2012-06-02 Chong Yidong <cyd@gnu.org>
10443 * image.el (imagemagick-enabled-types): Rename from
10444 imagemagick-types-enable. Add many more types.
10445 (imagemagick-types-inhibit): Change default to nil.
10446 (imagemagick-filter-types): Caller changed.
10448 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * emacs-lisp/cl-macs.el: Use backquotes.
10451 (cl-transform-function-property): Use eval-and-compile rather than
10453 (defstruct): Use declare-function instead of with-no-warnings.
10455 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10456 (byte-compile-output-docform): Re-add the print-circle bindings.
10457 (byte-compile-fix-header): Use #$ just because it's shorter.
10458 (byte-compile-output-file-form): Remove defun/defmacro.
10460 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10462 * simple.el (choose-completion): Remove now obsolete binding for
10465 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10467 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10468 in order to avoid "Stack overflow in regexp matcher".
10470 2012-05-31 Glenn Morris <rgm@gnu.org>
10472 * image.el: For clarity, call imagemagick-register-types at
10473 top-level, rather than relying on a custom :initialize.
10474 (imagemagick-types-enable): New option. (Bug#11557)
10475 (imagemagick-filter-types): New function. (Bug#7406)
10476 (imagemagick-register-types): Use imagemagick-filter-types.
10477 If disabling support, remove elements altogether rather
10478 than using an impossible regexp.
10479 (imagemagick-types-inhibit): Give it the default init function.
10481 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10484 Handle arbitrary file name lengths (Bug#11585).
10486 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10488 * desktop.el (desktop-read): Clear previous and next buffers for
10489 all windows and bury *Messages* buffer (bug#11556).
10491 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10493 Add `declare' for `defun'. Align `defmacro's with it.
10494 * emacs-lisp/easy-mmode.el (define-minor-mode)
10495 (define-globalized-minor-mode): Don't autoload the var definitions.
10496 * emacs-lisp/byte-run.el: Use lexical-binding.
10497 (defun-declarations-alist, macro-declarations-alist): New vars.
10498 (defmacro, defun): Use them.
10499 (make-obsolete, define-obsolete-function-alias)
10500 (make-obsolete-variable, define-obsolete-variable-alias):
10502 (macro-declaration-function): Mark obsolete.
10503 * emacs-lisp/autoload.el: Use lexical-binding.
10504 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10506 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10508 * textmodes/ispell.el (ispell-with-no-warnings):
10510 (ispell-kill-ispell, ispell-change-dictionary):
10511 Use `called-interactively-p' for Emacs instead of obsolete
10514 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10516 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10517 (macro-declaration-function): Move var from C code.
10518 (macro-declaration-function): Define function with defalias.
10519 * emacs-lisp/macroexp.el (macroexpand-all-1):
10520 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10521 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10522 defun/defmacro any more.
10523 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10524 Provide fallback for unknown arglist.
10525 (byte-compile-arglist-warn): Change calling convention.
10526 (byte-compile-output-file-form): Move print-vars binding.
10527 (byte-compile-output-docform): Simplify accordingly.
10528 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10529 (byte-compile-defmacro-declaration): Remove.
10530 (byte-compile-file-form-defmumble): Generalize to defalias.
10531 (byte-compile-output-as-comment): Return byte-positions.
10532 Simplify callers accordingly.
10533 (byte-compile-lambda): Use `assert'.
10534 (byte-compile-defun, byte-compile-defmacro): Remove.
10535 (byte-compile-file-form-defalias):
10536 Use byte-compile-file-form-defmumble.
10537 (byte-compile-defalias-warn): Remove.
10539 2012-05-29 Stefan Merten <smerten@oekonux.de>
10541 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10542 possible. Fix authors. Improve comments. Improve loading of `cl'.
10544 (rst-mode-abbrev-table): Merge definition.
10545 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10546 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10548 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10550 * calendar/icalendar.el
10551 (icalendar-export-region): Export UID properly.
10553 2012-05-29 Leo Liu <sdl.web@gmail.com>
10554 * calendar/icalendar.el (icalendar-import-format):
10555 Add `icalendar-import-format-uid' (Bug#11525).
10556 (icalendar-import-format-uid): New.
10557 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10560 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10562 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10563 different alternative patterns.
10564 (pcase-codegen): Be more careful to preserve identity.
10565 (pcase--u1): Don't forget to mark vars as used.
10567 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10568 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10569 (byte-compile-from-buffer): ...rather than here.
10571 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10572 functions from byte-compile-function-environment.
10574 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10576 * window.el (window-deletable-p): Avoid deleting the root window
10577 of a frame with an active minibuffer.
10579 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10581 * simple.el (choose-completion): Use quit-window (Bug#11567).
10583 2012-05-29 Chong Yidong <cyd@gnu.org>
10585 * whitespace.el (whitespace-cleanup): Fix usage of
10586 whitespace-empty-at-bob-regexp (Bug#11492).
10588 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10590 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10591 revert (Bug#11488).
10593 2012-05-29 Juri Linkov <juri@jurta.org>
10595 * isearch.el (isearch-mode-map): Bind `M-s _' to
10596 `isearch-toggle-symbol'. Bind `M-s c' to
10597 `isearch-toggle-case-fold'.
10598 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10599 (isearch-forward): Add `M-s _' to the docstring.
10600 (isearch-forward-symbol, isearch-toggle-case-fold)
10601 (isearch-symbol-regexp): New functions. (Bug#11381)
10603 2012-05-29 Juri Linkov <juri@jurta.org>
10605 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10606 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10607 a function, call it to get the regexp.
10608 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10609 property `isearch-message-prefix' instead of the string "word ".
10610 (isearch-search-fun-default): For the case of `isearch-word',
10611 return a lambda that calls re-search-forward/re-search-backward
10612 with a regexp returned by `word-search-regexp' or by the function
10615 2012-05-29 Juri Linkov <juri@jurta.org>
10617 * isearch.el (isearch-search-fun-default): New function.
10618 (isearch-search-fun): Move default part to the new function
10619 `isearch-search-fun-default'.
10620 (isearch-search-fun-function): Set the default value to
10621 `isearch-search-fun-default'. (Bug#11381)
10623 * comint.el (comint-history-isearch-end):
10624 Use `isearch-search-fun-default'.
10625 (comint-history-isearch-search): Use `isearch-search-fun-default'
10626 and remove spacial case for `isearch-word'.
10627 (comint-history-isearch-wrap): Remove spacial case for
10630 * hexl.el (hexl-isearch-search-function):
10631 Use `isearch-search-fun-default'.
10633 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10634 Use `word-search-regexp' for `isearch-word'.
10636 * misearch.el (multi-isearch-search-fun):
10637 Use `isearch-search-fun-default'.
10639 * simple.el (minibuffer-history-isearch-search):
10640 Use `isearch-search-fun-default' and remove spacial case for
10642 (minibuffer-history-isearch-wrap): Remove spacial case for
10645 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10646 Remove spacial case for `isearch-word'.
10647 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10649 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10651 Decrease XEmacs incompatibilities.
10652 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10653 Use `string-match'.
10654 (flyspell-delete-region-overlays): Use alternative definition for
10656 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10657 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10658 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10659 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10660 `define-obsolete-face-alias' under XEmacs, but old method.
10662 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10663 `with-no-warnings' definition or Emacs alias.
10664 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10665 (ispell-word): Do not use `region-p' if XEmacs.
10667 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10669 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10670 Check for `ispell-dictionary-base-alist' instead of full
10671 `ispell-dictionary-alist'.
10672 (ispell-init-process): Show spellchecker when starting new Ispell
10675 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10677 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10678 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10680 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10682 * version.el (motif-version-string, gtk-version-string)
10683 (ns-version-string): Declare.
10685 2012-05-27 Juri Linkov <juri@jurta.org>
10687 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10688 after the `eval-defun-1' specialcaseing
10689 like in `edebug-eval-defun' (bug#10181).
10691 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10692 like in `eval-defun-1'.
10694 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10696 * mail/sendmail.el (mail-yank-region):
10697 Recognize rmail-yank-current-message in addition to insert-buffer.
10698 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10699 a *mail* buffer created through rmail-start-mail with sendmail as
10702 2012-05-27 Chong Yidong <cyd@gnu.org>
10704 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10705 Default to 256 (Bug#11267).
10707 * help.el (describe-mode): Doc fix.
10709 2012-05-26 Glenn Morris <rgm@gnu.org>
10711 * w32-fns.el (w32-init-info): Remove.
10712 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10714 * info.el (info-initialize): For self-contained NS builds, put the
10715 included info/ directory at the front. (Bug#2791)
10717 * paths.el (Info-default-directory-list): Make it a defcustom,
10718 mainly so that we can use custom-initialize-delay.
10720 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10722 * subr.el (buffer-has-markers-at): Mark obsolete.
10724 * subr.el (lambda): Use declare.
10726 * emacs-lisp/lisp-mode.el (lambda):
10727 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10729 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10731 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10733 2012-05-26 Glenn Morris <rgm@gnu.org>
10735 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10737 2012-05-25 Glenn Morris <rgm@gnu.org>
10739 * paths.el: Remove no-byte-compile.
10740 * loadup.el: No need to load paths.el uncompiled.
10742 * image.el (imagemagick-types-inhibit): Doc fix.
10744 * version.el: Remove no-byte-compile and associated formatting.
10745 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10746 is ancient code from when there was an "inc-vers.el".
10748 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * progmodes/gdb-mi.el: Minor style changes.
10751 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10752 Turn into minor modes.
10753 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10754 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10755 (gdb-shell): Remove unneeded let-binding.
10756 (gdb-get-many-fields): Eliminate O(n²) behavior.
10758 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10760 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10761 platforms that don't link in fontset.c.
10763 2012-05-25 Juri Linkov <juri@jurta.org>
10765 Use the same diff color scheme as in modern VCSes (bug#10181).
10767 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10768 to avoid confusion with `diff-added' that now uses green colors.
10769 (diff-removed): Use shades of red.
10770 (diff-added): Use shades of green.
10771 (diff-changed): Leave just the yellow color.
10772 (diff-use-changed-face): New variable.
10773 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10774 how to highlight context diff changes.
10775 (diff-refine-change): Use shades of yellow.
10776 (diff-refine-removed): New face that uses shades of red.
10777 (diff-refine-added): New face that uses shades of green.
10778 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10779 `diff-refine-removed' in the call to `smerge-refine-subst'
10780 depending on the value of `diff-use-changed-face'.
10782 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10783 (smerge-other): Use shades of green.
10784 (smerge-base): Use shades of yellow.
10785 (smerge-refined-change): Empty face.
10786 (smerge-refined-removed): New face that uses shades of red.
10787 (smerge-refined-added): New face that uses shades of green.
10788 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10789 args `props-r' and `props-a', and use them. Doc fix.
10790 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10791 on its value use different faces `smerge-refined-change',
10792 `smerge-refined-removed', `smerge-refined-added' in the call to
10793 `smerge-refine-subst'.
10795 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10796 Add face condition `min-colors 88' with shades of red.
10797 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10798 `min-colors 88' with shades of green.
10799 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10800 `min-colors 88' with shades of yellow.
10802 2012-05-24 Glenn Morris <rgm@gnu.org>
10804 * paths.el (prune-directory-list, remote-shell-program): Move to...
10805 * files.el (prune-directory-list, remote-shell-program): ...here.
10806 For the latter, delay initialization, prefer ssh, just search PATH.
10808 * paths.el (term-file-prefix): Move to faces.el (the only user).
10809 * faces.el (term-file-prefix): Move here, make it a defcustom.
10811 * paths.el (news-directory, news-path, news-inews-program):
10812 Move to gnus/nnspool.el.
10814 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10816 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10817 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10818 Make the latter a defcustom, with a delayed initialization.
10820 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10821 These were deleted from Gnus itself late 2010.
10823 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10825 * progmodes/which-func.el (which-func-ff-hook):
10826 Check against user-error, not error.
10828 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10829 cl-specs.el, which no longer exists.
10831 2012-05-22 Glenn Morris <rgm@gnu.org>
10833 * info.el (info-emacs-bug): New command.
10834 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10835 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10837 2012-05-21 Glenn Morris <rgm@gnu.org>
10839 * makefile.w32-in (update-subdirs-SH):
10840 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10842 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10844 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10846 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10847 Simplify Maven regexp, and make sure the file can't start with a space
10850 2012-05-21 Glenn Morris <rgm@gnu.org>
10852 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10853 Scrap superfluous subshells.
10855 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10857 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10858 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10860 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10862 * calc/calc.el (calc-ensure-consistent-units): New variable.
10864 * calc/calc-units.el (math-consistent-units-p)
10865 (math-check-unit-consistency): New functions.
10866 (calc-quick-units, calc-convert-units):
10867 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10869 (calc-extract-units): Fix typo.
10871 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10875 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10876 (flyspell-default-deplacement-commands): Don't spell check after
10877 repeated window/frame switches (e.g. triggered by mouse-movement).
10878 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10879 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10880 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10881 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10882 Remove unused vars.
10883 (flyspell-get-casechars, flyspell-get-not-casechars):
10884 Simplify; Don't bother removing a ] just to add it back.
10885 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10887 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10889 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10891 (math-function-table): Add support for more C functions.
10893 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10895 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10896 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10897 Protect delay handling for otherchars against empty otherchars.
10899 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10901 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10902 their respective macro declarations.
10903 * skeleton.el (define-skeleton):
10904 * progmodes/compile.el (define-compilation-mode):
10905 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10906 (define-ibuffer-filter):
10907 * emacs-lisp/generic.el (define-generic-mode):
10908 * emacs-lisp/easy-mmode.el (define-minor-mode)
10909 (define-globalized-minor-mode):
10910 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10911 * emacs-lisp/byte-run.el (defsubst):
10912 * custom.el (deftheme): Add doc-string metadata.
10914 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10916 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10922 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10923 * emacs-lisp/cl-macs.el: Idem.
10924 * emacs-lisp/cl-specs.el: Remove.
10926 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10928 Minor renaming of internal CL functions and variables.
10929 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10930 (cl--position): Rename from cl-position.
10931 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10932 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10933 (cl--random-state): Rename from *random-state*.
10935 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10938 parens around the arg list (bug#11499).
10940 2012-05-17 Juri Linkov <juri@jurta.org>
10942 * isearch.el (word-search-regexp, word-search-backward)
10943 (word-search-forward, word-search-backward-lax)
10944 (word-search-forward-lax): Move functions from search.c
10945 (bug#10145, bug#11381).
10947 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10949 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10950 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10951 Delay for otherchars as for normal word components.
10953 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10955 * minibuffer.el (completion--sifn-requote): Fix last change.
10956 (minibuffer-local-must-match-filename-map):
10957 Move define-obsolete-variable-alias before its var.
10959 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10963 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10965 (completion--string-equal-p): New function.
10966 (completion--twq-all): Use it to get better assertion failure data.
10968 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10969 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10970 (shell--requote-argument): New functions.
10971 (shell-completion-vars): Use them.
10972 (shell--parse-pcomplete-arguments): Rename from
10973 shell-parse-pcomplete-arguments.
10974 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10975 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10976 Obey comint-file-name-quote-list.
10978 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10979 (smie-indent-keyword): Use it.
10981 2012-05-14 Stefan Merten <smerten@oekonux.de>
10983 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10985 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * net/rlogin.el (rlogin-mode-map): Fix last change.
10989 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10991 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10992 the following \r\n using a single `process-send-string', since the
10993 Lotus SMTP server refuses to accept any commands if they are sent
10994 with two `process-send-string's (Bug#11444).
10996 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * shell.el (shell-parse-pcomplete-arguments):
10999 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11001 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11003 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11004 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11005 (image-transform-width, image-transform-fit-width): New functions.
11006 (image-transform-properties): Use them.
11007 (image-transform-check-size): New function.
11008 (image-toggle-display-image): Use it (for testing).
11009 (image-transform-set-rotation): Reduce angle mod 360.
11010 Delete obsolete comment.
11012 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11014 * image-mode.el: Fix scaling (bug#11399).
11015 (image-transform-resize): Doc fix.
11016 (image-transform-properties): Default scale is 1 and height should
11019 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11021 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11022 than hard-coding `car', to fix misbehavior when moving forward.
11024 2012-05-13 Chong Yidong <cyd@gnu.org>
11026 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11027 (tabulated-list-entries, tabulated-list-padding)
11028 (tabulated-list-sort-key): Make permanent-local.
11030 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11031 (electric-buffer-list): Put electric buffer menu
11032 command descriptions in this docstring, instead of the docstring
11033 of electric-buffer-menu-mode. Code cleanups.
11034 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11035 Electric-buffer-menu-mode.
11036 (electric-buffer-update-highlight): Minor code cleanup.
11038 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11040 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11043 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11045 Move define-obsolete-variable-alias before the var's definition.
11046 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11047 * tooltip.el (tooltip-hook):
11048 * textmodes/reftex-toc.el (reftex-toc-map):
11049 * textmodes/reftex-sel.el (reftex-select-label-map)
11050 (reftex-select-bib-map):
11051 * textmodes/reftex-index.el (reftex-index-map)
11052 (reftex-index-phrases-map):
11053 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11054 * progmodes/meta-mode.el (meta-mode-map):
11055 * novice.el (disabled-command-hook):
11056 * loadhist.el (unload-hook-features-list):
11057 * frame.el (blink-cursor):
11058 * files.el (find-file-not-found-hooks, write-file-hooks)
11059 (write-contents-hooks):
11060 * emulation/tpu-edt.el (GOLD-map):
11061 * emacs-lock.el (emacs-lock-from-exiting):
11062 * emacs-lisp/generic.el (generic-font-lock-defaults):
11063 * emacs-lisp/chart.el (chart-map):
11064 * dos-fns.el (register-name-alist):
11065 * dired-x.el (dired-omit-files-p):
11066 * desktop.el (desktop-enable):
11067 * cus-edit.el (custom-mode-hook):
11068 * buff-menu.el (buffer-menu-mode-hook):
11069 * bookmark.el (bookmark-read-annotation-text-func)
11070 (bookmark-exit-hooks):
11071 * allout.el (allout-mode-deactivate-hook)
11072 (allout-exposure-change-hook, allout-structure-added-hook)
11073 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11074 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11075 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11076 comes before the corresponding variable's definition.
11078 2012-05-12 Chong Yidong <cyd@gnu.org>
11080 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11081 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11082 (Buffer-menu-mode-map): Bind it.
11083 (Buffer-menu--pretty-name): Add a mouse-face property.
11085 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11087 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11088 (prolog-upper-case-string, prolog-lower-case-string)
11089 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11090 (prolog-use-smie, prolog-smie-grammar): New vars.
11091 (prolog-smie-forward-token, prolog-smie-backward-token)
11092 (prolog-smie-rules): New funs.
11093 (prolog-comment-indent): Remove.
11094 (prolog-mode-variables): Use default comment indentation instead.
11096 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11097 (prolog-mode): Don't call them any more.
11098 (prolog-electric-colon, prolog-electric-dash)
11099 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11101 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11103 * minibuffer.el (completion--twq-all): Again, allow case differences.
11105 * term.el: Move keymap initialization code to be more idiomatic.
11106 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11107 (term-terminal-menu): Move initialization into declaration.
11108 (term-escape-char): Let the user set it in her .emacs.
11110 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11111 Provide SMIE-based indentation (not enabled by default yet).
11112 (sh-mode-map): Don't bind electric keys.
11113 Use electric-pair-mode instead of skeleton-pair.
11114 (sh-assignment-regexp): Fit within 80 columns.
11115 (sh-indent-supported): Specify actual shell name instead of boolean.
11116 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11117 (sh-maybe-here-document): Use it. Make obsolete.
11118 (sh-electric-here-document-mode) New minor mode.
11119 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11120 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11121 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11122 (sh-smie-rc-grammar, sh-use-smie): New vars.
11123 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11124 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11125 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11126 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11127 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11128 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11129 (sh-set-shell): Use smie-setup if requested.
11131 * term.el (term-set-escape-char): Properly set term-escape-char.
11132 See http://stackoverflow.com/questions/10524656.
11134 2012-05-10 Chong Yidong <cyd@gnu.org>
11136 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11137 Use url-generic-parse-url, and handle host names and Windows
11138 filenames properly.
11139 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11140 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11141 URL schemes to work on.
11142 (ffap--toggle-read-only): New function.
11143 (ffap-read-only, ffap-read-only-other-window)
11144 (ffap-read-only-other-frame): Use it.
11145 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11146 necessary for ffap-url-unwrap-remote.
11148 2012-05-10 Dave Abrahams <dave@boostpro.com>
11150 * cus-start.el (create-lockfiles): Add it.
11152 2012-05-09 Chong Yidong <cyd@gnu.org>
11154 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11155 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11157 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11159 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11161 2012-05-09 Chong Yidong <cyd@gnu.org>
11163 * ansi-color.el (ansi-color-process-output): Check for validity of
11164 comint-last-output-start before using it. This avoids a bad
11165 interaction with gdb-mi's input/output buffer.
11167 2012-05-09 Glenn Morris <rgm@gnu.org>
11169 * files.el (dir-locals-read-from-file):
11170 Mention dir-locals in any error message.
11172 2012-05-09 Chong Yidong <cyd@gnu.org>
11174 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11175 package (Bug#11410).
11177 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11178 variables into description.
11180 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11182 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11183 shell-delimiter-argument-list (bug#11348).
11184 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11186 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11188 * textmodes/rst.el: Silence byte-compiler warnings.
11189 (rst-re-alist, rst-reset-section-caches): Move around.
11190 (rst-re): Use `characterp', not `char-valid-p'.
11191 (font-lock-beg, font-lock-end): Declare.
11193 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11194 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11196 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11198 2012-05-08 Glenn Morris <rgm@gnu.org>
11200 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11202 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11204 * vc/log-edit.el: Add GNU coding standards highlighting.
11205 (log-edit-font-lock-gnu-style)
11206 (log-edit-font-lock-gnu-keywords): New vars.
11207 (log-edit-font-lock-keywords): New fun.
11208 (log-edit-mode): Don't fold case in font-lock.
11209 (log-edit-font-lock-keywords): Do not assume case-folding.
11211 * imenu.el: Misc cleanup. Make docstrings out of comments.
11212 Use lexical-binding.
11213 (imenu--index-alist, imenu--last-menubar-index-alist)
11214 (imenu-menubar-modified-tick): Use defvar-local.
11215 (imenu--split-menu): Remove unused var.
11216 (imenu--cleanup-seen): Declare as global.
11217 (imenu--cleanup): Use dolist.
11219 * subr.el (defvar-local): Add debug spec and doc-string position.
11221 2012-05-08 Glenn Morris <rgm@gnu.org>
11223 * language/burmese.el, language/cham.el, language/czech.el:
11224 * language/english.el, language/georgian.el, language/greek.el:
11225 * language/japanese.el, language/khmer.el, language/korean.el:
11226 * language/lao.el, language/misc-lang.el, language/romanian.el:
11227 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11228 * language/thai.el, language/utf-8-lang.el:
11229 Remove no-byte-compile setting.
11231 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11233 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11235 * progmodes/make-mode.el (makefile-browse):
11236 Remove unnecessary interactive. (Bug#11324)
11238 2012-05-07 Glenn Morris <rgm@gnu.org>
11240 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11242 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11244 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11246 * loadup.el: Preload newcomment.el.
11247 * newcomment.el: Move autoload-only code to toplevel.
11249 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11250 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11251 Handle new :right-align column property.
11252 (tabulated-list-print-col): Idem, plus use `display' text-property to
11253 try and preserve alignment for variable pitch fonts.
11255 2012-05-07 Chong Yidong <cyd@gnu.org>
11257 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11258 (tabulated-list-use-header-line): New var.
11259 (tabulated-list-init-header): Use it.
11260 (tabulated-list-print-fake-header): New function.
11261 (tabulated-list-print): Use it.
11262 (tabulated-list-sort-button-map): Add non-header-line commands.
11263 (tabulated-list-init-header): Add column name property to basic
11265 (tabulated-list-col-sort): Handle non-header-line button case.
11266 (tabulated-list--sort-by-column-name): Fix a corner case.
11268 * buff-menu.el (list-buffers--refresh):
11269 Handle Buffer-menu-use-header-line.
11271 2012-05-06 Chong Yidong <cyd@gnu.org>
11273 * buff-menu.el: Convert to Tabulated List mode.
11274 (Buffer-menu-buffer+size-width): Make obsolete.
11275 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11276 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11277 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11278 documentation into docstring of buffer-menu.
11279 (Buffer-menu-toggle-files-only): Add an informative message.
11280 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11281 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11282 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11283 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11284 (Buffer-menu-execute, Buffer-menu-select)
11285 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11286 (Buffer-menu-bury): Use Tabulated List machinery.
11287 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11288 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11290 (list-buffers--refresh): New function.
11291 (list-buffers-noselect): Use it.
11292 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11293 (Buffer-menu--pretty-file-name): New helper functions.
11295 * loadup.el: Preload tabulated-list.
11297 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11298 tabulated-list-sort-column.
11299 (tabulated-list-init-header): Add the initial aligning space even
11300 if tabulated-list-padding is zero.
11302 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11304 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11305 whose cdr is not a cons cell correctly (bug#11038).
11307 2012-05-06 Chong Yidong <cyd@gnu.org>
11309 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11310 Accept additional plist in column descriptors.
11311 (tabulated-list-init-header): Obey it.
11312 (tabulated-list-get-entry): New function.
11313 (tabulated-list-put-tag): Use it. Use string-width instead of
11315 (tabulated-list--column-number): New function.
11316 (tabulated-list-print): Use it.
11317 (tabulated-list-print-col): New function.
11318 Set `tabulated-list-column-name' property on each column's text.
11319 (tabulated-list-print-entry): Use it.
11320 (tabulated-list-delete-entry, tabulated-list-set-col):
11322 (tabulated-list-sort-column): New command (Bug#11337).
11324 * buff-menu.el (list-buffers): Move C-x C-b binding from
11325 buff-menu.el to bindings.el.
11327 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11328 :advertised-binding feature.
11330 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11332 * progmodes/compile.el (compilation-internal-error-properties):
11333 Calculate start position correctly when end-col is set but
11334 end-line is not (Bug#11382).
11336 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11338 * man.el (Man-unindent): Use text-property-default-nonsticky to
11339 prevent untabify from inheriting face properties (Bug#11408).
11341 2012-05-05 Stefan Merten <smerten@oekonux.de>
11343 * textmodes/rst.el: Major merge with upstream development up to
11344 Docutils SVN r7399 / rst.el V1.2.1.
11346 Clarify maintainership and authors.
11348 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11349 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11350 (rst-official-version, rst-official-cvs-rev, rst-version)
11351 (rst-package-emacs-version-alist): New functions and variables
11352 for version information.
11354 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11355 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11356 (rst-mode-syntax-table, rst-mode): New and corrected functions
11357 and variables representing reStructuredText features.
11359 (rst-re): New function for reStructuredText regexes. Use in
11362 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11363 (rst-mode-map): Rebind keys.
11365 (rst-mode-lazy, rst-font-lock-keywords)
11366 (rst-font-lock-extend-region)
11367 (rst-font-lock-extend-region-internal)
11368 (rst-font-lock-extend-region-extend)
11369 (rst-font-lock-find-unindented-line-limit)
11370 (rst-font-lock-find-unindented-line-match)
11371 (rst-adornment-level, rst-font-lock-adornment-level)
11372 (rst-font-lock-adornment-match)
11373 (rst-font-lock-handle-adornment-pre-match-form)
11374 (rst-font-lock-handle-adornment-matcher): Major revision of
11375 font-locking. Integrate with other code. Use `jit-lock-mode'.
11377 (rst-preferred-adornments, rst-adjust-hook)
11378 (rst-new-adornment-down, rst-preferred-bullets)
11379 (rst-preferred-bullets, rst-indent, rst-indent-width)
11380 (rst-indent-field, rst-indent-literal-normal)
11381 (rst-indent-literal-minimized, rst-indent-comment): Change,
11382 extend and improve customization.
11384 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11385 (rst-normalize-cursor-position, rst-get-decoration)
11386 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11387 (rst-rstrip, rst-toc-insert-find-delete-contents)
11388 (rst-shift-fill-region, rst-compute-bullet-tabs)
11389 (rst-debug-print-tabs, rst-debug-mark-found)
11390 (rst-shift-region-guts, rst-shift-region-right)
11391 (rst-shift-region-left, rst-use-char-classes)
11392 (rst-font-lock-keywords-function)
11393 (rst-font-lock-indentation-point)
11394 (rst-font-lock-find-unindented-line-begin)
11395 (rst-font-lock-find-unindented-line-end)
11396 (rst-font-lock-find-unindented-line)
11397 (rst-font-lock-adornment-point, rst-font-lock-level)
11398 (rst-adornment-level-alist): Remove functions and variables.
11400 (rst-compare-adornments, rst-get-adornment-match)
11401 (rst-suggest-new-adornment, rst-get-adornments-around)
11402 (rst-adornment-complete-p, rst-get-next-adornment)
11403 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11404 (rst-straighten-adornments): Standardize function names to
11405 use "adornment" instead of "decoration". Correct callers.
11406 Similar standardizing in many places.
11408 (rst-update-section, rst-adjust, rst-promote-region)
11409 (rst-enumerate-region, rst-bullet-list-region)
11410 (rst-repeat-last-character): Correct use of `interactive'.
11412 (rst-classify-adornment, rst-find-all-adornments)
11413 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11414 (rst-find-leftmost-column, rst-repeat-last-character):
11415 Refactor functions.
11417 (rst-find-title-line, rst-reset-section-caches)
11418 (rst-get-adornments-around, rst-adjust-adornment-work)
11419 (rst-arabic-to-roman, rst-roman-to-arabic)
11420 (rst-insert-list-pos, rst-insert-list-new-item)
11421 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11424 (rst-all-sections, rst-section-hierarchy)
11425 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11428 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11429 configuration instead of only buffer. Change where necessary.
11431 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11432 (rst-shift-region, rst-adaptive-fill): New functions for
11433 indentation and filling.
11435 (rst-comment-line-break, rst-comment-indent)
11436 (rst-comment-insert-comment, rst-comment-region)
11437 (rst-uncomment-region): New functions for handling comments.
11439 (rst-compile): Quote shell arguments.
11441 (rst-compile-pdf-preview, rst-compile-slides-preview):
11442 Delete temporary files after use.
11444 2012-05-05 Glenn Morris <rgm@gnu.org>
11446 * calendar/cal-html.el: Optionally include holidays in the output.
11447 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11448 (cal-html-holidays): New option.
11449 (cal-html-css-default): Add holiday entry.
11450 (holiday-in-range): Autoload it.
11451 (cal-html-htmlify-entry): Add optional class argument.
11452 (cal-html-htmlify-list): Add optional holidays argument.
11453 (cal-html-insert-agenda-days): Include holidays in the output.
11454 (cal-html-one-month): Maybe include holidays.
11456 * calendar/holidays.el (holiday-in-range):
11457 Move here from cal-tex-list-holidays.
11458 * calendar/cal-tex.el (cal-tex-list-holidays):
11459 Make it an obsolete alias for holiday-in-range. Update all callers.
11461 2012-05-05 Chong Yidong <cyd@gnu.org>
11463 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11466 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11468 * files.el (file-auto-mode-skip): New var.
11469 (set-auto-mode-1): Use it.
11471 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11473 * repeat.el: Use lexical-binding.
11474 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11475 (repeat-undo-count): Remove.
11477 * progmodes/octave-mod.el (octave-abbrev-start):
11478 * progmodes/f90.el (f90-abbrev-start):
11479 * face-remap.el (text-scale-adjust):
11480 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11482 * emacs-lisp/pcase.el (pcase--let*): New function.
11483 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11485 (pcase--split-pred): Be more clever about ruling out overlap between
11486 a predicate and some constant pattern.
11487 (pcase--q1): Use `null' instead of (eq foo nil).
11489 * subr.el (setq-local, defvar-local): New macros.
11490 (kbd): Redefine as an alias.
11491 (with-selected-window): Leave unrelated frames alone.
11492 (set-temporary-overlay-map): New function.
11494 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11496 * subr.el (user-error): New function.
11497 * window.el (switch-to-buffer):
11498 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11499 (smerge-match-conflict):
11500 * simple.el (previous-matching-history-element)
11501 (next-matching-history-element, goto-history-element, undo-more)
11503 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11504 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11505 (next-file, tags-loop-scan, list-tags, complete-tag):
11506 * progmodes/compile.el (compilation-loop):
11507 * mouse.el (mouse-minibuffer-check):
11508 * man.el (Man-bgproc-sentinel, Man-goto-page):
11509 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11510 (Info-history-forward, Info-follow-reference, Info-menu)
11511 (Info-extract-menu-item, Info-extract-menu-counting)
11512 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11513 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11514 (Info-next-reference, Info-prev-reference, Info-index)
11515 (Info-index-next, Info-follow-nearest-node)
11516 (Info-copy-current-node-name):
11517 * imenu.el (imenu--make-index-alist)
11518 (imenu-default-create-index-function, imenu-add-to-menubar):
11519 * files.el (basic-save-buffer, recover-file):
11520 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11521 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11522 (checkdoc-message-text, checkdoc-defun):
11523 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11524 * cus-edit.el (customize-changed-options, customize-rogue)
11525 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11526 (custom-variable-mark-to-reset-standard)
11527 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11529 * completion.el (check-completion-length):
11530 * comint.el (comint-search-arg)
11531 (comint-previous-matching-input-string-position)
11532 (comint-previous-matching-input)
11533 (comint-replace-by-expanded-history-before-point, comint-send-input)
11534 (comint-copy-old-input, comint-backward-matching-input)
11535 (comint-goto-process-mark, comint-set-process-mark):
11536 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11537 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11539 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11541 * dabbrev.el (dabbrev--ignore-case-p): New function.
11542 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11545 * files.el (automount-dir-prefix): Mark as obsolete.
11547 2012-05-04 Glenn Morris <rgm@gnu.org>
11549 * patcomp.el, play/bruce.el: Move to obsolete/.
11551 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11553 Fix minor Y10k bugs.
11554 * arc-mode.el (archive-unixdate):
11555 * autoinsert.el (auto-insert-alist):
11556 * calc/calc-forms.el (math-this-year):
11557 * emacs-lisp/copyright.el (copyright-current-year)
11558 (copyright-update-year, copyright):
11559 * tar-mode.el (tar-clip-time-string):
11560 * time.el (display-time-update):
11561 Don't assume years have 4 digits.
11563 2012-05-04 Chong Yidong <cyd@gnu.org>
11565 * dos-w32.el (file-name-buffer-file-type-alist)
11566 (direct-print-region-use-command-dot-com):
11567 * ffap.el (ffap-menu-regexp):
11568 * find-file.el (ff-special-constructs):
11569 * follow.el (follow-debug):
11570 * forms.el (forms--debug):
11571 * iswitchb.el (iswitchb-all-frames):
11572 * ido.el (ido-all-frames):
11573 * emacs-lisp/timer.el (timer-max-repeats):
11574 * mail/feedmail.el (feedmail-mail-send-hook)
11575 (feedmail-mail-send-hook-queued):
11576 * mail/footnote.el (footnote-signature-separator):
11577 * mail/mailabbrev.el (mail-alias-separator-string)
11578 (mail-abbrev-mode-regexp):
11579 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11580 * progmodes/idlwave.el (idlwave-libinfo-file)
11581 (idlwave-default-completion-case-is-down)
11582 (idlwave-library-routines): Convert defvars to defcustoms.
11584 * mail/rmail.el (rmail-decode-mime-charset):
11585 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11586 (idlwave-shell-fix-inserted-breaks)
11587 (idlwave-shell-activate-alt-keybindings)
11588 (idlwave-shell-use-breakpoint-glyph):
11589 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11591 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11593 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11595 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11597 * progmodes/verilog-mode.el (font-lock-keywords):
11598 Fix mis-highligting auto. Reported by Craig Barner.
11599 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11600 defines from global name space. Reported by Dan Dever.
11601 (verilog-auto-reset, verilog-auto-reset-widths)
11602 (verilog-auto-tieoff): Support using unbased numbers for
11603 AUTORESET and AUTOTIEOFF.
11604 (verilog-submit-bug-report): Update variable list.
11605 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11606 parenthesis from not matching. Reported by Michael Rytting.
11607 (verilog-auto-template-lint): Fix hash error when linting modules
11608 with no used templates.
11609 (verilog-warn, verilog-warn-error)
11610 (verilog-warn-fatal): When non-interactive report multiple
11611 warnings before exiting. Suggested by Brad Dobbie.
11612 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11613 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11614 to report unused template errors. Reported by Brad Dobbie.
11615 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11616 nets, bug438. Reported by Vns Blore.
11617 (verilog-auto-inout-module, verilog-auto-reg)
11618 (verilog-read-decls, verilog-read-sub-decls-sig)
11619 (verilog-signals-edit-wire-reg, verilog-signals-with):
11620 Fix passing of Verilog data types in ANSI input/output ports
11621 such as "output logic" into the AUTOs. Special case "wire" and
11622 "reg" for backwards compatibility presuming Verilog 2001.
11623 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11624 (verilog-preprocess): Fix replication of preprocess output.
11625 Reported by Brad Dobbie.
11626 (verilog-auto-inst-interfaced-ports):
11627 Create verilog-auto-inst-interfaced-ports, bug429.
11628 Reported by Julian Gorfajn.
11629 (verilog-after-save-font-hook)
11630 (verilog-before-save-font-hook): New variable.
11631 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11632 (verilog-save-font-mods): Wrap disabling fontification, reported
11634 (verilog-do-indent, verilog-pretty-declarations-auto)
11635 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11636 Reported by Pierre-David Pfister.
11637 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11638 of class declarations, bug292. Reported by Kevin Heilman.
11639 (verilog-read-decls): Fix 'parameter type' not appearing in
11640 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11641 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11642 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11643 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11644 Reported by David Kravitz.
11646 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11648 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11649 assignment with tests in ifs and for loops.
11650 (verilog-extended-complete-re, verilog-complete-reg): Change so
11651 that DPI inport functions don't look like fuction declarations.
11652 (verilog-pretty-expr): Don't line up assignment
11653 operations to the test and increment in if and for loops
11654 (verilog-extended-complete-re, verilog-complete-reg): Change so
11655 that DPI inport functions don't look like fuction declarations.
11657 2012-05-03 Kenichi Handa <handa@m17n.org>
11659 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11660 decoding, and show a warning message without signaling an error
11663 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * emacs-lisp/bytecomp.el
11666 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11667 since cconv.el might have introduced :fun-body, internal-make-closure,
11668 and friends for bytecomp to handle (bug#11391).
11669 * custom.el (defcustom): Avoid ((λ ..) ..).
11671 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11673 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11675 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11677 * notifications.el (dbus-debug):
11678 * term/linux.el (gpm-mouse-enable):
11679 * term/screen.el (xterm-register-default-colors): Declare.
11681 2012-05-02 Chong Yidong <cyd@gnu.org>
11683 * cus-start.el (gc-cons-percentage, exec-suffixes)
11684 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11685 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11686 (make-cursor-line-fully-visible, void-text-area-pointer)
11687 (font-list-limit): Add customization data.
11689 * allout.el (allout-exposure-change-functions)
11690 (allout-structure-added-functions)
11691 (allout-structure-deleted-functions)
11692 (allout-structure-shifted-functions): Rename abnormal hooks from
11693 *-hook, and convert to defcustoms.
11694 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11695 Convert to defcustoms.
11696 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11698 * allout-widgets.el: Hook callers changed.
11700 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11702 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11703 the yanked message in preference to the default value of
11704 buffer-file-coding-system.
11706 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11708 * window.el (display-buffer--action-function-custom-type):
11711 2012-05-02 Alan Mackenzie <acm@muc.de>
11713 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11715 2012-05-01 Glenn Morris <rgm@gnu.org>
11717 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11719 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11721 * cus-edit.el (custom-variable-documentation): Simplify with format.
11723 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11724 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * simple.el (suggest-key-bindings, execute-extended-command):
11727 Move from keyboard.c.
11729 2012-05-01 Chong Yidong <cyd@gnu.org>
11731 * follow.el: Eliminate advice.
11732 (set-process-filter, process-filter, sit-for): Advice deleted.
11733 (follow-mode-off-hook): Obsolete hook removed.
11734 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11736 (follow-auto): Use a :set function.
11737 (follow-mode): Rewritten. Don't advise process filters.
11738 (follow-switch-to-current-buffer-all, follow-scroll-up)
11739 (follow-scroll-down): Assume follow-mode is bound.
11740 (follow-comint-scroll-to-bottom)
11741 (follow-align-compilation-windows): New functions.
11742 (follow--window-sorter): New function.
11743 (follow-all-followers): Use it to explicitly sort windows by their
11744 positions; don't make assumptions about next-window order.
11745 (follow-windows-start-end, follow-delete-other-windows-and-split)
11746 (follow-calc-win-start): Doc fix.
11747 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11748 vertical-motion unnecessarily.
11749 (follow-adjust-window): New function.
11750 (follow-post-command-hook): Use it.
11751 (follow-call-set-process-filter, follow-call-process-filter)
11752 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11753 (follow-stop-intercept-process-output, follow-generic-filter):
11755 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11756 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11757 New functions, replacing advice on scroll-bar-* commands.
11758 (follow-mwheel-scroll): New function (Bug#4112).
11760 * comint.el (comint-adjust-point): New function.
11761 (comint-postoutput-scroll-to-bottom): Use it.
11762 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11764 2012-05-01 Glenn Morris <rgm@gnu.org>
11766 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11767 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11768 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11769 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11770 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11771 Remove no-byte-compile setting.
11773 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11775 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11776 all-completions code to not return a number in the last cdr.
11778 2012-04-30 Leo Liu <sdl.web@gmail.com>
11780 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11783 2012-04-29 Chong Yidong <cyd@gnu.org>
11785 * follow.el (follow-calc-win-end): Rewrite to handle partial
11786 screen lines correctly (Bug#8390).
11787 (follow-avoid-tail-recenter): Minor cleanup.
11789 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11791 Avoid the obsolete `assoc' package.
11792 * speedbar.el (speedbar-refresh): Avoid adelete.
11793 (speedbar-file-lists): Simplify and avoid aput.
11794 * man.el (Man--sections, Man--refpages): New vars, replacing
11795 Man-sections-alist and Man-refpages-alist.
11796 (Man-build-section-alist, Man-build-references-alist):
11797 Use them; avoid aput.
11798 (Man--last-section, Man--last-refpage): New vars.
11799 (Man-follow-manual-reference): Use them.
11800 Use the `default' arg of completing-read.
11801 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11803 2012-04-27 Chong Yidong <cyd@gnu.org>
11805 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11807 * startup.el (x-apply-session-resources): New function.
11809 * term/ns-win.el (ns-initialize-window-system):
11810 * term/w32-win.el (w32-initialize-window-system):
11811 * term/x-win.el (x-initialize-window-system): Use it to properly
11812 set menu-bar-mode and other vars from X resources, even if the
11813 initial frame is not a window-system frame (Bug#2299).
11815 * subr.el (read-key): Avoid running filter function when setting
11816 up temporary tool bar entries (Bug#9922).
11818 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11820 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11823 2012-04-27 Chong Yidong <cyd@gnu.org>
11825 * select.el (xselect--encode-string): New function, split from
11826 xselect-convert-to-string.
11827 (xselect-convert-to-string): Use it.
11828 (xselect-convert-to-filename, xselect-convert-to-os)
11829 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11830 returned strings are properly encoded (Bug#11315).
11832 2012-04-27 Chong Yidong <cyd@gnu.org>
11834 * simple.el (delete-active-region): Move to killing custom group.
11836 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11838 * progmodes/which-func.el (which-func-current): Quote %
11839 characters for mode-line processing.
11841 2012-04-27 Chong Yidong <cyd@gnu.org>
11843 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11844 reaching eob (Bug#11286).
11846 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11848 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11849 (gdb): Make it buffer-local and init to zero.
11850 (gdb-control-commands-regexp): New variable.
11851 (gdb-send): Don't wrap in "-interpreter-exec console" if
11852 gdb-control-level is positive. Increment gdb-control-level
11853 whenever the command matches gdb-control-commands-regexp, and
11854 decrement it each time the command is "end". (Bug#11279)
11856 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11858 * window.el (adjust-window-trailing-edge, enlarge-window)
11859 (shrink-window, window-resize):
11860 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11861 windows (Bug#11276).
11863 2012-04-27 Chong Yidong <cyd@gnu.org>
11865 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11866 fix "missing prefix" warning. All callers changed.
11868 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11870 * emacs-lisp/assoc.el: Move to obsolete/.
11872 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11874 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11876 * term/ns-win.el (ns-define-service):
11877 * progmodes/pascal.el (pascal-goto-defun):
11878 * progmodes/js.el (js--read-tab):
11879 * progmodes/etags.el (tags-lazy-completion-table):
11880 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11881 * emacs-lisp/ewoc.el (ewoc--wrap):
11882 * emacs-lisp/assoc.el (aput, adelete, amake):
11883 * doc-view.el (doc-view-convert-current-doc):
11884 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11886 2012-04-26 Chong Yidong <cyd@gnu.org>
11888 * image.el (image-type-from-buffer): Only return supported image
11891 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11892 value, for symmetry with diff-end-of-hunk.
11893 (diff-split-hunk, diff-find-source-location)
11894 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11895 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11896 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11897 compute the relevant hunk or file properly (Bug#6005).
11898 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11900 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11909 * vc/vc.el: Replace lexical-let by lexical-binding.
11910 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11911 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11912 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11914 2012-04-26 Chong Yidong <cyd@gnu.org>
11916 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11917 (diff-mode-shared-map): Bind it to / and [remap undo].
11919 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11920 (ediff-window-setup-function): Use it as the default, to set up
11921 windows based on whether the current frame is graphical (Bug#2138).
11922 (ediff-choose-window-setup-function-automatically): Make obsolete.
11924 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11926 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11928 * ffap.el: Remove old code for obsolete package.
11929 (ffap-complete-as-file-p): Remove.
11931 Use completion-table-with-quoting for comint and pcomplete.
11932 * comint.el (comint--unquote&requote-argument)
11933 (comint--unquote-argument, comint--requote-argument): New functions.
11934 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11935 (comint-quote-filename): Use regexp-opt-charset.
11936 (comint--common-suffix, comint--common-quoted-suffix)
11937 (comint--table-subvert): Remove.
11938 (comint-unquote-function, comint-requote-function): New vars.
11939 (comint--complete-file-name-data): Use them with
11940 completion-table-with-quoting.
11941 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11942 * pcomplete.el (pcomplete-arg-quote-list)
11943 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11944 (pcomplete-unquote-argument-function): Default to non-nil.
11945 (pcomplete-unquote-argument): Simplify.
11946 (pcomplete--common-quoted-suffix): Remove.
11947 (pcomplete-requote-argument-function): New var.
11948 (pcomplete--common-suffix): New function.
11949 (pcomplete-completions-at-point): Use completion-table-with-quoting
11950 and completion-table-subvert.
11952 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11953 (minibuffer--double-dollars): Preserve properties.
11954 (completion--sifn-requote): New function.
11955 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11957 * minibuffer.el: Add support for completion of quoted/escaped data.
11958 (completion-table-with-quoting, completion-table-subvert): New funs.
11959 (completion--twq-try, completion--twq-all): New functions.
11960 (completion--nth-completion): New function.
11961 (completion-try-completion, completion-all-completions): Use it.
11963 2012-04-25 Leo Liu <sdl.web@gmail.com>
11965 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11966 Use compilation-message if available to find real filename.
11968 2012-04-25 Chong Yidong <cyd@gnu.org>
11970 * vc/diff-mode.el (diff-setup-whitespace): New function.
11971 (diff-mode): Use it.
11973 * vc/diff.el (diff-sentinel):
11974 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11975 Whitespace mode variables based on diff style (Bug#8612).
11977 2012-04-25 Leo Liu <sdl.web@gmail.com>
11979 * progmodes/python.el (python-send-region): Add suffix .py to the
11982 * files.el (auto-mode-alist): Use javascript-mode instead.
11984 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11986 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11988 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11989 (soap-resolve-references-for-array-type): Hack to prevent self
11990 references, see Bug#9.
11991 (soap-parse-envelope): Report the contents of the 'detail' node
11992 when receiving a fault reply.
11993 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11995 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11996 (soap-inspect-simple-type): New function.
11998 * net/soap-client.el (soap-simple-type): New struct.
11999 (soap-default-xsd-types, soap-default-soapenc-types)
12000 (soap-decode-basic-type, soap-encode-basic-type):
12001 support unsignedInt and double basic types.
12002 (soap-resolve-references-for-simple-type)
12003 (soap-parse-simple-type, soap-encode-simple-type): New function.
12004 (soap-parse-schema): Parse xsd:simpleType declarations.
12006 * net/soap-client.el (soap-default-xsd-types)
12007 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12008 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12009 the local name of "soapenc:Array".
12010 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12011 decoding integer, byte and anyURI xsd types.
12013 2012-04-25 Chong Yidong <cyd@gnu.org>
12015 * cus-edit.el (custom-buffer-create-internal): Update header text.
12017 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12019 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12020 settings on 'system-type', not on 'window-system'. On MS-Windows,
12021 set interactive-mode on in GDB.
12023 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12025 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12026 (ruby-syntax-propertize-regexp): Remove.
12027 (ruby-syntax-propertize-function): Split regexp into chunks.
12028 Match following code directly.
12030 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12032 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12033 (ruby-syntax-propertize-regexp): New function.
12034 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12035 by a special keyword.
12037 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12038 (ruby-syntax-general-delimiters-goto-beg)
12039 (ruby-syntax-propertize-general-delimiters): New functions.
12040 (ruby-syntax-propertize-function): Use them to handle GDL.
12041 (ruby-font-lock-keywords): Move old handling of GDL...
12042 (ruby-font-lock-syntactic-keywords): .. to here.
12043 (ruby-calculate-indent): Adjust indentation for GDL.
12045 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12047 * notifications.el (top): Remove unneeded declarations.
12048 (notifications-specification-version): Change to "1.2".
12049 (notifications-interface, notifications-notify-method)
12050 (notifications-close-notification-method): Fix docstring.
12051 (notifications-get-capabilities-method): New defconst.
12052 (notifications-notify): Add :action-items, :resident and
12053 :transient hints. Change "image_data" to "image-data" and
12054 "image_path" to "image-path".
12055 (notifications-get-capabilities): New defun.
12057 2012-04-24 Leo Liu <sdl.web@gmail.com>
12059 * progmodes/python.el: Move hideshow setup to the end.
12061 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12063 * window.el (handle-select-window): Clear echo area since this is
12064 no more done by read_char (Bug#11304).
12066 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12068 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12069 and `/ M' to filter-derived-mode.
12070 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12071 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12072 (ibuffer-mark-by-mode): Use default rather than initial-input.
12073 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12075 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12077 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12078 (ibuffer-filter-by-derived-mode): New filter.
12079 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12081 2012-04-23 Andreas Politz <politza@fh-trier.de>
12083 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12085 2012-04-23 Chong Yidong <cyd@gnu.org>
12087 * cus-edit.el (customize-apropos, customize-apropos-options):
12088 Disable matching of non-option variables (Bug#11176).
12089 (customize-option, customize-option-other-window)
12090 (customize-changed-options): Doc fix.
12091 (customize-apropos-options, customize-apropos-faces)
12092 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12094 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12095 Fix word list splitting (Bug#11132).
12096 (apropos-symbol, apropos-keybinding, apropos-label)
12097 (apropos-property, apropos-function-button)
12098 (apropos-variable-button, apropos-misc-button): New faces.
12099 (apropos-symbol-face, apropos-keybinding-face)
12100 (apropos-label-face, apropos-property-face, apropos-match-face):
12101 Variables removed (Bug#8396).
12102 (apropos-library-button, apropos-format-plist, apropos-print)
12103 (apropos-print-doc, apropos-describe-plist): Callers changed.
12105 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12107 * net/xesam.el (xesam-mode-map): Use let-bound map in
12108 initialization. (Bug#11292)
12110 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12112 Preserve ispell session localwords when switching back to
12115 * textmodes/ispell.el (ispell-buffer-session-localwords):
12116 New buffer-local variable to hold buffer session localwords.
12117 (ispell-kill-ispell): Add option 'clear to delete session
12119 (ispell-command-loop, ispell-change-dictionary)
12120 (ispell-buffer-local-words): Preserve session localwords when
12123 * textmodes/flyspell.el (flyspell-process-localwords)
12124 (flyspell-do-correct): Preserve session localwords when needed.
12126 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12128 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12129 using obsolete `translation-table-for-input'.
12130 (ispell-word, ispell-process-line, ispell-complete-word):
12131 Use plain `insert' instead of removed `ispell-insert-word'.
12133 2012-04-22 Chong Yidong <cyd@gnu.org>
12135 * cus-edit.el (custom-variable-menu)
12136 (custom-variable-reset-saved, custom-face-menu)
12137 (custom-face-reset-saved): If there is no saved value, make the
12138 "reset-saved" operation bring back the default (Bug#9509).
12139 (custom-face-state): Properly detect themed faces.
12141 * faces.el (face-spec-set): Stop supporting deprecated form of
12144 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12146 Move functions from C to Lisp. Make non-blocking method calls
12147 the default. Implement further D-Bus standard interfaces.
12149 * net/dbus.el (dbus-message-internal): Declare function.
12150 Remove unneeded function declarations.
12151 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12152 (dbus-message-type-method-return, dbus-message-type-error)
12153 (dbus-message-type-signal): Declare variables. Remove local
12155 (dbus-interface-dbus, dbus-interface-peer)
12156 (dbus-interface-introspectable, dbus-interface-properties)
12157 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12159 (dbus-interface-objectmanager): New defconst.
12160 (dbus-call-method, dbus-call-method-asynchronously)
12161 (dbus-send-signal, dbus-method-return-internal)
12162 (dbus-method-error-internal, dbus-register-service)
12163 (dbus-register-signal, dbus-register-method): New defuns, moved
12165 (dbus-call-method-handler, dbus-setenv)
12166 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12168 (dbus-call-method-non-blocking): Make it an obsolete function.
12169 (dbus-unregister-object, dbus-unregister-service)
12170 (dbus-handle-event, dbus-register-property)
12171 (dbus-property-handler): Obey the new structure of
12172 `bus-registered-objects'.
12173 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12174 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12175 Use `dbus-call-method'.
12177 2012-04-22 Chong Yidong <cyd@gnu.org>
12179 * cus-edit.el (custom-commands, custom-reset-menu)
12180 (Custom-reset-standard): Tweak labels.
12181 (custom-reset-button-menu): Change default to t.
12182 (custom-buffer-create-internal): For the custom-reset-button-menu
12183 case, put the revert button first.
12184 (custom-group-subtitle): New face.
12185 (custom-group-value-create): Align docstring to a specific column.
12187 * wid-edit.el (widget-documentation-link-add): Don't handle
12188 indentation in this function.
12189 (widget-documentation-string-indent-to): New function.
12190 (widget-documentation-string-value-create): Use it.
12192 * autorevert.el (auto-revert):
12193 * epg-config.el (epg):
12194 * ibuffer.el (ibuffer):
12197 * eshell/eshell.el (eshell):
12198 * net/ange-ftp.el (ange-ftp):
12199 * progmodes/ebnf2ps.el (postscript):
12200 * progmodes/flymake.el (flymake):
12201 * progmodes/prolog.el (prolog):
12202 * progmodes/verilog-mode.el (verilog-mode):
12203 * progmodes/which-func.el (which-func):
12204 * term/xterm.el (xterm):
12205 * textmodes/picture.el (picture):
12206 * textmodes/tildify.el (tildify):
12207 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12208 customization buffers.
12210 2012-04-22 Alan Mackenzie <acm@muc.de>
12212 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12213 Adding a ) can hide the resulting (..) from searches. Fix it.
12214 Bound the backward search to the position of the existing (.
12216 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12218 * progmodes/verilog-mode.el (verilog-mode): Check whether
12219 which-func-modes is t before adding verilog-mode.
12220 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12222 2012-04-21 Leo Liu <sdl.web@gmail.com>
12224 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12226 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12228 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12229 filling of the last column of a table (Bug#5635).
12230 (woman-find-next-control-line): New arg, specifying an additional
12231 regexp component for the control line.
12232 (woman2-roff-buffer): Use it.
12233 (woman-break-table): New function.
12234 (woman2-TS): Use it.
12236 2012-04-21 Chong Yidong <cyd@gnu.org>
12238 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12239 (woman-horizontal-escapes, woman-negative-vertical-space)
12240 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12241 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12243 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12245 * minibuffer.el (completion-file-name-table): Complete user names.
12247 2012-04-20 Leo Liu <sdl.web@gmail.com>
12249 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12252 2012-04-20 Chong Yidong <cyd@gnu.org>
12254 * server.el (server-execute): Respect initial-buffer-choice if it
12255 is a string and there are no files to open (Bug#2825).
12256 (server-create-window-system-frame, server-create-tty-frame):
12257 Don't switch buffers here.
12258 (server-process-filter): Only try to open a window system frame if
12259 compiled with graphical support (Bug#8314).
12261 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12263 * battery.el (battery-echo-area-format): Display remaining time
12264 for sysfs backend too (Bug#11269).
12265 (battery-linux-sysfs): Fix conditional for the charge.
12267 2012-04-20 Chong Yidong <cyd@gnu.org>
12269 * progmodes/gdb-mi.el (gdb): Revert previous change.
12270 (gdb-inferior-io--init-proc): New function.
12271 (gdb-init-1): Use it.
12272 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12273 responsible for allocating a new pty and hooking it to gdb when
12274 the old pty gets an EIO due to process exit.
12275 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12276 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12277 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12279 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12281 * window.el (window-min-size, window-sizable, window-min-delta)
12282 (window-max-delta, window--resizable, window-resizable)
12283 (window-total-size, window-full-height-p, window-full-width-p)
12284 (window-in-direction, window--resize-mini-window, window-resize)
12285 (window--resize-child-windows-normal)
12286 (window--resize-child-windows, window--resize-siblings)
12287 (window--resize-this-window, adjust-window-trailing-edge)
12288 (enlarge-window, shrink-window): Doc fixes.
12290 2012-04-20 Chong Yidong <cyd@gnu.org>
12292 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12293 New function to call delete-process on the gdb-inferior buffer's pty.
12294 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12295 pty process (Bug#11273).
12296 (gdb-update): New arg to suppress talking to the gdb process.
12297 (gdb-done-or-error): Use it.
12298 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12299 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12300 sentinel not being called.
12302 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12304 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12306 2012-04-20 Glenn Morris <rgm@gnu.org>
12308 * net/network-stream.el (open-network-stream): Doc fix.
12310 2012-04-20 Chong Yidong <cyd@gnu.org>
12312 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12314 2012-04-20 Alan Mackenzie <acm@muc.de>
12316 Ensure searching for keywords is case sensitive.
12318 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12319 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12320 (c-defun-name, c-mark-function, c-cpp-define-name)
12321 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12322 (c-context-line-break): Bind case-fold-search to nil.
12324 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12325 Bind case-fold-search to nil.
12327 2012-04-20 Chong Yidong <cyd@gnu.org>
12329 * mail/sendmail.el (mail-bury): Call return action with the right
12330 Rmail buffer (Bug#11242).
12332 * server.el (server-process-filter): Handle corner case where both
12333 tty and nowait options are present (Bug#11102).
12335 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12337 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12338 (top level): Put into the executable the ident-style '$Id:' tag on
12339 windows-nt as well.
12341 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12343 * electric.el (electric-indent-post-self-insert-function): Check that
12344 electric-indent-mode is enabled in current buffer.
12346 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12348 * imenu.el (imenu-progress-message): Restore; it is "used" in
12349 erc/erc-imenu.el and net/snmp-mode.el.
12351 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12353 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12354 (mouse-avoidance-nudge-mouse): Remove unused binding.
12356 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12358 * descr-text.el (describe-char):
12359 * progmodes/python.el (python-describe-symbol):
12360 Don't call `toggle-read-only', set `buffer-read-only'.
12362 * imenu.el (imenu-default-goto-function): Mark unused args.
12363 (imenu-progress-message): Remove obsolete macro; all callers changed.
12365 * subr.el (keymap-canonicalize): Remove unused binding.
12366 (read-passwd): Mark unused arg.
12368 * tutorial.el (tutorial--display-changes): Remove unused binding.
12369 (tutorial--save-tutorial-to): Remove unused variable.
12371 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12372 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12373 (package-generate-autoloads, package-menu--generate)
12374 (package-menu--find-upgrades): Remove unused bindings.
12376 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12377 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12378 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12379 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12380 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12381 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12382 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12383 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12384 (cua-delete-char-rectangle): Mark unused args.
12385 (cua-align-rectangle): Remove unused binding.
12387 * mail/rmail.el (compilation--message->loc)
12388 (epa--find-coding-system-for-mime-charset): Declare.
12390 * net/dbus.el (dbus-register-service): Declare.
12391 (dbus-name-owner-changed-handler): Remove unused binding.
12393 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12394 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12395 (nxml-scan-backward-within): Mark unused arg.
12396 (nxml-dynamic-markup-word): Remove unused binding.
12398 * mouse.el (mouse-menu-major-mode-map):
12399 * emacs-lisp/authors.el (authors-scan-change-log)
12400 (authors-add-to-author-list):
12401 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12402 * emacs-lisp/smie.el (smie-auto-fill):
12403 * mail/sendmail.el (mail-bury):
12404 * mail/unrmail.el (unrmail):
12405 * net/tls.el (open-tls-stream):
12406 * textmodes/picture.el (picture-mouse-set-point):
12407 Remove unused bindings.
12409 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12411 * net/tramp.el (tramp-action-password): Let-bind
12412 `enable-recursive-minibuffers' to t.
12414 2012-04-18 Sam Steingold <sds@gnu.org>
12416 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12417 instead of 'string to accommodate values like [f11].
12418 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12419 * progmodes/gdb-mi.el: Likewise.
12421 2012-04-18 Leo Liu <sdl.web@gmail.com>
12423 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12425 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12428 2012-04-18 Chong Yidong <cyd@gnu.org>
12430 * simple.el (line-move): Use forward-line if in batch mode
12433 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12435 * files.el (after-find-file): Do not try to add a final newline if
12436 the buffer is read-only (Bug#11156).
12438 2012-04-17 Richard Stallman <rms@gnu.org>
12440 * mail/rmail.el (rmail-start-mail):
12441 Pass (rmail-mail-return...) for the return-action.
12442 Pass (rmail-yank-current-message...) for the yank-action.
12443 (rmail-yank-current-message): New function.
12444 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12445 (rmail-reply): Likewise.
12446 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12448 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12449 buffer, not the last. Reject temp buffers. Use the rmail-mode
12450 buffer, not newbuf.
12452 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12454 * server.el (server-ensure-safe-dir): Simplify.
12456 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12458 * emacs-lisp/smie.el: Provide smarter auto-filling.
12459 (smie-auto-fill): New function.
12460 (smie-setup): Use it.
12462 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12464 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12466 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12467 (comment-indent): Use it.
12469 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12471 * ses.el: The overall change is to add cell renaming, that is
12472 setting fancy names for cell symbols other than name matching
12473 "\\`[A-Z]+[0-9]+\\'" regexp .
12474 (ses-localvars): Add ses--renamed-cell-symb-list.
12475 (ses-create-cell-variable): New defun.
12476 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12477 (ses-relocate-formula): Relocate formulas only for cells the
12478 symbols of which are not renamed, i.e. symbols whose names do not
12479 match regexp "\\`[A-Z]+[0-9]+\\'".
12480 (ses-relocate-all): Relocate values only for cells the symbols of
12481 which are not renamed.
12482 (ses-load): Create cells variables as the (ses-cell ...) are read,
12483 in order to check row col consistency with cell symbol name only
12484 for cells that are not renamed.
12485 (ses-replace-name-in-formula): New defun.
12486 (ses-rename-cell): New defun.
12488 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12490 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12491 New option (bug#11118).
12492 (perl-calculate-indent): Respect it.
12494 2012-04-17 Glenn Morris <rgm@gnu.org>
12496 * dired-aux.el (dired-mark-read-string): Doc fix.
12498 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12500 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12501 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12503 2012-04-17 Glenn Morris <rgm@gnu.org>
12505 * mouse.el (mouse-drag-track):
12506 * speedbar.el (speedbar-frame-mode):
12507 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12509 2012-04-16 Leo Liu <sdl.web@gmail.com>
12511 * progmodes/python.el: Trivial cleanup.
12513 2012-04-16 Glenn Morris <rgm@gnu.org>
12515 * vc/vc.el (vc-string-prefix-p):
12516 * vc/pcvs-util.el (cvs-string-prefix-p):
12517 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12518 * mpc.el (mpc-string-prefix-p):
12519 Make all of these into obsolete aliases for string-prefix-p.
12521 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12523 * textmodes/two-column.el: Move custom options to the start.
12524 (frame-width): Remove compat definition.
12525 (2C-associate-buffer, 2C-dissociate):
12526 Use with-current-buffer rather than save-excursion.
12527 (2C-dissociate): Force a mode-line update.
12528 (2C-autoscroll): Use ignore-errors.
12530 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12533 * emacs-lisp/cl-extra.el (*random-state*):
12534 Remove unnecessary declaration.
12536 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12538 * play/cookie1.el (cookie-snarf):
12539 Give an explicit error if input file cannot be read.
12541 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12543 * progmodes/perl-mode.el (c-macro-expand):
12544 Remove unnecessary autoload (it is in loaddefs.el).
12546 * textmodes/picture.el (picture-desired-column)
12547 (picture-update-desired-column): Convert comments to doc-strings.
12548 (picture-substitute): Remove function.
12549 (picture-mode-map): Initialize in the defvar.
12551 * woman.el: Remove eval-after-load for tar-mode.
12552 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12553 (woman-tar-extract-file): Autoload it.
12555 * frame.el (automatic-hscrolling): Make this alias obsolete.
12557 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12559 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12560 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12561 (ispell-dictionary-base-alist): Revert to original XEmacs
12562 friendly version for default. [:alpha:] will be added in
12563 `ispell-set-spellchecker-params' if needed.
12565 2012-04-16 Chong Yidong <cyd@gnu.org>
12567 * image.el (imagemagick--file-regexp): New variable.
12568 (imagemagick-register-types): Use it.
12569 (imagemagick-types-inhibit): Add :set function. Allow new value
12570 of t to inhibit all types.
12572 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12573 so we can preload it.
12575 * loadup.el (fboundp): Preload regexp-opt, needed by
12576 imagemagick-register-types.
12578 2012-04-15 Chong Yidong <cyd@gnu.org>
12580 * frame.el (scrolling): Remove nearly unused customization group.
12582 * scroll-all.el (scroll-all-mode): Move to windows group.
12584 2012-04-15 Chong Yidong <cyd@gnu.org>
12586 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12588 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12590 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12591 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12593 2012-04-15 Glenn Morris <rgm@gnu.org>
12595 * simple.el (process-file-side-effects): Doc fix.
12597 2012-04-15 Glenn Morris <rgm@gnu.org>
12599 * international/mule-cmds.el (set-language-environment): Doc fix.
12601 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12603 * server.el (server-auth-key, server-generate-key): Doc fixes.
12604 (server-get-auth-key): Doc fix. Use `string-match-p'.
12605 (server-start): Reflow docstring.
12607 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12609 * server.el (server-generate-key): `called-interactively-p'
12610 requires a parameter.
12612 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12614 * server.el (server-auth-key): New variable.
12615 (server-generate-key, server-get-auth-key): New function.
12616 (server-start): Use the new variable and functions to allow
12617 setting a permanent server key (bug#9423).
12619 2012-04-14 Leo Liu <sdl.web@gmail.com>
12621 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12623 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12626 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12627 Emacs uses American spelling.
12629 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12631 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12632 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12633 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12634 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12636 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12638 * progmodes/which-func.el (which-func-modes): Change default.
12640 2012-04-14 Kim F. Storm <storm@cua.dk>
12642 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12643 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12645 2012-04-14 Chong Yidong <cyd@gnu.org>
12647 * custom.el (custom-theme-set-variables): Doc fix.
12649 2012-04-14 Glenn Morris <rgm@gnu.org>
12651 * international/mule.el (set-auto-coding-for-load): Doc fix.
12653 2012-04-14 Alan Mackenzie <acm@muc.de>
12655 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12656 imenu work again for Objective C Mode. Correct the *-index values,
12657 these having been disturbed by a previous change in 2011-08.
12659 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12660 Correct two search limits.
12662 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12664 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12666 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12668 * international/characters.el: Fix sorting.
12670 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12672 * international/characters.el: Add more missing Latin case pairs.
12674 2012-04-14 Glenn Morris <rgm@gnu.org>
12676 * files.el (dir-locals-set-class-variables): Doc fix.
12678 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12680 * international/characters.el: Add set-case-syntax-pair call for
12681 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12682 counterpart. (Bug#11209)
12684 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12686 2012-04-14 Glenn Morris <rgm@gnu.org>
12688 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12690 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12692 * textmodes/ispell.el (ispell-dictionary-base-alist):
12693 Add data for Hebrew.
12695 2012-04-14 Chong Yidong <cyd@gnu.org>
12697 * net/rcirc.el (rcirc-cmd-quit):
12698 Revert 2012-03-18 change (Bug#11192).
12700 2012-04-14 Glenn Morris <rgm@gnu.org>
12702 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12704 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12706 * minibuffer.el (completion-in-region-mode-map):
12707 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12709 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12711 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12713 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12715 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12716 to allow `C-M-f' and `C-M-b' to move to the nearest path
12717 separator (bug#9511).
12719 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12721 * avoid.el: Require cl when compiling. And also move the
12722 `provide' to the end.
12724 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12726 * avoid.el (mouse-avoidance-banish-position): New variable.
12727 (mouse-avoidance-banish-destination): Use it (bug#10165).
12729 2012-04-13 Leo Liu <sdl.web@gmail.com>
12731 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12733 2012-04-13 Ken Brown <kbrown@cornell.edu>
12735 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12736 this is no longer needed now that cygstart understands file:// URLs.
12737 (browse-url-filename-alist): For the same reason, don't modify
12738 file:// URLs on Cygwin.
12740 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12742 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12743 the region on shift if the binding is already shifted (bug#11221).
12745 2012-04-12 Glenn Morris <rgm@gnu.org>
12747 * mail/mailpost.el: Move to obsolete/.
12749 2012-04-12 Drew Adams <drew.adams@oracle.com>
12751 * imenu.el (imenu--generic-function): Ignore invisible definitions
12754 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12756 * hexl.el (hexl-bits): New variable.
12757 (hexl-options): Mention the variable in the doc string.
12758 (hexl-rulerise, hexl-line-displen): New functions.
12759 (hexl-mode): Mention the new variable.
12760 (hexl-mode, hexl-current-address, hexl-current-address):
12762 (hexl-ascii-start-column): New function.
12763 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12764 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12766 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12768 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12769 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12770 the encoding, as expected by hunspell.
12772 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12774 * battery.el (battery--linux-sysfs-regexp): New const.
12775 (battery-status-function): Use it. Remove yeeloong special case.
12776 (battery-yeeloong-sysfs): Remove.
12777 (battery-echo-area-format): Remove yeeloong special case.
12779 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12781 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12782 Reported by Noah Friedman.
12784 * subr.el (read-passwd): Use read-string.
12786 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12788 * vcursor.el (vcursor-move): Increase the priority of the overlay
12791 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12793 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12794 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12796 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12798 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12799 define-minor-mode (bug#10760).
12801 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12803 * progmodes/grep.el (rgrep): Tweak the find command line so
12804 that directories matching `grep-find-ignored-files' won't be
12805 pruned (bug#10351).
12807 2012-04-11 Chong Yidong <cyd@gnu.org>
12809 * startup.el (command-line): Remove support for long-obsolete
12810 variable font-lock-face-attributes.
12812 2012-04-11 Glenn Morris <rgm@gnu.org>
12814 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12816 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12818 * window.el (window--state-get-1): Obey window-point-insertion-type.
12820 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12822 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12823 to previous function when point is on the first character of a
12824 function. Take care of that in `narrow-to-defun' (bug#6157).
12826 2012-04-11 Glenn Morris <rgm@gnu.org>
12828 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12829 not just file-errors.
12831 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12832 (vc-bzr-sha1): Use internal sha1.
12834 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12836 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12838 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12840 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12841 that start in the middle of the line (bug#10496).
12843 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12845 * battery.el (battery-linux-proc-acpi): Only one battery is
12846 discharged at a time, but that seems to confuse battery.el when
12847 computing `rate-type' for the battery not being discharged
12850 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12854 * international/quail.el: Use dolist and simplify.
12855 (quail-define-package, quail-update-keyboard-layout)
12856 (quail-define-rules): Use dolist.
12857 (quail-insert-kbd-layout, quail-get-translation): CSE.
12859 * tmm.el: Use dolist, remove left over hook.
12860 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12862 (calendar-load-hook): Don't mess with it.
12864 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12865 Use derived-mode-p. Run the diff asynchronously.
12867 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12869 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12871 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12873 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12874 (list-dynamic-libraries--loaded): New function.
12875 (list-dynamic-libraries--refresh): Use it.
12877 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12879 * progmodes/python.el (python-fill-paragraph):
12880 Make python-fill-region in a multiline string work when font-lock is
12881 disabled (bug#7018).
12883 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12885 * language/european.el (cp775): Add oem/legacy (en)coding on
12886 DOS/MS Windows for the Baltic languages. There are still plenty
12887 of texts written in this encoding/codepage (bug#6519).
12889 2012-04-10 Glenn Morris <rgm@gnu.org>
12891 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12892 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12894 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12896 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12897 next-line "n" and previous-line "p" in order to make recentf more
12898 consistent with ibuffer, dired or org-mode (bug#9387).
12900 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12902 * image.el (put-image): Return the overlay created instead of the
12903 optional input string (bug#7834). Note that this may break code
12904 that is (for some reason or other) depending on `put-image'
12905 returning the string.
12907 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12909 * simple.el (zap-to-char): Allow zapping using input methods
12912 * textmodes/fill.el (fill-region): Leave point and mark where they
12913 were before filling (bug#5399).
12915 2012-04-09 Glenn Morris <rgm@gnu.org>
12917 * version.el (emacs-bzr-get-version):
12918 Handle lightweight checkouts of local branches.
12920 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12922 * international/characters.el: Recover lost case pairs. (Bug#11209)
12924 2012-04-09 Chong Yidong <cyd@gnu.org>
12926 * custom.el (custom-variable-p): Return nil for non-symbol
12927 arguments instead of signaling an error.
12928 (user-variable-p): Obsolete alias for custom-variable-p.
12930 * apropos.el (apropos-variable):
12931 * files-x.el (read-file-local-variable):
12932 * simple.el (set-variable):
12933 * woman.el (woman-mini-help):
12934 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12936 2012-04-09 Glenn Morris <rgm@gnu.org>
12938 * startup.el (normal-top-level): Don't look for leim-list.el
12939 in places where it will not be found. (Bug#910)
12941 * international/mule-cmds.el (set-default-coding-systems):
12942 * files.el (normal-mode):
12943 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12944 This function was removed with ucs-tables.el in 2008.
12946 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12948 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12949 ispell-encoding8-command to "-i", without a trailing space.
12950 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12951 separate command-line arguments, to specify the encoding, since
12952 that's how hunspell expects it.
12954 2012-04-08 Glenn Morris <rgm@gnu.org>
12956 * loadup.el: Load bindings before cus-start.
12957 This reduces somewhat the number of "rogue" settings in emacs -Q.
12959 2012-04-07 Glenn Morris <rgm@gnu.org>
12961 * version.el (emacs-bzr-get-version): New function.
12962 (emacs-bzr-version): New variable.
12963 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12964 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12966 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12968 * international/uni-bidi.el, international/uni-category.el:
12969 * international/uni-combining.el, international/uni-decimal.el:
12970 * international/uni-decomposition.el, international/uni-digit.el:
12971 * international/uni-lowercase.el, international/uni-mirrored.el:
12972 * international/uni-name.el, international/uni-numeric.el:
12973 * international/uni-titlecase.el, international/uni-uppercase.el:
12974 Update for Unicode 6.1.
12976 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12978 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12980 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12982 * window.el (shrink-window): Mention the `window-min-height'
12983 variable in the doc string.
12985 2012-04-05 Bastien Guerry <bzg@altern.org>
12987 * color.el (color-lighten-name): Fix typo.
12989 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12991 * server.el (server--on-display-p): New function.
12992 (server--on-display-p): Use it.
12994 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12996 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12999 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * comint.el (comint--common-quoted-suffix): Check string boundary
13002 before comparing (bug#11158).
13003 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13005 2012-04-04 Chong Yidong <cyd@gnu.org>
13007 * minibuffer.el (completion-extra-properties): Doc fix.
13009 * subr.el (delayed-warnings-hook): Doc fix.
13011 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13013 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13014 selection (Bug#11159).
13015 (epa-insert-keys): Inform that the default public key will be
13016 exported if no key is selected.
13018 2012-04-04 Richard Stallman <rms@gnu.org>
13020 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13022 2012-04-03 Chong Yidong <cyd@gnu.org>
13024 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13025 mail-insert-file, not its obsolete alias mail-attach-file.
13027 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13029 * notifications.el (notifications-notify): Fix docstring.
13031 2012-04-02 Glenn Morris <rgm@gnu.org>
13033 * emacs-lisp/authors.el (authors-aliases): Another addition.
13035 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13037 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13038 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13039 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13041 2012-04-01 Chong Yidong <cyd@gnu.org>
13043 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13044 Handle root directory properly.
13045 (copy-directory): Caller changed.
13047 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13048 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13050 2012-03-31 Glenn Morris <rgm@gnu.org>
13052 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13054 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13056 * calendar/calendar.el (calendar-window-list)
13057 (calendar-hide-window): Restore. (Bug#11140)
13058 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13060 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13062 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13064 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13065 Check if file is a symlink (Bug#10489).
13067 * files.el (copy-directory): Likewise.
13069 2012-03-30 Chong Yidong <cyd@gnu.org>
13071 * image.el (imagemagick-types-inhibit)
13072 (imagemagick-register-types): Doc fix.
13074 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13076 * textmodes/ispell.el (ispell-get-extended-character-mode):
13077 Disable extended-char-mode for hunspell. hunspell does not support it
13078 and treats ~word as ordinary words in pipe mode.
13080 2012-03-30 Glenn Morris <rgm@gnu.org>
13082 * tutorial.el (help-with-tutorial): Ensure local variables don't
13083 happen to make the buffer read-only. (Bug#11127)
13085 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13087 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13088 (perl-calculate-indent): Return `noindent' in strings.
13090 2012-03-28 Sam Steingold <sds@gnu.org>
13092 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13093 instead of the broken adhockery which does not prevent calendar
13094 buffers from being displayed at random after exit.
13095 (calendar-window-list, calendar-hide-window): Remove the broken
13098 2012-03-28 Glenn Morris <rgm@gnu.org>
13100 * replace.el (query-replace-map): Doc fix.
13102 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13104 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13105 contents. (Bug#11109)
13107 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13109 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13111 (avl-tree--check, avl-tree--check-node): New funs.
13113 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13115 * window.el (switch-to-visible-buffer): New option.
13116 (switch-to-prev-buffer, switch-to-next-buffer):
13117 Observe switch-to-visible-buffer. Make sure that checking for a window
13118 showing a buffer already is done on the same frame.
13120 2012-03-27 Glenn Morris <rgm@gnu.org>
13122 * startup.el (mail-host-address): Doc fix.
13124 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13126 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13127 than 197 variables.
13129 2012-03-26 Ami Fischman <ami@fischman.org>
13131 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13133 2012-03-26 Glenn Morris <rgm@gnu.org>
13135 * files.el (save-buffers-kill-emacs): Doc fix.
13137 * startup.el (normal-top-level, command-line, command-line-1):
13138 Give them doc strings.
13140 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13142 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13143 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13145 2012-03-25 Chong Yidong <cyd@gnu.org>
13147 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13148 theme if it was previously enabled before (Bug#11031).
13150 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13151 spec with custom-face-get-current-spec if its :shown-value is not
13152 determined yet (Bug#9337).
13153 (customize-create-theme, custom-theme-revert): Doc fixes.
13155 * button.el (button-at): Minor addition to docstring.
13157 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13159 * vc/vc.el (vc-merge): Fix a prompt.
13161 2012-03-24 Chong Yidong <cyd@gnu.org>
13163 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13166 * button.el (button-at): Minor addition to docstring.
13168 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * newcomment.el (comment-choose-indent): No space after BOL.
13172 2012-03-22 Sam Steingold <sds@gnu.org>
13174 * window.el (switch-to-prev-buffer): Revert last patch because the
13175 bug turned out to be an advertised feature (Elisp manual 28.14).
13177 2012-03-22 Glenn Morris <rgm@gnu.org>
13179 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13180 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13182 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13184 * net/network-stream.el (network-stream-open-starttls): Make error
13185 message under Windows be less misleading.
13187 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13189 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13190 understands (bug#9942).
13192 2012-03-22 Chong Yidong <cyd@gnu.org>
13194 * simple.el (end-of-visible-line): Handle return value of
13195 next-single-property-change properly (Bug#9371).
13197 2012-03-22 Kenichi Handa <handa@m17n.org>
13199 * international/quail.el (quail-insert-kbd-layout): Fix previous
13200 change. To avoid unwanted bidi reordering, use
13201 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13203 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13205 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13206 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13207 (ruby-beginning-of-indent): Be more careful with the difference
13208 between word-boundary and symbol boundary.
13209 (ruby-mode-syntax-table): Make : a symbol constituent.
13211 2012-03-21 Andreas Politz <politza@fh-trier.de>
13213 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13215 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13217 * progmodes/etags.el (tags-completion-at-point-function):
13220 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13222 2012-03-21 Sam Steingold <sds@gnu.org>
13224 * progmodes/etags.el (tags-completion-at-point-function):
13225 Avoid the error when point is inside the pattern.
13227 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13229 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13232 2012-03-21 Drew Adams <drew.adams@oracle.com>
13234 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13236 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13238 * ido.el (ido-set-current-directory, ido-read-internal)
13239 (ido-choose-completion-string, ido-completion-help): Handle nil
13240 value of ido-completion-buffer (Bug#11008).
13242 2012-03-21 Sam Steingold <sds@gnu.org>
13244 * window.el (switch-to-prev-buffer): Do not switch to a visible
13245 window previous buffer, just like with the frame previous buffers.
13247 2012-03-21 Chong Yidong <cyd@gnu.org>
13249 * faces.el (make-face, make-empty-face, copy-face):
13250 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13253 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13255 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13256 (widget-complete): Remove broken use of it.
13258 2012-03-20 Chong Yidong <cyd@gnu.org>
13260 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13261 Use string-width and truncate-string-width to handle arbitrary
13264 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13266 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13267 to draw rectangles, not squares. (Regression introduced by revno
13268 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13270 2012-03-18 Chong Yidong <cyd@gnu.org>
13272 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13273 it is not yet defined (for temacs).
13275 2012-03-18 Leo Liu <sdl.web@gmail.com>
13277 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13280 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13282 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13283 (ispell-choices-win-default-height, ispell-silently-savep)
13284 (ispell-dictionary-alist, ispell-encoding8-command)
13285 (ispell-check-version, ispell-aspell-find-dictionary)
13286 (ispell-valid-dictionary-list, ispell-words-keyword)
13287 (ispell-get-word, ispell-internal-change-dictionary)
13288 (ispell-region, ispell-skip-region-list)
13289 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13290 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13291 (ispell-message-text-end, ispell-message)
13292 (ispell-buffer-local-parsing): Doc fix.
13294 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13296 * htmlfontify.el: Add support for code block fontification for ODT
13297 export (Bug #9914).
13298 (hfy-optimisations): Define new option
13300 (hfy-fontify-buffer): Honor above setting.
13301 (hfy-begin-span, hfy-end-span): New routines factored out form
13302 `hfy-fontify-buffer'.
13303 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13304 that permit insertion of custom tags.
13305 (hfy-fontify-buffer): Use above handlers.
13306 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13307 (hfy-face-to-css): Re-defined to be a variable.
13308 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13309 over multiple runs. This is made possible by having the caller let
13310 bind a special variable `hfy-user-sheet-assoc'.
13311 (htmlfontify-string): New defun.
13312 (hfy-compile-face-map): Make sure that the last char in the
13313 buffer is correctly fontified.
13314 (hfy-face-resolve-face): Whitespace only change.
13316 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13318 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13319 message more clear.
13321 2012-03-16 Leo Liu <sdl.web@gmail.com>
13323 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13325 2012-03-16 Alan Mackenzie <acm@muc.de>
13327 Further optimize the handling of large macros.
13329 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13330 limit to a call of `c-literal-limits'.
13331 (c-determine-+ve-limit): New function.
13332 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13333 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13334 In CASE 5B, restrict a search limit to 500.
13335 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13337 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13338 Restrict macro bounds to +-500 from after-change's BEG END.
13340 2012-03-16 Leo Liu <sdl.web@gmail.com>
13342 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13344 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13346 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13347 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13349 2012-03-16 Glenn Morris <rgm@gnu.org>
13351 * view.el (view-buffer, view-buffer-other-window)
13352 (view-buffer-other-frame): Doc fixes re special mode-class.
13354 * subr.el (eval-after-load): If named feature is provided not from
13355 a file, run after-load forms. (Bug#10946)
13357 * calendar/calendar.el (calendar-insert-at-column):
13358 Handle non-unit-width characters a bit better. (Bug#10978)
13360 2012-03-15 Chong Yidong <cyd@gnu.org>
13362 * emacs-lisp/ring.el (ring-extend): New function.
13363 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13365 * comint.el (comint-read-input-ring)
13366 (comint-add-to-input-history): Grow comint-input-ring lazily.
13368 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13371 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13373 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13374 (imenu-add-to-menubar): Don't add a redundant index.
13375 (imenu-update-menubar): Handle a dynamically composed keymap.
13377 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13379 * mail/sendmail.el (mail-encode-header):
13380 Bind rfc2047-encode-encoded-words to nil.
13382 2012-03-13 Glenn Morris <rgm@gnu.org>
13384 * calendar/calendar.el (calendar-string-spread):
13385 Handle non-unit-width characters a bit better. (Bug#10978)
13387 2012-03-13 Leo Liu <sdl.web@gmail.com>
13389 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13390 directory and file as argument (Bug#10822).
13392 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13394 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13395 For dynamically generated code, follow $PC.
13396 (gdb-disassembly-handler-custom): Handle no function name case.
13398 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13400 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13401 * emulation/ws-mode.el (ws-query-replace):
13402 * sort.el (sort-regexp-fields):
13403 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13405 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13407 * dabbrev.el: Fix cycle completion order (bug#10963).
13408 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13409 (dabbrev-completion): Don't use an obarray; provide
13410 a cycle-sort-function.
13412 2012-03-12 Leo Liu <sdl.web@gmail.com>
13414 * simple.el (kill-new): Use equal-including-properties for comparison.
13415 (kill-do-not-save-duplicates): Doc fix.
13417 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13419 * dabbrev.el: Fix cycle completion (bug#10963).
13420 Use lexical binding and wrap to 80 columns.
13421 (dabbrev-completion): Delay computing the list of completions.
13423 2012-03-12 Kenichi Handa <handa@m17n.org>
13425 * international/quail.el (quail-insert-kbd-layout): Surround each
13426 row by LRO and PDF instead of inserting many LRMs. Pad the left
13427 and right of each non-spacing marks. Insert invisible space
13428 between lower and upper characters to prevent composition.
13430 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13432 * minibuffer.el (minibuffer-complete): Don't get confused when the
13433 function is run twice via different commands (bug#10958).
13434 (complete-with-action): Fix docstring.
13436 2012-03-12 Chong Yidong <cyd@gnu.org>
13438 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13439 (nxml-completion-at-point-function): New function.
13440 (nxml-mode): Use it.
13441 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13443 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13444 Load generated autoloads file before byte compiling (Bug#10970).
13445 (package--make-autoloads-and-compile): New helper fun.
13447 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13449 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13451 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13453 * autorevert.el (auto-revert-handler): Ensure, that
13454 file-readable-p is applied only for local files or in
13455 auto-revert-tail-mode.
13457 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13459 * server.el (server-eval-at): Handle non-tcp connections.
13460 Decode result string.
13462 * server.el (server-msg-size): New constant.
13463 (server-reply-print): New function.
13464 (server-eval-and-print): Use it.
13465 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13466 Handle -print-nonl.
13468 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13470 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13473 2012-03-11 Chong Yidong <cyd@gnu.org>
13475 * simple.el (goto-line): Doc fix (Bug#9938).
13477 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13479 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13480 when finished (Bug#10963).
13482 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13484 * window.el (split-window-below): Fix bug in case where
13485 split-window-keep-point is nil (Bug#10971).
13487 2012-03-11 Juri Linkov <juri@jurta.org>
13489 * replace.el (replace-highlight): Set isearch-word to nil
13490 unconditionally. (Bug#10887)
13492 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13494 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13495 mairix-replace-illegal-chars; all callers changed. Don't remove
13496 ^, ~, and = characters: they are meaningful in mairix search specs.
13497 (mairix-widget-create-query): Add usage information about mairix
13498 search forms: negating words, searching for substrings, etc.
13500 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13502 * international/fontset.el (font-encoding-alist): Add an entry for
13503 ksx1001 (Bug#5667).
13505 2012-03-10 Richard Stallman <rms@gnu.org>
13507 * mail/sendmail.el (mail-encode-header):
13508 Set rfc2047-encode-encoded-words.
13510 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13512 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13513 view buffer means not swapped.
13514 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13515 (rmail-write-region-annotate): Error if real text has disappeared.
13517 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13519 2012-03-10 Chong Yidong <cyd@gnu.org>
13521 * emulation/cua-rect.el (cua--init-rectangles):
13522 * emulation/cua-base.el (cua--init-keymaps):
13523 Add delete-forward-char to remappings (Bug#9666).
13525 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13527 * speedbar.el (speedbar-unhighlight-one-tag-line):
13528 Avoid unhighlighting due to frame switching (Bug#10275).
13530 2012-03-10 Chong Yidong <cyd@gnu.org>
13532 * minibuffer.el (completion-in-region, completion-help-at-point):
13533 Give the completion field overlay a high priority (Bug#6830).
13535 * dired.el (dired-goto-file): Recognize absolute file name
13536 listings (Bug#7126).
13537 (dired-goto-file-1): New helper function.
13538 (dired-toggle-read-only): Inhibit warnings.
13540 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13542 * net/dbus.el (dbus-property-handler): Return empty array if
13543 there are no properties.
13545 2012-03-09 Leo Liu <sdl.web@gmail.com>
13547 * savehist.el (savehist-printable): Stricter check for string
13550 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13552 * mail/smtpmail.el (smtpmail-send-it):
13553 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13556 2012-03-09 Glenn Morris <rgm@gnu.org>
13558 * files.el (dir-locals-find-file):
13559 Don't check result is regular, readable.
13560 (dir-locals-read-from-file): Demote errors.
13562 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13564 * international/quail.el (quail-insert-kbd-layout):
13565 Insert invisible LRM characters before each character in a keyboard
13566 layout cell, to prevent their reordering by bidi display engine.
13567 For details, see the discussion in
13568 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13570 2012-03-08 Alan Mackenzie <acm@muc.de>
13572 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13573 the starting position; make it extend the marked region when
13574 invoked repeatedly - all under appropriate circumstances.
13575 Fixes bugs #5525, #10906.
13577 2012-03-08 Glenn Morris <rgm@gnu.org>
13579 * files.el (locate-dominating-file, dir-locals-find-file):
13580 Undo 2012-03-06 change.
13582 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13584 * international/quail.el (quail-help):
13585 Force bidi-paragraph-direction be left-to-right. See discussion in
13586 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13589 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13591 Avoid superfluous registering of signals. (Bug#10807)
13593 * notifications.el (notifications-on-action-object)
13594 (notifications-on-close-object): New defvars.
13595 (notifications-on-action-signal, notifications-on-closed-signal):
13596 Unregister the signal if not needed any longer.
13597 (notifications-notify): Register `notifications-action-signal' or
13598 `notifications-closed-signal', if :on-action or :on-close has been
13599 passed as argument.
13601 2012-03-07 Chong Yidong <cyd@gnu.org>
13603 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13606 2012-03-06 Glenn Morris <rgm@gnu.org>
13608 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13609 (x-disown-selection-internal, x-get-selection-internal):
13610 Doc fix (add arglist signatures). (Bug#10783)
13612 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13614 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13615 Handle breakpoints with no "type".
13617 2012-03-06 Glenn Morris <rgm@gnu.org>
13619 * files.el (locate-dominating-file): Add optional predicate argument.
13620 (dir-locals-find-file): Make use of above change.
13622 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13624 * info.el (Info-insert-dir): Also try "dir.gz".
13626 2012-03-06 Glenn Morris <rgm@gnu.org>
13628 * files.el (dir-locals-find-file):
13629 Ignore non-readable or non-regular files. (Bug#10928)
13631 * files.el (locate-dominating-file): Doc fix.
13633 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13635 * calendar/calendar.el (calendar-set-mode-line):
13636 `getenv' returns a string. (Bug#10951)
13638 2012-03-05 Leo Liu <sdl.web@gmail.com>
13640 * simple.el (backward-delete-char-untabify): Constrain point to
13643 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13645 2012-03-05 Chong Yidong <cyd@gnu.org>
13647 * simple.el (count-words): If called from Lisp, return the word
13648 count, for symmetry with `count-lines'. Arglist changed.
13649 (count-words--message): Args changed. Consolidate counting code
13650 from count-words and count-words-region.
13651 (count-words-region): Caller changed.
13652 (count-lines-region): Make it an obsolete alias.
13654 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13656 * saveplace.el (save-place-to-alist)
13657 (save-place-ignore-files-regexp): Allow value nil to disable this
13660 2012-03-04 Chong Yidong <cyd@gnu.org>
13662 * faces.el (face-spec-reset-face): For the default face, reset the
13663 attributes to default values (Bug#10748).
13665 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13667 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13668 previous patch: Check `message-send-mail-function', and not the
13669 default function (bug#10897).
13671 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13673 * notifications.el (notifications-on-action-signal)
13674 (notifications-on-closed-signal): Check for unique service name of
13675 incoming event. Fix error in removing entry.
13676 (top): Register for signals with wildcard service name.
13677 (notifications-notify): Use daemon unique service name for map entries.
13679 2012-03-04 Chong Yidong <cyd@gnu.org>
13681 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13683 2012-03-04 Glenn Morris <rgm@gnu.org>
13685 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13686 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13687 (expand-abbrev, define-abbrev-table): Doc fixes.
13689 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13691 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13692 `message-default-send-mail-function' and not `send-mail-function'
13693 when doing the prompting for `sendmail-query-once' before sending
13694 in Message buffers (bug#10897).
13696 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13697 This is inconsistent with all the other stream functions, which leave
13698 the setting up to the higher levels (if so wanted) (bug#10931).
13700 2012-03-02 Alan Mackenzie <acm@muc.de>
13702 Depessimize the handling of very large macros.
13704 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13705 (c-macro-cache-syntactic): New variables to implement a one
13706 element macro cache.
13707 (c-invalidate-macro-cache): New function.
13708 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13709 Adapt to use the new cache.
13710 (c-state-safe-place): Use better the cache of safe positions.
13711 (c-state-semi-nonlit-pos-cache)
13712 (c-state-semi-nonlit-pos-cache-limit):
13713 New variables for...
13714 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13715 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13716 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13717 Use c-state-semi-safe-place.
13719 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13720 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13722 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13724 * jka-compr.el (jka-compr-call-process):
13725 Apply `file-accessible-directory-p' only when the default directory is
13728 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13730 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13731 access of FILE2, if FILE1 does not exist.
13733 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13734 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13736 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13737 Add "PAGER=" to `process-environment'.
13739 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13741 * progmodes/sql.el: Bug fix
13742 (sql-get-login-ext): Save login values in globals.
13743 (sql-get-login): Use new version of `sql-get-login-ext'.
13744 (sql-interactive-mode): Set global `sql-connection' to nil.
13745 (sql-connect): Set global values for connection.
13746 (sql-product-interactive): Save global values as buffer local.
13748 2012-02-29 Leo Liu <sdl.web@gmail.com>
13750 * abbrev.el (define-abbrevs): Reset sys to nil.
13752 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13754 * files.el (file-equal-p): Rename from `files-equal-p'.
13755 Return nil when one or both files don't exist.
13756 (file-subdir-of-p): Now only top directory must exists,
13757 return nil if it doesn't.
13758 (copy-directory): No need to test with `file-subdir-of-p' after
13760 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13763 2012-02-28 Glenn Morris <rgm@gnu.org>
13765 * shell.el (shell-mode):
13766 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13767 * play/landmark.el (landmark-font-lock-face-O):
13768 * play/handwrite.el (handwrite):
13769 * play/gomoku.el (gomoku-O):
13770 * net/browse-url.el (browse-url-browser-display):
13771 * international/mule.el (define-charset):
13772 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13773 * filesets.el (filesets-find-file-delay):
13774 * eshell/em-xtra.el (eshell-xtra):
13775 * eshell/em-unix.el (eshell-grep):
13776 * emulation/viper.el (viper-mode):
13777 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13778 * emacs-lisp/easymenu.el (easy-menu-define):
13779 * calendar/timeclock.el (timeclock-use-display-time):
13781 * bookmark.el (bookmark-save-flag):
13782 Doc fix (standardize possessive apostrophe usage).
13784 2012-02-27 Chong Yidong <cyd@gnu.org>
13786 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13787 Fix key-binding lookup for ESC key (Bug#9146).
13789 * font-lock.el (font-lock-specified-p): Rename from
13790 font-lock-spec-present. Callers changed.
13792 2012-02-27 Daniel Hackney <dan@haxney.org>
13794 * emacs-lisp/package.el (package-compute-transaction):
13795 Handle holding a package version to t in package-load-list.
13797 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13799 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13800 (tramp-get-inode, tramp-get-device): Use cached values.
13802 2012-02-26 Alan Mackenzie <acm@muc.de>
13804 Check there is a font-lock specification before doing initial
13807 * font-core.el (font-lock-mode): Move the conditional from
13808 :after-hook to font-lock-initial-fontify.
13809 (font-lock-default-function): Move the check for a specification
13810 to font-lock-spec-present.
13812 * font-lock.el (font-lock-initial-fontify): Call ...
13813 (font-lock-spec-present): New function.
13815 2012-02-26 Jim Blandy <jimb@red-bean.com>
13817 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13818 (gdb-send): Apply it to the operand of the '-interpreter-exec
13819 console' command, so that we can pass arguments with (say) quotes
13820 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13822 2012-02-26 Chong Yidong <cyd@gnu.org>
13824 * help-fns.el (describe-function-1): Clarify description of
13825 remapping (Bug#10844).
13827 * files.el (files-equal-p): Doc fix.
13828 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13829 and quit the loop once a mismatch is found.
13831 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13833 * bs.el (bs--show-with-configuration): Don't throw an error
13834 if the window cannot be split; otherwise, subsequent calls to
13835 bs-show fail, restoring a stale window config. (Bug#10882)
13837 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13839 * term/ns-win.el (global-map): Bind ns-drag-file to
13840 ns-find-file (Bug#5855, Bug#10050).
13842 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13844 * calendar/parse-time.el (parse-time-string): Allow extractor to
13847 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13849 * net/tramp.el (tramp-file-name-for-operation):
13850 Add `files-equal-p' and `file-subdir-of-p'.
13852 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13853 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13854 Add COPY-CONTENTS argument.
13856 2012-02-25 Chong Yidong <cyd@gnu.org>
13858 Add custom groups for VC backends, for consistency with vc-bzr.
13860 * vc/vc-arch.el (vc-arch):
13861 * vc/vc-cvs.el (vc-cvs):
13862 * vc/vc-git.el (vc-git):
13863 * vc/vc-hg.el (vc-hg):
13864 * vc/vc-mtn.el (vc-mtn):
13865 * vc/vc-rcs.el (vc-rcs):
13866 * vc/vc-sccs.el (vc-sccs):
13867 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13868 All relevant defcustoms reassigned.
13870 2012-02-25 Chong Yidong <cyd@gnu.org>
13872 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13874 * term/x-win.el (x-initialize-window-system): Reduce default for
13875 x-selection-timeout to 5 seconds (Bug#8869).
13877 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13879 * files.el (files-equal-p, file-subdir-of-p): New functions.
13880 (copy-directory): Error when trying to copy a directory on itself.
13881 Add missing copy-contents arg to tramp handler.
13882 * dired-aux.el (dired-copy-file-recursive): Same.
13883 (dired-create-files): Modify destination when source is equal to
13884 dest when copying files.
13885 Return also when dest is a subdir of source. (Bug#10489)
13887 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13889 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13892 2012-02-23 Alan Mackenzie <acm@muc.de>
13894 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13895 parameter "after-hook:" to allow the expansion to run code after
13896 the execution of the mode hooks.
13898 * font-lock.el (font-lock-initial-fontify): New function extracted
13899 from font-lock-mode-internal.
13901 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13904 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13906 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13907 (completion--cache-all-sorted-completions): New function.
13908 (completion-all-sorted-completions): Use it.
13909 (completion--do-completion, minibuffer-force-complete):
13910 Use it to re-instate the flush hook.
13912 * icomplete.el (icomplete-completions): Replace last fix with a better
13915 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13917 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13918 when it might call us back infinitely (bug#10797).
13920 2012-02-23 Glenn Morris <rgm@gnu.org>
13922 * minibuffer.el (completion-category-overrides): Doc fix.
13924 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13927 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13929 2012-02-23 Glenn Morris <rgm@gnu.org>
13931 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13932 (authors-obsolete-files-regexps, authors-ignored-files)
13933 (authors-ambiguous-files, authors-renamed-files-alist):
13936 2012-02-23 Juri Linkov <juri@jurta.org>
13938 * isearch.el (isearch-occur): Sync interactive spec with occur's
13939 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13941 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13943 2012-02-22 Juri Linkov <juri@jurta.org>
13945 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13946 (ucs-insert): Doc fix. Check for hex digits in the string.
13947 Don't display `nil' in the error message. (Bug#10857)
13949 2012-02-22 Alan Mackenzie <acm@muc.de>
13951 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13953 2012-02-22 Glenn Morris <rgm@gnu.org>
13955 * ffap.el (ffap-c-path):
13956 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13958 2012-02-22 Chong Yidong <cyd@gnu.org>
13960 * custom.el (load-theme): Doc fix.
13962 2012-02-22 Glenn Morris <rgm@gnu.org>
13964 * dired-x.el (dired-guess-shell-alist-default):
13965 Remove escape sequences from nroff output. (Bug#172)
13967 2012-02-21 Glenn Morris <rgm@gnu.org>
13969 * vc/emerge.el (emerge-defvar-local):
13970 Set `permanent-local' property rather than unused `preserved'.
13972 * textmodes/picture.el (picture-delete-char): New alias.
13973 (picture-mode-map): Use it. (Bug#10860)
13974 (picture-mode): Doc fix.
13976 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13978 * newcomment.el (uncomment-region-default): Remove unused binding.
13980 2012-02-21 Glenn Morris <rgm@gnu.org>
13982 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13983 (picture-self-insert, picture-tab-chars): Doc fix.
13984 (picture-mode-map): Fix C-a, C-e.
13986 2012-02-20 Glenn Morris <rgm@gnu.org>
13988 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13990 2012-02-20 Leo Liu <sdl.web@gmail.com>
13992 * icomplete.el (icomplete-completions): Check FROM arg before
13993 passing to substring (Bug#10850).
13995 2012-02-19 Chong Yidong <cyd@gnu.org>
13997 * comint.el: Require ansi-color.
13998 (comint-output-filter-functions): Add ansi-color-process-output.
14000 * ansi-color.el: Don't set comint-output-filter-functions; it is
14001 now in the initial value defined in comint.el.
14002 (ansi-color-apply-face-function): New variable.
14003 (ansi-color-apply-on-region): Use it.
14004 (ansi-color-apply-overlay-face): New function.
14006 * shell.el (shell): No need to require ansi-color.
14007 (shell-mode): Use ansi-color-apply-face-function to highlight
14008 color escapes using font-lock-face property (Bug#10835).
14010 2012-02-19 Chong Yidong <cyd@gnu.org>
14012 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14013 mode-line formats (Bug#10839).
14015 2012-02-18 Glenn Morris <rgm@gnu.org>
14017 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14019 * mail/undigest.el (unforward-rmail-message): Doc fix.
14021 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14023 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14025 * international/characters.el (script-list): Sync with the latest
14026 Unicode Character Database.
14028 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14030 * international/titdic-cnv.el: Remove duplicate coding tag.
14031 * language/cham.el: Likewise.
14032 * language/tai-viet.el: Likewise.
14034 2012-02-18 Glenn Morris <rgm@gnu.org>
14036 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14037 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14038 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14039 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14040 * calendar/holidays.el (holiday-bahai-holidays)
14041 (calendar-holidays, list-holidays):
14042 Use utf-8 Bahá'í in doc-strings, menus, etc.
14044 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14046 * saveplace.el (save-place-ignore-files-regexp): New variable
14047 allowing for excluding files from saving their location of point.
14048 The default value matches the temporary commit message editing
14049 files from Git, SVN, Bazaar, and Mercurial.
14050 (save-place-to-alist): Use it.
14052 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14053 Stefan Monnier <monnier@iro.umontreal.ca>
14055 * newcomment.el (uncomment-region-default): Don't leave extra space
14056 when an arg is provided (bug#8150).
14058 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14060 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14062 2012-02-17 Glenn Morris <rgm@gnu.org>
14064 * net/socks.el: Require network-stream. (Bug#10599)
14066 2012-02-17 Kenichi Handa <handa@m17n.org>
14068 * international/charprop.el:
14069 * international/uni-name.el:
14070 * international/uni-old-name.el:
14071 * international/uni-comment.el: Regenerate.
14073 2012-02-16 Glenn Morris <rgm@gnu.org>
14075 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14076 Interactively in calendar buffer, give an error if not on a date.
14078 2012-02-15 Glenn Morris <rgm@gnu.org>
14080 * shell.el (shell-delimiter-argument-list):
14081 Revert 2011-02-17 change. (Bug#8027)
14083 2012-02-15 Chong Yidong <cyd@gnu.org>
14085 * minibuffer.el (completion-at-point-functions): Doc fix.
14087 * custom.el (defcustom): Doc fix; note use of defvar.
14089 2012-02-15 Glenn Morris <rgm@gnu.org>
14091 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14094 2012-02-14 Glenn Morris <rgm@gnu.org>
14096 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14098 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14100 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14101 way the ports list is computed.
14102 (smtpmail-query-smtp-server): Prompt the user for a port number if
14103 we can't connect to any of the standard ports (bug#10810).
14105 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14107 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14109 2012-02-13 Glenn Morris <rgm@gnu.org>
14111 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14113 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14115 * net/gnutls.el (gnutls-trustfiles): New variable.
14116 (gnutls-negotiate): Use it.
14118 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14120 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14121 does its stuff if Gnus is running.
14123 2012-02-13 Alan Mackenzie <acm@muc.de>
14125 Fix a loop in c-set-fl-decl-start.
14127 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14128 c-backward-syntactic-ws actually moves backwards.
14130 2012-02-13 Leo Liu <sdl.web@gmail.com>
14132 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14133 beginning so that all \C-o chars are removed.
14135 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14137 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14139 2012-02-12 Alan Mackenzie <acm@muc.de>
14141 Fix infinite loop with long macros.
14142 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14144 2012-02-12 Chong Yidong <cyd@gnu.org>
14146 * window.el (display-buffer): Doc fix (Bug#10785).
14148 2012-02-12 Glenn Morris <rgm@gnu.org>
14150 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14151 (x-disown-selection-internal, x-get-selection-internal):
14152 Sync docs with the xselect.c versions.
14154 * allout-widgets.el: Add missing license notice.
14156 2012-02-11 Glenn Morris <rgm@gnu.org>
14158 * select.el (x-get-selection-internal, x-own-selection-internal)
14159 (x-disown-selection-internal):
14160 * x-dnd.el (x-get-selection-internal): Update declarations.
14162 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14164 * window.el (window-sides-slots):
14165 * tool-bar.el (tool-bar-position):
14166 * term/xterm.el (xterm-extra-capabilities):
14167 * ses.el (ses-self-reference-early-detection):
14168 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14169 (verilog-auto-wire-type)
14170 (verilog-auto-delete-trailing-whitespace)
14171 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14172 (verilog-auto-tieoff-declaration):
14173 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14174 (sql-oracle-statement-starters, sql-oracle-scan-on):
14175 * progmodes/prolog.el (prolog-align-comments-flag)
14176 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14177 (prolog-left-indent-regexp, prolog-paren-indent-p)
14178 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14179 (prolog-types, prolog-mode-specificators)
14180 (prolog-determinism-specificators, prolog-directives)
14181 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14182 (prolog-electric-dot-flag)
14183 (prolog-electric-dot-full-predicate-template)
14184 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14185 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14186 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14187 (prolog-program-switches, prolog-prompt-regexp)
14188 (prolog-debug-on-string, prolog-debug-off-string)
14189 (prolog-trace-on-string, prolog-trace-off-string)
14190 (prolog-zip-on-string, prolog-zip-off-string)
14191 (prolog-use-standard-consult-compile-method-flag)
14192 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14193 (prolog-imenu-max-lines, prolog-info-predicate-index)
14194 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14195 (prolog-char-quote-workaround):
14196 * progmodes/cc-vars.el (c-defun-tactic):
14197 * net/tramp.el (tramp-encoding-command-interactive)
14198 (tramp-local-end-of-line):
14199 * net/soap-client.el (soap-client):
14200 * net/netrc.el (netrc-file):
14201 * net/gnutls.el (gnutls):
14202 * minibuffer.el (completion-category-overrides)
14203 (completion-cycle-threshold)
14204 (completion-pcm-complete-word-inserts-delimiters):
14205 * man.el (Man-name-local-regexp):
14206 * mail/feedmail.el (feedmail-display-full-frame):
14207 * international/characters.el (glyphless-char-display-control):
14208 * eshell/em-ls.el (eshell-ls-date-format):
14209 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14210 (lisp-lambda-list-keyword-parameter-indentation)
14211 (lisp-lambda-list-keyword-parameter-alignment):
14212 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14213 * dired-x.el (dired-omit-verbose):
14214 * cus-theme.el (custom-theme-allow-multiple-selections):
14215 * calc/calc.el (calc-highlight-selections-with-faces)
14216 (calc-lu-field-reference, calc-lu-power-reference)
14217 (calc-note-threshold):
14218 * battery.el (battery-mode-line-limit):
14219 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14220 (archive-7z-update):
14221 * allout.el (allout-prefixed-keybindings)
14222 (allout-unprefixed-keybindings)
14223 (allout-inhibit-auto-fill-on-headline)
14224 (allout-flattened-numbering-abbreviation):
14225 * allout-widgets.el (allout-widgets-auto-activation)
14226 (allout-widgets-icons-dark-subdir)
14227 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14228 (allout-widgets-theme-dark-background)
14229 (allout-widgets-theme-light-background)
14230 (allout-widgets-item-image-properties-emacs)
14231 (allout-widgets-item-image-properties-xemacs)
14232 (allout-widgets-run-unit-tests-on-load)
14233 (allout-widgets-time-decoration-activity)
14234 (allout-widgets-hook-error-post-time)
14235 (allout-widgets-track-decoration):
14236 Add missing :version tags to new defcustoms and defgroups.
14238 * progmodes/sql.el (sql-ansi-statement-starters)
14239 (sql-oracle-statement-starters): Add custom type.
14241 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14242 (prolog-system-version): Give it a type.
14244 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14246 * term/pc-win.el (x-select-text, x-selection-owner-p)
14247 (x-own-selection-internal, x-disown-selection-internal)
14248 (x-get-selection-internal): Sync doc strings and argument lists
14249 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14251 2012-02-11 Leo Liu <sdl.web@gmail.com>
14253 * progmodes/python.el (python-end-of-statement): Fix infinite
14256 2012-02-10 Glenn Morris <rgm@gnu.org>
14258 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14259 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14261 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14263 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14264 about SMTP before checking the From header.
14266 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14267 into own function for reuse by emacsbug.el.
14269 2012-02-10 Leo Liu <sdl.web@gmail.com>
14271 * subr.el (condition-case-unless-debug): Rename from
14272 condition-case-no-debug. All callers changed.
14273 (with-demoted-errors): Fix caller.
14275 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14276 * nxml/rng-valid.el (rng-do-some-validation):
14277 * emacs-lisp/package.el (package-refresh-contents)
14278 (package-menu-execute):
14279 * desktop.el (desktop-create-buffer):
14280 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14282 2012-02-10 Glenn Morris <rgm@gnu.org>
14284 * textmodes/bibtex.el:
14285 Add missing :version tags for new/changed defcustoms.
14287 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14289 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14291 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14292 (smtpmail-via-smtp): Use it, or fall back on the From address.
14293 (smtpmail-send-it): Ditto.
14295 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14297 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14298 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14299 (byte-compile-tmp-var): New const.
14300 (byte-compile-defvar): Use it to minimize .elc size.
14301 Just use `defvar' rather than simulate it (bug#10761).
14303 2012-02-09 Glenn Morris <rgm@gnu.org>
14305 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14307 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14310 * progmodes/compile.el (compilation-error-screen-columns)
14311 (compilation-first-column, compilation-filter-start): Doc fixes.
14313 * vc/log-view.el (log-view-toggle-entry-display):
14314 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14316 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14317 (report-emacs-bug-can-use-xdg-email):
14318 (report-emacs-bug-insert-to-mailer): Doc fixes.
14319 (report-emacs-bug): Message fix.
14321 * net/browse-url.el (browse-url-can-use-xdg-open)
14322 (browse-url-xdg-open): Doc fixes.
14324 * electric.el (electric-indent-mode, electric-pair-mode)
14325 (electric-layout-rules, electric-layout-mode): Doc fixes.
14326 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14328 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14330 * server.el (server-unselect-display): Don't inadvertently kill
14331 the current buffer. (Bug#10729)
14333 2012-02-08 Glenn Morris <rgm@gnu.org>
14335 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14336 (sql-list-table): Doc fixes.
14338 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14339 Comment out (does nothing).
14341 * completion.el (dynamic-completion-mode):
14342 * dirtrack.el (dirtrack-debug-mode):
14343 * electric.el (electric-layout-mode):
14344 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14345 * face-remap.el (text-scale-mode, buffer-face-mode):
14346 * iimage.el (iimage-mode):
14347 * image-mode.el (image-transform-mode):
14348 * minibuffer.el (completion-in-region-mode):
14349 * scroll-lock.el (scroll-lock-mode):
14350 * simple.el (next-error-follow-minor-mode):
14351 * tar-mode.el (tar-subfile-mode):
14352 * tooltip.el (tooltip-mode):
14353 * vcursor.el (vcursor-use-vcursor-map):
14354 * wid-browse.el (widget-minor-mode):
14355 * emulation/tpu-edt.el (tpu-edt-mode):
14356 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14357 * international/iso-ascii.el (iso-ascii-mode):
14358 * language/thai-util.el (thai-word-mode):
14359 * mail/supercite.el (sc-minor-mode):
14360 * net/goto-addr.el (goto-address-mode):
14361 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14362 * progmodes/cwarn.el (cwarn-mode):
14363 * progmodes/flymake.el (flymake-mode):
14364 * progmodes/glasses.el (glasses-mode):
14365 * progmodes/hideshow.el (hs-minor-mode):
14366 * progmodes/pascal.el (pascal-outline-mode):
14367 * textmodes/enriched.el (enriched-mode):
14368 * vc/smerge-mode.el (smerge-mode):
14369 Doc fixes (minor mode argument).
14371 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14373 * ls-lisp.el (ls-lisp-sanitize): New function.
14374 (ls-lisp-insert-directory): Use it to fix or remove any elements
14375 in file-alist with missing attributes. (Bug#4673)
14377 2012-02-07 Alan Mackenzie <acm@muc.de>
14379 Fix spurious recognition of c-in-knr-argdecl.
14381 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14382 putative K&R region.
14384 2012-02-07 Alan Mackenzie <acm@muc.de>
14386 * progmodes/cc-engine.el (c-forward-objc-directive):
14387 Prevent looping in "#pragma mark @implementation".
14389 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14391 * notifications.el (notifications-on-closed-signal): Make `reason'
14392 optional. (Bug#10744)
14394 2012-02-07 Glenn Morris <rgm@gnu.org>
14396 * emacs-lisp/easy-mmode.el (define-minor-mode):
14397 Doc fixes for the macro and the mode it defines.
14399 * image.el (imagemagick-types-inhibit): Doc fix.
14401 * cus-start.el (imagemagick-render-type): Add it.
14403 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14405 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14406 Set the default at load time, too, so that `font-lock-fontify-buffer'
14407 can be called without setting up the entire mode first. This fixes
14408 a bug in `mm-inline-text' with C MIME parts.
14410 2012-02-06 Chong Yidong <cyd@gnu.org>
14412 * simple.el (list-processes--refresh): Delete exited processes
14415 * comint.el (comint-next-prompt): next-single-char-property-change
14416 and prev-single-char-property-change never return nil (Bug#8657).
14418 * custom.el (defcustom): Doc fix (Bug#9711).
14420 2012-02-05 Chong Yidong <cyd@gnu.org>
14422 * cus-edit.el (custom-variable-reset-backup): Quote the value
14423 before storing it in the customized-value property (Bug#6712).
14424 (custom-display): Add a customization type tag.
14425 (custom-buffer-create-internal): Improve tooltip message.
14427 * wid-edit.el (widget-field-value-get): New optional arg to
14428 suppress trailing whitespace truncation.
14429 (character): Use it (Bug#2689).
14431 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14433 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14434 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14436 2012-02-05 Chong Yidong <cyd@gnu.org>
14438 * cus-edit.el (custom-variable-value-create): For mismatched
14439 types, show the current value (Bug#7600).
14441 * custom.el (defcustom): Doc fix.
14443 2012-02-05 Glenn Morris <rgm@gnu.org>
14445 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14447 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14449 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14450 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14451 (pp-last-sexp): Use `looking-at-p'.
14453 2012-02-04 Glenn Morris <rgm@gnu.org>
14455 * files.el (revert-buffer):
14456 Doc fix (mention revert-buffer-in-progress-p).
14458 * emacs-lisp/ert-x.el (ert-simulate-command):
14459 Check deferred-action-list (which is obsolete) is bound.
14461 * subr.el (with-wrapper-hook): Doc fixes.
14463 * simple.el (filter-buffer-substring-functions)
14464 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14466 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14468 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14469 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14471 2012-02-04 Leo Liu <sdl.web@gmail.com>
14473 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14475 2012-02-04 Glenn Morris <rgm@gnu.org>
14477 * image.el (image-extension-data): Add obsolete alias.
14479 * isearch.el (isearch-update): Doc fix.
14481 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14483 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14485 2012-02-03 Glenn Morris <rgm@gnu.org>
14487 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14488 (image-animate-timeout): Doc fix.
14490 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14492 2012-02-02 Glenn Morris <rgm@gnu.org>
14494 * server.el (server-auth-dir): Doc fix.
14495 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14497 * subr.el (run-mode-hooks): Doc fix.
14499 2012-02-02 Juri Linkov <juri@jurta.org>
14501 * image-mode.el (image-toggle-display-image): Remove tautological
14502 `major-mode' from the `derived-mode-p' test.
14504 2012-02-02 Kenichi Handa <handa@m17n.org>
14506 * composite.el (compose-region): Cancel previous change.
14508 2012-02-02 Kenichi Handa <handa@m17n.org>
14510 * composite.el (compose-region, compose-string): Signal error for
14511 a null string component (Bug#6988).
14513 2012-02-01 Chong Yidong <cyd@gnu.org>
14515 * view.el (view-buffer-other-window, view-buffer-other-frame):
14516 Handle special modes like view-buffer (Bug#10650).
14517 (view-buffer): Simplify.
14519 * frame.el (set-frame-font): Tweak meaning of third argument.
14521 * dynamic-setting.el (font-setting-change-default-font):
14522 Use set-frame-font (Bug#9982).
14524 2012-02-01 Glenn Morris <rgm@gnu.org>
14526 * progmodes/compile.el (compilation-internal-error-properties):
14527 Respect compilation-first-column in the "*compilation*" buffer.
14529 * emacs-lisp/easy-mmode.el (define-minor-mode):
14530 Relax :variable's test for a named function.
14532 2012-01-31 Alan Mackenzie <acm@muc.de>
14534 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14537 2012-01-31 Chong Yidong <cyd@gnu.org>
14539 * frame.el (set-frame-font): New arg ALL-FRAMES.
14541 * menu-bar.el (menu-set-font): Use set-frame-font.
14543 * faces.el (face-spec-reset-face): Don't apply unspecified
14544 attribute values to the default face.
14546 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14548 * progmodes/cwarn.el (cwarn): Remove dead link.
14549 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14550 Remove * from defcustom docstrings.
14551 (turn-on-cwarn-mode): Make obsolete.
14552 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14553 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14555 2012-01-31 Glenn Morris <rgm@gnu.org>
14557 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14558 Fix :variable handling of mode a symbol not equal to modefun.
14559 Allow named functions to be used as the cdr of :variable.
14561 2012-01-30 Glenn Morris <rgm@gnu.org>
14563 * emacs-lisp/authors.el (authors-fixed-entries):
14564 Remove reference to deleted file rnewspost.el.
14566 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14568 * window.el (window-with-parameter): Remove unused variable `windows'.
14569 (window--side-check): Remove unused variable `code'.
14570 (window--resize-siblings): Remove unused variable `first'.
14571 (adjust-window-trailing-edge): Remove unused variable `failed'.
14572 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14573 Use `let', not `let*'.
14574 (balance-windows-2): Remove unused variable `found'.
14575 (window--state-put-2): Remove unused variable `splits'.
14576 (window-state-put): Remove unused variable `selected'.
14577 (same-window-p): Use `string-match-p'.
14578 (display-buffer-assq-regexp): Remove unused variable `value'.
14579 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14580 Mark argument ALIST as ignored.
14581 (pop-to-buffer): Remove unused variable `old-window'.
14583 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14585 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14586 and .lzma compressed files.
14588 2012-01-29 Chong Yidong <cyd@gnu.org>
14590 * frame.el (window-system-default-frame-alist): Doc fix.
14592 * dynamic-setting.el (font-setting-change-default-font): Don't
14593 change the default face if SET-FONT argument is non-nil (Bug#9982).
14595 2012-01-29 Samuel Bronson <naesten@gmail.com>
14597 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14599 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14601 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14602 breakpoints in files outside current directory (Bug#6098).
14604 2012-01-29 Chong Yidong <cyd@gnu.org>
14606 * progmodes/python.el: Require ansi-color at top-level.
14608 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14609 Define and use in Emacs Lisp mode (Bug#9360).
14610 (lisp-mode-abbrev-table): Add doc.
14611 (lisp-mode-variables): Don't set local-abbrev-table.
14612 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14614 2012-01-28 Roland Winkler <winkler@gnu.org>
14616 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14618 2012-01-28 Roland Winkler <winkler@gnu.org>
14620 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14621 (bibtex-set-dialect): Use it. Either set global values of
14622 dialect-dependent variables or bind these variables buffer-locally
14624 (bibtex-mode): Call bibtex-set-dialect via
14625 hack-local-variables-hook.
14626 (bibtex-dialect): Update docstring.
14627 Add safe-local-variable predicate.
14628 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14629 bibtex-set-dialect.
14630 (bibtex-mode-map): Define menu for each dialect.
14631 (bibtex-entry): Fix docstring.
14633 2012-01-28 Chong Yidong <cyd@gnu.org>
14635 * eshell/esh-arg.el (eshell-quote-argument): New function.
14637 * eshell/esh-ext.el (eshell-invoke-batch-file):
14638 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14639 first arg to eshell-parse-command (Bug#10523).
14641 2012-01-28 Drew Adams <drew.adams@oracle.com>
14643 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14644 `default-directory' is non-nil.
14646 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14648 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14649 line that displays system-configuration-options. (Bug#9924)
14651 2012-01-28 Drew Adams <drew.adams@oracle.com>
14653 * descr-text.el (describe-char): Show information about POS, in
14654 addition to information about the character at POS. Improve and
14655 update the doc string. Change "code point" to "code point in
14656 charset", to avoid confusion with the character's Unicode code
14657 point shown above that. (Bug#10129)
14659 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14661 * descr-text.el (describe-char): Show the raw character, not only
14662 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14663 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14666 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14668 * emacs-lisp/package.el (package-install):
14669 Run package-refresh-contents if there is no archive yet (Bug#9798).
14671 2012-01-28 Chong Yidong <cyd@gnu.org>
14673 * emacs-lisp/package.el (package-maybe-load-descriptor):
14674 New function, split from package-maybe-load-descriptor.
14675 (package-maybe-load-descriptor): Use it.
14676 (package-download-transaction): Fully load required packages
14677 inside the loop, so that `require' calls work (Bug#10593).
14678 (package-install): No need to call package-initialize now.
14680 2012-01-28 Chong Yidong <cyd@gnu.org>
14682 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14684 * tooltip.el (tooltip-mode): Doc fix.
14685 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14687 * frame.el (set-cursor-color): Doc fix (Bug#352).
14689 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14690 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14692 * cus-edit.el (custom-buffer-create-internal): Fix search button
14693 action (Bug#10542).
14694 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14696 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14698 * dired.el (dired-mark-files-regexp):
14699 Include any subdirectory components. (Bug#10445)
14701 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14703 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14704 Handle [host]:port syntax. (Bug#10533)
14706 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14708 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14710 2012-01-26 Glenn Morris <rgm@gnu.org>
14712 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14713 * term.el (term-raw-escape-map): Use Control-X-prefix.
14714 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14716 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14718 * window.el (window-state-get, window--state-get-1): Don't deal
14719 with fixed-sizeness of windows. Simplify code.
14721 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14723 * window.el (window--state-get-1, window--state-put-2):
14724 Don't save and restore the mark.
14726 2012-01-25 Chong Yidong <cyd@gnu.org>
14728 * custom.el (custom-variable-p): Doc fix.
14730 2012-01-25 Glenn Morris <rgm@gnu.org>
14732 * dired.el (dired-goto-file): Handle some of the more common
14733 characters that `ls -b' escapes. (Bug#10596)
14735 * progmodes/compile.el (compilation-next-error-function):
14736 Respect compilation-first-column in the "*compilation*" buffer.
14737 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14739 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14741 2012-01-24 Glenn Morris <rgm@gnu.org>
14743 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14745 2012-01-24 Julien Danjou <julien@danjou.info>
14747 * color.el (color-rgb-to-hsl): Fix value computing.
14748 (color-hue-to-rgb): New function.
14749 (color-hsl-to-rgb): New function.
14750 (color-clamp, color-saturate-hsl, color-saturate-name)
14751 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14752 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14754 2012-01-24 Glenn Morris <rgm@gnu.org>
14756 * vc/vc-rcs.el (vc-rcs-create-tag):
14757 * vc/vc-sccs.el (vc-sccs-create-tag):
14758 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14760 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14762 * eshell/esh-util.el (eshell-read-hosts-file):
14763 Skip comment lines. (Bug#10549)
14765 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14767 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14769 * subr.el (display-delayed-warnings): Doc fix.
14770 (collapse-delayed-warnings): New function to collapse identical
14772 (delayed-warnings-hook): Add it.
14774 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14776 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14778 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14779 (tramp-default-user-alist): Don't add "pscp".
14780 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14781 property "login-as", if set. (Bug#10530)
14783 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14785 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14786 "plink1" and "psftp". (Bug#10530)
14788 2012-01-21 Kenichi Handa <handa@m17n.org>
14790 * international/mule-cmds.el (prefer-coding-system): Show a
14791 warning message if the default value of file-name-coding-system
14794 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14796 * windmove.el (windmove-reference-loc):
14797 Fix windmove-reference-loc miscalculation.
14799 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14801 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14804 2012-01-21 Glenn Morris <rgm@gnu.org>
14806 * international/mule.el (auto-coding-alist): Add .tbz.
14808 * files.el (local-enable-local-variables): Doc fix.
14809 (inhibit-local-variables-regexps): Rename from
14810 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14811 Doc fix. Add some extensions from auto-coding-alist.
14812 (inhibit-local-variables-suffixes):
14813 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14814 (inhibit-local-variables-p):
14815 New function, extracted from set-auto-mode-1.
14816 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14817 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14818 (hack-local-variables): Doc fix. Make the mode-only case
14819 respect enable-local-variables and friends.
14820 Respect inhibit-local-variables-regexps for file-locals, but
14821 not for directory-locals.
14822 (set-visited-file-name):
14823 Take account of inhibit-local-variables-regexps.
14824 Whether it applies may change as the file name is changed.
14825 * jka-cmpr-hook.el (jka-compr-install):
14826 * jka-compr.el (jka-compr-uninstall):
14827 Update for inhibit-first-line-modes-suffixes name change.
14829 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14831 * help-macro.el (make-help-screen): Temporarily restore original
14832 binding for minor-mode-map-alist (Bug#10454).
14834 2012-01-19 Julien Danjou <julien@danjou.info>
14836 * color.el (color-name-to-rgb): Use the white color to find the max
14837 color component value and return correctly computed values.
14838 (color-name-to-rgb): Add missing float conversion for max value.
14840 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14842 * window.el (window--state-get-1, window-state-get): Do not use
14843 special state value for window-persistent-parameters.
14844 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14845 (window--state-put-2): Reset all window parameters to nil before
14846 assigning values of persistent parameters.
14848 2012-01-18 Alan Mackenzie <acm@muc.de>
14850 Eliminate sluggishness and hangs in fontification of "semicolon
14853 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14854 Change value 10000 -> 3000.
14855 (c-state-safe-place): Reformulate so it doesn't stack up an
14856 infinite number of wrong entries in c-state-nonlit-pos-cache.
14857 (c-determine-limit-get-base, c-determine-limit): New functions to
14858 determine backward search limits disregarding literals.
14859 (c-find-decl-spots): Amend commenting.
14860 (c-cheap-inside-bracelist-p): New function which detects "={".
14862 * progmodes/cc-fonts.el
14863 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14865 (c-font-lock-declarations): Fix an occurrence of point being
14866 undefined. Check additionally for point being in a bracelist or
14867 near a macro invocation without a semicolon so as to avoid a
14868 fruitless time consuming search for a declarator. Give a more
14869 precise search limit for declarators using the new
14872 2012-01-18 Glenn Morris <rgm@gnu.org>
14874 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14875 (set-auto-mode): Doc fixes.
14877 2012-01-17 Glenn Morris <rgm@gnu.org>
14879 * isearch.el (search-nonincremental-instead): Fix doc typo.
14881 * dired.el (dired-insert-directory): Handle newlines in directory name.
14882 (dired-build-subdir-alist): Unescape newlines in directory name.
14884 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14886 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14887 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14888 (tramp-action-terminal): Use it. (Bug#10530)
14890 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14892 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14894 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14896 * window.el (window-state-ignored-parameters): Remove variable.
14897 (window--state-get-1): Rename argument MARKERS to IGNORE.
14898 Handle persistent window parameters. Make copy of clone-of
14899 parameter only if requested. (Bug#10348)
14900 (window--state-put-2): Install a window parameter only if it has
14901 a non-nil value or an existing parameter shall be overwritten.
14903 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14905 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14907 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14909 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14910 don't pass the (nil) value of `upnode' to string-match.
14912 2012-01-14 Chong Yidong <cyd@gnu.org>
14914 * startup.el (command-line): Fix X resource class for cursorColor.
14915 Fix values recognized by the cursorBlink resource.
14917 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14919 * epg.el (epg--make-temp-file): Avoid permission race condition
14920 when running on old Emacs versions (bug#10403).
14922 2012-01-14 Glenn Morris <rgm@gnu.org>
14924 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14926 2012-01-13 Alan Mackenzie <acm@muc.de>
14928 Fix filling for when filladapt mode is enabled.
14930 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14931 c-mask-paragraph, pass in `fill-paragraph' rather than
14932 `fill-region-as-paragraph'. (This is a reversion of a previous
14934 * progmodes/cc-mode.el (c-basic-common-init):
14935 Make fill-paragraph-handle-comment buffer local and set it to nil.
14937 2012-01-13 Glenn Morris <rgm@gnu.org>
14939 * dired.el (dired-switches-escape-p): New function.
14940 (dired-insert-directory): Use dired-switches-escape-p.
14941 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14943 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14945 2012-01-12 Glenn Morris <rgm@gnu.org>
14947 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14948 changes in adaptive-fill-regexp. (Bug#10276)
14950 2012-01-11 Alan Mackenzie <acm@muc.de>
14952 Fix Emacs bug #10463 - put `widen's around the critical spots.
14954 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14955 widen around each invocation of c-state-pp-to-literal. Remove an
14956 unused let variable.
14958 2012-01-11 Glenn Morris <rgm@gnu.org>
14960 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14963 2012-01-10 Chong Yidong <cyd@gnu.org>
14965 * net/network-stream.el (network-stream-open-starttls):
14966 Avoid emitting a confusing error message when the server gives a bad
14967 response to the capability command.
14969 2012-01-10 Glenn Morris <rgm@gnu.org>
14971 * mail/unrmail.el (unrmail): Tweak previous change.
14973 2012-01-09 Chong Yidong <cyd@gnu.org>
14975 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14977 2012-01-08 Alan Mackenzie <acm@muc.de>
14979 Optimize font locking in long enum definitions.
14981 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14982 arm to a cond form to handle enums.
14983 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14984 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14986 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14988 * files.el (move-file-to-trash): Preserve default file modes on error.
14991 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14993 * faces.el (set-face-attribute): Clarify the meaning of the nil
14996 * subr.el (with-selected-frame): Mention that the selected frame
14997 is restored (bug#9980).
14999 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15002 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15003 (password-read): Don't autoload unused function.
15005 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15007 * progmodes/which-func.el (which-func-mode): Turn into a
15008 non-interactive function and mark as obsolete (bug#10428).
15010 2012-01-06 Chong Yidong <cyd@gnu.org>
15012 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15013 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15014 functions, along with 1 and -1.
15016 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15018 * time.el (display-time-load-average)
15019 (display-time-default-load-average): Doc fixes. See the thread
15021 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15024 2012-01-06 Glenn Morris <rgm@gnu.org>
15026 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15027 has no messages. (Bug#10377)
15029 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15030 than Info-edit. (Bug#10385)
15032 * time.el (display-time-load-average, display-time-next-load-average):
15035 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15036 local setting of buffer-read-only to the input buffer. (Bug#10419)
15038 * calendar/calendar.el (calendar-mode):
15039 Locally set scroll-margin to 0. (Bug#10379)
15041 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15043 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15045 2012-01-05 Glenn Morris <rgm@gnu.org>
15047 * eshell/em-unix.el (diff-no-select): Autoload it.
15048 (eshell/diff): Use diff-no-select. (Bug#10420)
15050 2012-01-05 Chong Yidong <cyd@gnu.org>
15052 * shell.el (shell-dynamic-complete-functions): Revert last change.
15053 (shell-command-completion-function): New function.
15054 (shell-completion-vars): Use it to implement
15055 shell-completion-execonly (Bug#10417).
15057 * custom.el (enable-theme): Don't set custom-safe-themes.
15059 * cus-theme.el (custom-theme-merge-theme):
15060 Ignore custom-enabled-themes and custom-safe-themes.
15062 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15064 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15065 first prompt in `sql-interacive-mode'.
15066 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15068 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15069 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15070 context of original buffer. Invoke `sql-login-hook'.
15072 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15074 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15075 letters in cite-prefix.
15077 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15079 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15081 2012-01-03 Chong Yidong <cyd@gnu.org>
15083 * shell.el (shell-dynamic-complete-functions):
15084 Put pcomplete-completions-at-point, so as to try
15085 comint-filename-completion first (Bug#10417).
15087 2012-01-02 Richard Stallman <rms@gnu.org>
15089 * battery.el (battery-status-function):
15090 Detect when to use battery-yeeloong-sysfs.
15091 (battery-echo-area-format): Add string for Yeeloong.
15092 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15093 (battery-yeeloong-sysfs): New function.
15095 2012-01-02 Chong Yidong <cyd@gnu.org>
15097 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15098 (dirtrack): Merge code for handling relative filenames in prompt
15099 from shell-dir-cookie-watcher.
15100 (dirtrack-debug-message): New arg to avoid excess format calls.
15102 * shell.el (shell-dir-cookie-re): Variable deleted.
15103 (shell-dir-cookie-watcher): Function deleted.
15104 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15105 with dirtrack-mode.
15107 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15109 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15110 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15113 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15115 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15117 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15119 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15120 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15122 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15124 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15125 also for alternative shells.
15126 (tramp-open-connection-setup-interactive-shell): Check, whether
15127 the shell is a busybox.
15128 (tramp-send-command): Don't suppress multiple prompts for
15129 busyboxes, it hurts.
15131 2011-12-28 Chong Yidong <cyd@gnu.org>
15133 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15134 (gdb-get-source-file): Move mode line update to
15135 gdb-get-source-file (Bug#10087).
15137 2011-12-25 Chong Yidong <cyd@gnu.org>
15139 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15140 gud-gdb-marker-filter without taking it as an argument.
15141 (gud-gdb-run-command-fetch-lines): Caller changed.
15142 (gud-gdb-completion-function): New variable.
15143 (gud-gdb-completion-at-point): Use it.
15144 (gud-gdb-completions-1): Split from gud-gdb-completions.
15146 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15147 function as separate arguments.
15148 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15149 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15150 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15151 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15152 (gdb-stopped, def-gdb-auto-update-trigger)
15153 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15154 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15156 (gud-gdbmi-completions): New function.
15157 (gdb): Use it for generating the completion table.
15159 2011-12-24 Alan Mackenzie <acm@muc.de>
15161 Introduce a mechanism to widen the region used in context font
15162 locking. Use this to protect declarations from losing their contexts.
15164 * progmodes/cc-langs.el (c-before-font-lock-functions):
15165 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15166 (c-before-context-fontification-functions): New defvar, a list of
15167 functions to be run just before context (etc.) font locking.
15169 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15170 New, functionality extracted from
15171 c-neutralize-syntax-in-and-mark-CPP.
15172 (c-in-after-change-fontification): New variable.
15173 (c-after-change): Set c-in-after-change-fontification.
15174 (c-set-fl-decl-start): Rejig its interface, so it can be called
15175 from both after-change and context fontifying.
15176 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15178 (c-standard-font-lock-fontify-region-function): New variable.
15179 (c-font-lock-fontify-region): New function.
15181 2011-12-24 Juri Linkov <juri@jurta.org>
15183 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15186 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15188 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15189 existence of source file. (Bug#10325)
15191 2011-12-23 Alan Mackenzie <acm@muc.de>
15193 Fix unstable fontification inside templates.
15195 * progmodes/cc-langs.el (c-before-font-lock-functions):
15196 Newly created from the singular version. The (c c++ objc) entry now
15197 additionally has c-set-fl-decl-start. The other languages (apart
15198 from AWK) have that as a single entry.
15200 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15201 The functionality for "local" declarations has been extracted to
15202 c-set-fl-decl-start.
15204 * progmodes/cc-mode.el (c-common-init, c-after-change):
15205 Changes due to pluralisation of c-before-font-lock-functions.
15206 (c-set-fl-decl-start): New function, extracted from
15207 c-font-lock-enclosing-decls and enhanced.
15209 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15211 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15213 2011-12-22 Juri Linkov <juri@jurta.org>
15215 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15217 2011-12-22 Chong Yidong <cyd@gnu.org>
15219 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15221 2011-12-21 Drew Adams <drew.adams@oracle.com>
15223 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15225 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15227 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15229 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15231 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15232 highlighting and support. Fix up comments for capitalization.
15233 (cfengine-mode-debug): New var.
15234 (cfengine3-mode): Change the modeline indicator to "CFE3".
15235 (cfengine3-font-lock-keywords): Improve defun highlighting.
15236 (cfengine2-actions): Rename from `cfengine-actions'.
15237 (cfengine2-font-lock-keywords): Rename from
15238 `cfengine-font-lock-keywords'.
15239 (cfengine2-imenu-expression): Rename from
15240 `cfengine-imenu-expression'.
15241 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15242 (cfengine2-beginning-of-defun): Rename from
15243 `cfengine-beginning-of-defun'.
15244 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15245 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15246 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15247 modeline indicator to "CFE2".
15248 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15249 (cfengine-mode-abbrevs): Mark obsolete.
15251 2011-12-21 Chong Yidong <cyd@gnu.org>
15253 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15256 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15258 * window.el (window-normalize-buffer-to-display): Remove.
15259 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15261 2011-12-19 Chong Yidong <cyd@gnu.org>
15263 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15264 Don't signal an error in a predicate function; return non-nil.
15265 (vc-dir-mark-file): Move the error here.
15266 (vc-dir-mark-unmark): If acting on the region, keep going if one
15267 of the entries cannot be marked/unmarked.
15268 (vc-dir-mark-all-files): If current entry is a directory, mark
15269 only child files, as documented.
15271 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15273 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15274 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15277 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15279 * term/ns-win.el (ns-get-selection-internal)
15280 (ns-store-selection-internal): Declare.
15281 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15282 Declare as obsolete.
15283 (ns-get-pasteboard, ns-paste-secondary):
15284 Use ns-get-selection-internal.
15285 (ns-set-pasteboard, ns-copy-including-secondary):
15286 Use ns-store-selection-internal.
15288 2011-12-17 Chong Yidong <cyd@gnu.org>
15290 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15291 (vc-deduce-fileset): Doc fix.
15293 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15295 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15297 2011-12-13 Sam Steingold <sds@gnu.org>
15299 * man.el (Man-getpage-in-background): When running under a
15300 window-system, ignore $MANWIDTH and $COLUMNS.
15302 2011-12-15 Kenichi Handa <handa@m17n.org>
15304 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15305 (setup-ethiopic-environment-internal): Comment out key-binding for
15306 ethio-toggle-punctuation.
15308 2011-12-13 Alan Mackenzie <acm@muc.de>
15310 Add the switch statement to AWK Mode.
15312 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15313 "default" to the keywords regexp.
15315 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15316 expression as the rest.
15317 (c-nonlabel-token-key): Allow string literals for AWK.
15318 Refactor for the other modes.
15320 Large brace-block initialisation makes CC Mode slow: Fix.
15321 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15322 routines. Limit backward searching in c-font-lock-enclosing.decl.
15324 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15325 pp-state and literal type in addition to the limits.
15326 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15327 (c-state-literal-at): Use the above new defun.
15328 (c-slow-in-literal, c-fast-in-literal): Remove.
15329 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15331 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15332 being in a literal. Add a limit for backward searching.
15334 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15337 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15339 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15341 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15343 * window.el (delete-other-windows): Use correct frame in call to
15344 window-with-parameter.
15346 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15348 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15349 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15350 (makefile-gmake-statements, makefile-makepp-statements):
15351 Use it and add new makepp keywords.
15352 (makefile-makepp-font-lock-keywords): Add new patterns.
15353 (makefile-match-function-end): Match new [...] and [[...]].
15355 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15357 * ses.el (ses-call-printer-return, ses-cell-property-get)
15358 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15359 (ses-create-cell-variable, ses-reset-header-string)
15360 (ses-cell-set-formula, ses-repair-cell-reference-all)
15361 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15362 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15363 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15364 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15365 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15366 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15367 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15368 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15369 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15370 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15371 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15372 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15374 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15376 * ses.el: The overall change is to add cell renaming, that is
15377 setting fancy names for cell symbols other than name matching
15378 "\\`[A-Z]+[0-9]+\\'" regexp .
15379 (ses-create-cell-variable): New defun.
15380 (ses-relocate-formula): Relocate formulas only for cells the
15381 symbols of which are not renamed, i.e. symbols whose names do not
15382 match regexp "\\`[A-Z]+[0-9]+\\'".
15383 (ses-relocate-all): Relocate values only for cells the symbols of
15384 which are not renamed.
15385 (ses-load): Create cells variables as the (ses-cell ...) are read,
15386 in order to check row col consistency with cell symbol name only
15387 for cells that are not renamed.
15388 (ses-replace-name-in-formula): New defun.
15389 (ses-rename-cell): New defun.
15391 2011-12-11 Chong Yidong <cyd@gnu.org>
15393 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15394 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15396 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15398 * window.el (other-window): Fix docstring.
15400 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15402 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15403 `from' or `to' address before taking its substring.
15404 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15405 encoded name is chopped in the middle of the encoded string, and
15406 thus displayed encoded.
15408 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15410 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15412 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15414 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15415 to use texinfo-update-node and commands that call it if the
15416 Texinfo file uses @node lines without next/prev/up pointers.
15417 Correct outdated description about texinfo-master-menu.
15418 (texinfo-all-menus-update, texinfo-master-menu)
15419 (texinfo-update-node, texinfo-every-node-update)
15420 (texinfo-multiple-files-update): Doc fix. Warn against updating
15421 all the @node lines.
15422 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15423 argument is numeric. Explain better in the doc string what the
15424 function really does.
15425 (texinfo-insert-master-menu-list): Improve the error message
15426 displayed if there's no menu in the Top node.
15427 (Bug#2975) See also this thread:
15428 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15430 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15432 * speedbar.el (speedbar-supported-extension-expressions):
15433 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15435 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15437 * printing.el (pr-mode-alist):
15438 * simple.el (filter-buffer-substring-functions)
15439 (completion-list-insert-choice-function):
15440 * window.el (window-with-parameter, window-atom-root)
15441 (window-sides-slots, window-size-fixed, window-min-delta)
15442 (window-max-delta, window--resize-mini-window)
15443 (window--resize-child-windows-normal, window-tree)
15444 (delete-other-windows, quit-window, split-window)
15445 (display-buffer-record-window, special-display-buffer-names)
15446 (special-display-regexps, special-display-popup-frame)
15447 (same-window-p, split-window-sensibly)
15448 (display-buffer-overriding-action, display-buffer-alist)
15449 (display-buffer-base-action, display-buffer, switch-to-buffer)
15450 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15451 (fit-window-to-buffer, recenter-positions)
15452 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15453 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15454 and remove unneeded backslashes in docstrings.
15456 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15458 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15460 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15461 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15463 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15464 when reading the makefile (bug#10116).
15466 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15468 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15471 2011-12-06 Glenn Morris <rgm@gnu.org>
15473 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15475 2011-12-06 Chong Yidong <cyd@gnu.org>
15477 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15479 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15481 * textmodes/table.el (table-shorten-cell): Fix typo.
15483 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15485 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15487 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15489 * descr-text.el (describe-char): Fix display of strong
15490 right-to-left characters and directional embeddings and overrides.
15492 * simple.el (what-cursor-position): Fix display of codepoints of
15493 strong right-to-left characters.
15495 2011-12-05 Chong Yidong <cyd@gnu.org>
15497 * faces.el (read-color): Doc fix.
15499 2011-12-05 Glenn Morris <rgm@gnu.org>
15501 * align.el (align--set-marker): Add doc-string.
15502 Don't try to move something that is not a marker. (Bug#10216)
15504 2011-12-04 Glenn Morris <rgm@gnu.org>
15506 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15507 overly zealous deletion of trailing whitespace.
15509 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15511 * server.el (server-delete-client): On Windows, do not try to delete
15513 (server-process-filter): On Windows, treat requests for a tty frame as
15514 if they were for a GUI frame if the running server is in GUI mode.
15516 2011-12-03 Glenn Morris <rgm@gnu.org>
15518 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15520 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15522 * electric.el: Streamline electric-indent's hook.
15523 (electric-indent-chars): Revert to simple list.
15524 (electric-indent-functions): New var.
15525 (electric-indent-post-self-insert-function): Use it.
15527 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15528 there's no inferior buffer (bug#10196).
15529 (prolog-consult-compile): Don't use toggle-read-only.
15531 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15533 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15534 interrupt. (Bug#10187)
15536 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15538 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15541 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15544 2011-12-02 Juri Linkov <juri@jurta.org>
15546 * info.el (Info-search): Display "end of manual" when Isearch
15547 reaches the end of single-file Info manual. (Bug#9918)
15549 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15551 * isearch.el (isearch-message-prefix): Run the input method part
15552 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15554 2011-12-02 Juri Linkov <juri@jurta.org>
15556 * isearch.el (isearch-occur): Use `word-search-regexp' for
15558 (isearch-search-and-update): Add condition for `isearch-word' and
15559 call `word-search-regexp'. (Bug#10145)
15561 2011-12-01 Glenn Morris <rgm@gnu.org>
15563 * eshell/em-hist.el (eshell-hist-initialize):
15564 Handle eshell-history-size nil and HISTSIZE set or unset.
15565 (eshell-history-file-name, eshell-history-size): Fix custom type.
15567 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15569 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15571 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15573 * progmodes/verilog-mode.el (verilog-pretty-expr):
15574 Rework verilog-pretty-expr to handle new assignment operators in system
15575 verilog, such as += *= and the like.
15576 (verilog-assignment-operator-re): Regular expression to find the
15577 assigment operator in a verilog assignment.
15578 (verilog-assignment-operation-re): Regular expression to find an
15579 assignment statement for pretty-expr.
15580 (verilog-in-attribute-p): Query returns true if point is in an
15581 attribute context; used to skip these for expression line up from
15583 (verilog-in-parameter-p): Query returns true if point is in an
15584 parameter definition context; used to skip these for expression
15585 line up from pretty-expr.
15586 (verilog-in-parenthesis-p): Query returns true if point is in a
15587 parenthetical expression, specifically ( ) but not [ ] or { };
15588 used by pretty-expr.
15589 (verilog-just-one-space): If there is no space, don't add one.
15590 (verilog-get-lineup-indent-2): Specifically skip just attribute
15591 contexts for expression lineup, rather than skipping all
15592 parenthetical expressions.
15593 (verilog-calculate-indent): Fix comment, and fix indent.
15594 (verilog-do-indent): Indent declarations in lists (suggested by
15596 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15598 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15601 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15603 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15604 parameters with embedded comments. Reported by Ray Stevens.
15605 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15606 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15607 Reported by Tim Holt.
15608 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15609 instantiated by upper module causing wrong expansion until AUTOed a
15610 second time. Reported by K C Buckenmaier.
15611 (verilog-diff-auto): Fix showing .* as a difference when
15612 `verilog-auto-star-save' off. Reported by Dan Dever.
15613 (verilog-auto-reset, verilog-read-always-signals)
15614 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15615 temporary signals in reset list if
15616 verilog-auto-reset-blocking-in-non is nil, and match assignment
15617 style to each signal's assignment type, bug381.
15618 Reported by Thomas Esposito.
15619 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15620 (verilog-uvm-statement-re): Support UVM indentation and
15621 highlighting, with old OVM keywords only.
15622 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15623 Support AUTOTIEOFF creating non-wire data types.
15624 Suggested by Jonathan Greenlaw.
15625 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15626 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15627 (verilog-inject-sense, verilog-read-inst-pins)
15628 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15629 Fix mismatching parenthesis inside commented out code when deleting
15630 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15631 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15632 non-numeric vector width. Reported by Alex Reed.
15633 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15634 detecting signals with parameter widths. Reported by Alex Reed.
15635 (verilog-auto-delete-trailing-whitespace):
15636 With `verilog-auto-delete-trailing-whitespace' remove trailing
15637 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15638 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15639 Fix verilog-scan-cache corruption when running user AUTO expansion
15640 hooks that call indentation routines.
15641 (verilog-simplify-range-expression): Fix typo ignoring lower case
15643 (verilog-delete-auto): Fix delete-autos to also remove user created
15644 automatics, as long as they start with AUTO.
15645 (verilog-batch-diff-auto, verilog-diff-auto)
15646 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15647 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15648 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15649 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15650 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15651 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15652 is disabled and its cache will get corrupt, causing AUTOS not to
15653 expand. Instead use only -quick functions.
15654 (verilog-scan-region): Fix scanning over escaped quotes.
15655 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15656 (verilog-re-search-backward-quick)
15657 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15658 related functions now ignore strings, to fix misparsing of strings
15659 with magic comments embedded in them.
15660 (verilog-read-auto-template):
15661 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15662 Reported by Brad Dobbie.
15663 (verilog-read-auto-template):
15664 Fix 'verilog-auto-inst-template-numbers' with comments.
15665 Reported by Brad Dobbie.
15666 (verilog-auto-inst, verilog-auto-inst-param)
15667 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15668 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15669 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15670 debugging templates without merge conflicts, bug357.
15671 Reported by Brad Dobbie.
15672 (verilog-read-auto-template):
15673 Fix verilog-auto-inst-template-numbers with multiple templates.
15674 Reported by Brad Dobbie.
15675 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15676 abbrevs so user won't be asked to save.
15677 (verilog-read-auto-lisp-present): Fix to start at beginning of
15678 buffer in case called outside of verilog-auto.
15679 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15680 to "X-2". Reported by Matthew Myers.
15681 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15682 all inputs from module templates. Reported by Leith Johnson.
15683 (verilog-module-inside-filename-p): Fix locating programs as with
15685 (verilog-auto-inst-port): Fix vl-width expressions when using
15686 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15687 (verilog-decls-get-regs, verilog-decls-get-signals,
15688 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15689 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15690 verilog-read-decls): Combine reg and wire structures into one var
15691 structure to represent SystemVerilog concepts.
15692 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15693 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15694 (verilog-auto-wire-type, verilog-insert-definition):
15695 Add verilog-auto-wire-type and AUTOLOGIC to support using
15696 SystemVerilog "logic" keyword instead of "wire"/"reg".
15697 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15698 to declares outputs that also have assignments (presumably in an
15699 ifdef or generate if so there's not a driver conflict).
15700 Reported by Matthew Myers.
15701 (verilog-auto-declare-nettype, verilog-insert-definition):
15702 Add verilog-auto-declare-nettype to fix declarations using
15703 `default_nettype none. Reported by Julian Gorfajn.
15704 (verilog-read-always-signals-recurse, verilog-read-decls)
15705 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15706 malformed end statement, bug325. Reported by Joshua Wise and
15708 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15709 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15710 when expanding .* in interfaces, bug320.
15711 Reported by Pierre-David Pfister.
15712 (verilog-read-module-name): Fix import statements between module
15713 name and open parenthesis, bug317.
15714 Reported by Pierre-David Pfister.
15715 (verilog-simplify-range-expression): Fix simplification of
15716 multiplications inside AUTOWIRE connections, bug303.
15717 (verilog-auto-inst-port): Support parameter expansion in
15718 multidimensional arrays.
15719 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15720 after "assert property". Reported by Julian Gorfajn.
15721 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15722 with multiplication, bug303.
15723 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15724 Reported by Jan Frode Lonnum.
15726 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15728 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15729 (hfy-shell-file-name, hfy-shell):
15730 * international/fontset.el (x-decompose-font-name): Fix typos.
15732 2011-11-29 Ken Brown <kbrown@cornell.edu>
15734 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15735 (gdb-version): Remove defvar.
15736 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15737 (gdb-gud-context-command, gdb-non-stop-handler)
15738 (gdb-current-context-command, gdb-stopped): Use it.
15739 (gdb-init-1): Enable pretty printing here.
15740 (gdb-non-stop-handler): Don't enable pretty-printing here.
15741 Check to see if the target supports non-stop mode; if not, turn off
15742 non-stop mode. Use the following.
15743 (gdb-check-target-async): New defun.
15744 (gud-watch, gdb-stopped): Fix whitespace.
15745 (gdb-get-source-file): Don't try to display the source file if
15746 `gdb-main-file' is nil.
15748 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15750 * align.el: Try to generate fewer markers (bug#10047).
15751 (align--set-marker): New macro.
15752 (align-region): Use it.
15754 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15756 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15758 2011-11-29 Chong Yidong <cyd@gnu.org>
15760 * indent.el (indent-for-tab-command, indent-according-to-mode):
15762 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15764 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15766 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15767 aware of remote file names. (Bug#10124)
15769 2011-11-29 Chong Yidong <cyd@gnu.org>
15771 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15773 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15775 * files.el (find-file): Don't use force-same-window (bug#10144).
15776 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15777 use pop-to-buffer if the selected window can't be used.
15778 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15780 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15782 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15785 2011-11-28 Chong Yidong <cyd@gnu.org>
15787 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15789 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15791 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15792 gdb-get-source-file-list on gdb-create-source-file-list.
15794 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15796 * whitespace.el (whitespace-newline): Use a different foreground
15797 color for 16-color light-background displays.
15799 2011-11-24 Chong Yidong <cyd@gnu.org>
15801 * window.el (display-buffer--special-action): Doc fix.
15803 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15805 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15806 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15807 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15808 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15809 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15810 (avl-tree-stack-first):
15811 * emacs-lisp/cconv.el (cconv--analyse-use):
15812 * net/gnutls.el (gnutls-negotiate): Fix typos.
15814 2011-11-24 Glenn Morris <rgm@gnu.org>
15816 * lpr.el (lpr-windows-system, lpr-lp-system):
15817 * mail/binhex.el (binhex-begin-line):
15818 * progmodes/grep.el (grep-history, grep-find-history):
15819 * textmodes/flyspell.el:
15820 * vc/pcvs-defs.el (cvs-global-menu):
15821 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15822 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15823 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15825 * net/tls.el: Fix case of "GnuTLS".
15827 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15829 * version.el (emacs-build-system): Give it a doc-string.
15831 2011-11-24 Juri Linkov <juri@jurta.org>
15833 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15835 2011-11-24 Glenn Morris <rgm@gnu.org>
15837 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15838 if called on a non-mime message just toggle the headers. (Bug#8006)
15840 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15842 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15843 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15844 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15845 (allout-rebullet-heading, allout-open-sibtopic)
15846 (allout-toggle-current-subtree-encryption)
15847 (allout-toggle-subtree-encryption, allout-encrypt-string)
15848 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15849 (allout-distinctive-bullets-string, allout-auto-activation):
15850 * window.el (window-normalize-buffer-to-display):
15851 * progmodes/verilog-mode.el (verilog-batch-indent):
15852 * textmodes/bibtex.el (bibtex-field-braces-opt)
15853 (bibtex-field-strings-opt):
15854 * vc/cvs-status.el (cvs-tree-merge):
15857 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15859 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15860 `non-essential' to t, in order to avoid remote connections.
15862 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15864 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15865 On MS-DOS and MS-Windows, compare with loaddefs.el
15866 case-insensitively.
15868 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15870 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15872 2011-11-23 Glenn Morris <rgm@gnu.org>
15874 * paths.el (rmail-file-name): Reformat the doc-string so that it
15877 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15878 (rmail-auto-file): Ignore case in the "special" field names,
15879 as mail-fetch-field does for all others.
15881 * mail/rmail.el (rmail-forward):
15882 * mail/rmailkwd.el (rmail-set-label):
15883 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15884 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15886 * mail/rmail.el (rmail-current-message): Doc fix.
15888 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15890 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15892 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15894 2011-11-22 Glenn Morris <rgm@gnu.org>
15896 * mail/rmailmm.el (test-rmail-mime-handler)
15897 (test-rmail-mime-bulk-handler)
15898 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15900 2011-11-21 Juri Linkov <juri@jurta.org>
15902 * calc/calc.el (calc-read-key-sequence):
15903 Let-bind `input-method-function' to nil. (Bug#10018)
15905 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15907 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15908 Tell the caller that the next line needs recomputation, even
15909 though it doesn't start a sexp (bug#10094).
15911 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15915 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15917 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15918 Use force-same-window.
15920 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15922 * descr-text.el (describe-char-unicode-data):
15923 * json.el (json-string-escape):
15924 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15925 (Footnote-unicode, Footnote-style-p):
15926 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15928 2011-11-20 Chong Yidong <cyd@gnu.org>
15930 * window.el (replace-buffer-in-windows): Restore interactive spec.
15932 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15934 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15936 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15937 (byte-compile-global-not-obsolete-vars): New var.
15938 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15940 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15942 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15944 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15945 * progmodes/pascal.el (electric-pascal-equal):
15946 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15947 * xml.el (xml-substitute-special): Fix typos.
15949 2011-11-20 Glenn Morris <rgm@gnu.org>
15951 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15952 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15954 (rmail-decode-mime-charset): Mark as obsolete.
15956 * mail/rmailsum.el (rmail-message-regexp-p-1):
15957 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15958 Before using mime functions, check they are set. (Bug#10077)
15960 2011-11-19 Juri Linkov <juri@jurta.org>
15962 * info.el (Info-finder-find-node): Use `package--builtins' instead
15963 of `package-alist'. Use node names formed by the pattern "Keyword "
15964 and the keyword name.
15966 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15968 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15970 2011-11-19 Juri Linkov <juri@jurta.org>
15972 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15973 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15974 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15975 `old-history', `old-history-forward'. Add let-binding
15976 `window-selected'. Remove calls to `kill-buffer',
15977 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15978 before calling `Info-find-node', so `Info-find-node-2' will reread
15979 the Info file. Restore window positions only when `window-selected'
15982 2011-11-19 Juri Linkov <juri@jurta.org>
15984 * isearch.el (isearch-lazy-highlight-new-loop):
15985 Remove condition `(not isearch-error)'. (Bug#9918)
15987 * misearch.el (multi-isearch-search-fun): Add condition
15988 `(not bound)' to ignore lazy-highlighting search.
15989 Add the search-failed message "end of multi" when the end of
15990 multi-sequence is reached. Uncapitalize the search-failed
15991 message "Repeat for next buffer".
15993 * info.el (Info-search): Add the search-failed message
15994 "end of the manual" when the end of the manual is reached
15997 2011-11-19 Juri Linkov <juri@jurta.org>
15999 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16000 Use non-destructive `remove' instead of `delete' because
16001 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16002 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16004 2011-11-19 Juri Linkov <juri@jurta.org>
16006 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16007 to nil instead of binding `search-ring' and `regexp-search-ring'.
16010 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16012 * simple.el (line-move): Force movement by logical lines for any
16013 hscrolled window, not only when auto-hscroll-mode is on.
16014 (line-move-visual): Update doc string to that effect. (Bug#10076)
16016 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16018 * language/european.el (macintosh): Define as alias for mac-roman.
16020 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16022 * mail/rmailmm.el (rmail-mime-display-header)
16023 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16024 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16025 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16026 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16027 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16029 (rmail-mime-entity-segment): To get past the tagline, move forward
16030 2 more lines, to account for the 2 empty lines that precede and
16031 follow the line with the buttons.
16032 (rmail-mime-update-tagline): Move one more line, to get past the
16033 empty line that follows the buttons in the tagline. (Bug#9520)
16035 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16037 * window.el (window-max-delta-1, window-min-delta-1)
16038 (window-min-size-1, window-state-get-1, window-state-put-1)
16039 (window-state-put-2): Use "window--" prefix.
16041 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16043 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16044 (smie-warning-count): New var.
16045 (smie-set-prec2tab): Use it.
16046 (smie-bnf->prec2): Improve warnings. Add docstring.
16047 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16048 (smie-bnf--set-class): New function.
16049 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16052 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16053 (compilation-error-properties, compilation-move-to-column):
16054 Handle compilation-first-column while in the target buffer.
16056 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16057 Don't hardcode point-min==1.
16059 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16060 (eshell-rewrite-for-command): Remove workaround.
16061 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16062 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16063 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16065 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16067 2011-11-17 Glenn Morris <rgm@gnu.org>
16069 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16070 Ignore buffer-local generated-autoload-file if it is the same
16071 as the global value. (Bug#10049)
16073 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16075 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16076 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16077 (reftex-toc-previous-heading, reftex-toc-max-level)
16078 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16079 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16080 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16081 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16082 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16083 (reftex-toc-rename-label, reftex-toc-visit-location)
16084 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16085 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16086 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16087 leaving "*toc*" only for references to the buffer.
16089 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16091 * window.el (window-resize, delete-window, split-window):
16092 Replace window-splits by window-combination-resize.
16093 * cus-start.el (window-splits): Replace by window-combination-resize.
16095 2011-11-17 Glenn Morris <rgm@gnu.org>
16097 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16098 Make bash entry derive from sh entry, not shell entry.
16100 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16102 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16105 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16107 * menu-bar.el (menu-bar-file-menu):
16108 * printing.el (pr-ps-utility):
16109 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16110 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16111 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16112 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16113 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16114 (icalendar--convert-cyclic-to-ical)
16115 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16116 (icalendar--convert-ical-to-diary)
16117 (icalendar--convert-recurring-to-diary)
16118 (icalendar--convert-non-recurring-all-day-to-diary)
16119 (icalendar-import-format-sample):
16120 * progmodes/idlw-shell.el (idlwave-shell-mode):
16121 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16122 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16123 (vhdl-ps-print-init): Fix typos.
16125 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16127 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16128 FSF and collapse date sequence, obscure author/maintainer email address
16129 better, remove extra version line, track relocation of author's webpage.
16131 * progmodes/python.el (python-pdbtrack-input-prompt)
16132 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16133 regular python pdb prompts. Adjustments shamelessly taken exactly as
16134 suggested in EmacsWiki page (tiny change):
16135 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16137 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16139 * expand.el (expand-pos, expand-index, expand-point):
16140 Remove redundant info from docstring.
16141 (expand-add-abbrevs): Doc fix.
16142 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16143 (expand-sample-perl-mode-expand-list): Fix typos.
16145 * net/dbus.el (dbus-event-member-name):
16146 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16147 * term/pc-win.el (msdos-create-frame-with-faces):
16148 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16150 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16152 * window.el (split-window, window-state-get-1)
16153 (window-state-put-1, window-state-put-2): Rename occurrences of
16154 window-nest to window-combination-limit.
16155 * cus-start.el (window-nest): Rename to window-combination-limit.
16157 2011-11-16 Chong Yidong <cyd@gnu.org>
16159 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16160 regexp (Bug#10033).
16162 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16164 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16165 `completing-read' will remove *Completions* and will preserve
16166 current-buffer for us.
16167 (tmm-add-prompt): Users of *Completions* will always (re)set its
16169 (tmm-old-comp-map): Remove.
16171 2011-11-16 Glenn Morris <rgm@gnu.org>
16173 * mail/rmailedit.el: Require rmailmm when compiling.
16174 (rmail-old-mime-state): New declaration.
16175 (rmail-edit-current-message): If editing a mime message,
16176 edit the "raw" message from the mbox buffer.
16177 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16179 2011-11-15 Glenn Morris <rgm@gnu.org>
16181 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16182 which wasn't being used. Add optional arg to force given state.
16183 (rmail-mime): Add optional arg to force given state.
16185 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16187 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16188 * frame.el (display-mm-dimensions-alist):
16189 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16190 (outline-move-subtree-down):
16191 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16192 (newsticker--treeview-do-get-node):
16193 * net/quickurl.el (quickurl-list-buffer-name):
16194 * progmodes/dcl-mode.el (dcl-mode):
16195 * progmodes/gdb-mi.el (gdb-mapcar*):
16196 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16198 2011-11-15 Glenn Morris <rgm@gnu.org>
16200 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16201 in a boolean sense, so just make it a boolean, and fix the doc.
16202 (rmail-show-mime-function, rmail-mime-feature)
16203 (rmail-require-mime-maybe): Doc fixes.
16204 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16206 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16208 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16210 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16211 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16212 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16213 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16215 2011-11-15 Glenn Morris <rgm@gnu.org>
16217 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16218 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16219 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16220 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16221 (rmail-mime, rmail-show-mime): Doc fixes.
16223 * term/ns-win.el (mode-line-frame-identification):
16224 Leave it alone. (Bug#10051)
16226 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16228 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16229 Handle empty buffers. (Bug#9978)
16231 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16233 * international/mule.el (define-charset):
16234 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16235 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16236 * progmodes/verilog-mode.el (verilog-backward-token):
16237 * textmodes/ispell.el (lookup-words):
16238 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16240 2011-11-14 Glenn Morris <rgm@gnu.org>
16242 * progmodes/executable.el
16243 (executable-make-buffer-file-executable-if-script-p):
16244 Handle file-modes returning nil.
16246 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16247 message - not necessary, and causes problems. (Bug#9831)
16249 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16251 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16253 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16254 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16255 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16257 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16259 * window.el (window-resize, delete-window): Use window-splits
16260 variable instead of function.
16261 (window-state-get-1, window-state-put-2, window-state-put):
16262 Don't deal with windows' splits status.
16264 2011-11-12 Glenn Morris <rgm@gnu.org>
16266 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16267 (apropos-documentation): Doc fixes.
16269 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16271 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16272 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16274 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16276 * electric.el (electric-indent-post-self-insert-function): Make it
16277 possible for a char to only indent in some circumstances.
16278 (electric-indent-mode): Simplify.
16280 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16282 * window.el (windows-with-parameter): Remove unused function.
16283 (windows-at-side): Rename to window-at-side-list.
16284 (window-check, window-atom-check, window-atom-check-1)
16285 (window-side-check, window-size-ignore, window-size-fixed-1)
16286 (window-in-direction-2): Prefix with "window--".
16287 (window-tree-1): Rename to window--subtree, fix doc-string.
16289 2011-11-11 Glenn Morris <rgm@gnu.org>
16291 * subr.el (eval-after-load): If FILE is already loaded,
16292 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16294 2011-11-10 Glenn Morris <rgm@gnu.org>
16296 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16297 Call svn via vc-svn-command rather than vc-do-command.
16298 (vc-svn-command): Add --non-interactive. (Bug#9993)
16299 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16301 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16302 Add toggle-read-only. (Bug#7292)
16303 * files.el (toggle-read-only): Mention that it should only
16304 be used interactively. (Bug#10006)
16306 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16308 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16309 Adjust regexp for OCaml warnings.
16311 * electric.el (electric-pair-post-self-insert-function): Let user
16312 turn it off buffer-locally (bug#9932).
16314 * progmodes/python.el (python-beginning-of-statement):
16315 Rewrite (bug#2703).
16317 * progmodes/compile.el: Better handle TABs (bug#9749).
16318 (compilation-internal-error-properties)
16319 (compilation-next-error-function): Obey the target buffer's
16320 compilation-error-screen-columns.
16322 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16324 * progmodes/meta-mode.el: Remove obsolete comments.
16325 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16326 Fix typos in docstrings.
16328 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16330 * window.el (window-size-fixed-p): Rewrite doc-string.
16331 (window-resizable-p): Rename to window--resizable-p. Update callers.
16332 (window--resizable): New function. Make all callers of
16333 window-resizable call window--resizable instead.
16334 (window-resizable): Rewrite in terms of window--resizable.
16336 2011-11-08 Glenn Morris <rgm@gnu.org>
16338 * progmodes/delphi.el (delphi-mode-syntax-table):
16339 Let define-derived-mode define a proper syntax table. (Bug#9994)
16341 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16343 * window.el: Stay away from defsubst.
16344 (window-list-no-nils): Remove.
16345 (window-state-get-1, window-state-get): Use backquote instead.
16347 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16349 * emacs-lisp/find-func.el (find-function-read):
16350 Fix incorrect use of default argument in `completing-read'.
16352 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16354 * window.el (display-buffer-function, special-display-function):
16355 Mention display-buffer-record-window but do not mention
16356 help-setup parameter in doc-strings.
16357 (window-min-delta): Fix doc-string typo.
16359 2011-11-08 Chong Yidong <cyd@gnu.org>
16361 * window.el (window-total-height, window-total-width): Doc fix.
16362 (window-body-size): Move from C.
16363 (window-body-height, window-body-width): Move to C.
16365 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16367 * window.el: Make special-display like display-buffer-alist (bug#9532).
16368 (display-buffer--special-action): New function, morphed
16369 from display-buffer--special.
16370 (display-buffer): Use it to handle special-display-buffers at higher
16371 priority (just after display-buffer-alist).
16372 (display-buffer-fallback-action, display-buffer--other-frame-action)
16373 (pop-to-buffer-same-window): Remove display-buffer--special.
16375 2011-11-07 Glenn Morris <rgm@gnu.org>
16377 * calendar/cal-menu.el (cal-menu-set-date-title):
16378 Do nothing if not in a calendar. (Bug#9976)
16380 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * files.el (find-file): Always use selected-window.
16384 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16386 * window.el (window-combinations): Make WINDOW argument
16387 mandatory. Rewrite doc-string.
16388 (walk-window-subtree, window-atom-check, window-min-delta)
16389 (window-max-delta, window--resize-this-window)
16390 (window--resize-root-window-vertically, window-tree)
16391 (balance-windows, window-state-put): Rewrite doc-strings as to
16392 not mention the term "subwindow".
16393 (window--resize-subwindows-skip-p): Rename to
16394 window--resize-child-windows-skip-p.
16395 (window--resize-subwindows-normal): Rename to
16396 window--resize-child-windows-normal.
16397 (window--resize-subwindows): Rename to
16398 window--resize-child-windows.
16399 (window-or-subwindow-p): Rename to window--in-subtree-p.
16401 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16403 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16404 Ensure that mbox format messages end in two newlines (Bug#9974).
16406 2011-11-06 Chong Yidong <cyd@gnu.org>
16408 * window.el (window-combination-p): Function deleted; its
16409 side-effect is not used in any existing code.
16410 (window-combinations, window-combined-p): Call window-*-child
16413 2011-11-05 Chong Yidong <cyd@gnu.org>
16415 * window.el (window-valid-p): Rename from window-any-p.
16416 (window-size-ignore, window-state-get): Callers changed.
16417 (window-normalize-window): Rename from window-normalize-any-window.
16418 New arg LIVE-ONLY, replacing window-normalize-live-window.
16419 (window-normalize-live-window): Delete.
16420 (window-combination-p, window-combined-p, window-combinations)
16421 (walk-window-subtree, window-atom-root, window-min-size)
16422 (window-sizable, window-sizable-p, window-size-fixed-p)
16423 (window-min-delta, window-max-delta, window-resizable)
16424 (window-resizable-p, window-full-height-p, window-full-width-p)
16425 (window-current-scroll-bars, window-point-1, set-window-point-1)
16426 (window-at-side-p, window-in-direction, window-resize)
16427 (adjust-window-trailing-edge, maximize-window, minimize-window)
16428 (window-deletable-p, delete-window, delete-other-windows)
16429 (record-window-buffer, unrecord-window-buffer)
16430 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16431 (quit-window, split-window, window-state-put)
16432 (set-window-text-height, fit-window-to-buffer)
16433 (shrink-window-if-larger-than-buffer): Callers changed.
16435 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16437 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16438 rfc2047-decode-string.
16439 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16442 * window.el (window-body-height, window-body-width): Mention in
16443 the doc string that the return values are in frame's canonical
16446 2011-11-03 Alan Mackenzie <acm@muc.de>
16448 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16449 change in cc-engine.el.
16451 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16453 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16455 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16457 * window.el (quit-window): Call unrecord-window-buffer after
16458 showing another buffer in the window. (Bug#9937)
16459 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16461 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16463 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16464 Accept status with more than 9 shelves. (Bug#9935)
16465 Reported by Colin D Bennett <colin@gibibit.com>.
16467 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16469 * help.el (with-help-window): Don't reference
16470 temp-buffer-show-specifiers in doc-string.
16472 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16474 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16477 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16479 * whitespace.el: New version 13.2.2.
16480 (whitespace-newline-mode): Disable properly. Reported by Sarah
16483 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16485 * net/newst-treeview.el: Remove "Time-stamp".
16486 (newsticker--group-manage-orphan-feeds): Do not call
16487 newsticker--treeview-tree-update.
16488 (newsticker-treeview-update, newsticker-treeview):
16489 Call newsticker--treeview-tree-update if necessary.
16491 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16493 * window.el (window-iso-combination-p, window-iso-combined-p)
16494 (window-iso-combinations): Remove "iso-" infix.
16495 Suggested by Chong Yidong.
16496 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16497 (window-max-delta-1, window-resize, window--resize-siblings)
16498 (window--resize-this-window, adjust-window-trailing-edge)
16499 (split-window, balance-windows-1)
16500 (shrink-window-if-larger-than-buffer):
16501 * calendar/calendar.el (calendar-generate-window):
16502 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16504 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16506 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16507 in place (bug#9907).
16508 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16509 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16510 (eshell-structure-basic-command, eshell-rewrite-while-command)
16511 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16512 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16513 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16514 (eshell-do-pipelines-synchronously, eshell-eval-command):
16515 Use backquotes and prefer setq to set.
16516 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16517 (eshell-macrop): Use functionp.
16518 (eshell-do-eval): Handle multiple expressions in `while' body.
16520 2011-10-30 Chong Yidong <cyd@gnu.org>
16522 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16523 instead of set-mark (Bug#9810).
16525 2011-10-30 Chong Yidong <cyd@gnu.org>
16527 * window.el (split-window-below, split-window-right): Rename from
16528 split-window-above-each-other and split-window-side-by-side
16529 respectively. All callers changed.
16530 (split-window-sensibly, split-window-sensibly): Use them.
16531 (split-window-keep-point): Doc fix.
16533 * isearch.el: Add isearch-scroll property to split-window-below
16534 and split-window-right.
16536 * follow.el (follow-mode):
16537 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16538 * progmodes/ada-xref.el (ada-gdb-application):
16539 * emulation/vip.el (vip-buffer-in-two-windows):
16540 * image-dired.el (image-dired-dired-with-window-configuration):
16541 * dired-x.el (dired-do-find-marked-files):
16542 * dired.el (dired-pop-to-buffer):
16543 * bs.el (bs--show-with-configuration):
16544 * vc/emerge.el (emerge-setup-windows):
16545 * textmodes/two-column.el (2C-two-columns):
16546 * textmodes/reftex-toc.el (reftex-toc):
16547 * progmodes/gdb-mi.el (gdb-setup-windows):
16548 * progmodes/fortran.el (fortran-window-create):
16549 * net/newst-treeview.el (newsticker--treeview-window-init):
16550 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16551 * emulation/tpu-edt.el (tpu-gold-map):
16552 * emulation/crisp.el (crisp-mode-map):
16553 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16555 2011-10-29 Chong Yidong <cyd@gnu.org>
16557 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16559 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16561 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16562 forged Ispell output (Bug#7904).
16564 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16566 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16568 * doc-view.el: Avoid ugly errors about not finding nil.
16569 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16570 (doc-view-dvipdf-program, doc-view-unoconv-program)
16571 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16572 Avoid nil or absolute file name as default value.
16573 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16575 2011-10-28 Alan Mackenzie <acm@muc.de>
16577 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16579 2011-10-28 Alan Mackenzie <acm@muc.de>
16581 Amend the handling of c-beginning/end-of-defun in nested declaration
16584 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16585 cc-langs.el. Change it to a defcustom.
16587 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16590 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16591 Prevent "class foo : bar" being spuriously recognized as a label.
16593 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16594 Add parameter `inclusive' (to include enclosing braces in the region).
16595 (c-widen-to-enclosing-decl-scope): New function.
16596 (c-while-widening-to-decl-block): New macro.
16597 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16598 outward for defun boundaries, and correspondingly change symbol
16599 `respect-enclosure' to `go-outward'.
16600 (c-declaration-limits): Change algorithm to report only the "innermost"
16601 defun's boundaries.
16603 2011-10-28 Deniz Dogan <deniz@dogan.se>
16605 * net/rcirc.el (rcirc-mode): Use hard newlines.
16607 2011-10-28 Alan Mackenzie <acm@muc.de>
16609 Amend to indent and fontify macros "which include their own semicolon"
16610 correctly, using the "virtual semicolon" mechanism.
16612 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16614 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16615 Recode to scan one line at a time rather than having \n and \r
16616 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16617 (c-forward-label): Amend for virtual semicolons.
16618 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16620 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16621 of the new C macros.
16623 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16624 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16625 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16626 (c-opt-cpp-macro-define): Make into a full language variable.
16627 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16628 AWK Mode (including \n, \r) removed, no longer needed.
16630 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16631 Invoke c-make-macro-with-semi-re.
16633 * progmodes/cc-vars.el (c-macro-with-semi-re):
16634 (c-macro-names-with-semicolon): New variables.
16635 (c-make-macro-with-semi-re): New function.
16637 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16639 * vc/log-edit.el: Fill empty field rather than adding new one.
16640 (log-edit-add-field): New function.
16641 (log-edit-insert-changelog): Use it.
16643 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16645 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16647 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16649 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16650 (gdb--check-interpreter): New function.
16653 2011-10-27 Glenn Morris <rgm@gnu.org>
16655 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16656 (least-positive-float, least-negative-float)
16657 (least-positive-normalized-float, least-negative-normalized-float)
16658 (float-epsilon, float-negative-epsilon):
16659 Remove unnecessary declarations.
16661 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16662 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16663 (least-positive-float, least-negative-float)
16664 (least-positive-normalized-float, least-negative-normalized-float)
16665 (float-epsilon, float-negative-epsilon): Add doc-strings,
16666 based on those in cl.texi.
16668 * files.el (set-visited-file-name): If the major-mode changed,
16669 reload the local variables. (Bug#9796)
16671 2011-10-27 Chong Yidong <cyd@gnu.org>
16673 * subr.el (change-major-mode-after-body-hook): New hook.
16674 (run-mode-hooks): Run it.
16676 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16677 Use change-major-mode-before-body-hook.
16679 * simple.el (fundamental-mode):
16680 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16681 change introducing fundamental-mode-hook.
16683 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16685 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16687 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16689 * ido.el (ido-file-name-all-completions-1): Do not require
16690 tramp.el explicitly. (Bug#7583)
16692 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16694 * progmodes/octave-mod.el:
16695 * progmodes/octave-inf.el: Update maintainer.
16697 2011-10-26 Chong Yidong <cyd@gnu.org>
16699 * subr.el (with-wrapper-hook): Rewrite doc.
16701 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16703 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16704 filenames "/method:foo:". (Bug#9793)
16706 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16708 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16711 2011-10-24 Glenn Morris <rgm@gnu.org>
16713 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16715 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16717 * notifications.el: Add the requirement of a running D-Bus session
16718 bus to the Commentary.
16720 2011-10-24 Juri Linkov <juri@jurta.org>
16722 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16723 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16726 2011-10-24 Juri Linkov <juri@jurta.org>
16728 * info.el (Info-following-node-name-re): Add newline to the list
16729 of allowed characters for leading space. (Bug#9824)
16731 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16733 * progmodes/octave-inf.el (inferior-octave-mode-map):
16734 Fix C-c C-h binding.
16735 * progmodes/octave-mod.el (octave-help): Remove.
16737 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16739 Sync with Tramp 2.2.3.
16741 * net/tramp-cache.el (top): Pacify byte-compiler using
16742 `init-file-user' and `site-run-file'.
16744 * net/trampver.el: Update release number.
16746 2011-10-23 Chong Yidong <cyd@gnu.org>
16748 * files.el (toggle-read-only): Remove obsolete comment about
16751 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16752 for toggle-read-only. Note that this hasn't called vc-next-action
16753 since 2008-05-02, though it wasn't documented at the time.
16755 * vc/ediff-init.el (ediff-toggle-read-only-function):
16756 Use toggle-read-only.
16758 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16760 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16763 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16764 correct faulty logical expression.
16765 (c-parse-state-state, c-record-parse-state-state):
16766 (c-replay-parse-state-state): New defvar/defuns.
16767 (c-debug-parse-state): Use new functions.
16769 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16771 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16772 last fix. Use window-in-direction correctly.
16774 2011-10-21 Chong Yidong <cyd@gnu.org>
16776 * progmodes/idlwave.el (idlwave-mode):
16777 * progmodes/vera-mode.el (vera-mode): No need to set
16778 require-final-newline; that's done in prog-mode.
16779 Suggested by Stefan Monnier.
16781 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16783 * mouse.el (mouse-drag-window-above)
16784 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16785 (mouse-drag-mode-line-1, mouse-drag-header-line)
16786 (mouse-drag-vertical-line-rightward-window): Remove.
16787 (mouse-drag-line): New function.
16788 (mouse-drag-mode-line, mouse-drag-header-line)
16789 (mouse-drag-vertical-line): Call mouse-drag-line.
16790 * window.el (window-at-side-p, windows-at-side): New functions.
16792 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16794 * tar-mode.el (tar-grind-file-mode):
16795 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16797 2011-10-21 Chong Yidong <cyd@gnu.org>
16799 * progmodes/idlwave.el (idlwave-mode):
16800 * progmodes/vera-mode.el (vera-mode):
16801 Use mode-require-final-newline.
16803 2011-10-20 Glenn Morris <rgm@gnu.org>
16805 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16807 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16809 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16811 2011-10-20 Chong Yidong <cyd@gnu.org>
16813 * emulation/cua-base.el (cua-mode):
16814 * mail/footnote.el (footnote-mode):
16815 * mail/mailabbrev.el (mail-abbrevs-mode):
16816 * net/xesam.el (xesam-minor-mode):
16817 * progmodes/bug-reference.el (bug-reference-mode):
16818 * progmodes/cap-words.el (capitalized-words-mode):
16819 * progmodes/compile.el (compilation-minor-mode)
16820 (compilation-shell-minor-mode):
16821 * progmodes/gud.el (gud-tooltip-mode):
16822 * progmodes/hideif.el (hide-ifdef-mode):
16823 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16824 * progmodes/subword.el (subword-mode):
16825 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16826 * progmodes/which-func.el (which-function-mode):
16827 * term/tvi970.el (tvi970-set-keypad-mode):
16828 * term/vt100.el (vt100-wide-mode):
16829 * textmodes/flyspell.el (flyspell-mode):
16830 * textmodes/ispell.el (ispell-minor-mode):
16831 * textmodes/nroff-mode.el (nroff-electric-mode):
16832 * textmodes/paragraphs.el (use-hard-newlines):
16833 * textmodes/refill.el (refill-mode):
16834 * textmodes/reftex.el (reftex-mode):
16835 * textmodes/rst.el (rst-minor-mode):
16836 * textmodes/sgml-mode.el (html-autoview-mode)
16837 (sgml-electric-tag-pair-mode):
16838 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16839 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16840 * emulation/crisp.el (crisp-mode):
16841 * emacs-lisp/eldoc.el (eldoc-mode):
16842 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16843 minor mode behavior.
16845 2011-10-19 Juri Linkov <juri@jurta.org>
16847 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16848 the list of hard-coded chars with escape-glyph face.
16850 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16852 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16854 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16856 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16859 2011-10-19 Glenn Morris <rgm@gnu.org>
16861 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16862 Ignore ignored files. (Bug#9726)
16864 2011-10-19 Chong Yidong <cyd@gnu.org>
16866 Doc fix for minor modes, stating that an omitted argument enables
16867 the mode unconditionally when called from Lisp.
16869 * abbrev.el (abbrev-mode):
16870 * allout.el (allout-mode):
16871 * autoinsert.el (auto-insert-mode):
16872 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16873 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16874 (global-auto-revert-mode):
16875 * battery.el (display-battery-mode):
16876 * composite.el (global-auto-composition-mode)
16877 (auto-composition-mode):
16878 * delsel.el (delete-selection-mode):
16879 * desktop.el (desktop-save-mode):
16880 * dired-x.el (dired-omit-mode):
16881 * dirtrack.el (dirtrack-mode):
16882 * doc-view.el (doc-view-minor-mode):
16883 * double.el (double-mode):
16884 * electric.el (electric-indent-mode, electric-pair-mode):
16885 * emacs-lock.el (emacs-lock-mode):
16886 * epa-hook.el (auto-encryption-mode):
16887 * follow.el (follow-mode):
16888 * font-core.el (font-lock-mode):
16889 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16890 * help.el (temp-buffer-resize-mode):
16891 * hilit-chg.el (highlight-changes-mode)
16892 (highlight-changes-visible-mode):
16893 * hi-lock.el (hi-lock-mode):
16894 * hl-line.el (hl-line-mode, global-hl-line-mode):
16895 * icomplete.el (icomplete-mode):
16896 * ido.el (ido-everywhere):
16897 * image-file.el (auto-image-file-mode):
16898 * image-mode.el (image-minor-mode):
16899 * iswitchb.el (iswitchb-mode):
16900 * jka-cmpr-hook.el (auto-compression-mode):
16901 * linum.el (linum-mode):
16902 * longlines.el (longlines-mode):
16903 * master.el (master-mode):
16904 * mb-depth.el (minibuffer-depth-indicate-mode):
16905 * menu-bar.el (menu-bar-mode):
16906 * minibuf-eldef.el (minibuffer-electric-default-mode):
16907 * mouse-sel.el (mouse-sel-mode):
16908 * msb.el (msb-mode):
16909 * mwheel.el (mouse-wheel-mode):
16910 * outline.el (outline-minor-mode):
16911 * paren.el (show-paren-mode):
16912 * recentf.el (recentf-mode):
16913 * reveal.el (reveal-mode, global-reveal-mode):
16914 * rfn-eshadow.el (file-name-shadow-mode):
16915 * ruler-mode.el (ruler-mode):
16916 * savehist.el (savehist-mode):
16917 * scroll-all.el (scroll-all-mode):
16918 * scroll-bar.el (scroll-bar-mode):
16919 * server.el (server-mode):
16920 * shell.el (shell-dirtrack-mode):
16921 * simple.el (auto-fill-mode, transient-mark-mode)
16922 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16923 (line-number-mode, column-number-mode, size-indication-mode)
16924 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16925 * strokes.el (strokes-mode):
16926 * time.el (display-time-mode):
16927 * t-mouse.el (gpm-mouse-mode):
16928 * tool-bar.el (tool-bar-mode):
16929 * tooltip.el (tooltip-mode):
16930 * type-break.el (type-break-mode-line-message-mode)
16931 (type-break-query-mode):
16932 * view.el (view-mode):
16933 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16934 (global-whitespace-mode, global-whitespace-newline-mode):
16935 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16937 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16938 Fix autogenerated docstring.
16940 2011-10-19 Juri Linkov <juri@jurta.org>
16942 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16943 by checking environment variables "DESKTOP_SESSION" and
16944 "XDG_CURRENT_DESKTOP". (Bug#9779)
16946 2011-10-19 Juri Linkov <juri@jurta.org>
16948 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16949 (browse-url-chromium-program, browse-url-chromium-arguments):
16951 (browse-url-default-browser): Check for `browse-url-chromium' and
16952 call `browse-url-chromium-program'.
16953 (browse-url-chromium): New command. (Bug#9779)
16955 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16957 * facemenu.el (list-colors-duplicates): On Windows, detect more
16958 duplicates by assuming that only colors matching "^System" are
16959 special "system colors". (Bug#9722)
16961 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16963 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16964 to distinguish the author from the committer.
16966 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16968 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16970 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16972 * international/mule.el (sgml-html-meta-auto-coding-function):
16973 Add support for detecting encoding in HTML5 specified only as
16974 <meta charset="UTF-8">. Implementation just makes http-equiv and
16975 content-type parts from HTML4 encoding string optional. (Bug#9716)
16977 2011-10-18 Glenn Morris <rgm@gnu.org>
16979 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16981 2011-10-18 Chong Yidong <cyd@gnu.org>
16983 * faces.el (cursor): Doc fix.
16985 2011-10-17 Chong Yidong <cyd@gnu.org>
16987 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16989 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16991 * dirtrack.el (dirtrack): Support shell buffers with path
16992 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16994 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16996 * json.el: Bump version to 1.3 and note change in History.
16997 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16999 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17001 * comint.el (comint-insert-input, comint-send-input)
17002 (comint-get-old-input-default, comint-backward-matching-input)
17003 (comint-next-prompt): Use nil instead of `input' for field property of
17004 past user input (bug#114).
17006 * minibuffer.el (completion--replace): Inherit surrounding properties
17008 (minibuffer-complete-and-exit): Use it.
17010 * comint.el (comint--table-subvert): Quote the all-completions output
17013 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17015 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17017 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17018 window on right of selected. (Bug#9350) Reword other window
17019 entries and separate them from frame entries.
17021 2011-10-15 Glenn Morris <rgm@gnu.org>
17023 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17026 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17028 * net/network-stream.el (network-stream-open-starttls):
17029 Improve detection of failure due to lack of TLS support.
17031 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17032 putting the input text in front and in bold.
17034 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17036 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17038 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17041 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17042 unread-command-events rather than pushing yet-another event.
17044 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17046 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17047 the explanation of the possible choices. Make the options passed
17048 to completing-read shorter.
17050 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17052 * textmodes/flyspell.el (flyspell-large-region): Make sure
17053 extended character mode is used if defined (Bug#1339).
17055 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17057 * simple.el (what-cursor-position): Fix the display of the
17058 character info for LRE, LRO, RLE, and RLO characters by appending
17061 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17063 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17064 even in case of error; add debug spec; simplify data flow.
17065 (with-timeout-handler): Remove.
17067 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17069 Fix Bug#6019, Bug#9315.
17071 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17072 complete `buffer-file-name', the local file name part could look
17073 remotely (for example on VMS).
17075 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17076 `tramp-run-real-handler'.
17077 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17078 already quoted by '"'.
17080 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17081 Let `file-name-handler-alist' be nil, the local file name part
17082 could look remotely (for example on VMS).
17084 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17086 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17088 (flyspell-post-command-hook): ...to here.
17090 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17094 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17095 using completion. Protect against "slow" callers.
17096 Remove the "message hack".
17098 2011-10-11 Juri Linkov <juri@jurta.org>
17100 * isearch.el (isearch-lazy-highlight-word): New variable.
17101 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17104 2011-10-11 Glenn Morris <rgm@gnu.org>
17106 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17107 like f90-previous-statement does.
17109 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17111 * eshell/eshell.el (eshell-command): History should be saved
17112 only in interactive use, to avoid error.
17114 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17116 * minibuffer.el (completion-file-name-table): Fix last change,
17117 i.e. ignore normal errors but not the other ones.
17119 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17121 * window.el (special-display-buffer-names)
17122 (special-display-regexps): Remove some remnants of earlier
17123 changes from doc-strings.
17124 (quit-windows-on): New function.
17126 * vc/vc.el (vc-revert, vc-rollback):
17127 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17128 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17129 (Bug#6183) (Bug#7074) (Bug#7447)
17131 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17133 * window.el (frame-auto-hide-function): Add version tag.
17136 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17138 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17141 2011-10-09 Leo Liu <sdl.web@gmail.com>
17143 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17146 2011-10-08 Glenn Morris <rgm@gnu.org>
17148 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17149 before the first code statement zero indent. (Bug#9690)
17151 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17153 * simple.el (count-words-region): Always count in the region.
17154 Report the number of lines and characters too.
17155 (count-words): New command, which counts in the buffer if the
17156 region is inactive, as count-words-region used to.
17157 (count-words--message): New function. Handle plurals.
17158 (count-lines-region): Make it an alias for count-words-region.
17160 * bindings.el (esc-map): Replace count-lines-region with
17161 count-words-region.
17163 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17165 * window.el (window--delete): Delete dedicated frame
17166 unconditionally when argument KILL is non-nil. (Bug#9699)
17167 (switch-to-buffer): Fix doc-string typo.
17169 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17171 * eshell/eshell.el (eshell-command): Avoid using hooks.
17173 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17175 * bindings.el ([M-left],[M-right]): Bind to left-word and
17176 right-word respectively.
17178 2011-10-07 Glenn Morris <rgm@gnu.org>
17180 * cus-start.el (debug-on-quit): Fix custom type.
17182 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17184 * subr.el (define-key-after): Clarify that the function is not
17185 useful for non-menu keymaps.
17187 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17189 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17191 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17192 in current minibuffer (Fix bug with recursive minibuffers).
17194 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17196 * progmodes/gdb-mi.el (gdb): Doc fix.
17198 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17200 * window.el (frame-auto-hide-function): New option replacing
17201 frame-auto-delete. Suggested by Stefan Monnier.
17202 (window--delete): Call frame-auto-hide-function instead of
17203 investigating frame-auto-delete.
17204 (window-point-1, set-window-point-1): New functions.
17205 (window-in-direction, record-window-buffer, window-state-get-1)
17206 (display-buffer-record-window): Use window-point-1 instead of
17208 (set-window-buffer-start-and-point): Use set-window-point-1.
17210 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17212 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17214 2011-10-05 Glenn Morris <rgm@gnu.org>
17216 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17217 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17219 2011-10-05 Leo Liu <sdl.web@gmail.com>
17221 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17222 works with buffer object.
17224 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17226 * mpc.el (mpc-tool-bar-map): Add labels.
17228 2011-10-04 Glenn Morris <rgm@gnu.org>
17230 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17232 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17234 * window.el (window--delete): New function.
17235 (frame-auto-delete): Resuscitate option.
17236 (bury-buffer, replace-buffer-in-windows)
17237 (quit-window): Rewrite using window--delete.
17238 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17239 Pass display-buffer-mark-dedicated to window--display-buffer-2
17242 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17244 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17245 returns a list (bug#9554). Add remote file name completion.
17246 * comint.el (comint--table-subvert): Curry and get quote&unquote
17247 functions as arguments.
17248 (comint--complete-file-name-data): Adjust call accordingly.
17249 * pcomplete.el (pcomplete--table-subvert): Remove.
17250 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17252 * minibuffer.el (completion-table-case-fold): Use currying.
17253 (completion--styles-type, completion--cycling-threshold-type):
17255 (completion-styles, completion-category-overrides)
17256 (completion-cycle-threshold): Use them.
17257 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17258 completion-table-case-fold.
17260 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17262 * minibuffer.el (completion-category-overrides): Fix type of styles
17263 and add more user friendly tags (bug#9660).
17265 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17267 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17268 (mule-input-method-string): New widget.
17269 (default-input-method, language-info-custom-alist): Use it.
17271 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17273 * pcomplete.el: Require comint.
17274 (pcomplete--common-suffix): Remove.
17275 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17276 (pcomplete--table-subvert): Sync with comint--table-subvert.
17277 (pcomplete--entries): Use comint-completion-file-name-table.
17278 * comint.el (comint-unquote-filename): Simplify.
17279 (comint-completion-file-name-table): New function (bug#9616).
17280 (comint--complete-file-name-data): Use it.
17282 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17283 (pcmpl-gnu-tar-buffer): Remove.
17284 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17285 around. Make sure pcomplete-suffix-list is only changed temporarily.
17286 Don't look inside the tar's file if it's too large.
17288 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17290 * cus-edit.el (custom-mode-map):
17291 * epa.el (epa-key-list-mode-map):
17292 * man.el (Man-mode-map):
17293 * startup.el (splash-screen-keymap):
17294 * simple.el (special-mode-map): Use scroll-up-command and
17295 scroll-down-command.
17297 * progmodes/idlw-help.el (idlwave-help-mode-map):
17298 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17299 * net/newst-plainview.el (newsticker-mode-map):
17300 * emulation/ws-mode.el (wordstar-mode-map):
17301 * emulation/vi.el (vi-com-map):
17302 * calc/calc-graph.el (calc-graph-show-dumb):
17303 * term/sun.el (terminal-init-sun):
17304 * term/ns-win.el (global-map):
17305 * progmodes/grep.el (grep-mode-map):
17306 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17307 * mail/rmail.el (rmail-mode-map):
17308 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17310 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17311 custom-safe-themes as special.
17313 2011-10-01 Julien Danjou <julien@danjou.info>
17315 * notifications.el (notifications-notify): Fix docstring.
17317 2011-10-01 Per Starbäck <per@starback.se>
17319 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17321 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17323 * startup.el (command-line-1): Fix last fix by inserting
17324 initial-scratch-message into *scratch* before displaying it.
17325 (Bug#9605) and (Bug#9636)
17327 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17329 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17330 window is hscrolled, move by logical lines. (Bug#9607)
17331 (line-move-visual): Update the doc string to the above effect.
17333 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17335 * window.el (display-buffer-record-window): When WINDOW is the
17336 selected window use `point' instead of `window-point'. (Bug#9626)
17338 * startup.el (command-line-1): Use insert-before-markers when
17339 inserting initial-scratch-message. (Bug#9605)
17341 * help.el (help-window): Remove variable.
17343 2011-09-29 Glenn Morris <rgm@gnu.org>
17345 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17347 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17349 * descr-text.el (describe-char-categories): Accept category
17350 descriptions more than one line long.
17352 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * simple.el (delete-trailing-whitespace): Fix last change.
17356 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17357 Don't confuse "y => 3" as the beginning of a `y' operation.
17359 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17360 object has more than 4 slots (bug#9613).
17362 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17364 * subr.el (with-output-to-temp-buffer):
17365 * net/quickurl.el (quickurl, quickurl-browse-url):
17366 Fix typos in docstrings.
17368 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17370 * minibuffer.el (completion-styles)
17371 (completion-category-overrides): Cross reference each other in doc
17374 2011-09-27 Glenn Morris <rgm@gnu.org>
17376 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17377 to split-string. (Bug#9606)
17379 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17381 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17384 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17386 * emacs-lisp/package.el (list-packages): Fix echo area message.
17388 2011-09-27 Leo Liu <sdl.web@gmail.com>
17390 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17392 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17394 * net/dbus.el (dbus-unregister-object): Don't release services for
17395 registered signals. (Bug#9581)
17397 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17399 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17400 function that picks between cfengine 2 and 3 support
17401 automatically. Update docs accordingly.
17403 2011-09-22 Kenichi Handa <handa@m17n.org>
17405 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17407 (indian-itrans-v5-table-for-tamil): New variable.
17408 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17410 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17412 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17413 that's true if the current command involved collapsing of text.
17414 It's reset to false at the beginning of the next command.
17415 (allout-post-command-business): Move the cursor to the beginning
17416 of entry if the cursor is hidden and collapsing activity just
17419 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17421 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17422 tracking (Bug#9541).
17424 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17426 * net/newst-reader.el (newsticker-html-renderer)
17427 (newsticker-show-news): Automatically load html rendering package
17428 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17429 because w3m-fill-column is let-bound" and the error "Symbol's value
17430 as variable is void: w3m-fill-column".
17432 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17434 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17435 Release services only if they are defined. (Bug#9581)
17437 2011-09-23 Richard Stallman <rms@gnu.org>
17439 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17440 distinguish start of paragraph from start of its text.
17442 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17444 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17445 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17446 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17448 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17450 * international/mule-diag.el (mule-diag): Insert a newline after
17451 each fontset description.
17453 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17455 * simple.el (delete-trailing-whitespace):
17456 Document last change; simplify.
17458 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17460 * simple.el (delete-trailing-whitespace): Also delete
17461 extra newlines at the end of the buffer.
17463 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17464 (picture-newline): Use forward-line so as to ignore fields.
17466 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17468 * subr.el (with-wrapper-hook): Fix edebug spec.
17470 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17472 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17475 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17477 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17478 Fix nasty bug using wrong cached values.
17480 2011-09-23 Alan Mackenzie <acm@muc.de>
17482 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17484 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17486 * window.el (pop-to-buffer): Ensure right window is selected if we
17487 chose another frame.
17489 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17491 * simple.el (what-cursor-position): Use get-char-property-change
17492 and next-single-char-property-change, to be able to show display
17493 properties that come from overlays as well as text properties.
17495 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17497 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17499 * cmuscheme.el (run-scheme, switch-to-scheme):
17500 * cus-edit.el (customize-group, custom-buffer-create)
17501 (customize-browse):
17503 * shell.el (shell):
17504 * mail/sendmail.el (mail):
17505 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17507 2011-09-22 Richard Stallman <rms@gnu.org>
17509 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17510 move back only to line beg, don't move back over blank lines.
17512 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17514 * files.el (copy-directory): Set directory attributes only in case
17515 they could be retrieved from the source directory. (Bug#9565)
17517 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17519 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17520 (hs-find-block-beginning, hs-hide-level-recursive):
17521 Ignore strings as well as comments. (Bug#9502)
17523 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17525 * progmodes/sql.el (sql-comint-postgres):
17526 Convert port number to a string. (Bug#9566)
17528 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17530 * window.el (quit-window): Undedicate window when switching to
17531 previous buffer. Reported by Thierry Volpiatto
17532 <thierry.volpiatto@gmail.com>.
17533 (special-display-popup-frame): When popping up a new frame reset
17534 its previous buffers to nil. Simplify code.
17536 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17538 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17539 and process filter, as done also in `shell-command'.
17541 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17543 * window.el (set-window-buffer-start-and-point):
17544 Call set-window-start with NOFORCE argument t.
17545 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17546 (quit-window): Reword doc-string. Handle new format of
17547 quit-restore parameter. Don't delete window if it has a
17548 previous buffer we can show instead of the present one.
17549 (display-buffer-record-window): Rewrite using a new format for
17550 the quit-restore window parameter
17551 (special-display-popup-frame, display-buffer-same-window)
17552 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17553 (display-buffer-pop-up-window, display-buffer-use-some-window):
17554 Adapt symbol passed to display-buffer-record-window.
17555 * help.el (help-window-setup): Handle new format of quit-restore
17558 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17560 * faces.el (face-list): Fix docstring (bug#9564).
17562 * window.el (display-buffer--action-function-custom-type):
17563 Don't include internal functions in the Custom interface.
17565 2011-09-20 Juri Linkov <juri@jurta.org>
17567 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17568 (Info-forward-node, Info-backward-node, Info-next-preorder)
17569 (Info-last-preorder): Use it. (Bug#9528)
17571 2011-09-20 Juri Linkov <juri@jurta.org>
17573 * info.el (Info-last-preorder): Visit last menu item only when
17574 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17576 2011-09-20 Julien Danjou <julien@danjou.info>
17578 * password-cache.el (password-cache-remove): Remove entries even if the
17579 value is nil, so that password with a nil value (negative caching) is
17580 possible to invalidate.
17582 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17584 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17585 all whitespace around breakpoint. (Bug#9553)
17586 (f90-find-breakpoint): Only break at whitespace inside a comment.
17588 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17590 * minibuffer.el (completion-file-name-table): Keep track of errors.
17591 (completion-table-with-predicate): Handle the case where pred1 is nil.
17592 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17594 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17596 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17597 (debugger-return-value): Signal an error if the debugging context does
17598 not await any return value.
17600 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17601 * image-mode.el (image-toggle-display-text)
17602 (image-toggle-display-image): Stay away from evil `intangible'.
17604 2011-09-19 Leo Liu <sdl.web@gmail.com>
17606 * replace.el (occur-revert-arguments): Make it permanent-local.
17607 (occur-mode): Don't call font-lock-defontify.
17609 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17611 * net/ldap.el (ldap-search-internal): Don't push empty search
17614 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17616 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17618 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17620 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17621 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17623 2011-09-18 Juri Linkov <juri@jurta.org>
17625 * buff-menu.el (Buffer-menu-mode-map):
17626 * dired.el (dired-mode-map):
17627 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17628 (lisp-interaction-mode-map):
17629 * emacs-lisp/package.el (package-menu-mode-map):
17630 * epa.el (epa-key-list-mode-map):
17631 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17632 (menu-bar-options-menu):
17633 * outline.el (outline-mode-menu-bar-map):
17634 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17635 * vc/vc-dir.el (vc-dir-menu-map):
17636 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17637 Capitalize non-function content words in menu item strings.
17639 * dired.el (dired-mode-map): Add menu item for
17640 `image-dired-dired-toggle-marked-thumbs'.
17642 2011-09-18 Juri Linkov <juri@jurta.org>
17644 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17645 to `isearch-case-fold-search' and restore its original value
17646 after the `isearch-mode' call.
17648 2011-09-18 Juri Linkov <juri@jurta.org>
17650 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17651 because `zgrep' returns 1 for successful matches (bug#9226).
17653 2011-09-18 Juri Linkov <juri@jurta.org>
17655 * info.el (Info-extract-menu-node-name): Check the second match
17656 for empty string (second test-case of bug#9528).
17657 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17658 intermediate nodes to the history (first test-case of bug#9528).
17660 2011-09-18 Juri Linkov <juri@jurta.org>
17662 * info.el (Info-mode-syntax-table): New variable.
17663 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17665 2011-09-18 Juri Linkov <juri@jurta.org>
17667 * info.el (Info-file-supports-index-cookies):
17668 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17669 outputs one more line for long file names (bug#4142).
17671 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17673 * newcomment.el (comment-normalize-vars): If prompting for
17674 comment-start, set comment-start-skip too (Bug#8424).
17676 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17678 * icomplete.el: Fix previous fix of Bug#5849.
17679 (icomplete-mode): Don't set completion-show-inline-help.
17680 (icomplete-minibuffer-setup): Set completion-show-inline-help
17681 locally during icompletion.
17683 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17685 * woman.el (woman2-process-escapes): Don't delete unrecognized
17686 escapes (Bug#7843).
17688 * files.el (inhibit-first-line-modes-regexps): Add image files.
17689 (hack-local-variables-prop-line): Return nil for malformed
17690 prop-lines (Bug#9044).
17692 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17694 * net/tramp.el (top): Don't require 'shell.
17695 (tramp-methods): Fix docstring.
17696 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17697 Return complete remote file name. Handle "smb" case.
17698 Use `tramp-tmpdir', if defined for the respective method.
17699 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17701 * net/tramp-compat.el (top): Require 'shell.
17703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17704 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17705 `tramp-current-host'.
17706 (tramp-get-remote-tmpdir): Remove.
17708 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17709 `tramp-tmpdir' entries.
17710 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17711 (tramp-smb-handle-file-attributes): Ignore errors.
17712 (tramp-smb-wait-for-output): Check also for process end.
17714 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17716 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17717 when sending QUIT (bug#9312).
17719 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17721 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17722 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17723 occur-mode-display-occurrence.
17724 (occur-edit-mode): Add usage message.
17725 (occur-cease-edit): New command.
17726 (occur-after-change-function): Use text properties to find the
17727 position of the prefix text.
17728 (occur-engine): Set stickiness of prefix text properties.
17730 2011-09-17 Glenn Morris <rgm@gnu.org>
17732 * progmodes/etags.el (complete-tag):
17733 Fix call to completion-in-region. (Bug#9526)
17735 2011-09-17 Juri Linkov <juri@jurta.org>
17737 * textmodes/ispell.el (ispell-word): Add to the error message
17738 the word, ispell program name and current dictionary (bug#9121).
17739 (ispell-tex-arg-end): Capitalize "error" in the error message.
17741 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17743 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17746 2011-09-17 Juri Linkov <juri@jurta.org>
17748 * window.el (window-safe-min-height, window-safe-min-width):
17749 Fix typos (followup to bug#9522).
17751 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17753 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17755 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17757 * simple.el (line-move): If goal-column is set, move by logical
17758 lines, not by display lines. (Bug#971)
17759 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17760 to reflect the above change.
17762 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17764 * image.el (imagemagick-register-types): Use regexp-opt.
17766 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17768 * window.el (display-buffer-base-action): Rename from
17769 display-buffer-default-action. Make default value empty.
17770 (display-buffer-overriding-action): Convert to defvar.
17771 (display-buffer-fallback-action): New var.
17773 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17775 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17777 (package--add-to-archive-contents): If there is a duplicate entry
17778 with an older version, remove it.
17779 (package-menu-mark-delete, package-menu-mark-install)
17780 (package-menu-mark-unmark): Make unused args optional.
17781 (package-menu-mark-obsolete-for-deletion):
17782 Use package-menu-get-status instead of a regexp search.
17783 (package-menu-get-status): Use tabulated-list-entry.
17784 (package-menu-mark-upgrades): New command.
17785 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17786 (package-menu-execute): Do installation before deletion.
17787 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17788 instead of checking major-mode.
17789 (package-menu--find-upgrades): New function.
17791 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17793 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17794 passwords in the log buffer.
17795 (smtpmail-process-filter): Update the process marker so that the
17796 "broken by peer" status message is inserted in the right place.
17798 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17800 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17801 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17802 bibtex-completion-at-point-function.
17803 (bibtex-completion-at-point-function): Use them.
17805 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17807 * mpc.el (mpc-constraints-tag-lookup): New function.
17808 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17809 also to browser "album|playlist".
17811 2011-09-14 Juri Linkov <juri@jurta.org>
17813 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17814 (isearch-edit-string): Use length of `isearch-string' when
17815 `isearch-fail-pos' returns nil.
17816 (isearch-message): Remove duplicate code and call
17817 `isearch-fail-pos' with arg `t'.
17819 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17821 * replace.el (occur-mode-goto-occurrence): Don't force using other
17824 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17826 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17828 * window.el (display-buffer-window): Remove.
17829 (display-buffer-record-window): Use help-setup window parameter
17830 instead of variable display-buffer-window.
17831 (display-buffer-function, special-display-buffer-names)
17832 (special-display-function): Mention help-setup parameter instead
17833 of display-buffer-window in doc-string.
17834 * help.el (help-window-setup): New argument help-window.
17835 Use help-window-setup parameter instead of display-buffer-window.
17836 Reword some messages.
17837 (with-help-window): Pass window used for displaying the buffer
17838 to help-window-setup. Don't set display-buffer-window.
17840 2011-09-13 Glenn Morris <rgm@gnu.org>
17842 * emacs-lisp/debug.el (debugger-make-xrefs):
17843 Preserve point. (Bug#9462)
17845 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17847 * window.el (window-deletable-p): Use next-frame.
17849 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17851 * window.el (window-auto-delete): Remove.
17852 (window-deletable-p): Remove argument FORCE. Don't deal with
17853 dedication and previous buffers.
17854 (switch-to-prev-buffer): Don't delete window.
17855 (delete-windows-on): Delete a window's frame if and only if the
17856 window is dedicated.
17857 (replace-buffer-in-windows): Delete buffer's window or frame if
17858 and only if window is dedicated.
17859 (quit-window): Handle quit-restore as before last change.
17860 (bury-buffer): Delete window only if window-deletable-p returns t.
17862 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17864 * window.el (window-deletable-p): Never delete the last frame on a
17867 2011-09-13 Glenn Morris <rgm@gnu.org>
17869 * help.el (describe-key-briefly): Copy previous standard-output change.
17871 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17873 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17875 2011-09-13 Glenn Morris <rgm@gnu.org>
17877 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17878 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17880 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17882 * dired-aux.el (dired-mark-read-string): Don't return default
17883 value on empty input (Bug#9361).
17884 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17885 Omit initial minibuffer contents.
17886 (dired-do-chmod): Signal an error on empty input.
17887 (dired-mark-read-string): Don't return default on empty input.
17889 * files.el (file-modes-symbolic-to-number): Doc fix.
17891 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17893 * international/mule-cmds.el (ucs-completions): Remove.
17894 (read-char-by-name): Use complete-with-action instead; add metadata.
17896 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17898 * window.el (display-buffer--action-function-custom-type)
17899 (display-buffer--action-custom-type): New vars.
17900 (display-buffer-alist, display-buffer-default-action)
17901 (display-buffer-overriding-action): Add defcustom types.
17903 * frame.el (delete-other-frames): Doc fix (Bug#276).
17905 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17907 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17909 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17911 Change modes that used same-window-* vars to use switch-to-buffer.
17913 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17914 Use switch-to-buffer.
17916 * cus-edit.el (customize-group, custom-buffer-create)
17917 (customize-browse, custom-buffer-create-other-window):
17918 Use switch-to-buffer or switch-to-buffer-other-window.
17920 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17921 (Info-prev, Info-up, Info-speedbar-goto-node)
17922 (info-display-manual): Use switch-to-buffer.
17923 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17925 * mail/sendmail.el (mail): Use switch-to-buffer.
17926 (mail-recover): Use switch-to-buffer-other-window.
17928 * cmuscheme.el (run-scheme, switch-to-scheme):
17930 * shell.el (shell):
17931 * net/rlogin.el (rlogin):
17932 * net/telnet.el (telnet, rsh):
17933 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17935 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17937 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17939 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17941 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17942 so don't mention it (bug#9301).
17943 (dired-sort-toggle-or-edit): Clarify string further.
17945 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17946 match `x', `w32' and `ns', like the manual says (bug#9029).
17948 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17949 (process-kill-buffer-query-function): Mention the buffer name in
17952 * image-mode.el (image-next-line): The line parameter is mandatory
17955 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17956 which can be useful (bug#9301).
17958 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17960 * subr.el (match-string): Mention that the current buffer should
17961 be the same as the search was done in (bug#9282).
17963 * facemenu.el: Disable the remove-* commands if the mark isn't
17966 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17968 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17970 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17972 * replace.el (occur-mode-goto-occurrence)
17973 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17974 and display-buffer.
17976 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17979 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17980 special-display and same-window variables.
17981 (mail-other-window): Use switch-to-buffer-other-window.
17982 (mail-other-frame): USe switch-to-buffer-other-frame.
17984 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17985 Use display-buffer-other-frame.
17986 (gdb-display-gdb-buffer): Use pop-to-buffer.
17988 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17990 * progmodes/python.el: Don't set same-window-buffer-names.
17992 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17994 * window.el (display-buffer-alist): Add *Python*.
17996 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17998 * window.el (display-buffer-alist): Add entry for buffers
17999 previously handled same-window-*.
18000 (display-buffer-alist, display-buffer-default-action)
18001 (display-buffer-overriding-action): Mark as risky.
18002 (display-buffer-alist): Document action function changes.
18003 (display-buffer--same-window-action)
18004 (display-buffer--other-frame-action): New variables.
18005 (switch-to-buffer, display-buffer-other-frame): Use them.
18006 (display-buffer): Rename reuse-frame entry to reusable-frames.
18007 (display-buffer-reuse-selected-window): Function deleted.
18008 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18009 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18010 (display-buffer-special): New function.
18011 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18012 display-buffer-reuse-or-pop-window. Split off special-display
18013 part into display-buffer-special.
18014 (display-buffer-use-some-window): Don't perform any special
18015 pop-up-frames handling.
18016 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18017 (display-buffer--maybe-same-window): Rename from
18018 display-buffer-maybe-same-window.
18020 * info.el: Don't set same-window-regexps.
18021 (info-setup): New function.
18022 (info-other-window, info): Call it.
18024 * cus-edit.el: Don't set same-window-regexps.
18025 (customize-group): New argument.
18026 (customize-group-other-window): Use it.
18027 (customize-face, customize-face-other-window): Likewise.
18028 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18032 * progmodes/gud.el: Don't set same-window-regexps.
18037 * mail/sendmail.el:
18038 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18040 2011-09-10 Juri Linkov <juri@jurta.org>
18042 * isearch.el (isearch-edit-string): Remove obsolete mention of
18043 `C-w' (`isearch-yank-word-or-char') from docstring.
18044 (isearch-query-replace): Fix typo in docstring (bug#9466).
18046 2011-09-10 Juri Linkov <juri@jurta.org>
18048 * paren.el (show-paren-function): Don't show escaped parens.
18049 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18051 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18053 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18054 (mm-default-file-encoding): Remove autoload forms, they are
18055 replaced with autoload cookies in mml.el and mm-encode.el.
18056 (mail-add-attachment): New command.
18057 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18058 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18060 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18062 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18064 * simple.el (count-words-region): Use buffer if there's no region
18067 2011-09-09 Juri Linkov <juri@jurta.org>
18069 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18070 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18071 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18073 2011-09-09 Alan Mackenzie <acm@muc.de>
18075 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18076 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18078 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18080 Fix for Savannah bug#9392.
18081 * simple.el (mail-encode-mml): New defvar.
18083 * mail/rmail.el (mail-encode-mml): Add a defvar.
18084 (rmail-enable-mime-composing): Default to t.
18085 (rmail-forward): Use MIME method of forwarding only if both
18086 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18087 Set mail-encode-mml non-nil if the MIME method was used.
18089 * mail/sendmail.el (mml-to-mime): Add autoload form.
18090 (mail-encode-mml): Add a defvar.
18091 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18093 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18094 message through mml-to-mime, and reset mail-encode-mml to nil.
18096 2011-09-09 Glenn Morris <rgm@gnu.org>
18098 * woman.el (woman-if-body): When processing an .el block,
18099 do not delete the next .el block as well. (Bug#9447)
18100 (woman-special-characters): Add oq, cq, and hy characters.
18102 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18104 * window.el (window-deletable-p): Make sure window is live before
18105 invoking window-prev-buffers.
18107 2011-09-08 Leo Liu <sdl.web@gmail.com>
18109 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18111 2011-09-08 Juri Linkov <juri@jurta.org>
18113 * progmodes/compile.el (compilation-environment): Make it
18114 a defcustom (bug#8340).
18116 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18118 * window.el (frame-auto-delete): Rename to window-auto-delete.
18119 Make it control auto-deletion of windows and/or frames.
18120 (window-deletable-p): New argument FORCE. Rewrite conditions
18121 for deleting window/frame. (Bug#9419)
18122 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18123 Rewrite handling of case when window/frame can be deleted.
18124 (delete-windows-on): Call window-deletable-p with new FORCE
18125 argument t. (Bug#9456)
18127 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18129 * help-mode.el (help-mode): Restore autoload.
18131 2011-09-07 Juri Linkov <juri@jurta.org>
18133 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18134 `compilation-environment'. Set buffer-local
18135 `compilation-environment' to `thisenv' later after (funcall mode).
18138 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18139 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18140 instead of replacing its value. (Bug#8340)
18142 2011-09-07 Juri Linkov <juri@jurta.org>
18144 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18145 based on text properties put by `grep-filter' instead of matching
18147 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18148 to the value of `grep-error-screen-columns' (bug#9438).
18150 2011-09-07 Juri Linkov <juri@jurta.org>
18152 * simple.el (next-error-highlight, next-error-highlight-no-select):
18153 Doc fix (bug#9432).
18155 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18157 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18158 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18160 2011-09-07 Leo Liu <sdl.web@gmail.com>
18162 * net/rcirc.el (rcirc-mode): Conditionally initialize
18165 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18167 * emacs-lisp/find-func.el (find-function-C-source): Only set
18168 find-function-C-source-directory after checking that we found a source
18169 file there (bug#9440).
18171 2011-09-06 Alan Mackenzie <acm@muc.de>
18173 * isearch.el (isearch-other-meta-char): Wherever a key list is
18174 unread, "unread" the prefix arg, too. This fixes bug #8901.
18176 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18178 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18180 2011-09-05 Juri Linkov <juri@jurta.org>
18182 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18184 2011-09-05 Juri Linkov <juri@jurta.org>
18186 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18187 keeping point where processing of grep matches begins, and
18188 continue to delete remaining escape sequences from the same point.
18189 (grep-filter): Make leading zero optional in "0?1;31m" because
18190 git-grep emits "\033[1;31m" escape sequences unlike expected
18191 "\033[01;31m" as GNU Grep does (bug#9408).
18192 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18194 2011-09-05 Juri Linkov <juri@jurta.org>
18196 * subr.el (y-or-n-p): Capitalize "yes".
18198 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18200 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18201 `tramp-cache-unload-hook' where appropriate.
18202 (tramp-methods): Rename `tramp-remote-sh' to
18203 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18204 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18206 * net/tramp-sh.el (top): Don't require 'shell.
18207 (tramp-methods): Add `tramp-remote-shell' and
18208 `tramp-remote-shell-args' entries.
18209 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18210 (tramp-sh-handle-shell-command): Remove.
18211 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18212 Use `tramp-remote-shell'.
18214 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18216 * mail/sendmail.el (sendmail-query-once-function): Delete.
18217 (sendmail-query-once): Save directly to send-mail-function.
18218 Update message-send-mail-function too.
18220 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18222 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18224 * progmodes/python.el (python-mode-map): Use correct function to
18225 start python interpreter from menu-bar (as reported by Geert
18227 (inferior-python-mode-map): Fix typo.
18228 (python-shell-map): Remove.
18230 2011-09-03 Deniz Dogan <deniz@dogan.se>
18232 * net/rcirc.el (rcirc-print): Simplify code for
18233 rcirc-scroll-show-maximum-output. There is no need to walk
18234 through all windows to find the right one.
18236 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18238 * help.el (help-return-method): Doc fix.
18240 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18242 * window.el (window-deletable-p): Don't return a non-nil value
18243 when there's a buffer that was shown in the window before.
18245 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18246 Set window's previous buffers to nil.
18248 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18250 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18251 newline before and after the tag line, so it doesn't interfere
18252 with determining the paragraph direction of bidirectional text.
18254 2011-09-03 Leo Liu <sdl.web@gmail.com>
18256 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18258 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18260 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18261 (pop-to-buffer): Change interactive spec. Pass second argument
18262 directly to display-buffer.
18263 (display-buffer): Fix interactive spec. Use functionp to
18264 distinguish between a function and a list of functions.
18266 * abbrev.el (edit-abbrevs):
18267 * arc-mode.el (archive-extract):
18268 * autoinsert.el (auto-insert):
18269 * bookmark.el (bookmark-bmenu-list):
18270 * files.el (find-file):
18271 * view.el (view-buffer):
18272 * progmodes/compile.el (compilation-goto-locus):
18273 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18275 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18277 * window.el (display-buffer-alist): Doc fix.
18278 (display-buffer): Add docstring. Don't treat
18279 display-buffer-default specially.
18280 (display-buffer-reuse-selected-window)
18281 (display-buffer-same-window, display-buffer-maybe-same-window)
18282 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18283 (display-buffer-pop-up-window)
18284 (display-buffer-reuse-or-pop-window)
18285 (display-buffer-use-some-window): New functions.
18286 (display-buffer-default-action): Use them.
18287 (display-buffer-default): Delete.
18288 (pop-to-buffer-1): Fix choice of actions.
18290 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18292 * minibuffer.el (completion--insert-strings): Don't get confused by
18293 completion entries that end with an LF char.
18295 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18297 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18299 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18301 * window.el (display-buffer): Restore interactive spec.
18302 (display-buffer-same-window, display-buffer-other-window):
18304 (pop-to-buffer-1): New function. Use the above.
18305 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18306 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18308 * view.el (view-buffer-other-window, view-buffer-other-frame):
18309 Just use pop-to-buffer.
18311 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18313 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18315 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18317 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18319 2011-08-31 Richard Stallman <rms@gnu.org>
18321 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18322 of the separation of rmail-view-buffer from rmail-buffer.
18323 If you say no to "replace original", the decrypt is in the
18324 view buffer. If you say yes, the decrypt goes into the
18327 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18329 * window.el (display-buffer-window): Rewrite doc-string.
18330 (display-buffer-record-window): New function.
18331 (display-buffer-macro-specifiers)
18332 (display-buffer-even-window-sizes, display-buffer-set-height)
18333 (display-buffer-set-width, display-buffer-in-window)
18334 (display-buffer-reuse-window, display-buffer-split-specifiers)
18335 (display-buffer-side-specifiers, display-buffer-split-window-1)
18336 (display-buffer-split-window, display-buffer-split-atom-window)
18337 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18338 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18339 (display-buffer-other-window-means-other-frame)
18340 (display-buffer-normalize-special)
18341 (display-buffer-normalize-default)
18342 (display-buffer-normalize-argument)
18343 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18344 (display-buffer-normalize-specifiers, display-buffer-frame)
18345 (display-buffer-same-window, display-buffer-same-frame)
18346 (display-buffer-other-window)
18347 (display-buffer-same-frame-other-window)
18348 (display-buffer-other-frame, pop-to-buffer-same-window)
18349 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18350 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18351 (switch-to-buffer-same-frame)
18352 (switch-to-buffer-other-window-same-frame)
18353 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18354 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18355 (display-buffer-alist-set): Remove.
18356 (display-buffer-function, special-display-buffer-names)
18357 (special-display-regexps, special-display-function):
18358 In doc-string refer to display-buffer-window and quit-restore
18360 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18361 (special-display-frame-alist, special-display-popup-frame)
18362 (same-window-buffer-names, same-window-regexps, same-window-p)
18363 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18364 (split-window-preferred-function, split-height-threshold)
18365 (split-width-threshold, window-splittable-p)
18366 (split-window-sensibly, window--try-to-split-window)
18367 (window--frame-usable-p, even-window-heights)
18368 (window--even-window-heights, window--display-buffer-1)
18369 (window--display-buffer-2, display-buffer-other-frame):
18370 Restore old Emacs 23 code, order and doc-strings where applicable.
18371 (display-buffer-default, display-buffer-assq-regexp): New functions.
18372 (display-buffer-alist): Rewrite doc-string.
18373 (display-buffer-default-action)
18374 (display-buffer-overriding-action): New variables.
18375 (display-buffer, switch-to-buffer): Rewrite.
18376 (pop-to-buffer): Restore Emacs 23 behavior but use
18377 window-normalize-buffer-to-display.
18378 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18379 Restore Emacs 23 behavior but use
18380 window-normalize-buffer-to-switch-to.
18381 (pop-to-buffer-same-window): Rewrite.
18382 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18383 Rewrite using Emacs 23 options.
18385 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18387 * net/tramp.el (tramp-root-regexp): Remove.
18388 (tramp-completion-file-name-regexp-unified)
18389 (tramp-completion-file-name-regexp-separate)
18390 (tramp-completion-file-name-regexp-url): Don't use leading volume
18391 letter on w32 systems. (Bug#5303, Bug#9311)
18392 (tramp-drop-volume-letter): Simplify definition.
18393 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18395 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18397 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18400 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18402 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18404 2011-08-29 Juri Linkov <juri@jurta.org>
18406 * isearch.el (isearch-done): Don't display message "Mark saved"
18407 when arg `edit' is non-nil to prevent its flicker in the echo area.
18409 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18411 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18412 obsolete packages for deletion.
18414 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18416 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18417 (help-mode): Derive help-mode from special-mode. Don't invoke
18418 view-mode from help-mode.
18419 (help-xref-override-view-map): Remove.
18420 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18421 view-mode is not used anymore.
18423 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18425 * server.el (server-port): Doc fix.
18427 * cus-theme.el (custom-theme-choose-mode): Inherit from
18428 special-mode (Bug#9124).
18429 (custom-theme-choose-mode-map): Add special-mode to parent.
18431 2011-08-28 Alan Mackenzie <acm@muc.de>
18433 * progmodes/cc-fonts.el
18434 (c-make-font-lock-BO-decl-search-function): New function.
18435 (c-basic-matchers-after - "Fontify the clauses after various
18436 keywords"): Extract the three keyword lists for the 3 erroneous
18437 constructs from the list of four, and use the new function above
18438 in place of an old one.
18440 2011-08-28 Deniz Dogan <deniz@dogan.se>
18442 * net/rcirc.el (rcirc-insert-prev-input)
18443 (rcirc-insert-next-input): Remove unused argument.
18445 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18447 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18449 2011-08-27 Alan Mackenzie <acm@muc.de>
18451 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18452 handle function pointer parameters properly.
18454 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18456 * window.el (display-buffer-reuse-window): Fix case where
18457 selected window was reused with non-nil OTHER-WINDOW argument.
18460 2011-08-27 Deniz Dogan <deniz@dogan.se>
18462 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18463 oftc's NickServ messages.
18465 2011-08-27 Glenn Morris <rgm@gnu.org>
18467 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18469 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18471 * emacs-lisp/package.el (package-install): Call package-initialize
18472 if called interactively.
18474 2011-08-26 Leo Liu <sdl.web@gmail.com>
18476 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18478 2011-08-25 Juri Linkov <juri@jurta.org>
18480 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18481 `search-whitespace-regexp' (bug#9364).
18483 2011-08-25 Juri Linkov <juri@jurta.org>
18485 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18486 `regexp-search-ring' to their global values to protect from
18487 updating by `read-from-minibuffer' (bug#9185).
18489 2011-08-25 Juri Linkov <juri@jurta.org>
18491 * textmodes/ispell.el (ispell-command-loop): Add newline
18492 at the end of the "Use option `i'..." line.
18494 2011-08-25 Juri Linkov <juri@jurta.org>
18496 * battery.el (display-battery-mode): If `battery-status-function'
18497 or `battery-mode-line-format' is nil, display the message and set
18498 `display-battery-mode' to nil (bug#9363).
18500 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18502 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18503 bidi-string-mark-left-to-right; they are unnecessary now.
18505 2011-08-25 Deniz Dogan <deniz@dogan.se>
18507 * net/quickurl.el: Documentation typo fixes.
18509 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18511 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18513 2011-08-25 Glenn Morris <rgm@gnu.org>
18515 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18517 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18518 (smtpmail-via-smtp): Handle nil response from smtp.
18520 2011-08-24 Juri Linkov <juri@jurta.org>
18522 * proced.el (proced-marked): Inherit from `error' instead of
18523 `font-lock-warning-face'.
18525 * ibuffer.el (ibuffer-marked-face): Change default face from
18526 `font-lock-warning-face' to `warning'.
18527 (ibuffer-deletion-face): Change default face from
18528 `font-lock-type-face' to `error'.
18530 * battery.el (battery-update): Use the face `error' instead of
18531 `font-lock-warning-face' (bug#6117).
18533 2011-08-24 Juri Linkov <juri@jurta.org>
18535 * faces.el (success): Change face color from "Green3" to
18536 "ForestGreen" on light background (bug#9353).
18538 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18540 * window.el (quit-window): Rename from quit-restore-window.
18541 Use same arglist as old quit-window.
18542 (frame-auto-delete): Doc fix.
18544 * view.el (view-mode-exit): Use quit-window.
18546 2011-08-24 Juri Linkov <juri@jurta.org>
18548 * isearch.el (isearch-ring-adjust1): Start visiting previous
18549 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18550 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18551 for empty search string (when the last search string is reused
18552 automatically) to adjust the isearch ring to the last element and
18553 prepare the correct index for further M-p commands (bug#9185).
18555 2011-08-24 Kenichi Handa <handa@m17n.org>
18557 * international/ucs-normalize.el: If decomposition property of
18558 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18560 (nfd, nfkd): Likewise.
18562 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18564 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18565 from process filters aren't reliably transmitted to the surrounding
18566 accept-process-output.
18567 (mpc-proc-check): New function.
18568 (mpc-proc-sync): Use it (bug#8293)
18570 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18572 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18573 Add compatibility functions (bug#9313).
18575 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18577 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18579 * international/uni-bidi.el: Regenerate.
18581 2011-08-23 Kenichi Handa <handa@m17n.org>
18583 * international/charprop.el:
18584 * international/uni-bidi.el:
18585 * international/uni-category.el:
18586 * international/uni-combining.el:
18587 * international/uni-comment.el:
18588 * international/uni-decimal.el:
18589 * international/uni-decomposition.el:
18590 * international/uni-digit.el:
18591 * international/uni-lowercase.el:
18592 * international/uni-mirrored.el:
18593 * international/uni-name.el:
18594 * international/uni-numeric.el:
18595 * international/uni-old-name.el:
18596 * international/uni-titlecase.el:
18597 * international/uni-uppercase.el: Regenerate.
18599 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18601 * help.el (help-window-setup): Fix message displayed when other
18602 window is reused. (Bug#9341)
18604 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18606 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18607 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18609 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18611 * shell.el (shell-parse-pcomplete-arguments): New function.
18612 (shell-completion-vars): Use it instead (bug#9160).
18614 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18616 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18617 strings and comments (bug#9333).
18619 * emacs-lisp/debug.el (debug-arglist): New function.
18620 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18621 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18623 2011-08-22 Juri Linkov <juri@jurta.org>
18625 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18626 Revert regexp that highlights output switches to its old
18627 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18629 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18630 to check for empty output (bug#9226).
18632 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18634 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18635 symbol-constituent as the default, as that stops font-lock from
18636 working properly (Bug#8843).
18638 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18640 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18641 `coding-system-for-*' around the process open call to avoid
18642 auth-source side effects.
18643 (smtpmail-try-auth-methods): Expand the secret password.
18644 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18647 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18649 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18651 * emacs-lisp/find-func.el (find-function-noselect): New arg
18654 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18655 signal an error for built-in functions (Bug#6664).
18657 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18659 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18660 (smtpmail-try-auth-methods): Use it.
18662 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18664 * font-lock.el (font-lock-fontify-region)
18665 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18666 (font-lock-default-unfontify-buffer)
18667 (font-lock-default-fontify-region)
18668 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18670 * progmodes/compile.el (compilation-error-properties):
18671 Fix confusion between file struct and message struct (Bug#9319).
18672 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18675 * net/browse-url.el (browse-url-firefox): Don't call
18676 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18678 2011-08-20 Glenn Morris <rgm@gnu.org>
18680 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18682 * tutorial.el (tutorial--default-keys): Update some default bindings.
18684 * files.el (hack-local-variables): Fully ignore case for "mode:".
18686 2011-08-20 Alan Mackenzie <acm@muc.de>
18688 Resolve invalid use of a regexp in regexp-opt.
18690 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18691 detection for a java annotation.
18693 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18694 detection for a java annotation.
18696 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18698 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18700 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18702 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18705 2011-08-20 Alan Mackenzie <acm@muc.de>
18707 Fontify CPP expressions correctly when starting in the middle of
18708 such a construct. Mainly for when jit-lock etc. starts a chunk
18711 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18713 (c-make-font-lock-search-form): New function, extracted from
18714 c-make-font-lock-search-function.
18715 (c-make-font-lock-search-function): Use the above function.
18716 (c-make-font-lock-context-search-function): New function.
18717 (c-cpp-matchers): Enhance the preprocessor expression case with
18719 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18720 which takes an expression.
18722 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18724 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18726 * window.el (display-buffer-reuse-window)
18727 (display-buffer-pop-up-window): Don't reuse or split a side
18730 2011-08-19 Glenn Morris <rgm@gnu.org>
18732 * files.el (hack-local-variables-prop-line, hack-local-variables):
18733 Downcase "Mode:". (Bug#9331)
18735 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18737 * international/characters.el: Add L and R categories.
18739 * subr.el (bidi-string-mark-left-to-right): Rename from
18740 string-mark-left-to-right. Use category search.
18742 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18744 2011-08-18 Juri Linkov <juri@jurta.org>
18746 * faces.el (error, warning, success): New faces with definitions
18747 copied from old default values of `font-lock-warning-face',
18748 `compilation-warning', `compilation-info' (bug#6117).
18750 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18752 * progmodes/compile.el (compilation-error): Inherit from `error'.
18753 (compilation-warning): Inherit from `warning'.
18754 (compilation-info): Inherit from `success'.
18756 * dired.el (dired-marked): Inherit from `warning'.
18757 (dired-flagged): Inherit from `error'.
18759 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18761 * mail/smtpmail.el (auth-source): Require to avoid problems with
18762 binding variables (bug#9298). Also clean up some unused
18765 * net/network-stream.el (network-stream-open-starttls):
18766 Support using starttls.el without using gnutls-cli.
18768 2011-08-17 Juri Linkov <juri@jurta.org>
18770 * progmodes/grep.el (rgrep): Handle the case when
18771 `grep-find-command' is a cons cell (bug#9278).
18773 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18775 * window.el (display-buffer-pop-up-frame): Run frame creation
18776 function with BUFFER current (as special-display-popup-frame
18777 does). Reported by Drew Adams.
18779 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18781 * epa-mail.el: Simplify GnuPG group expansion using
18783 (epa-mail-group-alist, epa-mail-group-modtime)
18784 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18785 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18786 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18789 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18791 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18793 2011-08-16 Alan Mackenzie <acm@muc.de>
18795 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18796 Correct, to avoid the inside of macros.
18798 2011-08-16 Richard Stallman <rms@gnu.org>
18800 * epa-mail.el: Handle GnuPG group definitions.
18801 (epa-mail-group-alist, epa-mail-group-modtime)
18802 (epa-mail-gnupg-conf-file): New variables.
18803 (epa-mail-parse-groups, epa-mail-sync-groups)
18804 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18805 (epa-mail-expand-recipients): New functions.
18806 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18808 * mail/rmail.el (rmail-epa-decrypt): New command.
18810 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18811 Don't bind buffer-read-only, just inhibit-read-only.
18812 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18813 (epa-decrypt-armor-in-region): Make error message clearer.
18815 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18817 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18818 and "a2b" to "ab" for `prefix'.
18820 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18822 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18824 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18825 Fourquet (Bug#8804).
18827 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18829 * startup.el (argi): Declare as global variable (bug#9275).
18831 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18833 * subr.el (string-mark-left-to-right): Search the entire string
18834 for RTL script, not just the terminating character. Doc fix.
18836 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18838 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18840 (js--regexp-literal, js-syntax-propertize-function): Remove.
18841 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18842 (js-mode-map): Don't rebind electric keys.
18843 (js-insert-and-indent): Remove.
18844 (js-mode): Setup electric-layout and electric-indent instead.
18846 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18848 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18850 * epa.el (epa-progress-callback-function): Fix the logic of
18851 displaying progress.
18852 * epa-file.el (epa-file-insert-file-contents): Make progress
18853 display more user-friendly.
18854 (epa-file-write-region): Ditto.
18856 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18858 * subr.el (string-mark-left-to-right): New function.
18860 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18861 Use string-mark-left-to-right.
18862 (list-buffers-noselect): Caller changed.
18864 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18865 Use string-mark-left-to-right.
18866 (tabulated-list-print): Recenter after moving point.
18868 2011-08-10 Juri Linkov <juri@jurta.org>
18870 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18871 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18872 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18874 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18876 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18879 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18881 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18882 character. (Bug#6594)
18884 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18886 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18887 (image-dired--with-db-file): New macro.
18888 (image-dired-write-tags, image-dired-remove-tag)
18889 (image-dired-create-gallery-lists, image-dired-write-comments)
18890 (image-dired-get-comment, image-dired-mark-tagged-files)
18891 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18892 (image-dired-gallery-generate): Use insert-file-contents.
18894 * time.el (display-time-world-list, display-time-world-display):
18895 * time-stamp.el (time-stamp-string):
18896 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18897 set-time-zone-rule (Bug#7337).
18899 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18901 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18902 (epg-error-to-string, epg-errors-to-string): New function.
18903 (epg-wait-for-completion): Reverse errors list.
18904 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18905 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18906 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18907 (epg-sign-keys, epg-generate-key-from-file)
18908 (epg-generate-key-from-string): Format errors by using
18909 epg-errors-to-string (bug#9255).
18910 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18912 2011-08-07 Juri Linkov <juri@jurta.org>
18914 * faces.el (list-faces-display): Remove extra angle bracket
18915 from `help-mode-map'.
18917 * info.el (Info-history-toc-nodes): Doc fix.
18919 * longlines.el (longlines-mode): Doc fix.
18921 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18923 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18924 of statements and in a few more cases (bug#9183).
18926 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18928 (cl-transform-lambda): Use them (bug#9239).
18930 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18932 * window.el (display-buffer-same-window)
18933 (display-buffer-same-frame, display-buffer-other-window)
18934 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18935 (pop-to-buffer-other-window)
18936 (pop-to-buffer-same-frame-other-window)
18937 (pop-to-buffer-other-frame): Make them defuns.
18938 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18940 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18942 * subr.el (make-composed-keymap): Move from C. Change calling
18943 convention, and improve docstring to bring attention to a subtle point.
18944 * minibuffer.el (completing-read-default): Adjust accordingly.
18946 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18948 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18949 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18951 * net/trampver.el: Update release number.
18953 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18955 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18958 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18960 * mail/sendmail.el (sendmail-query-once): Restore the current
18961 buffer after querying (bug#9074).
18963 * dired.el (dired-flagged): Use different faces for marked and
18964 flagged files (bug#6117).
18966 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18969 * ido.el (ido-mode): Switch off the message if called
18972 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18973 before 587, since it appears that that's more likely to work for
18976 * cus-edit.el (custom-file): When running under emacs -q, always
18977 refuse to save the customizations, even if the .emacs file doesn't
18980 * info.el: Remove the `Info-beginning-of-buffer' function
18983 * net/network-stream.el (network-stream-open-starttls):
18984 Use `starttls-available-p' to see whether starttls.el can be used.
18986 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18988 * window.el (display-buffer-in-window): Don't set dedicated status
18989 of window here (Bug#9215).
18990 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18991 (display-buffer-pop-up-side-window)
18992 (display-buffer-in-side-window): Set dedicated status of window here.
18994 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18997 before binding generated-autoload-file.
18999 2011-08-01 Deniz Dogan <deniz@dogan.se>
19001 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19003 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19005 Sync with Tramp 2.2.2.
19007 * net/trampver.el: Update release number.
19009 2011-07-30 Juri Linkov <juri@jurta.org>
19011 * dired-aux.el (dired-touch-initial): Remove function.
19012 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19013 current time, and `default' to the last modification time of the
19014 current marked file (bug#6887).
19016 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19018 * simple.el (goto-line): Use string-to-number to provide a
19019 numeric argument to read-number (bug#9163).
19021 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19023 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19024 connection process, it could be nil.
19026 2011-07-27 Leo Liu <sdl.web@gmail.com>
19028 Simplify url handling in rcirc-mode.
19030 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19031 (rcirc-browse-url-at-mouse): Remove.
19032 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19034 2011-07-26 Alan Mackenzie <acm@muc.de>
19036 Fontify bitfield declarations properly.
19038 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19039 (c-symbol-chars): Now exported as a lang variable.
19040 (c-not-primitive-type-keywords): New lang variable.
19042 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19043 QT keyword "more" to prevent "more slots: ...." being spuriously
19044 parsed as a bitfield declaration.
19046 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19047 Refactor and enhance to handle bitfield declarations.
19048 (c-punctuation-in): New function.
19049 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19050 declarations properly.
19052 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19054 * calendar/icalendar.el (icalendar--all-events): Take care of
19055 multiple vcalendars in a single file.
19056 (icalendar--convert-float-to-ical): Checkdoc fixes.
19058 2011-07-25 Deniz Dogan <deniz@dogan.se>
19060 * image.el (insert-image): Clarifying docstring.
19062 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19064 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19065 `tramp-send-command-and-check' if there is no error.
19066 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19068 2011-07-22 Alan Mackenzie <acm@muc.de>
19070 Prevent cc-langs.elc being loaded at run time.
19072 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19075 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19076 "(require 'cc-langs)". Quote a form so it will evaluate at
19077 (cc-mode's) compilation time.
19079 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19081 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19082 loading. (Bug#9114)
19084 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19086 * window.el (display-buffer-pop-up-window)
19087 (display-buffer-pop-up-side-window)
19088 (display-buffer-in-side-window): Call display-buffer-set-height
19089 and display-buffer-set-width after setting the new window's
19090 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19092 2011-07-20 Sam Steingold <sds@gnu.org>
19094 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19095 (etags-tags-included-tables): Call `convert-standard-filename' on
19096 the file names contained in TAGS so that windows Emacs can handle
19097 TAGS files created by cygwin ctags.
19099 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19101 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19102 which apparently didn't work.
19104 2011-07-19 Roland Winkler <winkler@gnu.org>
19106 * proced.el (proced-send-signal): For *Marked Processes* buffer
19107 put point at beginning of buffer.
19109 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19111 * proced.el (proced-format): Make header lines align with the text
19114 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19116 * view.el (view-buffer): Allow running in `special' modes if we're
19117 visiting a file (bug#8615).
19119 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19121 * window.el (display-buffer-alist-of-strings-p)
19122 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19124 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19127 2011-07-18 Alan Mackenzie <acm@muc.de>
19129 Fontify declarators properly when, e.g., a jit-lock chunk begins
19130 inside a declaration.
19132 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19134 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19136 (c-complex-decl-matchers): Insert reference to
19137 c-font-lock-enclosing-decls.
19139 * progmodes/cc-engine.el (c-backward-single-comment):
19140 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19141 to nil around calls to (forward-comment -1).
19143 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19145 * image.el (put-image): Doc typo fix.
19147 * progmodes/etags.el (tags-search): Doc typo fix.
19149 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19150 password if we get errors 550 to 554.
19152 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19154 * net/gnutls.el (gnutls-log-level): Remove.
19156 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19157 indentation character (bug#6380).
19159 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19161 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19162 to clarify what the problem is (bug#4291).
19164 * simple.el (current-kill): Clarify what
19165 `interprogram-paste-function' does (bug#7500).
19166 (auto-fill-mode): Document `auto-fill-function' in relation to
19167 `auto-fill-mode' (bug#2470).
19169 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19171 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19172 method if slot is read-only (bug#9035).
19174 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19176 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19177 * window.el (pop-to-buffer): Select window used even if it was
19178 selected before, see discussion of (Bug#8615), (Bug#6954).
19179 Pass argument NORECORD on to select-frame-set-input-focus.
19181 2011-07-15 Glenn Morris <rgm@gnu.org>
19183 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19186 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19188 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19189 (gnutls-negotiate): Use it.
19191 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19193 * net/gnutls.el (gnutls-negotiate):
19194 Upcase `gnutls-algorithm-priority'.
19196 2011-07-15 Glenn Morris <rgm@gnu.org>
19198 * jka-compr.el (jka-compr-verbose): Move from here...
19199 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19200 Add missing :version tag.
19201 * info.el: No need to require jka-compr when compiling.
19203 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19205 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19206 (gnutls-negotiate): Use it.
19208 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19210 * info.el (Info-beginning-of-buffer): New command.
19211 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19212 announcing `b' as the key (bug#8325).
19213 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19215 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19217 * international/mule-cmds.el
19218 (describe-specified-language-support): Make the error message
19219 clearer (bug#8905).
19221 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19223 * isearch.el (isearch-barrier): Add a doc string, since it's
19224 mentioned in a function doc string (bug#8678).
19226 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19228 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19229 buffer argument (Bug#9083) and self-identifying label argument.
19231 2011-07-15 Glenn Morris <rgm@gnu.org>
19233 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19235 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19237 * man.el (Man-fontify-manpage): Fix message when formatting the
19238 man page (bug#7929).
19240 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19242 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19243 argument LRM; if non-nil, append an invisible LRM character to the
19245 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19246 last argument non-nil, when formatting buffer names.
19247 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19248 paragraph direction.
19250 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19252 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19253 the man page name (bug#7929).
19255 * image.el (put-image): Mention the `put-image' overlay property
19258 * scroll-bar.el (set-scroll-bar-mode): Mention that
19259 `scroll-bar-mode' lists the values (bug#7772).
19261 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19262 command (bug#7729).
19264 * rect.el (apply-on-rectangle): Return the point after the last
19266 (string-rectangle): Go to the point after the last operation
19269 * printing.el (pr-toggle-region): Clarify the documentation
19270 slightly (bug#7493).
19272 * time.el (display-time-update):
19273 Allow `display-time-mail-function' to return nil (bug#7158).
19274 Fix suggested by Detlev Zundel.
19276 * vc/diff.el (diff): Clarify the order the file names are read
19279 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19280 the doc string (bug#7015).
19282 * font-lock.el (font-lock-maximum-decoration): Mention what
19283 numeric levels mean (bug#6935).
19285 * startup.el (initial-buffer-choice): Don't mention the `none'
19286 selection, which is against policy.
19288 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19290 * window.el (display-buffer-normalize-special):
19291 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19293 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19295 * subr.el (version<, version<=, version=): Mention "-CVS" and
19296 "-12345" alpha version numbers.
19298 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19300 * bindings.el: Add advertised binding for set-mark-command
19303 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19305 * bindings.el (mode-line-other-buffer):
19306 * bookmark.el (bookmark-bmenu-2-window):
19307 * bs.el (bs-cycle-next, bs-cycle-previous):
19308 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19311 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19314 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19316 * follow.el (follow-debug-message, follow-redisplay):
19317 * jka-cmpr-hook.el (with-auto-compression-mode):
19318 Fix typos in docstrings.
19320 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19322 * subr.el (with-silent-modifications): Clarify somewhat what the
19323 macro inhibits (bug#6525).
19325 * simple.el (eval-expression): Note what it does if called
19326 interactively (bug#6495).
19328 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19330 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19331 Use pop-to-buffer buffer-or-name if it is nil.
19333 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19334 Remove switch-to-buffer.
19336 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19338 * files.el (make-directory): Clarify that an error will be raised
19339 if there's an error (bug#6397).
19341 * startup.el (initial-buffer-choice): Add `none' as a choice
19344 * subr.el (add-hook): Clarify section about buffer-local hooks
19347 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19349 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19351 * tabify.el (untabify): Preserve the current column so that point
19352 doesn't move (bug#6032).
19354 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19356 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19357 Rewrite to avoid awkward possessive "s" (bug#5986).
19359 2011-07-13 Glenn Morris <rgm@gnu.org>
19361 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19362 (dired-insert-directory): Give a message the first time
19363 if ls is found not to support --dired.
19365 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19367 * simple.el (toggle-truncate-lines): Clarify what is toggled
19368 (bug#5580). Text by Drew Adams.
19370 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19372 * simple.el (blink-matching-open): Make the error message from the
19373 last change less verbose.
19375 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19377 * font-lock.el (font-lock-comment-face): Use the high contrast
19378 "yellow" color for font-lock-comment-face on low color terminals
19379 using a dark background color (bug#4221).
19381 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19383 * dired.el (dired-insert-set-properties): Make the doc string
19384 reflect what it does now (bug#5325).
19386 * simple.el (blink-matching-open): Say that we were unable to find
19387 the match within the limit, if we're limited (bug#5122).
19389 * international/mule-cmds.el (prefer-coding-system): Add an
19390 example (bug#4869).
19392 * progmodes/etags.el (tags-search): Document `file-list-form'
19395 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19397 * net/browse-url.el (browse-url-default-browser)
19398 (browse-url-browser-function): Make the default browser choice a
19399 bit more logical (bug#4300). Also clean up the doc string.
19401 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19403 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19404 binary endings (bug#4440).
19406 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19408 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19409 which can be pretty annoying (bug#8971).
19411 * jka-compr.el (jka-compr-verbose): New variable, and use
19412 throughout (bug#8971).
19414 * info.el (Info-find-file): Fall back on the installation
19415 directory if we can't find the info node anywhere else.
19417 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19419 * vc/vc.el (vc-revert-file):
19420 Don't set file time-stamp in the past. (Bug#5181)
19422 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19424 * files.el (after-find-file): Give a better error message when
19425 trying to find a symlink that points to a file that doesn't exist
19428 * progmodes/cc-vars.el: Remove (probably) misleading comment
19431 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19433 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19435 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19437 * mouse-sel.el: Hack restoring functionality, while keeping
19438 compatibility with 2010-07-03 changes to mouse selection.
19439 (mouse-sel-primary-overlay): New var.
19440 (mouse-sel-selection-alist): Use it.
19441 (mouse-sel-mode): Doc fix; remove points that are default features
19444 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19446 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19447 Fix previous fix (bug#2490).
19449 2011-07-12 Roland Winkler <winkler@gnu.org>
19451 * textmodes/bibtex.el (bibtex-initialize):
19452 Use pop-to-buffer-same-window.
19453 (bibtex-search-entries): Fix interactive call.
19455 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19458 Fontise bytecomp Error lines more correctly (bug#2490).
19459 Fix suggested by Johan Bockgård.
19461 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19463 * dired-x.el (dired-guess-default): Use `delete-dups'.
19465 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19467 * dired.el (dired-mark-prompt):
19468 * dired-aux.el (dired-read-shell-command): Doc fix.
19470 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19472 * mail/sendmail.el (sendmail-query-once):
19473 Use `customize-save-variable' unconditionally, now that it works under
19476 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19478 * cus-edit.el (custom-file): Take an optional no-error variable.
19479 (customize-save-variable): Set the variable, and give a warning if
19480 running under "emacs -q".
19482 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19484 * loadhist.el (unload-feature-special-hooks):
19485 Add `auto-coding-functions', `fill-nobreak-predicate' and
19486 `find-directory-functions' (bug#5327).
19488 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19490 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19492 * cus-edit.el (custom-guess-name-alist): -alist variables should
19493 use the `alist' type (bug#3120). Suggested by Drew Adams.
19495 * printing.el: Add documentation to all the `pr-toggle-' commands.
19497 2011-07-11 Leo Liu <sdl.web@gmail.com>
19499 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19500 backends where it makes sense (bug#2623).
19502 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19504 * dired-x.el (dired-guess-default): Remove duplicate shell command
19505 entries (bug#2028).
19506 (dired-guess-default): Fix grammar in doc string (bug#2028).
19507 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19509 * subr.el (remove-duplicates): New conveniency function.
19511 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19513 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19516 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19518 * window.el (display-buffer-normalize-default): Don't invert
19519 meaning of even-window-heights. Reported by Eli Zaretskii
19522 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19524 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19526 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19528 * window.el (display-buffer): Fix arguments to
19529 display-buffer-reuse-window in last change.
19531 * faces.el (link): Use a less saturated blue on light backgrounds.
19533 * startup.el (fancy-startup-text, fancy-about-text)
19534 (fancy-startup-tail): Use font-lock faces, for background safety.
19536 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19538 * emulation/viper-cmd.el (viper-change-state-to-vi):
19539 Limit triggering of abbrev expansion (Bug#9038).
19541 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19543 * window.el (display-buffer-default-specifiers): Remove.
19544 (display-buffer-macro-specifiers): Remove default specifiers.
19545 (display-buffer-alist): Default to nil.
19546 (display-buffer-reuse-window): New optional argument other-window.
19547 (display-buffer-pop-up-window): Allow splitting internal
19548 windows. Check whether a live window was created.
19549 (display-buffer-other-window-means-other-frame)
19550 (display-buffer-normalize-arguments): Rename to
19551 display-buffer-normalize-argument and rewrite. Set the
19552 other-window specifier.
19553 (display-buffer-normalize-special): New function.
19554 (display-buffer-normalize-options): Rename to
19555 display-buffer-normalize-default and rewrite.
19556 (display-buffer-normalize-options-inhibit): Remove.
19557 (display-buffer-normalize-specifiers): Rewrite.
19558 (display-buffer): Process other-window specifier and call
19559 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19561 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19562 (display-buffer-alist-set): Don't handle 'unset default values.
19563 (display-buffer-in-window, display-buffer-alist-set):
19564 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19565 <tassilo@member.fsf.org>.
19567 2011-07-09 Leo Liu <sdl.web@gmail.com>
19569 * register.el (insert-register): Restore accidental change on
19570 2011-06-26. (Bug#9028)
19572 2011-07-09 Glenn Morris <rgm@gnu.org>
19574 * subr.el (remq): Handle the empty list. (Bug#9024)
19576 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19578 * mail/sendmail.el (send-mail-function): No longer delay custom
19580 * custom.el (custom-initialize-delay): Doc fix.
19582 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19584 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19586 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19588 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19589 human-friendly prompt.
19591 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19593 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19594 provided by a particular plugin.
19596 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19598 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19599 save customizations (with "emacs -Q"), just set the variable
19600 instead of erroring out.
19602 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19604 2011-07-08 Juri Linkov <juri@jurta.org>
19606 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19607 (archive-zip-update-case): Use 7z if found by `executable-find'.
19608 The order of searching the available programs is the same as in
19609 `archive-zip-extract' (bug#8968).
19611 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19613 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19614 (menu-bar-options-menu): Tweak descriptions.
19616 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19618 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19619 menu items into verb phrases (bug#1421). Also refill to fit under
19622 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19624 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19625 (Info-read-node-name): Doc fix (Bug#1084).
19627 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19628 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19629 (end-of-sexp, beginning-of-sexp)
19630 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19631 (forward-symbol, forward-same-syntax, word-at-point)
19632 (sentence-at-point): Doc fix (Bug#1144).
19634 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19636 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19637 should cover it (bug#1281).
19639 * cus-edit.el (custom-show): Mark as obsolete.
19641 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19642 negotiation fails, then possibly try again with a non-encrypted
19643 connection (bug#9017).
19645 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19648 2011-07-07 Richard Stallman <rms@gnu.org>
19650 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19651 property, and handle its changed format.
19652 Look for the correct line number.
19653 Use file's line contents (but not past first =) to find
19654 correct line in message.
19656 2011-07-07 Kenichi Handa <handa@m17n.org>
19658 * international/characters.el (build-unicode-category-table):
19660 (unicode-category-table): Set it by unicode-property-table-internal.
19662 * international/mule-cmds.el (char-code-property-alist): Move to
19664 (get-char-code-property): Call unicode-property-table-internal to
19665 load a file. Call get-unicode-property-internal where necessary.
19666 (put-char-code-property): Call unicode-property-table-internal to
19667 load a file. Call put-unicode-property-internal where necessary.
19668 put-unicode-property-internal where necessary.
19669 (char-code-property-description):
19670 Call unicode-property-table-internal to load a file.
19672 * international/charprop.el:
19673 * international/uni-bidi.el:
19674 * international/uni-category.el:
19675 * international/uni-combining.el:
19676 * international/uni-comment.el:
19677 * international/uni-decimal.el:
19678 * international/uni-decomposition.el:
19679 * international/uni-digit.el:
19680 * international/uni-lowercase.el:
19681 * international/uni-mirrored.el:
19682 * international/uni-name.el:
19683 * international/uni-numeric.el:
19684 * international/uni-old-name.el:
19685 * international/uni-titlecase.el:
19686 * international/uni-uppercase.el: Regenerate.
19688 * loadup.el: Load international/charprop.el before
19689 international/characters.
19691 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19693 * window.el (next-buffer, previous-buffer): Signal an error if
19694 called from a minibuffer window.
19696 * bindings.el: Revert 2011-07-04 change.
19698 2011-07-06 Richard Stallman <rms@gnu.org>
19700 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19701 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19702 Treat markers like ints.
19703 (rmail-mime-entity): Doc fix.
19705 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19707 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19708 defcustom again for backwards compatibility.
19710 * simple.el (shell-command-on-region): Fill.
19712 * dired-aux.el (dired-kill-line): Add a doc string.
19714 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19715 to "\\sw\\|\\s_" (bug#358).
19717 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19718 (dired-unmark-backward): Ditto.
19719 (dired-flag-backup-files): Ditto.
19721 * dired-x.el (dired-mark-sexp): Ditto.
19723 2011-07-06 Richard Stallman <rms@gnu.org>
19725 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19726 (rmail-mime-entity): New arg TRUNCATED.
19727 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19729 (rmail-mime-save): Warn if entity is truncated.
19730 (rmail-mime-toggle-hidden): Likewise, for showing.
19731 (rmail-mime-process-multipart): Record when an entity is truncated.
19733 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19734 if ENTITY is a string.
19736 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19738 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19739 of faces when `M-C-x'-ing their definitions (bug#8378).
19740 Also clean up the code slightly.
19742 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19743 because that makes the colors go away.
19745 * mail/sendmail.el (send-mail-function): Change the default to
19746 `sendmail-query-once'.
19747 (sendmail-query-once): Add an autoload cookie.
19749 * net/network-stream.el (network-stream-open-starttls): Try using
19750 a plain connection even if the server offered STARTTLS, and we
19751 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19752 capability. This should make smtpmail.el work in slightly more
19755 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19757 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19759 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19761 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19763 * progmodes/sql.el: Version 3.0
19764 (sql-product-alist): Add product :completion-object,
19765 :completion-column, and :statement attributes.
19766 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19767 (sql-mode-syntax-table): Mark all punctuation.
19768 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19770 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19771 (sql-mode-oracle-font-lock-keywords): Improve.
19772 (sql-oracle-show-reserved-words): New function for development.
19773 (sql-product-font-lock): Simplify for source code buffers.
19774 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19776 (sql-highlight-product): Set product specific syntax table.
19777 (sql-mode-map): Add statement movement functions.
19778 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19780 (sql-statement-regexp, sql-beginning-of-statement)
19781 (sql-end-of-statement, sql-signum): New functions.
19782 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19783 (sql-show-sqli-buffer): Bug fix.
19784 (sql-interactive-mode): Store connection data as buffer local.
19785 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19786 with sql-interactive-mode.
19787 (sql-save-connection): Save buffer local settings.
19788 (sql-connection-menu-filter): Change menu entry name.
19789 (sql-product-interactive): Bug fix.
19790 (sql-preoutput-hold): New variable.
19791 (sql-interactive-remove-continuation-prompt): Bug fixes.
19792 (sql-debug-redirect): New variable.
19793 (sql-str-literal): New function.
19794 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19796 (sql-oracle-save-settings, sql-oracle-restore-settings)
19797 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19798 (sql-completion-object, sql-completion-column)
19799 (sql-completion-sqlbuf): New variables.
19800 (sql-build-completions-1, sql-build-completions)
19801 (sql-try-completion): New functions.
19802 (sql-read-table-name): Use them.
19803 (sql-contains-names): New buffer local variable.
19804 (sql-list-all, sql-list-table): Use it.
19805 (sql-oracle-completion-types): New variable.
19806 (sql-oracle-completion-object, sql-sqlite-completion-object)
19807 (sql-postgres-completion-object): New functions.
19809 2011-07-06 Glenn Morris <rgm@gnu.org>
19811 * window.el (pop-to-buffer): Doc fix.
19813 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19815 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19817 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19819 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19821 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19823 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19825 * button.el (button): Inherit from link face. Suggested by Dan
19828 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19830 * progmodes/gdb-mi.el: Fit in 80 columns.
19831 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19834 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19835 if imenu is simply not configured (bug#8941).
19837 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19839 * allout.el (allout-post-undo-hook): New allout outline-change
19840 event hook to signal undo activity.
19841 (allout-post-command-business): Run allout-post-undo-hook if an
19842 undo just occurred.
19843 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19844 * allout-widgets.el (allout-widgets-after-undo-function):
19845 Ensure the integrity of the current item's decoration after it has been
19846 in the vicinity of an undo.
19847 (allout-widgets-mode): Include allout-widgets-after-undo-function
19848 on the new allout-post-undo-hook.
19850 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19852 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19853 Let define-derived-mode define it.
19854 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19855 cycles of abbrev-table inheritance (bug#8998).
19857 2011-07-05 Roland Winkler <winkler@gnu.org>
19859 * textmodes/bibtex.el: Add support for biblatex.
19860 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19861 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19862 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19863 (bibtex-entry-alist, bibtex-field-alist): New variables.
19864 (bibtex-entry-field-alist): Obsolete alias for
19865 bibtex-BibTeX-entry-alist.
19866 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19867 (bibtex-set-dialect): New command.
19868 (bibtex-entry-type, bibtex-entry-head)
19869 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19870 Bind via bibtex-set-dialect.
19871 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19872 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19873 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19874 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19875 Define via bibtex-set-dialect.
19876 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19877 Obey bibtex-no-opt-remove-re.
19878 (bibtex-vec-push, bibtex-vec-incr): New functions.
19879 (bibtex-format-entry, bibtex-field-list)
19880 (bibtex-print-help-message, bibtex-validate)
19881 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19883 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19885 * progmodes/compile.el (compilation-goto-locus):
19886 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19887 * bs.el (bs-cycle-next, bs-cycle-previous):
19888 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19889 * bindings.el (mode-line-other-buffer):
19890 * autoinsert.el (auto-insert):
19891 * arc-mode.el (archive-extract):
19892 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19894 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19896 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19897 Fix check of `emacs-lock-unlockable-modes'.
19898 Coerce true values of `emacs-lock--try-unlocking' to t.
19900 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19902 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19903 * emacs-lock.el: New file.
19905 2011-07-05 Julien Danjou <julien@danjou.info>
19907 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19908 than `boundp' to check if face is set.
19910 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19912 * register.el (registerv-make):
19913 * window.el (window-min-height): Fix typos in docstrings.
19915 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19917 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19920 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19922 * server.el (server-execute): Catch quit and call
19923 `server-return-error' to pass the error back to emacsclient and
19924 close the connection (bug#8942).
19926 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19928 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19929 insecure exception for current topic. Also note that auto-saves
19930 are handled differently.
19932 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19933 State variables for tracking auto-save inhibition situation.
19935 (allout-write-contents-hook-handler): Rename from
19936 'allout-write-file-hook-handler', and describe how it depends on
19937 write-contents-functions sensitivity to non-nil value to prevent
19940 (allout-auto-save-hook-handler): Remove. auto-save does not check
19941 this in individual buffers, only in the starting buffer, so this
19942 is not the right way for us to inhibit auto-save in a buffer
19943 according to its condition.
19945 (allout-mode): Use new allout-write-contents-hook-handler, and
19946 only with write-contents-functions. Remove auto-save provisions -
19947 they're implemented elsewhere.
19949 (allout-before-change-handler): If undo is in progress, note that
19950 for attention of allout-post-command-business.
19952 (allout-post-command-business): If the command we're following was
19953 an undo, check for change in the status of encrypted items and
19954 adjust auto-save inhibitions accordingly.
19956 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19957 according to whether there are or aren't any plain-text topics
19958 pending encryption.
19960 (allout-inhibit-auto-save-info-for-decryption):
19961 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19962 if there are plain-text topics pending encryption.
19964 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19965 buffer-saved-size and some allout state to not inhibit auto-saves
19966 if there are no longer any plain-text topics pending encryption.
19968 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19969 No longer provide for exemption of the current topic.
19971 2011-07-04 Juri Linkov <juri@jurta.org>
19973 Add 7z operations to delete and save changed members (bug#8968).
19974 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19976 (archive-7z-write-file-member): New function.
19977 (archive-7z-summarize): Fix the number of dashes in the
19980 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19982 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19985 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19987 * bindings.el: Ignore next-buffer and previous-buffer in
19988 minibuffer-local-map.
19990 * font-lock.el (font-lock-builtin-face): Change light background
19991 color to dark slate blue (Bug#6693).
19993 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19995 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19997 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19999 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20000 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20001 Add switch-to-buffer.
20003 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20005 * isearch.el (isearch-search-fun-function): Clarify further the
20006 meaning of the function returned.
20008 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20010 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20012 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20013 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20015 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20016 `tramp-default-remote-path' does not exist.
20017 (tramp-send-command-and-read): New optional argument NOERROR.
20018 (tramp-open-connection-setup-interactive-shell)
20019 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20020 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20021 (tramp-process-sentinel): Flush also process' connection property.
20022 (tramp-sh-handle-start-file-process): Do not set process
20023 sentinel. It is done now ...
20024 (tramp-maybe-open-connection): ... here. (Bug#8929)
20026 2011-07-04 MON KEY <monkey@sandpframing.com>
20028 * play/animate.el (animate-string): Doc fixes and allow changing
20029 the buffer name (bug#5417).
20031 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20033 * play/animate.el (animation-buffer-name): Rename from *animate*.
20035 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20037 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20038 This is simpler and helps future-proof the code.
20039 (timer-until): Use time-subtract and float-time.
20040 (timer--time-less-p): Use time-less-p.
20042 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20044 * type-break.el (timep): Use the value of `float-time' to avoid a
20045 byte-compiler warning.
20047 * server.el (server-eval-and-print): Return any result, even nil.
20049 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20051 * type-break.el: Accept time formats that the builtins accept.
20052 (timep, type-break-time-difference): Accept any format that
20053 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20054 This is simpler and helps future-proof the code.
20055 (type-break-time-difference): Round rather than ignoring
20056 subseconds components.
20058 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20060 * info.el (Info-apropos-matches): Make non-interactive, since it
20061 doesn't seem to do anything useful as a command (bug#8829).
20063 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20065 * frame.el (frame-background-mode, frame-set-background-mode):
20066 Move from faces.el.
20067 (frame-default-terminal-background): New function.
20069 * custom.el (custom-push-theme): Don't record faces in `changed'
20070 theme; this doesn't work correctly for per-frame face settings.
20071 (disable-theme): Use face-set-after-frame-default to reset faces.
20072 (custom--frame-color-default): New function.
20074 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20076 * dired.el (dired-flagging-regexp): Remove unused variable
20079 2011-03-29 Kevin Ryde <user42@zip.com.au>
20081 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20082 `perl-Test2' extend to match possible "fail #N" rep count
20085 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20087 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20088 `smtpmail-via-smtp' now returns the error instead of nil.
20090 * isearch.el (isearch-search-fun-function): Clarify the doc string
20093 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20095 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20096 unnecessary spaces (bug#8987).
20098 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20100 * net/network-stream.el (open-network-stream): Use the
20101 :end-of-capability command thoughout.
20103 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20105 * net/network-stream.el (open-network-stream): Add the
20106 :end-of-capability command parameter, used by pop3.el.
20108 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20110 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20112 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20113 for list)" (bug#6475).
20115 * files.el (file-expand-wildcards): Ignore non-readable
20116 sub-directories while trying to find matches instead of signaling
20117 an error (bug#6297).
20119 * man.el (Man-reference-regexp): Allow matching possible
20120 word-wrapped references (bug#6289).
20122 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20123 for consistency with the other vc buffers (bug#6197).
20124 (vc-checkin): Ditto.
20126 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20128 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20130 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20132 * custom.el (defcustom): Clarify that :set is only used in the
20133 Customize user interface (bug#6089).
20135 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20136 associated with a file, refuse to run instead of erroring out
20139 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20140 the doc string, since it appears that using `fill-column' always
20141 controls the width (bug#7845).
20143 * simple.el (shell-command-on-region): Say where the error output
20144 went if `shell-command-default-error-buffer' is set (bug#6857).
20146 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20148 * allout.el (allout-yank-processing): Adjust cursor position for
20149 backwards-deleted space.
20151 (allout-rebullet-heading): Register changes with
20152 allout-exposure-changed-hook, so the modified topic is properly
20155 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20157 * minibuffer.el (completion-in-region): Document PREDICATE
20160 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20161 of keyword/argument pairs (bug#6904).
20163 * replace.el (multi-occur):
20164 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20166 2011-07-02 Drew Adams <drew.adams@oracle.com>
20168 * dired.el (dired-mark-if): Make the message about whether it's
20169 marking or unmarking clearer (bug#8523).
20171 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20173 * disp-table.el (display-table-print-array): New function.
20174 (describe-display-table): Use it to print the vectors more pretty
20177 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20179 * window.el (window-state-get-1): Don't assign clone numbers.
20180 Add clone-of item to list of window parameters.
20181 (window-state-put-2): Don't process clone numbers.
20182 (display-buffer-alist): Fix doc-string.
20184 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20186 * subr.el (remq): Don't allocate if it's not needed.
20187 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20188 (keymap--merge-bindings): New functions.
20189 (keymap-canonicalize): Use them to refine the canonicalization.
20190 * minibuffer.el (minibuffer-local-completion-map)
20191 (minibuffer-local-must-match-map): Move initialization from C.
20192 (minibuffer-local-filename-completion-map): Move initialization from C;
20193 don't inherit from anything here.
20194 (minibuffer-local-filename-must-match-map): Make obsolete.
20195 (completing-read-default): Use make-composed-keymap to combine
20196 minibuffer-local-filename-completion-map with either
20197 minibuffer-local-must-match-map or
20198 minibuffer-local-filename-completion-map.
20200 2011-07-01 Glenn Morris <rgm@gnu.org>
20202 * type-break.el (type-break-time-sum): Use dolist.
20204 * textmodes/flyspell.el (flyspell-word-search-backward):
20205 Replace CL function.
20207 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20209 * mouse.el (mouse--strip-first-event): New function.
20210 (function-key-map): Use it to map fringe clicks to normal clicks
20213 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20214 (vc-bzr-revision-completion-table): Add support for annotate and date.
20216 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20217 inherit from parent.
20219 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20221 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20222 (dired-show-file-type): Doc fixup (bug#8818).
20224 * dired.el (dired-mode): Fix up the doc string as suggested by
20225 Drew Adams (bug#8817).
20227 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20228 cookie, since the manual says that it should be possible to add
20229 this function to `find-file-hook' (bug#8709).
20231 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20233 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20234 here. Noted Ted Zlatanov as the maintainer.
20235 (cfengine-common-settings, cfengine-common-syntax): New functions
20236 to set up common things between `cfengine-mode' and
20238 (cfengine3-mode): New mode.
20239 (cfengine3-defuns cfengine3-defuns-regex
20240 (cfengine3-class-selector-regex cfengine3-category-regex)
20241 (cfengine3-vartypes cfengine3-font-lock-keywords)
20242 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20243 (cfengine3-indent-line): Add from cfengine3.el.
20245 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20247 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20249 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20251 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20253 * window.el (same-window-buffer-names, same-window-regexps)
20254 (same-window-p, special-display-frame-alist)
20255 (special-display-popup-frame, special-display-function)
20256 (special-display-buffer-names, special-display-regexps)
20257 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20258 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20259 (split-window-preferred-function, split-height-threshold)
20260 (split-width-threshold, even-window-heights)
20261 (display-buffer-mark-dedicated, window-splittable-p)
20262 (split-window-sensibly, window-safely-shrinkable-p):
20264 (display-buffer): Don't spread args with function specifier
20265 because special-display-popup-frame won't like it.
20267 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20269 Time-stamp simplifications and fixes.
20270 These improve accuracy slightly, and future-proof the code
20271 against some potential changes to current-time format.
20273 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20274 by using time-since and float-time.
20276 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20277 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20278 + NNN microseconds".
20280 * type-break.el (type-break-time-sum): Rewrite using time-add.
20282 * play/hanoi.el (hanoi-current-time-float): Remove.
20283 All uses replaced by float-time.
20285 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20286 This yields a more-accurate answer.
20287 (rng-time-to-float): Remove; no longer needed.
20289 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20291 * calendar/timeclock.el (timeclock-seconds-to-time):
20292 Defalias to seconds-to-time, since they're the same thing.
20294 * emacs-lisp/elp.el (elp-elapsed-time):
20295 * emacs-lisp/benchmark.el (benchmark-elapse):
20296 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20298 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20300 * window.el (bury-buffer): Don't iconify the only frame.
20301 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20302 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20304 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20306 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20307 Add mouse-yank-primary.
20309 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20311 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20313 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20315 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20316 (find-library-name): Use it to find relative load names when provided
20317 absolute file name (bug#8803).
20319 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20321 * textmodes/flyspell.el (flyspell-word): Consider words that
20322 differ only in case as potential doublons (bug#5687).
20324 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20325 Remove two rather uninteresting debugging-like messages to make
20326 debbugs.el more silent.
20328 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20329 a password-like phrase.
20331 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20333 * progmodes/cc-guess.el: New file.
20335 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20337 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20338 derived from `c-basic-common-init'.
20340 * progmodes/cc-mode.el (top-level): Require cc-guess.
20341 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20343 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20345 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20347 2011-06-30 Alan Mackenzie <acm@muc.de>
20349 * progmodes/cc-engine.el (c-guess-continued-construct):
20350 Correct the handling of template-args-cont, particularly for when font
20351 lock is disabled. Name this case as "CASE G".
20353 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20355 * allout.el (allout-yank-processing): Fix injection of extra space
20356 between bullet and non-whitespace character in first topic when
20357 pasting, ensuring that the actual spacing in the pasted topic
20358 following the bullet char is preserved. This extra space was
20359 causing pasted encrypted topics to get a decrypted status even
20360 when the content was actually still encrypted. Now the decryption
20361 status from before the paste is preserved.
20363 (allout-flag-region): Set all allout overlays so they evaporate
20364 when reduced to zero length (evanescent), to prevent overlay
20367 2011-06-30 Glenn Morris <rgm@gnu.org>
20369 * w32-fns.el (w32-charset-info-alist): Declare.
20371 * find-dired.el (find-grep-options): Simplify.
20373 * term/ns-win.el (ns-set-resource): Declare.
20375 * ses.el (row, col): Declare dynamic variables honestly.
20377 * textmodes/reftex-parse.el (index-tags): Declare.
20379 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20381 * cus-edit.el (customize-push-and-save): New function.
20383 * files.el (hack-local-variables-confirm): Use it.
20385 * custom.el (load-theme): New arg NO-CONFIRM.
20386 Use customize-push-and-save (Bug#8720).
20387 (custom-enabled-themes): Doc fix.
20389 * cus-theme.el (customize-create-theme)
20390 (custom-theme-merge-theme): Callers to load-theme changed.
20392 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20394 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20395 short URLs have at least one dot in them (bug #7614).
20397 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20398 nil, because using a pty is apparently too slow (bug #895).
20400 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20402 * mail/sendmail.el (sendmail-query-once): New function.
20403 (sendmail-query-once-function): New variable.
20405 2011-06-29 Glenn Morris <rgm@gnu.org>
20407 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20409 * ses.el (top-level): Require cl when compiling.
20410 (ses-set-localvars): Fix error statement.
20411 Call it at compile time to silence a storm of warnings.
20413 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20415 * window.el (normalize-live-buffer): Rename to
20416 window-normalize-buffer.
20417 (normalize-live-frame): Rename to window-normalize-frame.
20418 (normalize-any-window): Rename to window-normalize-any-window.
20419 (normalize-live-window): Rename to window-normalize-live-window.
20420 (make-window-atom): Rename to window-make-atom.
20421 (window-resize-reset): Rename to window--resize-reset.
20422 (window-resize-reset-1): Rename to window--resize-reset-1.
20423 (resize-mini-window): Rename to window--resize-mini-window.
20424 (resize-subwindows-skip-p): Rename to
20425 window--resize-subwindows-skip-p.
20426 (resize-subwindows-normal): Rename to
20427 window--resize-subwindows-normal.
20428 (resize-subwindows): Rename to window--resize-subwindows.
20429 (resize-other-windows): Rename to window--resize-siblings.
20430 (resize-this-window): Rename to window--resize-this-window.
20431 (resize-root-window): Rename to window--resize-root-window.
20432 (resize-root-window-vertically): Rename to
20433 window--resize-root-window-vertically.
20434 (normalize-buffer-to-display): Rename to
20435 window-normalize-buffer-to-display.
20436 (normalize-buffer-to-switch-to): Rename to
20437 window-normalize-buffer-to-switch-to.
20438 Correspondingly update all callers of the functions listed
20440 (display-buffer-alist, display-buffer-normalize-arguments)
20441 (display-buffer-normalize-options, display-buffer)
20442 (display-buffer-alist-set): Use "function" instead of
20445 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20447 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20448 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20449 debbugs.gnu.org. Mention acknowledgment email.
20451 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20453 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20454 buffer multibyteness, since it shouldn't matter.
20456 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20458 * window.el (display-buffer-in-side-window): Handle dedicated
20459 windows as in display-buffer-reuse-window.
20460 (display-buffer-normalize-alist): Use value of override
20462 (display-buffer-normalize-specifiers): Use value of
20463 other-window-means-other-frame specifier.
20464 (display-buffer-alist): Rewrite some texts in widgets.
20465 (display-buffer): Spread arguments when calling function
20466 specified by fun-with-args.
20468 2011-06-28 Deniz Dogan <deniz@dogan.se>
20470 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20473 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20474 selectors (Bug#5732).
20475 (css-proprietary-nmstart-re): Use `regexp-opt'.
20477 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20479 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20480 (eshell-ls-date-format): New defcustom.
20481 (eshell-ls-file): Use it.
20483 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20485 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20487 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20489 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20490 (ange-ftp-make-tmp-name): New arg.
20491 (ange-ftp-file-local-copy): Use it.
20493 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20495 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20496 no-conversion (Bug#8870).
20498 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20500 * window.el (window-right, window-left, window-child)
20501 (window-child-count, window-last-child)
20502 (window-iso-combination-p, walk-window-tree-1)
20503 (window-atom-check-1, window-tree-1, delete-window)
20504 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20505 new naming conventions - window-vchild, window-hchild,
20506 window-next and window-prev are now called window-top-child,
20507 window-left-child, window-next-sibling and window-prev-sibling
20509 (resize-window-reset): Rename to window-resize-reset.
20510 (resize-window-reset-1): Rename to window-resize-reset-1.
20511 (resize-window): Rename to window-resize.
20512 (window-min-height, window-min-width)
20513 (resize-mini-window, resize-this-window, resize-root-window)
20514 (resize-root-window-vertically, adjust-window-trailing-edge)
20515 (enlarge-window, shrink-window, maximize-window)
20516 (minimize-window, delete-window, quit-restore-window)
20517 (split-window, balance-windows, balance-windows-area-adjust)
20518 (balance-windows-area, window-state-put-2)
20519 (display-buffer-even-window-sizes, display-buffer-set-height)
20520 (display-buffer-set-width, set-window-text-height)
20521 (fit-window-to-buffer): Rename all "resize-window" prefixed
20522 calls to use the "window-resize" prefix convention.
20523 (display-buffer-alist): Fix symbol for label specifier.
20524 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20525 corresponding specifier.
20526 Reported by Juanma Barranquero <lekktu@gmail.com>.
20528 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20530 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20532 (ses-call-printer): Does not pass an empty string to formatter when the
20533 cell is empty to keep from barking printer Calc math-format-value.
20535 2011-06-27 Richard Stallman <rms@gnu.org>
20537 * battery.el (battery-mode-line-limit): New variable.
20538 (battery-update): Handle it.
20540 * mail/rmailmm.el (rmail-mime-process-multipart):
20541 Handle truncated messages.
20543 2011-06-27 Glenn Morris <rgm@gnu.org>
20545 * progmodes/flymake.el (flymake-err-line-patterns):
20546 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20548 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20550 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20551 (ses--clean-!, ses--clean-_): New functions.
20552 (ses-range): Add configurability of readout order, and conversion
20555 * ses.el (ses-repair-cell-reference-all): New function.
20556 (ses-cell-symbol): Set macro as safe, so that it can be used in
20559 * ses.el: Update cycle detection algorithm.
20560 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20561 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20562 (ses-set-localvars): New function.
20563 (ses-make-cell): Add property-list as a cell element.
20564 (ses-cell-property-get-fun, ses-cell-property-get)
20565 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20566 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20568 (ses-cell-property-set, ses-cell-property-pop)
20569 (ses-cell-property-get-handle): New macro.
20570 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20571 New aliases, used for code readability.
20572 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20574 (ses-self-reference-early-detection): New defcustom.
20575 (ses-formula-references): Robustify against self-referring cells.
20576 (ses-mode): Use ses-set-localvars.
20577 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20578 before lauching the update processing.
20579 (ses-initialize-Dijkstra-attempt): New function.
20580 (ses-recalculate-cell): Update for cycle detection based on
20581 Dijkstra algorithm.
20583 * ses.el: Fix commenting and indenting convention.
20585 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20587 * bs.el (bs-cycle-next): Complete last change.
20589 2011-06-27 Drew Adams <drew.adams@oracle.com>
20591 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20593 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20595 * net/network-stream.el (network-stream-open-starttls):
20596 Don't re-get capabilities unless we've reestablished connection.
20597 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20599 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20600 to binary to possibly avoid line encoding issues on Windows (among
20603 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20605 * net/network-stream.el (open-network-stream): Return an :error
20606 saying what the problem was, if possible.
20608 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20611 * net/network-stream.el (network-stream-open-starttls): If we
20612 wanted to use STARTTLS, and the server offered it, but we weren't
20613 able to because we had no STARTTLS support, then close the connection.
20614 (open-network-stream): Return an :error element, if present.
20616 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20618 * hl-line.el (hl-line-sticky-flag): Doc fix.
20619 (global-hl-line-sticky-flag): New option (Bug#8323).
20620 (global-hl-line-highlight): Obey it.
20622 * vc/vc.el (vc-revert-show-diff): Default to t.
20624 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20626 * allout-widgets.el (allout-widgets-post-command-business):
20627 Stop decorating intermediate isearch matches. They're not being
20628 undecorated when an isearch is continued past, and isearch
20629 automatically collapses them. This leads to "widget leaks", where
20630 decorated items accumulate in collapsed areas. Lines with lots of
20631 hidden widgets can slow down cursor travel, substantially.
20632 Too much complicated machinery would be needed to ensure undecoration,
20633 so we're doing without this nicety.
20635 (allout-widgets-tally-string): Don't try to do a hash-table-count
20636 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20637 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20638 *Messages* when allout-widgets-maintain-tally is t.
20640 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20642 * window.el (display-buffer-normalize-argument): Rename to
20643 display-buffer-normalize-arguments. Handle special meaning of
20644 LABEL argument. Respect special-display-function when popping up
20645 a new frame. Fix code searching for a window showing the buffer
20647 (display-buffer-normalize-specifiers):
20648 Call display-buffer-normalize-arguments.
20649 (display-buffer-in-window): Don't undedicate the window if its
20650 buffer remains the same.
20651 Reported by Drew Adams <drew.adams@oracle.com>.
20652 (display-buffer-alist): Add choice for same-window macro
20654 (display-buffer): Mention special meaning of LABEL argument in
20655 doc-string. Fix quoting. Don't pop up a new frame even as
20658 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20660 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20661 avoid deleting the current window in some cases (bug#8911).
20663 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20665 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20668 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20670 * net/network-stream.el (network-stream-open-starttls):
20671 Use built-in TLS support if `gnutls-available-p' is true.
20672 (network-stream-open-tls): Ditto.
20674 2011-06-26 Leo Liu <sdl.web@gmail.com>
20676 * register.el (registerv): New struct.
20677 (registerv-make): New function.
20678 (jump-to-register, describe-register-1, insert-register):
20679 Support the jump-func, print-func and insert-func slot of a registerv
20682 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20684 * vc/vc.el (vc-revert-show-diff): New defcustom.
20685 (vc-diff-internal): New arg specifying diff buffer.
20686 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20687 reuse an existing *vc-diff* buffer (Bug#8927).
20689 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20691 2011-06-26 Glenn Morris <rgm@gnu.org>
20693 * progmodes/f90.el (f90-critical-indent): New option.
20694 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20695 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20696 (f90-mode): Doc fix.
20697 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20698 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20699 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20700 (f90-match-end): Handle block, critical.
20702 2011-06-25 Glenn Morris <rgm@gnu.org>
20704 * calendar/diary-lib.el (diary-included-files): Doc fix.
20705 (diary-include-files): New function, extracted from
20706 diary-include-other-diary-files and diary-mark-included-diary-files.
20707 (diary-include-other-diary-files, diary-mark-included-diary-files):
20708 Just call diary-include-files.
20709 (diary-mark-entries): Reset diary-included-files on first call.
20711 * calendar/diary-lib.el (diary-mark-entries)
20712 (diary-mark-included-diary-files):
20713 Visit included diary-files in temp buffers.
20715 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20716 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20717 (f90-start-block-re, f90-imenu-generic-expression)
20718 (f90-looking-at-program-block-start, f90-no-block-limit):
20719 Add support for submodules.
20721 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20722 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20724 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20726 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20727 buffer-file-type before setting its value, to avoid disastrous
20728 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20730 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20732 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20734 * ses.el (ses-unload-function):
20735 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20737 * proced.el (proced-unload-function):
20738 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20740 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20742 * server.el (server-create-window-system-frame): Add parameters arg.
20743 (server-process-filter): Doc fix. Handle frame-parameters.
20745 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20747 Fix bug#8730, bug#8781.
20749 * loadhist.el (unload--set-major-mode): New function.
20750 (unload-feature): Use it.
20752 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20753 (python-unload-function): New function.
20755 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20757 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20759 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20761 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20762 the candidates list.
20764 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20766 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20768 2011-06-23 Richard Stallman <rms@gnu.org>
20770 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20771 (rmail-variables): Set next-error-move-function.
20772 (rmail-what-message): Take argument POS.
20773 (rmail-next-error-move): New function.
20775 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20777 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20778 messages for adjacent non-terminals.
20780 2011-06-23 Richard Stallman <rms@gnu.org>
20782 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20783 (rmail-show-message-1): Preserve buffer modified flag.
20784 (rmail-start-mail): Don't specify use of rmail-mail-return;
20785 that's done by mail-bury now.
20786 (rmail-mail-return): Handle arg NEWBUF.
20788 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20790 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20793 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20795 * window.el (get-lru-window, get-mru-window)
20796 (get-largest-window): Never return a minibuffer window.
20797 (display-buffer-pop-up-window): Fix a bug that could lead to
20798 reusing the minibuffer window.
20799 (display-buffer): Pass original specifier argument to
20800 display-buffer-function instead of the normalized one.
20801 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20803 2011-06-22 Leo Liu <sdl.web@gmail.com>
20805 * minibuffer.el (completing-read-function)
20806 (completing-read-default): Move from minibuf.c.
20808 2011-06-22 Richard Stallman <rms@gnu.org>
20810 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20811 to Rmail even if not started by a special Rmail command.
20813 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20814 Copy the buffer currently showing just one message.
20816 2011-06-22 Roland Winkler <winkler@gnu.org>
20818 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20819 (bibtex-clean-entry): First delete the old key so that a
20820 customized algorithm for generating the new key does not get
20821 confused by the old key.
20822 (bibtex-url): Obey regexp of first step.
20823 (bibtex-search-entries): Do not use add-to-list with local
20826 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20828 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20829 stored a user name, then query for the password first, instead of
20830 waiting for SMTP to give an error message and the trying again.
20832 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20834 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20835 BUFFER in call-process.
20837 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20839 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20841 (smtpmail-try-auth-methods): Require user name and password from
20844 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20846 * window.el (display-buffer-default-specifiers)
20847 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20848 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20849 (split-window): Normalize SIDE argument (Bug#8916).
20851 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20852 (special-display-frame-alist, special-display-popup-frame):
20853 Remove duplicate declarations. These are now in window.el.
20855 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20857 * mail/smtpmail.el (smtpmail-via-smtp):
20858 Set :use-starttls-if-possible so that we always use STARTTLS if the
20859 server supports it. SMTP servers that support STARTTLS commonly
20862 * net/network-stream.el (network-stream-open-starttls): Support
20863 upgrading to STARTTLS always, even if we don't have built-in support.
20864 (open-network-stream): Add the :always-query-capabilities keyword.
20866 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20867 upgrades with `open-network-stream', and rely solely on
20868 auth-source for all credentials. Big changes throughout the file,
20870 (smtpmail-auth-credentials): Remove.
20871 (smtpmail-starttls-credentials): Remove.
20872 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20875 * net/network-stream.el (network-stream-open-starttls):
20876 Provide support for client certificates both for external and built-in
20878 (auth-source): Require.
20879 (open-network-stream): Document the :client-certificate keyword.
20880 (network-stream-certificate): Change cert-cert to cert and
20883 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20885 * net/tramp-cache.el (top): Don't load the persistency file when
20886 "emacs -Q" has been called.
20888 2011-06-21 Tim Harper <timcharper@gmail.com>
20890 * term/ns-win.el (ns-initialize-window-system):
20891 Set application-specific `ApplePressAndHoldEnabled' system
20892 resource to NO as it is not yet supported by the NS port.
20894 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20896 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20897 (list-dynamic-libraries): ...not here.
20899 2011-06-21 Leo Liu <sdl.web@gmail.com>
20901 * subr.el (sha1): Implement sha1 using secure-hash.
20903 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20905 * window.el (display-buffer-alist): In default value do not
20906 enforce searching a window on any but the selected frame.
20907 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20908 (display-buffer-select-window): Remove function.
20909 (display-buffer-in-window): When a window on another frame gets
20910 reused, do not select it any more but just raise its frame if
20911 necessary (Bug#8851) and (Bug#8856).
20912 (display-buffer-normalize-options): Handle pop-up-frames related
20913 options more faithfully.
20914 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20915 window if it is on another frame.
20916 (display-buffer-alist, display-buffer-default-specifiers):
20917 Don't make new frame unsplittable by default.
20918 (display-buffer-normalize-argument): Fix doc-string typo and use
20919 'same-frame-other-window instead of 'other-window when associating
20920 with display-buffer-macro-specifiers.
20922 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20924 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20926 (5x5-mode-map, 5x5-mode-menu): Bind them.
20927 (5x5-draw-grid): Tweak the solver's rendering.
20929 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20931 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20932 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20934 2011-06-21 Drew Adams <drew.adams@oracle.com>
20936 * menu-bar.el: Use function variable instead of switch-to-buffer.
20937 (menu-bar-select-buffer-function): New variable.
20938 (menu-bar-update-buffers): Use it (bug#8876).
20940 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20942 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20945 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20947 * x-dnd.el (x-dnd-version-from-flags)
20948 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20949 and long as number (Bug#8899).
20950 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20952 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20954 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20955 (completion-try-completion, completion-all-completions): Compute the
20956 metadata argument if it's missing; make it optional (bug#8795).
20958 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20959 (widget-complete): Use new :completion-function property.
20960 (widget-completions-at-point): New function.
20961 (default): Use :completion-function instead of :complete.
20962 (widget-default-completions): Rename from widget-default-complete;
20964 (widget-string-complete, widget-file-complete, widget-color-complete):
20966 (file, symbol, function, variable, coding-system, color):
20967 * international/mule-cmds.el (default-input-method, charset)
20968 (language-info-custom-alist):
20969 * cus-edit.el (face): Use new property :completions.
20971 * progmodes/pascal.el (pascal-completions-at-point): New function.
20972 (pascal-mode): Use it.
20973 (pascal-mode-map): Use completion-at-point.
20974 (pascal-toggle-completions): Make obsolete.
20975 (pascal-complete-word, pascal-show-completions):
20976 * progmodes/octave-mod.el (octave-complete-symbol):
20977 Redefine as obsolete alias.
20978 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20979 Signal absence of completion info for old Octave,
20980 (inferior-octave-complete): Redefine as obsolete alias.
20981 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20982 (meta-completions-at-point): Rename from meta-complete-symbol and
20983 adapt it for use on completion-at-point-functions.
20984 (meta-common-mode): Use it.
20985 (meta-looking-at-backward, meta-match-buffer): Remove.
20986 (meta-complete-symbol): Redefine as obsolete alias.
20987 (meta-common-mode-map): Use completion-at-point.
20988 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20989 (makefile-mode-map): Use completion-at-point.
20990 (makefile-completions-at-point): Rename from makefile-complete and
20991 adapt it for use on completion-at-point-functions.
20992 (makefile-mode): Use it.
20993 (makefile-complete): Redefine as obsolete alias.
20995 2011-06-20 Deniz Dogan <deniz@dogan.se>
20997 * net/rcirc.el: Delete trailing whitespaces once and for all.
20999 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21001 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21003 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21005 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21007 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21009 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21011 * window.el (display-buffer-other-window-means-other-frame):
21012 Call display-buffer-normalize-alist.
21013 (display-buffer-normalize-specifiers-1): Rename to
21014 display-buffer-normalize-argument. New argument other-frame.
21016 (display-buffer-normalize-specifiers-2): Rename to
21017 display-buffer-normalize-options.
21018 (display-buffer-normalize-alist-1): New function.
21019 (display-buffer-normalize-specifiers-3): Rename to
21020 display-buffer-normalize-alist.
21021 Call display-buffer-normalize-alist-1.
21022 (display-buffer-normalize-options-inhibit): New variable.
21023 (display-buffer-normalize-specifiers): Rewrite calling
21024 display-buffer-normalize-alist,
21025 display-buffer-normalize-argument, and
21026 display-buffer-normalize-options. Don't call the latter if
21027 display-buffer-normalize-options-inhibit is non-nil.
21028 (frame-auto-delete): New option.
21029 (window-deletable-p): Use frame-auto-delete.
21030 (window-list-no-nils, window-state-ignored-parameters)
21031 (window-state-get-1, window-state-get, window-state-put-list)
21032 (window-state-put-1, window-state-put-2, window-state-put):
21034 (display-buffer-normalize-options): Move special-display-p group
21035 after pop-up-frame group (Bug#8851) and (Bug#8856).
21037 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21039 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21041 (rx-submatch-n): New function.
21044 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21047 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21049 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21051 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21052 anytime existing face settings are present (Bug#8889).
21054 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21055 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21056 Remove unused argument.
21058 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21060 * window.el (display-buffer-default-specifiers):
21061 Remove pop-up-frame. Add pop-up-window-min-height,
21062 pop-up-window-min-width, and another reuse-window specifier
21063 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21064 (display-buffer-normalize-specifiers-2):
21065 Handle split-height-threshold and split-width-threshold also when
21066 pop-up-windows is unset. Add a reuse-window specifier for the
21067 case popping up a new window fails.
21068 (special-display-popup-frame): Remove double quoting.
21069 (display-buffer-normalize-specifiers-1): Fix thinko.
21071 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21073 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21074 according to comint-completion-addsuffix.
21076 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21077 (pcomplete-suffix-list): Mark as obsolete.
21078 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21079 pcomplete-seen in the closure.
21080 (pcomplete-comint-setup): Setup completion-at-point as well.
21081 (pcomplete--entries): New function.
21082 (pcomplete--env-regexp): New var.
21083 (pcomplete-entries): Rewrite to work with partial-completion and
21084 without relying on pcomplete-suffix-list.
21085 (pcomplete-pare-list): Remove, unused.
21087 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21089 * window.el (display-buffer-alist): Set pop-up-window-min-height
21090 and pop-up-window-min-width in default value. Reported by
21091 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21092 other-window-means-other-frame.
21093 (display-buffer-macro-specifiers): Comment out entry for
21094 other-window specifier.
21095 (display-buffer-other-window-means-other-frame): New function.
21096 (display-buffer-normalize-specifiers-1): New arguments
21097 buffer-name and label. Treat other-window case specially.
21098 (display-buffer-normalize-specifiers-2): Treat other-window case
21100 (display-buffer-normalize-specifiers-3): New function.
21101 (display-buffer-normalize-specifiers):
21102 Call display-buffer-normalize-specifiers-3.
21104 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21106 * window.el (same-window-p): Fix two typos introduced when
21107 adding with-no-warnings.
21108 (display-buffer-normalize-specifiers-1): Don't check
21109 pop-up-frames for 'unset initialization.
21110 (display-buffer-normalize-specifiers-2): Major rewrite using
21111 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21112 (pop-up-frames, display-buffer-reuse-frames)
21113 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21114 Suggested by David Engster <deng@randomsample.de>.
21115 (even-window-heights): Initialize to 'unset.
21116 (display-buffer-alist-set): Handle new 'unset initializations.
21117 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21120 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21122 * window.el (display-buffer-normalize-specifiers-1):
21123 Respect current value of pop-up-frames for most reasonable values of
21124 second argument of display-buffer (Bug#8865).
21125 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21126 (switch-to-buffer-other-window-same-frame)
21127 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21129 (display-buffer): Don't check noninteractive when calling
21130 display-buffer-pop-up-frame.
21131 (display-buffer-pop-up-frame): Never pop up a frame in
21132 noninteractive mode (Bug#8857).
21133 (enlarge-window, shrink-window): Don't report an error when the
21134 window can't be resized as requested (Bug#8862).
21136 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21138 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21140 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21142 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21144 2011-06-15 Alan Mackenzie <acm@muc.de>
21146 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21147 for declarators, disable knr checking to speed up for normal files.
21148 2: Refactor, replacing a sequence of nested if forms by a cond form.
21150 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21152 * net/network-stream.el (open-network-stream): Add the keyword
21153 :always-query-capabilities for the case where you want to force a
21154 `plain' network connection, but the protocol still requires the
21155 capabilitiy command (i.e., SMTP and EHLO).
21157 * subr.el (process-live-p): Rename from `process-alive-p' for
21158 consistency with other `-live-p' functions.
21160 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21162 * window.el (same-window-buffer-names, same-window-regexps)
21163 (special-display-frame-alist, special-display-popup-frame)
21164 (special-display-function, special-display-buffer-names)
21165 (special-display-regexps, pop-up-frame-alist)
21166 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21167 (pop-up-windows, split-window-preferred-function)
21168 (split-height-threshold, split-width-threshold, even-window-heights)
21169 (display-buffer-mark-dedicated): Don't encourage the use of
21170 display-buffer-alist from Elisp code.
21172 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21174 * progmodes/python.el (python-mode): Derive from prog-mode.
21175 * progmodes/ps-mode.el (ps-mode):
21176 * progmodes/mixal-mode.el (mixal-mode):
21177 * progmodes/cfengine.el (cfengine-mode):
21178 * progmodes/ld-script.el (ld-script-mode): Likewise.
21180 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21182 * window.el (display-buffer-alist): Trim default value to avoid
21183 popping up a new frame (Bug#8857) or reusing an arbitrary window
21185 (display-buffer): Do not fall back on popping up a new frame in
21186 batch mode (Bug#8857).
21188 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21190 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21191 (custom-theme-summary): New function.
21192 (customize-themes): Use it.
21194 2011-06-13 Glenn Morris <rgm@gnu.org>
21196 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21198 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21200 * help.el (help-window): Remove variable.
21201 (help-window-point-marker, temp-buffer-max-height)
21202 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21203 (help-print-return-message): Don't set help-window.
21204 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21205 (help-window-setup-finish): Remove.
21206 (help-window-display-message, help-window-setup)
21207 (with-help-window): Major rewrite based on new
21208 display-buffer-window variable.
21210 * help-mode.el (help-mode-finish): Remove help-window related
21213 * view.el (view-exits-all-viewing-windows): Remove reference to
21214 view-return-to-alist in doc-string.
21215 (view-return-to-alist): Make obsolete.
21216 (view-buffer): Call pop-to-buffer-same-window and remove
21218 (view-buffer-other-window): Call pop-to-buffer-other-window and
21219 simplify code. Ignore second argument.
21220 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21221 simplify code. Ignore second argument.
21222 (view-return-to-alist-update): Make obsolete.
21223 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21224 Rewrite using quit-restore window parameters.
21225 (view-mode-exit): Rename second argument to EXIT-ONLY.
21226 Rewrite using quit-restore-window.
21227 (View-exit, View-exit-and-edit, View-leave, View-quit)
21228 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21229 appropriate arguments.
21230 (view-end-message): Use quit-restore window parameter.
21232 * window.el (display-buffer-function): Rewrite doc-string.
21233 (display-buffer-window, display-buffer-alist): New variables.
21234 (display-buffer-split-specifiers)
21235 (display-buffer-side-specifiers)
21236 (display-buffer-macro-specifiers): New constants.
21237 (display-buffer-even-window-sizes, display-buffer-set-height)
21238 (display-buffer-set-width, display-buffer-select-window)
21239 (display-buffer-in-window, display-buffer-reuse-window)
21240 (display-buffer-split-window-1, display-buffer-split-window)
21241 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21242 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21243 (display-buffer-in-side-window, normalize-buffer-to-display)
21244 (display-buffer-normalize-specifiers-1)
21245 (display-buffer-normalize-specifiers-2)
21246 (display-buffer-normalize-specifiers, display-buffer-frame):
21248 (display-buffer): Major rewrite.
21249 (display-buffer-other-window, display-buffer-other-frame)
21250 (pop-to-buffer, switch-to-buffer-other-window)
21251 (switch-to-buffer-other-frame): Rewrite.
21252 (display-buffer-same-window, display-buffer-same-frame)
21253 (display-buffer-same-frame-other-window)
21254 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21255 (pop-to-buffer-other-window)
21256 (pop-to-buffer-same-frame-other-window)
21257 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21258 (switch-to-buffer-other-window-same-frame): New functions.
21259 (same-window-p, special-display-p): Rewrite disabling warnings.
21261 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21262 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21264 (same-window-buffer-names, same-window-regexps)
21265 (special-display-frame-alist, special-display-popup-frame)
21266 (special-display-function, special-display-buffer-names)
21267 (special-display-regexps, pop-up-frame-alist)
21268 (pop-up-frame-function, split-window-preferred-function)
21269 (split-height-threshold, split-width-threshold)
21270 (even-window-heights): Make obsolete.
21272 2011-06-12 Glenn Morris <rgm@gnu.org>
21274 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21275 Misc simplifications.
21277 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21279 * window.el (window-safely-shrinkable-p): Restore function which
21280 was inadvertently removed in change from 2011-06-11. Declare as
21283 * calendar/calendar.el (calendar-generate-window):
21284 Use window-iso-combined-p instead of combination of one-window-p and
21285 window-safely-shrinkable-p.
21287 2011-06-12 Glenn Morris <rgm@gnu.org>
21289 * progmodes/fortran.el (fortran-mode-syntax-table):
21290 * progmodes/f90.el (f90-mode-syntax-table):
21291 Set % to punctuation. (Bug#8820)
21292 (f90-find-tag-default): Remove, no longer needed.
21294 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21296 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21298 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21300 * image.el (image-animated-p): Return animation delay in seconds.
21301 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21302 (image-animate-timeout): Remove DELAY argument. Don't assume
21303 every subimage has the same delay; get it from image-animated-p.
21304 (image-animate): Caller changed.
21306 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21308 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21309 to ignored backtrace functions.
21311 2011-06-11 Glenn Morris <rgm@gnu.org>
21313 * calendar/appt.el (appt-disp-window-function): Doc fix.
21314 (appt-check): Handle overlapping appointments. (Bug#8337)
21316 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21318 * window.el (window-tree-1, window-tree): New functions, moving
21319 the latter to window.el.
21320 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21321 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21322 (bw-refresh-edges): Remove.
21323 (balance-windows-1, balance-windows-2): New functions.
21324 (balance-windows): Rewrite in terms of window tree functions,
21325 balance-windows-1 and balance-windows-2.
21326 (bw-adjust-window): Remove.
21327 (balance-windows-area-adjust): New function with functionality of
21328 bw-adjust-window but using resize-window.
21329 (set-window-text-height): Rewrite doc-string.
21330 Use normalize-live-window and resize-window.
21331 (enlarge-window-horizontally, shrink-window-horizontally):
21332 Rename argument to DELTA.
21333 (window-buffer-height): New function.
21334 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21335 Rewrite using new window resize routines.
21336 (kill-buffer-and-window, mouse-autoselect-window-select):
21337 Use ignore-errors instead of condition-case.
21338 (quit-window): Call delete-frame instead of delete-windows-on
21339 for the only buffer on frame.
21341 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21343 * loadup.el (top-level): Load window before files for the sake
21344 of replace-buffer-in-windows.
21346 * files.el (read-buffer-to-switch)
21347 (switch-to-buffer-other-window)
21348 (switch-to-buffer-other-frame, display-buffer-other-frame):
21351 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21352 (previous-buffer): Move to window.el.
21354 * bindings.el (unbury-buffer): Move to window.el.
21356 * window.el (delete-other-windows-vertically): Move after
21357 definition of delete-other-windows.
21358 (other-window, delete-windows-on, replace-buffer-in-windows):
21359 Move here from window.c.
21360 (record-window-buffer, unrecord-window-buffer)
21361 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21362 (switch-to-next-buffer): New functions.
21363 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21364 from simple.el. Call switch-to-next-buffer.
21365 (previous-buffer): Move here from simple.el.
21366 Call switch-to-prev-buffer.
21367 (bury-buffer): Move here from buffer.c. Switch to previous
21368 buffer when window cannot be deleted.
21369 (unbury-buffer): Move here from bindings.el.
21370 (ctl-x-map): Move binding for other-window from window.c to
21372 (read-buffer-to-switch, switch-to-buffer-other-window)
21373 (switch-to-buffer-other-frame): Move here from files.el.
21374 (normalize-buffer-to-switch-to): New functions.
21375 (switch-to-buffer): Move here from buffer.c.
21376 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21378 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21380 * window.el (window-min-height, window-min-width): Move here
21381 from window.c. Add defcustoms and rewrite doc-strings.
21382 (resize-mini-window, resize-window): New functions.
21383 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21384 Move here from window.c.
21385 (maximize-window, minimize-window): New functions.
21386 (delete-window, delete-other-windows, split-window): Move here
21388 (window-split-min-size): New function.
21389 (split-window-keep-point): Mention split-window-above-each-other
21390 instead of split-window-vertically.
21391 (split-window-above-each-other, split-window-vertically):
21392 Rename split-window-vertically to split-window-above-each-other
21393 and provide defalias for old definition.
21394 (split-window-side-by-side, split-window-horizontally):
21395 Rename split-window-horizontally to split-window-side-by-side
21396 and provide defalias for the old definition.
21397 (ctl-x-map): Move bindings for delete-window,
21398 delete-other-windows and enlarge-window here from window.c.
21399 Replace bindings for split-window-vertically and
21400 split-window-horizontally by bindings for
21401 split-window-above-each-other and split-window-side-by-side.
21403 * cus-start.el (all): Remove entries for window-min-height and
21404 window-min-width. Add entries for window-splits and
21407 2011-06-09 Glenn Morris <rgm@gnu.org>
21409 * calendar/appt.el (appt-mode-line): New function.
21410 (appt-check, appt-disp-window): Use it.
21412 * files.el (hack-one-local-variable-eval-safep):
21413 Allow minor-modes with explicit +/-1 arguments.
21415 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21417 * term/xterm.el (xterm): Add defgroup.
21418 (xterm-extra-capabilities): Add defcustom to supply known xterm
21419 capabilities, skip querying them, or query them (default).
21420 (terminal-init-xterm): Use it.
21421 (terminal-init-xterm-modify-other-keys): New function to set up
21422 modifyOtherKeys support to simplify `terminal-init-xterm'.
21424 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21426 * window.el (resize-window-reset, resize-window-reset-1)
21427 (resize-subwindows-skip-p, resize-subwindows-normal)
21428 (resize-subwindows, resize-other-windows, resize-this-window)
21429 (resize-root-window, resize-root-window-vertically)
21430 (window-deletable-p, window-or-subwindow-p)
21431 (frame-root-window-p): New functions.
21433 2011-06-09 Glenn Morris <rgm@gnu.org>
21435 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21436 (ange-ftp-get-files): Use it.
21438 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21440 * mail/sendmail.el (mail-recover-1, mail-recover):
21441 * files.el (recover-file, recover-session):
21442 Handle dired-listing-switches not being just a single short option.
21444 2011-06-09 Glenn Morris <rgm@gnu.org>
21446 * calendar/appt.el (appt-display-message, appt-disp-window):
21447 Handle lists of appointments.
21449 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21451 * window.el (one-window-p): Move down in code.
21452 Rewrite doc-string.
21453 (window-current-scroll-bars): Rewrite doc-string.
21454 Normalize live window argument.
21455 (walk-windows, get-window-with-predicate, count-windows):
21456 Rewrite doc-string. Use window-list-1.
21457 (window-in-direction-2, window-in-direction, get-mru-window):
21460 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21462 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21463 Doc fix (Bug#8713).
21465 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21467 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21469 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21471 * loadhist.el (unload-feature-special-hooks):
21472 Add `comint-output-filter-functions'.
21474 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21476 * calendar/appt.el (appt-check): Move some initializations into the let.
21478 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21480 * window.el (window-height): Defalias to window-total-height.
21481 (window-width): Defalias to window-body-width.
21483 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21485 * image-mode.el (image-toggle-animation): New command.
21486 (image-mode-map): Bind it to RET.
21487 (image-mode): Update message.
21488 (image-toggle-display-image): Avoid a spurious cache flush.
21489 (image-transform-rotation): Doc fix.
21490 (image-transform-properties): Return quickly in the normal case.
21491 (image-animate-loop): Rename from image-animate-max-time.
21493 * image.el (image-animate-max-time): Move to image-mode.el.
21494 (create-animated-image): Remove unnecessary function.
21495 (image-animate): Rename from image-animate-start. New arg.
21496 (image-animate-stop): Remove; just use image-animate-timer.
21497 (image-animate-timer): Use car-safe.
21498 (image-animate-timeout): Rename argument.
21500 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21502 * window.el (get-lru-window, get-largest-window): Move here from
21503 window.c. Rename first argument to ALL-FRAMES.
21504 Rephrase doc-strings.
21505 (get-buffer-window-list): Rewrite using window-list-1.
21506 Rephrase doc-string.
21507 (window-safe-min-height, window-safe-min-width): New constants.
21508 (window-size-ignore, window-min-size, window-min-size-1)
21509 (window-sizable, window-sizable-p, window-size-fixed-1)
21510 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21511 (window-max-delta-1, window-max-delta, window-resizable)
21512 (window-resizable-p, window-total-height, window-total-width)
21513 (window-body-width): New functions.
21514 (window-full-height-p, window-full-width-p): Rewrite using
21516 (window-body-height): Rewrite using window-body-size.
21518 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21520 * window.el (window-right, window-left, window-child)
21521 (window-child-count, window-last-child, window-any-p)
21522 (normalize-live-buffer, normalize-live-frame)
21523 (normalize-any-window, normalize-live-window)
21524 (window-iso-combination-p, window-iso-combined-p)
21525 (window-iso-combinations)
21526 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21527 (windows-with-parameter, window-with-parameter)
21528 (window-atom-root, make-window-atom, window-atom-check-1)
21529 (window-atom-check, window-side-check, window-check):
21531 (ignore-window-parameters, window-sides, window-sides-vertical)
21532 (window-sides-slots): New variables.
21533 (window-size-fixed): Move down in code. Minor doc-string fix.
21535 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21537 * comint.el (comint-dynamic-complete-as-filename)
21538 (comint-dynamic-complete-filename): Correctly call
21539 completion-in-region.
21541 2011-06-05 Deniz Dogan <deniz@dogan.se>
21543 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21546 2011-06-05 Deniz Dogan <deniz@dogan.se>
21548 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21549 (rcirc): Use it to prompt for encryption.
21551 2011-06-05 Roland Winkler <winkler@gnu.org>
21553 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21554 (bibtex-search-entries): New command bound to C-c C-a.
21555 (bibtex-display-entries): New function.
21557 2011-06-05 Roland Winkler <winkler@gnu.org>
21559 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21560 (bibtex-insert-kill): After yanking insert newline if necessary.
21561 (bibtex-initialize): Call bibtex-string-files-init only once.
21562 (bibtex-mode): Do not call easy-menu-add.
21563 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21564 (bibtex-yank): Set arg properly if nil.
21566 2011-06-05 Roland Winkler <winkler@gnu.org>
21568 * textmodes/bibtex.el (bibtex-search-entry-globally):
21570 (bibtex-search-entry): Use it.
21572 2011-06-05 Roland Winkler <winkler@gnu.org>
21574 * textmodes/bibtex.el (bibtex-entry-format): New option
21576 (bibtex-format-entry, bibtex-reformat): Honor this option.
21577 (bibtex-parse-entry): Return fields in proper order.
21579 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21581 * doc-view.el (doc-view-remove-if): Move computation of result out
21582 of `dolist' to silence misleading lexical-binding warning.
21584 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21586 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21587 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21589 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21591 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21594 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21596 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21597 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21598 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21599 (tramp-parse-putty):
21600 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21601 (tramp-completion-function-alist-ssh)
21602 (tramp-completion-function-alist-telnet)
21603 (tramp-completion-function-alist-su)
21604 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21607 * net/tramp-ftp.el:
21609 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21610 load "tramp.el" `tramp-set-completion-function'.
21612 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21614 * shell.el: Require and use pcomplete.
21615 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21616 (shell-completion-vars): Set pcomplete-default-completion-function.
21618 2011-06-04 Deniz Dogan <deniz@dogan.se>
21620 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21623 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21625 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21627 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21629 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21630 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21631 * vc/log-view.el (log-view-beginning-of-defun):
21632 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21633 (smerge-refine-forward, smerge-refine-chopup-region):
21634 Silence warning for unused `dotimes' counter variables.
21636 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21638 * net/tramp.el (tramp-with-progress-reporter): Rename from
21639 with-progress-reporter. Use `declare'.
21640 * net/tramp-smb.el:
21642 * net/tramp-gvfs.el: Update all uses.
21644 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21646 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21647 buffer isn't killed before making it current.
21649 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21651 Silence various byte-compiler warnings.
21652 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21653 `access-type' and new obsolescence format.
21654 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21656 (byte-compile-check-variable): New `access-type' argument.
21657 Only warn if the access-type is obsolete.
21658 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21659 (byte-compile-variable-set): Adjust callers.
21660 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21661 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21662 setting it as obsolete.
21663 * simple.el (minibuffer-completing-symbol):
21664 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21665 access as obsolete.
21666 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21668 * international/quail.el (quail-mouse-choose-completion): Remove unused
21669 code referring to obsolete var.
21670 (quail-choose-completion-string): Remove.
21671 * server.el (server-clients-with, server-kill-buffer-query-function)
21672 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21673 * proced.el (proced-send-signal):
21674 * emacs-lisp/lisp.el (lisp-complete-symbol):
21675 Replace completion-annotate-function with completion-extra-properties.
21677 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21679 * simple.el (goto-line): Use read-number.
21680 (overriding-map-is-bound): Remove.
21681 (saved-overriding-map): Change default.
21682 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21683 Take the map as argument.
21684 (universal-argument, negative-argument, digit-argument): Use it.
21685 (restore-overriding-map): Adjust.
21686 (do-auto-fill): Use fill-forward-paragraph.
21687 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21689 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21690 (minibuffer-inactive-mode): New major mode.
21691 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21692 the *Messages* buffer" hack.
21693 (mouse-popup-menubar): Don't burp if the event is a normal key.
21695 Miscellaneous tweaks.
21696 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21697 lexical scoping as in subr.el's dolist and dotimes.
21698 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21699 Silence compiler warning.
21700 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21701 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21702 * international/ccl.el (ccl-compile): Trivial simplification.
21703 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21704 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21705 `printflag' argument.
21706 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21707 Purecopy the whole obsolescence data.
21709 2011-06-01 Leo Liu <sdl.web@gmail.com>
21711 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21712 improve doc-string as suggested by Marco Pessotto
21713 <melmothx@gmail.com>.
21714 (rcirc-print): Fix last change.
21716 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21718 * minibuffer.el (complete-with-action): Return nil for the metadata and
21719 boundaries of non-functional tables.
21720 (completion-table-dynamic): Return nil for the metadata.
21721 (completion-table-with-terminator): Add default case, using
21722 complete-with-action.
21723 (completion--metadata): New function.
21724 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21725 to try and avoid pathological performance problems.
21726 (completion--embedded-envvar-table): Return `category' metadata.
21728 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21730 * subr.el (process-alive-p): New tiny convenience function.
21732 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21734 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21735 content but also its previous major mode.
21737 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21739 * emacs-lisp/debug.el (debug): Restore the previous content of the
21740 *Backtrace* buffer when we exit with C-M-c.
21742 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21744 * minibuffer.el: Add metadata method to completion tables.
21745 (completion-category-overrides): New defcustom.
21746 (completion-metadata, completion--field-metadata)
21747 (completion-metadata-get, completion--styles)
21748 (completion--cycle-threshold): New functions.
21749 (completion-try-completion, completion-all-completions):
21750 Add `metadata' argument to choose completion-styles.
21751 (completion--do-completion): Use metadata to choose cycling.
21752 (completion-all-sorted-completions): Use metadata for sorting.
21753 Remove :completion-cycle-penalty which is not needed any more.
21754 (completion--try-word-completion): Add `metadata' argument.
21755 (minibuffer-completion-help): Check metadata for annotation function
21757 (completion-file-name-table): Return `category' metadata.
21758 (minibuffer-completing-file-name): Make obsolete.
21759 * simple.el (minibuffer-completing-symbol): Make obsolete.
21760 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21761 completion-try-completion.
21763 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21765 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21767 2011-05-30 Leo Liu <sdl.web@gmail.com>
21769 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21770 (rcirc-print): Decode all incoming messages (bug#8744).
21771 (rcirc-decode-coding-system): Allow value nil for automatic coding
21774 2011-06-01 Glenn Morris <rgm@gnu.org>
21776 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21778 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21780 * image.el (image-animate-max-time): Allow nil and t values.
21782 (create-animated-image): Doc fix.
21783 (image-animate-start): Remove second arg; just use
21784 image-animate-max-time.
21785 (image-animate-timeout): Doc fix. Args changed.
21787 * image-mode.el (image-toggle-display-image): Ensure that the
21788 image spec passed to the animate timer is the same object as in
21789 the buffer's display property (Bug#6981).
21790 (image-transform-properties): Doc fix.
21792 * image.el (image-animate-max-time): Default to nil.
21794 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21796 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21797 entire buffer list (Bug#8184).
21799 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21801 * image.el (imagemagick-types-inhibit)
21802 (imagemagick-register-types): Doc fix.
21804 2011-05-29 Deniz Dogan <deniz@dogan.se>
21806 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21809 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21811 * select.el: Don't perform clipboard-manager saving in hooks;
21812 leave the hooks empty.
21814 2011-05-28 Leo Liu <sdl.web@gmail.com>
21816 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21817 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21818 (occur-edit-mode): New major mode (Bug#8463).
21819 (occur-after-change-function): New function.
21820 (occur-engine): Give Occur tags a read-only property.
21822 2011-05-28 Kevin Ryde <user42@zip.com.au>
21824 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21826 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21828 * bindings.el (help-echo): Make the initial non-indicator dash
21829 empty on graphical terminals (Bug#7295).
21831 * files.el (auto-mode-alist): Move config rule after the
21832 in-stripping one (Bug#8547).
21834 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21836 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21837 setting (Bug#8740).
21839 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21841 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21842 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21845 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21847 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21849 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21851 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21852 (hs-hide-block-at-point, hs-find-block-beginning)
21853 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21856 2011-05-28 Glenn Morris <rgm@gnu.org>
21858 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21860 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21862 * help-fns.el (describe-function-1): If the function is a derived
21863 major mode, print the parent mode.
21865 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21866 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21868 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21870 * minibuffer.el (completion--capf-wrapper): Check applicability before
21871 returning non-nil for non-exclusive completion data.
21872 * progmodes/etags.el (tags-completion-at-point-function):
21873 * info-look.el (info-lookup-completions-at-point): Mark as
21875 (info-complete): Adjust accordingly.
21877 * info-look.el: Convert to lexical-binding and completion-at-point.
21878 (info-lookup-completions-at-point): New function.
21879 (info-complete): Use it and completion-in-region.
21881 2011-05-28 Drew Adams <drew.adams@oracle.com>
21883 * isearch.el: Let M-e start with point at the first mismatched char.
21884 (isearch-fail-pos): New function.
21885 (isearch-edit-string): Use it.
21887 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21889 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21891 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21893 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21894 traversal functions for avl-trees.
21895 (avl-tree--stack): New struct.
21896 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21897 (avl-tree-enter): Add optional `updatefun' arg.
21898 (avl-tree--do-enter): Add optional `updatefun' arg.
21899 Change return value.
21900 (avl-tree-delete): Add optional `test' and `nilflag' args.
21901 (avl-tree--do-delete): Add `test' and `nilflag' args.
21902 Change return value.
21903 (avl-tree-member): Add optional `nilflag'
21904 (avl-tree-member-p): New function.
21905 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21906 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21907 (avl-tree-stack-empty-p): New functions.
21909 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21910 avl-tree--del-balance1 and make it work both ways.
21911 (avl-tree--del-balance2): Remove.
21912 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21913 make it work both ways.
21914 (avl-tree--enter-balance2): Remove.
21915 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21917 (avl-tree--mapc, avl-tree-map): Add direction argument.
21919 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21921 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21923 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21925 * select.el: Support clipboard managers with built-in function
21926 x-clipboard-manager-save, via delete-frame-functions and
21928 (xselect-convert-to-targets): Add MULTIPLE target to list.
21929 (xselect-convert-to-save-targets): New function.
21931 2011-05-27 Kenichi Handa <handa@m17n.org>
21933 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21934 let-binding rfc2047-encode-encoded-words to nil.
21936 2011-05-27 Glenn Morris <rgm@gnu.org>
21938 * mail/emacsbug.el: Don't require url-util.
21940 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21942 * files.el (set-auto-mode):
21943 Also respect mode: entries at the end of the file. (Bug#8586)
21945 2011-05-26 Glenn Morris <rgm@gnu.org>
21947 * files.el (hack-local-variables-prop-line, hack-local-variables):
21948 Downcase mode names, as seems to be traditional.
21949 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21951 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21952 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21954 2011-05-25 Julien Danjou <julien@danjou.info>
21956 * textmodes/rst.el (rst-define-level-faces): Do not define face
21957 symbol if it is already defined.
21959 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21961 * play/5x5.el (5x5-new-game, 5x5-randomize):
21962 Reset 5x5-solver-output to nil when a new grid is cast.
21963 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21964 these debugging traces, as defmacro breaks the compiled code.
21966 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21968 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21970 2011-05-24 Leo Liu <sdl.web@gmail.com>
21972 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21973 (vc-bzr-sha1): Adapt.
21975 * sha1.el: Remove. Function `sha1' is now builtin.
21977 * bindings.el: Provide sha1 feature.
21979 2011-05-24 Kenichi Handa <handa@m17n.org>
21981 * mail/sendmail.el: Require `rfc2047'.
21982 (mail-insert-from-field): Do not perform RFC2047 encoding.
21983 (mail-encode-header): New function.
21984 (sendmail-send-it): Set buffer-file-coding-system of the work
21985 buffer to the return value of select-message-coding-system.
21986 Call mail-encode-header.
21988 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21990 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21992 * mail/supercite.el (sc-default-cite-frame):
21993 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21995 2011-05-24 Glenn Morris <rgm@gnu.org>
21997 * progmodes/python.el (brm-menu): Declare.
21999 * emulation/viper.el (viper-set-hooks): Declare.
22001 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22002 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22003 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22004 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22005 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22006 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22008 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22010 Add an :exit-function for completion-at-point.
22012 * minibuffer.el (completion--done): New fun.
22013 (completion--do-completion): Use it. New arg `expect-exact'.
22014 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22015 since completion--do-completion does it for us now.
22016 (minibuffer-force-complete): Use completion--done and
22017 completion--replace. Handle sole-completion case with more care.
22018 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22019 (completion-extra-properties): New var.
22020 (completion-annotate-function): Make obsolete.
22021 (minibuffer-completion-help): Adjust accordingly.
22022 Use completion-list-insert-choice-function.
22023 (completion-at-point, completion-help-at-point):
22024 Bind completion-extra-properties.
22025 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22026 * simple.el (completion-list-insert-choice-function): New var.
22027 (completion-setup-function): Preserve it.
22028 (choose-completion): Pay attention to it, shuffle the code a bit.
22029 (choose-completion-string): New arg `insert-function'.
22031 * textmodes/bibtex.el: Convert to lexical binding.
22032 (bibtex-mode-map): Use completion-at-point.
22033 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22034 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22035 (bibtex-complete): Define as obsolete alias.
22036 (bibtex-complete-internal): Remove.
22037 (bibtex-format-entry): Remove unused sub-group in regexp.
22038 * shell.el (shell--command-completion-data)
22039 (shell-environment-variable-completion):
22040 * pcomplete.el (pcomplete-completions-at-point):
22041 * comint.el (comint--complete-file-name-data): Use :exit-function
22042 instead of completion-table-with-terminator so it also works for
22045 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22047 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22049 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22052 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22054 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22056 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22057 customization variable and implement: If non-nil, auto-fill will
22058 be inhibited while on topic's header line.
22060 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22062 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22063 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22064 always have a solution in grid size = 5 cases.
22065 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22066 (5x5-solver-output, 5x5-log-buffer): New vars.
22067 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22068 Make these variables buffer local to achieve 5x5 multi-session-ness.
22069 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22070 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22071 (5x5-solve-suggest): New funs.
22072 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22073 randomize a grid so that we ensure that there is always a solution.
22074 (5x5-make-random-grid): Allow other movement than flipping.
22076 2011-05-23 Kevin Ryde <user42@zip.com.au>
22078 * emacs-lisp/advice.el (ad-read-advised-function):
22079 Use `function-called-at-point' as the default, if it has
22080 advice and passes PREDICATE.
22082 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22084 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22085 byte-compile-lambda if it's actually a lambda.
22087 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22088 Fix function quoting. Use backquote better.
22090 2011-05-22 Yuanle Song <sylecn@gmail.com>
22092 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22093 matching (Bug#8516).
22095 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22097 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22098 different face (Bug#8178).
22100 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22102 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22103 defface (Bug#8144).
22105 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22107 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22108 funcall as well (bug#8712). Warn when performing those conversions.
22109 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22111 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22113 2011-05-22 Glenn Morris <rgm@gnu.org>
22115 * files.el (hack-local-variables-prop-line): Small simplifications.
22116 (hack-local-variables, hack-local-variables-prop-line):
22117 If MODE-ONLY, return the mode, rather than just `t'.
22119 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22121 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22123 2011-05-21 Glenn Morris <rgm@gnu.org>
22125 * files.el (hack-local-variables-prop-line, hack-local-variables):
22126 If only interested in the mode, don't bother doing the other stuff.
22128 * image-mode.el (image-after-revert-hook):
22129 Redraw all frames on which the image is visible. (Bug#8567)
22131 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22133 * wid-edit.el (widget-checklist-match-inline):
22134 Fix 2011-04-19 change. (Bug#8649)
22136 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22138 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22139 Also allow singlespace after single-letter capitals followed by a dot.
22141 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22142 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22144 2011-05-20 Nix <nix@esperi.org.uk>
22146 * files.el (basic-save-buffer-2):
22147 Fix handling of break-hardlink-on-save with non-existent files.
22149 2011-05-19 Deniz Dogan <deniz@dogan.se>
22151 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22152 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22154 2011-05-19 Glenn Morris <rgm@gnu.org>
22156 * progmodes/f90.el (f90-type-def-re):
22157 Handle "type, bind(c)". (Bug#8691)
22159 * emacs-lisp/autoload.el (batch-update-autoloads):
22160 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22162 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22164 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22165 property for the correct connection in case of multihops.
22167 2011-05-18 Glenn Morris <rgm@gnu.org>
22169 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22170 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22172 Rationalize calendar handling of day and month abbrev-arrays.
22173 * calendar/calendar.el (calendar-customized-p): New function.
22174 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22175 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22177 (calendar-abbrev-length, calendar-day-abbrev-array)
22178 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22179 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22180 Elements may no longer be nil.
22181 (calendar-day-name, calendar-month-name):
22182 Update for changed nature of abbrev arrays.
22183 * calendar/diary-lib.el (diary-name-pattern):
22184 Update for changed nature of abbrev arrays.
22185 (diary-mark-entries-1): Update calendar-make-alist calls.
22186 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22187 * calendar/cal-html.el (cal-html-day-abbrev-array):
22188 Simply inherit from calendar-day-abbrev-array.
22190 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22192 * progmodes/grep.el (grep-mode): Disable default
22193 compilation-directory-matcher setting (bug#8684).
22195 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22197 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22198 instead of "head" and "tail". There were problems with SunOS 5.9,
22199 and it performs better.
22201 2011-05-17 Glenn Morris <rgm@gnu.org>
22203 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22205 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22206 Replace obsolete function.
22208 * shell.el (pcomplete-parse-arguments-function): Declare.
22210 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22211 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22212 (appt-check): Doc fixes.
22213 (appt-disp-window-function, appt-delete-window-function):
22214 Remove needless special case in custom :type.
22215 (appt-display-count): Default to 0, not nil.
22216 (appt-check): Reset appt-display-count to 0, not nil.
22218 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22220 * progmodes/python.el (python-font-lock-keywords):
22221 Add the Python 3.X keyword "nonlocal" (bug#8639).
22223 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22225 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22227 2011-05-16 Kevin Ryde <user42@zip.com.au>
22229 * info-look.el (makefile-automake-mode): New setups, looking in
22230 automake manual, then makefile-mode.
22231 (makefile-mode): Remove automake manual, have it just in
22232 makefile-automake-mode since there's various things different or
22233 not relevant to plain make.
22234 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22235 believe a hypothetical automake-mode would go to makefile-mode,
22236 not the other way around.
22238 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22240 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22241 hunk-end tags (Bug#8672).
22243 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22244 vc-annotate-show-diff-revision-at-line (Bug#8671).
22246 2011-05-14 Glenn Morris <rgm@gnu.org>
22248 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22249 in the middle of an existing one with multiple authors. (Bug#8645)
22250 (change-log-font-lock-keywords): Also handle multiple author lines
22251 with leading tabs. (Bug#8644)
22253 * calendar/appt.el (appt-check): Rename some local variables.
22254 Some simplification/reordering.
22256 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22257 (feedmail-sendmail-f-doesnt-sell-me-out)
22258 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22259 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22260 (feedmail-queue-runner-message-sender): Set :version.
22261 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22262 (bbdb-dwim-net-address, vm-mail): Declare.
22263 (feedmail-binmail-gnulinuxish-template):
22264 Rename from feedmail-binmail-linuxish-template.
22265 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22266 Use insert-buffer-substring.
22268 2011-05-14 Bill Carpenter <bill@carpenter.org>
22270 * mail/feedmail.el (feedmail-patch-level): Increase.
22271 (feedmail-debug): New custom group.
22272 (feedmail-confirm-outgoing-timeout)
22273 (feedmail-sendmail-f-doesnt-sell-me-out)
22274 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22275 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22276 (feedmail-sender-line, feedmail-from-line)
22277 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22278 (feedmail-spray-this-address)
22279 (feedmail-spray-address-fiddle-plex-list)
22280 (feedmail-queue-use-send-time-for-date)
22281 (feedmail-queue-use-send-time-for-message-id)
22282 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22283 (feedmail-buffer-eating-function):
22285 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22286 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22287 (feedmail-message-action-scroll-down): New functions.
22288 (feedmail-queue-directory, feedmail-queue-draft-directory):
22289 Use expand-file-name.
22290 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22291 Remove C-v help entry.
22292 (feedmail-queue-buffer-file-name): New variable.
22293 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22294 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22295 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22296 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22297 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22298 (feedmail-message-action-toggle-spray)
22299 (feedmail-run-the-queue-no-prompts)
22300 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22301 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22302 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22303 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22304 (feedmail-envelope-deducer, feedmail-fiddle-from)
22305 (feedmail-fiddle-sender, feedmail-default-date-generator)
22306 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22307 (feedmail-fiddle-spray-address)
22308 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22309 (feedmail-fiddle-list-of-fiddle-plexes)
22310 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22311 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22312 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22313 Change default. Doc fix.
22314 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22315 (feedmail-binmail-linuxish-template): New constant.
22316 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22317 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22318 (feedmail-send-it): Add debug call.
22319 Use feedmail-queue-buffer-file-name, and
22320 feedmail-send-it-immediately-wrapper.
22321 (feedmail-message-action-send): Add debug call.
22322 Use feedmail-send-it-immediately-wrapper.
22323 (feedmail-queue-express-to-queue): Add debug call.
22324 Run feedmail-queue-express-hook.
22325 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22326 (feedmail-message-action-help-blat):
22327 Rename from feedmail-queue-send-edit-prompt-help-first.
22328 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22329 Check line-endings. Handle errors better.
22330 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22331 Doc fix. Add debug call.
22332 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22333 Use feedmail-queue-send-edit-prompt-inner.
22334 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22335 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22336 from feedmail-queue-send-edit-prompt.
22337 (feedmail-queue-send-edit-prompt-help)
22338 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22339 (feedmail-tidy-up-slug): Add debug call.
22340 Respect feedmail-queue-slug-suspect-regexp.
22341 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22342 (feedmail-dump-message-to-queue): Add debug call.
22343 Expand queue-directory.
22344 (feedmail-dump-message-to-queue): Change message slightly.
22345 Use feedmail-say-chatter.
22346 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22347 (feedmail-send-it-immediately-wrapper): New function.
22348 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22349 Insert empty string rather than newline. Handle full-frame case.
22350 Use catch/throw. Use feedmail-say-chatter.
22351 (feedmail-fiddle-from): Try mail-host-address.
22352 (feedmail-default-message-id-generator): Doc fix.
22353 Bind system-time-locale. Handle missing end.
22354 (feedmail-fiddle-x-mailer): Add debug call.
22355 Handle feedmail-x-mailer-line being nil.
22356 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22357 Add debug call. Use buffer-substring-no-properties.
22358 (feedmail-say-debug, feedmail-say-chatter): New functions.
22359 (feedmail-find-eoh): Give an explicit error.
22361 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22363 * net/newst-treeview.el (newsticker-treeview-face): Change default
22364 family from helvetica to sans.
22365 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22366 etc/images/newsticker.
22368 * net/newst-reader.el (newsticker-feed-face): Change default
22369 family from helvetica to sans.
22371 * net/newst-plainview.el (newsticker-new-item-face)
22372 (newsticker-old-item-face, newsticker-immortal-item-face)
22373 (newsticker-obsolete-item-face, newsticker-date-face)
22374 (newsticker-statistics-face): Change default family from
22376 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22377 etc/images/newsticker.
22379 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22380 (newsticker--process-auto-mark-filter-match): Tell user about
22383 2011-05-13 Didier Verna <didier@xemacs.org>
22385 Common Lisp indentation improvements on defmethod and lambda-lists.
22386 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22388 (lisp-lambda-list-keyword-parameter-indentation)
22389 (lisp-lambda-list-keyword-parameter-alignment)
22390 (lisp-lambda-list-keyword-alignment): New customizable user options.
22391 (lisp-indent-defun-method): Improve docstring.
22392 (extended-loop-p): Fix comment.
22393 (lisp-indent-lambda-list-keywords-regexp): New variable.
22394 (lisp-indent-lambda-list): New function.
22395 (lisp-indent-259): Use it.
22396 (lisp-indent-defmethod): Support for more than one
22397 method qualifier and properly indent methods lambda-lists.
22398 (defgeneric): Provide a missing common-lisp-indent-function property.
22400 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22402 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22403 bounds for the empty string (bug#8667).
22405 2011-05-13 Glenn Morris <rgm@gnu.org>
22407 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22409 * mail/sendmail.el (sendmail-program): Try executable-find first.
22410 (sendmail-send-it): `sendmail-program' cannot be unbound.
22412 * calendar/appt.el (appt-make-list): Simplify.
22413 (appt-time-msg-list): Doc fix.
22414 (appt-check): Change mode-line message at the time of the appointment.
22416 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22418 * progmodes/ld-script.el (ld-script-keywords)
22419 (ld-script-builtins): Update keywords list.
22421 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22423 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22425 * shell.el (shell-completion-vars): New function.
22427 * simple.el (read-shell-command): Use it.
22428 (blink-matching-open): No need for " [...]" in minibuffer-message.
22430 2011-05-12 Glenn Morris <rgm@gnu.org>
22432 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22433 (appt-check): Simplify.
22435 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22437 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22438 literal "/dev/null".
22440 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22442 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22445 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22447 * progmodes/which-func.el (which-function):
22448 Use add-log-current-defun instead of add-log-current-defun-function,
22449 which might not be defined (Bug#8260).
22451 2011-05-12 Glenn Morris <rgm@gnu.org>
22453 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22454 Let byte-compile-initial-macro-environment always take precedence.
22456 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22458 * net/rcirc.el: Add support for SSL/TLS connections.
22459 (rcirc-server-alist): New field `encryption'.
22460 (rcirc): Check `encryption' settings.
22461 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22462 Merge make-local-variable into `set'.
22463 (rcirc--connection-open-p): New function.
22464 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22465 the process is not a network process (e.g. running gnutls-cli).
22466 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22467 Make rcirc-(en|de)code-coding-system local here.
22468 (rcirc-mode): Merge make-local-variable into `set'.
22469 (rcirc-parent-buffer): Make permanent buffer-local.
22470 (rcirc-multiline-minor-mode): Don't do it here.
22471 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22472 there's no server buffer.
22474 2011-05-11 Glenn Morris <rgm@gnu.org>
22476 * newcomment.el (comment-kill): Prefix "unused" local.
22478 * term/w32console.el (get-screen-color): Declare.
22480 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22481 Handle symbol elements of byte-compile-initial-macro-environment.
22483 2011-05-10 Leo Liu <sdl.web@gmail.com>
22485 * bookmark.el (bookmark-bmenu-mode-map):
22486 Bind bookmark-bmenu-search to `/'.
22488 * mail/footnote.el: Convert to utf-8 encoding.
22489 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22490 (Footnote-unicode): New function.
22491 (footnote-style-alist): Add unicode style to the list.
22492 (footnote-style): Doc fix.
22494 2011-05-10 Jim Meyering <meyering@redhat.com>
22496 Fix doubled-word typos.
22497 * international/quail.el (quail-insert-kbd-layout): and and -> and
22498 * kermit.el: and and -> and
22499 * net/ldap.el (ldap-search-internal): to to -> to
22500 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22501 * progmodes/js.el (js-mode): and and -> and
22502 * textmodes/artist.el (artist-move-to-xy): at at -> at
22503 (artist-draw-region-trim-line-endings): if if -> if
22504 And Safetyc -> Safety.
22505 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22507 2011-05-10 Glenn Morris <rgm@gnu.org>
22508 Stefan Monnier <monnier@iro.umontreal.ca>
22510 * files.el (hack-one-local-variable-eval-safep):
22511 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22513 2011-05-10 Glenn Morris <rgm@gnu.org>
22515 * calendar/diary-lib.el (diary-list-entries-hook)
22516 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22517 (diary-nongregorian-marking-hook, diary-list-entries)
22518 (diary-include-other-diary-files, diary-mark-entries)
22519 (diary-mark-included-diary-files): Doc fixes.
22521 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22523 * misc.el: Require tabulated-list.el during compilation.
22525 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22527 * progmodes/compile.el (compilation-start):
22528 Run compilation-filter-hook for the async case too.
22529 (compilation-filter-hook): Doc fix.
22531 2011-05-09 Deniz Dogan <deniz@dogan.se>
22533 * wdired.el: Remove outdated installation comment. Fix usage
22536 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22538 * misc.el: Implement new command `list-dynamic-libraries'.
22539 (list-dynamic-libraries--loaded-only-p): New variable.
22540 (list-dynamic-libraries--refresh): New function.
22541 (list-dynamic-libraries): New command.
22543 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22545 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22546 Fix the ant regexp to handle end-line and end-column info from jikes.
22547 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22548 higher priority to avoid clobbering by gnu.
22550 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22552 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22553 if the face has existing theme settings (Bug#8454).
22555 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22557 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22558 Only match variables declared via `my' or `our' (Bug#8261).
22560 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22561 special file names `.' and `..' (Bug#8259).
22563 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22565 * progmodes/grep.el (grep-mode-font-lock-keywords):
22566 Remove buffer-changing entries.
22567 (grep-filter): New function.
22568 (grep-mode): Add it to compilation-filter-hook.
22570 * progmodes/compile.el (compilation-filter-hook)
22571 (compilation-filter-start): New defvars.
22572 (compilation-filter): Call compilation-filter-hook prior to
22573 updating the process mark.
22575 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22577 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22579 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22581 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22582 mailclient-send-it even if window-system is nil. (Bug#8595)
22584 * term/w32console.el (terminal-init-w32console):
22585 Call get-screen-color and use its output to set the frame
22586 background-mode. (Bug#8597)
22588 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22590 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22591 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22593 (defgeneric, eieio--defmethod): Use them.
22594 (eieio-defgeneric): Remove.
22595 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22597 2011-05-07 Glenn Morris <rgm@gnu.org>
22599 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22600 Use let rather than let*.
22601 (timeclock-find-discrep): Remove unused local.
22603 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22605 * calendar/appt.el (appt-time-msg-list): Doc fix.
22607 2011-05-06 Noah Friedman <friedman@splode.com>
22609 * apropos.el (apropos-print-doc): Only use
22610 emacs-lisp-docstring-fill-column when it is bound to an integer,
22611 per that variable's documentation.
22613 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22615 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22616 and warnings are not silently discarded (e.g. use -d instead of -P).
22618 2011-05-06 Glenn Morris <rgm@gnu.org>
22620 * calendar/appt.el (appt-message-warning-time): Doc fix.
22621 (appt-warning-time-regexp): New option.
22622 (appt-make-list): Respect appt-message-warning-time.
22624 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22626 (diary-add-to-list): Strip comments from the displayed string.
22627 (diary-mode): Set comment-start and comment-end.
22629 * vc/diff-mode.el (smerge-refine-subst): Declare.
22630 (diff-refine-hunk): Don't require smerge-mode when compiling.
22632 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22634 * simple.el (list-processes): Return nil as the docstring says.
22636 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22638 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22640 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22641 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22642 determining of binary transfer. (Bug#7383)
22644 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22646 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22647 Fix port computation bug. (Bug#8618)
22649 2011-05-05 Glenn Morris <rgm@gnu.org>
22651 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22653 * simple.el (shell-dynamic-complete-functions)
22654 (comint-dynamic-complete-functions): Declare.
22656 * net/network-stream.el (gnutls-negotiate):
22657 * simple.el (tabulated-list-print): Fix declarations.
22659 * progmodes/gud.el (syntax-symbol, syntax-point):
22660 Remove unnecessary and incorrect declarations.
22662 * emacs-lisp/check-declare.el (check-declare-scan):
22663 Handle byte-compile-initial-macro-environment in bytecomp.el.
22665 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22667 Fix earlier half-done eieio-defmethod change (bug#8338).
22668 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22669 Streamline and change calling convention.
22670 (defmethod): Adjust accordingly and simplify.
22671 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22672 new eieio--defmethod.
22673 (slot-boundp): Minor CSE simplification.
22675 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22677 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22678 (glasses-make-readable): Use glasses-separate-capital-groups.
22680 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22682 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22683 (warning-series): Doc fix.
22684 (display-warning): Don't try to create the buffer if we just found it.
22686 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22688 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22689 (autoload-find-generated-file): New function.
22690 (generate-file-autoloads): Bind generated-autoload-file to
22692 (update-file-autoloads, update-directory-autoloads):
22693 Use autoload-find-generated-file. If called interactively, prompt for
22694 output file (Bug#7989).
22695 (batch-update-autoloads): Doc fix.
22697 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22699 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22701 2011-05-04 Glenn Morris <rgm@gnu.org>
22703 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22704 function, so it follows changes in calendar-date-style.
22705 (diary-fancy-date-matcher): New function.
22706 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22707 (diary-fancy-font-lock-fontify-region-function):
22708 Use diary-fancy-date-pattern as a function.
22710 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22711 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22713 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22715 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22716 instead of positional arguments. Allow :keylist and :crlfiles
22718 (open-gnutls-stream): Call it.
22720 * net/network-stream.el (network-stream-open-starttls): Adjust to
22721 call `gnutls-negotiate' with :process and :hostname arguments.
22723 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22725 * minibuffer.el (completion--message): New function.
22726 (completion--do-completion, minibuffer-complete)
22727 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22728 (completion--do-completion): Don't ignore completion-auto-help when in
22731 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22732 internal encoding (e.g. tibetan zero is not whitespace).
22733 (global-whitespace-mode): Prefer save-current-buffer.
22734 (whitespace-trailing-regexp): Remove useless save-match-data.
22735 (whitespace-empty-at-bob-regexp): Minor simplification.
22737 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22739 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22741 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22743 * textmodes/ispell.el (ispell-add-per-file-word-list):
22744 Use `concat' to create string for insertion.
22746 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22748 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22749 Avoid open-line which runs post-self-insert-hook.
22750 (bibtex-fill-entry): Remove unused `end' var.
22752 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22754 * textmodes/ispell.el (ispell-add-per-file-word-list):
22755 Protect against `nil' value of `comment-start' (Bug#8579).
22757 2011-05-03 Leo Liu <sdl.web@gmail.com>
22759 * isearch.el (isearch-yank-pop): New command.
22760 (isearch-mode-map): Bind it to `M-y'.
22761 (isearch-forward): Mention it.
22763 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22765 * simple.el (minibuffer-complete-shell-command): Remove.
22766 (minibuffer-local-shell-command-map): Use completion-at-point.
22767 (read-shell-command): Setup completion vars here instead.
22768 (read-expression-map): Bind TAB to symbol completion.
22770 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22771 error directly rather via storing it into `results'.
22773 2011-05-02 Leo Liu <sdl.web@gmail.com>
22775 * vc/diff.el: Fix description.
22777 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22779 * server.el (server-eval-at): New function.
22781 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22783 * net/network-stream.el (open-network-stream): Take a :nowait
22784 parameter and pass it on to `make-network-process'.
22785 (network-stream-open-plain): Ditto.
22787 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22789 * faces.el (face-spec-set-match-display): Don't match toolkit
22790 options on terminal frames.
22792 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22794 * progmodes/pascal.el: Use lexical binding.
22795 (pascal-mode-map): Remove author preferences.
22797 * pcomplete.el (pcomplete-std-complete): Don't abuse
22798 completion-at-point.
22800 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22802 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22803 removing code that has been dead since 1991 or so.
22805 * startup.el (command-line): When warning about "_emacs", use a
22806 delayed warning to allow the user to filter it out.
22808 2011-04-28 Deniz Dogan <deniz@dogan.se>
22810 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22811 user has not joined.
22813 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22815 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22816 aren't any completions at point.
22818 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22820 * subr.el (display-delayed-warnings): New function.
22821 (delayed-warnings-hook): New variable.
22823 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22825 * minibuffer.el (completion-at-point, completion-help-at-point):
22826 Don't presume that a given completion-at-point-function will always
22827 use the same calling convention.
22829 * pcomplete.el (pcomplete-completions-at-point):
22830 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22831 pcomplete-seen is non-nil.
22832 (pcomplete-comint-setup): Also recognize the new comint/shell
22833 completion functions.
22834 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22835 pcomplete-seen is non-nil.
22837 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22839 * calendar/icalendar.el (diary-lib): Add require statement.
22840 (icalendar--create-uid): Read out a uid from a text-property on
22841 the first character in the entry. This allows for code to add its
22842 own uid to the entry.
22843 (icalendar--convert-float-to-ical): Add export of
22844 `diary-float'-entries save for those with the optional DAY
22847 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22849 * subr.el (shell-quote-argument): Use alternate escaping strategy
22850 when we spot a variable reference in a string.
22852 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22854 * cus-start.el (all): Define customization for debug-on-event.
22856 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22858 * subr.el (shell-quote-argument): Escape correctly under Windows.
22860 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22862 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22864 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22866 * net/tramp.el (tramp-process-actions): Add POS argument.
22867 Delete region between POS and (pos).
22869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22870 Use `nil' position in `tramp-process-actions' call.
22871 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22873 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22874 position in `tramp-process-actions' call.
22876 * net/trampver.el: Update release number.
22878 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22880 * custom.el (defcustom): Obey lexical-binding.
22882 Fix octave-inf completion problems reported by Alexander Klimov.
22883 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22884 Inherit from octave-mode-syntax-table.
22885 (inferior-octave-mode): Set info-lookup-mode.
22886 (inferior-octave-completion-at-point): New function.
22887 (inferior-octave-complete): Use it and completion-in-region.
22888 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22889 comint-filename-completion.
22890 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22891 symbol elements which shouldn't be word elements.
22892 (octave-font-lock-keywords, octave-beginning-of-defun)
22893 (octave-function-header-regexp): Adjust regexps accordingly.
22894 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22896 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22898 * net/gnutls.el (gnutls-errorp): Declare before first use.
22900 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22902 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22903 verify-error, and verify-hostname-error parameters. Check whether
22904 default trustfile exists before going to use it. Add missing
22905 argument to gnutls-message-maybe call. Return value.
22906 Reported by Claudio Bley <claudio.bley@gmail.com>.
22907 (open-gnutls-stream): Add usage example.
22909 * net/network-stream.el (network-stream-open-starttls): Give host
22910 parameter to `gnutls-negotiate'.
22911 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22912 * subr.el (shell-quote-argument): Escape correctly under Windows.
22914 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22916 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22917 Use correct match group (bug#8438).
22919 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22921 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22922 (package-menu--generate): New arg specifying packages to show.
22923 (package-menu-refresh, package-menu-execute, list-packages):
22925 (package-show-package-list): New function, replacing deleted
22926 package--list-packages (renamed because it is non-internal).
22928 * finder.el (finder-list-matches): Use package-show-package-list
22929 instead of deleted package--list-packages.
22931 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22932 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22933 (vc-annotate-mode-map): Bind it to RET.
22935 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22937 * progmodes/etags.el (next-file): Don't use set-buffer to change
22938 buffers (Bug#8478).
22940 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22942 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22944 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22945 (apropos-accumulator): Doc fix.
22946 (apropos-function, apropos-macro, apropos-command)
22947 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22948 (apropos-plist): Add face property.
22949 (apropos-symbols-internal): Fix indentation.
22950 (apropos-print): Simplify help, and recognize apropos-multi-type.
22951 (apropos-print-doc): Use button-type-get to extract the button's
22952 face property. Fill docstring (Bug#8352).
22954 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22956 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22958 * play/mpuz.el (mpuz-silent): Doc fix.
22959 (mpuz-mode-map): Use mapc.
22960 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22961 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22962 Fix typos in docstrings.
22964 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22965 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22967 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22969 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22971 * minibuffer.el (completion--do-completion): Avoid the "Next char
22972 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22974 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22975 mouse-2 into unread-command-events, it is interpreted correctly.
22977 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22978 (image-toggle-display): Doc fix.
22980 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22982 * textmodes/page.el (what-page): Use line-number-at-pos to
22983 calculate line number (Bug#6825).
22985 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22987 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22988 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22989 Pass argument NO-DEFAULT to `find-tag-interactive'.
22991 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22993 Lexical-binding cleanup.
22995 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22996 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22997 * progmodes/ada-prj.el (ada-prj-initialize-values)
22998 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22999 (ada-prj-show-value):
23000 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23001 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23002 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23003 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23004 * progmodes/bug-reference.el (bug-reference-push-button):
23005 * progmodes/fortran.el (fortran-line-length):
23006 * progmodes/glasses.el (glasses-change):
23007 * progmodes/octave-mod.el (octave-fill-paragraph):
23008 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23009 (python-pdbtrack-grub-for-buffer, python-sentinel):
23010 * progmodes/sql.el (sql-save-connection):
23011 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23012 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23013 Mark unused parameters.
23015 * progmodes/compile.el (compilation--flush-directory-cache)
23016 (compilation--flush-parse, compile-internal): Mark unused parameters.
23017 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23018 (compilation-next-error-function): Remove unused variable `timestamp'.
23020 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23021 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23023 * progmodes/dcl-mode.el (dcl-end-of-command):
23024 Remove unused variable `start'.
23025 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23026 (dcl-option-value-basic, dcl-option-value-offset)
23027 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23028 Mark unused parameters.
23029 (dcl-save-local-variable): Remove unused variable `val'.
23032 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23033 Mark unused parameters.
23034 (delphi-ignore-changes): Move before first use.
23035 (delphi-charset-token-at): Remove unused variable `start'.
23036 (delphi-else-start): Remove unused variable `if-count'.
23037 (delphi-comment-block-start, delphi-comment-block-end):
23038 Remove unused variable `kind'.
23039 (delphi-indent-line): Remove unused variable `new-point'.
23041 * progmodes/ebrowse.el (ebrowse-files-list)
23042 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23043 Mark unused parameters. Don't quote `lambda'.
23044 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23045 Don't quote `lambda'.
23046 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23047 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23048 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23049 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23050 Use `ignore-errors'.
23051 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23052 (ebrowse-view/find-file-and-search-pattern)
23053 (ebrowse-view/find-member-declaration/definition):
23054 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23055 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23056 Rename parameter PREFIX-ARG to PREFIX.
23057 (ebrowse-tags-read-name): Remove unused variables `start' and
23059 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23062 * progmodes/etags.el (local-find-tag-hook): Declare.
23063 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23064 Mark unused parameters.
23066 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23067 (executable-interpret): Mark unused parameter.
23069 * progmodes/flymake.el (flymake-process-sentinel)
23070 (flymake-after-change-function)
23071 (flymake-create-temp-with-folder-structure)
23072 (flymake-get-include-dirs-dot): Mark unused parameters.
23073 (flymake-safe-delete-directory): Remove unused variable `err'.
23075 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23076 (speedbar-timer-fn, speedbar-line-text)
23077 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23078 (speedbar-center-buffer-smartly): Declare functions.
23079 (gdb-find-watch-expression): Remove unused variable `array'.
23080 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23081 (gdb-starting): Mark unused parameters.
23082 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23083 (gdb-table-string): Remove unused variable `res'.
23084 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23085 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23086 (gdb-display-buffer): Remove unused variable `cur-size'.
23088 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23089 allow lexical-binding compilation.
23090 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23091 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23092 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23093 Mark unused parameters.
23094 (gud-gdb-marker-filter): Remove unused variable `match'.
23095 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23096 lambda expressions and funcall them, instead of using `fset'.
23098 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23099 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23101 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23102 variable `header-beg'; use `let'.
23104 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23105 `restart', `last-sexp' and `at-do'.
23107 * progmodes/js.el (js--debug): Mark unused parameter.
23108 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23109 (js--splice-into-items): Remove unused variable `item'.
23110 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23112 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23113 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23114 (makefile-complete): Remove unused variable `try'.
23115 (makefile-fill-paragraph, makefile-match-function-end):
23116 Mark unused parameters.
23118 * progmodes/octave-inf.el (inferior-octave-complete):
23119 Remove unused variable `proc'.
23120 (inferior-octave-output-digest): Mark unused parameter.
23122 * progmodes/perl-mode.el (perl-calculate-indent):
23123 Remove unused variable `err'.
23125 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23126 (prolog-indent-line): Mark unused parameters.
23127 (prolog-indent-line): Remove unused variable `beg'.
23129 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23130 (reporter-dont-compact-list): Declare.
23132 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23133 Remove unused variable `char'.
23134 (sh-debug): Mark unused parameter.
23135 (sh-get-indent-info): Remove unused variable `start'.
23136 (sh-calculate-indent): Remove unused variable `var'.
23138 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23139 (simula-electric-keyword): Remove unused variable `null'.
23140 (simula-search-backward, simula-search-forward): Remove unused
23141 variables `begin' and `end'.
23143 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23144 Remove unused variable `pos'.
23145 (vera-electric-tab, vera-comment-uncomment-region):
23146 Mark unused parameters.
23147 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23149 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23151 * emacs-lisp/package.el (package--builtins, package-alist)
23152 (package-load-descriptor, package-built-in-p, package-activate)
23153 (define-package, package-installed-p)
23154 (package-compute-transaction, package-buffer-info)
23155 (package--push): Doc fix. Distinguish more clearly between
23156 version strings and version lists.
23158 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23160 Lexical-binding cleanup.
23162 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23163 (5x5-make-mutate-best):
23164 * play/fortune.el (fortune-in-buffer):
23165 * play/gomoku.el (gomoku-init-display):
23166 * play/solitaire.el (solitaire, solitaire-do-check):
23167 * play/tetris.el (tetris-default-update-speed-function):
23168 Mark unused parameters.
23170 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23171 (bubbles--shift): Remove unused variable `char-org'.
23172 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23173 (bubbles--show-images): Remove unused variable `char'.
23175 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23176 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23177 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23178 (decipher-analyze-buffer): Use ?\s.
23179 (decipher-make-checkpoint): Remove unused variable `mapping'.
23181 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23183 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23184 Remove unused variable `result'; use `let'.
23186 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23187 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23188 (gametree-children-shown-p, gametree-compute-reduced-score):
23189 Use `ignore-errors'.
23191 * play/handwrite.el (ps-lpr-switches): Declare.
23192 (handwrite): Remove unused variables `pmin' and `lastp'.
23194 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23196 * play/landmark.el (landmark-init-display)
23197 (landmark-update-naught-weights): Mark unused parameters.
23198 (landmark-y): Remove unused variable `noise'. Simplify.
23199 (landmark-human-plays): Remove unused variable `score'.
23201 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23202 (mpuz-try-proposal): Remove unused variable `game'.
23204 * play/zone.el (life-patterns): Declare.
23206 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23208 * vc/vc.el (ediff-vc-internal): Declare function.
23210 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23212 * shell.el: Use lexical-binding and std completion UI.
23213 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23214 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23215 comint-preoutput-filter-functions rather than on
23216 comint-output-filter-functions.
23217 (shell-command-completion, shell--command-completion-data)
23218 (shell-filename-completion, shell-environment-variable-completion)
23219 (shell-c-a-p-replace-by-expanded-directory): New functions.
23220 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23221 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23222 (shell-dynamic-complete-environment-variable): Use them.
23223 (shell-dynamic-complete-as-environment-variable)
23224 (shell-dynamic-complete-as-command): Remove.
23225 (shell-match-partial-variable): Match past point.
23226 * comint.el: Clean up use of completion-at-point-functions.
23227 (comint-completion-at-point): New function.
23228 (comint-mode): Use it completion-at-point-functions.
23229 (comint-dynamic-complete): Make it obsolete.
23230 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23231 (comint-c-a-p-replace-by-expanded-history): New function.
23232 (comint-dynamic-complete-functions)
23233 (comint-replace-by-expanded-history): Use it.
23234 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23235 termination strings. Try harder to avoid second try-completion.
23236 (completion-in-region-mode-map): Disable bindings that don't work yet.
23238 * comint.el: Use lexical-binding. Require CL.
23239 (comint-dynamic-complete-functions): Use comint-filename-completion.
23240 (comint-completion-addsuffix): Tweak custom type.
23241 (comint-filename-completion, comint--common-suffix)
23242 (comint--common-quoted-suffix, comint--table-subvert)
23243 (comint--complete-file-name-data): New functions.
23244 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23245 (comint-dynamic-list-filename-completions): Use them.
23246 (comint-dynamic-simple-complete): Make obsolete.
23248 * minibuffer.el (completion-in-region-mode):
23249 Keep completion-in-region-mode--predicate global.
23250 (completion-in-region--postch):
23251 Assume completion-in-region-mode--predicate is not null.
23253 * progmodes/flymake.el (flymake-start-syntax-check-process):
23254 Obey `dir'. Simplify.
23256 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23257 we're in VC after all.
23259 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23261 * vc/vc.el (vc-diff-build-argument-list-internal)
23262 (vc-version-ediff, vc-ediff): New commands.
23263 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23265 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23267 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23270 * obsolete/erc-hecomplete.el: Make obsolete.
23271 * obsolete/: Standardize obsolescence info in the header.
23273 2011-04-20 Glenn Morris <rgm@gnu.org>
23275 * calendar/solar.el (solar-horizontal-coordinates):
23276 Use the longitude argument rather than `calendar-longitude'.
23277 (solar-date-next-longitude): Remove unused locals.
23279 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23281 * whitespace.el: New version 13.2.1.
23283 2011-04-20 felix <EmacsWiki> (tiny change)
23285 * whitespace.el (global-whitespace-mode): Keep highlight when
23286 switching between major modes on a file.
23288 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23290 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23291 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23292 multi-line comments as well.
23294 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23296 Lexical-binding cleanup.
23298 * arc-mode.el (archive-mode-revert):
23299 * cmuscheme.el (scheme-interactively-start-process):
23300 * custom.el (custom-initialize-delay):
23301 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23302 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23303 * emacs-lock.el (emacs-lock-clear-sentinel):
23304 * ezimage.el (defezimage):
23305 * follow.el (follow-avoid-tail-recenter):
23306 * fringe.el (set-fringe-mode-1):
23307 * generic-x.el (bat-generic-mode-compile):
23308 * help-mode.el (help-info-variable, help-do-xref)
23309 (help-mode-revert-buffer):
23310 * help.el (view-emacs-todo):
23311 * iswitchb.el (iswitchb-completion-help):
23312 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23313 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23314 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23315 * locate.el (locate-update):
23316 * longlines.el (longlines-encode-region)
23317 (longlines-after-change-function):
23318 * outline.el (outline-isearch-open-invisible):
23319 * ps-def.el (declare-function, charset-dimension, char-width)
23321 * ps-mule.el (ps-mule-plot-string):
23322 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23323 (recentf-edit-list-select, recentf-edit-list-validate)
23324 (recentf-open-files-action):
23325 * rect.el (delete-whitespace-rectangle-line)
23326 (rectangle-number-line-callback):
23327 * register.el (window-configuration-to-register)
23328 (frame-configuration-to-register):
23329 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23330 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23331 (xselect-convert-to-targets, xselect-convert-to-delete)
23332 (xselect-convert-to-filename, xselect-convert-to-charpos)
23333 (xselect-convert-to-lineno, xselect-convert-to-colno)
23334 (xselect-convert-to-os, xselect-convert-to-host)
23335 (xselect-convert-to-user, xselect-convert-to-class)
23336 (xselect-convert-to-name, xselect-convert-to-integer)
23337 (xselect-convert-to-atom, xselect-convert-to-identity):
23338 * subr.el (declare, ignore, process-kill-without-query)
23339 (text-clone-maintain):
23340 * terminal.el (te-get-char, te-tic-sentinel):
23341 * tool-bar.el (tool-bar-make-keymap):
23342 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23343 * type-break.el (type-break-mode, type-break-noninteractive-query):
23344 * view.el (View-back-to-mark):
23345 * wid-browse.el (widget-browse-action, widget-browse-widget)
23346 (widget-browse-widgets, widget-browse-sexp):
23347 * widget.el (define-widget-keywords):
23348 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23349 Mark unused parameters.
23351 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23352 (align-areas): Remove unused variable `look'.
23353 (align-region): Remove unused variables `real-end' and `pos-list'.
23355 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23357 * bindings.el (mode-line-modified, mode-line-remote):
23358 Mark unused parameters.
23359 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23361 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23362 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23364 * comint.el (comint-history-isearch-pop-state)
23365 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23366 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23367 (comint-substitute-in-file-name): Doc fix.
23369 * completion.el (cmpl-statistics-block): Mark unused parameter.
23370 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23371 (save-completions-to-file, load-completions-from-file):
23372 Remove unused local variable `e'.
23374 * composite.el (compose-chars): Remove unused variable `len'.
23375 (lgstring-insert-glyph): Remove unused variable `g'.
23376 (compose-glyph-string): Remove unused variables `ascent',
23377 `descent', `lbearing' and `rbearing'.
23378 (compose-glyph-string-relative): Remove unused variables
23379 `lbearing', `rbearing' and `wadjust'.
23380 (compose-gstring-for-graphic): Remove unused variables `header',
23381 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23382 (compose-gstring-for-terminal): Remove unused variables `header'
23383 and `nchars'. Use `let', not `let*'.
23385 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23386 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23387 (Custom-buffer-done, custom-buffer-create-internal)
23388 (custom-browse-visibility-action, custom-browse-group-tag-action)
23389 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23390 (widget-magic-mouse-down-action, custom-toggle-parent)
23391 (custom-add-parent-links, custom-toggle-hide-variable)
23392 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23393 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23394 (custom-face-menu-create, custom-variable-menu-create, get)
23395 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23396 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23397 (customize-apropos): Remove unused variable `tests'.
23398 (custom-group-value-create): Remove unused variable `hidden-p'.
23399 (sort-fold-case): Declare.
23401 * cus-theme.el (custom-reset-standard-faces-list)
23402 (custom-reset-standard-variables-list): Declare.
23403 (customize-create-theme, custom-theme-revert, custom-theme-write)
23404 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23405 Mark unused parameters.
23407 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23409 * delim-col.el (delimit-columns-max): Move defvar before first use.
23411 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23412 (describe-char): Don't quote `lambda'. Mark unused parameter.
23414 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23415 (auto-insert): Declare.
23416 (desktop-restore-file-buffer): Rename desktop-* parameters;
23418 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23419 (desktop-buffer): Rename desktop-* parameters.
23421 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23422 (dframe-reposition-frame-xemacs, dframe-help-echo)
23423 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23424 Mark unused parameters.
23426 * dired-aux.el (backup-extract-version-start, overwrite-query)
23427 (overwrite-backup-query, rename-regexp-query)
23428 (rename-non-directory-query): Declare.
23429 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23430 (dired-add-entry): Remove unused variable `orig-file-name'.
23431 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23432 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23433 `dired-copy-preserve-time' directly.
23434 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23435 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23437 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23438 (dired-virtual-revert, dired-make-relative-symlink):
23439 Mark unused parameters.
23440 (manual-program): Declare.
23441 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23442 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23443 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23445 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23447 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23449 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23452 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23454 * electric.el (Electric-command-loop): Rename parameter
23455 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23457 * expand.el (expand-in-literal): Remove unused variable `here'.
23459 * facemenu.el (facemenu-add-new-color):
23460 Remove unused variable `docstring'.
23462 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23463 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23464 (face-attr-construct): Mark unused parameter. Doc fix.
23465 (read-color): Remove unused variable `hex-string'.
23467 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23468 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23469 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23470 (display-buffer-other-frame): Remove unused variable `old-window'.
23471 (kill-buffer-hook): Declare.
23472 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23473 Mark unused parameters.
23474 (after-find-file): Pass 1 to `auto-save-mode', not t.
23476 * files-x.el (auto-insert): Declare.
23477 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23479 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23480 variable `buf'. Mark unused parameter.
23481 (find-lisp-insert-directory): Mark unused parameter.
23483 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23484 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23485 (format-common-tail): Remove, unused.
23486 (format-deannotate-region): Remove unused variable `loc'.
23487 (format-annotate-region): Remove unused variable `p'.
23488 (format-annotate-single-property-change): Remove unused variables
23489 `default' and `tail'.
23491 * forms.el (read-file-filter): Declare.
23492 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23494 * frame.el (frame-creation-function-alist): Mark unused parameter.
23495 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23497 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23498 Remove unused parameters.
23499 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23500 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23502 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23503 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23504 (hfy-prepare-tag-map): Mark unused parameters.
23505 (htmlfontify-buffer): Use `called-interactively-p'.
23507 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23508 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23509 (ibuffer-do-occur): Mark unused parameters.
23510 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23511 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23513 * ibuffer.el: Don't quote `lambda'.
23514 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23515 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23516 Mark unused parameters.
23518 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23519 (ido-completing-read): Mark unused parameters.
23520 (ido-copy-current-word): Mark unused parameters;
23521 remove unused variable `name'.
23522 (ido-sort-merged-list): Remove unused parameter `dirs'.
23524 * ielm.el (ielm-input-sender): Mark unused parameter.
23525 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23526 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23527 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23528 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23529 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23531 * image-dired.el (image-dired-display-thumbs): Remove unused
23532 variables `curr-file' and `count'.
23533 (image-dired-remove-tag): Remove unused variable `start'.
23534 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23535 variable `curr-file'
23536 (image-dired-rotate-original): Remove unused variable `temp-file'.
23537 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23538 Remove unused variable `file'.
23539 (image-dired-gallery-generate): Remove unused variable `curr'.
23540 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23542 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23544 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23546 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23548 * isearch.el (minibuffer-history-symbol): Declare.
23549 (isearch-edit-string): Remove unused variable `err'.
23550 (isearch-message-prefix, isearch-message-suffix):
23551 Mark unused parameters.
23553 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23555 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23557 * makesum.el (double-column): Remove unused variable `cnt'.
23559 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23560 (ido-ignore-item-temp-list): Declare.
23562 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23563 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23564 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23565 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23568 * mouse-sel.el (mouse-extend-internal):
23569 Remove unused variable `orig-window-frame'.
23571 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23572 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23573 Move declarations before first use.
23574 (pcomplete-opt): Mark unused parameters; doc fix.
23576 * proced.el (proced-revert): Mark unused parameter.
23577 (proced-send-signal): Remove unused variable `err'.
23579 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23580 Rename parameter PREFIX-ARG to ARG.
23581 (ps-basic-plot-string, ps-basic-plot-whitespace):
23582 Mark unused parameters.
23584 * replace.el (replace-count): Define.
23585 (occur-revert-function): Mark unused parameters.
23586 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23587 (isearch-case-fold-search, isearch-string): Declare.
23588 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23589 bind `case-fold-search'. Remove unused variables `beg' and `end',
23591 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23592 COUNT and bind `replace-count'.
23593 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23596 * savehist.el (print-readably, print-string-length): Declare.
23598 * shadowfile.el (shadow-expand-cluster-in-file-name):
23599 Remove unused variable `cluster'.
23600 (shadow-copy-file): Remove unused variable `i'.
23601 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23602 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23603 (shadow-define-literal-group, shadow-define-regexp-group)
23604 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23606 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23607 (shell): Use `called-interactively-p'.
23608 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23610 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23611 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23612 (delete-backward-char): Remove unused variable `ocol'.
23613 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23614 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23615 (event-apply-hyper-modifier, event-apply-shift-modifier)
23616 (event-apply-control-modifier, event-apply-meta-modifier):
23617 Mark unused parameters.
23618 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23619 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23621 * speedbar.el (speedbar-ignored-directory-expressions)
23622 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23623 (speedbar-find-file, speedbar-dir-follow)
23624 (speedbar-directory-buttons-follow, speedbar-tag-find)
23625 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23626 (speedbar-buffers-line-directory, speedbar-buffer-click):
23627 Mark unused parameters.
23628 (speedbar-tag-file): Remove unused variable `mode'.
23629 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23631 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23633 * talk.el (talk): Remove unused variable `display'.
23635 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23636 (tar-write-region-annotate): Mark unused parameter.
23638 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23639 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23640 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23641 warning by another.
23643 * time-stamp.el (time-stamp-string-preprocess):
23644 Remove unused variable `require-padding'.
23646 * tree-widget.el (widget-glyph-enable): Declare.
23647 (tree-widget-action): Mark unused parameter.
23649 * w32-fns.el (x-get-selection): Mark unused parameter.
23650 (autoload-make-program, generated-autoload-file): Declare.
23652 * wdired.el (wdired-revert): Mark unused parameters.
23653 (wdired-xcase-word): Remove unused variable `err'.
23655 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23656 (whitespace-help-scroll): Remove unused variable `data-help'.
23658 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23659 (widget-image-insert, widget-after-change, default)
23660 (widget-default-format-handler, widget-default-notify)
23661 (widget-default-prompt-value, widget-info-link-action)
23662 (widget-url-link-action, widget-function-link-action)
23663 (widget-variable-link-action, widget-file-link-action)
23664 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23665 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23666 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23667 (widget-insert-button-action, widget-delete-button-action, visibility)
23668 (widget-documentation-link-action, widget-documentation-string-action)
23669 (widget-const-prompt-value, widget-regexp-match, symbol)
23670 (widget-coding-system-prompt-value)
23671 (widget-key-sequence-value-to-external, sexp)
23672 (widget-sexp-value-to-internal, character, vector, cons)
23673 (widget-choice-prompt-value, widget-boolean-prompt-value)
23674 (widget-color--choose-action): Mark unused parameters.
23675 (widget-item-match-inline, widget-choice-match-inline)
23676 (widget-checklist-match, widget-checklist-match-inline)
23677 (widget-group-match): Rename parameter VALUES to VALS.
23678 (widget-field-value-set): Remove unused variable `size'.
23679 (widget-color-action): Remove unused variables `value' and `start'.
23681 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23682 variable `dir'. Doc fix.
23683 (windmove-find-other-window): Don't pass it.
23685 * window.el (count-windows): Mark unused parameter.
23686 (bw-adjust-window): Remove unused variable `err'.
23688 * woman.el (woman-file-name): Remove unused variable `default'.
23689 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23690 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23691 (global-font-lock-mode): Declare.
23692 (woman-decode-region): Mark unused parameter.
23693 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23695 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23696 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23697 (x-dnd-handle-moz-url): Remove unused variable `title'.
23698 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23700 * xml.el (xml-parse-tag, xml-parse-attlist):
23701 Remove unused variable `pos'.
23703 2011-04-19 Glenn Morris <rgm@gnu.org>
23705 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23706 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23707 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23708 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23709 * calendar/cal-html.el (cal-html-insert-minical):
23710 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23711 (calendar-mark-date-pattern):
23712 Prefix "unused" locals.
23714 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23715 optional argument `style'.
23717 * calendar/appt.el (appt-make-list):
23718 * calendar/cal-china.el (calendar-chinese-date-string):
23719 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23720 (diary-hebrew-yahrzeit):
23721 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23722 * calendar/calendar.el (calendar-generate-window):
23723 * calendar/time-date.el (time-to-days):
23724 Remove unused local variables.
23726 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23728 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23729 glyphless-char-display table.
23730 (tabulated-list-glyphless-char-display): New var.
23732 2011-04-18 Sam Steingold <sds@gnu.org>
23734 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23735 to acknowledgments.
23737 2011-04-17 Glenn Morris <rgm@gnu.org>
23739 * calendar/diary-lib.el (diary-sexp-entry):
23740 * calendar/holidays.el (holiday-sexp):
23741 Set debug-on-error rather than the removed stack-trace-on-error.
23743 2011-04-16 Glenn Morris <rgm@gnu.org>
23745 * progmodes/f90.el: Use lexical-binding.
23746 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23748 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23750 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23751 (mail-mode): Setup mailalias completion here instead.
23752 * mail/mailalias.el: Use lexical-binding.
23753 (pattern, mailalias-done): Declare dynamic.
23754 (mail-completion-at-point-function): New function, from mail-complete.
23755 (mail-complete): Use it.
23756 (mail-completion-expand): New function.
23757 (mail-get-names): Use it.
23758 (mail-directory, mail-directory-process, mail-directory-stream):
23759 Don't use `pattern' for lexically bound arg.
23761 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23763 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23764 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23765 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23767 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23768 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23769 (byte-interactive-p): Define them again, for use when inlining
23772 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23774 * loadup.el: Use `string-to-number', not `string-to-int'.
23776 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23778 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23779 gud-gdb-complete-command.
23780 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23781 (gud-gdb-completion-at-point): New function.
23782 (gud-gdb-completions): Remove.
23784 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23786 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23787 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23788 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23789 whether `executable-find' is bound.
23791 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23793 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23795 * minibuffer.el (completion-in-region-mode-predicate)
23796 (completion-in-region-mode--predicate): New vars.
23797 (completion-in-region, completion-in-region--postch)
23798 (completion-in-region-mode): Use them.
23799 (completion--capf-wrapper): Also return the hook function.
23800 (completion-at-point, completion-help-at-point):
23801 Adjust and provide a predicate.
23803 Preserve arg names for advice of subr and lexical functions (bug#8457).
23804 * help-fns.el (help-function-arglist): Consolidate the subr and
23805 new-byte-code cases. Add argument `preserve-names' to extract names
23806 from the docstring when needed.
23807 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23808 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23809 (ad-arglist): Use help-function-arglist's new arg.
23810 (ad-definition-type): Use cond.
23812 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23814 * autorevert.el (auto-revert-handler):
23815 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23816 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23817 Don't quote lambda.
23819 * image-mode.el (image-transform-set-scale):
23820 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23822 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23824 * net/network-stream.el (network-stream-open-starttls): Only do
23825 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23826 Upgrades via gnutls-cli are too slow to be done opportunistically.
23828 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23830 * dframe.el (dframe-current-frame): Remove spurious quote.
23832 2011-04-12 Glenn Morris <rgm@gnu.org>
23834 * calendar/cal-tex.el (cal-tex-end-document):
23835 Try to automatically use latin1 input if needed.
23837 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23838 Don't try to cons a mark onto an empty element.
23840 2011-04-11 Leo Liu <sdl.web@gmail.com>
23842 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23844 (ido-kill-buffer-at-head): Support killing virtual buffers.
23846 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23848 * minibuffer.el (completion-show-inline-help): New var.
23849 (completion--do-completion, minibuffer-complete)
23850 (minibuffer-force-complete, minibuffer-complete-word):
23851 Inhibit minibuffer messages if completion-show-inline-help is nil.
23853 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23854 to avoid interference from inline help (Bug#5849).
23856 2011-04-10 Leo Liu <sdl.web@gmail.com>
23858 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23861 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23863 * image-mode.el (image-toggle-display-image): Signal an error if
23865 (image-transform-mode, image-transform-resize)
23866 (image-transform-set-rotation): Doc fix.
23867 (image-transform-set-resize): Delete.
23868 (image-transform-set-scale, image-transform-fit-to-height)
23869 (image-transform-fit-to-width): Handle image-toggle-display-image
23870 and image-transform-resize directly.
23872 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23874 * doc-view.el (doc-view-fit-width-to-window)
23875 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23876 New functions for fitting the shown image to the Emacs window size.
23877 (doc-view-mode-map): Add bindings for the new functions.
23879 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23881 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23882 Fix typo in docstring.
23884 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23886 * files.el (file-size-human-readable): Produce one digit after
23887 decimal, like "ls -lh" does.
23889 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23890 the file size representation.
23892 * simple.el (list-processes): If async subprocesses are not
23893 available, error out with a clear error message.
23895 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23897 * help.el (help-form-show): New function, to be called from C.
23898 Put help-form output in a buffer named differently than *Help*.
23900 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23902 * files.el (file-size-human-readable): New function.
23904 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23905 computing the representation inline. Don't require `cl'.
23907 2011-04-08 Glenn Morris <rgm@gnu.org>
23909 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23911 * net/browse-url.el (browse-url-firefox):
23912 Test system-type, not system-configuration.
23914 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23915 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23916 Use log-edit-empty-buffer-p. (Bug#7598)
23918 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23919 (rlogin-mode-map): Initialize in the defvar.
23920 (rlogin): Use ignore-errors.
23922 * replace.el (occur-mode-map): Some fixes for menu items.
23924 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23926 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23928 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23930 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23931 issuing unused warnings.
23933 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23936 * simple.el: Lisp reimplement of list-processes. Based on an
23937 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23938 (process-menu-mode): New major mode.
23939 (list-processes--refresh, list-processes):
23940 (process-menu-visit-buffer): New functions.
23942 * files.el (save-buffers-kill-emacs): Don't assume any return
23943 value of list-processes, which is undocumented anyway.
23945 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23947 * emacs-lisp/tabulated-list.el: New file.
23949 * emacs-lisp/package.el: Use Tabulated List mode.
23950 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23951 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23952 table format using Tabulated List mode variables.
23953 (package--push): New macro, replacing package-list-maybe-add.
23954 (package-menu--generate): Use package--push. Renamed from
23955 package--generate-package-list.
23956 (package-menu-refresh, list-packages): Use it.
23957 (package-menu--print-info): Rename from package-print-package.
23958 Return insertion data instead of inserting it directly.
23959 (package-menu-describe-package, package-menu-execute):
23960 Use tabulated-list-get-id.
23961 (package-menu-mark-delete, package-menu-mark-install)
23962 (package-menu-mark-unmark, package-menu-backup-unmark)
23963 (package-menu-mark-obsolete-for-deletion):
23964 Use tabulated-list-put-tag.
23965 (package--list-packages, package-menu-revert)
23966 (package-menu-get-package, package-menu-get-version)
23967 (package-menu-sort-by-column): Functions deleted.
23968 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23969 (package-menu--status-predicate, package-menu--version-predicate)
23970 (package-menu--name-predicate)
23971 (package-menu--description-predicate): Handle arguments in the
23972 Tabulated List format.
23973 (package-list-packages-no-fetch): Call list-packages.
23975 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23977 * files.el (after-find-file-from-revert-buffer): Remove variable.
23978 (after-find-file): Don't bind it.
23979 (revert-buffer-in-progress-p): New variable.
23980 (revert-buffer): Bind it.
23981 Pass nil for `after-find-file-from-revert-buffer'.
23983 * saveplace.el (save-place-find-file-hook): Use new variable
23984 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23986 2011-04-06 Glenn Morris <rgm@gnu.org>
23988 * Makefile.in (AUTOGEN_VCS): New variable.
23989 (autoloads): Use $AUTOGEN_VCS.
23991 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23992 * calendar/calendar.el (calendar-mode-map):
23993 Check for toolkit scroll bars. (Bug#8305)
23995 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23997 * minibuffer.el (completion-in-region--postch)
23998 (completion-in-region-mode): Remove unnecessary messages.
24000 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24002 * font-lock.el (font-lock-refresh-defaults):
24003 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24004 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24006 * info.el (Info-directory-list, Info-read-node-name-2)
24007 (Info-split-parameter-string): Doc fixes.
24008 (Info-virtual-nodes): Reflow docstring.
24009 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24010 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24011 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24012 Fix typos in docstrings.
24013 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24014 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24015 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24016 (Info-restore-desktop-buffer): Mark unused parameters.
24017 (Info-directory-find-file, Info-directory-find-node)
24018 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24019 (Info-virtual-index-find-node, Info-apropos-find-file)
24020 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24021 Mark unused parameters; fix typos in docstrings.
24022 (Info-virtual-index): Remove unused local variable `nodename'.
24024 2011-04-05 Deniz Dogan <deniz@dogan.se>
24026 * net/rcirc.el: Update my e-mail address.
24027 (rcirc-mode-map): Remove M-o binding.
24029 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24031 * startup.el (command-line): Save the cursor's theme-face
24032 directly, instead of using face-override-spec.
24034 * custom.el (load-theme): Minor optimization in assigning faces.
24036 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24038 * help-fns.el (describe-variable): Complete all variables having
24039 documentation, including keywords.
24040 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24042 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24044 Convert to lexical-binding.
24046 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24047 (bs--get-marked-string, bs--get-modified-string)
24048 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24049 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24050 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24052 * ehelp.el (electric-help-execute-extended)
24053 (electric-help-ctrl-x-prefix):
24054 * hexl.el (hexl-revert-buffer-function):
24055 * linum.el (linum-after-change, linum-after-scroll):
24056 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24058 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24060 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24067 * epg.el: Use lexical binding.
24069 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24071 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24073 * textmodes/flyspell.el (flyspell-word): Recognize default
24074 dictionary case for flyspell-mark-duplications-exceptions.
24075 Use regexp matching for languages.
24076 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24077 default dictionary (Bug#7926).
24079 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24081 * emacs-lisp/package.el (package--with-work-buffer):
24082 Recognize https URLs.
24084 * net/network-stream.el: Move from gnus/proto-stream.el.
24085 Change prefix to network-stream throughout.
24086 (open-protocol-stream): Merge into open-network-stream, leaving
24087 open-protocol-stream as an alias. Handle nil BUFFER args.
24089 * subr.el (open-network-stream): Move to net/network-stream.el.
24091 2011-04-02 Glenn Morris <rgm@gnu.org>
24093 * find-dired.el (find-exec-terminator): New option.
24094 (find-ls-option): Test for -ls support.
24095 (find-ls-subdir-switches): Test for -b in find-ls-option.
24096 (find-dired, find-grep-dired): Doc fixes.
24097 (find-dired): Use find-exec-terminator.
24099 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24100 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24101 (find-name-arg): Remove purecopy.
24103 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24104 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24105 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24106 accordingly. Don't add the null-device if not needed.
24108 * files.el (save-some-buffers): Doc fix.
24110 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24112 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24114 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24116 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24117 Use `dolist' rather than `mapcar'.
24119 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24121 Add lexical binding.
24123 * subr.el (apply-partially): Use new closures rather than CL.
24124 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24125 (dolist, dotimes): Use slightly different expansion for lexical code.
24126 (functionp): Move to C.
24127 (letrec): New macro.
24128 (with-wrapper-hook): Use it and apply-partially instead of CL.
24129 (eval-after-load): Preserve lexical-binding.
24130 (save-window-excursion, with-output-to-temp-buffer): Turn them
24133 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24135 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24137 (help-add-fundoc-usage): Don't add `Not documented'.
24138 (help-function-arglist): Handle closures, subroutines, and new
24139 byte-code-functions.
24140 (help-make-usage): Remove leading underscores.
24141 (describe-function-1): Handle closures.
24142 (describe-variable): Use special-variable-p for completion.
24144 * files.el (lexical-binding): Declare safe.
24146 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24147 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24148 (pcase): Add `let' pattern.
24149 Change memoization so it actually works.
24150 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24151 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24154 * emacs-lisp/macroexp.el: Use lexical binding.
24155 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24156 Don't convert ' to #' without checking that it's indeed quoting
24159 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24160 Use eval-sexp-add-defvars.
24161 (eval-sexp-add-defvars): New fun.
24163 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24165 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24167 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24168 than the internal `byte-compile-lambda'.
24169 (defmethod): Don't hide code under quotes.
24170 (eieio-defmethod): New `code' argument.
24172 * emacs-lisp/eieio-comp.el: Remove.
24174 * emacs-lisp/edebug.el (edebug-eval-defun)
24175 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24176 (edebug-toggle): Avoid `eval'.
24178 * emacs-lisp/disass.el (disassemble-internal): Handle new
24180 (disassemble-1): Handle new byte codes.
24182 * emacs-lisp/cl.el (pushnew): Silence warning.
24184 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24185 (cl-byte-compile-throw): Remove.
24186 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24188 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24191 * emacs-lisp/cconv.el: New file.
24193 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24194 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24195 (byte-compile-initial-macro-environment):
24196 Handle declare-function here.
24197 (byte-compile--lexical-environment): New var.
24198 (byte-stack-ref, byte-stack-set, byte-discardN)
24199 (byte-discardN-preserve-tos): New lap codes.
24200 (byte-interactive-p): Don't use any more.
24201 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24203 (byte-compile-lapcode): Use them and handle new lap codes.
24204 (byte-compile-obsolete): Remove.
24205 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24206 (byte-compile-arglist-warn): Check late def of inlinable funs.
24207 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24208 since they should have been expanded by now.
24209 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24210 (byte-compile-from-buffer): Remove unused second arg.
24211 (byte-compile-preprocess): New function.
24212 (byte-compile-toplevel-file-form): New function to distinguish
24213 file-form calls from outside from file-form calls from hunk-handlers.
24214 (byte-compile-file-form): Simplify.
24215 (byte-compile-file-form-defsubst): Remove.
24216 (byte-compile-file-form-defmumble): Simplify now that
24217 byte-compile-lambda always returns a byte-code-function.
24218 (byte-compile): Preprocess.
24219 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24220 Remove, not used any more.
24221 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24222 (byte-compile-make-args-desc): New funs.
24223 (byte-compile-lambda): Handle lexical functions. Always return
24224 a byte-code-function.
24225 (byte-compile-reserved-constants): New var, to make up room for
24226 closed-over variables.
24227 (byte-compile-constants-vector): Obey it.
24228 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24229 (byte-compile-macroexpand-declare-function): New function.
24230 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24231 byte-code-functions.
24232 (byte-compile-form): Check obsolescence here.
24233 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24234 (byte-compile-variable-ref): Remove.
24235 (byte-compile-dynamic-variable-op): New fun.
24236 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24237 (byte-compile-variable-set): New funs.
24238 (byte-compile-discard): Add 2 args.
24239 (byte-compile-stack-ref, byte-compile-stack-set)
24240 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24241 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24242 macroexpand-all instead.
24243 (byte-compile-quote-form): Remove.
24244 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24245 (byte-compile-bind, byte-compile-unbind): New funs.
24246 (byte-compile-let): Handle let* and lexical binding.
24247 (byte-compile-let*): Remove.
24248 (byte-compile-catch, byte-compile-unwind-protect)
24249 (byte-compile-track-mouse, byte-compile-condition-case):
24250 Handle a new :fun-body form, used for lexical scoping.
24251 (byte-compile-save-window-excursion)
24252 (byte-compile-with-output-to-temp-buffer): Remove.
24253 (byte-compile-defun): Simplify.
24254 (byte-compile-stack-adjustment): New fun.
24255 (byte-compile-out): Use it.
24256 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24258 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24261 * emacs-lisp/byte-opt.el: Use lexical binding.
24262 (byte-inline-lapcode): Remove (to bytecomp).
24263 (byte-compile-inline-expand): Pay attention to inlining to/from
24264 lexically bound code.
24265 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24267 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24268 any more and don't call compiler-macros.
24269 (byte-compile-splice-in-already-compiled-code): Remove.
24270 (byte-code): Don't inline any more.
24271 (disassemble-offset): Receive `bytes' as argument rather than via
24273 (byte-compile-tag-number): Declare before first use.
24274 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24275 `return' even if make-spliceable.
24276 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24277 obsolete interactive-p.
24278 (byte-optimize-lapcode): Optimize new lap-codes.
24279 Don't trip up on new form of `byte-constant' lap code.
24281 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24283 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24285 * custom.el (custom-initialize-default, custom-declare-variable):
24288 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24290 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24291 (COMPILE_FIRST): Add macroexp and cconv.
24292 * makefile.w32-in: Mirror changes in Makefile.in.
24294 * vc/cvs-status.el:
24298 * vc/smerge-mode.el:
24299 * textmodes/bibtex-style.el:
24300 * textmodes/css-mode.el:
24308 * emacs-lisp/smie.el:
24311 * abbrev.el: Use lexical binding.
24313 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24315 * info.el (info-display-manual): New function.
24317 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24319 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24321 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24323 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24324 an entry for that server in rcirc-authinfo. (Bug#8385)
24326 2011-03-31 Glenn Morris <rgm@gnu.org>
24328 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24330 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24332 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24334 * progmodes/python.el (python-default-interpreter)
24335 (python-python-command-args, python-jython-command-args)
24336 (python-which-shell, python-which-args, python-which-bufname)
24337 (python-file-queue, python-comint-output-filter-function)
24338 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24339 variables and functions.
24341 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24343 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24344 (completion-in-region-mode): New minor mode.
24345 (completion-in-region): Use it.
24346 (completion-in-region--data, completion-in-region-mode-map): New vars.
24347 (completion-in-region--postch): New function.
24348 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24350 (completion--capf-wrapper): New function.
24351 (completion-at-point): Use it to track well-behavedness of
24353 (completion-help-at-point): New command.
24355 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24357 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24358 syntax class to search for whitespace on a single line
24359 (Message-ID: <4D938140.4030905@redhat.com>).
24361 2011-03-30 Leo Liu <sdl.web@gmail.com>
24363 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24365 (edit-abbrevs-map): Bind them here.
24366 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24368 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24370 * allout.el (allout-hide-by-annotation, allout-flag-region):
24371 Reduce possibility of overlay leakage by making them volatile.
24373 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24374 hash is not shared between buffers. Mode initialization is
24375 responsible for giving it a useful starting value.
24376 (allout-item-span): Reduce possibility of overlay leakage by
24377 making them volatile.
24378 (allout-widgets-count-buttons-in-region): Add diagnostic function
24379 for tracking down button overlay leaks.
24381 2011-03-29 Leo Liu <sdl.web@gmail.com>
24383 * ido.el (ido-read-internal): Use the default history var
24384 minibuffer-history if no HISTORY is specified.
24386 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24388 * net/imap.el (imap-shell-open, imap-process-connection-type):
24389 Use imap-process-connection-type for 'shell' streams as well as
24390 Kerberos, SSL, other subprocesses.
24392 2011-03-28 Leo Liu <sdl.web@gmail.com>
24394 * abbrev.el (abbrev-table-empty-p): New function.
24395 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24396 nonempty ones. (Bug#5937)
24398 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24400 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24402 2011-03-27 Leo Liu <sdl.web@gmail.com>
24404 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24405 for foreground and background colors.
24406 (ansi-color-make-color-map): Adapt.
24408 2011-03-25 Leo Liu <sdl.web@gmail.com>
24410 * midnight.el (midnight-time-float): Remove. Note it calculates
24411 the microsecond component incorrectly and seconds-to-time does the
24413 Remove redundant (require 'timer).
24415 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24416 (ido-completions): Remove unused arguments. (Bug#8329)
24418 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24420 * minibuffer.el (completion--flush-all-sorted-completions):
24421 Remove itself from hook.
24422 (completion-at-point): Let the functions perform the completion
24423 immediately and return nil or t.
24424 * comint.el (comint-dynamic-complete-functions): Now identical to
24425 completion-at-point-functions.
24426 (comint-dynamic-list-input-ring): Remove unused var `index'.
24427 (comint--match-partial-filename, comint--unquote&expand-filename):
24428 New funs, split from comint-match-partial-filename.
24429 (comint-dynamic-complete): Use completion-at-point.
24430 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24432 2011-03-24 Drew Adams <drew.adams@oracle.com>
24434 * thingatpt.el: Support `defun'.
24436 2011-03-23 Leo Liu <sdl.web@gmail.com>
24438 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24440 * help-mode.el (help-mode-finish): Tweak regexp.
24442 2011-03-23 Glenn Morris <rgm@gnu.org>
24444 * eshell/esh-opt.el (eshell-eval-using-options):
24445 Do not bind unused local variable `eshell-option-stub'.
24447 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24449 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24451 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24452 keymap variable in `with-no-warnings' to avoid a warning when the
24453 keymap has been already `defconst'ed.
24455 2011-03-22 Leo Liu <sdl.web@gmail.com>
24457 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24458 encode all chars in abbrevs; otherwise use emacs-mule or
24459 utf-8-emacs. (Bug#8308)
24461 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24463 * simple.el (backward-delete-char-untabify):
24464 Avoid warning about using `delete-backward-char'.
24466 * image.el (image-type-file-name-regexps): Make it variable.
24467 `imagemagick-register-types' modifies it, and the user may want
24468 to add new extensions for known image types.
24469 (imagemagick-register-types): Throw error if not using ImageMagick.
24471 2011-03-22 Leo Liu <sdl.web@gmail.com>
24473 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24474 located before rcirc-prompt-end-marker.
24475 (rcirc-complete): Error if point is not after rcirc prompt.
24476 Handle the case when table is nil.
24477 (rcirc-user-authenticated): Define to fix compiler warning.
24479 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24481 * custom.el (custom--inhibit-theme-enable): Make it affect only
24482 custom-theme-set-variables and custom-theme-set-faces.
24483 (provide-theme): Ignore custom--inhibit-theme-enable.
24484 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24485 (custom-enabling-themes): Delete variable.
24486 (enable-theme): Accept only loaded themes as arguments.
24487 Ignore the special custom-enabled-themes variable.
24488 (custom-enabled-themes): Forbid themes from setting this.
24489 Eliminate use of custom-enabling-themes.
24490 (custom-push-theme): Quote "changed" custom var entry.
24492 2011-03-21 Leo Liu <sdl.web@gmail.com>
24494 * ido.el (ido-read-internal): Add ido-selected to history instead
24497 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24499 * subr.el (deferred-action-list, deferred-action-function):
24502 2011-03-21 Leo Liu <sdl.web@gmail.com>
24504 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24505 change on 2011-02-13 (bug#8309).
24507 * minibuffer.el (read-file-name-function): Change default value.
24508 (read-file-name--defaults): Rename from read-file-name-defaults.
24509 (read-file-name-default): Rename from read-file-name.
24510 (read-file-name): Call read-file-name-function.
24512 2011-03-21 Glenn Morris <rgm@gnu.org>
24514 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24517 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24519 * cus-theme.el: Add missing provide statement.
24520 (customize-create-theme): Extract theme value correctly.
24521 (custom-theme-visit-theme): Autoload.
24522 (customize-create-theme): Prompt before inserting default faces.
24524 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24526 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24527 units and musical notes.
24529 2011-03-20 Leo Liu <sdl.web@gmail.com>
24531 * ido.el (ido-read-internal): Use completing-read-default.
24532 (ido-completing-read): Fix compatibility with completing-read.
24534 2011-03-20 Christian Ohler <ohler@gnu.org>
24536 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24537 (ert-delete-all-tests): Use `called-interactively-p' rather than
24539 (ert--make-xrefs-region): Respect END.
24541 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24543 * dired-aux.el (dired-create-directory): Signal an error if the
24544 directory already exists (Bug#8246).
24546 * facemenu.el (list-colors-display): Call list-faces-display
24547 inside with-help-window.
24548 (list-colors-print): Use display property to align the final
24549 column, instead of checking window-width.
24551 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24553 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24554 windows-nt systems.
24555 (emerge-protect-metachars): Quote correctly for ms-dos and
24556 windows-nt systems.
24558 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24560 * info.el (info-initialize): Replace all uses of `:' with
24561 path-separator for compatibility with non-Unix systems.
24562 Cache quoting of path-separator. (Bug#8258)
24564 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24566 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24567 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24568 (mouse-avoidance-mode): Fix typos in docstrings.
24570 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24572 * startup.el (package-subdirectory-regexp): Move from package.el.
24573 Omit \\` and \\', and let callers add them.
24575 * emacs-lisp/package.el (package-strip-version)
24576 (package-load-all-descriptors): Add \\` and \\' to
24577 package-subdirectory-regexp before using it.
24578 (package-untar-buffer): New arg DIR; ensure that file untars only
24579 into this expected directory. Remove superfluous delete-region.
24580 (package-unpack): Caller changed.
24581 (package-tar-file-info): Use package-subdirectory-regexp.
24583 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24585 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24586 diff-mode-shared-map (bug#8284).
24587 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24589 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24591 * calendar/time-date.el (format-seconds): Use assoc instead of
24592 assoc-string, since assoc-string doesn't exist in XEmacs.
24594 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24596 * custom.el (custom-known-themes): Reflow docstring.
24597 (custom-theme-load-path): Fix typo in docstring.
24598 (load-theme): Fix typo in error message.
24599 (custom-available-themes, custom-variable-theme-value):
24600 Use `let', not `let*'.
24602 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24604 * calc/README: Mention inclusion of musical notes.
24606 * calc/calc-units.el (calc-lu-quant): Rename from
24607 `calc-logunits-quantity'.
24608 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24609 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24610 (calc-db): Rename from `calc-dblevel'.
24611 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24612 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24613 (calc-np): Rename from `calc-nplevel'.
24614 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24615 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24616 (calc-lu-plus): Rename from `calc-logunits-add'.
24617 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24618 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24619 (calc-lu-minus): Rename from `calc-logunits-sub'.
24620 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24621 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24622 (calc-lu-times): Rename from `calc-logunits-mul'.
24623 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24624 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24625 (calc-lu-divide): Rename from `calc-logunits-div'.
24626 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24627 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24629 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24630 functions being autoloaded.
24632 * calc/calc.el (calc-lu-power-reference): Rename from
24633 `calc-logunits-power-reference'.
24634 (calc-lu-field-reference): Rename from
24635 `calc-logunits-field-reference'.
24637 * calc/calc-help.el (calc-l-prefix-help):
24638 Mention musical note functions.
24640 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24642 * minibuffer.el (completion-all-sorted-completions):
24643 Use :completion-cycle-penalty text property if present.
24645 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24647 * allout.el (allout-yank-processing): Adjust for new rebulleting
24648 regime so bullet being yanked is used without prompting the user
24651 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24653 * startup.el (command-line): Warn the user that _emacs is deprecated.
24655 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24657 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24658 (delphi-verbose, delphi-comment-face, delphi-string-face)
24659 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24660 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24661 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24662 (delphi-new-comment-line, delphi-font-lock-defaults)
24663 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24664 Fix typos in docstrings.
24666 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24668 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24669 Invert the roles of character and string values for INSTEAD, so a
24670 string is used for the more common case of a defaulting prompt.
24672 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24674 * progmodes/ruby-mode.el (ruby-backward-sexp):
24675 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24676 * play/gamegrid.el (gamegrid-make-face):
24677 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24678 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24679 * notifications.el (notifications-notify):
24680 * net/xesam.el (xesam-search-engines):
24681 * net/quickurl.el (quickurl-list-insert):
24682 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24684 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24686 * startup.el (command-line): Update package subdirectory regexp.
24688 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24690 * allout.el (allout-abbreviate-flattened-numbering)
24691 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24693 * subr.el (read-char-choice): Only show the cursor after the prompt,
24694 not after the answer.
24696 2011-03-15 Kevin Ryde <user42@zip.com.au>
24698 * help-fns.el (variable-at-point): Skip leading quotes, if any
24701 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24703 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24706 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24708 * shell.el (shell): When called interactively, offer to change the
24709 shell file name on remote hosts.
24711 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24713 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24714 integration for LDAP parameters. The host, base, user or binddn,
24715 and secret tokens can be specified in a netrc file, for instance.
24716 This is optional because an `auth-source' parameter must be
24717 specified in the search attributes.
24719 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24721 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24723 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24725 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24726 into declaration. Remove redundant and harmful binding.
24728 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24730 * files.el (file-ownership-preserved-p): Pass `integer' as an
24731 explicit 2nd argument to `file-attributes'. If the file's owner
24732 is the Administrators group on Windows, and the current user is
24733 Administrator, consider that a match.
24735 * server.el (server-ensure-safe-dir): Consider server directory
24736 safe on MS-Windows if its owner is the Administrators group while
24737 the current Emacs user is Administrator. Use `=' to compare
24738 numerical UIDs, since they could be integers or floats.
24740 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24742 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24744 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24746 Sync with Tramp 2.2.1.
24748 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24750 * net/trampver.el: Update release number.
24752 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24754 * progmodes/compile.el (compilation--previous-directory): Fix up
24755 various nil/dead-marker mismatches (bug#8014).
24756 (compilation-directory-properties, compilation-error-properties):
24757 Don't call it at a position past the one we're about to change.
24759 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24760 Disable obsolescence warnings in the file that declares it.
24762 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24764 * allout-widgets.el (allout-widgets-tally):
24765 Initialize allout-widgets-tally as a hash table rather than nil to
24766 prevent mode-line redisplay warnings. Also, clarify the module
24767 description and fix a comment typo.
24769 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24771 * help-fns.el (describe-variable): Don't complete keywords.
24772 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24774 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24776 * emacs-lisp/package.el (package-version-join): Impose a standard
24777 string representation for pre/alpha/beta version lists.
24778 (package-unpack-single): Standardize the directory name by passing
24779 it through package-version-join.
24780 (package-strip-rcs-id): Accept any version string that does not
24781 signal an error in version-to-list.
24783 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24785 * simple.el (delete-trailing-whitespace): Return nil for the
24786 benefit of `write-file-functions'.
24788 2011-03-10 Glenn Morris <rgm@gnu.org>
24790 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24792 * vc/vc-git.el (vc-git-program): New option.
24793 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24794 (vc-git--call): Use it.
24796 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24798 * cus-edit.el (Custom-newline): If no button at point, look
24799 for a subgroup button at start-of-line. (Bug#2298)
24801 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24803 2011-03-10 Julien Danjou <julien@danjou.info>
24805 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24806 `cursor-type' is nil.
24808 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24810 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24812 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24814 * allout.el: Change so yank of distinctive-bullet items
24815 preserves the existing header prefix, rebulleting it if necessary,
24816 rather than replacing it. This is necessary for proper operation
24817 of cooperative addons like allout-widgets.
24818 (allout-make-topic-prefix, allout-rebullet-heading):
24819 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24820 value as alternate bullet to be used, instead of prompting the user
24821 for a bullet character.
24823 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24825 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24826 Do not use `tramp-file-name-port', because this returns also
24827 `tramp-default-port'.
24829 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24831 * net/rcirc.el (rcirc-handler-001): Remove useless
24832 with-rcirc-process-buffer.
24833 (rcirc-check-auth-status): Swap arguments to string-match.
24835 2011-03-09 Glenn Morris <rgm@gnu.org>
24837 * shell.el (shell-mode):
24838 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24840 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24841 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24843 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24845 * emacs-lisp/package.el (package-refresh-contents)
24846 (package-menu-execute): Use condition-case-no-debug.
24848 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24850 * simple.el (shell-command-to-string): Use `process-file'.
24852 * emacs-lisp/package.el (package-tar-file-info): Handle also
24855 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24856 Use `equal' for upload base check.
24858 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24860 * textmodes/texinfo.el (texinfo-environments):
24861 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24863 2011-03-08 Glenn Morris <rgm@gnu.org>
24865 * cus-start.el (cursor-in-non-selected-windows):
24866 Fix :set quoting oddness. (Bug#8192)
24868 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24869 in some setf expressions. (Bug#2159)
24871 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24873 * custom.el (custom-available-themes): Return themes in
24874 alphabetical order.
24876 See ChangeLog.15 for earlier changes.
24878 ;; Local Variables:
24882 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24884 This file is part of GNU Emacs.
24886 GNU Emacs is free software: you can redistribute it and/or modify
24887 it under the terms of the GNU General Public License as published by
24888 the Free Software Foundation, either version 3 of the License, or
24889 (at your option) any later version.
24891 GNU Emacs is distributed in the hope that it will be useful,
24892 but WITHOUT ANY WARRANTY; without even the implied warranty of
24893 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24894 GNU General Public License for more details.
24896 You should have received a copy of the GNU General Public License
24897 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.