1 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
4 (tramp-adb-handle-process-file): Remove superfluous setting.
5 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
6 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
7 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
9 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
11 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
12 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
13 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
14 Use dict-key rather than dict-name for the error message.
16 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
19 when reverting (bug#13831).
21 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
24 Always expand affix-file before storing to protect against changed
26 (ispell-print-if-debug): Make sure message is printed at the end
29 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
31 * net/tramp.el (tramp-obsolete-methods): New defconst.
32 (tramp-warned-obsolete-methods): New defvar.
33 (tramp-find-method): Check for obsolete methods. Map them to a
34 replacement method if appropriate.
36 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
38 (top): Remove completion functions for "scp1", "scp2", "ssh1",
41 2013-02-28 Dale Sedivec <dale@codefu.org>
43 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
44 Return valid syntax-table property value when converting
45 quotes within text from string syntax to punctuation syntax (bug#13844).
47 2013-02-28 Juri Linkov <juri@jurta.org>
49 * dired-aux.el (dired-diff): If file at point is a backup file,
50 use its original as the default value, and reverse the order
51 of arguments to the `diff' call. Doc fix. (Bug#13772)
53 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
55 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
56 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
58 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
60 Initial support for hunspell dictionaries auto-detection (Bug#13639)
62 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
63 Ask hunspell about available and default dictionaries.
64 (ispell-parse-hunspell-affix-file): Extract relevant info from
66 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
67 `ispell-dictionary-alist' entry for given dictionary after info
68 provided by `ispell-parse-hunspell-affix-file'.
69 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
70 of parsed hunspell dicts and associated affix files.
71 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
72 of parsed hunspell dicts and associated parameters.
73 (ispell-set-spellchecker-params):
74 Call `ispell-find-hunspell-dictionaries' if hunspell and not
76 (ispell-start-process):
77 Call `ispell-hunspell-fill-dictionary-entry' for current
78 dictionary if it is not initialized.
80 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
82 * imenu.el: Comment nitpicks.
84 2013-02-28 Sam Steingold <sds@gnu.org>
86 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
87 See <http://stackoverflow.com/questions/14720205>.
89 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
91 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
92 (net-utils-mode): Use it.
93 (net-utils--revert-cmd): New var.
94 (net-utils-run-simple): Set it, and remove bogus interactive spec.
95 (traceroute): Use net-utils-run-simple.
97 2013-02-28 Glenn Morris <rgm@gnu.org>
99 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
101 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
103 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
104 (doc-view-fallback-mode): Remove overlays here.
105 (doc-view-toggle-display): Instead of here. Don't throw away
106 image-mode-winprops-alist.
107 (doc-view-goto-page): Don't mess with hscroll.
109 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
111 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
112 &optional (bug#13819).
114 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
116 * net/tramp-adb.el (tramp-adb-parse-device-names)
117 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
119 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
121 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
122 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
123 defined. POSIX environments fall back to the "C" locale then and
124 emit a warning, which shall be suppressed.
126 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
128 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
129 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
131 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
133 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
135 2013-02-25 Juri Linkov <juri@jurta.org>
137 * replace.el (read-regexp): Let-bind `default' to the first
138 element of `defaults' if it's a list, otherwise it should be
139 a string or nil. Let-bind `suggestions' to `defaults' if it's
140 a list, otherwise make a list with the string value. Doc fix.
143 2013-02-25 Eli Zaretskii <eliz@gnu.org>
145 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
146 that match "\`\.#", to avoid compiling lock files, even if they
147 are readable (as they are on MS-Windows).
149 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
151 * files.el (basic-save-buffer): Remove redundant directory-creation.
153 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
155 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
156 Add option to force `pi' to remain symbolic.
157 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
158 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
159 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
160 derivatives, when necessary.
162 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
164 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
165 (ps-mode-octal-region): Use string-make-unibyte.
167 2013-02-23 Glenn Morris <rgm@gnu.org>
169 * emulation/viper-cmd.el (viper-submit-report):
170 * progmodes/ps-mode.el (ps-mode-maintainer-address):
171 * progmodes/vera-mode.el (vera-mode-help-address):
172 * textmodes/artist.el (artist-maintainer-address):
173 * textmodes/reftex.el (reftex-report-bug):
174 * vc/ediff-util.el (ediff-submit-report):
175 Add bug-gnu-emacs to bug report address.
177 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
178 Remove bug report entries.
179 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
181 * emacs-lisp/bytecomp.el (byte-compile-level): New.
182 (byte-compile-file, byte-compile-from-buffer):
183 Use separate input/output buffers for each level of recursive
184 byte-compile-file calls. (Bug#13787)
186 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
188 * net/tramp.el (tramp-methods): Fix docstring.
189 (tramp-ssh-controlmaster-options): Rename it from
190 `tramp-ssh-controlmaster-template'. Return a string.
191 (tramp-default-method): Adapt check for
192 `tramp-ssh-controlmaster-options'.
194 * net/tramp-sh.el (tramp-methods):
195 Replace `tramp-ssh-controlmaster-template' by "%c".
196 (tramp-do-copy-or-rename-file-out-of-band)
197 (tramp-maybe-open-connection): Use it in format spec. Ensure,
198 that it is applied for the first hop only.
200 2013-02-22 Juri Linkov <juri@jurta.org>
202 * isearch.el (isearch-lazy-highlight-new-loop):
203 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
204 to `isearch-other-end' if it is not nil. (Bug#13402)
206 * replace.el (replace-highlight): Let-bind `isearch-other-end'
209 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
210 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
211 and `isearch-error' to nil.
213 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
215 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
217 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
218 Handle multibyte file names.
220 2013-02-22 Glenn Morris <rgm@gnu.org>
222 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
223 (sgml-transformation-function): Give it a :set function.
226 * cmuscheme.el (scheme-buffer):
227 * progmodes/inf-lisp.el (inferior-lisp-buffer):
228 * progmodes/tcl.el (inferior-tcl-buffer):
229 * textmodes/tex-mode.el (tex-command): Doc fixes.
231 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
233 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
235 2013-02-21 Bastien Guerry <bzg@gnu.org>
237 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
239 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
241 * progmodes/python.el (python-info-current-defun):
242 Enhance match-data cluttering prevention.
244 2013-02-21 Glenn Morris <rgm@gnu.org>
246 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
247 loaded while outline-regexp is let bound. (Bug#9584)
249 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
251 * progmodes/python.el (python-info-current-defun): Fix failed
252 defun name retrieval because of unwanted match-data cluttering.
254 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
256 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
257 defconst. Apply independent check for ControlPersist.
259 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
260 temporarily, via "env".
262 2013-02-21 Glenn Morris <rgm@gnu.org>
264 * info.el (Info-enable-edit): Remove.
265 (Info-edit): Disable it rather than using Info-enable.
266 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
267 (Info-cease-edit): Make editing of Info files obsolete.
269 * informat.el (Info-tagify):
270 Handle buffers not visiting files. (Bug#13763)
272 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
274 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
276 2013-02-21 Glenn Morris <rgm@gnu.org>
278 * files.el (basic-save-buffer): Move check for existing parent
279 directory after hooks. (Bug#13773)
281 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
283 * simple.el (command-execute): Move from C. Add obsolete check.
284 (extended-command-history): Move from C.
286 2013-02-20 Ulrich Müller <ulm@gentoo.org>
288 * jka-cmpr-hook.el (jka-compr-compression-info-list)
289 (jka-compr-mode-alist-additions): Handle .txz suffix for
290 XZ-compressed tar archives (bug#13770).
292 2013-02-20 Bastien Guerry <bzg@gnu.org>
294 * outline.el (outline-regexp, outline-heading-end-regexp):
295 Make variables, not options (bug#13731).
297 2013-02-20 Glenn Morris <rgm@gnu.org>
299 * image.el (image-current-frame): Change from variable to function.
300 (image-show-frame): Rename from image-nth-frame. Update callers.
301 * image-mode.el (image-multi-frame): New variable.
302 (image-mode-map, image-mode, image-goto-frame):
303 Use image-multi-frame rather than image-current-frame.
304 (image-mode, image-goto-frame): Use image-current-frame as
305 function rather than as variable.
307 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
308 * emacs-lisp/cl-macs.el (cl--make-type-test)
309 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
311 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
313 * net/tramp-cache.el (tramp-get-hash-table): New defun.
314 (tramp-get-file-property, tramp-set-file-property)
315 (tramp-get-connection-property, tramp-set-connection-property): Use it.
316 (tramp-flush-file-property, tramp-flush-directory-property):
317 Rename argument to KEY.
318 (tramp-flush-connection-property): Simplify a little bit.
319 (tramp-connection-property-p): New defun.
320 (top): Reapply saved values only if there isn't a corresponding
321 entry in `tramp-connection-properties'.
323 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
325 * progmodes/python.el (python-indent-context):
326 Fix python-info-line-ends-backslash-p call.
327 (python-info-line-ends-backslash-p)
328 (python-info-beginning-of-backslash): Respect line-number argument.
329 (python-info-current-line-comment-p):
330 Fix behavior when not at beginning-of-line.
331 (python-util-position): Remove function.
332 (python-util-goto-line): New function.
334 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
336 * eshell/em-unix.el (eshell/su): Require tramp.
337 (eshell/sudo): Require tramp. Remove now unnecessary check.
339 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
340 `tramp-current-connection' in order to avoid an error when several
341 commands are invoked in a short time in eshell and friends.
343 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
345 Cleanup some of EIEIO's namespace.
346 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
347 Use it to define all the class-* and object-* field accessors (renamed
348 to eieio--class-* and eieio--object-*). Update all uses.
349 (eieio--class-num-slots, eieio--object-num-slots): Rename from
350 class-num-slots and object-num-slots.
351 (eieio--check-type): New macro.
352 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
353 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
354 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
355 (object-assoc-list-safe): Use it.
356 (eieio-defclass): Tighten regexp.
357 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
358 Remove unreachable code.
359 (object-class-fast): Declare obsolete.
360 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
361 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
362 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
363 Rename from class-name, object-name, object-set-name-string,
364 object-class, object-class-name, class-parents, class-children,
365 class-precedence-list, class-parent; with obsolete alias.
366 (class-of, class-direct-superclasses, class-direct-subclasses):
368 (eieio-defmethod): Use `memq'; remove unreachable code.
369 * emacs-lisp/eieio-base.el (eieio-persistent-read):
370 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
371 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
374 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
376 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
377 Use font-lock-keyword-face for macros and special forms (bug#8345).
379 2013-02-17 Didier Verna <didier@didierverna.net>
381 * net/network-stream.el (network-stream-open-starttls):
382 Check that response to the starttls-command is non-nil. (Bug#13706)
384 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
386 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
387 Don't assume all identifier chars have syntax word.
388 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
389 Remove bar-not-symbol. Adjust callers.
390 (lisp-mode-variables): Don't set a font-lock-syntax-table.
392 2013-02-17 Leo Liu <sdl.web@gmail.com>
394 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
396 2013-02-17 Glenn Morris <rgm@gnu.org>
398 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
400 * image-mode.el (image-mode-map): Add image-dired menu entry.
402 * image-dired.el (tumme): Make this alias obsolete.
404 2013-02-16 Glenn Morris <rgm@gnu.org>
406 * image.el (image-animated-types): Remove.
407 (image-multi-frame-p): Rename from image-animated-p, and generalize.
408 (image-animated-p): Make obsolete alias.
409 (image-animate, image-nth-frame, image-animate-timeout):
410 Use image-multi-frame-p.
411 (image-animate-timeout): If no delay, use image-default-frame-delay.
412 * image-mode.el (image-mode, image-toggle-animation):
413 Use image-multi-frame-p. (Bug#763, bug#10739)
414 (image-mode): Adjust startup message for a multi-frame image.
416 * image-mode.el (image-mode-map): Give it a menu.
418 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
420 * net/tramp-cache.el (tramp-connection-properties): New customer
422 (tramp-get-connection-property): Use it.
424 * net/tramp-compat.el (top): Require 'trampver.
426 * net/tramp-sh.el (tramp-remote-process-environment):
427 Set tramp-autoload cookie.
429 2013-02-16 Kevin Ryde <user42@zip.com.au>
431 * info-look.el (info-lookup-select-mode): If major-mode has no
432 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
434 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
436 * replace.el (read-regexp): Tighten the regexp that matches tag.
437 When tag is retrieved with `find-tag-default', use regexp that
438 matches tag at point. Also update docstring (Bug#13687).
440 2013-02-16 Eli Zaretskii <eliz@gnu.org>
442 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
443 add watch for the file, not its parent directory, since w32notify
444 sets up the watch for the directory internally. (Bug#13725)
446 2013-02-16 Glenn Morris <rgm@gnu.org>
448 * image.el (image-default-frame-delay): New variable.
449 (image-animated-p): Use image-default-frame-delay.
450 (image-minimum-frame-delay): New constant.
451 (image-animate-timeout): Use image-minimum-frame-delay.
453 * image.el (image-nth-frame): New, split from image-animate-timeout.
454 (image-animate-timeout): Use image-nth-frame.
455 * image-mode.el (image-goto-frame, image-next-frame)
456 (image-previous-frame): New commands.
457 (image-mode-map): Add new frame commands.
459 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
461 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
462 If col-desc already has help-echo, use it. (Bug#13563)
464 2013-02-16 Glenn Morris <rgm@gnu.org>
466 * image.el (image-current-frame): New variable.
467 (image-animate-timeout): Set image-current-frame.
468 * image-mode.el (image-mode): For animated images,
469 display a frame counter via mode-line-process.
471 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
473 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
475 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
477 2013-02-15 Alan Mackenzie <acm@muc.de>
479 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
480 global minor mode has been enabled, call the minor mode function
481 for a new buffer once only, after the major mode hook, whilst
482 allowing that hook explicitly to disable the minor mode.
483 (MODE-disable-in-buffer): New (generated) function.
484 (disable-MODE): New (generated) buffer local variable.
486 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
488 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
489 `iswitchb-next-match' and `iswitchb-prev-match' resply.
490 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
491 `ido-next-match' and `ido-prev-match' resply.
492 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
493 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
494 `icomplete-backward-completions' (Bug#13708).
496 2013-02-15 Glenn Morris <rgm@gnu.org>
498 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
500 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
502 * net/goto-addr.el (goto-address-fontify): Add start and end args.
503 (goto-address-fontify-region): Use them instead of narrowing, so
504 syntax-ppss has access to the whole buffer.
506 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
508 * progmodes/python.el: Explain how to restore "cc-mode"-like
509 forward-sexp movement in header documentation (Bug#13642).
510 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
511 comments and strings (GH bug 114).
513 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
515 * progmodes/python.el (python-info-current-defun): Fix current
516 defun detection (Bug#13618).
518 2013-02-15 Chong Yidong <cyd@gnu.org>
520 * xml.el (xml-parse-string): Fix typo in handling of bad character
523 2013-02-15 Glenn Morris <rgm@gnu.org>
525 * play/fortune.el (fortune-compile): Simplify and fix previous change.
527 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
529 * net/tramp.el (tramp-debug-message):
530 Add `tramp-condition-case-unless-debug'.
531 (tramp-debug-on-error): New defvar.
532 (tramp-condition-case-unless-debug): New defun.
533 (tramp-file-name-handler): Use it.
535 2013-02-14 Juri Linkov <juri@jurta.org>
537 * info.el (Info-isearch-filter): Treat non-nil values of
538 `search-invisible' including its default value `open'
539 like the value `t' to match hidden text. (Bug#13402)
541 2013-02-14 Glenn Morris <rgm@gnu.org>
543 * help-fns.el (find-lisp-object-file-name): Give special treatment
544 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
546 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
548 * net/quickurl.el (quickurl-save-urls):
549 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
551 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
553 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
554 depth for unfinished percent literal. Not using it in the caller.
555 (ruby-move-to-block): Jump over multiline literals of all types,
556 ignoring code-looking contents inside them.
557 (ruby-add-log-current-method): Improve performance at the expense
558 of accuracy. `ruby-block-contains-point' is relatively slow, so
559 only use it for method and singleton class blocks.
561 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
563 Use ControlMaster where applicable. (Bug#13677)
565 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
566 replacing `tramp-detect-ssh-controlmaster'.
567 (tramp-default-method): Use it.
569 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
570 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
572 [scpc, rsyncc]: Remove methods.
573 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
575 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
576 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
578 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
580 * emacs-lisp/package.el (package--initialized): Move before first use.
582 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
584 * icomplete.el (icomplete-hide-common-prefix): New user option.
585 (icomplete-first-match): New face.
586 (icomplete-completions): Correct handling of "complete but not
589 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
591 * descr-text.el (describe-char): Display the script (bug#13698).
593 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
595 * tmm.el: Use lexical-binding and current-active-maps.
596 (tmm-menubar): Use map-keymap and pcase.
597 (tmm--completion-table): New function.
598 (tmm-prompt): Use it to fix the menu order.
599 (tmm-get-keybind): Use current-active-maps.
601 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
603 Add dired-hide-details-mode. (Bug#6799)
605 * locate.el (locate-mode): Set parent mode property to dired-mode.
607 * find-dired.el (find-dired): Call dired-insert-set-properties on
608 initial information line. Set process mark on end of buffer.
609 (find-dired-sentinel):
610 Call dired-insert-set-properties on summary.
612 * dired.el (dired-hide-details-hide-symlink-targets)
613 (dired-hide-details-hide-information-lines): New options.
614 (dired-insert-directory):
615 Set properties after final treatment of output.
616 (dired-insert-set-properties):
617 Set dired-hide-details-* properties.
618 (dired-mode-map): Bind dired-hide-details-mode.
619 (dired-mode): Set buffer-invisibility-spec to a list.
620 (dired-next-line): Skip hidden lines.
621 (dired-previous-line): Use dired-next-line.
622 (dired-hide-details-mode): New minor mode.
623 (dired-hide-details-update-invisibility-spec): New function.
625 2013-02-13 Glenn Morris <rgm@gnu.org>
627 * play/yow.el: Move to obsolete/. (Bug#9384)
629 2013-02-13 Juri Linkov <juri@jurta.org>
631 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
632 to select `ediff-control-frame' and set input focus correctly on Xfce.
635 2013-02-13 Juri Linkov <juri@jurta.org>
637 * image-mode.el (image-mode-map):
638 * doc-view.el (doc-view-mode-map):
639 * vc/ediff-util.el (ediff-setup-keymap):
640 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
642 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
644 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
645 performance. Instead of recalculating indentation fully for each
646 line, sum up indentation depth based only on visited lines.
647 (ruby-parse-partial): Increase the depth after "do" even when END
649 (ruby-parse-partial): When END is in the middle of a percent
650 literal, increase the depth if the delimiter chars belong to the
653 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
655 * play/fortune.el (fortune-compile): Also make the compiled file
656 if it does not exist at all, not just if it is old. (Bug#5338)
658 2013-02-13 Glenn Morris <rgm@gnu.org>
660 * emacs-lisp/package.el (package-menu-execute): Doc fix.
662 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
664 * lisp/emacs-lisp/package.el (package-menu-execute):
665 Add optional noquery argument. (Bug#13625)
667 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
669 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
670 if DIR exists and PARENTS is non-nil.
672 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
674 * progmodes/js.el (js--multi-line-declaration-indentation):
675 Silence byte-compiler warning.
677 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
679 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
681 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
682 only if it doesn't exist.
684 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
687 2013-02-12 Tassilo Horn <tsdh@gnu.org>
689 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
690 UserInstallation when calling soffice to work around LibreOffice
693 2013-02-12 Glenn Morris <rgm@gnu.org>
695 * files.el (basic-save-buffer):
696 Offer to create a non-existing directory. (Bug#3016)
698 * calc/calc-graph.el (calc-graph-show-dumb):
699 * calendar/calendar.el (calendar-mode-map):
700 * cus-edit.el (custom-mode-map):
701 * ehelp.el (electric-help-map):
702 * emulation/vip.el (vip-mode-map):
703 * epa.el (epa-key-list-mode-map):
704 * info.el (Info-mode-map):
705 * mail/rmail.el (rmail-mode-map):
706 * mail/rmailsum.el (rmail-summary-mode-map):
707 * man.el (Man-mode-map):
708 * net/newst-plainview.el (newsticker-mode-map):
709 * progmodes/cpp.el (cpp-edit-mode-map):
710 * progmodes/grep.el (grep-mode-map):
711 * progmodes/idlw-help.el (idlwave-help-mode-map):
712 * simple.el (special-mode-map):
713 * startup.el (splash-screen-keymap):
714 * view.el (view-mode-map):
715 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
717 2013-02-11 Elias Pipping <pipping@lavabit.com>
719 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
722 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
724 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
726 2013-02-11 Glenn Morris <rgm@gnu.org>
728 * vc/diff.el (diff-use-labels): New variable.
729 (diff-no-select): Use --label rather than -L, and first
730 check that it is supported. (Bug#11067)
732 * files.el (enable-dir-local-variables): New variable.
733 (hack-dir-local-variables): Respect enable-dir-local-variables.
734 * tutorial.el (help-with-tutorial):
735 Ignore directory-local variables. (Bug#11127)
737 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
738 (vc-svn-global-switches): ... to here. (Bug#13513)
740 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
742 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
743 Handle "foo (bar, default: xxx): " prompts.
745 2013-02-10 Chong Yidong <cyd@gnu.org>
747 * files.el (basic-save-buffer-1): Do not set
748 buffer-file-coding-system-explicit (Bug#4533).
750 * mail/emacsbug.el (report-emacs-bug): Change binding of
751 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
753 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
755 * calc/calc.el (calc-allow-units-as-numbers): New variable.
756 * calc/calc-units.el (calc-convert-units): Use new variable.
758 2013-02-09 Eli Zaretskii <eliz@gnu.org>
760 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
762 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
765 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
766 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
767 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
768 coding-system-for-write instead.
770 * jka-compr.el (jka-compr-write-region): Don't bind
773 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
776 * files.el (file-name-buffer-file-type-alist): Remove defvar.
777 (insert-file-contents-literally): Remove reference to
778 file-name-buffer-file-type-alist.
780 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
782 (find-buffer-file-type-match, find-buffer-file-type): Remove.
783 (find-buffer-file-type-coding-system): Remove references to
784 find-buffer-file-type-match, find-buffer-file-type, and
786 Don't put find-buffer-file-type-coding-system into
787 file-coding-system-alist.
788 (find-file-binary, find-file-text): Bind coding-system-for-read
789 instead of file-name-buffer-file-type-alist.
791 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
793 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
794 converter (Bug#13622).
795 (doc-view-unoconv-program): Make obsolete alias.
796 (doc-view-odf->pdf-converter-program): New variable.
797 (doc-view-odf->pdf-converter-function): New variable.
798 (doc-view-mode-p): Use it.
799 (doc-view-odf->pdf-converter-unoconv):
800 Rename from `doc-view-odf->pdf-converter-unoconv'.
801 (doc-view-odf->pdf-converter-soffice): New function.
802 (doc-view-convert-current-doc):
803 Use `doc-view-odf->pdf-converter-function'.
805 2013-02-09 Chong Yidong <cyd@gnu.org>
807 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
808 view-echo-area-messages (Bug#13340).
810 * help.el (view-echo-area-messages): Use display-buffer.
812 * dired-x.el (dired-do-run-mail): Prompt for confirmation
815 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
817 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
818 Eval body right away, now that we do eager macroexpansion (bug#13605).
820 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
821 (fundamental-mode): Use run-mode-hooks.
823 * eshell/esh-proc.el (eshell/kill): Fix last change.
824 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
826 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
828 * eshell/esh-proc.el (eshell/kill): Rewrite.
830 * eshell/em-ls.el (show-almost-all): Declare.
831 (eshell-do-ls): Add support for -A argument.
833 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
835 * icomplete.el (icomplete-forward-completions)
836 (icomplete-backward-completions): Handle corner case (bug#13602).
838 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
840 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
841 be nil. Handle this. (Bug#13636)
843 2013-02-07 Richard Stallman <rms@gnu.org>
845 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
846 `save-buffer-coding-system'.
848 2013-02-07 Alan Mackenzie <acm@muc.de>
850 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
851 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
852 (c-parse-state-get-strategy): Don't return 'BOD any more.
853 (c-append-lower-brace-pair-to-state-cache):
854 Extra parameter HERE instead of narrowing.
855 Widen to top of buffer before searching backwards for a brace pair.
856 (c-state-push-any-brace-pair): Add HERE parameter to function call.
857 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
858 Narrow to parameter HERE, in place of being called narrowed.
859 (c-remove-stale-state-cache): Extra parameter HERE in place of
860 narrowing. Check there's an open brace in the cache before
861 searching for its match.
862 (c-invalidate-state-cache-1): Add HERE parameter to function call.
863 (c-parse-state-1): Don't narrow here for 'forward strategy,
864 instead passing extra parameter HERE to several functions.
865 Remove 'BOD strategy.
867 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
869 * emacs-lisp/package.el (describe-package-1): Tell what archive is
870 used to install the package.
872 2013-02-06 Glenn Morris <rgm@gnu.org>
874 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
875 if we can't get user input. (Bug#6567)
877 * startup.el (command-line): If simple.el is missing,
878 test and warn about for some possible causes.
880 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
882 * cus-start.el (all): Add ns-use-native-fullscreen.
884 2013-02-05 Glenn Morris <rgm@gnu.org>
886 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
888 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
889 Fix directory creation in fallback case.
891 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
893 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
894 (vc-update-change-log): Use dolist.
896 2013-02-04 Chong Yidong <cyd@gnu.org>
898 * thingatpt.el: Rewrite the URL detection routines, absorbing some
900 (thing-at-point-beginning-of-url-regexp): New var.
901 (thing-at-point-uri-schemes): Update list of URI schemes.
902 (thing-at-point-url-regexp): Variable deleted.
903 (thing-at-point-markedup-url-regexp): Disallow newlines.
904 (thing-at-point-newsgroup-regexp)
905 (thing-at-point-newsgroup-heads)
906 (thing-at-point-default-mail-uri-scheme): New variables.
907 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
908 method to find the possible bounds of the URI at point.
909 New optional argument to find ill-formed URIs.
910 (thing-at-point-url-at-point): Rewrite. New arguments for finding
911 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
912 the scheme-adding heuristics from ffap-url-at-point.
913 (thing-at-point--bounds-of-well-formed-url): New function.
914 Do parens matching to decide whether to include parens in the URI
917 * ffap.el: Require thingatpt.
918 (ffap-url-at-point): Delegate URI detection to thing-at-point.
919 All URI-valid characters are now recognized (Bug#5673).
920 (ffap-string-at-point): Use use-region-p.
921 (ffap-url-regexp): Extra character is handled by thing-at-point.
922 (ffap-string-at-point-mode-alist): Allow parentheses.
923 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
924 Convert to aliases; code moved to thingatpt.el.
925 (ffap-gnus-hook): Use setq-local.
927 2013-02-04 Glenn Morris <rgm@gnu.org>
929 * emacs-lisp/ert.el (ert--explain-format-atom):
930 Don't try to print non-characters as characters. (Bug#13543)
932 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
934 * net/tramp.el (tramp-debug-message): Extend function exclude list.
935 (tramp-backtrace): New defun.
936 (tramp-handle-insert-file-contents): Use `visit' when inserting
939 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
940 Use `remote-file-name-inhibit-cache'.
942 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
944 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
947 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
948 current-load-list (bug#13366).
950 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
952 * progmodes/compile.el (compilation-error-regexp-alist-alist):
953 Identify g++ template instantiation trace. (Bug#12287)
954 (compilation-mode-hook, compilation-start-hook)
955 (compilation-window-height): Simplify docstrings. (Bug#13379)
957 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
959 * mouse.el (mouse-drag-track): Always deactivate the mark before
960 running the final event's command since that command is in charge of
961 activating the mark if needed (bug#13523).
963 2013-02-02 Juri Linkov <juri@jurta.org>
965 * replace.el (perform-replace): Move let-bindings of isearch-*
966 variables deeper to the loop that searches for the next match.
967 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
968 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
971 * isearch.el (isearch-search-fun-default): Check for null
972 first element of isearch-cmds as a precaution when it's used
973 with inactive isearch.
975 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
977 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
978 error when buffer in question is narrowed so position 1 is out of
981 2013-02-02 Glenn Morris <rgm@gnu.org>
983 * textmodes/remember.el (remember-clipboard): Doc fix.
985 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
987 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
988 properties (bug#13179).
990 2013-02-02 Juri Linkov <juri@jurta.org>
992 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
993 instead of hard-coded default face `match'. (Bug#9438)
995 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
997 * vc/vc-arch.el (vc-arch-registered):
998 * vc/vc-bzr.el (vc-bzr-registered):
999 * vc/vc-cvs.el (vc-cvs-registered):
1000 * vc/vc-git.el (vc-git-registered):
1001 * vc/vc-hg.el (vc-hg-registered):
1002 * vc/vc-mtn.el (vc-mtn-registered):
1003 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
1006 * info.el (Info-next-reference, Info-prev-reference): Add numeric
1007 prefix argument. (Bug#11656)
1009 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
1013 2013-02-01 Glenn Morris <rgm@gnu.org>
1015 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
1016 if the backend is known not to support it.
1018 * imenu.el (imenu-default-create-index-function):
1019 Tweak infinite loop test to check for forward motion as well as none.
1021 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
1023 * net/soap-client.el (soap-invoke): Encode the string for
1024 `url-request-data' as UTF-8.
1025 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
1027 2013-02-01 Glenn Morris <rgm@gnu.org>
1029 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
1031 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
1033 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
1035 * net/tramp.el (tramp-tramp-file-p): Comment check for
1036 `string-as-unibyte'. The function does not exist on XEmacs, and
1037 likely we need another approach.
1039 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
1040 `tramp-gw-*' variables are bound.
1042 2013-01-31 Glenn Morris <rgm@gnu.org>
1044 * files.el (basic-save-buffer-2): Choose coding system for
1045 writing the file before backing it up, to reduce delay between
1046 backing up and writing the new version. (Bug#13522)
1048 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
1050 * simple.el (cycle-spacing): New command.
1051 (just-one-space): Use it.
1053 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1055 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1056 (opascal-newline-always-indents): Remove custom.
1057 (opascal-tab, opascal-newline): Remove commands.
1058 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1059 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1060 (opascal-save-match-data): Remove, use save-match-data instead.
1061 (opascal-save-state): Use with-silent-modifications.
1063 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1066 2013-01-30 Juri Linkov <juri@jurta.org>
1068 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1069 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1070 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1072 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1075 column if we're just deleting the backslashes.
1076 (makefile-fill-paragraph): Use eolp.
1078 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1080 * autorevert.el (auto-revert-use-notify): Fix docstring.
1082 2013-01-30 Leo Liu <sdl.web@gmail.com>
1084 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
1086 2013-01-30 Glenn Morris <rgm@gnu.org>
1088 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1089 unread-command-events twice in some cases. This tries to implement
1090 the 2012-07-26 changes in a different way. (Bug#13560)
1092 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1094 * progmodes/python.el
1095 (python-pdbtrack-comint-output-filter-function): Enhancements on
1096 stacktrace detection. (thanks @gnovak)
1098 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1100 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1101 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1103 (jit-lock-register): Use setq-local.
1105 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1107 * calc-units.el (math-default-units-table): Remove initial value.
1108 (calc-convert-units): Treat expressions where all the units cancel as
1109 if they didn't have units.
1111 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
1113 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1114 (tramp-completion-reread-directory-timeout): Fix type.
1115 (tramp-connection-min-time-diff): New defcustom.
1117 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1119 2013-01-30 Glenn Morris <rgm@gnu.org>
1121 * imenu.el (imenu-default-create-index-function):
1122 Put back a version of the infinite loop test removed 2013-01-23.
1124 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1126 * progmodes/python.el (python-shell-parse-command):
1127 Find python-shell-interpreter with modified environment.
1129 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1133 2013-01-29 Alan Mackenzie <acm@muc.de>
1135 Amend to fontify /regexp/s in actions correctly.
1136 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1137 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
1138 are no longer included.
1139 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1140 What used to be these variables without "-line" in the name.
1141 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
1142 (c-awk-non-arith-op-bra-re): Now also matches {.
1143 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1144 "return", and "case".
1145 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1147 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
1148 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
1150 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
1152 * autorevert.el (auto-revert-use-notify):
1153 Use `custom-initialize-default' for initialization. (Bug#13583)
1155 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1158 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1159 in `tramp-file-name-handler'.
1160 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1162 (tramp-compute-multi-hops): Check, whether
1163 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1165 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1170 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1173 checks made superfluous by the \_< operator.
1174 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1175 temporarily) broken indentation.
1176 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1177 Highlight nested constants, too. \_< broke that.
1179 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1184 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1186 * autorevert.el (auto-revert-handler): Notifications which result
1187 from a saved file shall not be taken into account. (Bug#13557)
1189 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1191 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1192 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1193 (lisp-mode): Pass t for it. (Bug#13556)
1195 2013-01-25 Alan Mackenzie <acm@muc.de>
1197 AWK Mode: Fix indentation bug at top level. Bug #12274.
1199 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1200 just before CASE 5D.
1202 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1204 * net/socks.el (socks-nslookup-host): Use string-to-number.
1206 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1208 * autorevert.el (auto-revert-remote-files)
1209 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1210 (auto-revert-notify-enabled, auto-revert-use-notify)
1211 (auto-revert-notify-watch-descriptor-hash-list)
1212 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1213 (auto-revert-notify-event-descriptor)
1214 (auto-revert-notify-event-action)
1215 (auto-revert-notify-event-file-name): Doc fix.
1216 (global-auto-revert-mode): Reorder checks.
1217 (auto-revert-notify-rm-watch): Respect changed values of
1218 `auto-revert-notify-watch-descriptor-hash-list'.
1219 (auto-revert-notify-add-watch): Check for
1220 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1221 `inotify-add-watch'. Watch `default-directory' instead of
1222 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1223 has a changed meaning now. (Bug#13540)
1224 (auto-revert-notify-handler): Change implementation wrt events
1225 returning from a directory.
1226 (auto-revert-handler): Reorder implementation for checks of remote
1228 (auto-revert-buffers): Fix parentheses error.
1230 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1232 * progmodes/python.el: Enhancements to header documentation about
1233 skeletons. (Bug#5716)
1235 * imenu.el (imenu-default-create-index-function): Remove useless
1236 infinite loop check. (Bug#13438)
1238 2013-01-25 Alan Mackenzie <acm@muc.de>
1240 Fix a bug in the state cache mechanism. Refactor this a bit.
1242 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1243 `cache-pos' element from the return value.
1244 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1245 buffer to enable proper searching from beyond HERE. Amend the
1246 test for detecting the sought brace pair. Amend the value written
1247 to the "brace desert cache" when the brace isn't found.
1248 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1249 and several other variables analogously.
1250 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1251 parameter to a locally calculated variable.
1252 (c-parse-state-1): Change the calling conventions to the two
1253 defuns involving `cache-pos'.
1255 2013-01-25 Chong Yidong <cyd@gnu.org>
1257 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1259 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1261 * paren.el (show-paren-function): Make sure to set 'priority and
1262 'face only if the overlay does exist.
1264 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1266 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1268 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1270 (tramp-sh-handle-set-file-acl): Improve error checking.
1272 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1274 * doc-view.el (doc-view-display): Force mode line update until all
1275 document is converted. Suggested by Stefan Monnier (Bug#13164).
1277 2013-01-23 Bastien Guerry <bzg@gnu.org>
1279 * paren.el (show-paren-function): Make sure an overlay exists
1280 before trying to delete it. Also use `pos' as a position only
1281 when it is an integer.
1283 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1285 * play/gametree.el (gametree-break-line-here): Use point-marker.
1287 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1289 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1290 Mark descriptive parts with `display' property.
1292 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1294 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1295 New variable to map standard dict names to hunspell ones.
1296 (ispell-set-spellchecker-params): Make sure specific dict names
1297 are used for standard dicts with hunspell.
1299 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1301 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1302 chars for note (%N) and url (%U).
1303 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1305 2013-01-21 Juri Linkov <juri@jurta.org>
1307 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1308 in addition to existing separate binding `meta f10' in `global-map'.
1311 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1313 Improve XEmacs compatibility.
1315 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1317 * net/tramp-adb.el (top): Require `time-date'.
1318 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1319 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1320 Use `tramp-file-name-handler'.
1321 (tramp-adb-maybe-open-connection):
1322 Use `tramp-compat-set-process-query-on-exit-flag'.
1324 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1325 Use `tramp-compat-funcall'.
1327 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1328 `tramp-compat-funcall'.
1330 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1332 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1333 reimplementation using "adb shell command ..." instead of running
1334 remote shell interactively.
1336 2013-01-20 Glenn Morris <rgm@gnu.org>
1338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1339 Add native profiler menu entries.
1341 * profiler.el (profiler-running-p): New function.
1342 (profiler-cpu-profile): Use profiler-running-p.
1343 (profiler-report-mode-map): Add some more menu entries.
1345 2013-01-19 Glenn Morris <rgm@gnu.org>
1347 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1348 fixes 2012-12-07 change. (Bug#13499)
1350 2013-01-19 Leo Liu <sdl.web@gmail.com>
1352 * dired.el (dired-get-marked-files): Prune erroneous values due to
1353 last change. (Bug#13152)
1355 2013-01-19 Glenn Morris <rgm@gnu.org>
1357 * progmodes/etags.el (tags-table-check-computed-list):
1358 Preserve point in tags buffer. (Bug#13412)
1360 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1362 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1363 Chong Yidong <cyd@gnu.org>
1365 * image-mode.el (image-next-file, image-previous-file):
1366 New commands (Bug#8453).
1367 (image-mode-map): Bind them to n and p.
1368 (image-mode--images-in-directory): New helper function.
1370 2013-01-19 Chong Yidong <cyd@gnu.org>
1372 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1373 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1374 save and restore the old window configuration.
1376 2013-01-18 Leo Liu <sdl.web@gmail.com>
1378 * progmodes/js.el: Tweak autoload cookie for alias.
1380 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1382 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1383 buffer local, again. This was lost with the fix on 2013-01-12.
1385 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1387 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1388 order to support several eshell buffers in parallel.
1390 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1392 * autorevert.el (auto-revert-use-notify): In the :set function, do
1393 not modify `kill-buffer-hook'.
1394 (auto-revert-notify-rm-watch):
1395 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1396 (auto-revert-notify-add-watch): Do not call
1397 `auto-revert-notify-rm-watch', but add it to a buffer local
1400 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1403 call to `eval' rather than a backquoted lambda.
1405 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1407 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1408 to return an explicit nil.
1409 (advice--remove-function): Change accordingly.
1411 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1412 the use of nadvice.el.
1414 * progmodes/which-func.el (which-function): Silence imenu errors
1417 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1419 * progmodes/sql.el: (sql-imenu-generic-expression):
1420 (sql-mode-font-lock-object-name): Match schema qualified names.
1421 (sql-connect): Use string keys.
1422 (sql-product-interactive): Wait for interpreter prompt.
1423 (sql-comint-oracle): Set process coding based on NLS_LANG.
1425 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1427 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1428 (sql-interactive-remove-continuation-prompt):
1429 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1431 2013-01-14 Leo Liu <sdl.web@gmail.com>
1433 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1436 2013-01-14 Glenn Morris <rgm@gnu.org>
1438 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1439 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1441 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1443 * progmodes/python.el (python-nav-end-of-statement):
1444 Fix cornercase when handling multiline strings.
1446 2013-01-13 Richard Stallman <rms@gnu.org>
1448 * mail/sendmail.el (mail-position-on-field): Add doc string.
1450 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1451 Get current message boundaries and pass them to
1452 message-forward-make-body-mime. Minor style changes.
1454 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1456 * cus-start.el (all): Avoid warnings about
1457 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1459 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1461 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1463 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1465 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1466 (jit-lock--debug-fontifying): New var.
1467 (jit-lock--debug-fontify): New function.
1468 * subr.el (condition-case-unless-debug): Don't prevent catching the
1469 error, just let the debbugger run.
1470 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1471 timer code and don't drop errors silently.
1473 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1475 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1476 `permanent-local' property.
1477 (auto-revert-notify-handler): Use `file-equal-p'.
1479 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1481 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1482 file notification by ACTION. For filtering by file name, compare
1483 only the non-directory part of the file name.
1485 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * autorevert.el: Use cl-lib instead of cl.
1489 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1490 (vc-bzr-checkin): Use it.
1491 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1492 will preserve match-data.
1494 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1496 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1497 (js--declaration-keyword-re): New var.
1498 (js--multi-line-declaration-indentation): New function.
1499 (js--proper-indentation): Use it.
1501 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1503 * calc/calc.el (calc-highlight-selections-with-faces)
1505 * comint.el (comint-history-isearch-message):
1506 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1507 * ffap.el (ffap-string-at-point-region, ffap-next)
1508 (ffap-string-at-point, ffap-string-around)
1509 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1511 * font-lock.el (font-lock-keywords-alist)
1512 (font-lock-removed-keywords-alist):
1513 * help-mode.el (help-xref-symbol-regexp):
1514 * info.el (Info-find-emacs-command-nodes):
1515 * international/mule.el (add-to-coding-system-list):
1516 * isearch.el (isearch-message-function, isearch-fail-pos):
1517 * misearch.el (multi-isearch-next-buffer-function):
1518 * newcomment.el (comment-box):
1519 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1520 (pr-setting-database):
1521 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1522 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1523 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1524 (pike-font-lock-keywords-3):
1525 * progmodes/compile.el (compile):
1526 * progmodes/etags.el (tags-table-files)
1527 (tags-table-files-function, tags-included-tables-function):
1528 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1529 (gdb-restore-windows):
1530 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1531 (ps-n-up-filling-database):
1532 * server.el (server-buffer, server-log):
1533 * simple.el (newline, delete-backward-char, delete-forward-char)
1534 (minibuffer-history-isearch-message, kill-line, track-eol)
1535 (temporary-goal-column):
1536 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1537 (flyspell-default-deplacement-commands):
1538 * textmodes/ispell.el (ispell-accept-output):
1539 * textmodes/sgml-mode.el (html-tag-help):
1540 * vc/compare-w.el (compare-ignore-whitespace)
1541 (compare-ignore-case, compare-windows-dehighlight):
1542 * vc/diff.el (diff):
1543 * whitespace.el (whitespace-point)
1544 (whitespace-font-lock-refontify, whitespace-bob-marker)
1545 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1547 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1549 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1550 (auto-revert-notify-rm-watch): Ignore errors.
1551 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1552 inotify, and '(size last-write-time) for w32notify.
1553 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1554 watch fails - this is a fallback to the file modification check.
1555 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1556 (auto-revert-notify-event-action)
1557 (auto-revert-notify-event-file-name): New defuns.
1558 (auto-revert-notify-handler): Use them. Implement first
1559 plausibility checks.
1560 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1562 2013-01-11 Julien Danjou <julien@danjou.info>
1564 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1565 max are almost equal. Also return the correct value for V which is
1566 already between 0 and 1.
1568 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1570 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1572 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1574 * autorevert.el (auto-revert-notify-rm-watch)
1575 (auto-revert-notify-add-watch): Fix typos in w32notify function
1578 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1580 * autorevert.el (auto-revert-notify-enabled): Move up.
1581 (auto-revert-use-notify): New defcustom.
1582 (auto-revert-mode, global-auto-revert-mode)
1583 (auto-revert-notify-add-watch, auto-revert-handler)
1584 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1585 `auto-revert-notify-enabled'.
1587 2013-01-10 Elias Pipping <pipping@exherbo.org>
1589 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1590 * doc-view.el (doc-view-document->bitmap):
1591 Use doc-view-single-page-converter-function instead of
1592 single-page-converter arg; adjust callers.
1594 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1596 * progmodes/which-func.el (which-function): Understand Semantic's use
1597 of overlays in imenu--index-alist.
1599 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1601 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1602 (Man-man-k-use-anchor): New var.
1603 (Man-parse-man-k): New function.
1604 (Man-completion-table): Use it.
1605 (man): Flush the completion cache between uses.
1607 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1609 * autorevert.el: Add file watch support.
1610 (auto-revert-notify-enabled): New defconst.
1611 (auto-revert-notify-watch-descriptor-hash-list)
1612 (auto-revert-notify-watch-descriptor)
1613 (auto-revert-notify-modified-p): New defvars.
1614 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1615 (auto-revert-notify-handler): New defuns.
1616 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1617 when mode is disabled.
1618 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1619 (auto-revert-buffers): Add file watches for active buffers.
1621 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1623 * cus-start.el (toplevel): Only allow float values for
1624 scroll-up-aggressively and scroll-down-aggressively.
1625 Allow any number for line-spacing.
1627 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1629 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1630 (doc-view-pdf->png-converter-function): Use mupdf if available.
1631 (doc-view-djvu->png-converter-function)
1632 (doc-view-ps->png-converter-function): Remove.
1633 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1634 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1635 (doc-view-already-converted-p): Adjust accordingly.
1636 (doc-view-mode-p): Simplify.
1637 (doc-view-enlarge): Use setq-local.
1638 (doc-view-pdf->png-converter-ghostscript)
1639 (doc-view-djvu->png-converter-ddjvu)
1640 (doc-view-pdf->png-converter-mupdf): Rework to call
1641 doc-view-start-process directly.
1642 (doc-view-pdf/ps->png): Simplify accordingly.
1643 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1644 (doc-view-document->bitmap): Rename from doc-view-document->png.
1645 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1646 (doc-view-set-slice-from-bounding-box): Fix completion table.
1647 (doc-view-mode): Use add-hook for after-revert-hook.
1649 2013-01-10 Glenn Morris <rgm@gnu.org>
1651 * emacs-lisp/authors.el (authors-ignored-files)
1652 (authors-valid-file-names, authors-renamed-files-alist):
1653 Add some more entries.
1655 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1657 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1658 `t' pseudo-window entry.
1660 2013-01-10 Alan Mackenzie <acm@muc.de>
1662 Fix bugs in the c-parse-state mechanism. Reuse some markers
1663 instead of continually generating new ones.
1665 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1666 (c-state-old-cpp-end-marker): New variables.
1667 (c-append-lower-brace-pair-to-state-cache): Start a backward
1668 search for "}" definitively outside CPP constructs.
1669 (c-remove-stale-state-cache): Inform the caller of a need to
1670 search back for a brace pair in certain circumstances.
1671 (c-state-maybe-marker): New macro.
1672 (c-parse-state): Reuse markers when appropriate.
1674 2013-01-10 Glenn Morris <rgm@gnu.org>
1676 * simple.el (execute-extended-command): Doc fix.
1677 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1679 2013-01-10 Chong Yidong <cyd@gnu.org>
1681 * faces.el (read-face-name): Doc fix.
1683 2013-01-10 Roland Winkler <winkler@gnu.org>
1685 * emacs-lisp/crm.el: Allow any regexp for separators.
1686 (crm-default-separator): All spaces around the default comma separator.
1687 (crm--completion-command): New macro.
1688 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1689 (crm-complete-and-exit): Handle non-single-char separators.
1691 2013-01-09 Elias Pipping <pipping@lavabit.com>
1693 * doc-view.el: Add support for DjVu (bug#13164).
1694 (doc-view-djvu->png-converter-function): New config var.
1695 (doc-view-single-page-converter-function, doc-view--image-type)
1696 (doc-view--image-file-extension): New vars.
1697 (doc-view-mode): Initialize them.
1698 (doc-view-goto-page): Use them.
1699 (doc-view-mode-p): Add support for ddjvu.
1700 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1701 (doc-view-set-up-single-converter): New funs.
1702 (doc-view-pdf/ps->png): Extend for djvu.
1703 (doc-view-document->png): Rename from doc-view-pdf->png.
1704 (doc-view-convert-current-doc): Handle djvu.
1705 (doc-view-insert-image, doc-view-display)
1706 (doc-view-already-converted-p): Don't hardcode png.
1707 (doc-view-set-doc-type): Recognize djvu docs.
1709 2013-01-09 Elias Pipping <pipping@lavabit.com>
1711 * doc-view.el: Add support for mupdf converter (bug#13164).
1712 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1713 (doc-view-ps->png-converter-function): New config vars.
1714 (doc-view-pdf->png-converter-ghostscript)
1715 (doc-view-ps->png-converter-ghostscript)
1716 (doc-view-pdf->png-converter-mupdf): New functions.
1717 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1719 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1721 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1722 first in session cache: When `tramp-own-remote-path' is in
1723 `tramp-remote-path', the remote path is only set in the session
1726 2013-01-09 Glenn Morris <rgm@gnu.org>
1728 * emacs-lisp/trace.el (trace-function-foreground)
1729 (trace-function-background): Doc fix.
1731 2013-01-09 Juri Linkov <juri@jurta.org>
1733 * international/mule-cmds.el (read-char-by-name): Move let-binding
1734 of completion-ignore-case around completing-read to fix regression
1735 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1736 `string-match-p' using the nil value of `case-fold-search' and
1737 `completion-ignore-case' in `completion-pcm--all-completions'.
1740 2013-01-09 Glenn Morris <rgm@gnu.org>
1742 * progmodes/compile.el (compilation-parse-errors):
1743 Fix typo. (Bug#13369)
1745 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1747 * comint.el (comint-send-input): Check size of buffer before
1748 waiting for process output, in case already accepted. (Bug#13290)
1750 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1753 * net/tramp-adb.el (tramp-adb-get-toolbox):
1754 Fix misspelling of 'unknown'.
1756 2013-01-08 Juri Linkov <juri@jurta.org>
1758 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1759 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1760 Use underline style wave on terminals that support it. (Bug#13000)
1762 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1765 the predicate returns nil.
1767 * simple.el: Use lexical-binding.
1768 (primitive-undo): Use pcase.
1769 (minibuffer-history-isearch-push-state): Use a closure.
1771 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1773 * simple.el (primitive-undo): Move from undo.c.
1775 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1777 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1778 (cvs-mode-remove-handled): Use it (bug#13380).
1780 * emacs-lisp/nadvice.el (advice--tweak): New function.
1781 (advice--remove-function, advice--subst-main): Use it.
1783 * emacs-lisp/advice.el: Update commentary.
1785 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1787 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1788 Remove spurious entry.
1790 2013-01-08 Glenn Morris <rgm@gnu.org>
1792 * net/tramp.el (tramp-default-host-alist): Add :version.
1794 2013-01-08 Juri Linkov <juri@jurta.org>
1796 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1797 single completion. (Bug#12456)
1798 (info--manual-names): Expand node completions into an explicit list
1799 before appending it to another list. Filter out internal buffers
1800 with the leading space in the buffer name. (Bug#10771)
1802 2013-01-08 Juri Linkov <juri@jurta.org>
1804 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1805 that defaults to the Top node.
1806 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1807 the short format (FILENAME) goes to the Top node.
1808 (Info-build-node-completions): Rename arg `file' to `filename'.
1811 2013-01-07 Bastien Guerry <bzg@gnu.org>
1813 * menu-bar.el (menu-bar-search-documentation-menu):
1814 Use `apropos-user-option' and fix the help message.
1816 2013-01-07 Bastien Guerry <bzg@gnu.org>
1818 * apropos.el (apropos-do-all): Update docstring.
1819 (apropos-user-option-button): New face.
1820 (apropos-user-option): Rename from `apropos-variable' and update
1822 (apropos-variable): Rewrite, now show all variables by default.
1823 (apropos-print): Mention "User option" instead of "Variable" when
1824 printing doc for user options. (Bug#13276)
1826 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1828 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1829 Handle filename correctly, when parsing "source -> target" symlink
1831 (tramp-adb-handle-set-file-times): New defun.
1833 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1836 advice list when the interactive-spec of ad-Advice-* changes.
1838 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1840 * wid-edit.el (widget-default-get): Work for inlined elements.
1843 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1845 * net/tramp.el (tramp-default-host-alist): New defcustom.
1846 (tramp-find-host): Use it.
1847 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1848 `eshell-directory-change-hook'.
1850 * net/tramp-adb.el (top): Add adb specific entry in
1851 `tramp-default-host-alist'.
1852 (tramp-adb-file-name-host): Remove function.
1853 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1854 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1856 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1858 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1860 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1862 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1864 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1865 consist of more than one digit.
1866 (tramp-adb-file-name-handler-alist):
1867 Use `tramp-handle-file-exists-p' consistently.
1868 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1869 (tramp-adb-handle-file-exists-p): Remove function.
1870 (tramp-adb-file-name-host): New defun.
1871 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1873 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1875 2013-01-06 Chong Yidong <cyd@gnu.org>
1877 * vc/vc.el (vc-next-action): Detect buffer modifications
1878 conflicting with locking VCS operation (Bug#11490).
1880 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1882 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1884 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1885 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1887 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1889 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1890 parsing of ls output using regular expression (handle filenames
1891 with spaces). Use virtual device number.
1892 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1895 2013-01-04 Daiki Ueno <ueno@gnu.org>
1897 * epg.el: Silence byte-compiler warnings.
1898 (epg--start): Use delete-char instead of delete-backward-char.
1899 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1901 2013-01-04 Daiki Ueno <ueno@gnu.org>
1903 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1904 Suggested by Eli Zaretskii <eliz@gnu.org>.
1906 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1908 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1909 non-negative integers. Otherwise, the default values are used.
1910 (tramp-convert-file-attributes): Convert uid and gid to integers.
1912 2013-01-04 Glenn Morris <rgm@gnu.org>
1914 * term.el (term-handle-colors-array): Ensure face attributes
1915 are fully specified, not nil. (Bug#13337)
1917 * term.el (term-default-fg-color, term-default-bg-color):
1920 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1921 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1922 rather than 'jka-compr being loaded. (Bug#13338)
1924 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1926 * icomplete.el (icomplete-completions):
1927 Honor icomplete-prospects-height once more following
1928 2012-11-29 changes. (Bug#13224)
1930 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1933 of called-interactively-p as well (bug#13237).
1935 * view.el (view--enable, view--disable): Rename from view-mode-enable
1936 and view-mode-disable and assume it's called from view-mode.
1937 (view-mode-enable, view-mode-disable): Redefine as obsolete
1938 compatibility layer above view-mode.
1939 (view-mode-enter): Call `view-mode'.
1941 * files.el (after-find-file): Call `view-mode'.
1943 * doc-view.el (doc-view-scale-internally): New var.
1944 (doc-view-enlarge, doc-view-insert-image): Obey it.
1946 2013-01-03 Daiki Ueno <ueno@gnu.org>
1948 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1951 2013-01-03 Glenn Morris <rgm@gnu.org>
1953 * mail/rmail.el (rmail-set-header-1): Ignore case.
1954 Handle multi-line headers. (Bug#13330)
1956 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1957 Handle paragraph starting at beginning of buffer.
1959 * subr.el (eval-after-load): Don't purecopy the form, so that it
1960 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1962 * emacs-lisp/byte-run.el (defun): Place cl declarations
1963 after any interactive spec. (Bug#13265)
1965 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1967 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1968 defun. Don't check for DECL if DOCSTRING isn't a string.
1971 2013-01-02 Glenn Morris <rgm@gnu.org>
1973 * eshell/em-cmpl.el (eshell-pcomplete):
1974 More thoroughly imitate pcomplete. (Bug#13293)
1976 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1977 Return nil for empty path elements. (Bug#13296)
1979 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1981 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1982 order to improve efficiency (Based on Daniel Colascione's
1983 <dancol@dancol.org> patch). (Bug#13182)
1985 2013-01-02 Glenn Morris <rgm@gnu.org>
1987 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1989 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1991 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1992 neither DOCSTRING nor DECL was given. (Bug#13316)
1994 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1996 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1998 (tramp-do-copy-or-rename-file): Ignore errors when calling
1999 `set-file-extended-attributes'.
2001 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2002 Add handler for `file-acl'.
2003 (tramp-smb-handle-file-acl): New defun.
2005 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
2007 * calc/README: Mention ISO 8601 week-numbering dates.
2009 2013-01-01 Martin Rudalics <rudalics@gmx.at>
2011 * view.el (view-mode-enable): New argument run-view-mode-hook.
2012 Run view-mode-hook only when it's non-nil (Bug#13315).
2013 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
2016 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
2018 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
2019 (No device connected, invalid device name). (Bug #13299)
2021 2012-12-31 Martin Rudalics <rudalics@gmx.at>
2023 * window.el (window-resizable--p): Rename to window-resizable-p.
2024 (window-resize-no-error): New function.
2026 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
2027 broken in fix from 2012-12-28.
2029 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * subr.el (special-form-p): Don't signal errors on undef aliases.
2033 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
2035 * calc/calc-forms.el (math-parse-date): Try using
2036 `math-parse-iso-date' when it looks like it might be needed.
2037 Allow times of 24:00.
2038 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
2041 2012-12-30 Glenn Morris <rgm@gnu.org>
2043 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
2044 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
2045 (rmail-summary-displayed, rmail-summary): Declare.
2046 (mairix-rmail-display): Just require rmail.
2048 2012-12-30 Chong Yidong <cyd@gnu.org>
2050 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2051 check for the tarball contents.
2053 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
2055 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2056 tarfile content listings (Bug#13136).
2058 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
2060 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2061 Insert the undecoded text of the message being forwarded. (Bug#9521)
2063 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
2065 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2066 integers, if they are real numbers. (Bug#13282)
2068 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2069 Return `t' on success.
2071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2072 Add handler for `set-file-selinux-context'.
2074 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
2076 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2077 (tramp-sh-handle-set-file-acl): Return `t' on success.
2079 2012-12-29 Eli Zaretskii <eliz@gnu.org>
2081 * files.el (backup-buffer-copy, basic-save-buffer-2):
2082 If set-file-extended-attributes fails, fall back on set-file-modes
2083 instead of signaling an error. (Bug#13298)
2084 (basic-save-buffer): Likewise.
2086 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2088 * progmodes/python.el: Support other commands triggering
2089 python-indent-line so indentation cycling continues to work.
2090 (python-indent-trigger-commands): New defcustom.
2091 (python-indent-line): Use it.
2093 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2095 * progmodes/python.el (python-shell-send-region): Add blank lines
2096 for non sent code so backtraces remain correct.
2098 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2100 * progmodes/python.el: Remove cl dependency.
2101 (python-syntax-count-quotes): Replace incf call.
2102 (python-fill-string): Replace setf call.
2104 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2106 * info.el (info-other-window): New arg, for consistency with info.
2108 2012-12-28 Martin Rudalics <rudalics@gmx.at>
2110 * mail/rmail.el (rmail-maybe-display-summary):
2111 Rewrite (Bug#13066).
2113 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2115 * epg.el (epg--start): Modify process-environment locally.
2117 2012-12-28 Daiki Ueno <ueno@gnu.org>
2119 * epg.el: Support pinentry-curses.
2120 Suggested by Werner Koch in
2121 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2122 (epg-agent-file, epg-agent-mtime): New variable.
2123 (epg--start): Record the modified time of gpg-agent socket file,
2124 to restore Emacs frame after pinentry-curses termination.
2125 (epg-wait-for-completion): Restore Emacs frame here.
2127 2012-12-27 Juri Linkov <juri@jurta.org>
2129 * info.el (Info-file-completions): New variable.
2130 (Info-read-node-name-1): Complete node names in the Info file
2131 when a file name is given. Call `Info-build-node-completions'
2133 (Info-build-node-completions): Add new arg `file'. When it is
2134 non-nil, visit it in a temporary buffer and cache its completions in
2135 `Info-current-file-completions'. Move most of the function body to
2136 `Info-build-node-completions-1'.
2137 (Info-build-node-completions-1): New function with the body from
2138 `Info-build-node-completions'. (Bug#12456)
2140 2012-12-27 Juri Linkov <juri@jurta.org>
2142 * frame.el (frame-maximization-style): Remove user option.
2143 (cycle-frame-maximized): Remove function.
2144 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2145 (toggle-frame-fullscreen): New command bound to <f11> instead of
2146 `toggle-frame-maximized'.
2147 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2149 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
2151 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2153 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2154 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2155 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2156 for `file-accessible-directory-p'. (Bug#13275)
2158 2012-12-27 Sam Steingold <sds@gnu.org>
2160 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2161 continuations, see <http://stackoverflow.com/questions/3582436>.
2163 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2165 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2166 "module" and "def" to have indentation before them.
2167 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2169 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2171 2012-12-27 Alan Mackenzie <acm@muc.de>
2173 Speed up fontification where there's large brace blocks.
2174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2175 to a call of c-beginning-of-decl-1.
2177 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2179 * comint.el (comint-adjust-window-point): New function.
2180 (comint-postoutput-scroll-to-bottom):
2181 Call comint-adjust-window-point (Bug#13248).
2183 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2185 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2187 (auto-mode-alist): Associate .gemspec files with ruby-mode
2188 (https://bugs.ruby-lang.org/issues/5453).
2190 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2192 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2193 Suppress coloring, if possible (required for BusyBox based systems like
2195 (tramp-adb-handle-file-attributes)
2196 (tramp-adb-handle-insert-directory)
2197 (tramp-adb-handle-file-name-all-completions): Use it.
2198 (tramp-adb-get-toolbox): New defun. Check for remote shell
2199 implementation (BusyBox or Toolbox).
2201 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2203 * startup.el (initial-buffer-choice): Allow function as value
2205 (command-line-1): Handle case where initial-buffer-choice
2206 specifies a function.
2207 * server.el (server-execute): Handle case where
2208 initial-buffer-choice specifies a function.
2210 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2212 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2214 (smtpmail-try-auth-methods): Forget the user name/password if the
2215 login is unsuccessful (bug#12424).
2217 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2219 * notifications.el (notifications-notify): Protect body with
2220 `with-demoted-errors'.
2222 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2223 Check properties of remote device. Restart connection, if there is a
2226 2012-12-21 Chong Yidong <cyd@gnu.org>
2228 * sort.el (sort-subr): Doc fix (Bug#13056).
2230 2012-12-21 Bastien Guerry <bzg@gnu.org>
2232 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2234 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2236 * simple.el (process-file): Overwrite stderr file, if exists.
2238 2012-12-21 Daiki Ueno <ueno@gnu.org>
2240 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2241 (epg-error): Set `error-message' property.
2243 2012-12-21 Chong Yidong <cyd@gnu.org>
2245 * international/mule-cmds.el (read-char-by-name): Signal an error
2246 if the user does not supply a valid character (Bug#13177).
2248 * simple.el (transpose-subr-1): Preserve marker positions by
2249 changing the insertion sequence (Bug#13122).
2251 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2253 * simple.el (kill-region): Deactivate mark even for empty regions
2256 2012-12-21 Chong Yidong <cyd@gnu.org>
2258 * help-fns.el (describe-variable): Make sure we get the right
2259 buffer name (Bug#13105). Suggested by Kelly Dean.
2261 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2263 * comint.el (comint-redirect-previous-input-string): New variable.
2264 (comint-redirect-setup, comint-redirect-cleanup)
2265 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2266 (comint-redirect-preoutput-filter): Fix verbose message.
2268 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2270 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2271 is too long for Tramp. See discussion in
2272 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2274 * progmodes/compile.el (compilation-start): Remove line escape
2277 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2279 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2282 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2284 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2285 following non-comment text (bug#13207).
2286 (lm-header-multiline): Continuation lines need to be indented more than
2288 (lm-homepage): New function.
2289 (lm-with-file): Don't be confused if narrowing is in effect.
2291 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2293 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2294 very beginning of a hunk (e.g. killing the first line).
2296 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2298 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2299 and text properties from returned ACL string.
2300 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2301 for "setfacl" command.
2303 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2305 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2306 `tramp-cleanup-this-connection', when the process has died.
2309 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2311 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2313 2012-12-17 Kevin Ryde <user42@zip.com.au>
2315 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2317 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2319 Add support for preserving ACL entries of files.
2321 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2322 `set-file-acl' handlers.
2324 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2325 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2327 * net/tramp-compat.el (tramp-compat-copy-file):
2328 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2331 Add `file-acl' and `set-file-acl' handlers.
2332 (tramp-gvfs-handle-copy-file):
2333 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2334 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2337 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2338 Add `file-acl' and `set-file-acl' handlers.
2339 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2340 (tramp-sh-handle-set-file-acl): New defuns.
2341 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2342 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2345 Add `file-acl' and `set-file-acl' handlers.
2346 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2348 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2350 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2351 use pop-to-buffer with NORECORD argument t. As buffer name, use
2352 *Metahelp* with a leading space (Bug#13190).
2354 2012-12-16 Romain Francoise <romain@orebokech.com>
2356 * files.el (file-extended-attributes)
2357 (set-file-extended-attributes): New functions.
2358 (backup-buffer): Use them to handle both SELinux context and ACL
2360 (backup-buffer-copy): Work with an alist of extended attributes,
2361 rather than an SELinux context.
2362 (basic-save-buffer-2): Ditto.
2364 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2366 * battery.el (battery-bsd-apm): New function.
2368 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2370 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2371 standard date formats.
2373 2012-12-15 Juri Linkov <juri@jurta.org>
2375 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2376 `isearch-insert-char-by-name'.
2377 (with-isearch-suspended): New defmacro with body mostly from
2378 `isearch-edit-string' except the part that sets
2379 `isearch-new-string' and `isearch-new-message'.
2380 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2381 body that sets `isearch-new-string' and `isearch-new-message'.
2382 (isearch-insert-char-by-name): New command.
2383 * international/mule-cmds.el (read-char-by-name): Let-bind
2384 `enable-recursive-minibuffers' to t.
2385 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2387 2012-12-15 Juri Linkov <juri@jurta.org>
2389 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2392 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2394 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2395 the prompt. (Bug#13045)
2397 2012-12-14 Glenn Morris <rgm@gnu.org>
2399 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2400 Try to include filename in non-bytecomp warning. (Bug#13132)
2402 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2404 Fix permissions bugs with setgid directories etc. (Bug#13125)
2405 * files.el (backup-buffer): Don't rely on 9th output of
2406 file-attributes, as it's now a placeholder. Instead, use the new
2407 optional arg of file-ownership-preserved-p.
2408 (file-ownership-preserved-p): New optional arg GROUP.
2409 Fix mishandling of setuid directories that would cause this
2410 function to return t when it should have returned nil.
2411 Document what happens if the file does not exist, and when
2412 it's not known whether the ownership will be preserved.
2413 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2415 (tramp-get-local-gid): Use group-gid for integer, as that's
2416 faster and more reliable.
2418 2012-12-14 Julien Danjou <julien@danjou.info>
2420 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2421 Update keywords list, data type and PL/pgSQL.
2423 2012-12-14 Dave Abrahams <dave@boostpro.com>
2425 * vc/ediff-util.el (ediff-buffer-type): New function.
2426 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2427 rather than taking it as as argument.
2428 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2430 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2432 * json.el: Add pretty-print option (bug#12634).
2433 (json-encoding-separator, json-encoding-default-indentation)
2434 (json--encoding-current-indentation, json-encoding-pretty-print)
2435 (json-encoding-lisp-style-closings): New vars.
2436 (json--with-indentation): New macro.
2437 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2438 (json-encode-array): Use it to obey json-encoding-pretty-print.
2439 (json-pretty-print-buffer, json-pretty-print): New commands.
2441 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2444 Extract `ruby-syntax-propertize-expansions'.
2445 (ruby-syntax-propertize-expansions): Only change syntax on
2446 certain string delimiters, to punctuation. This way the common
2447 functions like forward-word and thing-at-point still work.
2448 (ruby-match-expression-expansion): Improve readability.
2449 (ruby-block-contains-point): New function.
2450 (ruby-add-log-current-method): Handle several edge cases.
2452 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2454 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2455 unload-feature finishes even when aborting an ongoing edebug session.
2456 Also, do not worry about edebug-mode, unload-feature takes care of it.
2458 2012-12-13 Andreas Schwab <schwab@suse.de>
2460 * net/tls.el (tls-program): Update customize type.
2462 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2464 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2465 (edebug-setup-hook, cl-read-load-hooks): Use it.
2466 (edebug-unload-function): New function. (Bug#13163)
2468 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2470 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2471 Otherwise, there could be errors in autoloading. (Bug#13151)
2473 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2475 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2478 2012-12-13 Alan Mackenzie <acm@muc.de>
2480 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2481 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2482 around `forward-comment' not recognizing ^M as whitespace.
2484 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2486 * progmodes/python.el (python-skeleton-class)
2487 (python-skeleton-def): Do not add space after defun name.
2489 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2491 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2492 (cl--symbol-function): Remove (now that funbound is like nil).
2494 2012-12-12 Glenn Morris <rgm@gnu.org>
2496 * button.el (button--area-button-p): Fix typo.
2498 2012-12-12 Sam Steingold <sds@gnu.org>
2500 * frame.el (frame-maximization-style): New user option.
2501 (toggle-frame-maximized): Toggle frame maximization according to
2502 `frame-maximization-style', bound to <f11>.
2503 (cycle-frame-maximized): Cycle between all maximization styles and
2504 non-maximized frame, bound to shift-<f11>.
2506 2012-12-12 David Cadé <codename68@gmail.com>
2508 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2510 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2512 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2513 (eieio-override-prin1): Don't quote kewords and booleans.
2514 (object-write) <eieio-default-superclass>: Don't put closing parens
2515 on new line, avoid needless empty lines, align values that are objects
2516 with the slot keyword (instead of beginning on the same line).
2517 (eieio-list-prin1): Align value with slot keyword; increase
2518 eieio-print-depth before printing members of the list.
2520 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2523 a display text-property.
2524 (report-emacs-bug-hook): Don't bother deleting it any more.
2526 * hilit-chg.el (highlight-save-buffer-state): Delete.
2527 Use with-silent-modifications instead.
2528 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2530 * button.el: Handle buttons in display text-properties.
2531 (button--area-button-p, button--area-button-string):
2532 Use (STRING . STRING-POS) representation instead of just STRING.
2534 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2536 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2537 subdirectory be skipped.
2539 2012-12-11 Glenn Morris <rgm@gnu.org>
2541 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2543 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2544 Treat preprocessor lines embedded in continuations like comments.
2545 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2547 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2549 * calc/calc.el (calc-standard-date-formats): Add more date
2551 * calc/calc-forms.el (math-parse-iso-date): New function.
2552 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2553 (math-parse-iso-date-validate): Add extra error checking.
2554 (calc-date-notation): Add ability to access new date formats.
2556 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2559 font-lock as well as when there's no text-property.
2561 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2563 * hi-lock.el: Refine the choice of default face.
2564 (hi-lock-keyword->face): New function. Use it wherever we used
2566 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2567 (hi-lock--last-face): Remove var.
2568 (hi-lock--unused-faces): New var to replace it.
2569 (hi-lock-read-face-name): Use/maintain it.
2570 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2571 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2572 if it has another face.
2574 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2576 * subr.el (w32notify-handle-event): New function.
2577 (inotify-handle-event): Doc fix.
2579 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2581 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2583 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2585 * simple.el (just-one-space): Doc fix.
2587 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2589 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2591 2012-12-10 Le Wang <l26wang@gmail.com>
2593 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2594 narrowed buffer (bug#12361).
2596 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2598 * vc/vc-hooks.el (vc-state): Doc fix.
2600 2012-12-10 Glenn Morris <rgm@gnu.org>
2602 * mail/rmail.el (rmail-maybe-display-summary):
2603 Preserve buffer, in case select-window changes it. (Bug#13066)
2605 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2608 cl-load-hook where they belong.
2610 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2614 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2616 Parallelize byte compilation on MS-Windows.
2617 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2618 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2619 (WINS_BASIC): Define as concatenation of the above.
2620 (compile): Subdivide into 4 separate and independent jobs that can
2622 (compile0-CMD, compile0-SH): New targets for compiling
2623 COMPILE_FIRST files, which are prerequisites for the rest of the
2625 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2626 New targets for parallel compilation with cmd.exe.
2627 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2628 compiling under a Unixy shell.
2630 2012-12-09 Chong Yidong <cyd@gnu.org>
2632 * simple.el (set-mark-default-inactive): Delete this
2633 accidentally-introduced option.
2634 (set-mark-command, exchange-point-and-mark): Remove calls.
2636 2012-12-09 Glenn Morris <rgm@gnu.org>
2638 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2639 Respect a defcustom's :set function, if appropriate. (Bug#109)
2640 (eval-defun): Doc fix.
2642 2012-12-08 Juri Linkov <juri@jurta.org>
2644 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2645 (Info-fontify-node, Info-bookmark-make-record): Remove the
2646 file extension from Info-current-file (Bug#13016).
2648 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2650 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2651 point, still provide some default.
2652 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2653 names, since we don't use it right now. Actually return the list.
2654 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2656 2012-12-07 Chong Yidong <cyd@gnu.org>
2658 * novice.el (disabled-command-function): Remove a spurious help
2659 xref (Bug#13043). Suggested by Kelly Dean.
2661 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2662 syntax is specified (Bug#13025).
2664 * info.el (Info-set-mode-line): Remove the file extension from
2665 Info-current-file if there is one (Bug#13016).
2667 2012-12-07 Glenn Morris <rgm@gnu.org>
2669 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2670 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2671 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2672 and rmail-mime-decoded. (Bug#9841)
2674 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2675 (batch-unrmail, unrmail): Doc fixes.
2676 (unrmail): Respect unrmail-mbox-format.
2677 * mail/rmail.el (rmail-mbox-format): New option.
2678 (rmail-show-message-1): Respect rmail-mbox-format.
2680 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2682 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2684 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2686 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2687 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2688 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2689 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2690 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2691 (cl-progv): Don't rely on dynamic scoping to find the body.
2692 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2693 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2694 (cl-declaim): Use backquotes.
2695 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2696 Use "cl--" prefix for the object's tag.
2698 * ses.el: Use advice-add/remove.
2699 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2700 (copy-region-as-kill, yank): Use advice-add.
2701 (ses-unload-function): Use advice-remove.
2703 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2705 * button.el: Make them work in header-lines (bug#12817).
2706 (button-map): Add bindings for header-line and mode-line use.
2707 (button-get, button-put, button-label): `button' may now be a string.
2708 (button-activate): Don't make it a defsubst.
2709 (button--area-button-p, button--area-button-string): New functions.
2710 (make-text-button): Fix the return value when `beg' was a string.
2711 (push-button): Handle the mode-line case.
2713 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2716 (sql-signum): Remove. Use `cl-signum' instead.
2717 (sql-read-passwd): Remove; use read-passwd instread.
2718 (sql-get-login-ext): Use read-string.
2719 (sql-get-login): Use dolist and pcase.
2720 (sql--completion-table): Rename from sql-try-completion.
2721 Use complete-with-action.
2722 (sql-mode): Don't change abbrev-all-caps globally.
2723 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2724 (sql-postgres-completion-object): Initialize vars in their `let'.
2725 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2726 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2727 (sql-comint-interbase): Use a single append, without setq.
2728 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2730 * hi-lock.el: Rework the default face and the serialize regexp code.
2731 (hi-lock--auto-select-face-defaults): Remove.
2732 (hi-lock-string-serialize-serial): Remove.
2733 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2735 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2737 (hi-lock-set-pattern): Adjust accordingly.
2738 (hi-lock--regexps-at-point): Simplify accordingly.
2739 (hi-lock--auto-select-face-defaults): Remove.
2740 (hi-lock--last-face): New var to replace it.
2741 (hi-lock-read-face-name): Rewrite (bug#11095).
2742 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2744 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2746 * net/tramp.el (tramp-replace-environment-variables):
2747 Hide compiler warning.
2748 (tramp-file-name-for-operation): Remove `executable-find',
2749 `start-process', `call-process' and `call-process-region'.
2751 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2753 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2756 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2758 2012-12-06 Chong Yidong <cyd@gnu.org>
2760 * ffap.el (ffap-replace-file-component): Fix typo.
2762 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2764 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2765 fix open-paren-like token test (bug#12785).
2767 2012-12-06 Glenn Morris <rgm@gnu.org>
2769 * mail/rmailsum.el (rmail-new-summary): Tweak for
2770 rmail-maybe-display-summary changing buffer. (Bug#13066)
2772 2012-12-06 Juri Linkov <juri@jurta.org>
2774 * info.el (Info-fontify-node): Don't hide the last newline.
2777 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2779 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2780 so as to enable message-read-from-minibuffer to expand mail aliases.
2782 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2785 the `intangible' property.
2786 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2788 2012-12-05 Deniz Dogan <deniz@dogan.se>
2790 * net/rcirc.el (rcirc-urls): Update documentation.
2791 (rcirc-condition-filter): New function.
2792 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2793 and exclude consecutive duplicate URLs (Bug#6082).
2795 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2797 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2798 Check return code of copy command.
2800 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2801 Use group `tramp'. Add version.
2803 2012-12-05 Chong Yidong <cyd@gnu.org>
2805 * ffap.el (ffap-url-regexp): Don't require matching at front of
2807 (ffap-url-p): If only a substring matches, return that.
2808 (ffap-url-at-point): Use the return value of ffap-url-p.
2809 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2810 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2811 (ffap-guess-file-name-at-point): Likewise.
2812 (ffap-replace-file-component): Fix typo.
2814 * info.el (info-display-manual): Add existing Info buffers, whose
2815 files may not be in Info-directory-list, to the completion.
2816 (info--manual-names): New helper function.
2818 2012-12-05 Glenn Morris <rgm@gnu.org>
2820 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2821 New functions, for detecting and resolving conflicts. (Bug#10709)
2823 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2825 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2826 (hi-lock-auto-select-face-defaults): New buffer local variable.
2827 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2828 (hi-lock-unface-buffer): Prompt user with useful defaults.
2829 With prefix arg, unhighlight all hi-lock patterns in buffer.
2831 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2833 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2835 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2837 * Makefile.in (TRAMP_SRC):
2838 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2840 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2842 * net/tramp-adb.el: New package.
2844 2012-12-04 Chong Yidong <cyd@gnu.org>
2846 * terminal.el: Move to obsolete/.
2848 * longlines.el: Move to obsolete/.
2850 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2851 Remove code referring to longlines mode.
2853 2012-12-03 Juri Linkov <juri@jurta.org>
2855 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2857 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2859 * textmodes/ispell.el (ispell-init-process)
2860 (ispell-start-process, ispell-internal-change-dictionary):
2861 Make sure personal dictionary name is expanded after initial
2862 `default-directory' value. Use expanded strings for
2863 keep/restart checks and for value (Bug#13019).
2865 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2867 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2869 2012-12-03 Leo Liu <sdl.web@gmail.com>
2871 * files.el (dir-locals-read-from-file): Check file non-empty
2872 before reading. (Bug#13038)
2874 2012-12-03 Glenn Morris <rgm@gnu.org>
2876 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2877 Remove any version extension before checking filename. (Bug#13006)
2878 (jka-compr-compression-info-list): Belated :version bump.
2880 2012-12-03 Chong Yidong <cyd@gnu.org>
2882 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2884 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2885 (buffer-menu): Doc fix (Bug#12294).
2887 2012-12-03 Roland Winkler <winkler@gnu.org>
2889 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2890 of diary-show-all-entries in the diary buffer (Bug#12994).
2892 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2894 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2895 "<STDIN>". This is binary safe.
2897 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2899 * calc/calc-forms.el (math-absolute-from-iso-dt)
2900 (math-date-to-iso-dt, math-parse-iso-date-validate)
2901 (math-iso-dt-to-date): New functions.
2902 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2903 (math-fd-isoweekday): New variables.
2904 (calc-date-notation, math-parse-standard-date, math-format-date)
2905 (math-format-date-part): Add support for more formatting codes.
2907 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2909 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2910 current buffer's file name when called interactively (Bug#12488).
2912 2012-12-02 Juri Linkov <juri@jurta.org>
2914 * info.el (info-display-manual): Don't clobber an existing Info
2915 buffer (Bug#10770). Add completion (Bug#10771).
2917 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2919 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2920 before using it for comparison (Bug#5297).
2922 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2924 * textmodes/css-mode.el (css-current-defun-name): New function.
2927 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2928 (html-mode): Use it.
2930 2012-12-01 Chong Yidong <cyd@gnu.org>
2932 Modularize add-log-current-defun (Bug#2224).
2933 Suggested by Jari Aalto.
2935 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2936 (add-log-current-defun): Move mode-specific code to other files.
2937 (add-log-lisp-like-modes, add-log-c-like-modes)
2938 (add-log-tex-like-modes): Variables deleted.
2940 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2941 (lisp-mode-variables): Use it.
2943 * progmodes/cc-mode.el (c-common-init):
2944 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2945 add-log-current-defun-function.
2947 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2950 * progmodes/perl-mode.el (perl-current-defun-name): New.
2951 (perl-mode): Use it.
2953 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2954 Use lisp-current-defun-name.
2956 * textmodes/tex-mode.el (tex-current-defun-name): New.
2957 (tex-common-initialization): Use it.
2959 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2960 (texinfo-mode): Use it.
2962 2012-12-01 Chong Yidong <cyd@gnu.org>
2964 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2965 * progmodes/autoconf.el (autoconf-mode):
2966 * progmodes/js.el (js-mode):
2967 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2968 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2969 * progmodes/perl-mode.el (perl-mode):
2970 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2971 * textmodes/css-mode.el (css-mode):
2972 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2973 (sgml-tags-invisible, sgml-guess-indent):
2974 * textmodes/tex-mode.el (tex-common-initialization)
2975 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2976 (doctex-mode, plain-tex-mode, latex-mode):
2977 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2979 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2981 * vc/vc-hg.el (vc-hg-next-revision):
2982 Ensure use of default "tip" output format. (Bug#6968)
2984 2012-12-01 Kim F. Storm <storm@cua.dk>
2986 * startup.el (fancy-startup-tail): Add a clickable link
2989 2012-12-01 Chong Yidong <cyd@gnu.org>
2991 * startup.el (fancy-startup-tail): Improve the message about
2992 auto-save files (Bug#2176).
2994 * files.el (recover-session): Improve the descriptive message, and
2995 use substitute-command-keys.
2997 2012-12-01 Glenn Morris <rgm@gnu.org>
2999 * ido.el (ido-file-internal):
3000 Handle other-window, other-frame for dired. (Bug#13036)
3002 2012-11-30 Glenn Morris <rgm@gnu.org>
3004 * icomplete.el (icomplete-separator): Fix :version.
3006 2012-11-30 Chong Yidong <cyd@gnu.org>
3008 * shell.el (shell): For C-u M-x shell, use an inactive shell
3009 buffer as the default (Bug#1975).
3010 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
3011 (shell-mode): Use them to reapply ansi colorization if Shell mode
3014 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
3016 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
3018 2012-11-30 Samuel Bronson <naesten@gmail.com>
3020 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
3021 flag to xargs, for compatibility with BSD xargs (Bug#11703).
3023 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3025 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
3026 by move-to-column (Bug#3234).
3028 2012-11-30 Chong Yidong <cyd@gnu.org>
3030 * longlines.el (longlines-wrap-line, longlines-encode-region):
3031 Preserve text properties (Bug#1425).
3033 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3035 * vc/vc.el (vc-register): Allow registering a file which is
3036 already registered with a different backend (Bug#10589).
3038 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
3039 Stefan Monnier <monnier@iro.umontreal.ca>
3041 * icomplete.el: Change separator; add ido-style commands.
3042 (icomplete-show-key-bindings): Remove custom var.
3043 (icomplete-get-keys): Remove function.
3044 (icomplete-forward-completions, icomplete-backward-completions):
3046 (icomplete-minibuffer-map): New var.
3047 (icomplete-minibuffer-setup): Use it.
3048 (icomplete-exhibit): Don't delay if the list of completions is known.
3049 (icomplete-separator): New custom.
3050 (icomplete-completions): Use it.
3051 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3052 (minibuffer-force-complete-and-exit): New command.
3053 (minibuffer--complete-and-exit): New function extracted from
3054 minibuffer-complete-and-exit.
3055 (minibuffer-complete-and-exit): Use it.
3057 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3058 error message when the file doesn't exist (bug#12974).
3060 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3062 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3064 2012-11-29 Glenn Morris <rgm@gnu.org>
3066 * files.el (hack-dir-local-variables): Warn if try to set
3067 coding via dir-locals, since it doesn't work. (Bug#7169)
3069 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3070 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3071 Set buffer-local value of desktop-save-buffer.
3072 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3074 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3075 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3077 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3078 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3080 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3083 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3085 * calc/calc-forms.el (calc-date-notation): Fix regexp
3086 used to find time codes. Fix symbol for seconds.
3088 2012-11-27 Glenn Morris <rgm@gnu.org>
3090 * emacs-lisp/derived.el (derived-mode-make-docstring):
3091 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3093 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3095 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3096 lexically scoped variables (bug#13005).
3098 2012-11-27 Glenn Morris <rgm@gnu.org>
3100 * vc/vc-hooks.el (vc-mistrust-permissions):
3101 Default to t, to avoid data-loss. (Bug#11490)
3103 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
3105 * progmodes/python.el (python-indent-guess-indent-offset):
3106 If indentation is guessed make python-indent-offset buffer-local.
3108 Fix Imenu regression.
3109 * progmodes/python.el (python-nav-beginning-of-defun):
3110 Fix forward movement when statement(s) separates point from defun.
3111 (python-imenu-prev-index-position): New function.
3113 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3115 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3117 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
3118 Don't set buffer-file-type. Return nil. (Bug#12989)
3120 2012-11-27 Glenn Morris <rgm@gnu.org>
3122 * hippie-exp.el (hippie-expand-try-functions-list):
3123 Re-autoload it. (Bug#12982)
3125 2012-11-27 Eli Zaretskii <eliz@gnu.org>
3127 * descr-text.el (describe-char-padded-string):
3128 Call internal-char-font only on GUI frames. (Bug#11964)
3130 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
3132 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3133 and obsoletion message.
3135 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3137 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3138 the constructs to keep outside of the `cl-block' (bug#12977).
3140 2012-11-27 Chong Yidong <cyd@gnu.org>
3142 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3143 keep reading until we get the up-event anyway, in order to process
3144 the up-event for mouse-1-click-follows-link (Bug#12971).
3146 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3149 base function is not yet defined (bug#12965).
3150 (ad-activate-advised-definition): Use ad-compile-function.
3151 (ad-activate): Use cond.
3153 2012-11-25 Leo Liu <sdl.web@gmail.com>
3155 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3158 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3160 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3161 reftex-section-info-function in order to be compatible with
3162 Texinfo integration.
3164 * textmodes/reftex.el (reftex-section-pre-regexp)
3165 (reftex-section-post-regexp, reftex-section-info-function):
3167 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3168 reftex-section-post-regexp, and reftex-section-info-function in order
3169 to be compatible with Texinfo integration.
3171 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3172 use reftex-section-pre-regexp variable in order to be compatible with
3173 Texinfo integration.
3175 2012-11-25 Chong Yidong <cyd@gnu.org>
3177 * faces.el: Make face-spec-set more analogous to setq.
3178 (face-spec-set): Change the third arg to specify whether this
3179 function is being called via defface, customize, or a third party.
3180 Set the appropriate symbol properties. Clear the override spec if
3181 setting via Custom. Initialize face if necessary. (Bug#4988)
3182 (face-spec-recalc): Allow theme faces to completely replace the
3183 defface spec, in the same way as custom faces (Bug#8454).
3185 * cus-face.el (custom-declare-face): Move face initialization to
3187 (custom-theme-set-faces): Don't initialize the face name here, as
3188 that is now done in face-spec-set.
3190 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3191 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3192 Simplify by using the new arg to face-spec-set.
3194 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3195 reset face-override-spec too, and use custom-declare-face.
3197 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3199 * term/ns-win.el (ns-initialize-window-system): Move creation of
3200 fontsets here (Bug#11964).
3202 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3204 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3207 2012-11-24 Chong Yidong <cyd@gnu.org>
3209 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3212 * custom.el (custom-theme-set-variables): Use a topological sort
3213 for ordering by custom dependencies (Bug#12952).
3214 (custom--sort-vars, custom--sort-vars-1): New functions.
3216 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3219 lexical-binding (bug#12938).
3221 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3223 * image-mode.el (image-transform-check-size): Use assertions only
3224 for images of type imagemagick.
3226 Otherwise no error, image-transform-fit-to-{width,height} is
3227 silently ignored, as before. Doc fix.
3229 2012-11-24 Chong Yidong <cyd@gnu.org>
3231 * faces.el (color-defined-p): Doc fix (Bug#12853).
3233 2012-11-24 Juri Linkov <juri@jurta.org>
3235 * dired.el (dired-mark): Add optional arg `interactive'.
3236 Check for `use-region-p' if `interactive' is non-nil.
3237 (dired-unmark, dired-flag-file-deletion): Add optional arg
3238 `interactive'. Call `dired-mark' with the arg `interactive'.
3241 * wdired.el: Revert 2012-10-17 change partly and replace it with
3242 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3243 (wdired-finish-edit): Add marks for new file names to
3244 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3245 after `revert-buffer'.
3246 (wdired-do-renames): Remove calls to `dired-remove-file',
3247 `dired-add-file', `dired-add-entry'. (Bug#11795)
3249 2012-11-24 Alan Mackenzie <acm@muc.de>
3251 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3253 Fix bugs in the state cache. Enhance a debugging mechanism.
3254 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3255 "brace at column zero" strategy for C++.
3256 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3257 (c-parse-state-point): New variable.
3258 (c-record-parse-state-state): Record old parse state with
3259 `copy-tree'. Record previous value of point.
3260 (c-debug-parse-state-double-cons): New debugging function.
3261 (c-debug-parse-state): Call the above new function.
3262 (c-toggle-parse-state-debug): Output a confirmatory message.
3264 * progmodes/cc-mode.el (c-before-change, c-after-change):
3265 Call c-invalidate-state-cache from `c-before-change' instead of
3268 2012-11-23 Chong Yidong <cyd@gnu.org>
3270 * find-cmd.el (find-constituents): Add executable, ipath,
3271 readable, samefile, writable, daystart, regextype (Bug#12856).
3273 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3275 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3277 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3279 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3280 definition. This fixes a bootstrap failure.
3281 (calc-gregorian-switch): In menu, put dates before regions.
3282 This is easier to follow, lines up better in the menu, and lets us
3283 coalesce regions that switch at the same time. Give country
3284 names, not "Vatican", as that's better for non-expert users.
3285 Use names that are stable between the date of switch and now, e.g.,
3286 Bohemia and Moravia (which existed then and now) and not
3287 Czechoslovakia (which didn't exist then and doesn't exist now).
3288 What is now the U.S. mostly did not switch at the same time as
3289 Britain, so omit the U.S. Correct spelling of "Britain".
3290 Catholic Switzerland was too much of a mess, so omit it.
3292 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3294 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3295 after the variable is changed.
3297 2012-11-21 Daniel Colascione <dancol@dancol.org>
3299 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3300 in SQL declarations for font-lock.
3301 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3303 2012-11-21 Glenn Morris <rgm@gnu.org>
3305 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3306 (face-italic-p): Add optional argument "inherit".
3308 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3309 Remove -p suffix from names, for consistency with other set-face-*.
3310 (set-face-inverse-video): Fix interactive spec.
3311 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3312 * textmodes/table.el (table--update-cell-face):
3313 Use set-face-inverse-video rather than now obsolete alias.
3315 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3317 * simple.el (line-move): Don't call line-move-partial if
3318 scroll-conservatively is in effect. (Bug#12927)
3320 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3323 Fallback on completion-at-point rather than
3324 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3325 (eshell-cmpl-initialize): Setup completion-at-point.
3327 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3329 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3331 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3333 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3334 are remote, check out-of-band property for both.
3336 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3341 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3343 More minor time fixes.
3344 * calendar/time-date.el: Commentary fix.
3345 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3346 too much other code depends on (0 0) time stamps.
3347 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3348 Add a couple of FIXME comments.
3350 Minor cleanup for times as lists of four integers.
3351 * files.el (dir-locals-directory-cache):
3352 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3354 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3355 * ps-bdf.el (bdf-file-newer-than-time):
3356 Process four-integers time stamps, not two. Doc fixes.
3358 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * uniquify.el (uniquify-managed): Use defvar-local.
3361 (rename-buffer, create-file-buffer): Advise with advice-add.
3362 (uniquify-unload-function): Unadvise accordingly.
3364 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3365 (trace-buffer): Don't purecopy.
3366 (trace-entry-message, trace-exit-message): Add `context' arg.
3367 (trace--timer): New var.
3368 (trace-make-advice): Adjust for use in nadvice.
3369 Add `context' argument. Delay `display-buffer' via a timer.
3370 (trace-function-internal): Use advice-add.
3371 (trace--read-args): New function.
3372 (trace-function-foreground, trace-function-background): Use it.
3373 (trace-function): Rename to trace-function-foreground and redefine as
3374 an alias to that new name.
3375 (untrace-function, untrace-all): Adjust to the use of nadvice.
3377 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3379 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3381 * subr.el (called-interactively-p-functions): New var.
3382 (internal--called-interactively-p--get-frame): New macro.
3383 (called-interactively-p, interactive-p): Rewrite in Lisp.
3384 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3385 (called-interactively-p-functions): Use it.
3386 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3387 (called-interactively-p-functions): Use it.
3388 * allout.el (allout-called-interactively-p): Don't assume
3389 called-interactively-p is a subr.
3391 2012-11-20 Glenn Morris <rgm@gnu.org>
3393 * profiler.el (profiler-report-mode-map): Add a menu.
3394 No need to bind `q' because we derive from special-mode.
3395 (profiler-report-find-entry): Handle calls from the menu-bar.
3397 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3399 * emacs-lisp/byte-run.el (defun-declarations-alist):
3400 Allow a compiler-macro to be a lambda expression.
3402 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3404 (python-syntax-context): Add compiler-macro.
3405 (python-font-lock-keywords): Simplify with De Morgan.
3407 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3409 * files.el (load-file): Require match in minibuffer selection, as was
3410 the case in Emacs-20 before we changed the spec to allow .elc files
3413 * json.el: Don't require cl since we don't use it.
3414 * color.el: Don't require cl.
3415 (color-complement): `caddr' -> `nth 2'.
3417 * calendar/time-date.el (time-to-seconds): De-obsolete.
3419 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3421 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3423 (math-date-to-julian-dt): Adjust the initial approximation for the
3424 year to deal with the new definition of the DATE.
3426 2012-11-19 Daniel Colascione <dancol@dancol.org>
3428 * term/w32-win.el (cygwin-convert-path-from-windows):
3429 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3431 2012-11-18 Chong Yidong <cyd@gnu.org>
3433 * filecache.el (file-cache--read-list): New function.
3434 (file-cache-add-directory-list, file-cache-add-file-list)
3435 (file-cache-delete-file-list, file-cache-delete-directory-list):
3436 Use it to read a list of files or directories (Bug#12846).
3437 (file-cache-add-file, file-cache-add-directory)
3438 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3439 (file-cache-delete-directory): Print an message.
3441 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3443 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3444 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3446 2012-11-18 Glenn Morris <rgm@gnu.org>
3448 * image.el (insert-image, insert-sliced-image): Doc fix.
3450 2012-11-18 Chong Yidong <cyd@gnu.org>
3452 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3455 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3457 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3458 response when the target file is in a subdirectory (Bug#12757).
3460 2012-11-18 Chong Yidong <cyd@gnu.org>
3462 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3464 2012-11-18 Glenn Morris <rgm@gnu.org>
3466 * emacs-lisp/cl-lib.el (face-underline-p):
3467 Use set-face-underline rather than the alias set-face-underline-p.
3469 * window.el (with-temp-buffer-window): Doc fix.
3470 * subr.el (with-output-to-temp-buffer):
3471 Add doc xref to with-temp-buffer-window.
3473 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3475 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3476 * calc/calc.el (math-format-date-cache): Declare.
3478 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3480 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3481 It also uses January 1, 1 AD as its day number 1.
3482 * calc/calc-forms.el (math-julian-date-beginning)
3483 (math-julian-date-beginning-int): Implement this.
3485 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3487 * descr-text.el (quail-find-key):
3488 * dired.el (desktop-file-name):
3489 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3490 * generic-x.el (comint-mode, comint-exec):
3491 * image-dired.el (widget-forward):
3492 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3493 (speedbar-change-expand-button-char)
3494 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3495 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3496 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3497 (widget-field-action, widget-value-set):
3498 * speedbar.el (imenu--make-index-alist):
3499 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3500 (ring-length, ring-insert):
3501 * vcursor.el (compare-windows-skip-whitespace):
3502 * woman.el (dired-get-filename):
3505 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3507 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3509 * calc/calc.el (calc-gregorian-switch): New variable.
3511 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3512 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3513 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3514 (math-leap-year-p): Add option to distinguish between Julian
3515 and Gregorian calendars.
3516 (math-day-number): Use `math-day-in-year' to do the computations.
3517 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3518 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3519 to do the computations.
3520 (math-date-to-dt): Use `math-date-to-julian-dt' and
3521 `math-date-to-gregorian-dt' to do the computations.
3522 (calcFunc-weekday, math-format-date-part): Use the new version of
3523 the DATE to determine the weekday.
3524 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3527 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3529 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3530 Cygwin; otherwise use 'file:'. (Bug#12914)
3531 (cygwin-convert-path-from-windows): Declare, to avoid
3532 byte-compiler warnings.
3534 2012-11-17 Andreas Politz <politza@fh-trier.de>
3536 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3537 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3538 prefix and negative numeric prefix args (Bug#12795).
3540 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3542 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3543 Don't signal an error with a score that is too low to add to the
3544 list of top scores. (Bug#12779)
3546 2012-11-17 Chong Yidong <cyd@gnu.org>
3548 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3550 * filecache.el (file-cache-add-file): Handle relative file name in
3551 the argument (Bug#12694).
3553 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3555 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3557 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3561 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3563 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3565 * window.el (enlarge-window, shrink-window): Don't mention return
3566 value in doc-string (Bug#12896).
3567 (window--display-buffer): Don't resize frames - it won't work
3568 with all window managers and defeat pop-up-frame-alist.
3569 (display-buffer-alist): In doc-string explain that CONDITION can
3570 be a function and which arguments are passed to it (Bug#12854).
3571 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3572 expressions (Bug#12854).
3573 (display-buffer): Pass ACTION argument to
3574 display-buffer-assq-regexp.
3576 2012-11-16 Glenn Morris <rgm@gnu.org>
3578 * window.el (fit-frame-to-buffer-bottom-margin)
3579 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3581 * faces.el (face-underline-p): Use face-attribute-specified-or.
3583 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3585 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3587 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3591 2012-11-16 Glenn Morris <rgm@gnu.org>
3593 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3594 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3596 * faces.el (face-underline-p): Doc fix. Handle :underline being
3597 things other than `t' (a string, a list).
3598 (face-inverse-video-p): Doc fix.
3599 (set-face-underline): Rename it back from set-face-underline-p.
3600 Doc fix. Allow interactive input of values other than t.
3601 (read-face-attribute): Apply formatting to :underline,
3602 since like :box and :stipple it can take list values.
3604 * term.el (ansi-term): Don't let C-x escape-char binding
3605 clobber the more standard C-c binding. (Bug#12842)
3607 * subr.el (set-temporary-overlay-map): Doc fix.
3609 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3611 * window.el (record-window-buffer)
3612 (display-buffer-record-window): When copying the markers to
3613 window-point preserve window-point-insertion-type. (Bug#12588)
3615 2012-11-16 Glenn Morris <rgm@gnu.org>
3617 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3618 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3619 Use new names for hooks rather than obsolete aliases.
3621 2012-11-15 Daniel Colascione <dancol@dancol.org>
3623 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3624 prefix instead of "file:" so that when FILE-NAME begins with "//",
3625 as it does when the target file is on a network share, url-handler
3628 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3630 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3631 a preactivated advice from an old advice.el; they're not compatible!
3633 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3635 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3636 Fix string-spec case.
3638 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3640 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3643 (advice--buffer-local-function-sample): New var.
3644 (advice--set-buffer-local, advice--buffer-local): New functions.
3645 (add-function, remove-function): Use them.
3647 2012-11-15 Drew Adams <drew.adams@oracle.com>
3649 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3651 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3654 potential binding of print-gensym to t, and prettify (back)quotes in
3655 case they appear in args's default values (bug#12884).
3657 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3660 (advice-eval-interactive-spec): New function.
3661 (advice--make-interactive-form): Support around advice (bug#12844).
3663 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3665 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3666 more strict. Add docstring.
3667 (ruby-expression-expansion-re): Extract from
3668 `ruby-match-expression-expansion'.
3669 (ruby-syntax-propertize-function): After everything else, search
3670 for expansions in string literals, mark their insides as
3671 whitespace syntax and save match data for font-lock.
3672 (ruby-font-lock-keywords): Use the 2nd group from expression
3674 (ruby-match-expression-expansion): Use the match data saved to the
3675 text property in ruby-syntax-propertize-function.
3677 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3682 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3684 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3685 start/end keyword a bit harder. Works with different values of N.
3687 (ruby-end-of-block): Update accordingly.
3689 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3691 * woman.el (woman-file-name): Don't mess with unread-command-events
3694 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3695 Remove out of date self-require hack.
3696 (ad-do-advised-functions): Use simple `dolist'.
3697 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3698 (ad-advice-definition): Redefine as functions.
3699 (ad-advice-classes): Move before first use.
3700 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3701 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3702 (ad--defalias-fset): Remove functions.
3703 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3704 (ad-get-orig-definition): Rewrite.
3705 (ad-make-advised-definition-docstring): Change base docstring.
3706 (ad-real-orig-definition): Rewrite.
3707 (ad-map-arglists): Change name of called function.
3708 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3709 (ad-make-advised-definition): Simplify.
3710 (ad-assemble-advised-definition): Tweak for new calling context.
3711 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3712 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3713 function and call ad-activate if needed.
3714 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3715 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3716 (ad-compile-function): Compile ad-Advice-*.
3717 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3718 (ad-start-advice, ad-stop-advice): Remove.
3720 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3722 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3723 period before class method names, not after. Remove handling of
3724 one impossible case. Add comments.
3726 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3728 * emacs-lisp/advice.el: Remove support for freezing.
3729 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3730 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3731 Remove support for `freeze'.
3733 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3734 override the default.
3735 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3737 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3740 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3742 (advice--strip-macro): New function.
3743 (advice--defalias-fset): Use them to handle macros.
3744 (advice-add): Use them.
3745 (advice-member-p): Correctly handle macros.
3747 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3750 Never font-lock the beginning of singleton class as heredoc.
3752 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3756 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3758 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3759 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3760 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3762 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3764 Fix end-of-defun misbehavior.
3765 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3766 python-beginning-of-defun-function. Handle nested defuns
3768 (python-nav-end-of-defun): Rename from
3769 python-end-of-defun-function. Ensure forward movement.
3770 (python-info-current-defun): Reimplement to work as intended
3771 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3772 parent defuns as soon as possible.
3774 2012-11-13 Glenn Morris <rgm@gnu.org>
3776 * progmodes/flymake.el (flymake-error-bitmap)
3777 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3778 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3780 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3782 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3783 backward, always stop at indentation. Reverts the change from
3784 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3786 2012-11-13 Glenn Morris <rgm@gnu.org>
3788 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3789 Add ibuffer-filter-by-derived-mode.
3791 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3792 the same name shadowing each other.
3794 * window.el (with-temp-buffer-window): Doc tweak.
3796 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3798 * help.el (temp-buffer-max-height):
3799 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3800 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3802 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3804 * emacs-lisp/nadvice.el: New package.
3805 * subr.el (special-form-p): New function.
3806 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3807 (elp-all-instrumented-list): Remove var.
3808 (elp-not-profilable): Remove elp-wrapper.
3809 (elp-profilable-p): Use autoloadp and special-form-p.
3810 (elp--advice-name): New const.
3811 (elp-instrument-function): Use advice-add.
3812 (elp--instrumented-p): New predicate.
3813 (elp-restore-function): Use advice-remove.
3814 (elp-restore-all, elp-reset-all): Use mapatoms.
3815 (elp-set-master): Use elp--instrumented-p.
3816 (elp--make-wrapper): Rename from elp-wrapper, return a function
3817 suitable for advice-add. Use cl-inf.
3818 (elp-results): Use mapatoms+elp--instrumented-p.
3819 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3820 (debug-function-list): Remove var.
3821 (debug): Rename arg, and then let-bind it explicitly inside.
3822 (debugger-setup-buffer): Rename arg.
3823 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3824 (debugger-frame-number): Adjust to new debug-on-entry setup.
3825 (debug--implement-debug-on-entry): Rename from
3826 implement-debug-on-entry, add argument.
3827 (debugger-special-form-p): Remove, use special-form-p instead.
3828 (debug-on-entry): Use advice-add.
3829 (debug--function-list): New function.
3830 (cancel-debug-on-entry): Use it, along with advice-remove.
3831 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3832 (debugger-list-functions): Use debug--function-list instead of
3833 debug-function-list.
3834 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3835 (ad-special-form-p): Remove, use special-form-p instead.
3836 (ad-set-advice-info): Use add-function and remove-function.
3837 (ad--defalias-fset): Adjust accordingly.
3839 2012-11-10 Glenn Morris <rgm@gnu.org>
3841 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3842 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3843 (report-emacs-bug-create-existing-bugs-buffer)
3844 (report-emacs-bug-parse-query-results)
3845 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3847 * term.el (term-default-fg-color, term-default-bg-color):
3848 Make obsolete, rather than just saying "deprecated" in the doc.
3850 * term.el (term): Rename from `term-face'.
3851 (term-current-face, ansi-term-color-vector)
3852 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3855 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3857 * server.el (server-create-window-system-frame): Handle Nextstep
3858 specially (Bug#12780).
3860 2012-11-10 Glenn Morris <rgm@gnu.org>
3862 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3863 Unautoload, and make obsolete. (Bug#7449)
3865 2012-11-10 Chong Yidong <cyd@gnu.org>
3867 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3868 rename from diff-remove-trailing-whitespace (Bug#12831).
3870 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3872 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3873 miscompilation of trace.el.
3875 2012-11-10 Glenn Morris <rgm@gnu.org>
3877 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3879 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3881 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3884 2012-11-10 Chong Yidong <cyd@gnu.org>
3886 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3887 a defcustom with an appropriate :set function.
3888 (minibuffer-default--in-prompt-regexps): New function.
3890 2012-11-10 Glenn Morris <rgm@gnu.org>
3892 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3893 (define-modify-macro): Doc fixes.
3895 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3896 (gv-define-simple-setter): Update doc of `fix-return'.
3898 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3901 twice when `fix-return' is set (bug#12813).
3903 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3904 gv-define-simple-setter (bug#12812).
3906 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3909 2012-11-10 Glenn Morris <rgm@gnu.org>
3911 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3913 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3914 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3915 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3916 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3918 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3920 2012-11-10 Leo Liu <sdl.web@gmail.com>
3922 * ido.el (ido-set-matches-1): Improve flex matching performance by
3923 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3925 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3928 (ad--defalias-fset): New function.
3929 (ad-safe-fset): Remove.
3930 (ad-make-freeze-definition): Use cl-letf*.
3932 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * subr.el (dolist): Don't bind VAR in RESULT.
3936 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3937 (fset, documentation): Don't save real def since we don't advise.
3938 (ad-do-advised-functions): Remove problematic `result-form'.
3939 (ad-safe-fset): `ad-real-fset' => `fset'.
3940 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3941 uses CL's dolist internally.
3942 (ad-arglist): Remove unused arg `name'.
3943 (ad-docstring, ad-make-advised-docstring):
3944 `ad-real-documentation' => `documentation'.
3945 (warning-suppress-types): Declare.
3946 (ad-set-arguments): Simple CSE.
3947 (ad-recover-normality): Sanity check.
3949 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3950 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3952 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3954 * ses.el: symbol to coordinate mapping is made by symbol property
3955 `ses-cell'. This means that the same mapping is done for all SES
3956 sheets. That is good enough for cells with standard A1 names, but
3957 not for named cell. So a hash map is added for the latter.
3958 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3959 (ses-sym-rowcol): Use hashmap for named cell.
3960 (ses-is-cell-sym-p): New defun.
3961 (ses-decode-cell-symbol): New defun.
3962 (ses-create-cell-variable): Add cell to hashmap when name is not
3964 (ses-rename-cell): Check that cell new name is not already in
3965 spreadsheet with the use of ses-is-cell-sym-p
3966 (ses-rename-cell): Use hash map for named cells, but accept also
3967 renaming back to A1-like.
3969 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3971 * emacs-lisp/advice.el: Use new dynamic docstrings.
3972 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3973 Use dynamic-docstring-function instead of ad-advice-info.
3974 (ad--make-advised-docstring): New function extracted from
3975 ad-make-advised-docstring.
3976 (ad-make-advised-docstring): Use it.
3977 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3979 (sql-help): Use it with dynamic-docstring-function.
3981 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3983 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3985 * files.el (hack-one-local-variable--obsolete): New function.
3986 (hack-one-local-variable): Use it for obsolete settings.
3988 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3991 * progmodes/js.el (js--filling-paragraph): New var.
3992 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3993 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3996 2012-11-08 Julien Danjou <julien@danjou.info>
3998 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3999 `auto-mode-alist' (Bug#12835).
4001 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4003 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
4004 (perl--prettify-symbols-alist): New const.
4005 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
4007 (perl-font-lock-keywords-2): Use them.
4008 (perl-electric-noindent-p): New function.
4009 (perl-mode): Use it to set up electric-indent-mode.
4010 (perl-electric-terminator, perl-indent-command): Mark obsolete.
4011 (perl-mode-map): Remove bindings for them.
4012 (perl-imenu-generic-expression, perl-outline-level):
4013 Match functions&packages in column>0.
4015 * env.el (env--substitute-vars-regexp): New const.
4016 (substitute-env-vars): Use it. Add `only-defined' arg.
4017 * net/tramp.el (tramp-replace-environment-variables): Use it.
4019 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
4020 Byte-compile *before* eval in eval-and-compile.
4021 (byte-compile-log-warning): Remove redundant inhibit-read-only.
4022 (byte-compile-file-form-autoload): Don't hide actual definition.
4023 (byte-compile-maybe-guarded): Accept `functionp' as well.
4025 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
4027 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
4029 * notifications.el (notifications-get-server-information-method):
4031 (notifications-get-capabilities): Fix docstring.
4032 (notifications-get-server-information): New defun.
4034 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4036 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4039 * textmodes/ispell.el: Experimental support for support debugging.
4040 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
4042 (ispell-print-if-debug): New function to print stuff to
4043 `ispell-debug-buffer' if debugging is enabled.
4044 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
4045 show some debugging info.
4046 (ispell-buffer-with-debug): New function that creates a debugging
4047 buffer and calls `ispell-buffer' with debugging enabled.
4049 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4050 comment in autoconf mode. (Bug#12768)
4052 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4054 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4055 frame-first-window, frame-root-window, frame-selected-window,
4056 minibuffer-selected-window, minibuffer-window,
4057 window-absolute-pixel-edges, window-at, window-body-height,
4058 window-body-width, window-display-table, window-combination-limit,
4059 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4060 window-inside-edges, window-inside-pixel-edges, window-left-child,
4061 window-left-column, window-margins, window-next-buffers,
4062 window-next-sibling, window-new-normal, window-new-total,
4063 window-normal-size, window-parameter, window-parameters, window-parent,
4064 window-pixel-edges, window-point, window-prev-buffers,
4065 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4066 window-start, window-text-height, window-top-child, window-top-line,
4067 window-total-height, window-total-width and window-use-time to the list
4068 of functions without side-effects.
4069 (toplevel): Add window-valid-p to the list of error-free functions
4070 without side-effects.
4072 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4074 * textmodes/ispell.el (ispell-program-name):
4075 Update spellchecker parameters when customized.
4077 2012-11-04 Glenn Morris <rgm@gnu.org>
4079 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4081 2012-11-04 Chong Yidong <cyd@gnu.org>
4083 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4084 same-window-* variables.
4086 2012-11-04 Juri Linkov <juri@jurta.org>
4088 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4089 (isearch-describe-key, isearch-describe-mode): Use a display
4090 action instead of binding same-window-* variables (Bug#10040).
4092 2012-11-03 Glenn Morris <rgm@gnu.org>
4094 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4095 Rename handler properties back from cl-- to cl-. (Bug#12788)
4097 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4099 2012-11-03 Eli Zaretskii <eliz@gnu.org>
4101 * term/pc-win.el: Don't load term/internal from here.
4103 * loadup.el: Load term/internal from here.
4105 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4107 * progmodes/python.el (inferior-python-mode): Fix hang in
4108 jit-lock (Bug#12645).
4110 2012-11-03 Martin Rudalics <rudalics@gmx.at>
4112 * window.el (switch-to-visible-buffer)
4113 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4115 2012-11-03 Glenn Morris <rgm@gnu.org>
4117 * emacs-lisp/cl-lib.el (cl--random-time):
4118 Rename from cl-random-time. (Bug#12773)
4119 (cl--gensym-counter, cl--random-state): Update callers.
4120 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4122 2012-11-03 Chong Yidong <cyd@gnu.org>
4124 * cus-start.el: Make cursor-type customizable (Bug#11633).
4126 2012-11-02 Glenn Morris <rgm@gnu.org>
4128 * filecache.el: No need to load find-lisp when compiling.
4129 (find-lisp-find-files): Autoload it.
4130 (file-cache-add-directory-recursively): Don't require find-lisp.
4132 * image.el (image-type-from-file-name): Trivial simplification.
4134 * emacs-lisp/bytecomp.el (byte-compile-eval):
4135 Decouple "noruntime" and "cl-functions" warnings.
4137 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
4139 * play/gomoku.el (gomoku-display-statistics): Update mode line
4140 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4142 2012-10-31 Martin Rudalics <rudalics@gmx.at>
4144 * window.el (quit-restore-window): If the window has been
4145 created on an existing frame and ended up as the sole window on
4146 that frame, do not delete it (Bug#12764).
4148 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4150 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4151 Rename from sh--inside-arithmetic-expression, handle more cases
4154 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4155 (sh-font-lock-open-heredoc): Use it (bug#12770).
4157 2012-10-30 Glenn Morris <rgm@gnu.org>
4159 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4161 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4163 2012-10-29 Chong Yidong <cyd@gnu.org>
4165 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4166 function key is stored in a keyboard macro (Bug#4894).
4168 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4170 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4174 (diff-unified->context, diff-context->unified)
4175 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4177 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4179 * files.el (find-alternate-file): Only ask one question (bug#12487).
4181 2012-10-29 Chong Yidong <cyd@gnu.org>
4183 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4184 Suggested by Dan Nicolaescu (Bug#6326).
4186 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4188 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4190 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4192 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4194 * face-remap.el (face-remap-add-relative): Handle the case where a
4195 face-remapping-alist entry is a cons cell (Bug#12762).
4197 2012-10-29 Kevin Ryde <user42@zip.com.au>
4199 * woman.el (woman-parse-numeric-value): Handle picas correctly
4202 2012-10-29 Glenn Morris <rgm@gnu.org>
4204 * emacs-lisp/cl.el (defsetf): Doc fix.
4206 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4208 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4209 syntax to the matching opener, if any (bug#12547).
4210 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4211 matching open as a "case-(".
4212 (sh-smie-rc-grammar): Add a corresponding rule for it.
4214 2012-10-28 Daniel Hackney <dan@haxney.org>
4216 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4217 "PKGNAME-autoloads.el" in case we created it.
4219 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4222 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4223 (completion--twq-all): Disable too-strict assertions.
4225 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4227 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4229 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4230 text to match the real keybindings.
4232 2012-10-27 Juri Linkov <juri@jurta.org>
4234 * wdired.el (wdired-keep-marker-rename): New defcustom.
4235 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4238 * dired.el (dired-keep-marker-rename): Add reference to
4239 `wdired-keep-marker-rename' in the docstring.
4240 Add default character value ?R to display initially in
4241 Customization UI instead of ?@.
4243 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4245 * window.el (display-buffer): In doc-string describe
4246 window-height and window-width alist entries.
4248 * time.el (display-time-world): Restore fit-window-to-buffer
4251 2012-10-27 Chong Yidong <cyd@gnu.org>
4253 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4255 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4257 * minibuffer.el (completion-category-overrides): New completion
4258 category `bookmark' (bug#11131).
4260 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4262 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4263 Silence bogus compiler warnings for ad-do-it.
4265 * bookmark.el (bookmark-completing-read): Set the completion category
4266 to `bookmark' (bug#11131).
4268 2012-10-26 Bastien <bzg@altern.org>
4269 Stefan Monnier <monnier@iro.umontreal.ca>
4271 * face-remap.el: Use lexical-binding.
4272 (text-scale-adjust): Improve docstring. Use itself for the temporary
4273 overlay-map bindings, so as to repeat the "Use..." message each time.
4275 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * emacs-lisp/macroexp.el (macroexp--expand-all):
4278 Obey byte-compile-warning-enabled-p (bug#12486).
4280 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4281 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4283 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4285 * mouse.el (mouse-drag-line): Move last form into preceding when
4288 * help.el (resize-temp-buffer-window): Fix doc-string.
4290 2012-10-25 David Engster <deng@randomsample.de>
4292 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4293 Remove. This feature is already integrated in imenu.
4295 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4296 always loaded. Require `speedbar' unconditionally.
4298 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4300 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4302 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4304 * net/ldap.el (ldap-search-internal): The official ldif format starts
4305 with a "version: 1" header (bug#12724).
4307 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4310 2012-10-25 Glenn Morris <rgm@gnu.org>
4312 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4314 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * minibuffer.el (minibuffer-force-complete): Use one more marker
4317 for the temporary-overlay-map command (bug#12619).
4319 2012-10-24 Chong Yidong <cyd@gnu.org>
4321 * time.el (display-time-world-mode): Derive from special-mode.
4322 (display-time-world): Use display-buffer (Bug#12708).
4323 (display-time-world-mode-map): Variable deleted.
4324 (display-time-world-display): Wrap the final delete-char inside
4327 2012-10-24 Chong Yidong <cyd@gnu.org>
4329 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4332 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4334 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4336 * minibuffer.el (completion--all-sorted-completions-location): New var.
4337 (completion--cache-all-sorted-completions)
4338 (completion--flush-all-sorted-completions): Use it.
4339 (completion-in-region, completion-in-region--postch)
4340 (completion-at-point, completion-help-at-point): Use markers in
4341 completion-in-region--data (bug#12619).
4343 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4345 * progmodes/compile.el (compilation-start): Try to handle common
4346 quoting of `cd' argument (bug#12640).
4348 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4351 2012-10-23 Glenn Morris <rgm@gnu.org>
4353 * progmodes/gud.el (gud-menu-map):
4354 Check gdb-active-process is bound. (Bug#12358)
4356 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4358 * repeat.el (repeat): Set real-this-command (bug#12232).
4360 * htmlfontify.el (hfy-post-html-hook):
4361 * filesets.el (filesets-cache-fill-content-hook):
4362 * arc-mode.el (archive-extract-hook):
4363 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4364 * net/rcirc.el (rcirc-sentinel-functions)
4365 (rcirc-receive-message-functions, rcirc-activity-functions)
4366 (rcirc-print-functions):
4367 * net/dbus.el (dbus-event-error-functions):
4368 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4369 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4370 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4371 * term/sun.el (sun-raw-prefix-hooks):
4372 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4374 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4376 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4377 Set `tramp-chunksize' to 1. This improves the performance.
4378 (tramp-smb-wait-for-output): Add timeout to
4379 `tramp-accept-process-output' calls.
4381 2012-10-23 Chong Yidong <cyd@gnu.org>
4383 * faces.el (font-list-limit): Define as an obsolete variable.
4385 * startup.el (command-line):
4386 * cus-start.el: Don't refer to font-list-limit.
4388 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4390 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * subr.el (internal-temp-output-buffer-show): Rename from
4393 temp-output-buffer-show, since previously compiled files expect this name.
4395 2012-10-23 Glenn Morris <rgm@gnu.org>
4397 * image.el (image-type-from-file-name): If multiple types match,
4398 return the first one that is supported. (Bug#9045)
4400 2012-10-22 Glenn Morris <rgm@gnu.org>
4402 * image.el (imagemagick-enabled-types): Doc fix.
4404 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4406 * progmodes/which-func.el (which-func-current): The hash-table may have
4407 an explicit nil (bug#12338).
4409 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * electric.el (electric-pair-delete-selection-self-insert-function):
4412 Rename to electric-pair-will-use-region, return a boolean.
4413 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4415 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4416 (delete-selection-pre-hook): Use use-region-p.
4417 (delete-selection-self-insert-function): Remove.
4418 (self-insert-command): Obey self-insert-uses-region-functions.
4419 (self-insert-iso): Revert to previous setting, since we don't actually
4420 know what that command does.
4421 (delete-selection-self-insert-hooks): Remove.
4423 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4425 * delsel.el (delete-selection-helper): New function, extracted from
4426 delete-selection-pre-hook.
4427 (delete-selection-pre-hook): Use it.
4428 (delete-selection-self-insert-function): New function.
4429 (delete-selection-self-insert-hooks): New hook.
4430 (self-insert-command, self-insert-iso): Use it.
4431 * electric.el (electric-pair-syntax): New function, extracted from
4432 electric-pair-post-self-insert-function.
4433 (electric-pair-post-self-insert-function): Use it.
4434 (electric-pair-delete-selection-self-insert-function): New function.
4435 (electric-pair-mode): Require delsel and setup
4436 delete-selection-self-insert-hooks (bug#11520).
4438 2012-10-20 Chong Yidong <cyd@gnu.org>
4440 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4441 no changes to show (Bug#12586).
4443 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4444 list explicitly (Bug#12571).
4446 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4448 * progmodes/flymake.el (flymake-create-temp-inplace):
4451 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4453 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4455 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4457 * calc/calc-units.el (math-extract-units): Properly extract powers
4460 2012-10-20 Daniel Colascione <dancol@dancol.org>
4462 * frame.el (make-frame): Set x-display-name as we used to in order
4463 to unbreak creating an X11 frame from an Emacs daemon started
4466 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4469 the same completion-field (bug#12221).
4471 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4473 * emacs-lisp/debug.el (debug): Record height of debugger window
4474 also when debugger will be back (Bug#8789).
4476 2012-10-18 Chong Yidong <cyd@gnu.org>
4478 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4479 Convert to defcustom.
4480 (gdb-get-source-file): Don't bind pop-up-windows.
4482 * progmodes/gud.el (gud-display-line): Don't specially re-use
4483 other frames for the gdb-mi case (Bug#12648).
4485 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4487 * emacs-lisp/advice.el: Clean up commentary a bit.
4488 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4489 (byte-code-function-p): Never redefine.
4491 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4493 2012-10-18 Glenn Morris <rgm@gnu.org>
4495 * dired.el (dired-sort-toggle): Some ls implementations only allow
4496 a single option string. (Bug#12666)
4498 * minibuffer.el (completion-cycle-threshold): Doc fix.
4500 2012-10-17 Kenichi Handa <handa@gnu.org>
4502 * international/mule.el (set-keyboard-coding-system):
4503 Recover input meta mode when the new coding system doesn not use 8-bit.
4504 Supply TERMINAL arg to set-input-meta-mode.
4506 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4508 * wdired.el (wdired-old-marks): New variable.
4509 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4510 (wdired-do-renames): Move point with renamed file and don't lose
4511 mark status (Bug#11795).
4513 2012-10-16 Juri Linkov <juri@jurta.org>
4515 * replace.el (query-replace-help): Mention multi-buffer replacement
4516 keys in the Help message. (Bug#12655)
4518 2012-10-15 Chong Yidong <cyd@gnu.org>
4520 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4522 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4524 * window.el (display-buffer): Doc fix.
4526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4527 Adjust the msft regexp to the output of Studio 2010, and move msft
4528 before edg-1. See the discussion on emacs-devel,
4529 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4532 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4535 (oset): Move uses of object-class-fast macro after its definition.
4537 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4539 2012-10-13 Chong Yidong <cyd@gnu.org>
4541 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4542 enabled, re-enable it (Bug#11963).
4544 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4546 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4547 non-nil, restore window configuration (Bug#12623).
4549 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4551 * help-fns.el (describe-variable, describe-function-1):
4552 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4554 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4556 2012-10-12 Glenn Morris <rgm@gnu.org>
4558 * mail/rmailsum.el (rmail-header-summary):
4559 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4561 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4563 * progmodes/python.el (python-mode-map):
4564 Replace subtitute-key-definition with proper command remapping.
4565 (python-nav--up-list): Fix behavior for blocks on the same level.
4567 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4571 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4572 changes to the format of load-history.
4574 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4575 completion-ignore-case in case that var is buffer-local (bug#12615).
4577 2012-10-11 Kenichi Handa <handa@gnu.org>
4579 * international/eucjp-ms.el: Re-generated.
4581 2012-10-10 Kenichi Handa <handa@gnu.org>
4583 * select.el (xselect--encode-string): If a coding is specified for
4584 selection, and that is compatible with COMPOUND_TEXT, use it.
4586 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4588 * window.el (switch-to-buffer-preserve-window-point): New option.
4590 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4592 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4595 Don't document nil as a useful value (bug#12583).
4597 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4599 * net/tramp.el (tramp-debug-message):
4600 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4601 (with-tramp-progress-reporter): Rename from
4602 `tramp-with-progress-reporter'.
4603 (with-tramp-file-property, with-tramp-connection-property):
4604 Move from tramp-cache.el, rename from `with-file-property' and
4605 `with-connection-property', respectively.
4607 * net/tramp-cache.el: Remove `with-file-property' and
4608 `with-connection-property'.
4611 * net/tramp-gvfs.el:
4613 * net/tramp-smb.el: Adapt callees.
4615 * net/trampver.el: Update release number.
4617 2012-10-09 Glenn Morris <rgm@gnu.org>
4619 * w32-fns.el (set-message-beep):
4620 * term/w32-win.el (set-message-beep): Update declarations.
4622 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4625 (mode-line-widen, mode-line-input-method-map)
4626 (mode-line-coding-system-map, mode-line-remote)
4627 (mode-line-unbury-buffer, mode-line-bury-buffer)
4628 (mode-line-next-buffer, mode-line-previous-buffer):
4629 Replace save-selected-window+select-window => with-selected-window.
4631 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4632 * progmodes/cc-vars.el (bq-process): Remove, unused.
4634 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4636 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4638 Implemented `backward-up-list'-like navigation.
4639 * progmodes/python.el (python-nav-up-list)
4640 (python-nav-backward-up-list): New functions.
4641 (python-mode-map): Define substitute key for backward-up-list to
4642 python-nav-backward-up-list.
4644 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4646 * progmodes/python.el (python-fill-paragraph): Rename from
4647 python-fill-paragraph-function. Fixed fill-paragraph for
4648 decorators (Bug#12605).
4650 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4652 * progmodes/python.el (python-shell-output-filter): Handle extra
4653 carriage return in OSX (Bug#12409).
4655 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4657 Fix shell handling of unbalanced quotes and parens in output.
4658 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4659 (python-syntax-propertize-function): Use it.
4660 (python-shell-output-syntax-table): New var.
4661 (inferior-python-mode): Prevent unbalanced parens/quotes from
4662 previous output mess with current input context.
4664 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4666 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4667 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4669 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4671 * ffap.el (ffap-replace-file-component): Support Tramp file name
4672 syntax, not only ange-ftp's one.
4674 2012-10-08 Glenn Morris <rgm@gnu.org>
4676 * cus-start.el (message-log-max): Set :version.
4678 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4680 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4682 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4683 the minibuffer window (Bug#10851).
4685 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4687 Enhancements on forward-sexp movement.
4688 * progmodes/python.el (python-nav-beginning-of-statement)
4689 (python-nav-end-of-statement): Return point-marker.
4690 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4691 (python-info-current-symbol)
4692 (python-info-statement-starts-block-p): Rename from
4693 python-info-beginning-of-block-p.
4694 (python-info-statement-ends-block-p): Rename from
4695 python-info-end-of-block-p.
4696 (python-info-beginning-of-statement-p)
4697 (python-info-end-of-statement-p)
4698 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4701 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4703 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4704 frame-selected-windows.
4706 2012-10-08 Daniel Colascione <dancol@dancol.org>
4708 * battery.el (battery-status-function): Check for
4709 w32-battery-status itself, not system-time windows-nt.
4711 * frame.el: Require cl-lib.
4712 (display-format-alist): New variable mapping frame types to
4713 functions that initialize them.
4714 (window-system-for-display): New function: interprets
4715 display-format-alist.
4716 (make-frame-on-display): Remove existing display-selection logic
4717 and just forward to make-frame, which will now DTRT.
4718 (make-frame): Restructure to use window-system-for-display to
4719 figure out how to create a frame on a given display.
4720 (display-mouse-p): Look for frame-type w32, not a particular
4723 * loadup.el: Load w32 lisp code when we have the w32 feature.
4725 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4726 system-type windows-nt.
4728 * server.el (server-create-window-system-frame): Look for window
4730 (server-proces-filter): Only force a window system when windows-nt
4731 _and_ w32. Explain why.
4733 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4734 of window systems we configure for the mode.
4736 * startup.el (command-line): Mark window system is initialized
4737 after we've done it.
4739 * common-win.el (x-select-text): Look for w32, not windows-nt.
4741 * ns-win.el: Require cl-lib. Add ourselves to
4742 display-format-alist.
4743 (ns-initialize-window-system): Assert we're not initialized twice.
4745 * w32-win.el: Enable lexical binding; require cl-lib; add
4746 ourselves to display-format-alist.
4747 (w32-handle-dropped-file): Convert incoming dropped files from
4748 Windows paths to Cygwin ones before passing them on to the rest of
4750 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4751 (w32-initialize-window-system): Assert we're not initialized twice.
4753 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4754 (x-initialize-window-system): Assert we're not initialized twice.
4756 * w32-common-fns.el: New File.
4757 (w32-version, w32-using-nt, w32-get-clipboard-data)
4758 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4759 (w32-charset-info-alist, x-last-selected, text)
4760 (x-get-selection-value, x-selection-value): Move here.
4762 * w32-fns.el: Require w32-common-fns.
4763 (w32-version, w32-using-nt, w32-get-clipboard-data)
4764 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4765 (w32-charset-info-alist, x-last-selected, text)
4766 (x-get-selection-value, x-selection-value): Move to
4770 (w32-allow-system-shell, w32-system-shells): Define only in
4773 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4776 (read-passwd): Remove a few more potential sources of leaks.
4778 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4780 * progmodes/python.el (inferior-python-mode)
4781 (python-shell-make-comint): Fix initialization of local
4782 variables copied from parent buffer.
4784 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4786 * term/ns-win.el (ns-read-file-name): Update declaration to match
4788 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4789 it is set when font is acted upon.
4791 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4793 Enhancements to indentation.
4794 * progmodes/python.el (python-indent-context): Give priority to
4795 inside-string context. Make comments indentation markers.
4796 (python-indent-region): Do not mess with strings, unless it's the
4797 enclosing set of quotes.
4799 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * window.el (internal--before-save-selected-window)
4802 (internal--after-save-selected-window): New functions extracted from
4803 save-selected-window. Make sure we return the `alist' we construct.
4804 (save-selected-window): Use them.
4806 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4807 Use with-selected-window.
4809 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4810 forms that define macros (bug#12593).
4812 2012-10-07 Kenichi Handa <handa@gnu.org>
4814 * international/mule-conf.el (compound-text-with-extensions):
4815 Add :mime-charset property as x-ctext.
4817 2012-10-07 Stefan Merten <smerten@oekonux.de>
4819 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4820 (rst-indent-literal-normal, rst-indent-literal-minimized)
4821 (rst-indent-comment): Correct :version tag.
4822 (rst-official-cvs-rev): Correct version string.
4824 2012-10-07 Glenn Morris <rgm@gnu.org>
4826 * mail/rmailmm.el (rmail-mime-process-multipart):
4827 Do not confuse a multipart message with an epilogue
4828 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4830 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4832 Fix shell output retrieval and comint-prompt-regexp init.
4833 * progmodes/python.el (inferior-python-mode):
4834 (python-shell-make-comint): Fix initialization of
4835 comint-prompt-regexp from copied file local variables.
4836 (python-shell-fetched-lines): Remove var.
4837 (python-shell-output-filter-in-progress): Rename from
4838 python-shell-fetch-lines-in-progress.
4839 (python-shell-output-filter-buffer): Rename from
4840 python-shell-fetch-lines-string.
4841 (python-shell-fetch-lines-filter): Delete function.
4842 (python-shell-output-filter): New function.
4843 (python-shell-send-string-no-output): Use them.
4845 2012-10-07 Glenn Morris <rgm@gnu.org>
4847 * hi-lock.el (hi-lock-process-phrase):
4848 Try to make it less fragile. (Bug#7161)
4850 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4852 2012-10-06 Glenn Morris <rgm@gnu.org>
4854 * ehelp.el (electric-help-mode): Use help-mode rather than
4855 non-existent mode `help'.
4856 (electric-help-map): Use button-buffer-map. (Bug#10917)
4858 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4859 (reftex-create-bibtex-footer): Fix custom types.
4861 * progmodes/sh-script.el (sh-indent-after-continuation):
4862 Add explicit :group.
4864 * textmodes/rst.el (rst-preferred-decorations)
4865 (rst-shift-basic-offset): Clarify obsolescence versions.
4867 * profiler.el (profiler): Add missing group :version tag.
4868 * avoid.el (mouse-avoidance-banish-position):
4869 * proced.el (proced-renice-command):
4870 * calc/calc.el (calc-ensure-consistent-units):
4871 * calendar/icalendar.el (icalendar-import-format-uid):
4872 * net/tramp.el (tramp-save-ad-hoc-proxies):
4873 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4874 * progmodes/flymake.el (flymake-error-bitmap)
4875 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4876 * progmodes/sh-script.el (sh-indent-after-continuation):
4877 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4878 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4879 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4880 (vhdl-array-index-record-field-in-sensitivity-list)
4881 (vhdl-indent-comment-like-next-code-line):
4882 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4883 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4884 (reftex-cite-key-separator, reftex-create-bibtex-header)
4885 (reftex-create-bibtex-footer):
4886 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4887 (rst-indent-literal-normal, rst-indent-literal-minimized)
4888 (rst-indent-comment): Add missing custom :version tags.
4890 * calendar/timeclock.el (timeclock-modeline-display):
4891 Add missing obsolete alias for renamed user option.
4893 * strokes.el (strokes-modeline-string):
4894 * emulation/crisp.el (crisp-mode-modeline-string):
4895 * eshell/esh-mode.el (eshell-status-in-modeline):
4896 Aliases to defcustoms must come before the defcustom.
4898 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4899 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4900 (cal-tex-cursor-week-monday): Doc fixes.
4901 (cal-tex-cursor-week2-summary): Doc fix.
4902 Rename from cal-tex-cursor-week-at-a-glance.
4904 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4905 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4907 * calendar/calendar.el (calendar-mode-map):
4908 Add cal-tex-cursor-week2-summary.
4910 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4912 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4914 * subr.el (read-passwd-map): New var.
4915 (read-passwd): Use `read-string' again.
4916 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4918 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4920 * register.el (append-to-register, prepend-to-register):
4921 Deactivate mark, as does `copy-to-register' (bug#12389).
4923 2012-10-06 Chong Yidong <cyd@gnu.org>
4925 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4927 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4929 * international/characters.el: Fix simple mistake ((car chars) ->
4930 elt), delete duplicated code.
4932 2012-10-06 Glenn Morris <rgm@gnu.org>
4934 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4936 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4938 * color.el (color-hsl-to-rgb): Fix incorrect results for
4939 small and large hue values. (Bug#12559)
4941 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4943 Enhancements to docstring formatting when filling paragraphs.
4944 * progmodes/python.el (python-fill-docstring-style): Rename from
4945 python-fill-string-style. Added new style.
4946 (python-fill-string): Use new style. Better checks for
4949 2012-10-05 Glenn Morris <rgm@gnu.org>
4951 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4953 * color.el (color-name-to-rgb, color-rgb-to-hex)
4954 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4955 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4956 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4957 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4959 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4961 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4963 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4964 to get the correct size across symlinks.
4966 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4968 2012-10-04 Juri Linkov <juri@jurta.org>
4970 * replace.el (query-replace-interactive): Declare obsolete.
4971 (query-replace-read-from): Add the last incremental search string
4972 to the list of default values accessible via M-n.
4973 (map-query-replace-regexp): Use `read-regexp'.
4974 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4975 (map-query-replace-regexp, replace-string, replace-regexp):
4976 Fix docstrings to replace mentions of `query-replace-interactive'
4977 with alternatives. (Bug#12526)
4979 2012-10-04 Juri Linkov <juri@jurta.org>
4981 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4982 (dired-pop-to-buffer): Declare obsolete.
4983 (dired-mark-pop-up): Doc fix.
4985 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4987 Allow user to set docstring style for fill-paragraph.
4988 * progmodes/python.el
4989 (python-fill-comment-function, python-fill-string-function)
4990 (python-fill-decorator-function, python-fill-paren-function):
4991 Remove :safe for defcustoms.
4992 (python-fill-string-style): New defcustom
4993 (python-fill-paragraph-function): Enhance context detection.
4994 (python-fill-string): Honor python-fill-string-style settings.
4996 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4998 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4999 after setting its buffer (Bug#10805).
5001 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
5003 Fix cornercase for string syntax.
5004 * progmodes/python.el (python-syntax-propertize-function):
5005 Simplify and enhance the regexp for unescaped quotes. Now it also
5006 matches quotes in weird situations like the single quote in
5008 (python-syntax-stringify): Simplify num-quotes detecting code.
5010 2012-10-03 Glenn Morris <rgm@gnu.org>
5012 * help-macro.el (three-step-help):
5013 Revert 2012-09-29 change. (Bug#12567)
5015 2012-10-03 Martin Rudalics <rudalics@gmx.at>
5017 * menu-bar.el (kill-this-buffer): Don't do anything when
5018 `menu-frame' is not alive or visible (Bug#8184).
5020 * emacs-lisp/debug.el (debug): When quitting the debugger window
5021 restore current buffer (Bug#12502).
5023 2012-10-02 Chong Yidong <cyd@gnu.org>
5025 * progmodes/hideif.el (hif-lookup, hif-defined):
5026 Handle semantic-c-takeover-hideif.
5028 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
5030 Change sampling interval units from ms to ns.
5031 * profiler.el (profiler-sampling-interval): Change units
5032 from ms to ns, multiplying the default by 1000000 so that
5034 (profiler-report-cpu-line-format): Give enough room for
5035 the maximum counters on 64-bit hosts.
5036 (profiler-report-render-calltree-1): Call them "CPU samples",
5037 not "Time (ms)", since they are not milliseconds now (and
5040 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5042 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
5043 Fix querying BBDB for entries without a last name (Bug#11580).
5045 2012-10-02 Chong Yidong <cyd@gnu.org>
5047 * emacs-lisp/eieio.el: Restore Version header.
5049 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5051 * vc/diff-mode.el (diff--auto-refine-data): New var.
5052 (diff-hunk): Use it to delay refinement.
5053 (diff-mode): Remove overlays when we turn off font-lock.
5055 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5056 (table-initialize-table-fixed-width-mode)
5057 (table-set-table-fixed-width-mode): Remove functions.
5058 (table-command-list): Move initialization into declaration.
5059 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5060 (table-with-cache-buffer): Use `declare'.
5061 (table-span-cell): Simplify via CSE.
5062 (table-fixed-width-mode): Use define-minor-mode.
5063 (table-call-interactively, table-funcall, table-apply): Remove.
5064 (table-function): New function, to replace them.
5066 * bookmark.el (bookmark-search-pattern): Remove var.
5067 (bookmark-read-search-input): Remove function.
5068 (bookmark-bmenu-search): Reimplement using a minibuffer.
5070 * faces.el (modeline): Remove obsolete face name.
5072 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5073 and give a non-nil default value.
5074 (add-change-log-entry): Simplify accordingly.
5076 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5078 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5079 (vc-git-log-edit-toggle-amend): New function.
5080 (vc-git-log-edit-toggle-signoff): New function.
5081 (vc-git-log-edit-mode): New major mode.
5082 (vc-git-log-edit-mode-map): Keymap for it.
5083 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5085 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5087 (log-edit-toggle-header): New function.
5088 (log-edit-extract-headers): Accept function values in HEADERS alist.
5090 2012-10-01 David Engster <deng@randomsample.de>
5092 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5093 from symbol property and change message to be more consistent with
5095 (eieio-describe-generic): Add filename for each implementation.
5096 Fix indices for generic and normal methods.
5097 (eieio-method-def, eieio-class-def): New buttons.
5098 (eieio-help-find-method-definition)
5099 (eieio-help-find-class-definition): New functions.
5100 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5101 class, constructor and method definitions.
5103 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5104 information in symbol property.
5105 (scoped-class): Remove.
5106 (eieio-slot-name-index, call-next-method): Check if it is bound.
5108 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
5110 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5111 (eieio-custom-mode): New major mode.
5112 (eieio-customize-object): Use it.
5114 2012-10-01 Eric Ludlam <zappo@gnu.org>
5116 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5117 specifying the expected class, and whether subclassing is allowed.
5118 (eieio-persistent-convert-list-to-object):
5119 (eieio-persistent-validate/fix-slot-value)
5120 (eieio-persistent-slot-type-is-class-p): New functions.
5121 (eieio-named::slot-missing): Doc fix.
5123 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5124 Stop using unused publd variable.
5126 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5127 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5128 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5129 (eieio-speedbar-handle-click): Do not specify a class for the
5130 method. Fixes method invocation order problems with EDE.
5132 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5134 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5135 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5137 2012-10-01 Karl Fogel <kfogel@red-bean.com>
5139 * bookmark.el (bookmark-version-control): Give tags in the
5140 :type choices (Bug#12309), and improve doc string.
5141 (bookmark-write-file): Bind `print-circle' to `t' to allow
5142 circular custom bookmark types. (Bug#12503)
5144 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5146 Revert the FOLLOW-SYMLINKS change for file-attributes.
5147 * files.el (remote-file-name-inhibit-cache, after-find-file):
5148 * time.el (display-time-file-nonempty-p): Undo last change.
5150 * profiler.el (profiler-sampling-interval): Change default back to 1.
5151 See Stefan Monnier in
5152 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5154 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5156 Shell output catching a la gud-gdb.
5157 * progmodes/python.el (python-shell-fetch-lines-in-progress)
5158 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5160 (python-shell-fetch-lines-filter): New function.
5161 (python-shell-send-string-no-output): Use them.
5163 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5165 * profiler.el (profiler-sampling-interval): Rename from
5166 profiler-sample-interval.
5167 (profiler-sampling-interval): Default to 10.
5168 (profiler-find-profile): New command (was profiler-find-log).
5169 (profiler-find-profile-other-window): New command.
5170 (profiler-find-profile-other-frame): New command.
5171 (profiler-profile): Introduce API-level data structure.
5173 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5175 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5176 * files.el (remote-file-name-inhibit-cache):
5177 * time.el (display-time-file-nonempty-p): Use it.
5178 * files.el (after-find-file): Don't chase links before calling
5179 file-exists-p, as file-exists-p already does the right thing.
5181 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5183 Merge from standalone RefTeX repository.
5185 The following ChangeLog entries are shortened versions of the
5186 original ones with file paths adapted. A not so strongly edited
5187 version of the original ChangeLog can be found in the commit log.
5189 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5190 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5191 Correctly handle new value type returned by `reftex-citation'.
5193 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5194 that entries with whitespace at various places are found.
5195 Doc fix. Include entries that are cross-referenced from cited entries.
5196 Include @String definitions in the resulting bib file. Add header
5197 and footer defined in `reftex-create-bibtex-header' and
5198 `reftex-create-bibtex-footer'.
5199 (reftex-do-citation): Make it possible again to insert
5200 non-existent entries. Save match data when asking for optional
5201 arguments. Return all keys, not just the first one.
5202 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5203 all citations in the same line.
5204 (reftex-parse-bibtex-entry): Accept additional optional argument
5205 `raw' and keep quotes or braces if it is non-nil. Match fields
5206 containing hyphens besides word constituents.
5207 (reftex-get-string-refs): New function.
5208 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5209 and ask if it should be reread in case it did.
5210 (reftex-pop-to-bibtex-entry)
5211 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5212 entries with spaces or tabs in front of arguments.
5213 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5214 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5215 Match entries containing numbers and symbol constituents.
5216 (reftex-do-citation, reftex-figure-out-cite-format):
5217 Use `reftex-cite-key-separator'.
5219 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5220 (reftex-mouse-view-crossref): Explain why point is set.
5222 * textmodes/reftex-global.el: Whitespace changes.
5224 * textmodes/reftex-index.el: Move provide statement to end of
5226 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5227 (reftex-index-visit-phrases-buffer): Set marker when visiting
5228 buffer. This allows for returning from the phrases file to the
5229 file one was just editing instead of the file where the last
5230 phrases was added from.
5231 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5232 punctuation syntax as it usually is not used as string quote in
5233 TeX-related modes and may occur unmatched. The change also
5234 prevents fontification of quoted content.
5235 (reftex-index-phrases-mode): Use it.
5237 * textmodes/reftex-parse.el (reftex-parse-from-file):
5238 Move backward one char if a `\' was matched after a section macro.
5239 (reftex-parse-from-file): Use beginning of match instead of end as
5242 * textmodes/reftex-ref.el: Adapt creation of
5243 `reftex-<package>-<macro>' functions to new structure of
5244 `reftex-ref-style-alist'.
5245 (reftex-reference): Use `reftex-ref-style-list' function.
5246 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5247 reference macro if `reftex-ref-macro-prompt' is non-nil.
5248 (reftex-reference): Pass refstyle to `reftex-format-special'.
5249 Determine reference macro by looking at
5250 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5251 Use only one special format function.
5252 (reftex-varioref-vref, reftex-fancyref-fref)
5253 (reftex-fancyref-Fref): Remove definitions. The functions are now
5254 generated from `reftex-ref-style-alist'.
5255 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5257 (reftex-format-special): New function.
5259 * textmodes/reftex-sel.el
5260 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5261 of `reftex-ref-style-alist'. Remove code for testing macro type.
5262 (reftex-select-toggle-varioref)
5263 (reftex-select-toggle-fancyref): Remove.
5264 (reftex-select-cycle-ref-style-internal)
5265 (reftex-select-cycle-ref-style-forward)
5266 (reftex-select-cycle-ref-style-backward): New functions.
5267 (reftex-select-label-map): Use `v' and `V' for general cycling
5268 through reference styles. Add `p' for switching between number
5269 and page reference types.
5271 * textmodes/reftex-toc.el (reftex-re-enlarge):
5272 Call `enlarge-window' only if there is something to do because in Emacs
5273 the horizontal version throws an error even if the parameter is 0.
5275 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5276 (reftex-plug-into-AUCTeX): Doc fix.
5277 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5278 string. Adapt to new name.
5279 (reftex-ref-style-alist): Change structure so that it is not
5280 possible to use multiple different package names within a style.
5281 Remove the symbols for symbols for macro type distinction.
5282 Add characters for macro selection.
5283 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5284 (reftex-create-bibtex-footer): New variables.
5285 (reftex-format-ref-function): Mention third argument of special
5287 (reftex-ref-style-alist, reftex-ref-style-default-list):
5289 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5290 to new implementation. Mark as obsolete. Add compatibility code
5291 for honoring the variable values in case they are set.
5292 (reftex-cite-format-builtin, reftex-bibliography-commands):
5293 Add support for ConTeXt.
5294 (reftex-format-ref-function, reftex-format-cite-function):
5296 (reftex-cite-key-separator): New variable.
5298 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5299 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5300 `reftex-syntax-table' because parens have to retain their paren
5301 syntax in order for parsing of BibTeX entries like @book(...) to
5303 (reftex-in-comment): Do not error out if `comment-start-skip' is
5304 not set. Deal correctly with escaped comment characters.
5305 (reftex-tie-multifile-symbols): Add doc string.
5306 Initialize `reftex-ref-style-list'.
5307 (reftex-untie-multifile-symbols): Add doc string.
5308 (reftex-add-index-macros): Doc fix.
5309 (reftex-ref-style-activate, reftex-ref-style-toggle)
5310 (reftex-ref-style-list): New functions.
5311 (reftex-mode-menu): Use them. Adapt to new structure of
5312 `reftex-ref-style-alist'.
5313 (reftex-select-with-char): Kill the RefTeX Select buffer when
5315 (reftex-remove-if): New function.
5316 (reftex-erase-all-selection-and-index-buffers)
5317 (reftex-mode-menu): Reference styles are now computed from
5318 `reftex-ref-style-alist'. Fix typo.
5319 (reftex-report-bug): New function.
5320 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5321 algorithms with O(n log n). Introduce optional argument SORT (not
5324 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5326 Enhancements for triple-quote string syntax.
5327 * progmodes/python.el (python-syntax-propertize-function):
5328 Match both quote cases in one regexp.
5329 (python-syntax-stringify): Handle matches properly.
5331 2012-09-30 Juri Linkov <juri@jurta.org>
5333 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5334 to nil around the call to `insert' to prevent
5335 directory time modification by lock_file. (Bug#2295)
5336 * tar-mode.el (tar-summarize-buffer): Idem.
5338 2012-09-30 Juri Linkov <juri@jurta.org>
5340 * facemenu.el (list-colors-sort): Add option "Luminance".
5341 (list-colors-sort-key): Implement it.
5343 * vc/diff-mode.el (diff-refine-removed):
5344 * vc/ediff-init.el (ediff-fine-diff-A):
5345 * vc/smerge-mode.el (smerge-refined-removed):
5346 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5348 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5350 * term/ns-win.el (x-file-dialog): New function.
5352 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5354 * ido.el (ido-max-directory-size): Default to nil; the current
5355 default is small for POSIX systems, and impractical on Windows 7
5356 now that lstat returns directory sizes for NTFS.
5358 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5360 In buffer display functions handle window-height/window-width
5361 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5362 * window.el (window--display-buffer): New argument ALIST.
5363 Obey window-height and window-width alist entries.
5364 (window--try-to-split-window): New argument ALIST.
5365 Bind window-combination-limit to t when the window's size shall be
5366 changed and window-combination-limit equals `window-size'.
5367 (display-buffer-in-atom-window)
5368 (display-buffer-in-major-side-window)
5369 (display-buffer-in-side-window, display-buffer-same-window)
5370 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5371 (display-buffer-pop-up-window, display-buffer-below-selected)
5372 (display-buffer-at-bottom, display-buffer-in-previous-window)
5373 (display-buffer-use-some-window): Adjust all callers of
5374 window--display-buffer and window--try-to-split-window.
5375 (fit-frame-to-buffer): New option.
5376 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5378 (display-buffer-in-major-side-window): Evaluate window-height /
5379 window-width alist entries.
5381 * help.el (temp-buffer-resize-frames)
5382 (temp-buffer-resize-regexps): Remove options.
5383 (temp-buffer-resize-mode): Adjust doc-string.
5384 (resize-temp-buffer-window): Don't consult
5385 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5386 temp-buffer-resize-frames.
5388 * dired.el (dired-mark-pop-up):
5389 Call display-buffer-below-selected with a fit-window-to-buffer alist
5392 2012-09-30 Chong Yidong <cyd@gnu.org>
5394 * server.el (server-host): Document the security implications.
5395 (server-auth-key): Doc fix.
5397 * startup.el (initial-buffer-choice): Doc fix.
5399 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5401 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5404 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5406 * help-fns.el (help-fns--obsolete): Fix last change.
5408 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5410 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5411 (minor-mode-map-alist): Remove redundant code.
5413 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5414 visited in a buffer.
5415 (cvs-insert-visited-file): New function.
5416 (find-file-hook): Use it.
5418 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5420 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5422 (log-edit-empty-buffer-p): Don't require a space after a header.
5424 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5426 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5428 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5429 a proper minor-mode.
5431 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5433 2012-09-29 Glenn Morris <rgm@gnu.org>
5435 * winner.el (winner-mode): Remove variable (let define-minor-mode
5437 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5439 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5440 (winner-mode): Use define-minor-mode.
5442 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5443 the full definition in loaddefs, rather than duplicating it.
5445 * help-macro.el (three-step-help): No need to autoload defcustom.
5447 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5448 (inferior-lisp-program, inferior-lisp-load-command)
5449 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5450 No need to autoload defcustoms.
5452 * hippie-exp.el (hippie-expand-try-functions-list)
5453 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5454 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5455 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5456 (hippie-expand-only-buffers): No need to autoload defcustoms.
5457 * progmodes/vhdl-mode.el (vhdl-line-expand):
5458 Explicitly load hippie-exp, so it does not get autoloaded
5459 while hippie-expand-try-functions-list is let-bound.
5461 2012-09-28 Glenn Morris <rgm@gnu.org>
5463 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5465 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5466 Only "cl.el" counts as cl these days.
5468 2012-09-28 Juri Linkov <juri@jurta.org>
5470 Display archive errors in the echo area instead of inserting
5473 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5474 to STDERR-TEST that can be a regexp matching a successful output.
5475 Create a temporary file and redirect stderr to it. Search for
5476 STDERR-TEST in the stderr output and display it in the echo area
5477 if no match is found.
5478 (archive-extract-by-file): New function like
5479 `archive-extract-by-stdout' but extracting archives to files
5480 and looking for successful matches in stdout. Function body is
5481 mostly copied from `archive-rar-extract'.
5482 (archive-rar-extract): Use `archive-extract-by-file'.
5483 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5485 2012-09-28 Leo Liu <sdl.web@gmail.com>
5487 * pcomplete.el (pcomplete-show-completions):
5488 Use minibuffer-message to make pcomplete usable in minibuffer.
5490 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5492 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * type-break.el: Use lexical-binding.
5495 (type-break-mode): Use define-minor-mode.
5497 * emacs-lisp/pcase.el (pcase--mark-used): New.
5498 (pcase--u1): Use it (bug#12512).
5500 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5501 in load-history with the right file name.
5503 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5505 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5506 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5507 (doc-view-get-bounding-box): Make bounding box slicing work for
5508 ODF and DVI documents.
5510 2012-09-28 Glenn Morris <rgm@gnu.org>
5512 * type-break.el (type-break-mode, type-break-interval)
5513 (type-break-good-rest-interval, type-break-keystroke-threshold):
5514 No need to autoload.
5515 (type-break-good-rest-interval, type-break-keystroke-threshold):
5518 2012-09-28 Chong Yidong <cyd@gnu.org>
5520 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5523 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5525 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5527 2012-09-27 Glenn Morris <rgm@gnu.org>
5529 * faces.el (x-display-name): Declare (for without-x builds).
5531 * linum.el (linum-format): Don't autoload it. Improve :type.
5533 * progmodes/tcl.el: Don't require outline when compiling.
5534 (outline-regexp, outline-level): Declare.
5535 * textmodes/sgml-mode.el: Don't require outline when compiling.
5536 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5538 * term.el (term-ansi-reset):
5539 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5541 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5542 files for RCS and SCCS. (Bug#9781)
5544 2012-09-27 Chong Yidong <cyd@gnu.org>
5546 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5547 change; value should be t.
5549 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * image-mode.el: Use lexical-binding.
5552 (image-mode-winprops): Use t to stand for the window of
5553 a buffer that's not displayed.
5554 * doc-view.el (doc-view-new-window-function): Handle the new
5556 (doc-view-enlarge): Make it a real nop if the size is not changed.
5557 (doc-view-display): Handle the case where the buffer is not (yet?)
5558 displayed in any window.
5559 (doc-view-saved-settings): New var.
5560 (doc-view-mode): Use it.
5561 (doc-view-fallback-mode): Set it.
5563 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5564 Set lexical-binding.
5565 (minibuffer-eldef-shorten-default): New var.
5566 (minibuffer-default-in-prompt-regexps): Use it for new default.
5567 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5569 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5571 * international/uni-bidi.el:
5572 * international/uni-category.el:
5573 * international/uni-name.el:
5574 * international/uni-numeric.el: Regenerate.
5576 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5577 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * profiler.el: New file.
5581 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5583 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5584 (testcover-reinstrument): Simplify with CSE.
5586 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5588 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5590 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5592 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5593 (verilog-auto-input, verilog-auto-insert-lisp)
5594 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5595 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5596 (verilog-auto-unused, verilog-auto-wire)
5597 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5598 newline. Reported by Andrew Jones.
5599 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5600 Reported by Brad Dobbie.
5601 (verilog-batch-delete-trailing-whitespace):
5602 Create verilog-batch-delete-trailing-whitespace.
5603 Reported by Brad Dobbie.
5604 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5605 parameters from another module. Reported by Dan Katz.
5606 (verilog-auto, verilog-auto-assign-modport)
5607 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5608 AUTOINOUTMODPORT for UVM interface module shell generation.
5609 Reported by Brad Dobbie.
5610 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5612 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5613 Reported by Matt Martin.
5615 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5617 * window.el (window--resize-child-windows): When resizing child
5618 windows proportionally, process them in reverse order to
5619 preserve the "when splitting a window the new one gets the odd
5621 (window--resize-root-window-vertically): When resizing the
5622 minibuffer window try to affect only windows at the bottom of the
5625 2012-09-25 Chong Yidong <cyd@gnu.org>
5627 * subr.el (declare): Doc fix.
5629 * help-fns.el (help-fns--obsolete): Handle macros properly.
5631 2012-09-25 Chong Yidong <cyd@gnu.org>
5633 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5634 this function obsolete.
5636 * calendar/cal-x.el (calendar-two-frame-setup)
5637 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5638 * calendar/calendar.el (american-calendar, european-calendar)
5639 (calendar-for-loop):
5640 * comint.el (comint-dynamic-simple-complete)
5641 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5642 * desktop.el (desktop-load-default):
5643 * dired-x.el (dired-omit-here-always)
5644 (dired-hack-local-variables, dired-default-directory):
5645 * emacs-lisp/derived.el (derived-mode-class):
5646 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5647 * emacs-lock.el (toggle-emacs-lock):
5648 * epa.el (epa-display-verify-result):
5649 * epg.el (epg-sign-keys, epg-start-sign-keys)
5650 (epg-passphrase-callback-function):
5651 * eshell/esh-util.el (eshell-for):
5652 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5653 (eshell-add-to-window-buffer-names):
5654 * files.el (locate-file-completion):
5655 * imenu.el (imenu-example--create-c-index)
5656 (imenu-example--create-lisp-index)
5657 (imenu-example--lisp-extract-index-name)
5658 (imenu-example--name-and-position):
5659 * international/mule-cmds.el (princ-list):
5660 * international/mule-diag.el (decode-codepage-char):
5661 * international/mule-util.el (detect-coding-with-priority):
5662 * iswitchb.el (iswitchb-read-buffer):
5663 * mail/mailalias.el (mail-complete):
5664 * mail/sendmail.el (mail-sent-via):
5665 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5666 (mouse-major-mode-menu):
5667 * password-cache.el (password-read-and-add):
5668 * pcomplete.el (pcomplete-parse-comint-arguments):
5669 * progmodes/sh-script.el (sh-maybe-here-document):
5670 * replace.el (query-replace-regexp-eval):
5671 * savehist.el (savehist-load):
5672 * simple.el (choose-completion-delete-max-match):
5673 * term.el (term-dynamic-simple-complete):
5674 * vc/ediff-init.el (ediff-check-version):
5675 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5676 * vc/vc.el (vc-diff-switches-list):
5677 * view.el (view-return-to-alist-update): Likewise.
5679 * subr.el (eval-next-after-load, makehash, insert-string)
5680 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5682 (mode-line-inverse-video): Variable deleted.
5684 * international/mule-util.el (string-to-sequence): Remove.
5686 * calendar/calendar.el (calendar-version):
5687 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5688 (icalendar-convert-diary-to-ical):
5689 * cus-edit.el (custom-mode):
5690 * ansi-color.el (ansi-color-unfontify-region):
5691 * international/latin1-disp.el (latin1-char-displayable-p):
5692 * progmodes/cwarn.el (turn-on-cwarn-mode):
5693 * progmodes/which-func.el (which-func-update-1):
5694 Use define-obsolete-function-alias.
5696 * net/newst-backend.el (newsticker-cache-filename):
5697 * net/newst-treeview.el (newsticker-groups-filename):
5698 Fix incorrect obsolescence declaration.
5700 * allout.el (allout-passphrase-hint-string): Likewise.
5701 (allout-init): Use a declare form to mark obsolete.
5703 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5704 this applies to functions.
5706 * iswitchb.el (iswitchb-read-buffer): Move code of
5707 iswitchb-define-mode-map here, and delete that obsolete function.
5709 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5710 font-lock-reference-face.
5712 2012-09-25 Glenn Morris <rgm@gnu.org>
5714 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5717 * eshell/em-term.el (eshell-term-name):
5718 Default to term-term-name. (Bug#12485)
5720 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5722 * progmodes/python.el (python-shell-send-buffer): Better handling
5723 of "if __name__ == '__main__':" conditionals when sending the buffer.
5725 2012-09-24 Glenn Morris <rgm@gnu.org>
5727 * eshell/esh-cmd.el (eshell-find-alias-function):
5728 Tighten up file-name regexp. (Bug#12499)
5730 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5732 Enhancements for triple-quote string syntax.
5733 * progmodes/python.el (python-quote-syntax): Remove.
5734 (python-syntax-propertize-function): New value.
5735 (python-syntax-count-quotes, python-syntax-stringify):
5738 2012-09-24 Chong Yidong <cyd@gnu.org>
5740 * mail/supercite.el (sc-version): Remove obsolete function.
5741 (sc-describe): Don't mark as obsolete, since it is bound.
5742 (sc-submit-bug-report): Remove.
5744 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5745 (cvs-commit-buffer-require-final-newline): Remove.
5746 (log-edit-require-final-newline)
5747 (log-edit-changelog-full-paragraphs): Default to t.
5749 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5750 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5751 * vc/vc.el (vc-checkout-carefully): Likewise.
5753 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5754 (emerge-version): Remove.
5756 * progmodes/compile.el (compile-internal): Remove.
5757 (compilation-parse-errors-function): Fix typo.
5759 * international/mule.el (set-char-table-default): Remove.
5760 (set-coding-priority, make-coding-system, generic-char-p)
5761 (charset-list, charset-bytes, charset-id): Use declare to mark
5762 functions as obsolete.
5764 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5765 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5766 * vc/vc-hooks.el (vc-default-registered): Don't use
5767 vc-master-templates.
5769 * font-lock.el (font-lock-reference-face):
5770 Use define-obsolete-variable-alias.
5772 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5773 * calendar/calendar.el (calendar-font-lock-keywords):
5774 * calendar/diary-lib.el (diary-font-lock-keywords)
5775 (diary-fancy-font-lock-keywords):
5776 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5777 * textmodes/reftex-index.el (reftex-insert-index):
5778 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5779 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5780 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5781 * progmodes/prolog.el (prolog-font-lock-keywords):
5782 * progmodes/idlwave.el (idlwave-idl-keywords):
5783 * progmodes/ada-mode.el (ada-font-lock-keywords):
5784 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5786 2012-09-24 Glenn Morris <rgm@gnu.org>
5788 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5790 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5792 * progmodes/python.el (python-indent-line): More consistent cursor
5795 2012-09-23 Stefan Merten <smerten@oekonux.de>
5797 * textmodes/rst.el: Fix compiler warning.
5799 2012-09-23 Roland Winkler <winkler@gnu.org>
5801 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5802 Transcribe also LaTeX hyphenation.
5803 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5804 bibtex-reformat-previous-options.
5806 2012-09-23 Roland Winkler <winkler@gnu.org>
5808 * proced.el (proced-renice-command): New variable.
5809 (proced-marked-processes): New function.
5810 (proced-with-processes-buffer): New macro.
5811 (proced-send-signal): Use them.
5812 (proced-renice): New command bound to r.
5814 2012-09-23 Roland Winkler <winkler@gnu.org>
5816 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5817 ibuffer-saved-filter-groups has one element, shortcut the call of
5818 completing-read. (Bug#12331)
5820 2012-09-23 Chong Yidong <cyd@gnu.org>
5822 * bindings.el (mode-line-toggle-read-only):
5823 * bs.el (bs-toggle-readonly):
5824 * buff-menu.el (Buffer-menu-toggle-read-only):
5825 * dired.el (dired-toggle-read-only):
5826 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5828 2012-09-23 Chong Yidong <cyd@gnu.org>
5830 * image.el (image-type-available-p): Adapt to init-image-library
5833 2012-09-22 Juri Linkov <juri@jurta.org>
5835 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5836 `dired-toggle-read-only'. (Bug#12462)
5838 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5840 * subr.el (temp-output-buffer-show): New function.
5841 (with-output-to-temp-buffer): Call temp-output-buffer-show
5842 instead of internal-temp-output-buffer-show.
5844 2012-09-22 Chong Yidong <cyd@gnu.org>
5846 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5849 * repeat.el (repeat): Doc fix (Bug#12348).
5851 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5854 * simple.el (shell-command-on-region): Doc fix.
5855 (read-only-mode): Doc fix.
5857 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5859 * emacs-lisp/timer.el (run-with-idle-timer)
5860 (timer-activate-when-idle): Warn against reinvoking an idle timer
5861 from within its own timer action. (Bug#12447)
5863 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5865 * cus-start.el (window-combination-limit): Add new optional
5867 * window.el (temp-buffer-window-show)
5868 (window--try-to-split-window): Handle new values of
5869 window-combination-limit (Bug#1806).
5870 (split-window): Test window-combination-limit for t instead of
5872 (display-buffer-at-bottom): New buffer display action function.
5873 * help.el (temp-buffer-resize-regexps): New option.
5874 (temp-buffer-resize-mode): Rewrite doc-string.
5875 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5876 Don't resize reused window. Suggested by Glenn Morris.
5878 2012-09-22 Stefan Merten <smerten@oekonux.de>
5880 * textmodes/rst.el: Revamp section title faces.
5881 (rst-official-version)
5882 (rst-package-emacs-version-alist): Sync with official version
5884 (rst-faces-defaults, rst-set-level-default)
5885 (rst-level-face-max, rst-level-face-base-color)
5886 (rst-level-face-base-light, rst-level-face-format-light)
5887 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5888 (rst-adornment-faces-alist): Match new setup.
5889 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5890 (rst-level-5, rst-level-6): New faces.
5892 2012-09-22 Chong Yidong <cyd@gnu.org>
5894 * simple.el (undo): Handle indirect buffers (Bug#8207).
5896 2012-09-21 Leo Liu <sdl.web@gmail.com>
5898 IDO: Disable match re-ordering for buffer switching.
5899 * ido.el (ido-buffer-disable-smart-matches): New variable.
5900 (ido-set-matches-1): Use it. (Bug#2042)
5902 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5904 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5905 Fix 2011-05-17 change. (Bug#12418)
5907 2012-09-21 Leo Liu <sdl.web@gmail.com>
5909 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5911 2012-09-21 Glenn Morris <rgm@gnu.org>
5913 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5914 Be more robust about locating simple.el.
5916 2012-09-21 Glenn Morris <rgm@gnu.org>
5918 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5920 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5922 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5924 2012-09-20 Juri Linkov <juri@jurta.org>
5926 * replace.el (query-replace-read-from): Use `read-regexp' instead
5927 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5928 (occur-read-primary-args): Use `read-regexp' instead of
5930 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5931 `read-from-minibuffer'.
5932 * isearch.el (isearch-occur): Use `read-regexp' instead of
5934 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5935 `read-from-minibuffer'.
5936 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5937 of `read-string'. (Bug#7567)
5939 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5940 and allow accepting a list of strings prepended to a list of
5941 standard default values. Doc fix. (Bug#12321)
5943 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5945 * replace.el (read-regexp): Don't add ": " when PROMPT already
5946 ends with a colon and space. (Bug#12321)
5948 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5950 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5953 2012-09-20 Stefan Merten <smerten@oekonux.de>
5955 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5956 Fixes feature request bug#11711.
5957 (rst-mode): Create `imenu-create-index-function'.
5958 (rst-get-stripped-line): Delete after refactoring.
5959 (rst-section-tree, rst-section-tree-rec)
5960 (rst-section-tree-point): Refactor and document properly.
5961 (rst-imenu-find-adornments-for-position)
5962 (rst-imenu-convert-cell, rst-imenu-create-index):
5965 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5968 (macroexp--expand-all): Use it.
5969 (macroexp--funcall-and-return): Remove by folding it into its sole
5970 caller (macroexp--warn-and-return).
5971 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5972 Use macroexp--obsolete-warning.
5974 * calc/calc.el: Fix last change by removing the whole chunk, since it
5975 was only needed back when Calc was not bundled.
5977 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5979 * emacs-lisp/debug.el (debug): Restore assignment to
5980 debugger-old-buffer removed on 2012-09-08.
5982 2012-09-20 Juri Linkov <juri@jurta.org>
5984 * dired-aux.el (dired-diff): Remove (require 'diff) since
5985 `diff-latest-backup-file' is now autoloaded.
5987 2012-09-20 Chong Yidong <cyd@gnu.org>
5989 * vc/diff.el (diff-latest-backup-file): Autoload.
5991 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * calc/calc.el: Remove redundant autoload shape check.
5994 (sel-mode): Don't defvar.
5995 (calc-get-stack-element): Add `sel-mode' arg instead.
5996 (calc-top, calc-top-list): Pass it this additional argument.
5997 * calc/calc-store.el (calc-store-map):
5998 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5999 (calc-map-equation, calc-outer-product, calc-inner-product):
6000 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
6002 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
6004 2012-09-19 Juri Linkov <juri@jurta.org>
6006 * dired-aux.el (dired-diff): Add (require 'diff) because
6007 `diff-latest-backup-file' is not autoloaded.
6008 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
6009 of `dired-get-filename' to t to not report error when there is
6010 no default file on the current line.
6012 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6014 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
6015 macroexp--eval-if-compile.
6016 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
6017 (macroexp--expand-all): Use them (bug#12371).
6019 * doc-view.el (doc-view-guess-paper-size)
6020 (doc-view-scale-bounding-box): Fix unbound `caddr'.
6022 2012-09-19 Tassilo Horn <tsdh@gnu.org>
6024 New feature: set optimal slice from BoundingBox information.
6025 * doc-view.el (doc-view-mode-map): Add keybinding.
6026 (doc-view-menu): Add menu entry.
6027 (doc-view-set-slice): Adapt docstring.
6028 (doc-view-get-bounding-box, doc-view-guess-paper-size)
6029 (doc-view-scale-bounding-box)
6030 (doc-view-set-slice-from-bounding-box): New functions.
6031 (doc-view-paper-sizes): New defvar.
6033 2012-09-19 Glenn Morris <rgm@gnu.org>
6035 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
6036 (byte-compile-log-warning): Autoload. (Bug#12371)
6038 * calendar/calendar.el (calendar-american-month-header)
6039 (calendar-european-month-header, calendar-iso-month-header)
6040 (calendar-month-header): New options.
6041 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
6042 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
6044 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
6046 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6048 2012-09-18 Juri Linkov <juri@jurta.org>
6050 * dired-aux.el (dired-diff): Restore original functionality of
6051 getting the default value, but keep new feature of using the
6052 latest existing backup file (`diff-latest-backup-file').
6054 2012-09-18 Juri Linkov <juri@jurta.org>
6056 * dired.el (dired-mark): If the region is active in Transient Mark
6057 mode, mark all files in the active region. Doc fix.
6058 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6059 Doc fix. (Bug#10624)
6061 2012-09-18 Juri Linkov <juri@jurta.org>
6063 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6064 attributes for M-n are pulled from the file at point.
6065 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6066 Suggested by Drew Adams. (Bug#10624)
6068 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6070 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6071 whitespace after "end".
6072 (ruby-do-end-to-brace): Collapse block to one line if it fits
6075 2012-09-18 Martin Rudalics <rudalics@gmx.at>
6077 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6079 (debug): Don't remove debugger window when debugger is expected
6082 2012-09-18 Chong Yidong <cyd@gnu.org>
6084 * custom.el (defface): Doc fix.
6086 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6088 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6090 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6091 to initialize query-on-exit; then test that instead (bug#12288).
6093 2012-09-17 Stefan Merten <smerten@oekonux.de>
6095 * textmodes/rst.el: Add support for `testcover'.
6096 (rst-defcustom-testcover, rst-testcover-add-compose)
6097 (rst-testcover-add-1value): New functions.
6098 (rst-portable-mark-active-p): Replace by `use-region-p'.
6099 (rst-update-section, rst-classify-adornment)
6100 (rst-find-title-line): Mark `1value' forms.
6101 (rst-classify-adornment): Remove superfluous form.
6102 (rst-update-section, rst-get-adornments-around)
6103 (rst-adornment-complete-p, rst-get-next-adornment)
6104 (rst-adjust, rst-promote-region)
6105 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6106 (rst-find-pfx-in-region, rst-section-tree-rec)
6107 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6108 (rst-toc-node, rst-toc, rst-forward-section)
6109 (rst-iterate-leftmost-paragraphs)
6110 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6111 (rst-bullet-list-region)
6112 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6113 (rst-compile-find-conf, rst-compile)
6114 (rst-repeat-last-character): Fix style.
6116 2012-09-17 Chong Yidong <cyd@gnu.org>
6118 * comint.el (comint--complete-file-name-data): Don't add a space
6119 if the status is `sole'; that adds a gratuitous space in the
6120 completion-cycling case (Bug#12092).
6122 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6124 2012-09-17 Richard Stallman <rms@gnu.org>
6126 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6127 only in the mime-shown mode, not in raw mode.
6128 (rmail-mime): Toggle off mime by displaying the message without
6129 mime processing. (Bug#12305)
6131 * mail/rmail.el (rmail-retry-failure):
6132 Turn off mime processing first. (Bug#12037)
6134 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6136 2012-09-17 Chong Yidong <cyd@gnu.org>
6138 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6139 (shell-dynamic-complete-functions): Convert to defcustom.
6140 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6142 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6143 * comint.el (comint-prompt-read-only):
6144 * custom.el (defcustom):
6145 * hi-lock.el (hi-lock-mode):
6146 * ibuffer.el (ibuffer-formats):
6147 * ielm.el (ielm-prompt-read-only):
6148 * novice.el (disable-command):
6149 * saveplace.el (toggle-save-place):
6150 * speedbar.el (speedbar-supported-extension-expressions):
6151 * startup.el (auto-save-list-file-prefix, init-file-user)
6152 (after-init-hook, inhibit-startup-echo-area-message):
6153 * strokes.el (strokes-help):
6154 * time-stamp.el (time-stamp):
6155 * calendar/calendar.el (calendar, diary-file):
6156 * calendar/diary-lib.el (diary-mail-entries, diary)
6157 (diary-list-entries-hook):
6158 * calendar/holidays.el (holidays, calendar-holidays):
6159 * calendar/lunar.el (lunar-phases):
6160 * calendar/solar.el (sunrise-sunset):
6161 * emulation/edt.el (edt-load-keys):
6162 * emulation/viper.el (viper-mode):
6163 * eshell/em-alias.el (eshell-command-aliases-list):
6164 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6165 * international/ogonek.el (ogonek-information):
6166 * net/tramp-cmds.el (tramp-bug):
6167 * net/quickurl.el (quickurl-reread-hook-postfix):
6168 * play/decipher.el (decipher-font-lock-keywords):
6169 * progmodes/cc-styles.el (c-set-style):
6170 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6171 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6172 * progmodes/octave-mod.el (octave-mode):
6173 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6174 * progmodes/verilog-mode.el (verilog-read-defines):
6175 * textmodes/two-column.el (2C-mode): Likewise.
6177 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6179 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6180 that holds many addresses.
6182 2012-09-16 Chong Yidong <cyd@gnu.org>
6184 * align.el (align-areas): Call the indication function with
6185 positions instead of markers for arguments (Bug#12343).
6187 * files.el (parse-colon-path): Use split-string (Bug#12351).
6189 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6190 (display-buffer-function): Mark as obsolete.
6192 * progmodes/compile.el (compilation-parse-errors): Accept list
6193 values similar to font-lock-keywords (Bug#12136).
6194 Suggested by Oleksandr Manzyuk.
6195 (compilation-error-regexp-alist): Doc fix.
6197 2012-09-15 Glenn Morris <rgm@gnu.org>
6199 * version.el (emacs-bzr-version-bzr): New function.
6200 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6202 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6203 checkouts, check the parent dirstate matches the branch.
6204 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6207 * version.el (emacs-bzr-version): Doc fix.
6208 (emacs-bzr-version-dirstate): New function.
6209 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6210 is local try and check that it matches the branch. If not, just
6211 use dirstate information. (Bug#12441)
6213 2012-09-14 Juri Linkov <juri@jurta.org>
6215 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6218 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6220 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6222 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6223 Remove obsolete byte-compiler hack that tried to silence some warnings.
6224 (edebug-submit-bug-report): Remove.
6225 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6226 Remove aliases, use the un-prefixed name instead.
6227 (edebug-pop-to-buffer): Consider other frames.
6228 (edebug-original-read):: Make it more obvious that it's always defined.
6229 (edebug--make-form-data-entry, edebug--form-data-name)
6230 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6231 single-dashed name, and implement with cl-defstruct.
6232 (edebug-set-form-data-entry): Use the standard accessors.
6233 (edebug-make-top-form-data-entry): Use push.
6234 (edebug-no-match): Drop useless `funcall'.
6235 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6237 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6238 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6239 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6240 (easy-menu-define, with-custom-print): Remove redundant specs.
6241 (edebug-outside-overriding-local-map)
6242 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6243 (edebug--display): Bind unread-command-events directly to nil rather
6244 than binding it to unread-command-events and later setting it to nil.
6245 (edebug--display): Kill edebug-eval-buffer here...
6246 (edebug--recursive-edit): ...rather than here.
6247 Bind standard-output and standard-input.
6248 (edebug-eval): Check cl-macroexpand-all is fboundp.
6249 (edebug-temp-display-freq-count): Fix last change.
6251 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6252 * subr.el (noreturn, 1value): Add `debug' spec.
6253 * emacs-lisp/advice.el: Require cl-lib.
6254 (ad-copy-tree): Remove, use copy-tree instead.
6255 (ad-dolist): Remove use dolist or cl-dolist instead.
6256 (ad-do-return): Remove, use cl-return instead.
6257 (defadvice): Add `debug' spec.
6259 2012-09-13 Juri Linkov <juri@jurta.org>
6261 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6264 2012-09-13 Glenn Morris <rgm@gnu.org>
6266 * calc/calc.el (math-compose-expr):
6267 * calc/calc-ext.el (math-compose-expr):
6268 * progmodes/cc-defs.el (cl-macroexpand-all):
6269 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6270 (cl-macroexpand-all): Update declarations.
6272 * vc/vc.el: No need to require ediff.
6273 (ediff-load-version-control): Declare.
6274 (ediff-vc-internal): Fix declaration.
6275 (vc-version-ediff): Require ediff.
6277 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6279 Use a more backwards-compatible timer format (Bug#12430).
6280 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6281 being right after USECS, as that better supports old code that
6282 inadvisedly looked directly at the timer vector.
6284 2012-09-13 Kenichi Handa <handa@gnu.org>
6286 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6287 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6288 `coding-priority' property of these language environment.
6290 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6292 Fix glitches caused by addition of psec to timers (Bug#12430).
6293 * image.el (image-animate-timer):
6294 * time.el (display-time-world-timer):
6295 Use timer--function and timer--args rather than raw access to
6298 2012-09-13 Glenn Morris <rgm@gnu.org>
6300 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6301 If not compiling a file, try using load-file-name.
6303 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6305 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6307 (edebug-update-eval-list): Use `push'.
6309 * emacs-lisp/edebug.el: Use lexical-binding.
6310 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6311 Mark unused args with underscore.
6312 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6313 (edebug-form-data): Use defvar-local.
6314 (edebug-make-before-and-after-form, edebug-make-after-form):
6316 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6317 Not dynamically scoped any more.
6318 (edebug--enter-trace): Add arguments `function' and `args'.
6319 Rename from edebug-enter-trace.
6320 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6321 (edebug--update-coverage): Add `after-index' and `value' args.
6322 Rename from edebug-update-coverage.
6323 (edebug-slow-after): Call it accordingly.
6324 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6325 edebug-recursive-edit.
6326 (edebug--display): Call it accordingly. Add args `value',
6327 `offset-index', and `arg-mode'. Rename from edebug-display.
6328 (edebug-debugger, edebug): Call it accordingly.
6329 (edebug-eval-display-list): Use dolist.
6331 2012-09-12 Juri Linkov <juri@jurta.org>
6333 * info.el (Info-search): Don't check for isearch-mode and
6334 isearch-regexp before let-binding search-spaces-regexp to
6335 Info-search-whitespace-regexp.
6336 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6337 search-whitespace-regexp if isearch-lax-whitespace or
6338 isearch-regexp-lax-whitespace is non-nil.
6339 (Info-mode): Don't set local variable search-whitespace-regexp.
6340 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6342 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6345 (debugger-env-macro): Remove support for unread-command-char.
6347 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6348 the temporary map re-appearing on emulation-mode-map-alists.
6350 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6353 * ehelp.el (with-electric-help): Accept functions in
6354 electric-help-form-to-execute.
6355 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6356 And replace unread-command-char -> unread-command-events.
6358 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6360 Sync with Tramp 2.2.6.
6362 * net/tramp.el (tramp-accept-process-output): Don't use
6363 JUST-THIS-ONE in the XEmacs case.
6365 * net/trampver.el: Update release number.
6367 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6369 * emacs-lisp/debug.el (debugger-previous-window-height):
6371 (debug): When debugger-jumping-flag is non-nil try to restore
6372 height of debugger window. (Bug#8789)
6374 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6377 overriding-local-map and pre/post-command-hook here.
6378 (edebug-recursive-edit): Do it here instead (bug#12345).
6379 (edebug-outside-unread-command-char): Remove all uses of
6380 unread-command-char.
6382 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6383 inhibit-debugger is bound instead.
6385 2012-09-11 Bastien Guerry <bzg@gnu.org>
6387 * subr.el (set-temporary-overlay-map): Add a docstring.
6390 2012-09-11 Bastien Guerry <bzg@gnu.org>
6392 * minibuffer.el (completion-table-subvert): Fix docstring.
6395 2012-09-11 Bastien Guerry <bzg@gnu.org>
6397 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6399 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6401 * progmodes/sql.el: Version 3.1
6402 (sql-db2-escape-newlines): New variable.
6403 (sql-escape-newlines-filter): Use it.
6405 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6407 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6409 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6411 * vc/diff-mode.el (diff-mode-menu):
6412 Bind diff-remove-trailing-whitespace.
6414 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6417 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6418 (emacs-lisp-byte-code-mode): New functions.
6419 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6420 (eval-defun-2): Remove bogus interactive spec.
6421 (lisp-indent-line): Remove redundant whole-exp code, now done in
6422 indent-according-to-mode.
6423 (save-match-data): Remove redundant indent data.
6425 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6428 2012-09-09 Juri Linkov <juri@jurta.org>
6430 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6431 (replace-lax-whitespace, query-replace-regexp)
6432 (query-replace-regexp-eval, replace-regexp): Doc fix.
6433 (perform-replace, replace-highlight): Let-bind
6434 isearch-lax-whitespace to replace-lax-whitespace and
6435 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6437 * isearch.el (isearch-query-replace): Let-bind
6438 replace-lax-whitespace to isearch-lax-whitespace and
6439 replace-regexp-lax-whitespace to
6440 isearch-regexp-lax-whitespace. (Bug#10885)
6442 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6444 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6446 2012-09-09 Alan Mackenzie <acm@muc.de>
6448 * progmodes/cc-engine.el (c-state-cache-init):
6449 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6450 (c-record-parse-state-state):
6451 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6453 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6455 * register.el (register-separator): Rename from
6456 separator-register. All uses changed. Doc fix.
6457 (register): Fix version.
6459 2012-09-09 Chong Yidong <cyd@gnu.org>
6461 * replace.el (query-replace-map): Bind four new symbols for
6462 requesting window scrolling.
6464 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6465 query-replace-map (Bug#8948).
6467 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6469 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6470 since they are now in query-replace-map.
6472 * window.el (scroll-other-window-down): Make the arg optional.
6474 2012-09-09 Chong Yidong <cyd@gnu.org>
6476 * files.el (hack-local-variables-confirm): Use quit-window to kill
6477 the *Local Variables* buffer.
6479 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6481 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6482 not just expect to be at its beginning. Adjust callees.
6483 Succeed when do-end block has no space before the pipe character.
6484 (ruby-brace-to-do-end): When the original block is one-liner,
6485 convert to multiline. Reindent the result.
6487 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6489 * register.el (register): New group.
6490 (separator-register): New user option.
6491 (increment-register): Route it to `append-to-register', if
6492 register contains text. Implication is that `C-x r +' can now be
6493 used for appending to a text register (bug#12217).
6494 (append-to-register, prepend-to-register): Add separator based on
6495 `separator-register'.
6497 2012-09-08 Alan Mackenzie <acm@muc.de>
6499 AWK Mode: make auto-newline work when there's "==" in the pattern.
6500 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6502 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6503 Test more rigorously for "=" token.
6505 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6507 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6508 Only fail when reached LIMIT.
6510 2012-09-08 Chong Yidong <cyd@gnu.org>
6512 * dired.el (dired-mode-map): Don't bind M-=.
6514 * dired-aux.el (dired-diff): Use backup file as default.
6516 2012-09-08 Drew Adams <drew.adams@oracle.com>
6518 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6520 2012-09-08 Chong Yidong <cyd@gnu.org>
6522 * subr.el (syntax-after, syntax-class): Doc fix.
6524 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6526 * window.el (display-buffer-in-previous-window): New buffer
6527 display action function.
6529 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6530 (debugger-previous-window): New variable.
6531 (debug): Rewrite using display-buffer-in-previous-window,
6532 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6534 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6536 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6538 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6540 * progmodes/python.el (python-shell-send-string):
6541 When default-directory is remote, create temp file on remote
6543 (python-shell-send-file): When file is remote, pass local view of
6544 file paths to remote Python interpreter. (Bug#12340)
6546 2012-09-07 Chong Yidong <cyd@gnu.org>
6548 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6550 * files.el (after-find-file): Don't fail on a read-only buffer if
6551 require-final-newline is `visit' or `visit-save' (Bug#11156).
6553 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6555 * userlock.el (ask-user-about-supersession-threat):
6556 Use read-char-choice (Bug#12093).
6558 2012-09-07 Chong Yidong <cyd@gnu.org>
6560 * subr.el (buffer-narrowed-p): New function.
6562 * ses.el (ses-widen):
6563 * simple.el (count-words--buffer-message):
6564 * net/browse-url.el (browse-url-of-buffer): Use it.
6566 * simple.el (count-words-region): Don't signal an error if there
6567 is a non-nil prefix arg and the mark is not set.
6569 * help.el (describe-key-briefly): Allow the message to be seen
6570 when invoked from the minibuffer (Bug#7014).
6572 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6574 * progmodes/ruby-mode.el (ruby-end-of-defun)
6575 (ruby-beginning-of-defun): Simplify, allow indentation before
6576 block beginning and end keywords.
6577 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6578 (ruby-end-of-defun): Expect that the point is at the beginning of
6581 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6583 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6585 (cl--make-usage-args): Strip _ from argument names.
6587 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6589 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6590 obsolete alias speedbar-key-map.
6591 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6592 (vhdl-index-menu-init): Don't use obsolete variable
6593 font-lock-maximum-size.
6595 2012-09-06 Chong Yidong <cyd@gnu.org>
6597 * frame.el (window-system-version): Mark as obsolete.
6599 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6600 of obsolete variable speedbar-key-map.
6602 2012-09-06 Juri Linkov <juri@jurta.org>
6604 * replace.el (replace-lax-whitespace): New defcustom.
6605 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6606 (replace-string, replace-regexp): Mention it in docstrings.
6607 (perform-replace, replace-highlight): Let-bind
6608 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6609 to the values of replace-lax-whitespace and regexp-flag.
6610 Don't let-bind search-whitespace-regexp. (Bug#10885)
6612 * isearch.el (isearch-query-replace): Let-bind
6613 replace-lax-whitespace instead of let-binding
6614 replace-search-function and replace-re-search-function.
6615 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6616 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6617 (isearch-toggle-symbol): Set isearch-regexp to nil
6618 in isearch-word mode (like in isearch-toggle-word).
6620 2012-09-06 Juri Linkov <juri@jurta.org>
6622 * replace.el (replace-search-function)
6623 (replace-re-search-function): Set default values to nil.
6624 (perform-replace): Let-bind isearch-related variables based on
6625 replace-related values, call `isearch-search-fun' and let-bind
6626 the result to `search-function'. Remove code that sets
6627 `search-function' and `search-string' separately for
6629 (replace-highlight): Add new argument `delimited-flag' and
6630 rename other arguments to the names used in `perform-replace'.
6631 Let-bind `isearch-word' to the argument `delimited-flag'.
6632 (Bug#10885, bug#10887)
6634 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6636 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6637 ruby-beginning-of-indent, simplify, allow all keywords to have
6638 indentation before them.
6639 (ruby-beginning-of-indent): Adjust for above. Search until the
6640 found point is not inside a string or comment.
6641 (ruby-font-lock-keywords): Allow symbols to start with "@"
6642 character, give them higher priority than variables.
6643 (ruby-syntax-propertize-function)
6644 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6645 matchers. Expression expansions are not comments when inside a
6646 string, and there comment syntax status is irrelevant.
6647 (ruby-match-expression-expansion): New function. Check that
6648 expression expansion is inside a string, and it's not escaped.
6649 (ruby-font-lock-keywords): Use it.
6651 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6653 * help.el (temp-buffer-max-height): New default value.
6654 (temp-buffer-resize-frames): New option.
6655 (resize-temp-buffer-window): Optionally resize frame.
6657 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6658 (fit-frame-to-buffer): New function.
6660 2012-09-05 Glenn Morris <rgm@gnu.org>
6662 * emulation/cua-rect.el (cua--init-rectangles):
6663 * textmodes/picture.el (picture-mode-map):
6664 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6665 like forward-char and backward-char. (Bug#12317)
6667 2012-09-05 Leo Liu <sdl.web@gmail.com>
6669 * progmodes/flymake.el (flymake-warning-re): New variable.
6670 (flymake-parse-line): Use it.
6672 2012-09-05 Glenn Morris <rgm@gnu.org>
6674 * calendar/holidays.el (holiday-christian-holidays):
6675 Rename an entry. (Bug#12289)
6677 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6682 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6684 * loadup.el: Load macroexp. Remove hack.
6685 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6686 (macroexp--expand-all): Use it to get better warnings.
6687 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6688 (internal-macroexpand-for-load): New functions.
6689 (macroexp--pending-eager-loads): New var.
6690 (emacs-startup-hook): New hack to replace one in loadup.el.
6691 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6692 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6693 (cl-psetf): Simplify.
6694 (cl-defstruct): Add indent rule.
6696 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6698 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6699 over `user-mail-address' for the SMTP MAIL FROM envelope.
6700 (smtpmail-via-smtp): Ditto.
6702 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6704 * progmodes/ruby-mode.el: Clean up keybindings.
6705 (ruby-mode-map): Don't bind ruby-electric-brace,
6706 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6707 backward-kill-word, reindent-then-newline-and-indent.
6708 (ruby-mark-defun): Remove.
6709 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6710 (ruby-mode): Set local beginning-of-defun-function and
6711 end-of-defun-function values.
6713 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6715 * window.el (temp-buffer-window-setup-hook)
6716 (temp-buffer-window-show-hook): New hooks.
6717 (temp-buffer-window-setup, temp-buffer-window-show)
6718 (with-temp-buffer-window): New functions.
6719 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6720 (special-display-popup-frame): Make sure the window used shows BUFFER.
6722 * help.el (temp-buffer-resize-mode): Fix doc-string.
6723 (resize-temp-buffer-window): New optional argument WINDOW.
6725 * files.el (recover-file, save-buffers-kill-emacs):
6726 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6728 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6730 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6731 remote definition of `default-directory', ensure we can connect.
6733 2012-09-02 Juri Linkov <juri@jurta.org>
6735 Toggle whitespace matching mode with M-s SPC.
6736 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6738 * isearch.el (search-whitespace-regexp): Doc fix.
6739 Remove cons cell customization.
6740 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6741 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6743 (isearch-forward, isearch-forward-regexp): Doc fix.
6744 (isearch-toggle-lax-whitespace): New command.
6745 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6746 (re-search-forward-lax-whitespace)
6747 (re-search-backward-lax-whitespace): New functions.
6748 (isearch-whitespace-regexp): Remove function.
6749 (isearch-query-replace): Let-bind replace-search-function and
6750 replace-re-search-function.
6751 (isearch-occur): Let-bind search-spaces-regexp according to the
6752 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6753 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6754 condition for C-q SPC.
6755 (isearch-search-fun-default): Use new functions mentioned above.
6756 (isearch-search-forward, isearch-search-backward): Remove functions.
6757 (isearch-search): Don't let-bind search-spaces-regexp.
6758 (isearch-lazy-highlight-space-regexp): Remove variable.
6759 (isearch-lazy-highlight-lax-whitespace)
6760 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6761 (isearch-lazy-highlight-new-loop): Use them.
6762 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6764 2012-09-02 Chong Yidong <cyd@gnu.org>
6766 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6768 2012-09-02 Glenn Morris <rgm@gnu.org>
6770 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6772 2012-09-01 Glenn Morris <rgm@gnu.org>
6774 * term.el: Tidy up menu definitions.
6775 (term-mode-map): Use easymenu for In/Out, Complete menus.
6776 (term-pager-break-map): Initialize in the defvar.
6777 (term-terminal-menu, term-signals-menu): Define with easymenu.
6778 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6779 (term-pager-menu): New, extracted from term-process-pager.
6780 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6781 (term-update-mode-line): Propertize line/char and page items.
6782 (term-process-pager): Move keymap initialization elsewhere.
6784 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6786 * window.el (switch-to-prev-buffer): Handle additional values of
6787 BURY-OR-KILL argument. Don't switch in minibuffer window.
6788 (switch-to-next-buffer): Don't switch in minibuffer window.
6789 (quit-restore-window): New function based on quit-window.
6790 Handle additional values of former KILL argument.
6791 (quit-window): Call quit-restore-window with appropriate
6792 interpretation of KILL argument.
6793 (display-buffer-below-selected): New buffer display action
6796 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * minibuffer.el (completion-at-point-functions): Complete docstring
6801 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6803 Better seed support for (random).
6804 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6805 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6806 * play/mpuz.el, play/tetris.el, play/zone.el:
6807 * calc/calc-comb.el (math-init-random-base):
6808 * play/blackbox.el (bb-init-board):
6809 * play/life.el (life):
6810 * server.el (server-use-tcp):
6811 * type-break.el (type-break):
6812 Remove unnecessary call to (random t).
6813 * net/sasl.el (sasl-unique-id-function):
6814 Change (random t) to (random), now that the latter is more random.
6815 * play/life.el (life-initialized): Remove no-longer-needed var.
6817 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6819 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6820 Consider frame's buffer predicate when choosing the buffer.
6823 2012-08-30 Richard Stallman <rms@gnu.org>
6825 * simple.el (special-mode-map): Delete binding for `z'.
6827 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6829 * progmodes/compile.el (compilation-always-kill): Doc fix.
6831 2012-08-30 Chong Yidong <cyd@gnu.org>
6833 * window.el (display-buffer-reuse-frames): Make the obsolescence
6834 message more informative.
6836 2012-08-30 Glenn Morris <rgm@gnu.org>
6838 * paren.el (show-paren-delay):
6839 Add a :set function. Doc fix. (Bug#12297)
6841 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6843 * progmodes/compile.el (compilation-always-kill): New var.
6844 (compilation-start): Use it.
6846 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6849 * files.el (read-only-mode): Move to simple.el.
6851 * files.el (read-only-mode): New minor mode.
6852 (toggle-read-only): Use it and mark obsolete.
6853 (find-file--read-only):
6854 * vc/vc.el (vc-next-action, vc-checkout):
6855 * vc/vc-cvs.el (vc-cvs-checkout):
6856 * obsolete/vc-mcvs.el (vc-mcvs-update):
6857 * ffap.el (ffap--toggle-read-only): Update callers.
6859 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6861 * eshell/esh-ext.el (eshell-external-command): Do not examine
6862 remote shell scripts.
6863 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6865 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6868 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6870 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6872 2012-08-28 Leo Liu <sdl.web@gmail.com>
6874 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6875 completion-at-point. (Bug#12220)
6877 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6879 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6881 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6883 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6884 be buffer-local; add delete-trailing-whitespace (bug#12259).
6886 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6888 * progmodes/hideif.el (hif-compress-define-list):
6889 Fix typo. (Bug#11951)
6891 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6893 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6894 buffer local setting.
6896 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6897 rcirc-encode-coding-system.
6899 2012-08-28 Leo Liu <sdl.web@gmail.com>
6901 * net/rcirc.el (rcirc-split-message): New function.
6902 (rcirc-send-message): Use it. (Bug#12051)
6904 2012-08-28 Juri Linkov <juri@jurta.org>
6906 * info.el (Info-fontify-node): Hide empty lines at the end of
6907 the node. (Bug#12272)
6909 2012-08-27 Drew Adams <drew.adams@oracle.com>
6911 * dired.el (dired-pop-to-buffer): Make window start at beginning
6912 of buffer (Bug#12281).
6914 2012-08-26 Chong Yidong <cyd@gnu.org>
6916 * window.el (special-display-regexps, special-display-frame-alist)
6917 (special-display-buffer-names, special-display-function)
6918 (display-buffer-reuse-frames): Mark as obsolete.
6920 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6922 * help.el (help-print-return-message): Don't treat
6923 display-buffer-reuse-frames specially.
6925 2012-08-26 Chong Yidong <cyd@gnu.org>
6927 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6928 New variable, replacing gdb-frame-parameters.
6929 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6930 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6931 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6932 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6933 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6934 the functions directly with gdb-display-buffer-other-frame-action.
6935 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6936 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6937 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6938 (gdb-display-registers-buffer): Define directly.
6939 (def-gdb-display-buffer): Macro deleted.
6940 (gdb-display-buffer): Remove second and third args, callers don't
6941 use them. Defer to the default display-buffer behavior, apart
6942 from making windows dedicated.
6943 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6945 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6947 * window.el (display-buffer-pop-up-frame): Handle a
6948 pop-up-frame-parameters alist entry.
6949 (display-buffer): Document it.
6951 2012-08-26 Chong Yidong <cyd@gnu.org>
6953 * isearch.el (search-whitespace-regexp): Make string and nil
6954 values apply to both ordinary and regexp search. Allow a cons
6955 cell value to distinguish between the two.
6956 (isearch-whitespace-regexp, isearch-search-forward)
6957 (isearch-search-backward): New functions.
6958 (isearch-occur, isearch-search-fun-default, isearch-search)
6959 (isearch-lazy-highlight-new-loop): Use them.
6960 (isearch-forward, isearch-forward-regexp): Doc fix.
6962 2012-08-26 Chong Yidong <cyd@gnu.org>
6964 * faces.el (help-argument-name): Always inherit from italic
6967 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6969 * window.el (window--even-window-heights): Even heights when
6970 WINDOW and the selected window form a vertical combination.
6971 (display-buffer-use-some-window): Provide that window used gets
6972 sized back by quit-window. (Bug#11880) and (Bug#12091)
6974 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6976 Fix file time stamp problem with bzr and CVS (Bug#12001).
6977 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6978 in the file's time stamp, since the version control system loses
6981 2012-08-22 Juri Linkov <juri@jurta.org>
6983 * info.el (Info-fontify-node): Hide the suffix of the
6984 Info file name in the header line. (Bug#12187)
6986 2012-08-22 Glenn Morris <rgm@gnu.org>
6988 * calendar/cal-tex.el (cal-tex-weekly-common):
6989 Restore leading blank page.
6991 2012-08-22 Le Wang <l26wang@gmail.com>
6993 * misc.el (forward-to-word, backward-to-word): Activate or extend
6994 the region under `shift-select-mode'. (Bug#12231)
6996 2012-08-22 Bastien Guerry <bzg@gnu.org>
6998 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6999 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
7000 gives details on why the space is never needed.
7002 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7004 * window.el (walk-window-tree, window-with-parameter):
7005 New optional argument MINIBUF to control whether these functions
7006 should run on the minibuffer window.
7007 (window-at-side-list): Don't operate on minibuffer window.
7008 (window-in-direction): Simplify and rewrite doc-string.
7009 (window--size-ignore): Rename to window--size-ignore-p.
7011 (display-buffer-in-atom-window, window--major-non-side-window)
7012 (window--major-side-window, display-buffer-in-major-side-window)
7013 (delete-side-window, display-buffer-in-side-window):
7015 (window--side-check, window-deletable-p, delete-window)
7016 (delete-other-windows, split-window): Handle side windows and
7017 atomic windows appropriately.
7018 (window--display-buffer): Call display-buffer-record-window also
7019 when the window buffer did not change.
7021 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
7023 * help-fns.el (help-fns--key-bindings):
7024 Abbreviate non-symbol remap targets. (Bug#12174)
7026 2012-08-22 Martin Rudalics <rudalics@gmx.at>
7028 * dired.el (dired-mark-remembered): Don't clobber point.
7031 2012-08-22 Glenn Morris <rgm@gnu.org>
7033 * progmodes/bug-reference.el (bug-reference): New custom group.
7034 (bug-reference-bug-regexp): Make it a defcustom.
7036 2012-08-22 Daiki Ueno <ueno@unixuser.org>
7038 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
7039 (js-paren-indent-offset, js-square-indent-offset)
7040 (js-curly-indent-offset): Add :safe (Bug#12257).
7042 2012-08-22 Edward O'Connor <hober0@gmail.com>
7044 * json.el (json-key-format): Add error properties.
7045 (json-encode-key): New function.
7046 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7047 Use json-encode-key.
7049 2012-08-22 Glenn Morris <rgm@gnu.org>
7051 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7052 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7053 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7054 Update for above change.
7056 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7058 * cus-face.el (custom-face-attributes): Fix customize type for the
7059 :underline attribute. (Bug#11805)
7061 2012-08-21 Martin Rudalics <rudalics@gmx.at>
7063 * window.el (window-point-1, set-window-point-1): Remove.
7064 (window-in-direction, record-window-buffer)
7065 (set-window-buffer-start-and-point, split-window-below)
7066 (window--state-get-1, display-buffer-record-window):
7067 Replace calls to window-point-1 and set-window-point-1 by calls to
7068 window-point and set-window-point respectively.
7070 2012-08-21 Glenn Morris <rgm@gnu.org>
7072 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7073 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7076 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7077 (cal-tex-shortday): New function.
7078 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7079 (cal-tex-cursor-filofax-daily): Use the above.
7081 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7083 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7084 (cal-tex-cursor-filofax-week): Use them.
7086 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7088 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7089 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7091 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7092 (cal-tex-end-document): Don't rely on buffer name.
7094 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7096 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7097 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
7098 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7101 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7102 (cal-tex-cursor-week, cal-tex-cursor-week2)
7103 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7104 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7105 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7106 (cal-tex-insert-preamble, cal-tex-b-document)
7107 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7108 Improve cal-tex-cmd usage.
7110 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7111 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7112 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7113 (cal-tex-weekly-paper): New function.
7114 (cal-tex-cursor-week, cal-tex-cursor-week2)
7115 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7116 (cal-tex-cursor-day): Use it.
7118 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7119 (cal-tex-cursor-filofax-week): Remove leading blank page.
7121 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7122 Add autoload cookie. For now at least, don't use color, since
7123 no other cal-tex function does.
7125 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7126 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7127 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7129 2012-08-21 Juri Linkov <juri@jurta.org>
7131 * info.el (Info-file-attributes): New variable.
7132 (info-insert-file-contents): Add file attributes to
7133 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7134 `Info-toc-nodes' when previous modtime of the Info file is less
7136 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7137 of info.el. (Bug#12230)
7139 2012-08-20 Glenn Morris <rgm@gnu.org>
7141 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7142 * calendar/holidays.el (calendar-holiday-list):
7143 Report errors with display-warning rather than beep'n'sleep.
7145 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
7147 * net/tramp.el (tramp-accept-process-output): Accept only output
7148 from PROC. Otherwise, process filters and sentinels might be
7149 confused. (Bug#12145)
7151 2012-08-20 Chong Yidong <cyd@gnu.org>
7153 * descr-text.el (describe-text-properties-1): Use overlays-in to
7154 report on empty overlays (Bug#3322).
7156 2012-08-20 Glenn Morris <rgm@gnu.org>
7158 * mail/rmailout.el (rmail-output-read-file-name):
7159 Trap and report errors in rmail-output-file-alist elements.
7161 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7162 since most non-font-lock faces are not also variables).
7164 2012-08-20 Edward Reingold <reingold@iit.edu>
7166 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7167 New function. (Bug12160)
7169 2012-08-19 Glenn Morris <rgm@gnu.org>
7171 * mail/rmailout.el (rmail-output-read-file-name):
7172 Fix previous change (when the alist is nil or does not match).
7174 2012-08-19 Chong Yidong <cyd@gnu.org>
7176 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7179 2012-08-18 Chong Yidong <cyd@gnu.org>
7181 * simple.el (yank-handled-properties): New defcustom.
7182 (yank-excluded-properties): Add font-lock-face and category.
7185 * subr.el (remove-yank-excluded-properties):
7186 Obey yank-handled-properties. The special handling of font-lock-face
7187 and category is now done this way, instead of being hard-coded.
7188 (insert-for-yank-1): Remove font-lock-face handling.
7189 (yank-handle-font-lock-face-property)
7190 (yank-handle-category-property): New function.
7192 2012-08-17 Glenn Morris <rgm@gnu.org>
7194 * mail/rmailout.el (rmail-output-read-file-name):
7195 Check rmail-output-file-alist against the full message body
7196 in the correct rmail buffer. (Bug#12214)
7198 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7200 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7201 Eliminate superfluous prompt. (Bug#12203)
7203 2012-08-17 Chong Yidong <cyd@gnu.org>
7205 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7206 font spec, set the font directly (Bug#3228).
7208 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7210 * window.el (delete-window): Fix last fix.
7212 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7214 * window.el (window-valid-p): Move to window.c.
7215 (window-child, window-child-count, window-last-child)
7216 (window-normalize-window, window-combined-p)
7217 (window-combinations, window-atom-root, window-min-size)
7218 (window-sizable, window-sizable-p, window-size-fixed-p)
7219 (window-min-delta, window-max-delta, window--resizable)
7220 (window--resizable-p, window-resizable, window-total-size)
7221 (window-full-height-p, window-full-width-p, window-body-size)
7222 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7223 (minimize-window, window-deletable-p, delete-window)
7224 (delete-other-windows, set-window-buffer-start-and-point)
7225 (next-buffer, previous-buffer, split-window, balance-windows-2)
7226 (set-window-text-height, window-buffer-height)
7227 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7228 (truncated-partial-width-window-p): Minor code adjustments.
7229 In doc-strings state whether the argument window has to denote a
7230 live, valid or any window.
7232 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7234 * progmodes/subword.el (subword-forward-function)
7235 (subword-backward-function, subword-forward-regexp)
7236 (subword-backward-regexp): New variables.
7237 (subword-forward, subword-forward-internal, subword-backward-internal):
7238 Use new variables, eg so that different "word" definitions
7239 can be easily used. (Bug#11411)
7241 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7243 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7244 for composite selectors.
7245 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7246 operation just because we can't find a previous revision.
7248 2012-08-15 Chong Yidong <cyd@gnu.org>
7250 * frame.el (set-frame-font): Accept font objects.
7252 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7256 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7258 * man.el (Man-overstrike-face, Man-underline-face)
7259 (Man-reverse-face): Remove variables.
7260 (Man-overstrike, Man-underline, Man-reverse): New faces.
7261 (Man-fontify-manpage): Use them instead of the variables.
7262 (Man-cleanup-manpage): Comment change.
7263 (Man-ansi-color-map): New variable.
7264 (Man-fontify-manpage): Use it.
7265 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7267 Implement ANSI SGR parameters 22-27 (bug#12146).
7268 * ansi-color.el (ansi-colors): Doc fix.
7269 (ansi-color-context, ansi-color-context-region): Doc fix.
7270 (ansi-color--find-face): New function.
7271 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7272 Rename the local variable `face' to `codes' since it is now a list of
7273 ansi codes. Doc fix.
7274 (ansi-color-get-face): Remove.
7275 (ansi-color-parse-sequence): New function, derived from
7276 ansi-color-get-face.
7277 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7280 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * subr.el (read-passwd): Allow use from a minibuffer.
7284 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7286 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7287 inside comments and strings as identifiers.
7289 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7290 expression to evaluate. This allows to evaluate expressions with
7291 embedded whitespace.
7292 (gud-tooltip-tips): Add a blank before the newline in the
7293 message-box text, for the benefit of message-box emulation on
7296 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7297 messages from GDB, pop them up in a tooltip to give feedback to
7299 (gdb-tooltip-print-1): Quote the expression to evaluate.
7300 This allows to evaluate expressions with embedded whitespace.
7301 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7302 if the TTY name is nil or empty (which happens when communicating
7303 with the inferior via pipes, e.g. on MS-Windows).
7304 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7305 don't send that to the GUD buffer.
7307 2012-08-14 Glenn Morris <rgm@gnu.org>
7309 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7310 Optimize away setq-default with no args, as for setq. (Bug#12195)
7312 2012-08-14 Chong Yidong <cyd@gnu.org>
7314 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7316 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7319 2012-08-14 Glenn Morris <rgm@gnu.org>
7321 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7323 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7325 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7326 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7327 Use cached shell name.
7329 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7331 * progmodes/python.el (python-shell-send-string):
7332 (python-shell-send-setup-code): Do not use `format' with `message'.
7334 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7336 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7337 (ruby-percent-literal-beg-re): New constant.
7338 (ruby-syntax-general-delimiters-goto-beg): Rename to
7339 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7340 (ruby-syntax-propertize-general-delimiters): Rename to
7341 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7342 popular term. Adjust comments everywhere.
7343 (ruby-syntax-propertize-percent-literal): Only propertize when not
7344 inside a simple string or comment. When the literal is unclosed,
7345 leave the text after it unpropertized.
7346 (ruby-syntax-methods-before-regexp): New constant.
7347 (ruby-syntax-propertize-function): Use it to recognize regexps.
7348 Don't look at the text after regexp, just use the whitelist.
7350 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7352 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7353 non-nil always load the compiled file if it exists. (Bug#12197)
7355 2012-08-14 Chong Yidong <cyd@gnu.org>
7357 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7358 (hi-lock-set-pattern): When deciding whether to use font lock or
7359 overlays, look at font-lock-mode instead of font-lock-fontified
7361 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7362 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7364 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7366 * subr.el (internal--after-with-selected-window): Fix typo
7369 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7371 Use `completion-table-dynamic' for completion functions.
7372 * progmodes/python.el
7373 (python-shell-completion--do-completion-at-point)
7374 (python-shell-completion--get-completions):
7376 (python-shell-completion-complete-at-point): New function.
7377 (python-completion-complete-at-point): Use it.
7379 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7381 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7382 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7384 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7386 * subr.el (function-get): Refine `autoload' arg so it can also
7387 autoload functions for gv.el (bug#12191).
7388 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7391 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7392 Prefer pcase-let over destructuring-bind.
7393 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7394 Also, remove whitespace as we go, rather than after accumulating the
7397 * subr.el (internal--before-with-selected-window)
7398 (internal--after-with-selected-window): Fix typo seleted->selected.
7399 (with-selected-window): Adjust callers.
7400 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7402 2012-08-13 Bastien Guerry <bzg@gnu.org>
7404 * window.el (special-display-popup-frame): Minor docstring
7405 enhancement. (Bug#12172)
7407 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7409 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7411 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7414 * files.el (hack-local-variables-filter): Remove useless eval.
7416 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7418 * subr.el (with-selected-window): Fix last change.
7420 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7422 * subr.el (internal--before-with-seleted-window)
7423 (internal--after-with-seleted-window): New functions.
7424 (with-selected-window): Use them, to replace dependency on
7427 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7429 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7430 binding for `newline'.
7431 (ruby-move-to-block): When moving backward, stop at block opening,
7433 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7434 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7435 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7436 `ruby-toggle-block'.
7438 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7440 * ibuffer.el (ibuffer-do-toggle-read-only):
7441 * dired.el (dired-toggle-read-only):
7442 * buff-menu.el (Buffer-menu-toggle-read-only):
7443 * bindings.el (mode-line-toggle-read-only):
7444 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7446 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7448 * descr-text.el (describe-char): Put the overlays over the
7449 "displayed as" character.
7451 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7453 * calc/calc-units.el (math-default-units-table): Give an
7455 (math-put-default-units): Add options to put composite units and
7456 unit systems in the default units table.
7457 (calc-convert-units): Send composite units to
7458 `math-put-default-units' when appropriate.
7460 2012-08-11 Glenn Morris <rgm@gnu.org>
7462 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7464 * tutorial.el (help-with-tutorial):
7465 * emacs-lisp/copyright.el (copyright-update-directory):
7466 * emacs-lisp/autoload.el (autoload-find-generated-file)
7467 (autoload-find-file): Disable local eval: (for insurance).
7469 * files.el (hack-local-variables-filter): If an eval: form is not
7470 known to be safe, and enable-local-variables is :safe, then ignore
7471 the form totally, as is done for non-eval forms. (Bug#12155)
7472 This is CVE-2012-3479.
7474 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7477 (rx-form): Simplify.
7479 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7481 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7482 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7483 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7484 (ruby-syntax-propertize-function): Adjust for changes in
7485 `ruby-syntax-propertize-heredoc'.
7487 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7489 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7490 binding (use `M-;' instead).
7491 (ruby-singleton-class-p): New function.
7492 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7494 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7498 2012-08-10 Chong Yidong <cyd@gnu.org>
7500 * progmodes/python.el (python-shell-get-process-name): Don't mess
7501 with same-window-buffer-names.
7503 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7504 (eshell-remove-from-window-buffer-names): Make obsolete.
7505 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7506 (eshell): Just use pop-to-buffer-same-window instead.
7508 2012-08-10 Chong Yidong <cyd@gnu.org>
7510 * bindings.el: Bind M-= back to count-words-region.
7512 * simple.el (count-words-region): Accept a prefix arg for acting
7513 on the entire buffer.
7514 (count-words--buffer-message): New helper function.
7516 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7519 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7520 (event-start, event-end): Use posn-at-point to return a more
7522 (posnp): New function.
7523 * mouse.el (popup-menu-normalize-position): Use it.
7525 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7527 * mouse.el (popup-menu-normalize-position): New function.
7528 (popup-menu): Use `popup-menu-normalize-position' to normalize
7529 the form for POSITION argument.
7531 * term/x-win.el (x-menu-bar-open):
7532 Use the value returend from (posn-at-point) as position
7533 passed to `popup-menu'.
7535 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7537 * calc/calccomp.el (math-compose-expr): Add extra argument
7538 indicating that parentheses should be put around products in
7539 denominators. Give multiplication precedence over division during
7542 2012-08-09 Chong Yidong <cyd@gnu.org>
7544 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7545 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7546 (Man-untabify-command, manual-program): Convert to defcustom
7549 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7551 * descr-text.el (describe-char): Don't insert extra newlines
7554 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7555 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7557 * align.el (align-region): Delete temporary markers (Bug#10047).
7558 Plus some code cleanups.
7560 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7562 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7563 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7564 (python-shell-internal-last-output): Use make-local-variable
7565 instead of make-variable-buffer-local.
7567 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7569 * progmodes/python.el: Enhancements to forward-sexp.
7570 (python-nav-forward-sexp): Rename from
7571 python-nav-forward-sexp-function.
7572 (python-nav--forward-sexp, python-nav--backward-sexp):
7575 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7577 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7578 modes and simplification modes.
7580 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * delsel.el (delete-selection-pre-hook): Don't propagate the
7583 file-supersession signals (bug#12161).
7585 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7587 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7588 (cl-map-extents): Add compatibility aliases (bug#12135).
7590 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7592 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7593 tests by `ignore-error'.
7594 (tramp-find-shell): Open also a new shell, when cache is already
7595 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7597 2012-08-08 Juri Linkov <juri@jurta.org>
7599 * bookmark.el: Add `defaults' property to the bookmark record.
7600 (bookmark-current-buffer): Doc fix.
7601 (bookmark-make-record): Add `defaults' property with default values
7602 to the bookmark record.
7603 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7604 with `bookmark-insert-current-bookmark'.
7605 (bookmark-set): Get `defaults' property from the bookmark record
7606 and use it in `read-from-minibuffer'.
7607 (bookmark-insert-current-bookmark): Remove function.
7609 * info.el (Info-bookmark-make-record): Add `defaults' property
7610 with values of canonical Info node name, the current Info file
7611 name and the current Info node name. (Bug#12107)
7613 2012-08-08 Juri Linkov <juri@jurta.org>
7615 * files.el (basic-save-buffer): Use `buffer-name' as the default
7616 of `read-file-name' when buffer is not visiting a file (bug#12128).
7618 2012-08-08 Juri Linkov <juri@jurta.org>
7620 * info.el (Info-isearch-search): Doc fix.
7621 (Info-search): Change search-failed message from "initial node" to
7622 "end of node" (bug#12078).
7623 (Info-isearch-search): Change `isearch-string-state' to
7624 `isearch--state-string'.
7626 2012-08-08 Glenn Morris <rgm@gnu.org>
7628 * language/persian.el: Remove file.
7629 * language/misc-lang.el: Move unique part of persian.el here.
7630 * loadup.el: Remove language/persian.
7632 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7634 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7636 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7638 * progmodes/python.el: Fix defsubst warning.
7639 (python-syntax-context) Rename from python-info-ppss-context.
7640 (python-syntax-context-type): Rename from
7641 python-info-ppss-context-type.
7642 (python-syntax-comment-or-string-p): Rename from
7643 python-info-ppss-comment-or-string-p.
7645 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7647 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7649 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7651 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7652 a defcustom that is quoted with backquote.
7654 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7655 Fix handling of interactive spec when the body uses return.
7656 (math-do-arg-check, math-define-function-body): Use backquote forms.
7657 * calc/calc-ext.el (math-defcache): Likewise.
7658 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7659 * allout.el (allout-new-exposure): Likewise.
7660 * calc/calcalg2.el (math-tracing-integral): Likewise.
7661 * info.el (Info-last-menu-item): Likewise.
7662 * emulation/vip.el (vip-loop): Likewise.
7663 * textmodes/artist.el (artist-funcall): Likewise.
7664 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7665 Construct menu-item directly.
7667 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7670 2012-08-07 Chong Yidong <cyd@gnu.org>
7672 * simple.el (deactivate-mark): Preserve text properties when
7673 saving the primary selection (Bug#8384).
7675 2012-08-07 Kevin Ryde <user42@zip.com.au>
7677 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7678 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7679 and continue processing (Bug#12110).
7681 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7684 syntax-propertize-function (bug#10095).
7686 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7688 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7689 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7690 describe-function-1.
7691 (describe-function-1): Use them. Move compiler macro after sig.
7692 (help-fns--compiler-macro): Use function-get. Assume we're already in
7693 standard-output. Adjust layout to new call order.
7695 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7696 re-binding a symbol that has a symbol-macro (bug#12119).
7698 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7700 * language/persian.el: New file. (Bug#11812)
7701 * loadup.el: Add language/persian.el.
7703 2012-08-06 Chong Yidong <cyd@gnu.org>
7705 * window.el (window--maybe-raise-frame): New function.
7706 (window--display-buffer): Split off from here.
7707 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7708 (display-buffer-pop-up-window, display-buffer-use-some-window):
7709 Obey an inhibit-switch-frame action alist entry.
7710 (display-buffer): Update doc.
7712 * replace.el (occur-after-change-function): Avoid losing focus by
7713 using the inhibit-switch-frame display parameter (Bug#12139).
7715 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7717 Make internal shell process buffer names start with space.
7718 * progmodes/python.el (python-shell-make-comint): Add optional
7720 (run-python-internal): Use it.
7721 (python-shell-internal-get-or-create-process): Check for new
7722 internal buffer names.
7724 2012-08-06 Glenn Morris <rgm@gnu.org>
7726 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7727 Do less getting and setting of environment variables.
7729 2012-08-05 Chong Yidong <cyd@gnu.org>
7731 * proced.el (proced): Add substitution string to docstring to
7732 trigger autoloading of the proced library on C-h f (Bug#1768).
7734 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7735 Don't show defvars which have no second argument (Bug#8638).
7737 * imenu.el (imenu-generic-expression): Move documentation here
7738 from imenu--generic-function.
7739 (imenu--generic-function): Refer to imenu-generic-expression.
7741 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7743 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7744 indentation declaration.
7745 (viper-loop): Add indentation declaration (Bug#7025).
7747 2012-08-05 Chong Yidong <cyd@gnu.org>
7749 * help-fns.el (describe-variable): Add hyperlink for
7750 directory-local variables files. Improve buffer-local and
7751 permanent-local reporting; suggested by MON KEY (Bug#6644).
7753 * help-mode.el (help-dir-local-var-def): New button type.
7755 * files.el (kill-buffer-hook): Provide a defvar.
7757 2012-08-05 Glenn Morris <rgm@gnu.org>
7759 * eshell/esh-ext.el (eshell/addpath):
7760 Also update eshell-path-env. (Bug#12013)
7762 2012-08-05 Chong Yidong <cyd@gnu.org>
7764 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7766 * fringe.el (fringe-styles): Add docstring.
7767 (fringe--check-mode): New function.
7768 (set-fringe-mode, set-fringe-style): Use it.
7769 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7771 * files.el (set-auto-mode): Fix invalid setq call.
7773 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7775 * isearch.el: Misc simplification; use defstruct.
7776 (isearch-mode-map): Dense maps now work like sparse ones.
7777 (isearch--state): New defstruct.
7778 (isearch-string-state, isearch-message-state, isearch-point-state)
7779 (isearch-success-state, isearch-forward-state)
7780 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7781 (isearch-wrapped-state, isearch-barrier-state)
7782 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7783 replaced by defstruct's accessors.
7784 (isearch--set-state): Rename from isearch-top-state and change
7786 (isearch-push-state): Use new isearch--get-state.
7787 (isearch-toggle-word): Disable regexp when enabling word.
7788 (isearch-message-prefix): Remove unused arg _c-q-hack.
7789 (isearch-message-suffix): Remove unused arg _ellipsis.
7791 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7793 * simple.el (list-processes--refresh): For a server use :host or
7794 :local as the address.
7795 (list-processes): Doc fix.
7797 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7799 * lisp/mpc.el: Support password in host argument.
7800 (mpc--proc-connect): Parse and use new password element.
7801 Set mpc-proc variable instead of returning process.
7802 (mpc-proc): Adjust accordingly.
7804 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7806 * whitespace.el (whitespace-display-mappings): Use Unicode
7807 codepoints, instead of emacs-mule codepoints. See
7808 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7811 * files.el (file-truename): Don't skip symlink-chasing part on
7812 windows-nt. Incorporate the resolution of 8+3 short aliases on
7813 Windows into the loop that recursively chases symlinks.
7814 Compare directory and its parent case-insensitively on MS-Windows and
7817 2012-08-03 Chong Yidong <cyd@gnu.org>
7819 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7821 * sort.el (sort-regexp-fields): Doc fix.
7823 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7825 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7826 labels regex position point at the expected place.
7828 2012-08-03 MON KEY <monkey@sandpframing.com>
7830 * net/imap.el (imap-interactive-login, imap-authenticate)
7831 (imap-mailbox-lsub, imap-mailbox-list)
7832 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7833 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7834 (imap-parse-response): Doc fix.
7836 2012-08-03 João Távora <joaotavora@gmail.com>
7838 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7839 if sexp scanning does not move point (Bug#5734).
7841 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7843 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7844 Add listings, minted, and ctable packages.
7845 (reftex-label-alist-builtin): Move listings, minted, and ctable
7846 entries before LaTeX.
7847 (reftex-label-alist): Docfix.
7849 2012-08-02 Bastien Guerry <bzg@gnu.org>
7851 * replace.el (occur): Fix docstring (bug#12122).
7853 2012-08-02 Glenn Morris <rgm@gnu.org>
7855 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7857 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7859 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7860 * international/mule-cmds.el: Create
7861 inactivate-current-input-method-function as an obsolete alias for
7862 deactivate-current-input-method-function. See Katsumi Yamaoka in
7863 <http://bugs.gnu.org/10150#46>.
7865 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7867 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7870 2012-08-01 Glenn Morris <rgm@gnu.org>
7872 * progmodes/autoconf.el (autoconf-definition-regexp):
7873 Add AH_TEMPLATE, adjust submatch numbering.
7874 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7875 (autoconf-current-defun-function): Update for above change.
7876 (autoconf-current-defun-function): First skip to end of current word.
7878 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7880 * calendar/cal-html.el (cal-html-insert-agenda-days):
7881 Fix typo. (Bug#12018)
7883 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7885 Shell processes: enhancements to startup and CEDET compatibility.
7886 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7887 (python-shell-make-comint): accept-process-output at startup.
7888 (run-python-internal): Set inferior-python-mode-hook to nil.
7889 (python-shell-internal-get-or-create-process): call sit-for.
7890 (python-preoutput-result): Add obsolete alias.
7891 (python-shell-internal-send-string): Use it.
7892 (python-shell-send-setup-code): Remove call to
7893 accept-process-output.
7895 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7897 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7900 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7902 * calc-mode.el (calc-basic-simplification-mode): Rename from
7903 `calc-limited-simplification-mode'.
7904 (calc-alg-simplification-mode): New function.
7905 (calc-set-simplify-mode): Adjust message.
7907 * calc.el (calc-set-mode-line): Adjust mode line display for
7908 basic simplification mode.
7910 * calc-help.el (calc-m-prefix-help): Update help message.
7912 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7913 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7915 2012-07-31 Bastien Guerry <bzg@gnu.org>
7917 * man.el (man): Fix comment. (bug#12101)
7919 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7921 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7922 Don't return a non-nil value when no suitable buffer was found.
7924 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7926 * progmodes/python.el (run-python-internal): Disable font lock for
7929 2012-07-30 Stefan Merten <smerten@oekonux.de>
7931 * textmodes/rst.el: Silence `checkdoc-ispell'.
7932 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7933 (rst-official-version, rst-official-cvs-rev)
7934 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7935 (rst-mode-map): New key binding.
7937 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7939 Update .PHONY listings in makefiles.
7940 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7941 autoloads, update-subdirs, updates, bzr-update, update-authors,
7942 compile-onefile, compile-calc, backup-compiled-files,
7943 compile-after-backup, compile-one-process, mh-autoloads,
7944 bootstrap-clean, distclean, maintainer-clean.
7946 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7948 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7949 (calc-set-mode-line): Don't display "AlgSimp ".
7951 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7952 (calc-lim-simplify-mode): New function.
7953 (calc-set-simplify-mode): Default to 'alg.
7954 (calc-default-simplify-mode): Make algebraic simplifications
7957 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7958 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7960 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7961 indicate new simplification modes.
7963 * calc/README: Mention new default simplification mode.
7965 * calc/calc.el (math-normalize-error): New variable.
7966 (math-normalize): Set `math-normalize-error' to t
7967 when there's an error.
7969 * calc/calc-alg.el (math-simplify): Don't simplify when
7970 `math-normalize' returns an error.
7972 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7974 * international/mule-cmds.el (set-locale-environment): Revert last
7975 change, since display-graphic-p returns nil when this function is
7976 called during startup. Instead...
7978 * term/w32console.el (terminal-init-w32console): ...setup the
7979 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7981 2012-07-29 Juri Linkov <juri@jurta.org>
7983 * simple.el (goto-line): Don't display default line number in the
7984 prompt because it should be displayed by `read-number' (bug#9952).
7985 Add the current line number to the defaults of `goto-line' to
7986 allow its easier modification by users with `M-n' (bug#9201).
7988 * subr.el (read-number): Support multiple default values like in
7989 other minibuffer reading functions. Replace `read' with
7990 `string-to-number' for consistency with `number-to-string'.
7992 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7994 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7995 * emulation/viper-init.el (viper-deactivate-input-method-action):
7996 Rename from viper-inactivate-input-method-action.
7997 (viper-deactivate-input-method):
7998 Rename from viper-inactivate-input-method.
7999 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
8000 * international/mule-cmds.el (deactivate-input-method):
8001 Rename from inactivate-input-method.
8002 Also run input-method-deactivate-hook.
8003 (deactivate-current-input-method-function):
8004 Rename from inactivate-current-input-method-function.
8005 (input-method-deactivate-hook): New hook.
8006 (input-method-inactivate-hook): Mark obsolete.
8007 (inactivate-input-method): Mark obsolete.
8009 * international/quail.el (quail-activate):
8010 Also run quail-deactivate-hook.
8011 (quail-deactivate): Rename from quail-inactivate.
8012 * international/robin.el (robin-activate):
8013 Also run robin-deactivate-hook.
8014 (robin-deactivate): Rename from robin-inactivate.
8016 2012-07-29 Chong Yidong <cyd@gnu.org>
8018 * simple.el (indicate-copied-region): New function.
8019 (kill-ring-save): Split off from here.
8021 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
8022 (kill-rectangle): Set deactivate-mark to t on read-only error.
8024 * register.el (copy-to-register, copy-rectangle-to-register):
8025 Deactivate the mark, and use indicate-copied-region (Bug#10056).
8026 (append-to-register, prepend-to-register): Call indicate-copied-region.
8028 2012-07-29 Juri Linkov <juri@jurta.org>
8030 * simple.el (async-shell-command-buffer): New defcustom.
8031 (shell-command): Use it. (Bug#4719)
8033 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8035 * international/mule-cmds.el (set-locale-environment): In a
8036 console session on MS-Windows, set up keyboard and terminal
8037 encoding from the OEM codepage, not the ANSI codepage.
8040 2012-07-28 Chong Yidong <cyd@gnu.org>
8042 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
8045 2012-07-28 Leo Liu <sdl.web@gmail.com>
8047 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8048 the alist (bug#12029).
8050 2012-07-28 Eli Zaretskii <eliz@gnu.org>
8052 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8053 (compile-always, compile-first)
8054 ($(lisp)/calendar/cal-loaddefs.el)
8055 ($(lisp)/calendar/diary-loaddefs.el)
8056 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8057 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8058 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8059 instead of on update-subdirs.
8060 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8062 2012-07-28 Chong Yidong <cyd@gnu.org>
8064 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8065 directory if vc-deduce-backend returns nil (Bug#7350).
8067 * simple.el (delete-trailing-lines): New option.
8068 (delete-trailing-whitespace): Obey it (Bug#11879).
8070 2012-07-28 David Engster <deng@randomsample.de>
8072 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8073 Explanation of new 'symbol-qnames feature in doc-strings.
8074 (xml-maybe-do-ns): Return expanded names as plain symbols if
8075 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8076 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8078 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8080 Consistent completion in inferior python with emacs -nw.
8081 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8082 binding in inferior-python-mode-map with "\t".
8083 (python-shell-completion-complete-at-point)
8084 (python-completion-complete-at-point): Remove interactive spec.
8086 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8088 * calc/calccomp.el (math-compose-expr): Undo previous change.
8090 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8092 * progmodes/python.el (python-mode-map): Add keybinding for
8094 (python-shell-make-comint): Fix pop-to-buffer call.
8095 (run-python): Autoload. New arg SHOW.
8096 (python-shell-get-or-create-process): Do not pop python process
8099 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
8101 * notifications.el (notifications-on-action-signal)
8102 (notifications-on-closed-signal): Use also the bus address for the map.
8103 (notifications-notify, notifications-close-notification)
8104 (notifications-get-capabilities): Add optional argument BUS.
8106 2012-07-27 Tassilo Horn <tsdh@gnu.org>
8108 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8109 Add support for the lstlisting and minted environments, and for the
8111 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8112 labels written in keyvals syntax.
8114 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8116 * calc/calccomp.el (math-compose-expr): Use parentheses when
8117 there is a product in the denominator of a fraction.
8119 2012-07-26 Eli Zaretskii <eliz@gnu.org>
8121 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8122 ($(lisp)/calendar/diary-loaddefs.el)
8123 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8124 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8125 Fixes failures in parallel bootstrap because subdirs.el is being
8126 rewritten while the autoload files are built at the same time,
8127 which needs to load subdirs.el.
8129 2012-07-26 Martin Rudalics <rudalics@gmx.at>
8131 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8132 (mouse-drag-line): Don't exit tracking when a switch-frame or
8133 switch-window event occurs (Bug#12006).
8135 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * mouse.el (popup-menu): Fix last change.
8139 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8141 Autoload from Lisp with more care. Follow aliases when looking for
8142 function properties.
8143 * subr.el (autoloadp): New function.
8144 (symbol-file): Use it.
8145 (function-get): New function.
8146 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8148 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8149 (lisp-indent-function):
8150 * emacs-lisp/gv.el (gv-get):
8151 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8152 * emacs-lisp/byte-opt.el (byte-optimize-form):
8153 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8154 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8156 * emacs-lisp/cl.el: Don't propagate function properties any more.
8158 * speedbar.el (speedbar-add-localized-speedbar-support):
8159 * emacs-lisp/disass.el (disassemble-internal):
8160 * desktop.el (desktop-load-file):
8161 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8162 (describe-function-1):
8163 * emacs-lisp/find-func.el (find-function-noselect):
8164 * emacs-lisp/elp.el (elp-instrument-function):
8165 * emacs-lisp/advice.el (ad-has-proper-definition):
8166 * apropos.el (apropos-safe-documentation, apropos-macrop):
8167 * emacs-lisp/debug.el (debug-on-entry):
8168 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8169 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8170 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8172 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8174 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8175 function, not an obsolete variable (Bug#12046).
8177 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8179 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8181 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8183 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8184 window only if it is still live (Bug#12034).
8186 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8188 * subr.el (redirect-frame-focus): Add advertised calling
8189 convention (Bug#12030).
8191 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8193 Prefer typical American spelling for "acknowledgment".
8194 * vc/add-log.el (change-log-acknowledgment): Rename from
8195 change-log-acknowledgement, with an alias for the old name.
8197 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8199 * calc-alg.el (math-simplify-divide): Don't cross multiply
8200 in an equation when the lhs is a variable.
8202 2012-07-24 Julien Danjou <julien@danjou.info>
8204 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8207 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8209 * startup.el (command-line): Don't display an empty user name in
8210 the error message about non-existent home directory, when
8211 init-file-user was set to an empty string. See
8212 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8213 for the details and context.
8215 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8217 * ses.el (ses-cell-formula-aset): New macro.
8218 (ses-cell-references-aset): New macro.
8219 (ses-cell-p): New function.
8220 (ses-rename-cell): Do no longer rely on complex operations like
8221 ses-cell-set-formula or ses-set-cell to change the cell and handle
8222 the undo at the same time, but rather use lower level new macros
8223 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8224 the undo directly. Refresh the mode line.
8226 2012-07-21 Leo Liu <sdl.web@gmail.com>
8228 * progmodes/cc-cmds.el (c-defun-name):
8229 Use match-string-no-properties instead for consistency.
8231 2012-07-20 Leo Liu <sdl.web@gmail.com>
8233 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8236 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8238 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8240 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8241 * progmodes/bug-reference.el, misearch.el: Provide themselves
8244 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8245 of narrowed buffer (bug#11966).
8247 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8249 * ses.el (ses-rename-cell): Set new name also in reference list of
8250 cells of which the renamed cell depends.
8252 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8254 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8255 to check whether menu-bar is shown or not. If not shown,
8256 show the menu-bar as a popup menu instead of using tmm.
8257 * mouse.el (popup-menu): Accept `point' as `position' argument.
8259 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8261 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8262 up inside string symbol literal (bug#11923).
8264 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8266 * startup.el (fancy-startup-text): Read the whole tutorial, not
8267 just its first 256 bytes. Prevents gibberish in display of the
8270 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8272 Drop idle buffer compaction due to an absence of the
8274 * compact.el: Remove.
8276 2012-07-19 Sam Steingold <sds@gnu.org>
8278 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8279 vc-bzr-pull & vc-bzr-merge-branch.
8280 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8281 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8282 for consistency with compilation-error-regexp-alist.
8283 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8284 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8285 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8286 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8288 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8290 * emacs-lisp/chart.el: Use lexical-binding.
8291 (chart-emacs-storage): Don't hardcode the list of entries.
8293 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8295 Next round of tweaks caused by Fgarbage_collect changes.
8296 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8298 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8300 Compact buffers when idle.
8301 * compact.el: New file.
8303 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8305 * subr.el (eventp): Presume that if it looks vaguely like an event,
8306 it's an event (bug#10190).
8308 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8310 Enhancements to ppss related code (thanks Stefan).
8311 * progmodes/python.el (python-indent-context)
8312 (python-indent-calculate-indentation, python-indent-dedent-line)
8313 (python-indent-electric-colon, python-nav-forward-block)
8314 (python-mode-abbrev-table)
8315 (python-info-assignment-continuation-line-p): Simplify checks
8317 (python-info-continuation-line-p): Cleanup.
8318 (python-info-ppss-context): Do not catch 'quote.
8319 (python-info-ppss-context-type)
8320 (python-info-ppss-comment-or-string-p): Simplify.
8322 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8324 * progmodes/python.el: Enhancements to eldoc support.
8325 (python-info-current-symbol): New function.
8326 (python-eldoc-at-point): Use python-info-current-symbol.
8327 (python-info-current-defun): Fix cornercase on first defun scan.
8328 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8329 and signal error when no inferior python process is available.
8331 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8333 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8334 assume it's always t.
8335 (vc-git-registered): Remove caching, the function is only called
8337 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8339 2012-07-18 Chong Yidong <cyd@gnu.org>
8341 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8343 * simple.el (count-words): Report on narrowing (Bug#9959).
8345 * bindings.el: Bind M-= to count-words.
8347 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8349 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8351 * progmodes/sh-script.el (sh-imenu-generic-expression):
8352 Capture a function with `function' keyword and without parentheses
8353 like "function FOO" (bug#11856).
8355 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8357 * window.el (split-window-sensibly): Make WINDOW argument
8360 2012-07-18 Chong Yidong <cyd@gnu.org>
8362 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8364 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8365 and make C-x 8 RET exit isearch (Bug#11439).
8367 * international/iso-transl.el: Move isearch-mode-map key
8368 definitions to isearch.el.
8370 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8373 (eieio-defclass): Use gv-define-setter when possible.
8375 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8377 Reflect recent changes in Fgarbage_collect.
8378 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8379 reflect new format of data returned by Fgarbage_collect.
8381 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8383 New utility functions + python-info-ppss-context fix (Bug#11910).
8384 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8385 (python-info-ppss-comment-or-string-p): New functions.
8386 (python-info-ppss-context): Small fix for string check.
8388 2012-07-17 Juri Linkov <juri@jurta.org>
8390 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8391 (dired-do-async-shell-command): Don't add `*' at the end of the
8392 command (Bug#11815).
8393 (dired-do-shell-command): Doc fix.
8394 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8395 Join the individual commands using either "&" or ";" as the
8396 separator depending on the values of these trailing characters.
8397 At the end re-add the trailing "&". (Bug#10598)
8399 * simple.el (async-shell-command): Sync the interactive spec with
8400 `shell-command'. Doc fix.
8401 (shell-command): Doc fix.
8403 2012-07-17 Juri Linkov <juri@jurta.org>
8405 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8407 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8409 Final renames and doc fixes for movement commands (bug#11899).
8410 * progmodes/python.el (python-nav-beginning-of-statement):
8411 Rename from python-nav-statement-start.
8412 (python-nav-end-of-statement): Rename from
8413 python-nav-statement-end.
8414 (python-nav-beginning-of-block): Rename from
8415 python-nav-block-start.
8416 (python-nav-end-of-block): Rename from python-nav-block-end.
8418 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8420 * progmodes/python.el (python-shell-send-string-no-output):
8421 Allow accept-process-output to quit, keeping shell process ready for
8422 future interactions (Bug#11868).
8424 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8428 * emacs-lisp/elint.el (elint-find-args-in-code):
8429 Use help-function-arglist, so as to handle lexical byte-code.
8431 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8434 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8436 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8437 Avoid spuriously marking the buffer as modified because of c-is-sws.
8439 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8440 as not-a-comment (bug#11946).
8442 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8443 for uninterned vars.
8445 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8446 Use read-event since we don't really want to read chars but bytes.
8448 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8449 $$..$$ but also $..$ using regexps (bug#11953).
8450 Use tex-verbatim for \url and \path.
8451 (tex-font-lock-keywords): Define as defconst like the others.
8452 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8454 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8456 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8457 alias for insert-char.
8459 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8461 * progmodes/python.el: Simplified imenu implementation.
8462 (python-nav-jump-to-defun): Remove command.
8463 (python-mode-map): Use `imenu' instead.
8464 (python-nav-list-defun-positions-cache)
8465 (python-imenu-include-defun-type, python-imenu-make-tree)
8466 (python-imenu-subtree-root-label, python-imenu-index-alist):
8468 (python-nav-list-defun-positions, python-nav-read-defun)
8469 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8470 (python-imenu-make-tree, python-imenu-create-index):
8472 (python-mode): Update to interact with imenu by setting
8473 `imenu-extract-index-name-function' only.
8475 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8477 * progmodes/python.el: Enhancements to navigation commands.
8478 (python-nav-backward-sentence)
8479 (python-nav-forward-sentence): Remove.
8480 (python-nav-backward-statement, python-nav-forward-statement)
8481 (python-nav-statement-start, python-nav-statement-end)
8482 (python-nav-backward-block, python-nav-forward-block)
8483 (python-nav-block-start, python-nav-block-end)
8484 (python-nav-forward-sexp-function)
8485 (python-info-current-line-comment-p)
8486 (python-info-current-line-empty-p): New functions.
8487 (python-indent-context): Use `python-nav-statement-start'.
8489 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8491 * eshell/em-ls.el (eshell/ls): Use `apply'.
8493 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8494 multi-hops, instead of Tramp internals.
8496 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8498 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8499 when F1 and F2 are located on different hosts.
8501 2012-07-14 Chong Yidong <cyd@gnu.org>
8503 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8504 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8505 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8506 (xterm-mouse--read-event-sequence-1000)
8507 (xterm-mouse--read-event-sequence-1006): New functions. For old
8508 mouse protocol, handle M-mouse-X events correctly.
8509 (xterm-mouse-event): New arg specifying mouse protocol.
8510 (turn-on-xterm-mouse-tracking-on-terminal)
8511 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8512 sequence to toggle extended coordinates on newer XTerms.
8513 This appears to be harmless on terminals which do not support this.
8515 2012-07-14 Leo Liu <sdl.web@gmail.com>
8517 Add fringe bitmap indicators for flymake. (Bug#11253)
8518 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8519 (flymake-make-overlay): New arg BITMAP.
8520 (flymake-error-bitmap, flymake-warning-bitmap)
8521 (flymake-fringe-indicator-position): New user variables.
8523 * fringe.el: New bitmap exclamation-mark.
8525 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8527 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8530 2012-07-14 Chong Yidong <cyd@gnu.org>
8532 * electric.el (electric-pair-post-self-insert-function): Fix pair
8533 insertion in empty-region case (Bug#11520).
8535 2012-07-14 Chong Yidong <cyd@gnu.org>
8537 * bindings.el: Consolidate ctl-x-r-map bindings.
8538 Bind copy-rectangle-as-kill to C-x r w.
8540 * rect.el, register.el: Move bindings to bindings.el.
8542 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8544 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8546 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8548 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8550 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8552 * bindings.el (top): Use `mapc' instead of `mapcar'.
8554 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8556 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8558 * progmodes/sql.el (sql-comint): Suppress the check for program on
8559 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8562 2012-07-13 Chong Yidong <cyd@gnu.org>
8564 * bindings.el: Assign a non-nil permanent-local property to
8565 per-buffer variables which lack a default value (Bug#11930).
8567 * help-fns.el (describe-variable): In the "automatically becomes
8568 local" notice, take note of permanent-local variables.
8570 2012-07-13 Chong Yidong <cyd@gnu.org>
8572 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8573 to allow printing the message when called from Lisp.
8575 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8576 Remove toggle-read-only.
8578 * bs.el (bs-toggle-readonly):
8579 * buff-menu.el (Buffer-menu-toggle-read-only):
8580 Remove with-no-warnings around toggle-read-only.
8582 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8583 Remove with-no-warnings around toggle-read-only.
8584 (ffap-read-only, ffap-read-only-other-window)
8585 (ffap-read-only-other-frame): Callers changed.
8587 * help-mode.el: Don't require view package.
8588 (help-mode-finish): Set buffer-read-only instead of calling
8591 * bindings.el (mode-line-toggle-read-only):
8592 * dired.el (dired-toggle-read-only):
8593 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8594 with non-nil second arg.
8596 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8597 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8600 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8602 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8605 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8607 More CL cleanups and reduction of use of cl.el.
8608 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8609 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8610 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8611 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8612 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8613 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8614 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8615 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8616 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8617 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8618 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8619 * eshell/em-cmpl.el, eshell/em-banner.el:
8620 * calendar/parse-time.el: Use cl-lib.
8621 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8622 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8623 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8624 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8625 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8626 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8627 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8628 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8629 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8630 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8631 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8632 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8633 `lambda' rather than with `quote'.
8634 (eshell-do-opt): Adjust accordingly.
8635 (eshell-process-option): Simplify.
8636 * eshell/esh-var.el:
8637 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8638 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8639 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8640 to `pcase--dontcare'.
8641 * emacs-lisp/cl.el (labels): Mark obsolete.
8642 (cl--letf, letf): Move to cl-lib.
8643 (cl--letf*, letf*): Remove.
8644 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8645 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8646 (cl-progv): Rewrite.
8647 (cl--letf, cl-letf): Move from cl.el.
8648 (cl-letf*): New macro.
8649 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8651 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8653 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8655 2012-07-11 Chong Yidong <cyd@gnu.org>
8657 * vc/log-edit.el (log-edit-vc-backend): New variable.
8658 (log-edit): Doc fix.
8660 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8661 argument of log-edit to set up all local variables.
8662 (vc-start-logentry): New optional arg specifying VC backend.
8664 * vc/vc.el (vc-checkin): Use it.
8665 (vc-deduce-fileset): Handle Log Edit buffers.
8666 (vc-diff): Make first argument optional too.
8668 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8670 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8672 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8673 command, just in case. The function is not needed anymore.
8674 (eshell-external-command): Do not call `eshell-remote-command'.
8676 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8678 Reduce use of (require 'cl).
8679 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8680 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8681 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8682 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8683 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8684 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8685 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8686 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8687 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8688 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8689 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8690 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8691 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8692 (byte-compile-unfold-bcf, byte-compile-check-variable):
8693 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8694 (byte-compile-nilconstp):
8695 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8696 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8698 * emacs-lisp/gv.el (cond): Make it a valid place.
8699 (if): Simplify slightly.
8701 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8702 (pcase--self-quoting-p): New function.
8703 (pcase--u1): Use it.
8705 2012-07-10 Glenn Morris <rgm@gnu.org>
8707 * emacs-lisp/authors.el (authors-fixed-entries):
8708 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8710 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8712 Rename configure.in to configure.ac (Bug#11603).
8713 * emacs-lisp/authors.el (authors-canonical-file-name):
8714 * progmodes/autoconf.el (autoconf-mode):
8715 Prefer configure.ac to configure.in.
8717 2012-07-08 Chong Yidong <cyd@gnu.org>
8719 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8720 Implement the mouse-1-click-follows-link handling properly.
8722 * info.el (Info-link-keymap): Use follow-link mechanism for
8723 header-line links (Bug#374).
8725 * simple.el (deactivate-mark): Do not set the primary selection
8726 if another program has acquired it (Bug#11772).
8728 2012-07-07 Kevin Ryde <user42@zip.com.au>
8730 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8731 (woman-decode-region): Replace escaped-escapes without destroying
8732 bold or underline (Bug#11552).
8733 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8735 2012-07-07 Chong Yidong <cyd@gnu.org>
8737 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8738 (interprogram-cut-function, interprogram-paste-function):
8739 Mention that we typically mean the clipboard.
8741 2012-07-06 Glenn Morris <rgm@gnu.org>
8743 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8745 * files.el (toggle-read-only): Restrict message to interactive use.
8747 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8749 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8751 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8753 2012-07-06 Glenn Morris <rgm@gnu.org>
8755 * Makefile.in (compile-one-process): Rename from "recompile".
8757 * Makefile.in (bzr-update): "compile" is the same as "recompile
8758 autoloads", but parallelizable, so use that instead.
8760 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8762 * window.el (quit-window): Always restore window height when
8763 it's saved in quit-restore parameter (Bug#11810).
8765 2012-07-06 Glenn Morris <rgm@gnu.org>
8767 * simple.el (kill-whole-line): Doc tweak.
8769 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8771 * files.el (file-relative-name): Compare file names
8772 case-insensitively if on MS-Windows or MS-DOS, or if
8773 read-file-name-completion-ignore-case is non-nil. Don't use
8774 case-fold-search for this purpose. (Bug#11827)
8776 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8778 * calendar/cal-dst.el (calendar-current-time-zone):
8779 Return calendar-current-time-zone-cache if non-nil.
8781 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8782 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8784 * calendar/cal-dst.el (calendar-current-time-zone):
8785 Return calendar-current-time-zone-cache if non-nil.
8787 2012-07-06 Glenn Morris <rgm@gnu.org>
8789 * Makefile.in (cvs-update): Remove old alias.
8791 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8793 Sync with Tramp 2.2.6-pre.
8795 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8796 compatible declaration.
8798 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8799 Protect `list-load-path-shadows' call.
8801 * net/tramp-compat.el (top): Require packages, which aren't
8802 autoloaded anymore for XEmacs. Protect call of
8803 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8804 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8805 it hurts at least for SXEmacs.
8806 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8807 standard-value for `temporary-file-directory'.
8809 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8810 Redirect stderr to /dev/null.
8811 (tramp-sh-handle-write-region): uid and gid can be floats.
8812 Reported by Russell Sim <russell.sim@gmail.com>.
8813 (tramp-sh-handle-vc-registered): Hide errors.
8814 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8815 and `start-file-process'.
8816 (tramp-maybe-open-connection): Check also whether `non-essential'
8819 2012-07-04 Chong Yidong <cyd@gnu.org>
8821 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8822 (xml-parse-tag): Likewise, and avoid changing entity tables.
8823 (xml-syntax-table): Define from scratch, making sure not to give
8824 x2000 and other Unicode spaces whitespace syntax, since those are
8826 (xml-parse-fragment): Delete unused function.
8827 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8828 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8829 (xml-entity-ref, xml-pe-reference-re)
8830 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8831 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8832 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8833 (xml-entity-value-re): Use syntax references in regexps where
8834 possible; no need to define inside a let-binding.
8835 (xml-parse-dtd): Use xml-pe-reference-re.
8836 (xml-entity-or-char-ref-re): New defconst.
8837 (xml-parse-string, xml-substitute-special): Use it.
8839 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8842 (find-file--read-only): New function.
8843 (find-file-read-only, find-file-read-only-other-window)
8844 (find-file-read-only-other-frame): Use it.
8845 (insert-file-contents-literally): Don't `fset'.
8846 (get-free-disk-space): Use locate-dominating-file.
8848 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8849 function is already compiled.
8851 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8853 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8855 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8856 files on the same host.
8858 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8860 * help-fns.el (describe-function-1): Only call
8861 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8863 2012-07-03 Chong Yidong <cyd@gnu.org>
8865 * xml.el: Protect parser against XML bombs.
8866 (xml-entity-expansion-limit): New variable.
8867 (xml-parse-string, xml-substitute-special): Use it.
8868 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8870 2012-07-03 Glenn Morris <rgm@gnu.org>
8872 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8873 Allow linking to specific messages in debbugs reports (eg 123#5).
8875 2012-07-02 Chong Yidong <cyd@gnu.org>
8877 * xml.el: Fix entity and character reference expansion, allowing
8878 them to expand into markup as per XML spec.
8879 (xml-default-ns): New variable.
8880 (xml-entity-alist): Use XML spec definitions for lt and amp.
8881 (xml-parse-region): Make first two arguments optional.
8882 Discard text properties.
8883 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8884 All callers changed.
8885 (xml-parse-tag): Call xml-parse-tag-1. For backward
8886 compatibility, this function should not modify buffer contents.
8887 (xml-parse-tag-1): Fix opening-tag regexp.
8888 (xml-parse-string): Rewrite, handling entity and character
8889 references properly.
8890 (xml--entity-replacement-text): Signal an error if a parameter
8891 entity is undefined.
8893 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8895 * comint.el (comint-output-filter): Filter out repeated prompts.
8897 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8898 and file-name-absolute-p.
8899 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8902 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8905 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8906 Rename from byte-compile--refiy-function. All uses changed.
8908 2012-07-01 Chong Yidong <cyd@gnu.org>
8910 * xml.el (xml--parse-buffer): New function. Move most of
8911 xml-parse-region here.
8912 (xml-parse-region): Copy region into a temporary buffer, since
8913 parameter entity substitution requires changing buffer contents.
8914 Use xml--parse-buffer.
8915 (xml-parse-file): Use xml--parse-buffer.
8916 (xml-parse-dtd): Make parameter entity substitution work right.
8917 Use proper regexps for ELEMENT declarations (Bug#7172).
8919 2012-06-30 Glenn Morris <rgm@gnu.org>
8921 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8923 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8924 Remove outdated and unnecessary dbus declarations.
8926 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8928 * emacs-lisp/timer.el (timer-until): Subtract results of
8929 float-time, instead of taking float-time of the result of
8930 time-subtract, since float-time signals an error for negative time
8933 2012-06-30 Chong Yidong <cyd@gnu.org>
8935 * xml.el (xml-*-re): Convert defvars into defconsts, and
8936 eval-and-compile them so eval-and-compile works on derivatives.
8937 (xml--entity-replacement-text): Use eval-and-comple.
8939 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8941 * vc/vc-git.el (vc-git-registered): Use cache property
8943 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8944 `vc-git-working-revision' in order to benefit from the cache.
8945 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8947 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8949 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8950 removed (likely outside Emacs). (Bug#11757)
8952 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * emacs-lisp/cl-lib.el: Require macroexp.
8956 2012-06-30 Chong Yidong <cyd@gnu.org>
8958 * xml.el: Implement XML parameter entities.
8959 (xml-parameter-entity-alist): New variable.
8960 (xml-parse-region, xml-parse-fragment): Preserve previous values
8961 of xml-entity-alist and xml-parameter-entity-alist, so that
8962 repeated calls on different documents do not change them.
8963 (xml-parse-tag): Fix doctype regexp.
8964 (xml--entity-replacement-text): New function.
8965 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8966 properly requires url retrieval which is unimplemented.
8967 (xml-escape-string): Doc fix.
8969 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8971 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8973 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8975 * fringe.el (fringe-mode): Doc fix.
8977 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8979 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8981 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8982 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8984 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8986 * calendar/cal-dst.el (calendar-current-time-zone):
8987 Return calendar-current-time-zone-cache if non-nil.
8989 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8991 * progmodes/which-func.el (which-func-format):
8992 Add mouse-face. (Bug#11698)
8994 2012-06-29 Leo Liu <sdl.web@gmail.com>
8996 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8998 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9000 * minibuffer.el (minibuffer-confirm-exit-commands):
9001 Add completion-at-point (bug#11725).
9003 2012-06-29 Glenn Morris <rgm@gnu.org>
9005 * progmodes/f90.el (f90-font-lock-keywords-2):
9006 Add some preprocessor elements. (Bug#10499)
9008 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * progmodes/cperl-mode.el (cperl-update-syntaxification):
9011 Use syntax-propertize (bug#11739).
9013 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
9015 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
9017 2012-06-28 Julien Danjou <julien@danjou.info>
9019 * term.el (term-handle-colors-array): Use a set of new faces to
9020 color the terminal. Also uses :inverse-video property.
9021 (term-default-fg-color): Set to nil by default, deprecate in favor
9023 (term-default-bg-color): Set to nil by default, deprecate in favor
9025 (term-current-face): Use `term-face' by default.
9026 (term-bold-attribute): Variable deleted.
9028 2012-06-28 Glenn Morris <rgm@gnu.org>
9030 * simple.el (completion-list-mode-finish):
9031 Don't use toggle-read-only. (Since completion-list-mode has
9032 a special mode-class, it wasn't doing anything extra anyway.)
9034 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9036 Make inlining of other-mode interpreted functions work (bug#11799).
9037 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
9038 (byte-compile): Use it to fix compilation of lexical-binding closures.
9039 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
9040 function, if needed.
9042 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9044 * help-mode.el (help-make-xrefs): Don't just withstand
9045 cyclic-variable-indirection but any error in documentation-property.
9047 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9049 * bindings.el (bindings--define-key): New function.
9050 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9051 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9052 * bindings.el: Use it to purecopy define-key bindings.
9054 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9056 * emacs-lisp/cl.el (flet): Mark obsolete.
9057 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9058 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9059 * progmodes/js.el (js-c-fill-paragraph):
9060 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9061 (ebrowse-switch-member-buffer-to-derived-class):
9062 * play/5x5.el (5x5-solver): Use cl-flet.
9064 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9065 (cl--symbol-function): New macro.
9066 (cl--letf, cl--letf*): Use it.
9068 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9069 Strip "toggle-" if any.
9071 2012-06-27 Glenn Morris <rgm@gnu.org>
9073 * info.el (Info-default-directory-list): Move here from paths.el.
9074 * paths.el: Remove file, which is now empty.
9075 * loadup.el: No longer load "paths".
9077 * custom.el (custom-initialize-delay): Doc fix.
9079 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9080 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9081 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9082 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9083 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9084 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9085 * eshell/eshell.el (eshell-defgroup): Remove alias.
9087 2012-06-27 Chong Yidong <cyd@gnu.org>
9089 * help.el (help-enable-auto-load): New variable.
9091 * help-fns.el (help-fns--autoloaded-p): New function.
9092 (describe-function-1): Refer to a function as "autoloaded" if it
9093 was autoloaded at any time in the past. Perform autoloading if
9094 help-enable-auto-load is non-nil.
9096 2012-06-26 Eli Zaretskii <eliz@gnu.org>
9098 * makefile.w32-in (compile, compile-always): Depend on
9099 update-subdirs, not on subdirs.el. Otherwise, several different
9100 sub-targets of 'bootstrap' running in parallel could
9101 simultaneously write to subdirs.el, producing a garbled file.
9103 2012-06-26 Sam Steingold <sds@gnu.org>
9105 * files.el (file-name-base): New convenience function.
9106 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9107 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9108 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9109 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9110 * textmodes/ispell.el, textmodes/reftex-ref.el:
9111 * textmodes/tex-mode.el: Use it.
9112 Did not touch cedet and org because they are maintained elsewhere.
9114 2012-06-26 Martin Rudalics <rudalics@gmx.at>
9116 * calendar/calendar.el (calendar-exit): Don't try to delete or
9117 iconify last frame. See:
9118 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9120 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9122 * server.el (server-process-filter): Remember dir in the
9123 process's `server-client-directory' properties.
9125 2012-06-24 Chong Yidong <cyd@gnu.org>
9127 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9130 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
9132 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9134 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9136 * help-fns.el (describe-variable): Don't croak when doc is not found.
9137 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9138 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9139 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9140 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9141 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9143 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9145 2012-06-23 Chong Yidong <cyd@gnu.org>
9147 * info.el (Info-mouse-follow-link): Accept symbol values of
9148 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9149 (Info-fontify-node): Use Info-link-keymap for all navigation
9150 buttons, with link-args property to perform the desired action.
9151 (Info-link-keymap): Doc fix.
9152 (Info-next-link-keymap, Info-prev-link-keymap)
9153 (Info-up-link-keymap): Delete now-unused keymaps.
9155 2012-06-23 Chong Yidong <cyd@gnu.org>
9157 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9159 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9162 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9164 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9166 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9169 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9170 the requote function doesn't work properly (bug#11714).
9172 2012-06-23 Glenn Morris <rgm@gnu.org>
9174 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9176 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9178 Further GV/CL cleanups.
9179 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9181 (gv--defun-declaration): New function.
9182 (defun-declarations-alist): Use it.
9183 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9184 (gv-place): Autoload.
9185 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9186 original definition of dotimes and dolist.
9187 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9188 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9189 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9190 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9191 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9192 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9193 to the function's definition.
9194 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9198 * env.el: Don't use CL.
9200 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9202 Support higher-resolution time stamps (Bug#9000).
9204 * calendar/time-date.el (with-decoded-time-value): New arg
9205 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9206 (encode-time-value): New optional arg PICO. New type 3.
9207 (time-to-seconds) [!float-time]: Support the new picoseconds
9208 component if it's used.
9209 (seconds-to-time, time-subtract, time-add):
9210 Support ps-resolution time stamps as well.
9212 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9213 (timerp): Timer vectors now have length 9, not 8.
9214 (timer--time): Support new-style (4-part) time stamps.
9215 (timer-next-integral-multiple-of-time): Time stamps now have
9216 picosecond resolution, so take a bit more care about rounding.
9217 (timer-relative-time, timer-inc-time): New optional arg psecs.
9218 (timer-set-time-with-usecs): Set psecs to 0.
9219 (timer--activate): Check psecs component, too.
9221 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9223 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9226 Move the non-essential binding to the post/pre-command-hook where it is
9227 more obviously correct.
9229 * subr.el (read-passwd): Don't use a history at all.
9230 * savehist.el (savehist-save): Remove password saved accidentally
9231 because of the above bug.
9233 2012-06-22 Bastien Guerry <bzg@gnu.org>
9235 * files.el (toggle-read-only): Display a message telling whether
9236 the buffer is read-only or not (bug#11726).
9238 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9240 * emacs-lisp/gv.el: New file.
9241 * subr.el (push, pop): Extend to generalized variables.
9242 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9243 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9244 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9245 gv-define-simple-setter, and gv-define-expander.
9246 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9247 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9248 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9249 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9250 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9252 (cl-defstruct): Don't define setf-method any more.
9253 * emacs-lisp/cl.el (flet): Don't autoload.
9254 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9255 (define-setf-expander, defsetf, define-modify-macro)
9256 (cl-struct-setf-expander): Move from cl-lib.el.
9257 * emacs-lisp/syntax.el:
9258 * emacs-lisp/ewoc.el:
9259 * emacs-lisp/smie.el:
9260 * emacs-lisp/cconv.el:
9261 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9262 (timer--time): Use gv-define-simple-setter.
9263 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9264 to avoid coding-system problems in subr.el. Adjust all users.
9265 (macroexp--maxsize, macroexp-small-p): New functions.
9266 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9267 * scroll-bar.el (scroll-bar-mode):
9268 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9269 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9270 * winner.el (winner-configuration, winner-make-point-alist)
9271 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9272 * files.el (locate-file-completion-table): Avoid list*.
9274 2012-06-22 Chong Yidong <cyd@gnu.org>
9276 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9277 (dired-create-files): Doc fix (Bug#11329).
9278 (dired-do-copy): Doc fix (Bug#11334).
9279 (dired-mark-read-string): Doc fix (Bug#11553).
9281 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9282 Doc fix (Bug#11326).
9283 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9284 (dired-dwim-target): Doc fix.
9286 * wdired.el (wdired-mode): Doc fix.
9288 2012-06-22 Glenn Morris <rgm@gnu.org>
9290 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9291 (pcmpl-rpm-cache-stamp-file): New constant.
9292 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9293 (pcmpl-rpm-packages): Optionally cache list of packages.
9295 * pcmpl-rpm.el (pcmpl-rpm): New group.
9296 (pcmpl-rpm-query-options): New option.
9297 (pcmpl-rpm-packages): No need to inline it.
9298 Use pcmpl-rpm-query-options.
9300 * calendar/calendar.el (calendar-in-read-only-buffer):
9301 Avoid some needless mode changes.
9303 2012-06-21 Chong Yidong <cyd@gnu.org>
9305 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9306 (desktop-path): Remove . from the default value (Bug#10977).
9307 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9309 2012-06-20 Chong Yidong <cyd@gnu.org>
9311 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9313 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9315 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9318 2012-06-20 Chong Yidong <cyd@gnu.org>
9320 * term.el (term-window-width): Handle the case of a missing right
9322 (term-check-size): Use window-text-height (Bug#5445).
9323 (term-mode): Use define-derived-mode. Minor cleanups.
9324 Set font-lock-defaults (Bug#7692).
9325 (term-move-columns, term-insert-char, term-emulate-terminal)
9326 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9328 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9330 * net/ange-ftp.el (ange-ftp-get-passwd):
9331 Bind `enable-recursive-minibuffers'.
9332 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9334 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9336 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9338 2012-06-19 Glenn Morris <rgm@gnu.org>
9340 * progmodes/python.el (python-mode): Derive from prog-mode.
9342 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9344 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9345 (edt-user-menu-bar-update-buffers): New functions.
9346 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9348 2012-06-19 Chong Yidong <cyd@gnu.org>
9350 * subr.el (with-selected-window): Preserve the selected window's
9351 terminal's top-frame (Bug#4702).
9353 * window.el (save-selected-window): Likewise.
9355 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * progmodes/python.el (python-rx-constituents): Move backquote.
9358 (python-skeleton-define, python-define-auxiliary-skeleton):
9361 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9363 * minibuffer.el (read-file-name-default): Revert the patch from
9366 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9368 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9369 (pcase--u1, pcase--q1): Don't use apply-partially.
9371 2012-06-18 Glenn Morris <rgm@gnu.org>
9373 * progmodes/python.el (python-proc, python-buffer)
9374 (python-send-receive, python-send-string): Fix obsolete versions.
9376 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9378 * window.el (special-display-p): Completely remove stringp
9379 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9381 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9383 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9385 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9387 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9388 * net/tramp-sh.el (tramp-maybe-open-connection):
9389 Throw if `non-essential' is non-nil.
9391 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9393 * window.el (special-display-p): Signal an error if BUFFER-NAME
9394 is not a string (Bug#11713).
9396 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9398 * progmodes/python.el (python-info-beginning-of-backslash):
9399 Rename from python-info-beginning-of-backlash, as a spelling fix.
9401 2012-06-17 Chong Yidong <cyd@gnu.org>
9403 * term.el (term-emulate-terminal): If term-check-size is called,
9404 move point to the process mark without resetting point (Bug#4635).
9406 2012-06-17 Glenn Morris <rgm@gnu.org>
9408 * international/mule-cmds.el (mule-menu-keymap)
9409 (set-language-environment, set-locale-environment): Doc tweaks.
9411 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9413 * cus-face.el (custom-face-attributes): Add wave-style underline
9415 * faces.el (set-face-attribute): Update docstring to describe
9416 wave-style underline attribute.
9418 2012-06-16 Chong Yidong <cyd@gnu.org>
9420 * term/xterm.el (terminal-init-xterm): Discard input before
9421 querying background mode (Bug#10959).
9423 2012-06-16 Stefan Merten <smerten@oekonux.de>
9425 * textmodes/rst.el: Added and corrected some comments.
9426 (rst-re-alist-def): Improve symbol syntax.
9427 (rst-mode-syntax-table): Correct syntax entries.
9428 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9429 (rst-official-version, rst-official-cvs-rev): Update version
9432 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9434 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9435 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9437 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9439 * progmodes/python.el: New python.el merge.
9440 (python-guess-indent): Obsolete var.
9441 (python-indent-guess-indent-offset): New defcustom.
9442 (python-indent): Obsolete var.
9443 (python-indent-offset): New defcustom.
9444 (python-python-command, python-jython-command): Delete var.
9445 (python-shell-interpreter): New defcustom.
9446 (python-pdbtrack-do-tracking-p): Delete var.
9447 (python-pdbtrack-activate): New defcustom.
9448 (python-use-skeletons): Obsolete var.
9449 (python-skeleton-autoinsert): New defcustom.
9450 (inferior-python-filter-regexp, python-continuation-offset)
9451 (python-honour-comment-indentation, python-indent-string-contents)
9452 (python-jython-packages, python-mode-hook)
9453 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9454 (python-shell-prompt-alist)
9455 (python-source-modes): Delete defcustoms.
9456 (python-check-buffer-name, python-eldoc-setup-code)
9457 (python-eldoc-string-code, python-ffap-setup-code)
9458 (python-ffap-string-code, python-fill-comment-function)
9459 (python-fill-decorator-function, python-fill-paren-function)
9460 (python-fill-string-function, python-imenu-include-defun-type)
9461 (python-imenu-make-tree, python-imenu-subtree-root-label)
9462 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9463 (python-shell-compilation-regexp-alist)
9464 (python-shell-completion-module-string-code)
9465 (python-shell-completion-pdb-string-code)
9466 (python-shell-completion-setup-code)
9467 (python-shell-completion-string-code)
9468 (python-shell-enable-font-lock, python-shell-exec-path)
9469 (python-shell-extra-pythonpaths)
9470 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9471 (python-shell-process-environment)
9472 (python-shell-prompt-block-regexp)
9473 (python-shell-prompt-output-regexp)
9474 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9475 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9476 (python-shell-virtualenv-path): New defcustoms.
9477 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9478 (inferior-python-mode-syntax-table, python--prompt-regexp)
9479 (python-buffer, python-command python-python-command)
9480 (python-default-template, python-imports, python-indent-index)
9481 (python-indent-list, python-indent-list-length)
9482 (python-mode-running, python-pdbtrack-is-tracking-p)
9483 (python-preoutput-continuation, python-preoutput-leftover)
9484 (python-preoutput-result, python-preoutput-skip-next-prompt)
9485 (python-prev-dir/file, python-recursing)
9486 (python-saved-check-command, python-version-checked)
9487 (python-which-func-length-limit)
9488 (view-return-to-alist): Delete vars.
9489 (python-check-custom-command, python-dotty-syntax-table)
9490 (python-imenu-index-alist, python-indent-current-level)
9491 (python-indent-dedenters, python-indent-levels)
9492 (python-nav-beginning-of-defun-regexp)
9493 (python-nav-list-defun-positions-cache)
9494 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9495 (python-shell-internal-buffer)
9496 (python-skeleton-available): New vars.
9497 (def-python-skeleton): Delete macro.
9498 (python-skeleton-define): New macro.
9499 (python-define-auxiliary-skeleton, python-rx): New macros.
9500 (python-insert-class): Delete command.
9501 (python-skeleton-class): New command.
9502 (python-insert-def): Delete command.
9503 (python-skeleton-def): New command.
9504 (python-insert-for): Delete command.
9505 (python-skeleton-for): New command.
9506 (python-insert-if): Delete command.
9507 (python-skeleton-if): New command.
9508 (python-insert-try/except, python-insert-try/finally): Delete commands.
9509 (python-skeleton-try): New command.
9510 (python-insert-while): Delete command.
9511 (python-skeleton-while): New command.
9512 (python-backspace): Delete command.
9513 (python-indent-dedent-line-backspace): New command.
9514 (python-electric-colon): Delete command.
9515 (python-indent-electric-colon): New command.
9516 (python-guess-indent): Delete command.
9517 (python-indent-guess-indent-offset): New command.
9518 (python-shift-left): Delete command.
9519 (python-indent-shift-left): New command.
9520 (python-shift-right): Delete command.
9521 (python-indent-shift-right): New command.
9522 (python-find-function): Delete command.
9523 (python-nav-jump-to-defun): New command.
9524 (python-next-statement): Delete command.
9525 (python-nav-forward-sentence): New command.
9526 (python-previous-statement): Delete command.
9527 (python-nav-backward-sentence): New command.
9528 (python-fill-paragraph): Delete command.
9529 (python-fill-paragraph-function): New command.
9530 (python-send-buffer): Delete command.
9531 (python-shell-send-buffer): New command.
9532 (python-send-defun): Delete command.
9533 (python-shell-send-defun): New command.
9534 (python-send-region, python-send-region-and-go): Delete commands.
9535 (python-shell-send-region)
9536 (python-shell-switch-to-shell): New commands.
9537 (python-send-string): Delete command.
9538 (python-shell-send-string): New command.
9539 (python-switch-to-python): Delete command.
9540 (python-shell-switch-to-shell): New command.
9541 (python-describe-symbol): Delete command.
9542 (python-eldoc-at-point): New command.
9543 (python--set-prompt-regexp, python-args-to-list)
9544 (python-after-info-look, python-check-version)
9545 (python-check-comint-prompt, python-find-imports)
9546 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9547 (python-unload-function, python-expand-template)
9548 (python-maybe-jython, python-preoutput-filter)
9549 (python-pdbtrack-get-source-buffer)
9550 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9551 (python-pdbtrack-toggle-stack-tracking)
9552 (python-pdbtrack-track-stack-file, python-initial-text)
9553 (python-first-word, python-comment-line-p, python-send-command)
9554 (python-setup-brm, python-sentinel, python-set-proc)
9555 (python-skip-out, python-input-filter, python-outdent-p)
9556 (python-outline-level, python-backslash-continuation-line-p)
9557 (python-end-of-block, python-end-of-statement, python-mark-block)
9558 (python-beginning-of-block, python-beginning-of-statement)
9559 (python-blank-line-p, python-beginning-of-string)
9560 (python-open-block-statement-p): Delete functions.
9561 (python-indent-line, python-indent-line-1): Delete functions.
9562 (python-indent-line): New function.
9563 (python-indentation-levels): Delete function.
9564 (python-indent-calculate-levels): New function.
9565 (python-proc): Delete function.
9566 (python-shell-get-process): New function.
9567 (python-send-receive): Delete function.
9568 (python-shell-send-string-no-output): New function.
9569 (python-module-path): Delete function.
9570 (python-ffap-module-path): New function.
9571 (python-completion-at-point)
9572 (python-symbol-completions): Delete functions.
9573 (python-completion-complete-at-point): New function.
9574 (python-load-file): Delete function.
9575 (python-shell-send-file): New function.
9576 (python-calculate-indentation): Delete function.
9577 (python-indent-calculate-indentation): New function.
9578 (python-skip-comments/blanks): Delete function.
9579 (python-util-forward-comment): New function.
9580 (python-continuation-line-p): Delete function.
9581 (python-info-continuation-line-p): New function.
9582 (python-which-func, python-current-defun): Delete function.
9583 (python-info-current-defun): New function.
9584 (python-beginning-of-defun): Delete function.
9585 (python-nav-beginning-of-defun): New function.
9586 (python-close-block-statement-p)
9587 (python-block-end-p): Delete function.
9588 (python-info-closing-block): New function.
9589 (python-comint-output-filter-function)
9590 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9591 (python-fill-comment, python-fill-decorator, python-fill-paren)
9592 (python-fill-string, python-imenu-make-element-tree)
9593 (python-imenu-make-tree, python-imenu-tree-assoc)
9594 (python-indent-context, python-indent-dedent-line)
9595 (python-indent-line-function)
9596 (python-indent-post-self-insert-function)
9597 (python-indent-toggle-levels)
9598 (python-info-assignment-continuation-line-p)
9599 (python-info-beginning-of-backlash)
9600 (python-info-block-continuation-line-p)
9601 (python-info-closing-block-message)
9602 (python-info-line-ends-backslash-p)
9603 (python-info-looking-at-beginning-of-defun)
9604 (python-info-ppss-context, python-info-ppss-context-type)
9605 (python-nav-list-defun-positions, python-nav-read-defun)
9606 (python-nav-sentence-end, python-nav-sentence-start)
9607 (python-pdbtrack-comint-output-filter-function)
9608 (python-pdbtrack-set-tracked-buffer)
9609 (python-shell-calculate-exec-path)
9610 (python-shell-calculate-process-environment)
9611 (python-shell-completion--do-completion-at-point)
9612 (python-shell-completion--get-completions)
9613 (python-shell-completion-complete-at-point)
9614 (python-shell-completion-complete-or-indent)
9615 (python-shell-get-or-create-process)
9616 (python-shell-get-process-name)
9617 (python-shell-internal-get-or-create-process)
9618 (python-shell-internal-get-process-name)
9619 (python-shell-internal-send-string, python-shell-make-comint)
9620 (python-shell-parse-command, python-shell-send-setup-code)
9621 (python-skeleton-add-menu-items)
9622 (python-util-clone-local-variables, python-util-position)
9623 (run-python-internal, python-indentation-levels)
9624 (python-nav-beginning-of-defun)
9625 (python-completion-complete-at-point): New functions.
9626 (run-python): Change arguments. New API requirements.
9628 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9630 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9633 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9634 (macroexp--expand-all): Use it.
9636 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9637 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9638 Use `cl-function' instead.
9640 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9642 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9643 Suggested by Stefan Monnier while discussing bug#11657.
9645 2012-06-14 Sam Steingold <sds@gnu.org>
9647 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9649 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9651 * play/doctor.el (doctor-doc): Remove parameter and use
9652 doctor-sent instead of sent.
9653 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9655 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9657 * files.el: Require cl-lib.
9658 (file-name-non-special): Replace case -> cl-case.
9660 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9662 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9663 mapping from #' to function*.
9665 2012-06-13 Chong Yidong <cyd@gnu.org>
9667 * mouse.el (mouse-drag-track): Do not set the mark if the user
9668 releases the mouse without selecting anything (Bug#11588).
9670 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9672 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9673 as well (bug#11646).
9675 * loadup.el: Count byte-code functions as well.
9677 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9678 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9680 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9681 (bug#11649). Add cl-defun and cl-defmacro.
9683 2012-06-13 Drew Adams <drew.adams@oracle.com>
9685 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9688 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9690 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9691 Otherwise, it blocks in batch mode.
9693 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9695 * help-mode.el (bookmark-make-record-default): Declare.
9697 2012-06-13 Chong Yidong <cyd@gnu.org>
9699 * emacs-lisp/package.el (list-packages): Compute a list of
9700 packages that are newly-available since the last list-packages
9702 (package-menu--new-package-list): New var.
9703 (package-menu--generate, package-menu--print-info)
9704 (package-menu--status-predicate, package-menu-mark-install):
9705 Handle new status label "new".
9707 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9709 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9710 conversion to backquotes.
9712 2012-06-12 Chong Yidong <cyd@gnu.org>
9714 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9715 Rename from gud-inhibit-global-bindings.
9717 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9719 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9720 hook from nxml-glyph-set-hook.
9722 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9725 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9727 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9728 Convert to defcustom.
9730 2012-06-12 Drew Adams <drew.adams@oracle.com>
9732 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9734 (help-mode): Use them.
9736 2012-06-11 Glenn Morris <rgm@gnu.org>
9738 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9739 Use preprocessor face for directives.
9740 (fortran-directive-re): Doc fix.
9742 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9744 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9745 conversion to backquotes (bug#11652).
9747 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9748 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9749 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9750 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9751 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9752 (cl-ninth, cl-tenth): Mark them as inlinable.
9753 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9754 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9755 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9756 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9757 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9758 (cl-list*, cl-adjoin): Don't put an autoload manually.
9759 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9760 (cl--compiler-macro-list*): Add autoload cookie.
9761 (cl--compiler-macro-cXXr): New function.
9763 * help-fns.el (help-fns--compiler-macro): New function extracted from
9764 describe-function-1; follow aliases and use `compiler-macro' property.
9765 (describe-function-1): Use it.
9767 2012-06-11 Chong Yidong <cyd@gnu.org>
9769 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9770 is uninstalled, if imagemagick is installed.
9772 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9774 * emacs-lisp/cl-lib.el: Use lexical-binding.
9775 (cl-map-extents, cl-maclisp-member): Remove.
9776 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9777 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9778 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9779 * emacs-lisp/cl-extra.el: Use lexical-binding.
9780 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9781 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9782 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9783 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9784 * emacs-lisp/cl-seq.el: Use lexical-binding.
9785 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9786 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9787 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9788 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9789 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9792 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9794 Sync with Tramp 2.2.6-pre.
9796 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9797 `print-length' and `print-level' to nil, in order to avoid
9798 truncation. Reported by Christopher Schmidt
9799 <christopher@ristopher.com>.
9801 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9803 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9805 (tramp-compat-copy-directory): Add optional argument
9806 COPY-CONTENTS. It is not handled yet.
9808 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9809 (tramp-ftp-file-name-p): Simplify.
9811 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9812 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9815 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9816 (tramp-methods): Do not use `tramp-password-end-of-line'.
9817 (tramp-completion-function-alist-putty): Handle UNIX case.
9818 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9819 (tramp-do-file-attributes-with-stat)
9820 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9821 gid as real numbers. They could run out of integer range on cygwin.
9822 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9823 (tramp-sh-handle-expand-file-name): Handle hops.
9824 (tramp-open-connection-setup-interactive-shell):
9825 Use `tramp-cleanup'. Move check for busyboxes ...
9826 (tramp-find-shell): ... here. Simplify implementation.
9827 Set "remote-shell" property also for alternative shells.
9828 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9829 If failing, a regular file would be written otherwise.
9830 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9831 (tramp-find-inline-encoding): Cache the coding commands in the
9832 process cache. Apply test command on the remote side, if defined.
9833 (tramp-find-inline-compress): Cache the compress commands in the
9835 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9836 when requested. Handle hops.
9837 (tramp-current-connection): New defvar.
9838 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9839 Throw `suppress', if there was a failed connection shortly before.
9840 Handle user interrupt. (Bug#10187)
9841 (tramp-get-inline-compress, tramp-get-inline-coding):
9842 Read connection properties from the process cache.
9844 * net/tramp-smb.el (tramp-smb-server-version)
9845 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9847 (tramp-smb-prompt): Extend for powershell prompt.
9848 (tramp-smb-file-name-handler-alist): Add handlers for
9849 `process-file', `shell-command' and `start-file-process'.
9850 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9851 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9852 (tramp-smb-file-name-p): Simplify.
9853 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9854 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9855 (tramp-smb-shell-quote-argument): New defuns.
9856 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9857 Implement using "tar". By this, time-stamps are preserved.
9858 (tramp-smb-handle-copy-file): Handle also the case of directories.
9859 (tramp-smb-do-file-attributes-with-stat)
9860 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9861 Use `tramp-get-connection-buffer').
9862 (tramp-smb-handle-rename-file): Use "rename", when source and
9863 target are on the same share.
9864 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9865 Use `tramp-smb-server-version'.
9866 (tramp-smb-wait-for-output): Remove prompt.
9868 * net/tramp.el (top): Require 'cl.
9869 (tramp-methods, tramp-rsh-end-of-line):
9870 Remove `tramp-password-end-of-line' from docstring.
9871 (tramp-save-ad-hoc-proxies): New defcustom.
9872 (tramp-completion-function-alist): Adapt docstring.
9873 (tramp-default-password-end-of-line): Remove defcustom.
9874 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9875 (tramp-user-regexp, tramp-file-name-regexp-unified)
9876 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9877 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9878 (tramp-remote-file-name-spec-regexp): New defconst.
9879 (tramp-file-name-structure): Extend structure for hops.
9880 (tramp-get-method-parameter): Move up.
9881 (tramp-file-name-p, tramp-dissect-file-name)
9882 (with-parsed-tramp-file-name): Handle hops.
9883 (tramp-file-name-hop): New defun.
9884 (tramp-make-tramp-file-name): New optional arg HOP.
9885 (tramp-message-show-progress-reporter-message): New defvar.
9886 (tramp-with-progress-reporter): Use it. We cannot use
9887 `tramp-message-show-message' here, because this suppresses also
9889 (tramp-error-with-buffer): Suppress buffer view, if
9890 `tramp-message-show-message' is nil.
9891 Use `tramp-get-connection-buffer'.
9892 (tramp-cleanup): New defun.
9893 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9894 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9896 (tramp-completion-handle-file-name-all-completions): Handle hops.
9897 Fix an error when called from ido.
9898 (tramp-completion-dissect-file-name): Use better local variable
9899 name. Add hop to the vector.
9900 (tramp-handle-insert-file-contents): Use progress-reporter for the
9902 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9904 (tramp-check-for-regexp): Simplify search.
9905 (tramp-enter-password): Remove it. Move implementation ...
9906 (tramp-action-password): ... here.
9907 (tramp-mode-string-to-int, tramp-local-host-p)
9908 (tramp-make-tramp-temp-file, tramp-read-passwd)
9909 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9910 Set tramp-autoload cookie.
9912 * net/trampver.el: Update release number.
9914 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9915 Michael Albinus <michael.albinus@gmx.de>
9917 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9918 (tramp-parse-group, tramp-parse-file)
9919 (tramp-parse-shostkeys-sknownhosts): New defuns.
9920 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9921 (tramp-parse-shosts-group, tramp-parse-sconfig)
9922 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9923 (tramp-parse-sknownhosts, tramp-parse-hosts)
9924 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9926 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9927 (tramp-parse-putty-group): Don't narrow.
9928 (tramp-parse-putty): Make a loop.
9929 (tramp-file-name-handler): Catch the `suppress' signal.
9931 2012-06-11 Chong Yidong <cyd@gnu.org>
9933 * image.el (imagemagick-register-types): Put the ImageMagick entry
9934 at the end of image-type-file-name-regexps.
9936 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9938 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9939 (pcase, pcase-let*, pcase-dolist): Use them.
9941 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9943 * emacs-lisp/pcase.el (pcase--let*): New function.
9944 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9945 (pcase--expand): Use macroexp-let².
9947 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9949 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9950 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9951 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9952 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9953 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9954 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9956 2012-06-10 Glenn Morris <rgm@gnu.org>
9958 * mail/rmail.el (rmail-yank-current-message): Leave point at
9959 correct position. (Bug#11660)
9961 2012-06-10 Chong Yidong <cyd@gnu.org>
9963 * allout-widgets.el: Fix code header.
9965 2012-06-10 Chong Yidong <cyd@gnu.org>
9967 * cus-edit.el (customize-changed-options-previous-release):
9970 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9972 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9974 2012-06-09 Chong Yidong <cyd@gnu.org>
9976 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9978 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9980 * window.el (special-display-popup-frame): Don't use
9981 window--display-buffer (Bug#11651).
9983 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9985 Fix parallel builds: make sure loaddefs.el is not being written
9986 while Lisp files are compiled.
9987 (compile): Don't depend on 'mh-autoloads'.
9988 (compile-CMD, compile-SH): Depend on 'autoloads'.
9989 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9991 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9993 2012-06-09 Chong Yidong <cyd@gnu.org>
9995 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9996 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9997 Doc fixes (Bug#11225).
9999 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
10002 a function if there's a clear indication that it has a compiler-macro.
10003 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
10004 (macro-declarations-alist): Add arglist to declaration functions.
10005 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
10006 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
10007 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
10008 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
10009 Also add autoload to find the compiler macro.
10010 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
10011 (cl--compiler-macro-member, cl--compiler-macro-assoc)
10012 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
10013 (cl--compiler-macro-get): New functions, replacing calls to
10014 cl-define-compiler-macro.
10015 (cl-typep) [compiler-macro]: Use macroexp-let².
10017 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
10019 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
10020 string properly, fixes Bug#11473.
10022 2012-06-08 Chong Yidong <cyd@gnu.org>
10024 * faces.el (set-face-attribute): Doc fix.
10025 (modify-face): Don't use :bold and :italic.
10026 (error, warning, success): Tweak definitions.
10028 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
10029 (custom-modified, custom-set, custom-changed, custom-themed)
10030 (custom-saved, custom-button, custom-button-mouse)
10031 (custom-button-pressed, custom-state, custom-comment-tag)
10032 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
10033 (custom-group-subtitle): Use new-style face specs.
10034 (custom-invalid-face, custom-rogue-face, custom-modified-face)
10035 (custom-set-face, custom-changed-face, custom-saved-face)
10036 (custom-button-face, custom-button-pressed-face)
10037 (custom-documentation-face, custom-state-face)
10038 (custom-comment-face, custom-comment-tag-face)
10039 (custom-variable-tag-face, custom-variable-button-face)
10040 (custom-face-tag-face, custom-group-tag-face-1)
10041 (custom-group-tag-face): Remove obsolete face alias.
10043 * epa.el (epa-validity-high, epa-validity-medium)
10044 (epa-validity-low, epa-mark, epa-field-name, epa-string)
10045 (epa-field-name, epa-field-body):
10046 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10047 (font-lock-keyword-face, font-lock-builtin-face)
10048 (font-lock-function-name-face, font-lock-variable-name-face)
10049 (font-lock-type-face, font-lock-constant-face):
10050 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10051 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10052 * speedbar.el (speedbar-button-face, speedbar-file-face)
10053 (speedbar-directory-face, speedbar-tag-face)
10054 (speedbar-selected-face, speedbar-highlight-face)
10055 (speedbar-separator-face):
10056 * whitespace.el (whitespace-newline, whitespace-space)
10057 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10058 (whitespace-line, whitespace-space-before-tab)
10059 (whitespace-space-after-tab, whitespace-indentation)
10060 (whitespace-empty):
10061 * emulation/cua-base.el (cua-global-mark):
10062 * eshell/em-prompt.el (eshell-prompt):
10063 * net/newst-plainview.el (newsticker-new-item-face)
10064 (newsticker-old-item-face, newsticker-immortal-item-face)
10065 (newsticker-obsolete-item-face, newsticker-date-face)
10066 (newsticker-statistics-face, newsticker-default-face):
10067 * net/newst-reader.el (newsticker-feed-face)
10068 (newsticker-extra-face, newsticker-enclosure-face):
10069 * net/newst-treeview.el (newsticker-treeview-face)
10070 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10071 (newsticker-treeview-immortal-face)
10072 (newsticker-treeview-obsolete-face)
10073 (newsticker-treeview-selection-face):
10074 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10075 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10076 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10077 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10078 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10079 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10080 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10082 * progmodes/vera-mode.el (vera-font-lock-number)
10083 (vera-font-lock-function, vera-font-lock-interface):
10084 * textmodes/table.el (table-cell): Use new-style face specs, and
10085 don't use the old :bold and :italic attributes.
10087 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10088 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10089 (ebrowse-member-class, ebrowse-progress): Likewise.
10090 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10091 (ebrowse-file-name-face, ebrowse-default-face)
10092 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10093 (ebrowse-progress-face): Remove obsolete faces.
10095 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10096 Inherit from error and warning faces respectively.
10098 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10100 (flyspell-incorrect-face, flyspell-duplicate-face):
10101 Remove obsolete aliases.
10103 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
10105 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10108 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * startup.el (argv, argi): Make lexically scoped.
10111 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10112 * emacs-lisp/cl-macs.el: Use lexical-binding.
10113 Rename cl-bind-* to cl--bind-*.
10114 * files.el: Don't require `cl' since it doesn't use it.
10115 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10117 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
10119 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10120 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10121 instead of calling external sort utility.
10122 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10124 2012-06-08 Eli Zaretskii <eliz@gnu.org>
10126 * descr-text.el (describe-char): Mention how to insert the
10127 character, if the current input method doesn't support it.
10128 See the discussion in this thread for the details:
10129 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10131 2012-06-08 Sam Steingold <sds@gnu.org>
10133 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10134 XF86Back to previous-buffer.
10135 (minibuffer-local-map): Bind them to next-history-element and
10136 previous-history-element respectively.
10137 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10138 help-go-back respectively.
10139 * info.el (Info-mode-map): Bind them to Info-history-forward and
10140 Info-history-back respectively.
10141 These are the keys next to Up on the ThinkPad keyboard.
10143 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10145 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10146 * emacs-lisp/cl-macs.el: Provide itself.
10147 (cl--labels-convert-cache): New var.
10148 (cl--labels-convert): New function.
10149 (cl-flet, cl-labels): New implementation with new semantics, relying on
10151 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10152 (cl-closure-vars, cl--function-convert-cache)
10153 (cl--function-convert): Move from cl-macs.el.
10154 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10155 rename by removing the "cl-" prefix.
10156 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10158 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10160 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10161 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10162 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10163 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10164 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10165 (cl-hash-table-count): Add old compatibility aliases.
10167 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10168 Use macroexpand-all-environment instead.
10169 (cl--old-macroexpand): New var.
10170 (cl--sm-macroexpand): New function.
10171 (cl-symbol-macrolet): Use it during macro expansion.
10172 (cl--function-convert-cache): New var.
10173 (cl--function-convert): New function, extracted from
10174 cl-macroexpand-all.
10175 (cl-lexical-let): Use it.
10177 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10178 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10179 (cl-member): Remove old alias.
10181 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10182 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10183 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10184 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10185 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10186 (cl-macroexpand-cmacs): Remove var.
10187 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10188 Use macroexpand-all instead.
10190 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10192 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10193 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10194 (macroexp-copyable-p): New functions and macros.
10195 * emacs-lisp/edebug.el (edebug-unwrap):
10196 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10197 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10198 (pcase--let*): Remove.
10199 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10200 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10201 macroexp-const-p instead.
10202 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10204 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10205 instead of "cl-" for internal definitions. Use macroexp-const-p.
10206 (cl-old-bc-file-form): Remove var.
10207 (cl-const-exprs-p): Remove fun.
10208 (cl-labels, cl-macrolet): Use backquote.
10209 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10210 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10211 (cl-define-setf-expander): Rename from cl-define-setf-method.
10212 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10214 * international/mule-cmds.el: Don't require CL.
10215 (view-hello-file): Don't use `letf'.
10217 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10219 * tmm.el (tmm-prompt): Use string-prefix-p.
10220 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10221 (tmm-add-prompt): Use minibuffer-completion-help.
10222 (tmm-delete-map): Remove.
10224 * subr.el (kbd): Make it its own function.
10226 2012-06-07 Stefan Merten <smerten@oekonux.de>
10228 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10229 Silence compiler warnings. Fix versions.
10230 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10231 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10232 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10233 (rst-package-emacs-version-alist): Correct Emacs version to
10234 represent major merge with upstream.
10235 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10237 2012-06-06 Glenn Morris <rgm@gnu.org>
10239 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10240 Only print environment variables if set.
10242 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10245 (macroexp--cons): Rename from maybe-cons.
10246 (macroexp--accumulate): Rename from macroexp-accumulate.
10247 (macroexp--all-forms): Rename from macroexpand-all-forms.
10248 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10249 (macroexp--expand-all): Rename from macroexpand-all-1.
10251 2012-06-06 Sam Steingold <sds@gnu.org>
10253 * calendar/calendar.el (calendar-in-read-only-buffer):
10254 Call `special-mode' to enable the standard read-only keybindings.
10256 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10258 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10259 with "loading" messages (bug#11635).
10261 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10263 * files.el (enable-remote-dir-locals): New option.
10264 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10266 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10267 Ensure, that the temp directory is local.
10269 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10270 `temporary-file-directory'.
10272 * progmodes/python.el (python-send-region): Ensure, that the
10273 temporary file is created also in the remote case.
10275 2012-06-06 Glenn Morris <rgm@gnu.org>
10277 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10278 (vc-rcs-update-changelog): Use it.
10280 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10282 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10283 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10284 (vc-sccs-diff): Replace use of the external vcdiff script.
10286 2012-06-05 Glenn Morris <rgm@gnu.org>
10288 * ledit.el: Move to obsolete/.
10290 2012-06-05 Sam Steingold <sds@gnu.org>
10292 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10295 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10297 * emacs-lisp/cust-print.el: Move to obsolete.
10299 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10300 compiler-macro expansion.
10302 Add native compiler-macro support.
10303 * emacs-lisp/macroexp.el (macroexpand-all-1):
10304 Support compiler-macros directly. Properly follow aliases and apply
10305 the compiler macros more thoroughly.
10306 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10307 macroexpand now properly follows aliases.
10308 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10309 (cl-compiler-macroexpand): Use new prop.
10310 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10312 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10314 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10316 * window.el (get-lru-window, get-mru-window, get-largest-window):
10317 New argument NOT-SELECTED to avoid picking the selected window.
10318 (window--display-buffer-1, window--display-buffer-2): Replace by
10319 new function window--display-buffer
10320 (display-buffer-same-window, display-buffer-reuse-window)
10321 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10322 Use window--display-buffer.
10323 (display-buffer-use-some-window): Remove temporary dedication
10324 hack by calling get-lru-window and get-largest-window with
10325 NOT-SELECTED argument non-nil. Call window--display-buffer.
10327 2012-06-05 Glenn Morris <rgm@gnu.org>
10329 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10330 Replace external vcdiff script.
10332 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10336 2012-06-04 Chong Yidong <cyd@gnu.org>
10338 * image.el (imagemagick-types-inhibit): Revert last change.
10340 (imagemagick-enabled-types): Remove CIN and EPS*.
10342 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * emacs-lisp/cl-lib.el: Rename from cl.el.
10345 * emacs-lisp/cl.el: New compatibility file.
10346 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10347 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10348 to obey the "cl-" prefix.
10349 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10351 2012-06-03 Glenn Morris <rgm@gnu.org>
10353 * emacs-lisp/authors.el (authors-aliases): Addition.
10355 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10358 2012-06-03 Stefan Merten <smerten@oekonux.de>
10360 * textmodes/rst.el: Add comments.
10361 (rst-transition, rst-adornment): New faces.
10362 (rst-adornment-faces-alist): Make default safe to reevaluate.
10364 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10365 Improve customization tags.
10366 (rst-define-level-faces): Clarify meaning.
10368 2012-06-03 Chong Yidong <cyd@gnu.org>
10370 * progmodes/compile.el (compilation-mode-line-fail)
10371 (compilation-mode-line-run, compilation-mode-line-exit):
10373 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10375 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10377 * progmodes/which-func.el (which-func-update-ediff-windows):
10378 New function. Use it in ediff-select-hook (Bug#11478).
10380 2012-06-03 Chong Yidong <cyd@gnu.org>
10382 * bindings.el: Remove explicit help text from format-mode-line.
10383 It is now supplied by mode-line-default-help-echo.
10384 (mode-line-front-space, mode-line-end-spaces)
10385 (mode-line-misc-info): New variables.
10386 (mode-line-modes, mode-line-position): Move the default value to
10387 the variable definition.
10388 (mode-line-default-help-echo): New defcustom.
10389 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10390 (mode-line-modified-help-echo): New functions.
10391 (mode-line-mule-info, mode-line-modified): Use them.
10392 (mode-line-eol-desc, propertized-buffer-identification):
10393 Consistency fixes for help text.
10394 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10395 set-buffer-file-coding-system (Bug#289).
10396 (mode-line-mule-info-help-echo): Update help text.
10398 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10400 * simple.el (execute-extended-command): Set real-this-command
10403 2012-06-02 Chong Yidong <cyd@gnu.org>
10405 Remove incorrect uses of "modeline" in comments, docstrings, and
10406 function/variable names (Bug#10329).
10408 * cus-edit.el (mode-line):
10409 * dframe.el (dframe-mouse-hscroll):
10410 * emacs-lisp/re-builder.el:
10411 * emacs-lisp/easy-mmode.el (define-minor-mode):
10412 * frame.el (set-frame-name):
10413 * help.el (lookup-minor-mode-from-indicator):
10414 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10415 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10416 (c-toggle-hungry-state):
10417 * progmodes/antlr-mode.el (antlr-language-alist):
10418 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10419 * progmodes/vhdl-mode.el (vhdl-mode):
10420 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10421 * term/ns-win.el (ns-face-at-pos):
10422 * term/sup-mouse.el (sup-mouse-report):
10423 * textmodes/flyspell.el (flyspell-mode-line-string):
10424 * textmodes/ispell.el (ispell-highlight-face):
10425 * textmodes/reftex-global.el:
10426 * vc/vc-arch.el (vc-arch-mode-line-string):
10427 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10428 * vc/vc-git.el (vc-git-mode-line-string):
10429 * vc/vc-hooks.el (vc-display-status)
10430 (vc-default-mode-line-string):
10431 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10433 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10435 * dired.el (dired-sort-set-mode-line): Rename from
10436 dired-sort-set-modeline. All callers changed.
10438 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10439 eshell-status-in-modeline.
10441 * foldout.el (foldout-mode-line-string): Rename from
10442 foldout-modeline-string. All callers changed.
10443 (foldout-update-mode-line): Rename from foldout-update-modeline.
10445 * subr.el (redraw-modeline): Make into obsolete alias.
10447 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10448 timeclock-modeline-display. Make old name an alias.
10449 (timeclock-update-mode-line): Likewise. All callers changed.
10450 (timeclock-mode-line-display): No need to check before using
10452 (timeclock-relative, timeclock-day-over-hook)
10453 (timeclock-use-elapsed, timeclock-mode-string)
10454 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10456 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10457 crisp-mode-modeline-string.
10459 * play/solitaire.el (solitaire-build-mode-line): Rename from
10460 solitaire-build-modeline. All callers changed.
10462 * play/zone.el (zone-hiding-mode-line): Rename from
10463 zone-hiding-modeline. All callers changed.
10464 (zone): Remove unusued `modeline-hidden-level' property.
10466 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10467 xscheme-modeline-initialize. All callers changed.
10469 * strokes.el (strokes-lighter): Rename from
10470 strokes-modeline-string.
10472 * textmodes/sgml-mode.el (html-face-tag-alist)
10473 (html-tag-face-alist): Use mode-line face instead of obsolete
10476 2012-06-02 Stefan Merten <smerten@oekonux.de>
10478 * textmodes/rst.el: Always require `cl'.
10479 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10481 2012-06-02 Chong Yidong <cyd@gnu.org>
10483 * image.el (imagemagick-enabled-types): Rename from
10484 imagemagick-types-enable. Add many more types.
10485 (imagemagick-types-inhibit): Change default to nil.
10486 (imagemagick-filter-types): Caller changed.
10488 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10490 * emacs-lisp/cl-macs.el: Use backquotes.
10491 (cl-transform-function-property): Use eval-and-compile rather than
10493 (defstruct): Use declare-function instead of with-no-warnings.
10495 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10496 (byte-compile-output-docform): Re-add the print-circle bindings.
10497 (byte-compile-fix-header): Use #$ just because it's shorter.
10498 (byte-compile-output-file-form): Remove defun/defmacro.
10500 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10502 * simple.el (choose-completion): Remove now obsolete binding for
10505 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10507 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10508 in order to avoid "Stack overflow in regexp matcher".
10510 2012-05-31 Glenn Morris <rgm@gnu.org>
10512 * image.el: For clarity, call imagemagick-register-types at
10513 top-level, rather than relying on a custom :initialize.
10514 (imagemagick-types-enable): New option. (Bug#11557)
10515 (imagemagick-filter-types): New function. (Bug#7406)
10516 (imagemagick-register-types): Use imagemagick-filter-types.
10517 If disabling support, remove elements altogether rather
10518 than using an impossible regexp.
10519 (imagemagick-types-inhibit): Give it the default init function.
10521 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10523 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10524 Handle arbitrary file name lengths (Bug#11585).
10526 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10528 * desktop.el (desktop-read): Clear previous and next buffers for
10529 all windows and bury *Messages* buffer (bug#11556).
10531 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10533 Add `declare' for `defun'. Align `defmacro's with it.
10534 * emacs-lisp/easy-mmode.el (define-minor-mode)
10535 (define-globalized-minor-mode): Don't autoload the var definitions.
10536 * emacs-lisp/byte-run.el: Use lexical-binding.
10537 (defun-declarations-alist, macro-declarations-alist): New vars.
10538 (defmacro, defun): Use them.
10539 (make-obsolete, define-obsolete-function-alias)
10540 (make-obsolete-variable, define-obsolete-variable-alias):
10542 (macro-declaration-function): Mark obsolete.
10543 * emacs-lisp/autoload.el: Use lexical-binding.
10544 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10546 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10548 * textmodes/ispell.el (ispell-with-no-warnings):
10550 (ispell-kill-ispell, ispell-change-dictionary):
10551 Use `called-interactively-p' for Emacs instead of obsolete
10554 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10557 (macro-declaration-function): Move var from C code.
10558 (macro-declaration-function): Define function with defalias.
10559 * emacs-lisp/macroexp.el (macroexpand-all-1):
10560 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10561 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10562 defun/defmacro any more.
10563 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10564 Provide fallback for unknown arglist.
10565 (byte-compile-arglist-warn): Change calling convention.
10566 (byte-compile-output-file-form): Move print-vars binding.
10567 (byte-compile-output-docform): Simplify accordingly.
10568 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10569 (byte-compile-defmacro-declaration): Remove.
10570 (byte-compile-file-form-defmumble): Generalize to defalias.
10571 (byte-compile-output-as-comment): Return byte-positions.
10572 Simplify callers accordingly.
10573 (byte-compile-lambda): Use `assert'.
10574 (byte-compile-defun, byte-compile-defmacro): Remove.
10575 (byte-compile-file-form-defalias):
10576 Use byte-compile-file-form-defmumble.
10577 (byte-compile-defalias-warn): Remove.
10579 2012-05-29 Stefan Merten <smerten@oekonux.de>
10581 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10582 possible. Fix authors. Improve comments. Improve loading of `cl'.
10584 (rst-mode-abbrev-table): Merge definition.
10585 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10586 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10588 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10590 * calendar/icalendar.el
10591 (icalendar-export-region): Export UID properly.
10593 2012-05-29 Leo Liu <sdl.web@gmail.com>
10594 * calendar/icalendar.el (icalendar-import-format):
10595 Add `icalendar-import-format-uid' (Bug#11525).
10596 (icalendar-import-format-uid): New.
10597 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10600 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10603 different alternative patterns.
10604 (pcase-codegen): Be more careful to preserve identity.
10605 (pcase--u1): Don't forget to mark vars as used.
10607 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10608 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10609 (byte-compile-from-buffer): ...rather than here.
10611 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10612 functions from byte-compile-function-environment.
10614 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10616 * window.el (window-deletable-p): Avoid deleting the root window
10617 of a frame with an active minibuffer.
10619 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10621 * simple.el (choose-completion): Use quit-window (Bug#11567).
10623 2012-05-29 Chong Yidong <cyd@gnu.org>
10625 * whitespace.el (whitespace-cleanup): Fix usage of
10626 whitespace-empty-at-bob-regexp (Bug#11492).
10628 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10630 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10631 revert (Bug#11488).
10633 2012-05-29 Juri Linkov <juri@jurta.org>
10635 * isearch.el (isearch-mode-map): Bind `M-s _' to
10636 `isearch-toggle-symbol'. Bind `M-s c' to
10637 `isearch-toggle-case-fold'.
10638 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10639 (isearch-forward): Add `M-s _' to the docstring.
10640 (isearch-forward-symbol, isearch-toggle-case-fold)
10641 (isearch-symbol-regexp): New functions. (Bug#11381)
10643 2012-05-29 Juri Linkov <juri@jurta.org>
10645 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10646 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10647 a function, call it to get the regexp.
10648 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10649 property `isearch-message-prefix' instead of the string "word ".
10650 (isearch-search-fun-default): For the case of `isearch-word',
10651 return a lambda that calls re-search-forward/re-search-backward
10652 with a regexp returned by `word-search-regexp' or by the function
10655 2012-05-29 Juri Linkov <juri@jurta.org>
10657 * isearch.el (isearch-search-fun-default): New function.
10658 (isearch-search-fun): Move default part to the new function
10659 `isearch-search-fun-default'.
10660 (isearch-search-fun-function): Set the default value to
10661 `isearch-search-fun-default'. (Bug#11381)
10663 * comint.el (comint-history-isearch-end):
10664 Use `isearch-search-fun-default'.
10665 (comint-history-isearch-search): Use `isearch-search-fun-default'
10666 and remove spacial case for `isearch-word'.
10667 (comint-history-isearch-wrap): Remove spacial case for
10670 * hexl.el (hexl-isearch-search-function):
10671 Use `isearch-search-fun-default'.
10673 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10674 Use `word-search-regexp' for `isearch-word'.
10676 * misearch.el (multi-isearch-search-fun):
10677 Use `isearch-search-fun-default'.
10679 * simple.el (minibuffer-history-isearch-search):
10680 Use `isearch-search-fun-default' and remove spacial case for
10682 (minibuffer-history-isearch-wrap): Remove spacial case for
10685 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10686 Remove spacial case for `isearch-word'.
10687 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10689 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10691 Decrease XEmacs incompatibilities.
10692 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10693 Use `string-match'.
10694 (flyspell-delete-region-overlays): Use alternative definition for
10696 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10697 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10698 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10699 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10700 `define-obsolete-face-alias' under XEmacs, but old method.
10702 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10703 `with-no-warnings' definition or Emacs alias.
10704 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10705 (ispell-word): Do not use `region-p' if XEmacs.
10707 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10709 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10710 Check for `ispell-dictionary-base-alist' instead of full
10711 `ispell-dictionary-alist'.
10712 (ispell-init-process): Show spellchecker when starting new Ispell
10715 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10717 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10718 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10720 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10722 * version.el (motif-version-string, gtk-version-string)
10723 (ns-version-string): Declare.
10725 2012-05-27 Juri Linkov <juri@jurta.org>
10727 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10728 after the `eval-defun-1' specialcaseing
10729 like in `edebug-eval-defun' (bug#10181).
10731 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10732 like in `eval-defun-1'.
10734 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10736 * mail/sendmail.el (mail-yank-region):
10737 Recognize rmail-yank-current-message in addition to insert-buffer.
10738 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10739 a *mail* buffer created through rmail-start-mail with sendmail as
10742 2012-05-27 Chong Yidong <cyd@gnu.org>
10744 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10745 Default to 256 (Bug#11267).
10747 * help.el (describe-mode): Doc fix.
10749 2012-05-26 Glenn Morris <rgm@gnu.org>
10751 * w32-fns.el (w32-init-info): Remove.
10752 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10754 * info.el (info-initialize): For self-contained NS builds, put the
10755 included info/ directory at the front. (Bug#2791)
10757 * paths.el (Info-default-directory-list): Make it a defcustom,
10758 mainly so that we can use custom-initialize-delay.
10760 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10762 * subr.el (buffer-has-markers-at): Mark obsolete.
10764 * subr.el (lambda): Use declare.
10766 * emacs-lisp/lisp-mode.el (lambda):
10767 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10769 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10771 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10773 2012-05-26 Glenn Morris <rgm@gnu.org>
10775 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10777 2012-05-25 Glenn Morris <rgm@gnu.org>
10779 * paths.el: Remove no-byte-compile.
10780 * loadup.el: No need to load paths.el uncompiled.
10782 * image.el (imagemagick-types-inhibit): Doc fix.
10784 * version.el: Remove no-byte-compile and associated formatting.
10785 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10786 is ancient code from when there was an "inc-vers.el".
10788 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10790 * progmodes/gdb-mi.el: Minor style changes.
10791 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10792 Turn into minor modes.
10793 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10794 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10795 (gdb-shell): Remove unneeded let-binding.
10796 (gdb-get-many-fields): Eliminate O(n²) behavior.
10798 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10800 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10801 platforms that don't link in fontset.c.
10803 2012-05-25 Juri Linkov <juri@jurta.org>
10805 Use the same diff color scheme as in modern VCSes (bug#10181).
10807 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10808 to avoid confusion with `diff-added' that now uses green colors.
10809 (diff-removed): Use shades of red.
10810 (diff-added): Use shades of green.
10811 (diff-changed): Leave just the yellow color.
10812 (diff-use-changed-face): New variable.
10813 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10814 how to highlight context diff changes.
10815 (diff-refine-change): Use shades of yellow.
10816 (diff-refine-removed): New face that uses shades of red.
10817 (diff-refine-added): New face that uses shades of green.
10818 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10819 `diff-refine-removed' in the call to `smerge-refine-subst'
10820 depending on the value of `diff-use-changed-face'.
10822 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10823 (smerge-other): Use shades of green.
10824 (smerge-base): Use shades of yellow.
10825 (smerge-refined-change): Empty face.
10826 (smerge-refined-removed): New face that uses shades of red.
10827 (smerge-refined-added): New face that uses shades of green.
10828 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10829 args `props-r' and `props-a', and use them. Doc fix.
10830 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10831 on its value use different faces `smerge-refined-change',
10832 `smerge-refined-removed', `smerge-refined-added' in the call to
10833 `smerge-refine-subst'.
10835 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10836 Add face condition `min-colors 88' with shades of red.
10837 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10838 `min-colors 88' with shades of green.
10839 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10840 `min-colors 88' with shades of yellow.
10842 2012-05-24 Glenn Morris <rgm@gnu.org>
10844 * paths.el (prune-directory-list, remote-shell-program): Move to...
10845 * files.el (prune-directory-list, remote-shell-program): ...here.
10846 For the latter, delay initialization, prefer ssh, just search PATH.
10848 * paths.el (term-file-prefix): Move to faces.el (the only user).
10849 * faces.el (term-file-prefix): Move here, make it a defcustom.
10851 * paths.el (news-directory, news-path, news-inews-program):
10852 Move to gnus/nnspool.el.
10854 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10856 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10857 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10858 Make the latter a defcustom, with a delayed initialization.
10860 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10861 These were deleted from Gnus itself late 2010.
10863 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10865 * progmodes/which-func.el (which-func-ff-hook):
10866 Check against user-error, not error.
10868 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10869 cl-specs.el, which no longer exists.
10871 2012-05-22 Glenn Morris <rgm@gnu.org>
10873 * info.el (info-emacs-bug): New command.
10874 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10875 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10877 2012-05-21 Glenn Morris <rgm@gnu.org>
10879 * makefile.w32-in (update-subdirs-SH):
10880 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10882 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10887 Simplify Maven regexp, and make sure the file can't start with a space
10890 2012-05-21 Glenn Morris <rgm@gnu.org>
10892 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10893 Scrap superfluous subshells.
10895 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10897 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10898 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10900 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10902 * calc/calc.el (calc-ensure-consistent-units): New variable.
10904 * calc/calc-units.el (math-consistent-units-p)
10905 (math-check-unit-consistency): New functions.
10906 (calc-quick-units, calc-convert-units):
10907 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10909 (calc-extract-units): Fix typo.
10911 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10915 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10916 (flyspell-default-deplacement-commands): Don't spell check after
10917 repeated window/frame switches (e.g. triggered by mouse-movement).
10918 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10919 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10920 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10921 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10922 Remove unused vars.
10923 (flyspell-get-casechars, flyspell-get-not-casechars):
10924 Simplify; Don't bother removing a ] just to add it back.
10925 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10927 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10929 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10931 (math-function-table): Add support for more C functions.
10933 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10935 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10936 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10937 Protect delay handling for otherchars against empty otherchars.
10939 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10941 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10942 their respective macro declarations.
10943 * skeleton.el (define-skeleton):
10944 * progmodes/compile.el (define-compilation-mode):
10945 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10946 (define-ibuffer-filter):
10947 * emacs-lisp/generic.el (define-generic-mode):
10948 * emacs-lisp/easy-mmode.el (define-minor-mode)
10949 (define-globalized-minor-mode):
10950 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10951 * emacs-lisp/byte-run.el (defsubst):
10952 * custom.el (deftheme): Add doc-string metadata.
10954 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10956 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10958 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10962 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10963 * emacs-lisp/cl-macs.el: Idem.
10964 * emacs-lisp/cl-specs.el: Remove.
10966 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10968 Minor renaming of internal CL functions and variables.
10969 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10970 (cl--position): Rename from cl-position.
10971 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10972 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10973 (cl--random-state): Rename from *random-state*.
10975 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10977 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10978 parens around the arg list (bug#11499).
10980 2012-05-17 Juri Linkov <juri@jurta.org>
10982 * isearch.el (word-search-regexp, word-search-backward)
10983 (word-search-forward, word-search-backward-lax)
10984 (word-search-forward-lax): Move functions from search.c
10985 (bug#10145, bug#11381).
10987 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10989 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10990 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10991 Delay for otherchars as for normal word components.
10993 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10995 * minibuffer.el (completion--sifn-requote): Fix last change.
10996 (minibuffer-local-must-match-filename-map):
10997 Move define-obsolete-variable-alias before its var.
10999 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11001 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
11003 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11005 (completion--string-equal-p): New function.
11006 (completion--twq-all): Use it to get better assertion failure data.
11008 Only handle ".." and '..' quoting in shell-mode (bug#11466).
11009 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
11010 (shell--requote-argument): New functions.
11011 (shell-completion-vars): Use them.
11012 (shell--parse-pcomplete-arguments): Rename from
11013 shell-parse-pcomplete-arguments.
11014 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
11015 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
11016 Obey comint-file-name-quote-list.
11018 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
11019 (smie-indent-keyword): Use it.
11021 2012-05-14 Stefan Merten <smerten@oekonux.de>
11023 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
11025 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11027 * net/rlogin.el (rlogin-mode-map): Fix last change.
11029 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
11031 * mail/smtpmail.el (smtpmail-send-command): Send the command and
11032 the following \r\n using a single `process-send-string', since the
11033 Lotus SMTP server refuses to accept any commands if they are sent
11034 with two `process-send-string's (Bug#11444).
11036 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11038 * shell.el (shell-parse-pcomplete-arguments):
11039 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
11041 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11043 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
11044 (image-transform-scale, image-transform-right-angle-fudge): New vars.
11045 (image-transform-width, image-transform-fit-width): New functions.
11046 (image-transform-properties): Use them.
11047 (image-transform-check-size): New function.
11048 (image-toggle-display-image): Use it (for testing).
11049 (image-transform-set-rotation): Reduce angle mod 360.
11050 Delete obsolete comment.
11052 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11054 * image-mode.el: Fix scaling (bug#11399).
11055 (image-transform-resize): Doc fix.
11056 (image-transform-properties): Default scale is 1 and height should
11059 2012-05-13 Johan Bockgård <bojohan@gnu.org>
11061 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11062 than hard-coding `car', to fix misbehavior when moving forward.
11064 2012-05-13 Chong Yidong <cyd@gnu.org>
11066 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11067 (tabulated-list-entries, tabulated-list-padding)
11068 (tabulated-list-sort-key): Make permanent-local.
11070 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11071 (electric-buffer-list): Put electric buffer menu
11072 command descriptions in this docstring, instead of the docstring
11073 of electric-buffer-menu-mode. Code cleanups.
11074 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11075 Electric-buffer-menu-mode.
11076 (electric-buffer-update-highlight): Minor code cleanup.
11078 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
11080 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11083 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11085 Move define-obsolete-variable-alias before the var's definition.
11086 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11087 * tooltip.el (tooltip-hook):
11088 * textmodes/reftex-toc.el (reftex-toc-map):
11089 * textmodes/reftex-sel.el (reftex-select-label-map)
11090 (reftex-select-bib-map):
11091 * textmodes/reftex-index.el (reftex-index-map)
11092 (reftex-index-phrases-map):
11093 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11094 * progmodes/meta-mode.el (meta-mode-map):
11095 * novice.el (disabled-command-hook):
11096 * loadhist.el (unload-hook-features-list):
11097 * frame.el (blink-cursor):
11098 * files.el (find-file-not-found-hooks, write-file-hooks)
11099 (write-contents-hooks):
11100 * emulation/tpu-edt.el (GOLD-map):
11101 * emacs-lock.el (emacs-lock-from-exiting):
11102 * emacs-lisp/generic.el (generic-font-lock-defaults):
11103 * emacs-lisp/chart.el (chart-map):
11104 * dos-fns.el (register-name-alist):
11105 * dired-x.el (dired-omit-files-p):
11106 * desktop.el (desktop-enable):
11107 * cus-edit.el (custom-mode-hook):
11108 * buff-menu.el (buffer-menu-mode-hook):
11109 * bookmark.el (bookmark-read-annotation-text-func)
11110 (bookmark-exit-hooks):
11111 * allout.el (allout-mode-deactivate-hook)
11112 (allout-exposure-change-hook, allout-structure-added-hook)
11113 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11114 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11115 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11116 comes before the corresponding variable's definition.
11118 2012-05-12 Chong Yidong <cyd@gnu.org>
11120 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
11121 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11122 (Buffer-menu-mode-map): Bind it.
11123 (Buffer-menu--pretty-name): Add a mouse-face property.
11125 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11127 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11128 (prolog-upper-case-string, prolog-lower-case-string)
11129 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11130 (prolog-use-smie, prolog-smie-grammar): New vars.
11131 (prolog-smie-forward-token, prolog-smie-backward-token)
11132 (prolog-smie-rules): New funs.
11133 (prolog-comment-indent): Remove.
11134 (prolog-mode-variables): Use default comment indentation instead.
11136 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11137 (prolog-mode): Don't call them any more.
11138 (prolog-electric-colon, prolog-electric-dash)
11139 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11141 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11143 * minibuffer.el (completion--twq-all): Again, allow case differences.
11145 * term.el: Move keymap initialization code to be more idiomatic.
11146 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11147 (term-terminal-menu): Move initialization into declaration.
11148 (term-escape-char): Let the user set it in her .emacs.
11150 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11151 Provide SMIE-based indentation (not enabled by default yet).
11152 (sh-mode-map): Don't bind electric keys.
11153 Use electric-pair-mode instead of skeleton-pair.
11154 (sh-assignment-regexp): Fit within 80 columns.
11155 (sh-indent-supported): Specify actual shell name instead of boolean.
11156 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11157 (sh-maybe-here-document): Use it. Make obsolete.
11158 (sh-electric-here-document-mode) New minor mode.
11159 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11160 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11161 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11162 (sh-smie-rc-grammar, sh-use-smie): New vars.
11163 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11164 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11165 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11166 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11167 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11168 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11169 (sh-set-shell): Use smie-setup if requested.
11171 * term.el (term-set-escape-char): Properly set term-escape-char.
11172 See http://stackoverflow.com/questions/10524656.
11174 2012-05-10 Chong Yidong <cyd@gnu.org>
11176 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11177 Use url-generic-parse-url, and handle host names and Windows
11178 filenames properly.
11179 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11180 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11181 URL schemes to work on.
11182 (ffap--toggle-read-only): New function.
11183 (ffap-read-only, ffap-read-only-other-window)
11184 (ffap-read-only-other-frame): Use it.
11185 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11186 necessary for ffap-url-unwrap-remote.
11188 2012-05-10 Dave Abrahams <dave@boostpro.com>
11190 * cus-start.el (create-lockfiles): Add it.
11192 2012-05-09 Chong Yidong <cyd@gnu.org>
11194 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11195 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11197 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11199 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11201 2012-05-09 Chong Yidong <cyd@gnu.org>
11203 * ansi-color.el (ansi-color-process-output): Check for validity of
11204 comint-last-output-start before using it. This avoids a bad
11205 interaction with gdb-mi's input/output buffer.
11207 2012-05-09 Glenn Morris <rgm@gnu.org>
11209 * files.el (dir-locals-read-from-file):
11210 Mention dir-locals in any error message.
11212 2012-05-09 Chong Yidong <cyd@gnu.org>
11214 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11215 package (Bug#11410).
11217 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11218 variables into description.
11220 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11222 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11223 shell-delimiter-argument-list (bug#11348).
11224 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11226 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11228 * textmodes/rst.el: Silence byte-compiler warnings.
11229 (rst-re-alist, rst-reset-section-caches): Move around.
11230 (rst-re): Use `characterp', not `char-valid-p'.
11231 (font-lock-beg, font-lock-end): Declare.
11233 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11234 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11236 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11238 2012-05-08 Glenn Morris <rgm@gnu.org>
11240 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11242 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * vc/log-edit.el: Add GNU coding standards highlighting.
11245 (log-edit-font-lock-gnu-style)
11246 (log-edit-font-lock-gnu-keywords): New vars.
11247 (log-edit-font-lock-keywords): New fun.
11248 (log-edit-mode): Don't fold case in font-lock.
11249 (log-edit-font-lock-keywords): Do not assume case-folding.
11251 * imenu.el: Misc cleanup. Make docstrings out of comments.
11252 Use lexical-binding.
11253 (imenu--index-alist, imenu--last-menubar-index-alist)
11254 (imenu-menubar-modified-tick): Use defvar-local.
11255 (imenu--split-menu): Remove unused var.
11256 (imenu--cleanup-seen): Declare as global.
11257 (imenu--cleanup): Use dolist.
11259 * subr.el (defvar-local): Add debug spec and doc-string position.
11261 2012-05-08 Glenn Morris <rgm@gnu.org>
11263 * language/burmese.el, language/cham.el, language/czech.el:
11264 * language/english.el, language/georgian.el, language/greek.el:
11265 * language/japanese.el, language/khmer.el, language/korean.el:
11266 * language/lao.el, language/misc-lang.el, language/romanian.el:
11267 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11268 * language/thai.el, language/utf-8-lang.el:
11269 Remove no-byte-compile setting.
11271 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11273 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11275 * progmodes/make-mode.el (makefile-browse):
11276 Remove unnecessary interactive. (Bug#11324)
11278 2012-05-07 Glenn Morris <rgm@gnu.org>
11280 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11282 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11284 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11286 * loadup.el: Preload newcomment.el.
11287 * newcomment.el: Move autoload-only code to toplevel.
11289 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11290 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11291 Handle new :right-align column property.
11292 (tabulated-list-print-col): Idem, plus use `display' text-property to
11293 try and preserve alignment for variable pitch fonts.
11295 2012-05-07 Chong Yidong <cyd@gnu.org>
11297 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11298 (tabulated-list-use-header-line): New var.
11299 (tabulated-list-init-header): Use it.
11300 (tabulated-list-print-fake-header): New function.
11301 (tabulated-list-print): Use it.
11302 (tabulated-list-sort-button-map): Add non-header-line commands.
11303 (tabulated-list-init-header): Add column name property to basic
11305 (tabulated-list-col-sort): Handle non-header-line button case.
11306 (tabulated-list--sort-by-column-name): Fix a corner case.
11308 * buff-menu.el (list-buffers--refresh):
11309 Handle Buffer-menu-use-header-line.
11311 2012-05-06 Chong Yidong <cyd@gnu.org>
11313 * buff-menu.el: Convert to Tabulated List mode.
11314 (Buffer-menu-buffer+size-width): Make obsolete.
11315 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11316 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11317 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11318 documentation into docstring of buffer-menu.
11319 (Buffer-menu-toggle-files-only): Add an informative message.
11320 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11321 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11322 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11323 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11324 (Buffer-menu-execute, Buffer-menu-select)
11325 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11326 (Buffer-menu-bury): Use Tabulated List machinery.
11327 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11328 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11330 (list-buffers--refresh): New function.
11331 (list-buffers-noselect): Use it.
11332 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11333 (Buffer-menu--pretty-file-name): New helper functions.
11335 * loadup.el: Preload tabulated-list.
11337 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11338 tabulated-list-sort-column.
11339 (tabulated-list-init-header): Add the initial aligning space even
11340 if tabulated-list-padding is zero.
11342 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11344 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11345 whose cdr is not a cons cell correctly (bug#11038).
11347 2012-05-06 Chong Yidong <cyd@gnu.org>
11349 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11350 Accept additional plist in column descriptors.
11351 (tabulated-list-init-header): Obey it.
11352 (tabulated-list-get-entry): New function.
11353 (tabulated-list-put-tag): Use it. Use string-width instead of
11355 (tabulated-list--column-number): New function.
11356 (tabulated-list-print): Use it.
11357 (tabulated-list-print-col): New function.
11358 Set `tabulated-list-column-name' property on each column's text.
11359 (tabulated-list-print-entry): Use it.
11360 (tabulated-list-delete-entry, tabulated-list-set-col):
11362 (tabulated-list-sort-column): New command (Bug#11337).
11364 * buff-menu.el (list-buffers): Move C-x C-b binding from
11365 buff-menu.el to bindings.el.
11367 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11368 :advertised-binding feature.
11370 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11372 * progmodes/compile.el (compilation-internal-error-properties):
11373 Calculate start position correctly when end-col is set but
11374 end-line is not (Bug#11382).
11376 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11378 * man.el (Man-unindent): Use text-property-default-nonsticky to
11379 prevent untabify from inheriting face properties (Bug#11408).
11381 2012-05-05 Stefan Merten <smerten@oekonux.de>
11383 * textmodes/rst.el: Major merge with upstream development up to
11384 Docutils SVN r7399 / rst.el V1.2.1.
11386 Clarify maintainership and authors.
11388 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11389 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11390 (rst-official-version, rst-official-cvs-rev, rst-version)
11391 (rst-package-emacs-version-alist): New functions and variables
11392 for version information.
11394 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11395 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11396 (rst-mode-syntax-table, rst-mode): New and corrected functions
11397 and variables representing reStructuredText features.
11399 (rst-re): New function for reStructuredText regexes. Use in
11402 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11403 (rst-mode-map): Rebind keys.
11405 (rst-mode-lazy, rst-font-lock-keywords)
11406 (rst-font-lock-extend-region)
11407 (rst-font-lock-extend-region-internal)
11408 (rst-font-lock-extend-region-extend)
11409 (rst-font-lock-find-unindented-line-limit)
11410 (rst-font-lock-find-unindented-line-match)
11411 (rst-adornment-level, rst-font-lock-adornment-level)
11412 (rst-font-lock-adornment-match)
11413 (rst-font-lock-handle-adornment-pre-match-form)
11414 (rst-font-lock-handle-adornment-matcher): Major revision of
11415 font-locking. Integrate with other code. Use `jit-lock-mode'.
11417 (rst-preferred-adornments, rst-adjust-hook)
11418 (rst-new-adornment-down, rst-preferred-bullets)
11419 (rst-preferred-bullets, rst-indent, rst-indent-width)
11420 (rst-indent-field, rst-indent-literal-normal)
11421 (rst-indent-literal-minimized, rst-indent-comment): Change,
11422 extend and improve customization.
11424 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11425 (rst-normalize-cursor-position, rst-get-decoration)
11426 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11427 (rst-rstrip, rst-toc-insert-find-delete-contents)
11428 (rst-shift-fill-region, rst-compute-bullet-tabs)
11429 (rst-debug-print-tabs, rst-debug-mark-found)
11430 (rst-shift-region-guts, rst-shift-region-right)
11431 (rst-shift-region-left, rst-use-char-classes)
11432 (rst-font-lock-keywords-function)
11433 (rst-font-lock-indentation-point)
11434 (rst-font-lock-find-unindented-line-begin)
11435 (rst-font-lock-find-unindented-line-end)
11436 (rst-font-lock-find-unindented-line)
11437 (rst-font-lock-adornment-point, rst-font-lock-level)
11438 (rst-adornment-level-alist): Remove functions and variables.
11440 (rst-compare-adornments, rst-get-adornment-match)
11441 (rst-suggest-new-adornment, rst-get-adornments-around)
11442 (rst-adornment-complete-p, rst-get-next-adornment)
11443 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11444 (rst-straighten-adornments): Standardize function names to
11445 use "adornment" instead of "decoration". Correct callers.
11446 Similar standardizing in many places.
11448 (rst-update-section, rst-adjust, rst-promote-region)
11449 (rst-enumerate-region, rst-bullet-list-region)
11450 (rst-repeat-last-character): Correct use of `interactive'.
11452 (rst-classify-adornment, rst-find-all-adornments)
11453 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11454 (rst-find-leftmost-column, rst-repeat-last-character):
11455 Refactor functions.
11457 (rst-find-title-line, rst-reset-section-caches)
11458 (rst-get-adornments-around, rst-adjust-adornment-work)
11459 (rst-arabic-to-roman, rst-roman-to-arabic)
11460 (rst-insert-list-pos, rst-insert-list-new-item)
11461 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11464 (rst-all-sections, rst-section-hierarchy)
11465 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11468 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11469 configuration instead of only buffer. Change where necessary.
11471 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11472 (rst-shift-region, rst-adaptive-fill): New functions for
11473 indentation and filling.
11475 (rst-comment-line-break, rst-comment-indent)
11476 (rst-comment-insert-comment, rst-comment-region)
11477 (rst-uncomment-region): New functions for handling comments.
11479 (rst-compile): Quote shell arguments.
11481 (rst-compile-pdf-preview, rst-compile-slides-preview):
11482 Delete temporary files after use.
11484 2012-05-05 Glenn Morris <rgm@gnu.org>
11486 * calendar/cal-html.el: Optionally include holidays in the output.
11487 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11488 (cal-html-holidays): New option.
11489 (cal-html-css-default): Add holiday entry.
11490 (holiday-in-range): Autoload it.
11491 (cal-html-htmlify-entry): Add optional class argument.
11492 (cal-html-htmlify-list): Add optional holidays argument.
11493 (cal-html-insert-agenda-days): Include holidays in the output.
11494 (cal-html-one-month): Maybe include holidays.
11496 * calendar/holidays.el (holiday-in-range):
11497 Move here from cal-tex-list-holidays.
11498 * calendar/cal-tex.el (cal-tex-list-holidays):
11499 Make it an obsolete alias for holiday-in-range. Update all callers.
11501 2012-05-05 Chong Yidong <cyd@gnu.org>
11503 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11506 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11508 * files.el (file-auto-mode-skip): New var.
11509 (set-auto-mode-1): Use it.
11511 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * repeat.el: Use lexical-binding.
11514 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11515 (repeat-undo-count): Remove.
11517 * progmodes/octave-mod.el (octave-abbrev-start):
11518 * progmodes/f90.el (f90-abbrev-start):
11519 * face-remap.el (text-scale-adjust):
11520 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11522 * emacs-lisp/pcase.el (pcase--let*): New function.
11523 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11525 (pcase--split-pred): Be more clever about ruling out overlap between
11526 a predicate and some constant pattern.
11527 (pcase--q1): Use `null' instead of (eq foo nil).
11529 * subr.el (setq-local, defvar-local): New macros.
11530 (kbd): Redefine as an alias.
11531 (with-selected-window): Leave unrelated frames alone.
11532 (set-temporary-overlay-map): New function.
11534 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * subr.el (user-error): New function.
11537 * window.el (switch-to-buffer):
11538 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11539 (smerge-match-conflict):
11540 * simple.el (previous-matching-history-element)
11541 (next-matching-history-element, goto-history-element, undo-more)
11543 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11544 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11545 (next-file, tags-loop-scan, list-tags, complete-tag):
11546 * progmodes/compile.el (compilation-loop):
11547 * mouse.el (mouse-minibuffer-check):
11548 * man.el (Man-bgproc-sentinel, Man-goto-page):
11549 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11550 (Info-history-forward, Info-follow-reference, Info-menu)
11551 (Info-extract-menu-item, Info-extract-menu-counting)
11552 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11553 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11554 (Info-next-reference, Info-prev-reference, Info-index)
11555 (Info-index-next, Info-follow-nearest-node)
11556 (Info-copy-current-node-name):
11557 * imenu.el (imenu--make-index-alist)
11558 (imenu-default-create-index-function, imenu-add-to-menubar):
11559 * files.el (basic-save-buffer, recover-file):
11560 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11561 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11562 (checkdoc-message-text, checkdoc-defun):
11563 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11564 * cus-edit.el (customize-changed-options, customize-rogue)
11565 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11566 (custom-variable-mark-to-reset-standard)
11567 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11569 * completion.el (check-completion-length):
11570 * comint.el (comint-search-arg)
11571 (comint-previous-matching-input-string-position)
11572 (comint-previous-matching-input)
11573 (comint-replace-by-expanded-history-before-point, comint-send-input)
11574 (comint-copy-old-input, comint-backward-matching-input)
11575 (comint-goto-process-mark, comint-set-process-mark):
11576 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11577 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11579 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11581 * dabbrev.el (dabbrev--ignore-case-p): New function.
11582 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11585 * files.el (automount-dir-prefix): Mark as obsolete.
11587 2012-05-04 Glenn Morris <rgm@gnu.org>
11589 * patcomp.el, play/bruce.el: Move to obsolete/.
11591 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11593 Fix minor Y10k bugs.
11594 * arc-mode.el (archive-unixdate):
11595 * autoinsert.el (auto-insert-alist):
11596 * calc/calc-forms.el (math-this-year):
11597 * emacs-lisp/copyright.el (copyright-current-year)
11598 (copyright-update-year, copyright):
11599 * tar-mode.el (tar-clip-time-string):
11600 * time.el (display-time-update):
11601 Don't assume years have 4 digits.
11603 2012-05-04 Chong Yidong <cyd@gnu.org>
11605 * dos-w32.el (file-name-buffer-file-type-alist)
11606 (direct-print-region-use-command-dot-com):
11607 * ffap.el (ffap-menu-regexp):
11608 * find-file.el (ff-special-constructs):
11609 * follow.el (follow-debug):
11610 * forms.el (forms--debug):
11611 * iswitchb.el (iswitchb-all-frames):
11612 * ido.el (ido-all-frames):
11613 * emacs-lisp/timer.el (timer-max-repeats):
11614 * mail/feedmail.el (feedmail-mail-send-hook)
11615 (feedmail-mail-send-hook-queued):
11616 * mail/footnote.el (footnote-signature-separator):
11617 * mail/mailabbrev.el (mail-alias-separator-string)
11618 (mail-abbrev-mode-regexp):
11619 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11620 * progmodes/idlwave.el (idlwave-libinfo-file)
11621 (idlwave-default-completion-case-is-down)
11622 (idlwave-library-routines): Convert defvars to defcustoms.
11624 * mail/rmail.el (rmail-decode-mime-charset):
11625 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11626 (idlwave-shell-fix-inserted-breaks)
11627 (idlwave-shell-activate-alt-keybindings)
11628 (idlwave-shell-use-breakpoint-glyph):
11629 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11631 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11635 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11637 * progmodes/verilog-mode.el (font-lock-keywords):
11638 Fix mis-highligting auto. Reported by Craig Barner.
11639 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11640 defines from global name space. Reported by Dan Dever.
11641 (verilog-auto-reset, verilog-auto-reset-widths)
11642 (verilog-auto-tieoff): Support using unbased numbers for
11643 AUTORESET and AUTOTIEOFF.
11644 (verilog-submit-bug-report): Update variable list.
11645 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11646 parenthesis from not matching. Reported by Michael Rytting.
11647 (verilog-auto-template-lint): Fix hash error when linting modules
11648 with no used templates.
11649 (verilog-warn, verilog-warn-error)
11650 (verilog-warn-fatal): When non-interactive report multiple
11651 warnings before exiting. Suggested by Brad Dobbie.
11652 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11653 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11654 to report unused template errors. Reported by Brad Dobbie.
11655 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11656 nets, bug438. Reported by Vns Blore.
11657 (verilog-auto-inout-module, verilog-auto-reg)
11658 (verilog-read-decls, verilog-read-sub-decls-sig)
11659 (verilog-signals-edit-wire-reg, verilog-signals-with):
11660 Fix passing of Verilog data types in ANSI input/output ports
11661 such as "output logic" into the AUTOs. Special case "wire" and
11662 "reg" for backwards compatibility presuming Verilog 2001.
11663 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11664 (verilog-preprocess): Fix replication of preprocess output.
11665 Reported by Brad Dobbie.
11666 (verilog-auto-inst-interfaced-ports):
11667 Create verilog-auto-inst-interfaced-ports, bug429.
11668 Reported by Julian Gorfajn.
11669 (verilog-after-save-font-hook)
11670 (verilog-before-save-font-hook): New variable.
11671 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11672 (verilog-save-font-mods): Wrap disabling fontification, reported
11674 (verilog-do-indent, verilog-pretty-declarations-auto)
11675 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11676 Reported by Pierre-David Pfister.
11677 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11678 of class declarations, bug292. Reported by Kevin Heilman.
11679 (verilog-read-decls): Fix 'parameter type' not appearing in
11680 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11681 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11682 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11683 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11684 Reported by David Kravitz.
11686 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11688 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11689 assignment with tests in ifs and for loops.
11690 (verilog-extended-complete-re, verilog-complete-reg): Change so
11691 that DPI inport functions don't look like fuction declarations.
11692 (verilog-pretty-expr): Don't line up assignment
11693 operations to the test and increment in if and for loops
11694 (verilog-extended-complete-re, verilog-complete-reg): Change so
11695 that DPI inport functions don't look like fuction declarations.
11697 2012-05-03 Kenichi Handa <handa@m17n.org>
11699 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11700 decoding, and show a warning message without signaling an error
11703 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11705 * emacs-lisp/bytecomp.el
11706 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11707 since cconv.el might have introduced :fun-body, internal-make-closure,
11708 and friends for bytecomp to handle (bug#11391).
11709 * custom.el (defcustom): Avoid ((λ ..) ..).
11711 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11713 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11715 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11717 * notifications.el (dbus-debug):
11718 * term/linux.el (gpm-mouse-enable):
11719 * term/screen.el (xterm-register-default-colors): Declare.
11721 2012-05-02 Chong Yidong <cyd@gnu.org>
11723 * cus-start.el (gc-cons-percentage, exec-suffixes)
11724 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11725 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11726 (make-cursor-line-fully-visible, void-text-area-pointer)
11727 (font-list-limit): Add customization data.
11729 * allout.el (allout-exposure-change-functions)
11730 (allout-structure-added-functions)
11731 (allout-structure-deleted-functions)
11732 (allout-structure-shifted-functions): Rename abnormal hooks from
11733 *-hook, and convert to defcustoms.
11734 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11735 Convert to defcustoms.
11736 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11738 * allout-widgets.el: Hook callers changed.
11740 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11742 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11743 the yanked message in preference to the default value of
11744 buffer-file-coding-system.
11746 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11748 * window.el (display-buffer--action-function-custom-type):
11751 2012-05-02 Alan Mackenzie <acm@muc.de>
11753 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11755 2012-05-01 Glenn Morris <rgm@gnu.org>
11757 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11759 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11761 * cus-edit.el (custom-variable-documentation): Simplify with format.
11763 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11764 Stefan Monnier <monnier@iro.umontreal.ca>
11766 * simple.el (suggest-key-bindings, execute-extended-command):
11767 Move from keyboard.c.
11769 2012-05-01 Chong Yidong <cyd@gnu.org>
11771 * follow.el: Eliminate advice.
11772 (set-process-filter, process-filter, sit-for): Advice deleted.
11773 (follow-mode-off-hook): Obsolete hook removed.
11774 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11776 (follow-auto): Use a :set function.
11777 (follow-mode): Rewritten. Don't advise process filters.
11778 (follow-switch-to-current-buffer-all, follow-scroll-up)
11779 (follow-scroll-down): Assume follow-mode is bound.
11780 (follow-comint-scroll-to-bottom)
11781 (follow-align-compilation-windows): New functions.
11782 (follow--window-sorter): New function.
11783 (follow-all-followers): Use it to explicitly sort windows by their
11784 positions; don't make assumptions about next-window order.
11785 (follow-windows-start-end, follow-delete-other-windows-and-split)
11786 (follow-calc-win-start): Doc fix.
11787 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11788 vertical-motion unnecessarily.
11789 (follow-adjust-window): New function.
11790 (follow-post-command-hook): Use it.
11791 (follow-call-set-process-filter, follow-call-process-filter)
11792 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11793 (follow-stop-intercept-process-output, follow-generic-filter):
11795 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11796 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11797 New functions, replacing advice on scroll-bar-* commands.
11798 (follow-mwheel-scroll): New function (Bug#4112).
11800 * comint.el (comint-adjust-point): New function.
11801 (comint-postoutput-scroll-to-bottom): Use it.
11802 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11804 2012-05-01 Glenn Morris <rgm@gnu.org>
11806 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11807 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11808 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11809 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11810 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11811 Remove no-byte-compile setting.
11813 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11815 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11816 all-completions code to not return a number in the last cdr.
11818 2012-04-30 Leo Liu <sdl.web@gmail.com>
11820 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11823 2012-04-29 Chong Yidong <cyd@gnu.org>
11825 * follow.el (follow-calc-win-end): Rewrite to handle partial
11826 screen lines correctly (Bug#8390).
11827 (follow-avoid-tail-recenter): Minor cleanup.
11829 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11831 Avoid the obsolete `assoc' package.
11832 * speedbar.el (speedbar-refresh): Avoid adelete.
11833 (speedbar-file-lists): Simplify and avoid aput.
11834 * man.el (Man--sections, Man--refpages): New vars, replacing
11835 Man-sections-alist and Man-refpages-alist.
11836 (Man-build-section-alist, Man-build-references-alist):
11837 Use them; avoid aput.
11838 (Man--last-section, Man--last-refpage): New vars.
11839 (Man-follow-manual-reference): Use them.
11840 Use the `default' arg of completing-read.
11841 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11843 2012-04-27 Chong Yidong <cyd@gnu.org>
11845 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11847 * startup.el (x-apply-session-resources): New function.
11849 * term/ns-win.el (ns-initialize-window-system):
11850 * term/w32-win.el (w32-initialize-window-system):
11851 * term/x-win.el (x-initialize-window-system): Use it to properly
11852 set menu-bar-mode and other vars from X resources, even if the
11853 initial frame is not a window-system frame (Bug#2299).
11855 * subr.el (read-key): Avoid running filter function when setting
11856 up temporary tool bar entries (Bug#9922).
11858 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11860 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11863 2012-04-27 Chong Yidong <cyd@gnu.org>
11865 * select.el (xselect--encode-string): New function, split from
11866 xselect-convert-to-string.
11867 (xselect-convert-to-string): Use it.
11868 (xselect-convert-to-filename, xselect-convert-to-os)
11869 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11870 returned strings are properly encoded (Bug#11315).
11872 2012-04-27 Chong Yidong <cyd@gnu.org>
11874 * simple.el (delete-active-region): Move to killing custom group.
11876 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11878 * progmodes/which-func.el (which-func-current): Quote %
11879 characters for mode-line processing.
11881 2012-04-27 Chong Yidong <cyd@gnu.org>
11883 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11884 reaching eob (Bug#11286).
11886 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11888 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11889 (gdb): Make it buffer-local and init to zero.
11890 (gdb-control-commands-regexp): New variable.
11891 (gdb-send): Don't wrap in "-interpreter-exec console" if
11892 gdb-control-level is positive. Increment gdb-control-level
11893 whenever the command matches gdb-control-commands-regexp, and
11894 decrement it each time the command is "end". (Bug#11279)
11896 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11898 * window.el (adjust-window-trailing-edge, enlarge-window)
11899 (shrink-window, window-resize):
11900 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11901 windows (Bug#11276).
11903 2012-04-27 Chong Yidong <cyd@gnu.org>
11905 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11906 fix "missing prefix" warning. All callers changed.
11908 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11910 * emacs-lisp/assoc.el: Move to obsolete/.
11912 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11916 * term/ns-win.el (ns-define-service):
11917 * progmodes/pascal.el (pascal-goto-defun):
11918 * progmodes/js.el (js--read-tab):
11919 * progmodes/etags.el (tags-lazy-completion-table):
11920 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11921 * emacs-lisp/ewoc.el (ewoc--wrap):
11922 * emacs-lisp/assoc.el (aput, adelete, amake):
11923 * doc-view.el (doc-view-convert-current-doc):
11924 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11926 2012-04-26 Chong Yidong <cyd@gnu.org>
11928 * image.el (image-type-from-buffer): Only return supported image
11931 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11932 value, for symmetry with diff-end-of-hunk.
11933 (diff-split-hunk, diff-find-source-location)
11934 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11935 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11936 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11937 compute the relevant hunk or file properly (Bug#6005).
11938 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11940 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11949 * vc/vc.el: Replace lexical-let by lexical-binding.
11950 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11951 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11952 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11954 2012-04-26 Chong Yidong <cyd@gnu.org>
11956 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11957 (diff-mode-shared-map): Bind it to / and [remap undo].
11959 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11960 (ediff-window-setup-function): Use it as the default, to set up
11961 windows based on whether the current frame is graphical (Bug#2138).
11962 (ediff-choose-window-setup-function-automatically): Make obsolete.
11964 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11966 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11968 * ffap.el: Remove old code for obsolete package.
11969 (ffap-complete-as-file-p): Remove.
11971 Use completion-table-with-quoting for comint and pcomplete.
11972 * comint.el (comint--unquote&requote-argument)
11973 (comint--unquote-argument, comint--requote-argument): New functions.
11974 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11975 (comint-quote-filename): Use regexp-opt-charset.
11976 (comint--common-suffix, comint--common-quoted-suffix)
11977 (comint--table-subvert): Remove.
11978 (comint-unquote-function, comint-requote-function): New vars.
11979 (comint--complete-file-name-data): Use them with
11980 completion-table-with-quoting.
11981 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11982 * pcomplete.el (pcomplete-arg-quote-list)
11983 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11984 (pcomplete-unquote-argument-function): Default to non-nil.
11985 (pcomplete-unquote-argument): Simplify.
11986 (pcomplete--common-quoted-suffix): Remove.
11987 (pcomplete-requote-argument-function): New var.
11988 (pcomplete--common-suffix): New function.
11989 (pcomplete-completions-at-point): Use completion-table-with-quoting
11990 and completion-table-subvert.
11992 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11993 (minibuffer--double-dollars): Preserve properties.
11994 (completion--sifn-requote): New function.
11995 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11997 * minibuffer.el: Add support for completion of quoted/escaped data.
11998 (completion-table-with-quoting, completion-table-subvert): New funs.
11999 (completion--twq-try, completion--twq-all): New functions.
12000 (completion--nth-completion): New function.
12001 (completion-try-completion, completion-all-completions): Use it.
12003 2012-04-25 Leo Liu <sdl.web@gmail.com>
12005 * progmodes/python.el (python-pdbtrack-get-source-buffer):
12006 Use compilation-message if available to find real filename.
12008 2012-04-25 Chong Yidong <cyd@gnu.org>
12010 * vc/diff-mode.el (diff-setup-whitespace): New function.
12011 (diff-mode): Use it.
12013 * vc/diff.el (diff-sentinel):
12014 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
12015 Whitespace mode variables based on diff style (Bug#8612).
12017 2012-04-25 Leo Liu <sdl.web@gmail.com>
12019 * progmodes/python.el (python-send-region): Add suffix .py to the
12022 * files.el (auto-mode-alist): Use javascript-mode instead.
12024 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
12026 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
12028 * net/soap-client.el (soap-resolve-references-for-sequence-type)
12029 (soap-resolve-references-for-array-type): Hack to prevent self
12030 references, see Bug#9.
12031 (soap-parse-envelope): Report the contents of the 'detail' node
12032 when receiving a fault reply.
12033 (soap-parse-envelope): Report the contents of the entire 'detail' node.
12035 * net/soap-inspect.el (soap-sample-value-for-simple-type)
12036 (soap-inspect-simple-type): New function.
12038 * net/soap-client.el (soap-simple-type): New struct.
12039 (soap-default-xsd-types, soap-default-soapenc-types)
12040 (soap-decode-basic-type, soap-encode-basic-type):
12041 support unsignedInt and double basic types.
12042 (soap-resolve-references-for-simple-type)
12043 (soap-parse-simple-type, soap-encode-simple-type): New function.
12044 (soap-parse-schema): Parse xsd:simpleType declarations.
12046 * net/soap-client.el (soap-default-xsd-types)
12047 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12048 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12049 the local name of "soapenc:Array".
12050 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
12051 decoding integer, byte and anyURI xsd types.
12053 2012-04-25 Chong Yidong <cyd@gnu.org>
12055 * cus-edit.el (custom-buffer-create-internal): Update header text.
12057 2012-04-25 Eli Zaretskii <eliz@gnu.org>
12059 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12060 settings on 'system-type', not on 'window-system'. On MS-Windows,
12061 set interactive-mode on in GDB.
12063 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12065 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12066 (ruby-syntax-propertize-regexp): Remove.
12067 (ruby-syntax-propertize-function): Split regexp into chunks.
12068 Match following code directly.
12070 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12072 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12073 (ruby-syntax-propertize-regexp): New function.
12074 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12075 by a special keyword.
12077 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12078 (ruby-syntax-general-delimiters-goto-beg)
12079 (ruby-syntax-propertize-general-delimiters): New functions.
12080 (ruby-syntax-propertize-function): Use them to handle GDL.
12081 (ruby-font-lock-keywords): Move old handling of GDL...
12082 (ruby-font-lock-syntactic-keywords): .. to here.
12083 (ruby-calculate-indent): Adjust indentation for GDL.
12085 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
12087 * notifications.el (top): Remove unneeded declarations.
12088 (notifications-specification-version): Change to "1.2".
12089 (notifications-interface, notifications-notify-method)
12090 (notifications-close-notification-method): Fix docstring.
12091 (notifications-get-capabilities-method): New defconst.
12092 (notifications-notify): Add :action-items, :resident and
12093 :transient hints. Change "image_data" to "image-data" and
12094 "image_path" to "image-path".
12095 (notifications-get-capabilities): New defun.
12097 2012-04-24 Leo Liu <sdl.web@gmail.com>
12099 * progmodes/python.el: Move hideshow setup to the end.
12101 2012-04-24 Martin Rudalics <rudalics@gmx.at>
12103 * window.el (handle-select-window): Clear echo area since this is
12104 no more done by read_char (Bug#11304).
12106 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12108 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12109 and `/ M' to filter-derived-mode.
12110 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12111 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12112 (ibuffer-mark-by-mode): Use default rather than initial-input.
12113 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12115 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12117 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12118 (ibuffer-filter-by-derived-mode): New filter.
12119 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12121 2012-04-23 Andreas Politz <politza@fh-trier.de>
12123 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12125 2012-04-23 Chong Yidong <cyd@gnu.org>
12127 * cus-edit.el (customize-apropos, customize-apropos-options):
12128 Disable matching of non-option variables (Bug#11176).
12129 (customize-option, customize-option-other-window)
12130 (customize-changed-options): Doc fix.
12131 (customize-apropos-options, customize-apropos-faces)
12132 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12134 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
12135 Fix word list splitting (Bug#11132).
12136 (apropos-symbol, apropos-keybinding, apropos-label)
12137 (apropos-property, apropos-function-button)
12138 (apropos-variable-button, apropos-misc-button): New faces.
12139 (apropos-symbol-face, apropos-keybinding-face)
12140 (apropos-label-face, apropos-property-face, apropos-match-face):
12141 Variables removed (Bug#8396).
12142 (apropos-library-button, apropos-format-plist, apropos-print)
12143 (apropos-print-doc, apropos-describe-plist): Callers changed.
12145 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
12147 * net/xesam.el (xesam-mode-map): Use let-bound map in
12148 initialization. (Bug#11292)
12150 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12152 Preserve ispell session localwords when switching back to
12155 * textmodes/ispell.el (ispell-buffer-session-localwords):
12156 New buffer-local variable to hold buffer session localwords.
12157 (ispell-kill-ispell): Add option 'clear to delete session
12159 (ispell-command-loop, ispell-change-dictionary)
12160 (ispell-buffer-local-words): Preserve session localwords when
12163 * textmodes/flyspell.el (flyspell-process-localwords)
12164 (flyspell-do-correct): Preserve session localwords when needed.
12166 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12168 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12169 using obsolete `translation-table-for-input'.
12170 (ispell-word, ispell-process-line, ispell-complete-word):
12171 Use plain `insert' instead of removed `ispell-insert-word'.
12173 2012-04-22 Chong Yidong <cyd@gnu.org>
12175 * cus-edit.el (custom-variable-menu)
12176 (custom-variable-reset-saved, custom-face-menu)
12177 (custom-face-reset-saved): If there is no saved value, make the
12178 "reset-saved" operation bring back the default (Bug#9509).
12179 (custom-face-state): Properly detect themed faces.
12181 * faces.el (face-spec-set): Stop supporting deprecated form of
12184 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12186 Move functions from C to Lisp. Make non-blocking method calls
12187 the default. Implement further D-Bus standard interfaces.
12189 * net/dbus.el (dbus-message-internal): Declare function.
12190 Remove unneeded function declarations.
12191 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12192 (dbus-message-type-method-return, dbus-message-type-error)
12193 (dbus-message-type-signal): Declare variables. Remove local
12195 (dbus-interface-dbus, dbus-interface-peer)
12196 (dbus-interface-introspectable, dbus-interface-properties)
12197 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12199 (dbus-interface-objectmanager): New defconst.
12200 (dbus-call-method, dbus-call-method-asynchronously)
12201 (dbus-send-signal, dbus-method-return-internal)
12202 (dbus-method-error-internal, dbus-register-service)
12203 (dbus-register-signal, dbus-register-method): New defuns, moved
12205 (dbus-call-method-handler, dbus-setenv)
12206 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12208 (dbus-call-method-non-blocking): Make it an obsolete function.
12209 (dbus-unregister-object, dbus-unregister-service)
12210 (dbus-handle-event, dbus-register-property)
12211 (dbus-property-handler): Obey the new structure of
12212 `bus-registered-objects'.
12213 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12214 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12215 Use `dbus-call-method'.
12217 2012-04-22 Chong Yidong <cyd@gnu.org>
12219 * cus-edit.el (custom-commands, custom-reset-menu)
12220 (Custom-reset-standard): Tweak labels.
12221 (custom-reset-button-menu): Change default to t.
12222 (custom-buffer-create-internal): For the custom-reset-button-menu
12223 case, put the revert button first.
12224 (custom-group-subtitle): New face.
12225 (custom-group-value-create): Align docstring to a specific column.
12227 * wid-edit.el (widget-documentation-link-add): Don't handle
12228 indentation in this function.
12229 (widget-documentation-string-indent-to): New function.
12230 (widget-documentation-string-value-create): Use it.
12232 * autorevert.el (auto-revert):
12233 * epg-config.el (epg):
12234 * ibuffer.el (ibuffer):
12237 * eshell/eshell.el (eshell):
12238 * net/ange-ftp.el (ange-ftp):
12239 * progmodes/ebnf2ps.el (postscript):
12240 * progmodes/flymake.el (flymake):
12241 * progmodes/prolog.el (prolog):
12242 * progmodes/verilog-mode.el (verilog-mode):
12243 * progmodes/which-func.el (which-func):
12244 * term/xterm.el (xterm):
12245 * textmodes/picture.el (picture):
12246 * textmodes/tildify.el (tildify):
12247 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12248 customization buffers.
12250 2012-04-22 Alan Mackenzie <acm@muc.de>
12252 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12253 Adding a ) can hide the resulting (..) from searches. Fix it.
12254 Bound the backward search to the position of the existing (.
12256 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12258 * progmodes/verilog-mode.el (verilog-mode): Check whether
12259 which-func-modes is t before adding verilog-mode.
12260 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12262 2012-04-21 Leo Liu <sdl.web@gmail.com>
12264 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12266 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12268 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12269 filling of the last column of a table (Bug#5635).
12270 (woman-find-next-control-line): New arg, specifying an additional
12271 regexp component for the control line.
12272 (woman2-roff-buffer): Use it.
12273 (woman-break-table): New function.
12274 (woman2-TS): Use it.
12276 2012-04-21 Chong Yidong <cyd@gnu.org>
12278 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12279 (woman-horizontal-escapes, woman-negative-vertical-space)
12280 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12281 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12283 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12285 * minibuffer.el (completion-file-name-table): Complete user names.
12287 2012-04-20 Leo Liu <sdl.web@gmail.com>
12289 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12292 2012-04-20 Chong Yidong <cyd@gnu.org>
12294 * server.el (server-execute): Respect initial-buffer-choice if it
12295 is a string and there are no files to open (Bug#2825).
12296 (server-create-window-system-frame, server-create-tty-frame):
12297 Don't switch buffers here.
12298 (server-process-filter): Only try to open a window system frame if
12299 compiled with graphical support (Bug#8314).
12301 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12303 * battery.el (battery-echo-area-format): Display remaining time
12304 for sysfs backend too (Bug#11269).
12305 (battery-linux-sysfs): Fix conditional for the charge.
12307 2012-04-20 Chong Yidong <cyd@gnu.org>
12309 * progmodes/gdb-mi.el (gdb): Revert previous change.
12310 (gdb-inferior-io--init-proc): New function.
12311 (gdb-init-1): Use it.
12312 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12313 responsible for allocating a new pty and hooking it to gdb when
12314 the old pty gets an EIO due to process exit.
12315 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12316 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12317 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12319 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12321 * window.el (window-min-size, window-sizable, window-min-delta)
12322 (window-max-delta, window--resizable, window-resizable)
12323 (window-total-size, window-full-height-p, window-full-width-p)
12324 (window-in-direction, window--resize-mini-window, window-resize)
12325 (window--resize-child-windows-normal)
12326 (window--resize-child-windows, window--resize-siblings)
12327 (window--resize-this-window, adjust-window-trailing-edge)
12328 (enlarge-window, shrink-window): Doc fixes.
12330 2012-04-20 Chong Yidong <cyd@gnu.org>
12332 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12333 New function to call delete-process on the gdb-inferior buffer's pty.
12334 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12335 pty process (Bug#11273).
12336 (gdb-update): New arg to suppress talking to the gdb process.
12337 (gdb-done-or-error): Use it.
12338 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12339 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12340 sentinel not being called.
12342 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12344 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12346 2012-04-20 Glenn Morris <rgm@gnu.org>
12348 * net/network-stream.el (open-network-stream): Doc fix.
12350 2012-04-20 Chong Yidong <cyd@gnu.org>
12352 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12354 2012-04-20 Alan Mackenzie <acm@muc.de>
12356 Ensure searching for keywords is case sensitive.
12358 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12359 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12360 (c-defun-name, c-mark-function, c-cpp-define-name)
12361 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12362 (c-context-line-break): Bind case-fold-search to nil.
12364 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12365 Bind case-fold-search to nil.
12367 2012-04-20 Chong Yidong <cyd@gnu.org>
12369 * mail/sendmail.el (mail-bury): Call return action with the right
12370 Rmail buffer (Bug#11242).
12372 * server.el (server-process-filter): Handle corner case where both
12373 tty and nowait options are present (Bug#11102).
12375 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12377 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12378 (top level): Put into the executable the ident-style '$Id:' tag on
12379 windows-nt as well.
12381 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12383 * electric.el (electric-indent-post-self-insert-function): Check that
12384 electric-indent-mode is enabled in current buffer.
12386 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12388 * imenu.el (imenu-progress-message): Restore; it is "used" in
12389 erc/erc-imenu.el and net/snmp-mode.el.
12391 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12393 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12394 (mouse-avoidance-nudge-mouse): Remove unused binding.
12396 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12398 * descr-text.el (describe-char):
12399 * progmodes/python.el (python-describe-symbol):
12400 Don't call `toggle-read-only', set `buffer-read-only'.
12402 * imenu.el (imenu-default-goto-function): Mark unused args.
12403 (imenu-progress-message): Remove obsolete macro; all callers changed.
12405 * subr.el (keymap-canonicalize): Remove unused binding.
12406 (read-passwd): Mark unused arg.
12408 * tutorial.el (tutorial--display-changes): Remove unused binding.
12409 (tutorial--save-tutorial-to): Remove unused variable.
12411 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12412 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12413 (package-generate-autoloads, package-menu--generate)
12414 (package-menu--find-upgrades): Remove unused bindings.
12416 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12417 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12418 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12419 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12420 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12421 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12422 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12423 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12424 (cua-delete-char-rectangle): Mark unused args.
12425 (cua-align-rectangle): Remove unused binding.
12427 * mail/rmail.el (compilation--message->loc)
12428 (epa--find-coding-system-for-mime-charset): Declare.
12430 * net/dbus.el (dbus-register-service): Declare.
12431 (dbus-name-owner-changed-handler): Remove unused binding.
12433 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12434 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12435 (nxml-scan-backward-within): Mark unused arg.
12436 (nxml-dynamic-markup-word): Remove unused binding.
12438 * mouse.el (mouse-menu-major-mode-map):
12439 * emacs-lisp/authors.el (authors-scan-change-log)
12440 (authors-add-to-author-list):
12441 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12442 * emacs-lisp/smie.el (smie-auto-fill):
12443 * mail/sendmail.el (mail-bury):
12444 * mail/unrmail.el (unrmail):
12445 * net/tls.el (open-tls-stream):
12446 * textmodes/picture.el (picture-mouse-set-point):
12447 Remove unused bindings.
12449 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12451 * net/tramp.el (tramp-action-password): Let-bind
12452 `enable-recursive-minibuffers' to t.
12454 2012-04-18 Sam Steingold <sds@gnu.org>
12456 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12457 instead of 'string to accommodate values like [f11].
12458 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12459 * progmodes/gdb-mi.el: Likewise.
12461 2012-04-18 Leo Liu <sdl.web@gmail.com>
12463 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12465 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12468 2012-04-18 Chong Yidong <cyd@gnu.org>
12470 * simple.el (line-move): Use forward-line if in batch mode
12473 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12475 * files.el (after-find-file): Do not try to add a final newline if
12476 the buffer is read-only (Bug#11156).
12478 2012-04-17 Richard Stallman <rms@gnu.org>
12480 * mail/rmail.el (rmail-start-mail):
12481 Pass (rmail-mail-return...) for the return-action.
12482 Pass (rmail-yank-current-message...) for the yank-action.
12483 (rmail-yank-current-message): New function.
12484 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12485 (rmail-reply): Likewise.
12486 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12488 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12489 buffer, not the last. Reject temp buffers. Use the rmail-mode
12490 buffer, not newbuf.
12492 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12494 * server.el (server-ensure-safe-dir): Simplify.
12496 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12498 * emacs-lisp/smie.el: Provide smarter auto-filling.
12499 (smie-auto-fill): New function.
12500 (smie-setup): Use it.
12502 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12504 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12506 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12507 (comment-indent): Use it.
12509 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12511 * ses.el: The overall change is to add cell renaming, that is
12512 setting fancy names for cell symbols other than name matching
12513 "\\`[A-Z]+[0-9]+\\'" regexp .
12514 (ses-localvars): Add ses--renamed-cell-symb-list.
12515 (ses-create-cell-variable): New defun.
12516 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12517 (ses-relocate-formula): Relocate formulas only for cells the
12518 symbols of which are not renamed, i.e. symbols whose names do not
12519 match regexp "\\`[A-Z]+[0-9]+\\'".
12520 (ses-relocate-all): Relocate values only for cells the symbols of
12521 which are not renamed.
12522 (ses-load): Create cells variables as the (ses-cell ...) are read,
12523 in order to check row col consistency with cell symbol name only
12524 for cells that are not renamed.
12525 (ses-replace-name-in-formula): New defun.
12526 (ses-rename-cell): New defun.
12528 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12530 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12531 New option (bug#11118).
12532 (perl-calculate-indent): Respect it.
12534 2012-04-17 Glenn Morris <rgm@gnu.org>
12536 * dired-aux.el (dired-mark-read-string): Doc fix.
12538 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12540 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12541 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12543 2012-04-17 Glenn Morris <rgm@gnu.org>
12545 * mouse.el (mouse-drag-track):
12546 * speedbar.el (speedbar-frame-mode):
12547 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12549 2012-04-16 Leo Liu <sdl.web@gmail.com>
12551 * progmodes/python.el: Trivial cleanup.
12553 2012-04-16 Glenn Morris <rgm@gnu.org>
12555 * vc/vc.el (vc-string-prefix-p):
12556 * vc/pcvs-util.el (cvs-string-prefix-p):
12557 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12558 * mpc.el (mpc-string-prefix-p):
12559 Make all of these into obsolete aliases for string-prefix-p.
12561 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12563 * textmodes/two-column.el: Move custom options to the start.
12564 (frame-width): Remove compat definition.
12565 (2C-associate-buffer, 2C-dissociate):
12566 Use with-current-buffer rather than save-excursion.
12567 (2C-dissociate): Force a mode-line update.
12568 (2C-autoscroll): Use ignore-errors.
12570 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12573 * emacs-lisp/cl-extra.el (*random-state*):
12574 Remove unnecessary declaration.
12576 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12578 * play/cookie1.el (cookie-snarf):
12579 Give an explicit error if input file cannot be read.
12581 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12583 * progmodes/perl-mode.el (c-macro-expand):
12584 Remove unnecessary autoload (it is in loaddefs.el).
12586 * textmodes/picture.el (picture-desired-column)
12587 (picture-update-desired-column): Convert comments to doc-strings.
12588 (picture-substitute): Remove function.
12589 (picture-mode-map): Initialize in the defvar.
12591 * woman.el: Remove eval-after-load for tar-mode.
12592 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12593 (woman-tar-extract-file): Autoload it.
12595 * frame.el (automatic-hscrolling): Make this alias obsolete.
12597 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12599 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12600 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12601 (ispell-dictionary-base-alist): Revert to original XEmacs
12602 friendly version for default. [:alpha:] will be added in
12603 `ispell-set-spellchecker-params' if needed.
12605 2012-04-16 Chong Yidong <cyd@gnu.org>
12607 * image.el (imagemagick--file-regexp): New variable.
12608 (imagemagick-register-types): Use it.
12609 (imagemagick-types-inhibit): Add :set function. Allow new value
12610 of t to inhibit all types.
12612 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12613 so we can preload it.
12615 * loadup.el (fboundp): Preload regexp-opt, needed by
12616 imagemagick-register-types.
12618 2012-04-15 Chong Yidong <cyd@gnu.org>
12620 * frame.el (scrolling): Remove nearly unused customization group.
12622 * scroll-all.el (scroll-all-mode): Move to windows group.
12624 2012-04-15 Chong Yidong <cyd@gnu.org>
12626 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12628 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12630 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12631 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12633 2012-04-15 Glenn Morris <rgm@gnu.org>
12635 * simple.el (process-file-side-effects): Doc fix.
12637 2012-04-15 Glenn Morris <rgm@gnu.org>
12639 * international/mule-cmds.el (set-language-environment): Doc fix.
12641 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12643 * server.el (server-auth-key, server-generate-key): Doc fixes.
12644 (server-get-auth-key): Doc fix. Use `string-match-p'.
12645 (server-start): Reflow docstring.
12647 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12649 * server.el (server-generate-key): `called-interactively-p'
12650 requires a parameter.
12652 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12654 * server.el (server-auth-key): New variable.
12655 (server-generate-key, server-get-auth-key): New function.
12656 (server-start): Use the new variable and functions to allow
12657 setting a permanent server key (bug#9423).
12659 2012-04-14 Leo Liu <sdl.web@gmail.com>
12661 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12663 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12666 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12667 Emacs uses American spelling.
12669 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12671 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12672 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12673 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12674 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12676 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12678 * progmodes/which-func.el (which-func-modes): Change default.
12680 2012-04-14 Kim F. Storm <storm@cua.dk>
12682 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12683 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12685 2012-04-14 Chong Yidong <cyd@gnu.org>
12687 * custom.el (custom-theme-set-variables): Doc fix.
12689 2012-04-14 Glenn Morris <rgm@gnu.org>
12691 * international/mule.el (set-auto-coding-for-load): Doc fix.
12693 2012-04-14 Alan Mackenzie <acm@muc.de>
12695 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12696 imenu work again for Objective C Mode. Correct the *-index values,
12697 these having been disturbed by a previous change in 2011-08.
12699 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12700 Correct two search limits.
12702 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12704 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12706 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12708 * international/characters.el: Fix sorting.
12710 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12712 * international/characters.el: Add more missing Latin case pairs.
12714 2012-04-14 Glenn Morris <rgm@gnu.org>
12716 * files.el (dir-locals-set-class-variables): Doc fix.
12718 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12720 * international/characters.el: Add set-case-syntax-pair call for
12721 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12722 counterpart. (Bug#11209)
12724 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12726 2012-04-14 Glenn Morris <rgm@gnu.org>
12728 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12730 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12732 * textmodes/ispell.el (ispell-dictionary-base-alist):
12733 Add data for Hebrew.
12735 2012-04-14 Chong Yidong <cyd@gnu.org>
12737 * net/rcirc.el (rcirc-cmd-quit):
12738 Revert 2012-03-18 change (Bug#11192).
12740 2012-04-14 Glenn Morris <rgm@gnu.org>
12742 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12744 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12746 * minibuffer.el (completion-in-region-mode-map):
12747 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12749 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12751 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12753 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12755 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12756 to allow `C-M-f' and `C-M-b' to move to the nearest path
12757 separator (bug#9511).
12759 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12761 * avoid.el: Require cl when compiling. And also move the
12762 `provide' to the end.
12764 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12766 * avoid.el (mouse-avoidance-banish-position): New variable.
12767 (mouse-avoidance-banish-destination): Use it (bug#10165).
12769 2012-04-13 Leo Liu <sdl.web@gmail.com>
12771 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12773 2012-04-13 Ken Brown <kbrown@cornell.edu>
12775 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12776 this is no longer needed now that cygstart understands file:// URLs.
12777 (browse-url-filename-alist): For the same reason, don't modify
12778 file:// URLs on Cygwin.
12780 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12783 the region on shift if the binding is already shifted (bug#11221).
12785 2012-04-12 Glenn Morris <rgm@gnu.org>
12787 * mail/mailpost.el: Move to obsolete/.
12789 2012-04-12 Drew Adams <drew.adams@oracle.com>
12791 * imenu.el (imenu--generic-function): Ignore invisible definitions
12794 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12796 * hexl.el (hexl-bits): New variable.
12797 (hexl-options): Mention the variable in the doc string.
12798 (hexl-rulerise, hexl-line-displen): New functions.
12799 (hexl-mode): Mention the new variable.
12800 (hexl-mode, hexl-current-address, hexl-current-address):
12802 (hexl-ascii-start-column): New function.
12803 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12804 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12806 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12808 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12809 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12810 the encoding, as expected by hunspell.
12812 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12814 * battery.el (battery--linux-sysfs-regexp): New const.
12815 (battery-status-function): Use it. Remove yeeloong special case.
12816 (battery-yeeloong-sysfs): Remove.
12817 (battery-echo-area-format): Remove yeeloong special case.
12819 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12822 Reported by Noah Friedman.
12824 * subr.el (read-passwd): Use read-string.
12826 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828 * vcursor.el (vcursor-move): Increase the priority of the overlay
12831 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12833 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12834 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12836 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12838 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12839 define-minor-mode (bug#10760).
12841 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12843 * progmodes/grep.el (rgrep): Tweak the find command line so
12844 that directories matching `grep-find-ignored-files' won't be
12845 pruned (bug#10351).
12847 2012-04-11 Chong Yidong <cyd@gnu.org>
12849 * startup.el (command-line): Remove support for long-obsolete
12850 variable font-lock-face-attributes.
12852 2012-04-11 Glenn Morris <rgm@gnu.org>
12854 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12856 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12858 * window.el (window--state-get-1): Obey window-point-insertion-type.
12860 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12862 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12863 to previous function when point is on the first character of a
12864 function. Take care of that in `narrow-to-defun' (bug#6157).
12866 2012-04-11 Glenn Morris <rgm@gnu.org>
12868 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12869 not just file-errors.
12871 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12872 (vc-bzr-sha1): Use internal sha1.
12874 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12876 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12878 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12880 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12881 that start in the middle of the line (bug#10496).
12883 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12885 * battery.el (battery-linux-proc-acpi): Only one battery is
12886 discharged at a time, but that seems to confuse battery.el when
12887 computing `rate-type' for the battery not being discharged
12890 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12892 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12894 * international/quail.el: Use dolist and simplify.
12895 (quail-define-package, quail-update-keyboard-layout)
12896 (quail-define-rules): Use dolist.
12897 (quail-insert-kbd-layout, quail-get-translation): CSE.
12899 * tmm.el: Use dolist, remove left over hook.
12900 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12902 (calendar-load-hook): Don't mess with it.
12904 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12905 Use derived-mode-p. Run the diff asynchronously.
12907 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12909 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12911 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12913 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12914 (list-dynamic-libraries--loaded): New function.
12915 (list-dynamic-libraries--refresh): Use it.
12917 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12919 * progmodes/python.el (python-fill-paragraph):
12920 Make python-fill-region in a multiline string work when font-lock is
12921 disabled (bug#7018).
12923 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12925 * language/european.el (cp775): Add oem/legacy (en)coding on
12926 DOS/MS Windows for the Baltic languages. There are still plenty
12927 of texts written in this encoding/codepage (bug#6519).
12929 2012-04-10 Glenn Morris <rgm@gnu.org>
12931 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12932 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12934 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12936 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12937 next-line "n" and previous-line "p" in order to make recentf more
12938 consistent with ibuffer, dired or org-mode (bug#9387).
12940 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12942 * image.el (put-image): Return the overlay created instead of the
12943 optional input string (bug#7834). Note that this may break code
12944 that is (for some reason or other) depending on `put-image'
12945 returning the string.
12947 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12949 * simple.el (zap-to-char): Allow zapping using input methods
12952 * textmodes/fill.el (fill-region): Leave point and mark where they
12953 were before filling (bug#5399).
12955 2012-04-09 Glenn Morris <rgm@gnu.org>
12957 * version.el (emacs-bzr-get-version):
12958 Handle lightweight checkouts of local branches.
12960 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12962 * international/characters.el: Recover lost case pairs. (Bug#11209)
12964 2012-04-09 Chong Yidong <cyd@gnu.org>
12966 * custom.el (custom-variable-p): Return nil for non-symbol
12967 arguments instead of signaling an error.
12968 (user-variable-p): Obsolete alias for custom-variable-p.
12970 * apropos.el (apropos-variable):
12971 * files-x.el (read-file-local-variable):
12972 * simple.el (set-variable):
12973 * woman.el (woman-mini-help):
12974 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12976 2012-04-09 Glenn Morris <rgm@gnu.org>
12978 * startup.el (normal-top-level): Don't look for leim-list.el
12979 in places where it will not be found. (Bug#910)
12981 * international/mule-cmds.el (set-default-coding-systems):
12982 * files.el (normal-mode):
12983 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12984 This function was removed with ucs-tables.el in 2008.
12986 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12988 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12989 ispell-encoding8-command to "-i", without a trailing space.
12990 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12991 separate command-line arguments, to specify the encoding, since
12992 that's how hunspell expects it.
12994 2012-04-08 Glenn Morris <rgm@gnu.org>
12996 * loadup.el: Load bindings before cus-start.
12997 This reduces somewhat the number of "rogue" settings in emacs -Q.
12999 2012-04-07 Glenn Morris <rgm@gnu.org>
13001 * version.el (emacs-bzr-get-version): New function.
13002 (emacs-bzr-version): New variable.
13003 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
13004 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
13006 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13008 * international/uni-bidi.el, international/uni-category.el:
13009 * international/uni-combining.el, international/uni-decimal.el:
13010 * international/uni-decomposition.el, international/uni-digit.el:
13011 * international/uni-lowercase.el, international/uni-mirrored.el:
13012 * international/uni-name.el, international/uni-numeric.el:
13013 * international/uni-titlecase.el, international/uni-uppercase.el:
13014 Update for Unicode 6.1.
13016 2012-04-07 Eli Zaretskii <eliz@gnu.org>
13018 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
13020 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13022 * window.el (shrink-window): Mention the `window-min-height'
13023 variable in the doc string.
13025 2012-04-05 Bastien Guerry <bzg@altern.org>
13027 * color.el (color-lighten-name): Fix typo.
13029 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13031 * server.el (server--on-display-p): New function.
13032 (server--on-display-p): Use it.
13034 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
13036 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
13039 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * comint.el (comint--common-quoted-suffix): Check string boundary
13042 before comparing (bug#11158).
13043 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
13045 2012-04-04 Chong Yidong <cyd@gnu.org>
13047 * minibuffer.el (completion-extra-properties): Doc fix.
13049 * subr.el (delayed-warnings-hook): Doc fix.
13051 2012-04-04 Daiki Ueno <ueno@unixuser.org>
13053 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13054 selection (Bug#11159).
13055 (epa-insert-keys): Inform that the default public key will be
13056 exported if no key is selected.
13058 2012-04-04 Richard Stallman <rms@gnu.org>
13060 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13062 2012-04-03 Chong Yidong <cyd@gnu.org>
13064 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13065 mail-insert-file, not its obsolete alias mail-attach-file.
13067 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
13069 * notifications.el (notifications-notify): Fix docstring.
13071 2012-04-02 Glenn Morris <rgm@gnu.org>
13073 * emacs-lisp/authors.el (authors-aliases): Another addition.
13075 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
13077 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13078 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13079 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13081 2012-04-01 Chong Yidong <cyd@gnu.org>
13083 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13084 Handle root directory properly.
13085 (copy-directory): Caller changed.
13087 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13088 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13090 2012-03-31 Glenn Morris <rgm@gnu.org>
13092 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13094 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13096 * calendar/calendar.el (calendar-window-list)
13097 (calendar-hide-window): Restore. (Bug#11140)
13098 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13100 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13102 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13104 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13105 Check if file is a symlink (Bug#10489).
13107 * files.el (copy-directory): Likewise.
13109 2012-03-30 Chong Yidong <cyd@gnu.org>
13111 * image.el (imagemagick-types-inhibit)
13112 (imagemagick-register-types): Doc fix.
13114 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13116 * textmodes/ispell.el (ispell-get-extended-character-mode):
13117 Disable extended-char-mode for hunspell. hunspell does not support it
13118 and treats ~word as ordinary words in pipe mode.
13120 2012-03-30 Glenn Morris <rgm@gnu.org>
13122 * tutorial.el (help-with-tutorial): Ensure local variables don't
13123 happen to make the buffer read-only. (Bug#11127)
13125 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13127 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13128 (perl-calculate-indent): Return `noindent' in strings.
13130 2012-03-28 Sam Steingold <sds@gnu.org>
13132 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13133 instead of the broken adhockery which does not prevent calendar
13134 buffers from being displayed at random after exit.
13135 (calendar-window-list, calendar-hide-window): Remove the broken
13138 2012-03-28 Glenn Morris <rgm@gnu.org>
13140 * replace.el (query-replace-map): Doc fix.
13142 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13144 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13145 contents. (Bug#11109)
13147 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13149 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13151 (avl-tree--check, avl-tree--check-node): New funs.
13153 2012-03-27 Martin Rudalics <rudalics@gmx.at>
13155 * window.el (switch-to-visible-buffer): New option.
13156 (switch-to-prev-buffer, switch-to-next-buffer):
13157 Observe switch-to-visible-buffer. Make sure that checking for a window
13158 showing a buffer already is done on the same frame.
13160 2012-03-27 Glenn Morris <rgm@gnu.org>
13162 * startup.el (mail-host-address): Doc fix.
13164 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13166 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13167 than 197 variables.
13169 2012-03-26 Ami Fischman <ami@fischman.org>
13171 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13173 2012-03-26 Glenn Morris <rgm@gnu.org>
13175 * files.el (save-buffers-kill-emacs): Doc fix.
13177 * startup.el (normal-top-level, command-line, command-line-1):
13178 Give them doc strings.
13180 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13182 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13183 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13185 2012-03-25 Chong Yidong <cyd@gnu.org>
13187 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13188 theme if it was previously enabled before (Bug#11031).
13190 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13191 spec with custom-face-get-current-spec if its :shown-value is not
13192 determined yet (Bug#9337).
13193 (customize-create-theme, custom-theme-revert): Doc fixes.
13195 * button.el (button-at): Minor addition to docstring.
13197 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13199 * vc/vc.el (vc-merge): Fix a prompt.
13201 2012-03-24 Chong Yidong <cyd@gnu.org>
13203 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13206 * button.el (button-at): Minor addition to docstring.
13208 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13210 * newcomment.el (comment-choose-indent): No space after BOL.
13212 2012-03-22 Sam Steingold <sds@gnu.org>
13214 * window.el (switch-to-prev-buffer): Revert last patch because the
13215 bug turned out to be an advertised feature (Elisp manual 28.14).
13217 2012-03-22 Glenn Morris <rgm@gnu.org>
13219 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13220 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13222 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13224 * net/network-stream.el (network-stream-open-starttls): Make error
13225 message under Windows be less misleading.
13227 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13229 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13230 understands (bug#9942).
13232 2012-03-22 Chong Yidong <cyd@gnu.org>
13234 * simple.el (end-of-visible-line): Handle return value of
13235 next-single-property-change properly (Bug#9371).
13237 2012-03-22 Kenichi Handa <handa@m17n.org>
13239 * international/quail.el (quail-insert-kbd-layout): Fix previous
13240 change. To avoid unwanted bidi reordering, use
13241 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13243 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13245 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13246 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13247 (ruby-beginning-of-indent): Be more careful with the difference
13248 between word-boundary and symbol boundary.
13249 (ruby-mode-syntax-table): Make : a symbol constituent.
13251 2012-03-21 Andreas Politz <politza@fh-trier.de>
13253 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13255 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13257 * progmodes/etags.el (tags-completion-at-point-function):
13260 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13262 2012-03-21 Sam Steingold <sds@gnu.org>
13264 * progmodes/etags.el (tags-completion-at-point-function):
13265 Avoid the error when point is inside the pattern.
13267 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13269 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13272 2012-03-21 Drew Adams <drew.adams@oracle.com>
13274 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13276 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13278 * ido.el (ido-set-current-directory, ido-read-internal)
13279 (ido-choose-completion-string, ido-completion-help): Handle nil
13280 value of ido-completion-buffer (Bug#11008).
13282 2012-03-21 Sam Steingold <sds@gnu.org>
13284 * window.el (switch-to-prev-buffer): Do not switch to a visible
13285 window previous buffer, just like with the frame previous buffers.
13287 2012-03-21 Chong Yidong <cyd@gnu.org>
13289 * faces.el (make-face, make-empty-face, copy-face):
13290 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13293 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13295 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13296 (widget-complete): Remove broken use of it.
13298 2012-03-20 Chong Yidong <cyd@gnu.org>
13300 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13301 Use string-width and truncate-string-width to handle arbitrary
13304 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13306 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13307 to draw rectangles, not squares. (Regression introduced by revno
13308 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13310 2012-03-18 Chong Yidong <cyd@gnu.org>
13312 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13313 it is not yet defined (for temacs).
13315 2012-03-18 Leo Liu <sdl.web@gmail.com>
13317 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13320 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13322 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13323 (ispell-choices-win-default-height, ispell-silently-savep)
13324 (ispell-dictionary-alist, ispell-encoding8-command)
13325 (ispell-check-version, ispell-aspell-find-dictionary)
13326 (ispell-valid-dictionary-list, ispell-words-keyword)
13327 (ispell-get-word, ispell-internal-change-dictionary)
13328 (ispell-region, ispell-skip-region-list)
13329 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13330 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13331 (ispell-message-text-end, ispell-message)
13332 (ispell-buffer-local-parsing): Doc fix.
13334 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13336 * htmlfontify.el: Add support for code block fontification for ODT
13337 export (Bug #9914).
13338 (hfy-optimisations): Define new option
13340 (hfy-fontify-buffer): Honor above setting.
13341 (hfy-begin-span, hfy-end-span): New routines factored out form
13342 `hfy-fontify-buffer'.
13343 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13344 that permit insertion of custom tags.
13345 (hfy-fontify-buffer): Use above handlers.
13346 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13347 (hfy-face-to-css): Re-defined to be a variable.
13348 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13349 over multiple runs. This is made possible by having the caller let
13350 bind a special variable `hfy-user-sheet-assoc'.
13351 (htmlfontify-string): New defun.
13352 (hfy-compile-face-map): Make sure that the last char in the
13353 buffer is correctly fontified.
13354 (hfy-face-resolve-face): Whitespace only change.
13356 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13358 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13359 message more clear.
13361 2012-03-16 Leo Liu <sdl.web@gmail.com>
13363 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13365 2012-03-16 Alan Mackenzie <acm@muc.de>
13367 Further optimize the handling of large macros.
13369 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13370 limit to a call of `c-literal-limits'.
13371 (c-determine-+ve-limit): New function.
13372 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13373 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13374 In CASE 5B, restrict a search limit to 500.
13375 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13377 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13378 Restrict macro bounds to +-500 from after-change's BEG END.
13380 2012-03-16 Leo Liu <sdl.web@gmail.com>
13382 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13384 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13386 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13387 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13389 2012-03-16 Glenn Morris <rgm@gnu.org>
13391 * view.el (view-buffer, view-buffer-other-window)
13392 (view-buffer-other-frame): Doc fixes re special mode-class.
13394 * subr.el (eval-after-load): If named feature is provided not from
13395 a file, run after-load forms. (Bug#10946)
13397 * calendar/calendar.el (calendar-insert-at-column):
13398 Handle non-unit-width characters a bit better. (Bug#10978)
13400 2012-03-15 Chong Yidong <cyd@gnu.org>
13402 * emacs-lisp/ring.el (ring-extend): New function.
13403 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13405 * comint.el (comint-read-input-ring)
13406 (comint-add-to-input-history): Grow comint-input-ring lazily.
13408 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13411 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13413 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13414 (imenu-add-to-menubar): Don't add a redundant index.
13415 (imenu-update-menubar): Handle a dynamically composed keymap.
13417 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13419 * mail/sendmail.el (mail-encode-header):
13420 Bind rfc2047-encode-encoded-words to nil.
13422 2012-03-13 Glenn Morris <rgm@gnu.org>
13424 * calendar/calendar.el (calendar-string-spread):
13425 Handle non-unit-width characters a bit better. (Bug#10978)
13427 2012-03-13 Leo Liu <sdl.web@gmail.com>
13429 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13430 directory and file as argument (Bug#10822).
13432 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13434 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13435 For dynamically generated code, follow $PC.
13436 (gdb-disassembly-handler-custom): Handle no function name case.
13438 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13440 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13441 * emulation/ws-mode.el (ws-query-replace):
13442 * sort.el (sort-regexp-fields):
13443 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13445 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13447 * dabbrev.el: Fix cycle completion order (bug#10963).
13448 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13449 (dabbrev-completion): Don't use an obarray; provide
13450 a cycle-sort-function.
13452 2012-03-12 Leo Liu <sdl.web@gmail.com>
13454 * simple.el (kill-new): Use equal-including-properties for comparison.
13455 (kill-do-not-save-duplicates): Doc fix.
13457 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13459 * dabbrev.el: Fix cycle completion (bug#10963).
13460 Use lexical binding and wrap to 80 columns.
13461 (dabbrev-completion): Delay computing the list of completions.
13463 2012-03-12 Kenichi Handa <handa@m17n.org>
13465 * international/quail.el (quail-insert-kbd-layout): Surround each
13466 row by LRO and PDF instead of inserting many LRMs. Pad the left
13467 and right of each non-spacing marks. Insert invisible space
13468 between lower and upper characters to prevent composition.
13470 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13472 * minibuffer.el (minibuffer-complete): Don't get confused when the
13473 function is run twice via different commands (bug#10958).
13474 (complete-with-action): Fix docstring.
13476 2012-03-12 Chong Yidong <cyd@gnu.org>
13478 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13479 (nxml-completion-at-point-function): New function.
13480 (nxml-mode): Use it.
13481 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13483 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13484 Load generated autoloads file before byte compiling (Bug#10970).
13485 (package--make-autoloads-and-compile): New helper fun.
13487 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13489 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13491 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13493 * autorevert.el (auto-revert-handler): Ensure, that
13494 file-readable-p is applied only for local files or in
13495 auto-revert-tail-mode.
13497 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13499 * server.el (server-eval-at): Handle non-tcp connections.
13500 Decode result string.
13502 * server.el (server-msg-size): New constant.
13503 (server-reply-print): New function.
13504 (server-eval-and-print): Use it.
13505 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13506 Handle -print-nonl.
13508 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13510 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13513 2012-03-11 Chong Yidong <cyd@gnu.org>
13515 * simple.el (goto-line): Doc fix (Bug#9938).
13517 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13519 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13520 when finished (Bug#10963).
13522 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13524 * window.el (split-window-below): Fix bug in case where
13525 split-window-keep-point is nil (Bug#10971).
13527 2012-03-11 Juri Linkov <juri@jurta.org>
13529 * replace.el (replace-highlight): Set isearch-word to nil
13530 unconditionally. (Bug#10887)
13532 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13534 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13535 mairix-replace-illegal-chars; all callers changed. Don't remove
13536 ^, ~, and = characters: they are meaningful in mairix search specs.
13537 (mairix-widget-create-query): Add usage information about mairix
13538 search forms: negating words, searching for substrings, etc.
13540 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13542 * international/fontset.el (font-encoding-alist): Add an entry for
13543 ksx1001 (Bug#5667).
13545 2012-03-10 Richard Stallman <rms@gnu.org>
13547 * mail/sendmail.el (mail-encode-header):
13548 Set rfc2047-encode-encoded-words.
13550 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13552 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13553 view buffer means not swapped.
13554 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13555 (rmail-write-region-annotate): Error if real text has disappeared.
13557 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13559 2012-03-10 Chong Yidong <cyd@gnu.org>
13561 * emulation/cua-rect.el (cua--init-rectangles):
13562 * emulation/cua-base.el (cua--init-keymaps):
13563 Add delete-forward-char to remappings (Bug#9666).
13565 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13567 * speedbar.el (speedbar-unhighlight-one-tag-line):
13568 Avoid unhighlighting due to frame switching (Bug#10275).
13570 2012-03-10 Chong Yidong <cyd@gnu.org>
13572 * minibuffer.el (completion-in-region, completion-help-at-point):
13573 Give the completion field overlay a high priority (Bug#6830).
13575 * dired.el (dired-goto-file): Recognize absolute file name
13576 listings (Bug#7126).
13577 (dired-goto-file-1): New helper function.
13578 (dired-toggle-read-only): Inhibit warnings.
13580 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13582 * net/dbus.el (dbus-property-handler): Return empty array if
13583 there are no properties.
13585 2012-03-09 Leo Liu <sdl.web@gmail.com>
13587 * savehist.el (savehist-printable): Stricter check for string
13590 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13592 * mail/smtpmail.el (smtpmail-send-it):
13593 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13596 2012-03-09 Glenn Morris <rgm@gnu.org>
13598 * files.el (dir-locals-find-file):
13599 Don't check result is regular, readable.
13600 (dir-locals-read-from-file): Demote errors.
13602 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13604 * international/quail.el (quail-insert-kbd-layout):
13605 Insert invisible LRM characters before each character in a keyboard
13606 layout cell, to prevent their reordering by bidi display engine.
13607 For details, see the discussion in
13608 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13610 2012-03-08 Alan Mackenzie <acm@muc.de>
13612 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13613 the starting position; make it extend the marked region when
13614 invoked repeatedly - all under appropriate circumstances.
13615 Fixes bugs #5525, #10906.
13617 2012-03-08 Glenn Morris <rgm@gnu.org>
13619 * files.el (locate-dominating-file, dir-locals-find-file):
13620 Undo 2012-03-06 change.
13622 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13624 * international/quail.el (quail-help):
13625 Force bidi-paragraph-direction be left-to-right. See discussion in
13626 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13629 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13631 Avoid superfluous registering of signals. (Bug#10807)
13633 * notifications.el (notifications-on-action-object)
13634 (notifications-on-close-object): New defvars.
13635 (notifications-on-action-signal, notifications-on-closed-signal):
13636 Unregister the signal if not needed any longer.
13637 (notifications-notify): Register `notifications-action-signal' or
13638 `notifications-closed-signal', if :on-action or :on-close has been
13639 passed as argument.
13641 2012-03-07 Chong Yidong <cyd@gnu.org>
13643 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13646 2012-03-06 Glenn Morris <rgm@gnu.org>
13648 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13649 (x-disown-selection-internal, x-get-selection-internal):
13650 Doc fix (add arglist signatures). (Bug#10783)
13652 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13654 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13655 Handle breakpoints with no "type".
13657 2012-03-06 Glenn Morris <rgm@gnu.org>
13659 * files.el (locate-dominating-file): Add optional predicate argument.
13660 (dir-locals-find-file): Make use of above change.
13662 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13664 * info.el (Info-insert-dir): Also try "dir.gz".
13666 2012-03-06 Glenn Morris <rgm@gnu.org>
13668 * files.el (dir-locals-find-file):
13669 Ignore non-readable or non-regular files. (Bug#10928)
13671 * files.el (locate-dominating-file): Doc fix.
13673 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13675 * calendar/calendar.el (calendar-set-mode-line):
13676 `getenv' returns a string. (Bug#10951)
13678 2012-03-05 Leo Liu <sdl.web@gmail.com>
13680 * simple.el (backward-delete-char-untabify): Constrain point to
13683 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13685 2012-03-05 Chong Yidong <cyd@gnu.org>
13687 * simple.el (count-words): If called from Lisp, return the word
13688 count, for symmetry with `count-lines'. Arglist changed.
13689 (count-words--message): Args changed. Consolidate counting code
13690 from count-words and count-words-region.
13691 (count-words-region): Caller changed.
13692 (count-lines-region): Make it an obsolete alias.
13694 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13696 * saveplace.el (save-place-to-alist)
13697 (save-place-ignore-files-regexp): Allow value nil to disable this
13700 2012-03-04 Chong Yidong <cyd@gnu.org>
13702 * faces.el (face-spec-reset-face): For the default face, reset the
13703 attributes to default values (Bug#10748).
13705 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13707 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13708 previous patch: Check `message-send-mail-function', and not the
13709 default function (bug#10897).
13711 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13713 * notifications.el (notifications-on-action-signal)
13714 (notifications-on-closed-signal): Check for unique service name of
13715 incoming event. Fix error in removing entry.
13716 (top): Register for signals with wildcard service name.
13717 (notifications-notify): Use daemon unique service name for map entries.
13719 2012-03-04 Chong Yidong <cyd@gnu.org>
13721 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13723 2012-03-04 Glenn Morris <rgm@gnu.org>
13725 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13726 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13727 (expand-abbrev, define-abbrev-table): Doc fixes.
13729 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13731 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13732 `message-default-send-mail-function' and not `send-mail-function'
13733 when doing the prompting for `sendmail-query-once' before sending
13734 in Message buffers (bug#10897).
13736 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13737 This is inconsistent with all the other stream functions, which leave
13738 the setting up to the higher levels (if so wanted) (bug#10931).
13740 2012-03-02 Alan Mackenzie <acm@muc.de>
13742 Depessimize the handling of very large macros.
13744 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13745 (c-macro-cache-syntactic): New variables to implement a one
13746 element macro cache.
13747 (c-invalidate-macro-cache): New function.
13748 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13749 Adapt to use the new cache.
13750 (c-state-safe-place): Use better the cache of safe positions.
13751 (c-state-semi-nonlit-pos-cache)
13752 (c-state-semi-nonlit-pos-cache-limit):
13753 New variables for...
13754 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13755 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13756 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13757 Use c-state-semi-safe-place.
13759 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13760 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13762 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13764 * jka-compr.el (jka-compr-call-process):
13765 Apply `file-accessible-directory-p' only when the default directory is
13768 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13770 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13771 access of FILE2, if FILE1 does not exist.
13773 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13774 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13776 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13777 Add "PAGER=" to `process-environment'.
13779 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13781 * progmodes/sql.el: Bug fix
13782 (sql-get-login-ext): Save login values in globals.
13783 (sql-get-login): Use new version of `sql-get-login-ext'.
13784 (sql-interactive-mode): Set global `sql-connection' to nil.
13785 (sql-connect): Set global values for connection.
13786 (sql-product-interactive): Save global values as buffer local.
13788 2012-02-29 Leo Liu <sdl.web@gmail.com>
13790 * abbrev.el (define-abbrevs): Reset sys to nil.
13792 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13794 * files.el (file-equal-p): Rename from `files-equal-p'.
13795 Return nil when one or both files don't exist.
13796 (file-subdir-of-p): Now only top directory must exists,
13797 return nil if it doesn't.
13798 (copy-directory): No need to test with `file-subdir-of-p' after
13800 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13803 2012-02-28 Glenn Morris <rgm@gnu.org>
13805 * shell.el (shell-mode):
13806 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13807 * play/landmark.el (landmark-font-lock-face-O):
13808 * play/handwrite.el (handwrite):
13809 * play/gomoku.el (gomoku-O):
13810 * net/browse-url.el (browse-url-browser-display):
13811 * international/mule.el (define-charset):
13812 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13813 * filesets.el (filesets-find-file-delay):
13814 * eshell/em-xtra.el (eshell-xtra):
13815 * eshell/em-unix.el (eshell-grep):
13816 * emulation/viper.el (viper-mode):
13817 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13818 * emacs-lisp/easymenu.el (easy-menu-define):
13819 * calendar/timeclock.el (timeclock-use-display-time):
13821 * bookmark.el (bookmark-save-flag):
13822 Doc fix (standardize possessive apostrophe usage).
13824 2012-02-27 Chong Yidong <cyd@gnu.org>
13826 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13827 Fix key-binding lookup for ESC key (Bug#9146).
13829 * font-lock.el (font-lock-specified-p): Rename from
13830 font-lock-spec-present. Callers changed.
13832 2012-02-27 Daniel Hackney <dan@haxney.org>
13834 * emacs-lisp/package.el (package-compute-transaction):
13835 Handle holding a package version to t in package-load-list.
13837 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13839 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13840 (tramp-get-inode, tramp-get-device): Use cached values.
13842 2012-02-26 Alan Mackenzie <acm@muc.de>
13844 Check there is a font-lock specification before doing initial
13847 * font-core.el (font-lock-mode): Move the conditional from
13848 :after-hook to font-lock-initial-fontify.
13849 (font-lock-default-function): Move the check for a specification
13850 to font-lock-spec-present.
13852 * font-lock.el (font-lock-initial-fontify): Call ...
13853 (font-lock-spec-present): New function.
13855 2012-02-26 Jim Blandy <jimb@red-bean.com>
13857 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13858 (gdb-send): Apply it to the operand of the '-interpreter-exec
13859 console' command, so that we can pass arguments with (say) quotes
13860 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13862 2012-02-26 Chong Yidong <cyd@gnu.org>
13864 * help-fns.el (describe-function-1): Clarify description of
13865 remapping (Bug#10844).
13867 * files.el (files-equal-p): Doc fix.
13868 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13869 and quit the loop once a mismatch is found.
13871 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13873 * bs.el (bs--show-with-configuration): Don't throw an error
13874 if the window cannot be split; otherwise, subsequent calls to
13875 bs-show fail, restoring a stale window config. (Bug#10882)
13877 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13879 * term/ns-win.el (global-map): Bind ns-drag-file to
13880 ns-find-file (Bug#5855, Bug#10050).
13882 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13884 * calendar/parse-time.el (parse-time-string): Allow extractor to
13887 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13889 * net/tramp.el (tramp-file-name-for-operation):
13890 Add `files-equal-p' and `file-subdir-of-p'.
13892 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13893 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13894 Add COPY-CONTENTS argument.
13896 2012-02-25 Chong Yidong <cyd@gnu.org>
13898 Add custom groups for VC backends, for consistency with vc-bzr.
13900 * vc/vc-arch.el (vc-arch):
13901 * vc/vc-cvs.el (vc-cvs):
13902 * vc/vc-git.el (vc-git):
13903 * vc/vc-hg.el (vc-hg):
13904 * vc/vc-mtn.el (vc-mtn):
13905 * vc/vc-rcs.el (vc-rcs):
13906 * vc/vc-sccs.el (vc-sccs):
13907 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13908 All relevant defcustoms reassigned.
13910 2012-02-25 Chong Yidong <cyd@gnu.org>
13912 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13914 * term/x-win.el (x-initialize-window-system): Reduce default for
13915 x-selection-timeout to 5 seconds (Bug#8869).
13917 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13919 * files.el (files-equal-p, file-subdir-of-p): New functions.
13920 (copy-directory): Error when trying to copy a directory on itself.
13921 Add missing copy-contents arg to tramp handler.
13922 * dired-aux.el (dired-copy-file-recursive): Same.
13923 (dired-create-files): Modify destination when source is equal to
13924 dest when copying files.
13925 Return also when dest is a subdir of source. (Bug#10489)
13927 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13929 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13932 2012-02-23 Alan Mackenzie <acm@muc.de>
13934 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13935 parameter "after-hook:" to allow the expansion to run code after
13936 the execution of the mode hooks.
13938 * font-lock.el (font-lock-initial-fontify): New function extracted
13939 from font-lock-mode-internal.
13941 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13944 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13946 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13947 (completion--cache-all-sorted-completions): New function.
13948 (completion-all-sorted-completions): Use it.
13949 (completion--do-completion, minibuffer-force-complete):
13950 Use it to re-instate the flush hook.
13952 * icomplete.el (icomplete-completions): Replace last fix with a better
13955 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13957 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13958 when it might call us back infinitely (bug#10797).
13960 2012-02-23 Glenn Morris <rgm@gnu.org>
13962 * minibuffer.el (completion-category-overrides): Doc fix.
13964 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13966 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13967 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13969 2012-02-23 Glenn Morris <rgm@gnu.org>
13971 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13972 (authors-obsolete-files-regexps, authors-ignored-files)
13973 (authors-ambiguous-files, authors-renamed-files-alist):
13976 2012-02-23 Juri Linkov <juri@jurta.org>
13978 * isearch.el (isearch-occur): Sync interactive spec with occur's
13979 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13981 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13983 2012-02-22 Juri Linkov <juri@jurta.org>
13985 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13986 (ucs-insert): Doc fix. Check for hex digits in the string.
13987 Don't display `nil' in the error message. (Bug#10857)
13989 2012-02-22 Alan Mackenzie <acm@muc.de>
13991 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13993 2012-02-22 Glenn Morris <rgm@gnu.org>
13995 * ffap.el (ffap-c-path):
13996 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13998 2012-02-22 Chong Yidong <cyd@gnu.org>
14000 * custom.el (load-theme): Doc fix.
14002 2012-02-22 Glenn Morris <rgm@gnu.org>
14004 * dired-x.el (dired-guess-shell-alist-default):
14005 Remove escape sequences from nroff output. (Bug#172)
14007 2012-02-21 Glenn Morris <rgm@gnu.org>
14009 * vc/emerge.el (emerge-defvar-local):
14010 Set `permanent-local' property rather than unused `preserved'.
14012 * textmodes/picture.el (picture-delete-char): New alias.
14013 (picture-mode-map): Use it. (Bug#10860)
14014 (picture-mode): Doc fix.
14016 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
14018 * newcomment.el (uncomment-region-default): Remove unused binding.
14020 2012-02-21 Glenn Morris <rgm@gnu.org>
14022 * textmodes/picture.el (picture-motion, picture-motion-reverse)
14023 (picture-self-insert, picture-tab-chars): Doc fix.
14024 (picture-mode-map): Fix C-a, C-e.
14026 2012-02-20 Glenn Morris <rgm@gnu.org>
14028 * emacs-lisp/authors.el (authors-aliases): Add another entry.
14030 2012-02-20 Leo Liu <sdl.web@gmail.com>
14032 * icomplete.el (icomplete-completions): Check FROM arg before
14033 passing to substring (Bug#10850).
14035 2012-02-19 Chong Yidong <cyd@gnu.org>
14037 * comint.el: Require ansi-color.
14038 (comint-output-filter-functions): Add ansi-color-process-output.
14040 * ansi-color.el: Don't set comint-output-filter-functions; it is
14041 now in the initial value defined in comint.el.
14042 (ansi-color-apply-face-function): New variable.
14043 (ansi-color-apply-on-region): Use it.
14044 (ansi-color-apply-overlay-face): New function.
14046 * shell.el (shell): No need to require ansi-color.
14047 (shell-mode): Use ansi-color-apply-face-function to highlight
14048 color escapes using font-lock-face property (Bug#10835).
14050 2012-02-19 Chong Yidong <cyd@gnu.org>
14052 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14053 mode-line formats (Bug#10839).
14055 2012-02-18 Glenn Morris <rgm@gnu.org>
14057 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14059 * mail/undigest.el (unforward-rmail-message): Doc fix.
14061 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14063 2012-02-18 Eli Zaretskii <eliz@gnu.org>
14065 * international/characters.el (script-list): Sync with the latest
14066 Unicode Character Database.
14068 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14070 * international/titdic-cnv.el: Remove duplicate coding tag.
14071 * language/cham.el: Likewise.
14072 * language/tai-viet.el: Likewise.
14074 2012-02-18 Glenn Morris <rgm@gnu.org>
14076 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14077 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14078 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14079 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14080 * calendar/holidays.el (holiday-bahai-holidays)
14081 (calendar-holidays, list-holidays):
14082 Use utf-8 Bahá'í in doc-strings, menus, etc.
14084 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14086 * saveplace.el (save-place-ignore-files-regexp): New variable
14087 allowing for excluding files from saving their location of point.
14088 The default value matches the temporary commit message editing
14089 files from Git, SVN, Bazaar, and Mercurial.
14090 (save-place-to-alist): Use it.
14092 2012-02-17 Lawrence Mitchell <wence@gmx.li>
14093 Stefan Monnier <monnier@iro.umontreal.ca>
14095 * newcomment.el (uncomment-region-default): Don't leave extra space
14096 when an arg is provided (bug#8150).
14098 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14100 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
14102 2012-02-17 Glenn Morris <rgm@gnu.org>
14104 * net/socks.el: Require network-stream. (Bug#10599)
14106 2012-02-17 Kenichi Handa <handa@m17n.org>
14108 * international/charprop.el:
14109 * international/uni-name.el:
14110 * international/uni-old-name.el:
14111 * international/uni-comment.el: Regenerate.
14113 2012-02-16 Glenn Morris <rgm@gnu.org>
14115 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14116 Interactively in calendar buffer, give an error if not on a date.
14118 2012-02-15 Glenn Morris <rgm@gnu.org>
14120 * shell.el (shell-delimiter-argument-list):
14121 Revert 2011-02-17 change. (Bug#8027)
14123 2012-02-15 Chong Yidong <cyd@gnu.org>
14125 * minibuffer.el (completion-at-point-functions): Doc fix.
14127 * custom.el (defcustom): Doc fix; note use of defvar.
14129 2012-02-15 Glenn Morris <rgm@gnu.org>
14131 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14134 2012-02-14 Glenn Morris <rgm@gnu.org>
14136 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14138 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14140 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14141 way the ports list is computed.
14142 (smtpmail-query-smtp-server): Prompt the user for a port number if
14143 we can't connect to any of the standard ports (bug#10810).
14145 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14147 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14149 2012-02-13 Glenn Morris <rgm@gnu.org>
14151 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14153 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14155 * net/gnutls.el (gnutls-trustfiles): New variable.
14156 (gnutls-negotiate): Use it.
14158 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14160 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14161 does its stuff if Gnus is running.
14163 2012-02-13 Alan Mackenzie <acm@muc.de>
14165 Fix a loop in c-set-fl-decl-start.
14167 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14168 c-backward-syntactic-ws actually moves backwards.
14170 2012-02-13 Leo Liu <sdl.web@gmail.com>
14172 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14173 beginning so that all \C-o chars are removed.
14175 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14177 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14179 2012-02-12 Alan Mackenzie <acm@muc.de>
14181 Fix infinite loop with long macros.
14182 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14184 2012-02-12 Chong Yidong <cyd@gnu.org>
14186 * window.el (display-buffer): Doc fix (Bug#10785).
14188 2012-02-12 Glenn Morris <rgm@gnu.org>
14190 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14191 (x-disown-selection-internal, x-get-selection-internal):
14192 Sync docs with the xselect.c versions.
14194 * allout-widgets.el: Add missing license notice.
14196 2012-02-11 Glenn Morris <rgm@gnu.org>
14198 * select.el (x-get-selection-internal, x-own-selection-internal)
14199 (x-disown-selection-internal):
14200 * x-dnd.el (x-get-selection-internal): Update declarations.
14202 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14204 * window.el (window-sides-slots):
14205 * tool-bar.el (tool-bar-position):
14206 * term/xterm.el (xterm-extra-capabilities):
14207 * ses.el (ses-self-reference-early-detection):
14208 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14209 (verilog-auto-wire-type)
14210 (verilog-auto-delete-trailing-whitespace)
14211 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14212 (verilog-auto-tieoff-declaration):
14213 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14214 (sql-oracle-statement-starters, sql-oracle-scan-on):
14215 * progmodes/prolog.el (prolog-align-comments-flag)
14216 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14217 (prolog-left-indent-regexp, prolog-paren-indent-p)
14218 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14219 (prolog-types, prolog-mode-specificators)
14220 (prolog-determinism-specificators, prolog-directives)
14221 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14222 (prolog-electric-dot-flag)
14223 (prolog-electric-dot-full-predicate-template)
14224 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14225 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14226 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14227 (prolog-program-switches, prolog-prompt-regexp)
14228 (prolog-debug-on-string, prolog-debug-off-string)
14229 (prolog-trace-on-string, prolog-trace-off-string)
14230 (prolog-zip-on-string, prolog-zip-off-string)
14231 (prolog-use-standard-consult-compile-method-flag)
14232 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14233 (prolog-imenu-max-lines, prolog-info-predicate-index)
14234 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14235 (prolog-char-quote-workaround):
14236 * progmodes/cc-vars.el (c-defun-tactic):
14237 * net/tramp.el (tramp-encoding-command-interactive)
14238 (tramp-local-end-of-line):
14239 * net/soap-client.el (soap-client):
14240 * net/netrc.el (netrc-file):
14241 * net/gnutls.el (gnutls):
14242 * minibuffer.el (completion-category-overrides)
14243 (completion-cycle-threshold)
14244 (completion-pcm-complete-word-inserts-delimiters):
14245 * man.el (Man-name-local-regexp):
14246 * mail/feedmail.el (feedmail-display-full-frame):
14247 * international/characters.el (glyphless-char-display-control):
14248 * eshell/em-ls.el (eshell-ls-date-format):
14249 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14250 (lisp-lambda-list-keyword-parameter-indentation)
14251 (lisp-lambda-list-keyword-parameter-alignment):
14252 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14253 * dired-x.el (dired-omit-verbose):
14254 * cus-theme.el (custom-theme-allow-multiple-selections):
14255 * calc/calc.el (calc-highlight-selections-with-faces)
14256 (calc-lu-field-reference, calc-lu-power-reference)
14257 (calc-note-threshold):
14258 * battery.el (battery-mode-line-limit):
14259 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14260 (archive-7z-update):
14261 * allout.el (allout-prefixed-keybindings)
14262 (allout-unprefixed-keybindings)
14263 (allout-inhibit-auto-fill-on-headline)
14264 (allout-flattened-numbering-abbreviation):
14265 * allout-widgets.el (allout-widgets-auto-activation)
14266 (allout-widgets-icons-dark-subdir)
14267 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14268 (allout-widgets-theme-dark-background)
14269 (allout-widgets-theme-light-background)
14270 (allout-widgets-item-image-properties-emacs)
14271 (allout-widgets-item-image-properties-xemacs)
14272 (allout-widgets-run-unit-tests-on-load)
14273 (allout-widgets-time-decoration-activity)
14274 (allout-widgets-hook-error-post-time)
14275 (allout-widgets-track-decoration):
14276 Add missing :version tags to new defcustoms and defgroups.
14278 * progmodes/sql.el (sql-ansi-statement-starters)
14279 (sql-oracle-statement-starters): Add custom type.
14281 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14282 (prolog-system-version): Give it a type.
14284 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14286 * term/pc-win.el (x-select-text, x-selection-owner-p)
14287 (x-own-selection-internal, x-disown-selection-internal)
14288 (x-get-selection-internal): Sync doc strings and argument lists
14289 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14291 2012-02-11 Leo Liu <sdl.web@gmail.com>
14293 * progmodes/python.el (python-end-of-statement): Fix infinite
14296 2012-02-10 Glenn Morris <rgm@gnu.org>
14298 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14299 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14301 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14303 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14304 about SMTP before checking the From header.
14306 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14307 into own function for reuse by emacsbug.el.
14309 2012-02-10 Leo Liu <sdl.web@gmail.com>
14311 * subr.el (condition-case-unless-debug): Rename from
14312 condition-case-no-debug. All callers changed.
14313 (with-demoted-errors): Fix caller.
14315 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14316 * nxml/rng-valid.el (rng-do-some-validation):
14317 * emacs-lisp/package.el (package-refresh-contents)
14318 (package-menu-execute):
14319 * desktop.el (desktop-create-buffer):
14320 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14322 2012-02-10 Glenn Morris <rgm@gnu.org>
14324 * textmodes/bibtex.el:
14325 Add missing :version tags for new/changed defcustoms.
14327 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14329 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14331 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14332 (smtpmail-via-smtp): Use it, or fall back on the From address.
14333 (smtpmail-send-it): Ditto.
14335 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14338 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14339 (byte-compile-tmp-var): New const.
14340 (byte-compile-defvar): Use it to minimize .elc size.
14341 Just use `defvar' rather than simulate it (bug#10761).
14343 2012-02-09 Glenn Morris <rgm@gnu.org>
14345 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14347 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14350 * progmodes/compile.el (compilation-error-screen-columns)
14351 (compilation-first-column, compilation-filter-start): Doc fixes.
14353 * vc/log-view.el (log-view-toggle-entry-display):
14354 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14356 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14357 (report-emacs-bug-can-use-xdg-email):
14358 (report-emacs-bug-insert-to-mailer): Doc fixes.
14359 (report-emacs-bug): Message fix.
14361 * net/browse-url.el (browse-url-can-use-xdg-open)
14362 (browse-url-xdg-open): Doc fixes.
14364 * electric.el (electric-indent-mode, electric-pair-mode)
14365 (electric-layout-rules, electric-layout-mode): Doc fixes.
14366 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14368 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14370 * server.el (server-unselect-display): Don't inadvertently kill
14371 the current buffer. (Bug#10729)
14373 2012-02-08 Glenn Morris <rgm@gnu.org>
14375 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14376 (sql-list-table): Doc fixes.
14378 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14379 Comment out (does nothing).
14381 * completion.el (dynamic-completion-mode):
14382 * dirtrack.el (dirtrack-debug-mode):
14383 * electric.el (electric-layout-mode):
14384 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14385 * face-remap.el (text-scale-mode, buffer-face-mode):
14386 * iimage.el (iimage-mode):
14387 * image-mode.el (image-transform-mode):
14388 * minibuffer.el (completion-in-region-mode):
14389 * scroll-lock.el (scroll-lock-mode):
14390 * simple.el (next-error-follow-minor-mode):
14391 * tar-mode.el (tar-subfile-mode):
14392 * tooltip.el (tooltip-mode):
14393 * vcursor.el (vcursor-use-vcursor-map):
14394 * wid-browse.el (widget-minor-mode):
14395 * emulation/tpu-edt.el (tpu-edt-mode):
14396 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14397 * international/iso-ascii.el (iso-ascii-mode):
14398 * language/thai-util.el (thai-word-mode):
14399 * mail/supercite.el (sc-minor-mode):
14400 * net/goto-addr.el (goto-address-mode):
14401 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14402 * progmodes/cwarn.el (cwarn-mode):
14403 * progmodes/flymake.el (flymake-mode):
14404 * progmodes/glasses.el (glasses-mode):
14405 * progmodes/hideshow.el (hs-minor-mode):
14406 * progmodes/pascal.el (pascal-outline-mode):
14407 * textmodes/enriched.el (enriched-mode):
14408 * vc/smerge-mode.el (smerge-mode):
14409 Doc fixes (minor mode argument).
14411 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14413 * ls-lisp.el (ls-lisp-sanitize): New function.
14414 (ls-lisp-insert-directory): Use it to fix or remove any elements
14415 in file-alist with missing attributes. (Bug#4673)
14417 2012-02-07 Alan Mackenzie <acm@muc.de>
14419 Fix spurious recognition of c-in-knr-argdecl.
14421 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14422 putative K&R region.
14424 2012-02-07 Alan Mackenzie <acm@muc.de>
14426 * progmodes/cc-engine.el (c-forward-objc-directive):
14427 Prevent looping in "#pragma mark @implementation".
14429 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14431 * notifications.el (notifications-on-closed-signal): Make `reason'
14432 optional. (Bug#10744)
14434 2012-02-07 Glenn Morris <rgm@gnu.org>
14436 * emacs-lisp/easy-mmode.el (define-minor-mode):
14437 Doc fixes for the macro and the mode it defines.
14439 * image.el (imagemagick-types-inhibit): Doc fix.
14441 * cus-start.el (imagemagick-render-type): Add it.
14443 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14445 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14446 Set the default at load time, too, so that `font-lock-fontify-buffer'
14447 can be called without setting up the entire mode first. This fixes
14448 a bug in `mm-inline-text' with C MIME parts.
14450 2012-02-06 Chong Yidong <cyd@gnu.org>
14452 * simple.el (list-processes--refresh): Delete exited processes
14455 * comint.el (comint-next-prompt): next-single-char-property-change
14456 and prev-single-char-property-change never return nil (Bug#8657).
14458 * custom.el (defcustom): Doc fix (Bug#9711).
14460 2012-02-05 Chong Yidong <cyd@gnu.org>
14462 * cus-edit.el (custom-variable-reset-backup): Quote the value
14463 before storing it in the customized-value property (Bug#6712).
14464 (custom-display): Add a customization type tag.
14465 (custom-buffer-create-internal): Improve tooltip message.
14467 * wid-edit.el (widget-field-value-get): New optional arg to
14468 suppress trailing whitespace truncation.
14469 (character): Use it (Bug#2689).
14471 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14473 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14474 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14476 2012-02-05 Chong Yidong <cyd@gnu.org>
14478 * cus-edit.el (custom-variable-value-create): For mismatched
14479 types, show the current value (Bug#7600).
14481 * custom.el (defcustom): Doc fix.
14483 2012-02-05 Glenn Morris <rgm@gnu.org>
14485 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14487 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14489 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14490 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14491 (pp-last-sexp): Use `looking-at-p'.
14493 2012-02-04 Glenn Morris <rgm@gnu.org>
14495 * files.el (revert-buffer):
14496 Doc fix (mention revert-buffer-in-progress-p).
14498 * emacs-lisp/ert-x.el (ert-simulate-command):
14499 Check deferred-action-list (which is obsolete) is bound.
14501 * subr.el (with-wrapper-hook): Doc fixes.
14503 * simple.el (filter-buffer-substring-functions)
14504 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14506 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14508 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14509 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14511 2012-02-04 Leo Liu <sdl.web@gmail.com>
14513 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14515 2012-02-04 Glenn Morris <rgm@gnu.org>
14517 * image.el (image-extension-data): Add obsolete alias.
14519 * isearch.el (isearch-update): Doc fix.
14521 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14523 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14525 2012-02-03 Glenn Morris <rgm@gnu.org>
14527 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14528 (image-animate-timeout): Doc fix.
14530 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14532 2012-02-02 Glenn Morris <rgm@gnu.org>
14534 * server.el (server-auth-dir): Doc fix.
14535 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14537 * subr.el (run-mode-hooks): Doc fix.
14539 2012-02-02 Juri Linkov <juri@jurta.org>
14541 * image-mode.el (image-toggle-display-image): Remove tautological
14542 `major-mode' from the `derived-mode-p' test.
14544 2012-02-02 Kenichi Handa <handa@m17n.org>
14546 * composite.el (compose-region): Cancel previous change.
14548 2012-02-02 Kenichi Handa <handa@m17n.org>
14550 * composite.el (compose-region, compose-string): Signal error for
14551 a null string component (Bug#6988).
14553 2012-02-01 Chong Yidong <cyd@gnu.org>
14555 * view.el (view-buffer-other-window, view-buffer-other-frame):
14556 Handle special modes like view-buffer (Bug#10650).
14557 (view-buffer): Simplify.
14559 * frame.el (set-frame-font): Tweak meaning of third argument.
14561 * dynamic-setting.el (font-setting-change-default-font):
14562 Use set-frame-font (Bug#9982).
14564 2012-02-01 Glenn Morris <rgm@gnu.org>
14566 * progmodes/compile.el (compilation-internal-error-properties):
14567 Respect compilation-first-column in the "*compilation*" buffer.
14569 * emacs-lisp/easy-mmode.el (define-minor-mode):
14570 Relax :variable's test for a named function.
14572 2012-01-31 Alan Mackenzie <acm@muc.de>
14574 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14577 2012-01-31 Chong Yidong <cyd@gnu.org>
14579 * frame.el (set-frame-font): New arg ALL-FRAMES.
14581 * menu-bar.el (menu-set-font): Use set-frame-font.
14583 * faces.el (face-spec-reset-face): Don't apply unspecified
14584 attribute values to the default face.
14586 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14588 * progmodes/cwarn.el (cwarn): Remove dead link.
14589 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14590 Remove * from defcustom docstrings.
14591 (turn-on-cwarn-mode): Make obsolete.
14592 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14593 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14595 2012-01-31 Glenn Morris <rgm@gnu.org>
14597 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14598 Fix :variable handling of mode a symbol not equal to modefun.
14599 Allow named functions to be used as the cdr of :variable.
14601 2012-01-30 Glenn Morris <rgm@gnu.org>
14603 * emacs-lisp/authors.el (authors-fixed-entries):
14604 Remove reference to deleted file rnewspost.el.
14606 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14608 * window.el (window-with-parameter): Remove unused variable `windows'.
14609 (window--side-check): Remove unused variable `code'.
14610 (window--resize-siblings): Remove unused variable `first'.
14611 (adjust-window-trailing-edge): Remove unused variable `failed'.
14612 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14613 Use `let', not `let*'.
14614 (balance-windows-2): Remove unused variable `found'.
14615 (window--state-put-2): Remove unused variable `splits'.
14616 (window-state-put): Remove unused variable `selected'.
14617 (same-window-p): Use `string-match-p'.
14618 (display-buffer-assq-regexp): Remove unused variable `value'.
14619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14620 Mark argument ALIST as ignored.
14621 (pop-to-buffer): Remove unused variable `old-window'.
14623 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14625 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14626 and .lzma compressed files.
14628 2012-01-29 Chong Yidong <cyd@gnu.org>
14630 * frame.el (window-system-default-frame-alist): Doc fix.
14632 * dynamic-setting.el (font-setting-change-default-font): Don't
14633 change the default face if SET-FONT argument is non-nil (Bug#9982).
14635 2012-01-29 Samuel Bronson <naesten@gmail.com>
14637 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14639 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14641 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14642 breakpoints in files outside current directory (Bug#6098).
14644 2012-01-29 Chong Yidong <cyd@gnu.org>
14646 * progmodes/python.el: Require ansi-color at top-level.
14648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14649 Define and use in Emacs Lisp mode (Bug#9360).
14650 (lisp-mode-abbrev-table): Add doc.
14651 (lisp-mode-variables): Don't set local-abbrev-table.
14652 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14654 2012-01-28 Roland Winkler <winkler@gnu.org>
14656 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14658 2012-01-28 Roland Winkler <winkler@gnu.org>
14660 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14661 (bibtex-set-dialect): Use it. Either set global values of
14662 dialect-dependent variables or bind these variables buffer-locally
14664 (bibtex-mode): Call bibtex-set-dialect via
14665 hack-local-variables-hook.
14666 (bibtex-dialect): Update docstring.
14667 Add safe-local-variable predicate.
14668 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14669 bibtex-set-dialect.
14670 (bibtex-mode-map): Define menu for each dialect.
14671 (bibtex-entry): Fix docstring.
14673 2012-01-28 Chong Yidong <cyd@gnu.org>
14675 * eshell/esh-arg.el (eshell-quote-argument): New function.
14677 * eshell/esh-ext.el (eshell-invoke-batch-file):
14678 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14679 first arg to eshell-parse-command (Bug#10523).
14681 2012-01-28 Drew Adams <drew.adams@oracle.com>
14683 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14684 `default-directory' is non-nil.
14686 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14688 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14689 line that displays system-configuration-options. (Bug#9924)
14691 2012-01-28 Drew Adams <drew.adams@oracle.com>
14693 * descr-text.el (describe-char): Show information about POS, in
14694 addition to information about the character at POS. Improve and
14695 update the doc string. Change "code point" to "code point in
14696 charset", to avoid confusion with the character's Unicode code
14697 point shown above that. (Bug#10129)
14699 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14701 * descr-text.el (describe-char): Show the raw character, not only
14702 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14703 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14706 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14708 * emacs-lisp/package.el (package-install):
14709 Run package-refresh-contents if there is no archive yet (Bug#9798).
14711 2012-01-28 Chong Yidong <cyd@gnu.org>
14713 * emacs-lisp/package.el (package-maybe-load-descriptor):
14714 New function, split from package-maybe-load-descriptor.
14715 (package-maybe-load-descriptor): Use it.
14716 (package-download-transaction): Fully load required packages
14717 inside the loop, so that `require' calls work (Bug#10593).
14718 (package-install): No need to call package-initialize now.
14720 2012-01-28 Chong Yidong <cyd@gnu.org>
14722 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14724 * tooltip.el (tooltip-mode): Doc fix.
14725 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14727 * frame.el (set-cursor-color): Doc fix (Bug#352).
14729 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14730 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14732 * cus-edit.el (custom-buffer-create-internal): Fix search button
14733 action (Bug#10542).
14734 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14736 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14738 * dired.el (dired-mark-files-regexp):
14739 Include any subdirectory components. (Bug#10445)
14741 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14743 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14744 Handle [host]:port syntax. (Bug#10533)
14746 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14748 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14750 2012-01-26 Glenn Morris <rgm@gnu.org>
14752 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14753 * term.el (term-raw-escape-map): Use Control-X-prefix.
14754 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14756 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14758 * window.el (window-state-get, window--state-get-1): Don't deal
14759 with fixed-sizeness of windows. Simplify code.
14761 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14763 * window.el (window--state-get-1, window--state-put-2):
14764 Don't save and restore the mark.
14766 2012-01-25 Chong Yidong <cyd@gnu.org>
14768 * custom.el (custom-variable-p): Doc fix.
14770 2012-01-25 Glenn Morris <rgm@gnu.org>
14772 * dired.el (dired-goto-file): Handle some of the more common
14773 characters that `ls -b' escapes. (Bug#10596)
14775 * progmodes/compile.el (compilation-next-error-function):
14776 Respect compilation-first-column in the "*compilation*" buffer.
14777 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14779 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14781 2012-01-24 Glenn Morris <rgm@gnu.org>
14783 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14785 2012-01-24 Julien Danjou <julien@danjou.info>
14787 * color.el (color-rgb-to-hsl): Fix value computing.
14788 (color-hue-to-rgb): New function.
14789 (color-hsl-to-rgb): New function.
14790 (color-clamp, color-saturate-hsl, color-saturate-name)
14791 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14792 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14794 2012-01-24 Glenn Morris <rgm@gnu.org>
14796 * vc/vc-rcs.el (vc-rcs-create-tag):
14797 * vc/vc-sccs.el (vc-sccs-create-tag):
14798 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14800 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14802 * eshell/esh-util.el (eshell-read-hosts-file):
14803 Skip comment lines. (Bug#10549)
14805 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14807 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14809 * subr.el (display-delayed-warnings): Doc fix.
14810 (collapse-delayed-warnings): New function to collapse identical
14812 (delayed-warnings-hook): Add it.
14814 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14816 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14818 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14819 (tramp-default-user-alist): Don't add "pscp".
14820 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14821 property "login-as", if set. (Bug#10530)
14823 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14825 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14826 "plink1" and "psftp". (Bug#10530)
14828 2012-01-21 Kenichi Handa <handa@m17n.org>
14830 * international/mule-cmds.el (prefer-coding-system): Show a
14831 warning message if the default value of file-name-coding-system
14834 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14836 * windmove.el (windmove-reference-loc):
14837 Fix windmove-reference-loc miscalculation.
14839 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14841 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14844 2012-01-21 Glenn Morris <rgm@gnu.org>
14846 * international/mule.el (auto-coding-alist): Add .tbz.
14848 * files.el (local-enable-local-variables): Doc fix.
14849 (inhibit-local-variables-regexps): Rename from
14850 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14851 Doc fix. Add some extensions from auto-coding-alist.
14852 (inhibit-local-variables-suffixes):
14853 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14854 (inhibit-local-variables-p):
14855 New function, extracted from set-auto-mode-1.
14856 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14857 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14858 (hack-local-variables): Doc fix. Make the mode-only case
14859 respect enable-local-variables and friends.
14860 Respect inhibit-local-variables-regexps for file-locals, but
14861 not for directory-locals.
14862 (set-visited-file-name):
14863 Take account of inhibit-local-variables-regexps.
14864 Whether it applies may change as the file name is changed.
14865 * jka-cmpr-hook.el (jka-compr-install):
14866 * jka-compr.el (jka-compr-uninstall):
14867 Update for inhibit-first-line-modes-suffixes name change.
14869 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14871 * help-macro.el (make-help-screen): Temporarily restore original
14872 binding for minor-mode-map-alist (Bug#10454).
14874 2012-01-19 Julien Danjou <julien@danjou.info>
14876 * color.el (color-name-to-rgb): Use the white color to find the max
14877 color component value and return correctly computed values.
14878 (color-name-to-rgb): Add missing float conversion for max value.
14880 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14882 * window.el (window--state-get-1, window-state-get): Do not use
14883 special state value for window-persistent-parameters.
14884 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14885 (window--state-put-2): Reset all window parameters to nil before
14886 assigning values of persistent parameters.
14888 2012-01-18 Alan Mackenzie <acm@muc.de>
14890 Eliminate sluggishness and hangs in fontification of "semicolon
14893 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14894 Change value 10000 -> 3000.
14895 (c-state-safe-place): Reformulate so it doesn't stack up an
14896 infinite number of wrong entries in c-state-nonlit-pos-cache.
14897 (c-determine-limit-get-base, c-determine-limit): New functions to
14898 determine backward search limits disregarding literals.
14899 (c-find-decl-spots): Amend commenting.
14900 (c-cheap-inside-bracelist-p): New function which detects "={".
14902 * progmodes/cc-fonts.el
14903 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14905 (c-font-lock-declarations): Fix an occurrence of point being
14906 undefined. Check additionally for point being in a bracelist or
14907 near a macro invocation without a semicolon so as to avoid a
14908 fruitless time consuming search for a declarator. Give a more
14909 precise search limit for declarators using the new
14912 2012-01-18 Glenn Morris <rgm@gnu.org>
14914 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14915 (set-auto-mode): Doc fixes.
14917 2012-01-17 Glenn Morris <rgm@gnu.org>
14919 * isearch.el (search-nonincremental-instead): Fix doc typo.
14921 * dired.el (dired-insert-directory): Handle newlines in directory name.
14922 (dired-build-subdir-alist): Unescape newlines in directory name.
14924 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14926 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14927 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14928 (tramp-action-terminal): Use it. (Bug#10530)
14930 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14932 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14934 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14936 * window.el (window-state-ignored-parameters): Remove variable.
14937 (window--state-get-1): Rename argument MARKERS to IGNORE.
14938 Handle persistent window parameters. Make copy of clone-of
14939 parameter only if requested. (Bug#10348)
14940 (window--state-put-2): Install a window parameter only if it has
14941 a non-nil value or an existing parameter shall be overwritten.
14943 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14945 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14947 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14949 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14950 don't pass the (nil) value of `upnode' to string-match.
14952 2012-01-14 Chong Yidong <cyd@gnu.org>
14954 * startup.el (command-line): Fix X resource class for cursorColor.
14955 Fix values recognized by the cursorBlink resource.
14957 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14959 * epg.el (epg--make-temp-file): Avoid permission race condition
14960 when running on old Emacs versions (bug#10403).
14962 2012-01-14 Glenn Morris <rgm@gnu.org>
14964 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14966 2012-01-13 Alan Mackenzie <acm@muc.de>
14968 Fix filling for when filladapt mode is enabled.
14970 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14971 c-mask-paragraph, pass in `fill-paragraph' rather than
14972 `fill-region-as-paragraph'. (This is a reversion of a previous
14974 * progmodes/cc-mode.el (c-basic-common-init):
14975 Make fill-paragraph-handle-comment buffer local and set it to nil.
14977 2012-01-13 Glenn Morris <rgm@gnu.org>
14979 * dired.el (dired-switches-escape-p): New function.
14980 (dired-insert-directory): Use dired-switches-escape-p.
14981 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14983 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14985 2012-01-12 Glenn Morris <rgm@gnu.org>
14987 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14988 changes in adaptive-fill-regexp. (Bug#10276)
14990 2012-01-11 Alan Mackenzie <acm@muc.de>
14992 Fix Emacs bug #10463 - put `widen's around the critical spots.
14994 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14995 widen around each invocation of c-state-pp-to-literal. Remove an
14996 unused let variable.
14998 2012-01-11 Glenn Morris <rgm@gnu.org>
15000 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
15003 2012-01-10 Chong Yidong <cyd@gnu.org>
15005 * net/network-stream.el (network-stream-open-starttls):
15006 Avoid emitting a confusing error message when the server gives a bad
15007 response to the capability command.
15009 2012-01-10 Glenn Morris <rgm@gnu.org>
15011 * mail/unrmail.el (unrmail): Tweak previous change.
15013 2012-01-09 Chong Yidong <cyd@gnu.org>
15015 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
15017 2012-01-08 Alan Mackenzie <acm@muc.de>
15019 Optimize font locking in long enum definitions.
15021 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
15022 arm to a cond form to handle enums.
15023 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
15024 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
15026 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
15028 * files.el (move-file-to-trash): Preserve default file modes on error.
15031 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15033 * faces.el (set-face-attribute): Clarify the meaning of the nil
15036 * subr.el (with-selected-frame): Mention that the selected frame
15037 is restored (bug#9980).
15039 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
15042 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
15043 (password-read): Don't autoload unused function.
15045 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
15047 * progmodes/which-func.el (which-func-mode): Turn into a
15048 non-interactive function and mark as obsolete (bug#10428).
15050 2012-01-06 Chong Yidong <cyd@gnu.org>
15052 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15053 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15054 functions, along with 1 and -1.
15056 2012-01-06 Eli Zaretskii <eliz@gnu.org>
15058 * time.el (display-time-load-average)
15059 (display-time-default-load-average): Doc fixes. See the thread
15061 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15064 2012-01-06 Glenn Morris <rgm@gnu.org>
15066 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15067 has no messages. (Bug#10377)
15069 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15070 than Info-edit. (Bug#10385)
15072 * time.el (display-time-load-average, display-time-next-load-average):
15075 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15076 local setting of buffer-read-only to the input buffer. (Bug#10419)
15078 * calendar/calendar.el (calendar-mode):
15079 Locally set scroll-margin to 0. (Bug#10379)
15081 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
15083 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15085 2012-01-05 Glenn Morris <rgm@gnu.org>
15087 * eshell/em-unix.el (diff-no-select): Autoload it.
15088 (eshell/diff): Use diff-no-select. (Bug#10420)
15090 2012-01-05 Chong Yidong <cyd@gnu.org>
15092 * shell.el (shell-dynamic-complete-functions): Revert last change.
15093 (shell-command-completion-function): New function.
15094 (shell-completion-vars): Use it to implement
15095 shell-completion-execonly (Bug#10417).
15097 * custom.el (enable-theme): Don't set custom-safe-themes.
15099 * cus-theme.el (custom-theme-merge-theme):
15100 Ignore custom-enabled-themes and custom-safe-themes.
15102 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15104 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15105 first prompt in `sql-interacive-mode'.
15106 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
15108 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
15109 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15110 context of original buffer. Invoke `sql-login-hook'.
15112 2012-01-04 Eli Zaretskii <eliz@gnu.org>
15114 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15115 letters in cite-prefix.
15117 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15119 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15121 2012-01-03 Chong Yidong <cyd@gnu.org>
15123 * shell.el (shell-dynamic-complete-functions):
15124 Put pcomplete-completions-at-point, so as to try
15125 comint-filename-completion first (Bug#10417).
15127 2012-01-02 Richard Stallman <rms@gnu.org>
15129 * battery.el (battery-status-function):
15130 Detect when to use battery-yeeloong-sysfs.
15131 (battery-echo-area-format): Add string for Yeeloong.
15132 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15133 (battery-yeeloong-sysfs): New function.
15135 2012-01-02 Chong Yidong <cyd@gnu.org>
15137 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15138 (dirtrack): Merge code for handling relative filenames in prompt
15139 from shell-dir-cookie-watcher.
15140 (dirtrack-debug-message): New arg to avoid excess format calls.
15142 * shell.el (shell-dir-cookie-re): Variable deleted.
15143 (shell-dir-cookie-watcher): Function deleted.
15144 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15145 with dirtrack-mode.
15147 2012-01-01 Eli Zaretskii <eliz@gnu.org>
15149 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15150 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
15153 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15155 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15157 2011-12-31 Eli Zaretskii <eliz@gnu.org>
15159 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15160 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15162 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15164 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15165 also for alternative shells.
15166 (tramp-open-connection-setup-interactive-shell): Check, whether
15167 the shell is a busybox.
15168 (tramp-send-command): Don't suppress multiple prompts for
15169 busyboxes, it hurts.
15171 2011-12-28 Chong Yidong <cyd@gnu.org>
15173 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15174 (gdb-get-source-file): Move mode line update to
15175 gdb-get-source-file (Bug#10087).
15177 2011-12-25 Chong Yidong <cyd@gnu.org>
15179 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15180 gud-gdb-marker-filter without taking it as an argument.
15181 (gud-gdb-run-command-fetch-lines): Caller changed.
15182 (gud-gdb-completion-function): New variable.
15183 (gud-gdb-completion-at-point): Use it.
15184 (gud-gdb-completions-1): Split from gud-gdb-completions.
15186 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15187 function as separate arguments.
15188 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15189 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15190 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15191 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15192 (gdb-stopped, def-gdb-auto-update-trigger)
15193 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15194 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15196 (gud-gdbmi-completions): New function.
15197 (gdb): Use it for generating the completion table.
15199 2011-12-24 Alan Mackenzie <acm@muc.de>
15201 Introduce a mechanism to widen the region used in context font
15202 locking. Use this to protect declarations from losing their contexts.
15204 * progmodes/cc-langs.el (c-before-font-lock-functions):
15205 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15206 (c-before-context-fontification-functions): New defvar, a list of
15207 functions to be run just before context (etc.) font locking.
15209 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15210 New, functionality extracted from
15211 c-neutralize-syntax-in-and-mark-CPP.
15212 (c-in-after-change-fontification): New variable.
15213 (c-after-change): Set c-in-after-change-fontification.
15214 (c-set-fl-decl-start): Rejig its interface, so it can be called
15215 from both after-change and context fontifying.
15216 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15218 (c-standard-font-lock-fontify-region-function): New variable.
15219 (c-font-lock-fontify-region): New function.
15221 2011-12-24 Juri Linkov <juri@jurta.org>
15223 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15226 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15228 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15229 existence of source file. (Bug#10325)
15231 2011-12-23 Alan Mackenzie <acm@muc.de>
15233 Fix unstable fontification inside templates.
15235 * progmodes/cc-langs.el (c-before-font-lock-functions):
15236 Newly created from the singular version. The (c c++ objc) entry now
15237 additionally has c-set-fl-decl-start. The other languages (apart
15238 from AWK) have that as a single entry.
15240 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15241 The functionality for "local" declarations has been extracted to
15242 c-set-fl-decl-start.
15244 * progmodes/cc-mode.el (c-common-init, c-after-change):
15245 Changes due to pluralisation of c-before-font-lock-functions.
15246 (c-set-fl-decl-start): New function, extracted from
15247 c-font-lock-enclosing-decls and enhanced.
15249 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15251 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15253 2011-12-22 Juri Linkov <juri@jurta.org>
15255 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15257 2011-12-22 Chong Yidong <cyd@gnu.org>
15259 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15261 2011-12-21 Drew Adams <drew.adams@oracle.com>
15263 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15265 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15267 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15269 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15271 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15272 highlighting and support. Fix up comments for capitalization.
15273 (cfengine-mode-debug): New var.
15274 (cfengine3-mode): Change the modeline indicator to "CFE3".
15275 (cfengine3-font-lock-keywords): Improve defun highlighting.
15276 (cfengine2-actions): Rename from `cfengine-actions'.
15277 (cfengine2-font-lock-keywords): Rename from
15278 `cfengine-font-lock-keywords'.
15279 (cfengine2-imenu-expression): Rename from
15280 `cfengine-imenu-expression'.
15281 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15282 (cfengine2-beginning-of-defun): Rename from
15283 `cfengine-beginning-of-defun'.
15284 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15285 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15286 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15287 modeline indicator to "CFE2".
15288 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15289 (cfengine-mode-abbrevs): Mark obsolete.
15291 2011-12-21 Chong Yidong <cyd@gnu.org>
15293 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15296 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15298 * window.el (window-normalize-buffer-to-display): Remove.
15299 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15301 2011-12-19 Chong Yidong <cyd@gnu.org>
15303 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15304 Don't signal an error in a predicate function; return non-nil.
15305 (vc-dir-mark-file): Move the error here.
15306 (vc-dir-mark-unmark): If acting on the region, keep going if one
15307 of the entries cannot be marked/unmarked.
15308 (vc-dir-mark-all-files): If current entry is a directory, mark
15309 only child files, as documented.
15311 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15313 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15314 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15317 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15319 * term/ns-win.el (ns-get-selection-internal)
15320 (ns-store-selection-internal): Declare.
15321 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15322 Declare as obsolete.
15323 (ns-get-pasteboard, ns-paste-secondary):
15324 Use ns-get-selection-internal.
15325 (ns-set-pasteboard, ns-copy-including-secondary):
15326 Use ns-store-selection-internal.
15328 2011-12-17 Chong Yidong <cyd@gnu.org>
15330 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15331 (vc-deduce-fileset): Doc fix.
15333 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15335 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15337 2011-12-13 Sam Steingold <sds@gnu.org>
15339 * man.el (Man-getpage-in-background): When running under a
15340 window-system, ignore $MANWIDTH and $COLUMNS.
15342 2011-12-15 Kenichi Handa <handa@m17n.org>
15344 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15345 (setup-ethiopic-environment-internal): Comment out key-binding for
15346 ethio-toggle-punctuation.
15348 2011-12-13 Alan Mackenzie <acm@muc.de>
15350 Add the switch statement to AWK Mode.
15352 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15353 "default" to the keywords regexp.
15355 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15356 expression as the rest.
15357 (c-nonlabel-token-key): Allow string literals for AWK.
15358 Refactor for the other modes.
15360 Large brace-block initialisation makes CC Mode slow: Fix.
15361 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15362 routines. Limit backward searching in c-font-lock-enclosing.decl.
15364 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15365 pp-state and literal type in addition to the limits.
15366 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15367 (c-state-literal-at): Use the above new defun.
15368 (c-slow-in-literal, c-fast-in-literal): Remove.
15369 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15371 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15372 being in a literal. Add a limit for backward searching.
15374 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15377 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15379 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15381 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15383 * window.el (delete-other-windows): Use correct frame in call to
15384 window-with-parameter.
15386 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15388 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15389 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15390 (makefile-gmake-statements, makefile-makepp-statements):
15391 Use it and add new makepp keywords.
15392 (makefile-makepp-font-lock-keywords): Add new patterns.
15393 (makefile-match-function-end): Match new [...] and [[...]].
15395 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15397 * ses.el (ses-call-printer-return, ses-cell-property-get)
15398 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15399 (ses-create-cell-variable, ses-reset-header-string)
15400 (ses-cell-set-formula, ses-repair-cell-reference-all)
15401 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15402 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15403 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15404 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15405 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15406 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15407 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15408 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15409 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15410 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15411 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15412 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15414 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15416 * ses.el: The overall change is to add cell renaming, that is
15417 setting fancy names for cell symbols other than name matching
15418 "\\`[A-Z]+[0-9]+\\'" regexp .
15419 (ses-create-cell-variable): New defun.
15420 (ses-relocate-formula): Relocate formulas only for cells the
15421 symbols of which are not renamed, i.e. symbols whose names do not
15422 match regexp "\\`[A-Z]+[0-9]+\\'".
15423 (ses-relocate-all): Relocate values only for cells the symbols of
15424 which are not renamed.
15425 (ses-load): Create cells variables as the (ses-cell ...) are read,
15426 in order to check row col consistency with cell symbol name only
15427 for cells that are not renamed.
15428 (ses-replace-name-in-formula): New defun.
15429 (ses-rename-cell): New defun.
15431 2011-12-11 Chong Yidong <cyd@gnu.org>
15433 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15434 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15436 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15438 * window.el (other-window): Fix docstring.
15440 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15442 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15443 `from' or `to' address before taking its substring.
15444 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15445 encoded name is chopped in the middle of the encoded string, and
15446 thus displayed encoded.
15448 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15450 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15452 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15454 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15455 to use texinfo-update-node and commands that call it if the
15456 Texinfo file uses @node lines without next/prev/up pointers.
15457 Correct outdated description about texinfo-master-menu.
15458 (texinfo-all-menus-update, texinfo-master-menu)
15459 (texinfo-update-node, texinfo-every-node-update)
15460 (texinfo-multiple-files-update): Doc fix. Warn against updating
15461 all the @node lines.
15462 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15463 argument is numeric. Explain better in the doc string what the
15464 function really does.
15465 (texinfo-insert-master-menu-list): Improve the error message
15466 displayed if there's no menu in the Top node.
15467 (Bug#2975) See also this thread:
15468 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15470 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15472 * speedbar.el (speedbar-supported-extension-expressions):
15473 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15475 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15477 * printing.el (pr-mode-alist):
15478 * simple.el (filter-buffer-substring-functions)
15479 (completion-list-insert-choice-function):
15480 * window.el (window-with-parameter, window-atom-root)
15481 (window-sides-slots, window-size-fixed, window-min-delta)
15482 (window-max-delta, window--resize-mini-window)
15483 (window--resize-child-windows-normal, window-tree)
15484 (delete-other-windows, quit-window, split-window)
15485 (display-buffer-record-window, special-display-buffer-names)
15486 (special-display-regexps, special-display-popup-frame)
15487 (same-window-p, split-window-sensibly)
15488 (display-buffer-overriding-action, display-buffer-alist)
15489 (display-buffer-base-action, display-buffer, switch-to-buffer)
15490 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15491 (fit-window-to-buffer, recenter-positions)
15492 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15493 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15494 and remove unneeded backslashes in docstrings.
15496 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15498 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15500 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15501 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15503 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15504 when reading the makefile (bug#10116).
15506 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15508 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15511 2011-12-06 Glenn Morris <rgm@gnu.org>
15513 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15515 2011-12-06 Chong Yidong <cyd@gnu.org>
15517 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15519 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15521 * textmodes/table.el (table-shorten-cell): Fix typo.
15523 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15525 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15527 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15529 * descr-text.el (describe-char): Fix display of strong
15530 right-to-left characters and directional embeddings and overrides.
15532 * simple.el (what-cursor-position): Fix display of codepoints of
15533 strong right-to-left characters.
15535 2011-12-05 Chong Yidong <cyd@gnu.org>
15537 * faces.el (read-color): Doc fix.
15539 2011-12-05 Glenn Morris <rgm@gnu.org>
15541 * align.el (align--set-marker): Add doc-string.
15542 Don't try to move something that is not a marker. (Bug#10216)
15544 2011-12-04 Glenn Morris <rgm@gnu.org>
15546 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15547 overly zealous deletion of trailing whitespace.
15549 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15551 * server.el (server-delete-client): On Windows, do not try to delete
15553 (server-process-filter): On Windows, treat requests for a tty frame as
15554 if they were for a GUI frame if the running server is in GUI mode.
15556 2011-12-03 Glenn Morris <rgm@gnu.org>
15558 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15560 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15562 * electric.el: Streamline electric-indent's hook.
15563 (electric-indent-chars): Revert to simple list.
15564 (electric-indent-functions): New var.
15565 (electric-indent-post-self-insert-function): Use it.
15567 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15568 there's no inferior buffer (bug#10196).
15569 (prolog-consult-compile): Don't use toggle-read-only.
15571 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15573 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15574 interrupt. (Bug#10187)
15576 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15578 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15581 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15584 2011-12-02 Juri Linkov <juri@jurta.org>
15586 * info.el (Info-search): Display "end of manual" when Isearch
15587 reaches the end of single-file Info manual. (Bug#9918)
15589 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15591 * isearch.el (isearch-message-prefix): Run the input method part
15592 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15594 2011-12-02 Juri Linkov <juri@jurta.org>
15596 * isearch.el (isearch-occur): Use `word-search-regexp' for
15598 (isearch-search-and-update): Add condition for `isearch-word' and
15599 call `word-search-regexp'. (Bug#10145)
15601 2011-12-01 Glenn Morris <rgm@gnu.org>
15603 * eshell/em-hist.el (eshell-hist-initialize):
15604 Handle eshell-history-size nil and HISTSIZE set or unset.
15605 (eshell-history-file-name, eshell-history-size): Fix custom type.
15607 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15609 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15611 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15613 * progmodes/verilog-mode.el (verilog-pretty-expr):
15614 Rework verilog-pretty-expr to handle new assignment operators in system
15615 verilog, such as += *= and the like.
15616 (verilog-assignment-operator-re): Regular expression to find the
15617 assigment operator in a verilog assignment.
15618 (verilog-assignment-operation-re): Regular expression to find an
15619 assignment statement for pretty-expr.
15620 (verilog-in-attribute-p): Query returns true if point is in an
15621 attribute context; used to skip these for expression line up from
15623 (verilog-in-parameter-p): Query returns true if point is in an
15624 parameter definition context; used to skip these for expression
15625 line up from pretty-expr.
15626 (verilog-in-parenthesis-p): Query returns true if point is in a
15627 parenthetical expression, specifically ( ) but not [ ] or { };
15628 used by pretty-expr.
15629 (verilog-just-one-space): If there is no space, don't add one.
15630 (verilog-get-lineup-indent-2): Specifically skip just attribute
15631 contexts for expression lineup, rather than skipping all
15632 parenthetical expressions.
15633 (verilog-calculate-indent): Fix comment, and fix indent.
15634 (verilog-do-indent): Indent declarations in lists (suggested by
15636 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15638 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15641 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15643 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15644 parameters with embedded comments. Reported by Ray Stevens.
15645 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15646 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15647 Reported by Tim Holt.
15648 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15649 instantiated by upper module causing wrong expansion until AUTOed a
15650 second time. Reported by K C Buckenmaier.
15651 (verilog-diff-auto): Fix showing .* as a difference when
15652 `verilog-auto-star-save' off. Reported by Dan Dever.
15653 (verilog-auto-reset, verilog-read-always-signals)
15654 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15655 temporary signals in reset list if
15656 verilog-auto-reset-blocking-in-non is nil, and match assignment
15657 style to each signal's assignment type, bug381.
15658 Reported by Thomas Esposito.
15659 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15660 (verilog-uvm-statement-re): Support UVM indentation and
15661 highlighting, with old OVM keywords only.
15662 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15663 Support AUTOTIEOFF creating non-wire data types.
15664 Suggested by Jonathan Greenlaw.
15665 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15666 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15667 (verilog-inject-sense, verilog-read-inst-pins)
15668 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15669 Fix mismatching parenthesis inside commented out code when deleting
15670 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15671 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15672 non-numeric vector width. Reported by Alex Reed.
15673 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15674 detecting signals with parameter widths. Reported by Alex Reed.
15675 (verilog-auto-delete-trailing-whitespace):
15676 With `verilog-auto-delete-trailing-whitespace' remove trailing
15677 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15678 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15679 Fix verilog-scan-cache corruption when running user AUTO expansion
15680 hooks that call indentation routines.
15681 (verilog-simplify-range-expression): Fix typo ignoring lower case
15683 (verilog-delete-auto): Fix delete-autos to also remove user created
15684 automatics, as long as they start with AUTO.
15685 (verilog-batch-diff-auto, verilog-diff-auto)
15686 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15687 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15688 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15689 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15690 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15691 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15692 is disabled and its cache will get corrupt, causing AUTOS not to
15693 expand. Instead use only -quick functions.
15694 (verilog-scan-region): Fix scanning over escaped quotes.
15695 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15696 (verilog-re-search-backward-quick)
15697 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15698 related functions now ignore strings, to fix misparsing of strings
15699 with magic comments embedded in them.
15700 (verilog-read-auto-template):
15701 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15702 Reported by Brad Dobbie.
15703 (verilog-read-auto-template):
15704 Fix 'verilog-auto-inst-template-numbers' with comments.
15705 Reported by Brad Dobbie.
15706 (verilog-auto-inst, verilog-auto-inst-param)
15707 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15708 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15709 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15710 debugging templates without merge conflicts, bug357.
15711 Reported by Brad Dobbie.
15712 (verilog-read-auto-template):
15713 Fix verilog-auto-inst-template-numbers with multiple templates.
15714 Reported by Brad Dobbie.
15715 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15716 abbrevs so user won't be asked to save.
15717 (verilog-read-auto-lisp-present): Fix to start at beginning of
15718 buffer in case called outside of verilog-auto.
15719 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15720 to "X-2". Reported by Matthew Myers.
15721 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15722 all inputs from module templates. Reported by Leith Johnson.
15723 (verilog-module-inside-filename-p): Fix locating programs as with
15725 (verilog-auto-inst-port): Fix vl-width expressions when using
15726 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15727 (verilog-decls-get-regs, verilog-decls-get-signals,
15728 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15729 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15730 verilog-read-decls): Combine reg and wire structures into one var
15731 structure to represent SystemVerilog concepts.
15732 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15733 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15734 (verilog-auto-wire-type, verilog-insert-definition):
15735 Add verilog-auto-wire-type and AUTOLOGIC to support using
15736 SystemVerilog "logic" keyword instead of "wire"/"reg".
15737 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15738 to declares outputs that also have assignments (presumably in an
15739 ifdef or generate if so there's not a driver conflict).
15740 Reported by Matthew Myers.
15741 (verilog-auto-declare-nettype, verilog-insert-definition):
15742 Add verilog-auto-declare-nettype to fix declarations using
15743 `default_nettype none. Reported by Julian Gorfajn.
15744 (verilog-read-always-signals-recurse, verilog-read-decls)
15745 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15746 malformed end statement, bug325. Reported by Joshua Wise and
15748 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15749 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15750 when expanding .* in interfaces, bug320.
15751 Reported by Pierre-David Pfister.
15752 (verilog-read-module-name): Fix import statements between module
15753 name and open parenthesis, bug317.
15754 Reported by Pierre-David Pfister.
15755 (verilog-simplify-range-expression): Fix simplification of
15756 multiplications inside AUTOWIRE connections, bug303.
15757 (verilog-auto-inst-port): Support parameter expansion in
15758 multidimensional arrays.
15759 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15760 after "assert property". Reported by Julian Gorfajn.
15761 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15762 with multiplication, bug303.
15763 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15764 Reported by Jan Frode Lonnum.
15766 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15768 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15769 (hfy-shell-file-name, hfy-shell):
15770 * international/fontset.el (x-decompose-font-name): Fix typos.
15772 2011-11-29 Ken Brown <kbrown@cornell.edu>
15774 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15775 (gdb-version): Remove defvar.
15776 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15777 (gdb-gud-context-command, gdb-non-stop-handler)
15778 (gdb-current-context-command, gdb-stopped): Use it.
15779 (gdb-init-1): Enable pretty printing here.
15780 (gdb-non-stop-handler): Don't enable pretty-printing here.
15781 Check to see if the target supports non-stop mode; if not, turn off
15782 non-stop mode. Use the following.
15783 (gdb-check-target-async): New defun.
15784 (gud-watch, gdb-stopped): Fix whitespace.
15785 (gdb-get-source-file): Don't try to display the source file if
15786 `gdb-main-file' is nil.
15788 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * align.el: Try to generate fewer markers (bug#10047).
15791 (align--set-marker): New macro.
15792 (align-region): Use it.
15794 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15796 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15798 2011-11-29 Chong Yidong <cyd@gnu.org>
15800 * indent.el (indent-for-tab-command, indent-according-to-mode):
15802 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15804 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15806 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15807 aware of remote file names. (Bug#10124)
15809 2011-11-29 Chong Yidong <cyd@gnu.org>
15811 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15813 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15815 * files.el (find-file): Don't use force-same-window (bug#10144).
15816 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15817 use pop-to-buffer if the selected window can't be used.
15818 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15820 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15822 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15825 2011-11-28 Chong Yidong <cyd@gnu.org>
15827 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15829 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15831 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15832 gdb-get-source-file-list on gdb-create-source-file-list.
15834 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15836 * whitespace.el (whitespace-newline): Use a different foreground
15837 color for 16-color light-background displays.
15839 2011-11-24 Chong Yidong <cyd@gnu.org>
15841 * window.el (display-buffer--special-action): Doc fix.
15843 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15845 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15846 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15847 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15848 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15849 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15850 (avl-tree-stack-first):
15851 * emacs-lisp/cconv.el (cconv--analyse-use):
15852 * net/gnutls.el (gnutls-negotiate): Fix typos.
15854 2011-11-24 Glenn Morris <rgm@gnu.org>
15856 * lpr.el (lpr-windows-system, lpr-lp-system):
15857 * mail/binhex.el (binhex-begin-line):
15858 * progmodes/grep.el (grep-history, grep-find-history):
15859 * textmodes/flyspell.el:
15860 * vc/pcvs-defs.el (cvs-global-menu):
15861 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15862 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15863 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15865 * net/tls.el: Fix case of "GnuTLS".
15867 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15869 * version.el (emacs-build-system): Give it a doc-string.
15871 2011-11-24 Juri Linkov <juri@jurta.org>
15873 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15875 2011-11-24 Glenn Morris <rgm@gnu.org>
15877 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15878 if called on a non-mime message just toggle the headers. (Bug#8006)
15880 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15882 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15883 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15884 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15885 (allout-rebullet-heading, allout-open-sibtopic)
15886 (allout-toggle-current-subtree-encryption)
15887 (allout-toggle-subtree-encryption, allout-encrypt-string)
15888 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15889 (allout-distinctive-bullets-string, allout-auto-activation):
15890 * window.el (window-normalize-buffer-to-display):
15891 * progmodes/verilog-mode.el (verilog-batch-indent):
15892 * textmodes/bibtex.el (bibtex-field-braces-opt)
15893 (bibtex-field-strings-opt):
15894 * vc/cvs-status.el (cvs-tree-merge):
15897 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15899 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15900 `non-essential' to t, in order to avoid remote connections.
15902 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15904 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15905 On MS-DOS and MS-Windows, compare with loaddefs.el
15906 case-insensitively.
15908 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15910 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15912 2011-11-23 Glenn Morris <rgm@gnu.org>
15914 * paths.el (rmail-file-name): Reformat the doc-string so that it
15917 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15918 (rmail-auto-file): Ignore case in the "special" field names,
15919 as mail-fetch-field does for all others.
15921 * mail/rmail.el (rmail-forward):
15922 * mail/rmailkwd.el (rmail-set-label):
15923 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15924 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15926 * mail/rmail.el (rmail-current-message): Doc fix.
15928 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15930 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15934 2011-11-22 Glenn Morris <rgm@gnu.org>
15936 * mail/rmailmm.el (test-rmail-mime-handler)
15937 (test-rmail-mime-bulk-handler)
15938 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15940 2011-11-21 Juri Linkov <juri@jurta.org>
15942 * calc/calc.el (calc-read-key-sequence):
15943 Let-bind `input-method-function' to nil. (Bug#10018)
15945 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15947 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15948 Tell the caller that the next line needs recomputation, even
15949 though it doesn't start a sexp (bug#10094).
15951 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15955 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15958 Use force-same-window.
15960 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15962 * descr-text.el (describe-char-unicode-data):
15963 * json.el (json-string-escape):
15964 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15965 (Footnote-unicode, Footnote-style-p):
15966 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15968 2011-11-20 Chong Yidong <cyd@gnu.org>
15970 * window.el (replace-buffer-in-windows): Restore interactive spec.
15972 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15976 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15977 (byte-compile-global-not-obsolete-vars): New var.
15978 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15980 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15982 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15984 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15985 * progmodes/pascal.el (electric-pascal-equal):
15986 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15987 * xml.el (xml-substitute-special): Fix typos.
15989 2011-11-20 Glenn Morris <rgm@gnu.org>
15991 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15992 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15994 (rmail-decode-mime-charset): Mark as obsolete.
15996 * mail/rmailsum.el (rmail-message-regexp-p-1):
15997 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15998 Before using mime functions, check they are set. (Bug#10077)
16000 2011-11-19 Juri Linkov <juri@jurta.org>
16002 * info.el (Info-finder-find-node): Use `package--builtins' instead
16003 of `package-alist'. Use node names formed by the pattern "Keyword "
16004 and the keyword name.
16006 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16008 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
16010 2011-11-19 Juri Linkov <juri@jurta.org>
16012 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
16013 that calls `revert-buffer' on all Info buffers. (Bug#9915)
16014 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
16015 `old-history', `old-history-forward'. Add let-binding
16016 `window-selected'. Remove calls to `kill-buffer',
16017 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
16018 before calling `Info-find-node', so `Info-find-node-2' will reread
16019 the Info file. Restore window positions only when `window-selected'
16022 2011-11-19 Juri Linkov <juri@jurta.org>
16024 * isearch.el (isearch-lazy-highlight-new-loop):
16025 Remove condition `(not isearch-error)'. (Bug#9918)
16027 * misearch.el (multi-isearch-search-fun): Add condition
16028 `(not bound)' to ignore lazy-highlighting search.
16029 Add the search-failed message "end of multi" when the end of
16030 multi-sequence is reached. Uncapitalize the search-failed
16031 message "Repeat for next buffer".
16033 * info.el (Info-search): Add the search-failed message
16034 "end of the manual" when the end of the manual is reached
16037 2011-11-19 Juri Linkov <juri@jurta.org>
16039 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
16040 Use non-destructive `remove' instead of `delete' because
16041 `Info-history-list' stored to `Info-isearch-initial-history-list' in
16042 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
16044 2011-11-19 Juri Linkov <juri@jurta.org>
16046 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16047 to nil instead of binding `search-ring' and `regexp-search-ring'.
16050 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16052 * simple.el (line-move): Force movement by logical lines for any
16053 hscrolled window, not only when auto-hscroll-mode is on.
16054 (line-move-visual): Update doc string to that effect. (Bug#10076)
16056 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16058 * language/european.el (macintosh): Define as alias for mac-roman.
16060 2011-11-19 Eli Zaretskii <eliz@gnu.org>
16062 * mail/rmailmm.el (rmail-mime-display-header)
16063 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16064 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16065 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16066 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16067 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16069 (rmail-mime-entity-segment): To get past the tagline, move forward
16070 2 more lines, to account for the 2 empty lines that precede and
16071 follow the line with the buttons.
16072 (rmail-mime-update-tagline): Move one more line, to get past the
16073 empty line that follows the buttons in the tagline. (Bug#9520)
16075 2011-11-19 Martin Rudalics <rudalics@gmx.at>
16077 * window.el (window-max-delta-1, window-min-delta-1)
16078 (window-min-size-1, window-state-get-1, window-state-put-1)
16079 (window-state-put-2): Use "window--" prefix.
16081 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16083 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16084 (smie-warning-count): New var.
16085 (smie-set-prec2tab): Use it.
16086 (smie-bnf->prec2): Improve warnings. Add docstring.
16087 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16088 (smie-bnf--set-class): New function.
16089 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16092 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16093 (compilation-error-properties, compilation-move-to-column):
16094 Handle compilation-first-column while in the target buffer.
16096 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16097 Don't hardcode point-min==1.
16099 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16100 (eshell-rewrite-for-command): Remove workaround.
16101 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16102 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16103 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16105 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16107 2011-11-17 Glenn Morris <rgm@gnu.org>
16109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16110 Ignore buffer-local generated-autoload-file if it is the same
16111 as the global value. (Bug#10049)
16113 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
16115 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16116 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16117 (reftex-toc-previous-heading, reftex-toc-max-level)
16118 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16119 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16120 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16121 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16122 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16123 (reftex-toc-rename-label, reftex-toc-visit-location)
16124 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16125 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16126 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16127 leaving "*toc*" only for references to the buffer.
16129 2011-11-17 Martin Rudalics <rudalics@gmx.at>
16131 * window.el (window-resize, delete-window, split-window):
16132 Replace window-splits by window-combination-resize.
16133 * cus-start.el (window-splits): Replace by window-combination-resize.
16135 2011-11-17 Glenn Morris <rgm@gnu.org>
16137 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16138 Make bash entry derive from sh entry, not shell entry.
16140 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
16142 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16145 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16147 * menu-bar.el (menu-bar-file-menu):
16148 * printing.el (pr-ps-utility):
16149 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16150 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16151 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16152 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16153 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16154 (icalendar--convert-cyclic-to-ical)
16155 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16156 (icalendar--convert-ical-to-diary)
16157 (icalendar--convert-recurring-to-diary)
16158 (icalendar--convert-non-recurring-all-day-to-diary)
16159 (icalendar-import-format-sample):
16160 * progmodes/idlw-shell.el (idlwave-shell-mode):
16161 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16162 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16163 (vhdl-ps-print-init): Fix typos.
16165 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16167 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16168 FSF and collapse date sequence, obscure author/maintainer email address
16169 better, remove extra version line, track relocation of author's webpage.
16171 * progmodes/python.el (python-pdbtrack-input-prompt)
16172 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16173 regular python pdb prompts. Adjustments shamelessly taken exactly as
16174 suggested in EmacsWiki page (tiny change):
16175 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16177 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16179 * expand.el (expand-pos, expand-index, expand-point):
16180 Remove redundant info from docstring.
16181 (expand-add-abbrevs): Doc fix.
16182 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16183 (expand-sample-perl-mode-expand-list): Fix typos.
16185 * net/dbus.el (dbus-event-member-name):
16186 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16187 * term/pc-win.el (msdos-create-frame-with-faces):
16188 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16190 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16192 * window.el (split-window, window-state-get-1)
16193 (window-state-put-1, window-state-put-2): Rename occurrences of
16194 window-nest to window-combination-limit.
16195 * cus-start.el (window-nest): Rename to window-combination-limit.
16197 2011-11-16 Chong Yidong <cyd@gnu.org>
16199 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16200 regexp (Bug#10033).
16202 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16204 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16205 `completing-read' will remove *Completions* and will preserve
16206 current-buffer for us.
16207 (tmm-add-prompt): Users of *Completions* will always (re)set its
16209 (tmm-old-comp-map): Remove.
16211 2011-11-16 Glenn Morris <rgm@gnu.org>
16213 * mail/rmailedit.el: Require rmailmm when compiling.
16214 (rmail-old-mime-state): New declaration.
16215 (rmail-edit-current-message): If editing a mime message,
16216 edit the "raw" message from the mbox buffer.
16217 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16219 2011-11-15 Glenn Morris <rgm@gnu.org>
16221 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16222 which wasn't being used. Add optional arg to force given state.
16223 (rmail-mime): Add optional arg to force given state.
16225 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16227 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16228 * frame.el (display-mm-dimensions-alist):
16229 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16230 (outline-move-subtree-down):
16231 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16232 (newsticker--treeview-do-get-node):
16233 * net/quickurl.el (quickurl-list-buffer-name):
16234 * progmodes/dcl-mode.el (dcl-mode):
16235 * progmodes/gdb-mi.el (gdb-mapcar*):
16236 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16238 2011-11-15 Glenn Morris <rgm@gnu.org>
16240 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16241 in a boolean sense, so just make it a boolean, and fix the doc.
16242 (rmail-show-mime-function, rmail-mime-feature)
16243 (rmail-require-mime-maybe): Doc fixes.
16244 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16246 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16248 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16250 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16251 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16252 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16253 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16255 2011-11-15 Glenn Morris <rgm@gnu.org>
16257 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16258 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16259 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16260 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16261 (rmail-mime, rmail-show-mime): Doc fixes.
16263 * term/ns-win.el (mode-line-frame-identification):
16264 Leave it alone. (Bug#10051)
16266 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16268 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16269 Handle empty buffers. (Bug#9978)
16271 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16273 * international/mule.el (define-charset):
16274 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16275 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16276 * progmodes/verilog-mode.el (verilog-backward-token):
16277 * textmodes/ispell.el (lookup-words):
16278 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16280 2011-11-14 Glenn Morris <rgm@gnu.org>
16282 * progmodes/executable.el
16283 (executable-make-buffer-file-executable-if-script-p):
16284 Handle file-modes returning nil.
16286 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16287 message - not necessary, and causes problems. (Bug#9831)
16289 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16291 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16293 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16294 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16295 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16297 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16299 * window.el (window-resize, delete-window): Use window-splits
16300 variable instead of function.
16301 (window-state-get-1, window-state-put-2, window-state-put):
16302 Don't deal with windows' splits status.
16304 2011-11-12 Glenn Morris <rgm@gnu.org>
16306 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16307 (apropos-documentation): Doc fixes.
16309 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16311 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16312 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16314 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16316 * electric.el (electric-indent-post-self-insert-function): Make it
16317 possible for a char to only indent in some circumstances.
16318 (electric-indent-mode): Simplify.
16320 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16322 * window.el (windows-with-parameter): Remove unused function.
16323 (windows-at-side): Rename to window-at-side-list.
16324 (window-check, window-atom-check, window-atom-check-1)
16325 (window-side-check, window-size-ignore, window-size-fixed-1)
16326 (window-in-direction-2): Prefix with "window--".
16327 (window-tree-1): Rename to window--subtree, fix doc-string.
16329 2011-11-11 Glenn Morris <rgm@gnu.org>
16331 * subr.el (eval-after-load): If FILE is already loaded,
16332 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16334 2011-11-10 Glenn Morris <rgm@gnu.org>
16336 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16337 Call svn via vc-svn-command rather than vc-do-command.
16338 (vc-svn-command): Add --non-interactive. (Bug#9993)
16339 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16341 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16342 Add toggle-read-only. (Bug#7292)
16343 * files.el (toggle-read-only): Mention that it should only
16344 be used interactively. (Bug#10006)
16346 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16348 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16349 Adjust regexp for OCaml warnings.
16351 * electric.el (electric-pair-post-self-insert-function): Let user
16352 turn it off buffer-locally (bug#9932).
16354 * progmodes/python.el (python-beginning-of-statement):
16355 Rewrite (bug#2703).
16357 * progmodes/compile.el: Better handle TABs (bug#9749).
16358 (compilation-internal-error-properties)
16359 (compilation-next-error-function): Obey the target buffer's
16360 compilation-error-screen-columns.
16362 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16364 * progmodes/meta-mode.el: Remove obsolete comments.
16365 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16366 Fix typos in docstrings.
16368 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16370 * window.el (window-size-fixed-p): Rewrite doc-string.
16371 (window-resizable-p): Rename to window--resizable-p. Update callers.
16372 (window--resizable): New function. Make all callers of
16373 window-resizable call window--resizable instead.
16374 (window-resizable): Rewrite in terms of window--resizable.
16376 2011-11-08 Glenn Morris <rgm@gnu.org>
16378 * progmodes/delphi.el (delphi-mode-syntax-table):
16379 Let define-derived-mode define a proper syntax table. (Bug#9994)
16381 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16383 * window.el: Stay away from defsubst.
16384 (window-list-no-nils): Remove.
16385 (window-state-get-1, window-state-get): Use backquote instead.
16387 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16389 * emacs-lisp/find-func.el (find-function-read):
16390 Fix incorrect use of default argument in `completing-read'.
16392 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16394 * window.el (display-buffer-function, special-display-function):
16395 Mention display-buffer-record-window but do not mention
16396 help-setup parameter in doc-strings.
16397 (window-min-delta): Fix doc-string typo.
16399 2011-11-08 Chong Yidong <cyd@gnu.org>
16401 * window.el (window-total-height, window-total-width): Doc fix.
16402 (window-body-size): Move from C.
16403 (window-body-height, window-body-width): Move to C.
16405 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16407 * window.el: Make special-display like display-buffer-alist (bug#9532).
16408 (display-buffer--special-action): New function, morphed
16409 from display-buffer--special.
16410 (display-buffer): Use it to handle special-display-buffers at higher
16411 priority (just after display-buffer-alist).
16412 (display-buffer-fallback-action, display-buffer--other-frame-action)
16413 (pop-to-buffer-same-window): Remove display-buffer--special.
16415 2011-11-07 Glenn Morris <rgm@gnu.org>
16417 * calendar/cal-menu.el (cal-menu-set-date-title):
16418 Do nothing if not in a calendar. (Bug#9976)
16420 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16422 * files.el (find-file): Always use selected-window.
16424 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16426 * window.el (window-combinations): Make WINDOW argument
16427 mandatory. Rewrite doc-string.
16428 (walk-window-subtree, window-atom-check, window-min-delta)
16429 (window-max-delta, window--resize-this-window)
16430 (window--resize-root-window-vertically, window-tree)
16431 (balance-windows, window-state-put): Rewrite doc-strings as to
16432 not mention the term "subwindow".
16433 (window--resize-subwindows-skip-p): Rename to
16434 window--resize-child-windows-skip-p.
16435 (window--resize-subwindows-normal): Rename to
16436 window--resize-child-windows-normal.
16437 (window--resize-subwindows): Rename to
16438 window--resize-child-windows.
16439 (window-or-subwindow-p): Rename to window--in-subtree-p.
16441 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16443 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16444 Ensure that mbox format messages end in two newlines (Bug#9974).
16446 2011-11-06 Chong Yidong <cyd@gnu.org>
16448 * window.el (window-combination-p): Function deleted; its
16449 side-effect is not used in any existing code.
16450 (window-combinations, window-combined-p): Call window-*-child
16453 2011-11-05 Chong Yidong <cyd@gnu.org>
16455 * window.el (window-valid-p): Rename from window-any-p.
16456 (window-size-ignore, window-state-get): Callers changed.
16457 (window-normalize-window): Rename from window-normalize-any-window.
16458 New arg LIVE-ONLY, replacing window-normalize-live-window.
16459 (window-normalize-live-window): Delete.
16460 (window-combination-p, window-combined-p, window-combinations)
16461 (walk-window-subtree, window-atom-root, window-min-size)
16462 (window-sizable, window-sizable-p, window-size-fixed-p)
16463 (window-min-delta, window-max-delta, window-resizable)
16464 (window-resizable-p, window-full-height-p, window-full-width-p)
16465 (window-current-scroll-bars, window-point-1, set-window-point-1)
16466 (window-at-side-p, window-in-direction, window-resize)
16467 (adjust-window-trailing-edge, maximize-window, minimize-window)
16468 (window-deletable-p, delete-window, delete-other-windows)
16469 (record-window-buffer, unrecord-window-buffer)
16470 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16471 (quit-window, split-window, window-state-put)
16472 (set-window-text-height, fit-window-to-buffer)
16473 (shrink-window-if-larger-than-buffer): Callers changed.
16475 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16477 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16478 rfc2047-decode-string.
16479 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16482 * window.el (window-body-height, window-body-width): Mention in
16483 the doc string that the return values are in frame's canonical
16486 2011-11-03 Alan Mackenzie <acm@muc.de>
16488 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16489 change in cc-engine.el.
16491 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16493 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16495 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16497 * window.el (quit-window): Call unrecord-window-buffer after
16498 showing another buffer in the window. (Bug#9937)
16499 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16501 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16503 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16504 Accept status with more than 9 shelves. (Bug#9935)
16505 Reported by Colin D Bennett <colin@gibibit.com>.
16507 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16509 * help.el (with-help-window): Don't reference
16510 temp-buffer-show-specifiers in doc-string.
16512 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16514 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16517 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16519 * whitespace.el: New version 13.2.2.
16520 (whitespace-newline-mode): Disable properly. Reported by Sarah
16523 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16525 * net/newst-treeview.el: Remove "Time-stamp".
16526 (newsticker--group-manage-orphan-feeds): Do not call
16527 newsticker--treeview-tree-update.
16528 (newsticker-treeview-update, newsticker-treeview):
16529 Call newsticker--treeview-tree-update if necessary.
16531 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16533 * window.el (window-iso-combination-p, window-iso-combined-p)
16534 (window-iso-combinations): Remove "iso-" infix.
16535 Suggested by Chong Yidong.
16536 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16537 (window-max-delta-1, window-resize, window--resize-siblings)
16538 (window--resize-this-window, adjust-window-trailing-edge)
16539 (split-window, balance-windows-1)
16540 (shrink-window-if-larger-than-buffer):
16541 * calendar/calendar.el (calendar-generate-window):
16542 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16544 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16546 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16547 in place (bug#9907).
16548 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16549 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16550 (eshell-structure-basic-command, eshell-rewrite-while-command)
16551 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16552 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16553 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16554 (eshell-do-pipelines-synchronously, eshell-eval-command):
16555 Use backquotes and prefer setq to set.
16556 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16557 (eshell-macrop): Use functionp.
16558 (eshell-do-eval): Handle multiple expressions in `while' body.
16560 2011-10-30 Chong Yidong <cyd@gnu.org>
16562 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16563 instead of set-mark (Bug#9810).
16565 2011-10-30 Chong Yidong <cyd@gnu.org>
16567 * window.el (split-window-below, split-window-right): Rename from
16568 split-window-above-each-other and split-window-side-by-side
16569 respectively. All callers changed.
16570 (split-window-sensibly, split-window-sensibly): Use them.
16571 (split-window-keep-point): Doc fix.
16573 * isearch.el: Add isearch-scroll property to split-window-below
16574 and split-window-right.
16576 * follow.el (follow-mode):
16577 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16578 * progmodes/ada-xref.el (ada-gdb-application):
16579 * emulation/vip.el (vip-buffer-in-two-windows):
16580 * image-dired.el (image-dired-dired-with-window-configuration):
16581 * dired-x.el (dired-do-find-marked-files):
16582 * dired.el (dired-pop-to-buffer):
16583 * bs.el (bs--show-with-configuration):
16584 * vc/emerge.el (emerge-setup-windows):
16585 * textmodes/two-column.el (2C-two-columns):
16586 * textmodes/reftex-toc.el (reftex-toc):
16587 * progmodes/gdb-mi.el (gdb-setup-windows):
16588 * progmodes/fortran.el (fortran-window-create):
16589 * net/newst-treeview.el (newsticker--treeview-window-init):
16590 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16591 * emulation/tpu-edt.el (tpu-gold-map):
16592 * emulation/crisp.el (crisp-mode-map):
16593 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16595 2011-10-29 Chong Yidong <cyd@gnu.org>
16597 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16599 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16601 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16602 forged Ispell output (Bug#7904).
16604 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16606 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16608 * doc-view.el: Avoid ugly errors about not finding nil.
16609 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16610 (doc-view-dvipdf-program, doc-view-unoconv-program)
16611 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16612 Avoid nil or absolute file name as default value.
16613 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16615 2011-10-28 Alan Mackenzie <acm@muc.de>
16617 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16619 2011-10-28 Alan Mackenzie <acm@muc.de>
16621 Amend the handling of c-beginning/end-of-defun in nested declaration
16624 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16625 cc-langs.el. Change it to a defcustom.
16627 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16630 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16631 Prevent "class foo : bar" being spuriously recognized as a label.
16633 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16634 Add parameter `inclusive' (to include enclosing braces in the region).
16635 (c-widen-to-enclosing-decl-scope): New function.
16636 (c-while-widening-to-decl-block): New macro.
16637 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16638 outward for defun boundaries, and correspondingly change symbol
16639 `respect-enclosure' to `go-outward'.
16640 (c-declaration-limits): Change algorithm to report only the "innermost"
16641 defun's boundaries.
16643 2011-10-28 Deniz Dogan <deniz@dogan.se>
16645 * net/rcirc.el (rcirc-mode): Use hard newlines.
16647 2011-10-28 Alan Mackenzie <acm@muc.de>
16649 Amend to indent and fontify macros "which include their own semicolon"
16650 correctly, using the "virtual semicolon" mechanism.
16652 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16654 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16655 Recode to scan one line at a time rather than having \n and \r
16656 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16657 (c-forward-label): Amend for virtual semicolons.
16658 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16660 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16661 of the new C macros.
16663 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16664 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16665 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16666 (c-opt-cpp-macro-define): Make into a full language variable.
16667 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16668 AWK Mode (including \n, \r) removed, no longer needed.
16670 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16671 Invoke c-make-macro-with-semi-re.
16673 * progmodes/cc-vars.el (c-macro-with-semi-re):
16674 (c-macro-names-with-semicolon): New variables.
16675 (c-make-macro-with-semi-re): New function.
16677 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16679 * vc/log-edit.el: Fill empty field rather than adding new one.
16680 (log-edit-add-field): New function.
16681 (log-edit-insert-changelog): Use it.
16683 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16685 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16687 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16689 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16690 (gdb--check-interpreter): New function.
16693 2011-10-27 Glenn Morris <rgm@gnu.org>
16695 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16696 (least-positive-float, least-negative-float)
16697 (least-positive-normalized-float, least-negative-normalized-float)
16698 (float-epsilon, float-negative-epsilon):
16699 Remove unnecessary declarations.
16701 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16702 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16703 (least-positive-float, least-negative-float)
16704 (least-positive-normalized-float, least-negative-normalized-float)
16705 (float-epsilon, float-negative-epsilon): Add doc-strings,
16706 based on those in cl.texi.
16708 * files.el (set-visited-file-name): If the major-mode changed,
16709 reload the local variables. (Bug#9796)
16711 2011-10-27 Chong Yidong <cyd@gnu.org>
16713 * subr.el (change-major-mode-after-body-hook): New hook.
16714 (run-mode-hooks): Run it.
16716 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16717 Use change-major-mode-before-body-hook.
16719 * simple.el (fundamental-mode):
16720 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16721 change introducing fundamental-mode-hook.
16723 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16725 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16727 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16729 * ido.el (ido-file-name-all-completions-1): Do not require
16730 tramp.el explicitly. (Bug#7583)
16732 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16734 * progmodes/octave-mod.el:
16735 * progmodes/octave-inf.el: Update maintainer.
16737 2011-10-26 Chong Yidong <cyd@gnu.org>
16739 * subr.el (with-wrapper-hook): Rewrite doc.
16741 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16743 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16744 filenames "/method:foo:". (Bug#9793)
16746 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16748 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16751 2011-10-24 Glenn Morris <rgm@gnu.org>
16753 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16755 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16757 * notifications.el: Add the requirement of a running D-Bus session
16758 bus to the Commentary.
16760 2011-10-24 Juri Linkov <juri@jurta.org>
16762 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16763 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16766 2011-10-24 Juri Linkov <juri@jurta.org>
16768 * info.el (Info-following-node-name-re): Add newline to the list
16769 of allowed characters for leading space. (Bug#9824)
16771 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16773 * progmodes/octave-inf.el (inferior-octave-mode-map):
16774 Fix C-c C-h binding.
16775 * progmodes/octave-mod.el (octave-help): Remove.
16777 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16779 Sync with Tramp 2.2.3.
16781 * net/tramp-cache.el (top): Pacify byte-compiler using
16782 `init-file-user' and `site-run-file'.
16784 * net/trampver.el: Update release number.
16786 2011-10-23 Chong Yidong <cyd@gnu.org>
16788 * files.el (toggle-read-only): Remove obsolete comment about
16791 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16792 for toggle-read-only. Note that this hasn't called vc-next-action
16793 since 2008-05-02, though it wasn't documented at the time.
16795 * vc/ediff-init.el (ediff-toggle-read-only-function):
16796 Use toggle-read-only.
16798 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16800 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16803 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16804 correct faulty logical expression.
16805 (c-parse-state-state, c-record-parse-state-state):
16806 (c-replay-parse-state-state): New defvar/defuns.
16807 (c-debug-parse-state): Use new functions.
16809 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16811 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16812 last fix. Use window-in-direction correctly.
16814 2011-10-21 Chong Yidong <cyd@gnu.org>
16816 * progmodes/idlwave.el (idlwave-mode):
16817 * progmodes/vera-mode.el (vera-mode): No need to set
16818 require-final-newline; that's done in prog-mode.
16819 Suggested by Stefan Monnier.
16821 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16823 * mouse.el (mouse-drag-window-above)
16824 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16825 (mouse-drag-mode-line-1, mouse-drag-header-line)
16826 (mouse-drag-vertical-line-rightward-window): Remove.
16827 (mouse-drag-line): New function.
16828 (mouse-drag-mode-line, mouse-drag-header-line)
16829 (mouse-drag-vertical-line): Call mouse-drag-line.
16830 * window.el (window-at-side-p, windows-at-side): New functions.
16832 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16834 * tar-mode.el (tar-grind-file-mode):
16835 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16837 2011-10-21 Chong Yidong <cyd@gnu.org>
16839 * progmodes/idlwave.el (idlwave-mode):
16840 * progmodes/vera-mode.el (vera-mode):
16841 Use mode-require-final-newline.
16843 2011-10-20 Glenn Morris <rgm@gnu.org>
16845 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16847 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16849 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16851 2011-10-20 Chong Yidong <cyd@gnu.org>
16853 * emulation/cua-base.el (cua-mode):
16854 * mail/footnote.el (footnote-mode):
16855 * mail/mailabbrev.el (mail-abbrevs-mode):
16856 * net/xesam.el (xesam-minor-mode):
16857 * progmodes/bug-reference.el (bug-reference-mode):
16858 * progmodes/cap-words.el (capitalized-words-mode):
16859 * progmodes/compile.el (compilation-minor-mode)
16860 (compilation-shell-minor-mode):
16861 * progmodes/gud.el (gud-tooltip-mode):
16862 * progmodes/hideif.el (hide-ifdef-mode):
16863 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16864 * progmodes/subword.el (subword-mode):
16865 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16866 * progmodes/which-func.el (which-function-mode):
16867 * term/tvi970.el (tvi970-set-keypad-mode):
16868 * term/vt100.el (vt100-wide-mode):
16869 * textmodes/flyspell.el (flyspell-mode):
16870 * textmodes/ispell.el (ispell-minor-mode):
16871 * textmodes/nroff-mode.el (nroff-electric-mode):
16872 * textmodes/paragraphs.el (use-hard-newlines):
16873 * textmodes/refill.el (refill-mode):
16874 * textmodes/reftex.el (reftex-mode):
16875 * textmodes/rst.el (rst-minor-mode):
16876 * textmodes/sgml-mode.el (html-autoview-mode)
16877 (sgml-electric-tag-pair-mode):
16878 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16879 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16880 * emulation/crisp.el (crisp-mode):
16881 * emacs-lisp/eldoc.el (eldoc-mode):
16882 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16883 minor mode behavior.
16885 2011-10-19 Juri Linkov <juri@jurta.org>
16887 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16888 the list of hard-coded chars with escape-glyph face.
16890 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16892 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16894 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16896 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16899 2011-10-19 Glenn Morris <rgm@gnu.org>
16901 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16902 Ignore ignored files. (Bug#9726)
16904 2011-10-19 Chong Yidong <cyd@gnu.org>
16906 Doc fix for minor modes, stating that an omitted argument enables
16907 the mode unconditionally when called from Lisp.
16909 * abbrev.el (abbrev-mode):
16910 * allout.el (allout-mode):
16911 * autoinsert.el (auto-insert-mode):
16912 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16913 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16914 (global-auto-revert-mode):
16915 * battery.el (display-battery-mode):
16916 * composite.el (global-auto-composition-mode)
16917 (auto-composition-mode):
16918 * delsel.el (delete-selection-mode):
16919 * desktop.el (desktop-save-mode):
16920 * dired-x.el (dired-omit-mode):
16921 * dirtrack.el (dirtrack-mode):
16922 * doc-view.el (doc-view-minor-mode):
16923 * double.el (double-mode):
16924 * electric.el (electric-indent-mode, electric-pair-mode):
16925 * emacs-lock.el (emacs-lock-mode):
16926 * epa-hook.el (auto-encryption-mode):
16927 * follow.el (follow-mode):
16928 * font-core.el (font-lock-mode):
16929 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16930 * help.el (temp-buffer-resize-mode):
16931 * hilit-chg.el (highlight-changes-mode)
16932 (highlight-changes-visible-mode):
16933 * hi-lock.el (hi-lock-mode):
16934 * hl-line.el (hl-line-mode, global-hl-line-mode):
16935 * icomplete.el (icomplete-mode):
16936 * ido.el (ido-everywhere):
16937 * image-file.el (auto-image-file-mode):
16938 * image-mode.el (image-minor-mode):
16939 * iswitchb.el (iswitchb-mode):
16940 * jka-cmpr-hook.el (auto-compression-mode):
16941 * linum.el (linum-mode):
16942 * longlines.el (longlines-mode):
16943 * master.el (master-mode):
16944 * mb-depth.el (minibuffer-depth-indicate-mode):
16945 * menu-bar.el (menu-bar-mode):
16946 * minibuf-eldef.el (minibuffer-electric-default-mode):
16947 * mouse-sel.el (mouse-sel-mode):
16948 * msb.el (msb-mode):
16949 * mwheel.el (mouse-wheel-mode):
16950 * outline.el (outline-minor-mode):
16951 * paren.el (show-paren-mode):
16952 * recentf.el (recentf-mode):
16953 * reveal.el (reveal-mode, global-reveal-mode):
16954 * rfn-eshadow.el (file-name-shadow-mode):
16955 * ruler-mode.el (ruler-mode):
16956 * savehist.el (savehist-mode):
16957 * scroll-all.el (scroll-all-mode):
16958 * scroll-bar.el (scroll-bar-mode):
16959 * server.el (server-mode):
16960 * shell.el (shell-dirtrack-mode):
16961 * simple.el (auto-fill-mode, transient-mark-mode)
16962 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16963 (line-number-mode, column-number-mode, size-indication-mode)
16964 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16965 * strokes.el (strokes-mode):
16966 * time.el (display-time-mode):
16967 * t-mouse.el (gpm-mouse-mode):
16968 * tool-bar.el (tool-bar-mode):
16969 * tooltip.el (tooltip-mode):
16970 * type-break.el (type-break-mode-line-message-mode)
16971 (type-break-query-mode):
16972 * view.el (view-mode):
16973 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16974 (global-whitespace-mode, global-whitespace-newline-mode):
16975 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16977 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16978 Fix autogenerated docstring.
16980 2011-10-19 Juri Linkov <juri@jurta.org>
16982 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16983 by checking environment variables "DESKTOP_SESSION" and
16984 "XDG_CURRENT_DESKTOP". (Bug#9779)
16986 2011-10-19 Juri Linkov <juri@jurta.org>
16988 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16989 (browse-url-chromium-program, browse-url-chromium-arguments):
16991 (browse-url-default-browser): Check for `browse-url-chromium' and
16992 call `browse-url-chromium-program'.
16993 (browse-url-chromium): New command. (Bug#9779)
16995 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16997 * facemenu.el (list-colors-duplicates): On Windows, detect more
16998 duplicates by assuming that only colors matching "^System" are
16999 special "system colors". (Bug#9722)
17001 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17003 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
17004 to distinguish the author from the committer.
17006 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
17008 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
17010 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
17012 * international/mule.el (sgml-html-meta-auto-coding-function):
17013 Add support for detecting encoding in HTML5 specified only as
17014 <meta charset="UTF-8">. Implementation just makes http-equiv and
17015 content-type parts from HTML4 encoding string optional. (Bug#9716)
17017 2011-10-18 Glenn Morris <rgm@gnu.org>
17019 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
17021 2011-10-18 Chong Yidong <cyd@gnu.org>
17023 * faces.el (cursor): Doc fix.
17025 2011-10-17 Chong Yidong <cyd@gnu.org>
17027 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
17029 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
17031 * dirtrack.el (dirtrack): Support shell buffers with path
17032 prefixes, e.g. tramp-based remote shells. (Bug#9647)
17034 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
17036 * json.el: Bump version to 1.3 and note change in History.
17037 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
17039 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17041 * comint.el (comint-insert-input, comint-send-input)
17042 (comint-get-old-input-default, comint-backward-matching-input)
17043 (comint-next-prompt): Use nil instead of `input' for field property of
17044 past user input (bug#114).
17046 * minibuffer.el (completion--replace): Inherit surrounding properties
17048 (minibuffer-complete-and-exit): Use it.
17050 * comint.el (comint--table-subvert): Quote the all-completions output
17053 2011-10-17 Martin Rudalics <rudalics@gmx.at>
17055 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
17057 * menu-bar.el (menu-bar-file-menu): Add entry for making new
17058 window on right of selected. (Bug#9350) Reword other window
17059 entries and separate them from frame entries.
17061 2011-10-15 Glenn Morris <rgm@gnu.org>
17063 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17066 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
17068 * net/network-stream.el (network-stream-open-starttls):
17069 Improve detection of failure due to lack of TLS support.
17071 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17072 putting the input text in front and in bold.
17074 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17076 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17078 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17081 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17082 unread-command-events rather than pushing yet-another event.
17084 2011-10-14 Eli Zaretskii <eliz@gnu.org>
17086 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17087 the explanation of the possible choices. Make the options passed
17088 to completing-read shorter.
17090 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17092 * textmodes/flyspell.el (flyspell-large-region): Make sure
17093 extended character mode is used if defined (Bug#1339).
17095 2011-10-13 Eli Zaretskii <eliz@gnu.org>
17097 * simple.el (what-cursor-position): Fix the display of the
17098 character info for LRE, LRO, RLE, and RLO characters by appending
17101 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17103 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17104 even in case of error; add debug spec; simplify data flow.
17105 (with-timeout-handler): Remove.
17107 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
17109 Fix Bug#6019, Bug#9315.
17111 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17112 complete `buffer-file-name', the local file name part could look
17113 remotely (for example on VMS).
17115 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17116 `tramp-run-real-handler'.
17117 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17118 already quoted by '"'.
17120 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17121 Let `file-name-handler-alist' be nil, the local file name part
17122 could look remotely (for example on VMS).
17124 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17126 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17128 (flyspell-post-command-hook): ...to here.
17130 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17132 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17134 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17135 using completion. Protect against "slow" callers.
17136 Remove the "message hack".
17138 2011-10-11 Juri Linkov <juri@jurta.org>
17140 * isearch.el (isearch-lazy-highlight-word): New variable.
17141 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17144 2011-10-11 Glenn Morris <rgm@gnu.org>
17146 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17147 like f90-previous-statement does.
17149 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17151 * eshell/eshell.el (eshell-command): History should be saved
17152 only in interactive use, to avoid error.
17154 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17156 * minibuffer.el (completion-file-name-table): Fix last change,
17157 i.e. ignore normal errors but not the other ones.
17159 2011-10-10 Martin Rudalics <rudalics@gmx.at>
17161 * window.el (special-display-buffer-names)
17162 (special-display-regexps): Remove some remnants of earlier
17163 changes from doc-strings.
17164 (quit-windows-on): New function.
17166 * vc/vc.el (vc-revert, vc-rollback):
17167 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17168 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17169 (Bug#6183) (Bug#7074) (Bug#7447)
17171 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17173 * window.el (frame-auto-hide-function): Add version tag.
17176 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17178 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17181 2011-10-09 Leo Liu <sdl.web@gmail.com>
17183 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17186 2011-10-08 Glenn Morris <rgm@gnu.org>
17188 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17189 before the first code statement zero indent. (Bug#9690)
17191 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17193 * simple.el (count-words-region): Always count in the region.
17194 Report the number of lines and characters too.
17195 (count-words): New command, which counts in the buffer if the
17196 region is inactive, as count-words-region used to.
17197 (count-words--message): New function. Handle plurals.
17198 (count-lines-region): Make it an alias for count-words-region.
17200 * bindings.el (esc-map): Replace count-lines-region with
17201 count-words-region.
17203 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17205 * window.el (window--delete): Delete dedicated frame
17206 unconditionally when argument KILL is non-nil. (Bug#9699)
17207 (switch-to-buffer): Fix doc-string typo.
17209 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17211 * eshell/eshell.el (eshell-command): Avoid using hooks.
17213 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17215 * bindings.el ([M-left],[M-right]): Bind to left-word and
17216 right-word respectively.
17218 2011-10-07 Glenn Morris <rgm@gnu.org>
17220 * cus-start.el (debug-on-quit): Fix custom type.
17222 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17224 * subr.el (define-key-after): Clarify that the function is not
17225 useful for non-menu keymaps.
17227 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17229 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17231 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17232 in current minibuffer (Fix bug with recursive minibuffers).
17234 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17236 * progmodes/gdb-mi.el (gdb): Doc fix.
17238 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17240 * window.el (frame-auto-hide-function): New option replacing
17241 frame-auto-delete. Suggested by Stefan Monnier.
17242 (window--delete): Call frame-auto-hide-function instead of
17243 investigating frame-auto-delete.
17244 (window-point-1, set-window-point-1): New functions.
17245 (window-in-direction, record-window-buffer, window-state-get-1)
17246 (display-buffer-record-window): Use window-point-1 instead of
17248 (set-window-buffer-start-and-point): Use set-window-point-1.
17250 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17252 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17254 2011-10-05 Glenn Morris <rgm@gnu.org>
17256 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17257 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17259 2011-10-05 Leo Liu <sdl.web@gmail.com>
17261 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17262 works with buffer object.
17264 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17266 * mpc.el (mpc-tool-bar-map): Add labels.
17268 2011-10-04 Glenn Morris <rgm@gnu.org>
17270 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17272 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17274 * window.el (window--delete): New function.
17275 (frame-auto-delete): Resuscitate option.
17276 (bury-buffer, replace-buffer-in-windows)
17277 (quit-window): Rewrite using window--delete.
17278 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17279 Pass display-buffer-mark-dedicated to window--display-buffer-2
17282 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17284 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17285 returns a list (bug#9554). Add remote file name completion.
17286 * comint.el (comint--table-subvert): Curry and get quote&unquote
17287 functions as arguments.
17288 (comint--complete-file-name-data): Adjust call accordingly.
17289 * pcomplete.el (pcomplete--table-subvert): Remove.
17290 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17292 * minibuffer.el (completion-table-case-fold): Use currying.
17293 (completion--styles-type, completion--cycling-threshold-type):
17295 (completion-styles, completion-category-overrides)
17296 (completion-cycle-threshold): Use them.
17297 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17298 completion-table-case-fold.
17300 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17302 * minibuffer.el (completion-category-overrides): Fix type of styles
17303 and add more user friendly tags (bug#9660).
17305 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17307 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17308 (mule-input-method-string): New widget.
17309 (default-input-method, language-info-custom-alist): Use it.
17311 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17313 * pcomplete.el: Require comint.
17314 (pcomplete--common-suffix): Remove.
17315 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17316 (pcomplete--table-subvert): Sync with comint--table-subvert.
17317 (pcomplete--entries): Use comint-completion-file-name-table.
17318 * comint.el (comint-unquote-filename): Simplify.
17319 (comint-completion-file-name-table): New function (bug#9616).
17320 (comint--complete-file-name-data): Use it.
17322 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17323 (pcmpl-gnu-tar-buffer): Remove.
17324 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17325 around. Make sure pcomplete-suffix-list is only changed temporarily.
17326 Don't look inside the tar's file if it's too large.
17328 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17330 * cus-edit.el (custom-mode-map):
17331 * epa.el (epa-key-list-mode-map):
17332 * man.el (Man-mode-map):
17333 * startup.el (splash-screen-keymap):
17334 * simple.el (special-mode-map): Use scroll-up-command and
17335 scroll-down-command.
17337 * progmodes/idlw-help.el (idlwave-help-mode-map):
17338 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17339 * net/newst-plainview.el (newsticker-mode-map):
17340 * emulation/ws-mode.el (wordstar-mode-map):
17341 * emulation/vi.el (vi-com-map):
17342 * calc/calc-graph.el (calc-graph-show-dumb):
17343 * term/sun.el (terminal-init-sun):
17344 * term/ns-win.el (global-map):
17345 * progmodes/grep.el (grep-mode-map):
17346 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17347 * mail/rmail.el (rmail-mode-map):
17348 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17350 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17351 custom-safe-themes as special.
17353 2011-10-01 Julien Danjou <julien@danjou.info>
17355 * notifications.el (notifications-notify): Fix docstring.
17357 2011-10-01 Per Starbäck <per@starback.se>
17359 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17361 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17363 * startup.el (command-line-1): Fix last fix by inserting
17364 initial-scratch-message into *scratch* before displaying it.
17365 (Bug#9605) and (Bug#9636)
17367 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17369 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17370 window is hscrolled, move by logical lines. (Bug#9607)
17371 (line-move-visual): Update the doc string to the above effect.
17373 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17375 * window.el (display-buffer-record-window): When WINDOW is the
17376 selected window use `point' instead of `window-point'. (Bug#9626)
17378 * startup.el (command-line-1): Use insert-before-markers when
17379 inserting initial-scratch-message. (Bug#9605)
17381 * help.el (help-window): Remove variable.
17383 2011-09-29 Glenn Morris <rgm@gnu.org>
17385 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17387 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17389 * descr-text.el (describe-char-categories): Accept category
17390 descriptions more than one line long.
17392 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17394 * simple.el (delete-trailing-whitespace): Fix last change.
17396 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17397 Don't confuse "y => 3" as the beginning of a `y' operation.
17399 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17400 object has more than 4 slots (bug#9613).
17402 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17404 * subr.el (with-output-to-temp-buffer):
17405 * net/quickurl.el (quickurl, quickurl-browse-url):
17406 Fix typos in docstrings.
17408 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17410 * minibuffer.el (completion-styles)
17411 (completion-category-overrides): Cross reference each other in doc
17414 2011-09-27 Glenn Morris <rgm@gnu.org>
17416 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17417 to split-string. (Bug#9606)
17419 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17421 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17424 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17426 * emacs-lisp/package.el (list-packages): Fix echo area message.
17428 2011-09-27 Leo Liu <sdl.web@gmail.com>
17430 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17432 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17434 * net/dbus.el (dbus-unregister-object): Don't release services for
17435 registered signals. (Bug#9581)
17437 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17439 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17440 function that picks between cfengine 2 and 3 support
17441 automatically. Update docs accordingly.
17443 2011-09-22 Kenichi Handa <handa@m17n.org>
17445 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17447 (indian-itrans-v5-table-for-tamil): New variable.
17448 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17450 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17452 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17453 that's true if the current command involved collapsing of text.
17454 It's reset to false at the beginning of the next command.
17455 (allout-post-command-business): Move the cursor to the beginning
17456 of entry if the cursor is hidden and collapsing activity just
17459 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17461 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17462 tracking (Bug#9541).
17464 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17466 * net/newst-reader.el (newsticker-html-renderer)
17467 (newsticker-show-news): Automatically load html rendering package
17468 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17469 because w3m-fill-column is let-bound" and the error "Symbol's value
17470 as variable is void: w3m-fill-column".
17472 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17474 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17475 Release services only if they are defined. (Bug#9581)
17477 2011-09-23 Richard Stallman <rms@gnu.org>
17479 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17480 distinguish start of paragraph from start of its text.
17482 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17484 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17485 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17486 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17488 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17490 * international/mule-diag.el (mule-diag): Insert a newline after
17491 each fontset description.
17493 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17495 * simple.el (delete-trailing-whitespace):
17496 Document last change; simplify.
17498 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17500 * simple.el (delete-trailing-whitespace): Also delete
17501 extra newlines at the end of the buffer.
17503 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17504 (picture-newline): Use forward-line so as to ignore fields.
17506 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17508 * subr.el (with-wrapper-hook): Fix edebug spec.
17510 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17512 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17515 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17517 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17518 Fix nasty bug using wrong cached values.
17520 2011-09-23 Alan Mackenzie <acm@muc.de>
17522 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17524 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17526 * window.el (pop-to-buffer): Ensure right window is selected if we
17527 chose another frame.
17529 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17531 * simple.el (what-cursor-position): Use get-char-property-change
17532 and next-single-char-property-change, to be able to show display
17533 properties that come from overlays as well as text properties.
17535 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17537 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17539 * cmuscheme.el (run-scheme, switch-to-scheme):
17540 * cus-edit.el (customize-group, custom-buffer-create)
17541 (customize-browse):
17543 * shell.el (shell):
17544 * mail/sendmail.el (mail):
17545 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17547 2011-09-22 Richard Stallman <rms@gnu.org>
17549 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17550 move back only to line beg, don't move back over blank lines.
17552 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17554 * files.el (copy-directory): Set directory attributes only in case
17555 they could be retrieved from the source directory. (Bug#9565)
17557 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17559 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17560 (hs-find-block-beginning, hs-hide-level-recursive):
17561 Ignore strings as well as comments. (Bug#9502)
17563 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17565 * progmodes/sql.el (sql-comint-postgres):
17566 Convert port number to a string. (Bug#9566)
17568 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17570 * window.el (quit-window): Undedicate window when switching to
17571 previous buffer. Reported by Thierry Volpiatto
17572 <thierry.volpiatto@gmail.com>.
17573 (special-display-popup-frame): When popping up a new frame reset
17574 its previous buffers to nil. Simplify code.
17576 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17578 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17579 and process filter, as done also in `shell-command'.
17581 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17583 * window.el (set-window-buffer-start-and-point):
17584 Call set-window-start with NOFORCE argument t.
17585 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17586 (quit-window): Reword doc-string. Handle new format of
17587 quit-restore parameter. Don't delete window if it has a
17588 previous buffer we can show instead of the present one.
17589 (display-buffer-record-window): Rewrite using a new format for
17590 the quit-restore window parameter
17591 (special-display-popup-frame, display-buffer-same-window)
17592 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17593 (display-buffer-pop-up-window, display-buffer-use-some-window):
17594 Adapt symbol passed to display-buffer-record-window.
17595 * help.el (help-window-setup): Handle new format of quit-restore
17598 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17600 * faces.el (face-list): Fix docstring (bug#9564).
17602 * window.el (display-buffer--action-function-custom-type):
17603 Don't include internal functions in the Custom interface.
17605 2011-09-20 Juri Linkov <juri@jurta.org>
17607 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17608 (Info-forward-node, Info-backward-node, Info-next-preorder)
17609 (Info-last-preorder): Use it. (Bug#9528)
17611 2011-09-20 Juri Linkov <juri@jurta.org>
17613 * info.el (Info-last-preorder): Visit last menu item only when
17614 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17616 2011-09-20 Julien Danjou <julien@danjou.info>
17618 * password-cache.el (password-cache-remove): Remove entries even if the
17619 value is nil, so that password with a nil value (negative caching) is
17620 possible to invalidate.
17622 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17624 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17625 all whitespace around breakpoint. (Bug#9553)
17626 (f90-find-breakpoint): Only break at whitespace inside a comment.
17628 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17630 * minibuffer.el (completion-file-name-table): Keep track of errors.
17631 (completion-table-with-predicate): Handle the case where pred1 is nil.
17632 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17634 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17636 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17637 (debugger-return-value): Signal an error if the debugging context does
17638 not await any return value.
17640 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17641 * image-mode.el (image-toggle-display-text)
17642 (image-toggle-display-image): Stay away from evil `intangible'.
17644 2011-09-19 Leo Liu <sdl.web@gmail.com>
17646 * replace.el (occur-revert-arguments): Make it permanent-local.
17647 (occur-mode): Don't call font-lock-defontify.
17649 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17651 * net/ldap.el (ldap-search-internal): Don't push empty search
17654 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17656 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17658 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17660 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17661 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17663 2011-09-18 Juri Linkov <juri@jurta.org>
17665 * buff-menu.el (Buffer-menu-mode-map):
17666 * dired.el (dired-mode-map):
17667 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17668 (lisp-interaction-mode-map):
17669 * emacs-lisp/package.el (package-menu-mode-map):
17670 * epa.el (epa-key-list-mode-map):
17671 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17672 (menu-bar-options-menu):
17673 * outline.el (outline-mode-menu-bar-map):
17674 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17675 * vc/vc-dir.el (vc-dir-menu-map):
17676 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17677 Capitalize non-function content words in menu item strings.
17679 * dired.el (dired-mode-map): Add menu item for
17680 `image-dired-dired-toggle-marked-thumbs'.
17682 2011-09-18 Juri Linkov <juri@jurta.org>
17684 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17685 to `isearch-case-fold-search' and restore its original value
17686 after the `isearch-mode' call.
17688 2011-09-18 Juri Linkov <juri@jurta.org>
17690 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17691 because `zgrep' returns 1 for successful matches (bug#9226).
17693 2011-09-18 Juri Linkov <juri@jurta.org>
17695 * info.el (Info-extract-menu-node-name): Check the second match
17696 for empty string (second test-case of bug#9528).
17697 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17698 intermediate nodes to the history (first test-case of bug#9528).
17700 2011-09-18 Juri Linkov <juri@jurta.org>
17702 * info.el (Info-mode-syntax-table): New variable.
17703 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17705 2011-09-18 Juri Linkov <juri@jurta.org>
17707 * info.el (Info-file-supports-index-cookies):
17708 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17709 outputs one more line for long file names (bug#4142).
17711 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17713 * newcomment.el (comment-normalize-vars): If prompting for
17714 comment-start, set comment-start-skip too (Bug#8424).
17716 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17718 * icomplete.el: Fix previous fix of Bug#5849.
17719 (icomplete-mode): Don't set completion-show-inline-help.
17720 (icomplete-minibuffer-setup): Set completion-show-inline-help
17721 locally during icompletion.
17723 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17725 * woman.el (woman2-process-escapes): Don't delete unrecognized
17726 escapes (Bug#7843).
17728 * files.el (inhibit-first-line-modes-regexps): Add image files.
17729 (hack-local-variables-prop-line): Return nil for malformed
17730 prop-lines (Bug#9044).
17732 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17734 * net/tramp.el (top): Don't require 'shell.
17735 (tramp-methods): Fix docstring.
17736 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17737 Return complete remote file name. Handle "smb" case.
17738 Use `tramp-tmpdir', if defined for the respective method.
17739 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17741 * net/tramp-compat.el (top): Require 'shell.
17743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17744 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17745 `tramp-current-host'.
17746 (tramp-get-remote-tmpdir): Remove.
17748 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17749 `tramp-tmpdir' entries.
17750 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17751 (tramp-smb-handle-file-attributes): Ignore errors.
17752 (tramp-smb-wait-for-output): Check also for process end.
17754 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17756 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17757 when sending QUIT (bug#9312).
17759 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17761 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17762 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17763 occur-mode-display-occurrence.
17764 (occur-edit-mode): Add usage message.
17765 (occur-cease-edit): New command.
17766 (occur-after-change-function): Use text properties to find the
17767 position of the prefix text.
17768 (occur-engine): Set stickiness of prefix text properties.
17770 2011-09-17 Glenn Morris <rgm@gnu.org>
17772 * progmodes/etags.el (complete-tag):
17773 Fix call to completion-in-region. (Bug#9526)
17775 2011-09-17 Juri Linkov <juri@jurta.org>
17777 * textmodes/ispell.el (ispell-word): Add to the error message
17778 the word, ispell program name and current dictionary (bug#9121).
17779 (ispell-tex-arg-end): Capitalize "error" in the error message.
17781 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17783 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17786 2011-09-17 Juri Linkov <juri@jurta.org>
17788 * window.el (window-safe-min-height, window-safe-min-width):
17789 Fix typos (followup to bug#9522).
17791 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17793 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17795 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17797 * simple.el (line-move): If goal-column is set, move by logical
17798 lines, not by display lines. (Bug#971)
17799 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17800 to reflect the above change.
17802 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17804 * image.el (imagemagick-register-types): Use regexp-opt.
17806 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17808 * window.el (display-buffer-base-action): Rename from
17809 display-buffer-default-action. Make default value empty.
17810 (display-buffer-overriding-action): Convert to defvar.
17811 (display-buffer-fallback-action): New var.
17813 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17815 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17817 (package--add-to-archive-contents): If there is a duplicate entry
17818 with an older version, remove it.
17819 (package-menu-mark-delete, package-menu-mark-install)
17820 (package-menu-mark-unmark): Make unused args optional.
17821 (package-menu-mark-obsolete-for-deletion):
17822 Use package-menu-get-status instead of a regexp search.
17823 (package-menu-get-status): Use tabulated-list-entry.
17824 (package-menu-mark-upgrades): New command.
17825 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17826 (package-menu-execute): Do installation before deletion.
17827 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17828 instead of checking major-mode.
17829 (package-menu--find-upgrades): New function.
17831 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17833 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17834 passwords in the log buffer.
17835 (smtpmail-process-filter): Update the process marker so that the
17836 "broken by peer" status message is inserted in the right place.
17838 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17840 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17841 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17842 bibtex-completion-at-point-function.
17843 (bibtex-completion-at-point-function): Use them.
17845 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17847 * mpc.el (mpc-constraints-tag-lookup): New function.
17848 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17849 also to browser "album|playlist".
17851 2011-09-14 Juri Linkov <juri@jurta.org>
17853 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17854 (isearch-edit-string): Use length of `isearch-string' when
17855 `isearch-fail-pos' returns nil.
17856 (isearch-message): Remove duplicate code and call
17857 `isearch-fail-pos' with arg `t'.
17859 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17861 * replace.el (occur-mode-goto-occurrence): Don't force using other
17864 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17866 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17868 * window.el (display-buffer-window): Remove.
17869 (display-buffer-record-window): Use help-setup window parameter
17870 instead of variable display-buffer-window.
17871 (display-buffer-function, special-display-buffer-names)
17872 (special-display-function): Mention help-setup parameter instead
17873 of display-buffer-window in doc-string.
17874 * help.el (help-window-setup): New argument help-window.
17875 Use help-window-setup parameter instead of display-buffer-window.
17876 Reword some messages.
17877 (with-help-window): Pass window used for displaying the buffer
17878 to help-window-setup. Don't set display-buffer-window.
17880 2011-09-13 Glenn Morris <rgm@gnu.org>
17882 * emacs-lisp/debug.el (debugger-make-xrefs):
17883 Preserve point. (Bug#9462)
17885 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17887 * window.el (window-deletable-p): Use next-frame.
17889 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17891 * window.el (window-auto-delete): Remove.
17892 (window-deletable-p): Remove argument FORCE. Don't deal with
17893 dedication and previous buffers.
17894 (switch-to-prev-buffer): Don't delete window.
17895 (delete-windows-on): Delete a window's frame if and only if the
17896 window is dedicated.
17897 (replace-buffer-in-windows): Delete buffer's window or frame if
17898 and only if window is dedicated.
17899 (quit-window): Handle quit-restore as before last change.
17900 (bury-buffer): Delete window only if window-deletable-p returns t.
17902 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17904 * window.el (window-deletable-p): Never delete the last frame on a
17907 2011-09-13 Glenn Morris <rgm@gnu.org>
17909 * help.el (describe-key-briefly): Copy previous standard-output change.
17911 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17913 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17915 2011-09-13 Glenn Morris <rgm@gnu.org>
17917 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17918 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17920 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17922 * dired-aux.el (dired-mark-read-string): Don't return default
17923 value on empty input (Bug#9361).
17924 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17925 Omit initial minibuffer contents.
17926 (dired-do-chmod): Signal an error on empty input.
17927 (dired-mark-read-string): Don't return default on empty input.
17929 * files.el (file-modes-symbolic-to-number): Doc fix.
17931 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17933 * international/mule-cmds.el (ucs-completions): Remove.
17934 (read-char-by-name): Use complete-with-action instead; add metadata.
17936 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17938 * window.el (display-buffer--action-function-custom-type)
17939 (display-buffer--action-custom-type): New vars.
17940 (display-buffer-alist, display-buffer-default-action)
17941 (display-buffer-overriding-action): Add defcustom types.
17943 * frame.el (delete-other-frames): Doc fix (Bug#276).
17945 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17947 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17949 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17951 Change modes that used same-window-* vars to use switch-to-buffer.
17953 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17954 Use switch-to-buffer.
17956 * cus-edit.el (customize-group, custom-buffer-create)
17957 (customize-browse, custom-buffer-create-other-window):
17958 Use switch-to-buffer or switch-to-buffer-other-window.
17960 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17961 (Info-prev, Info-up, Info-speedbar-goto-node)
17962 (info-display-manual): Use switch-to-buffer.
17963 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17965 * mail/sendmail.el (mail): Use switch-to-buffer.
17966 (mail-recover): Use switch-to-buffer-other-window.
17968 * cmuscheme.el (run-scheme, switch-to-scheme):
17970 * shell.el (shell):
17971 * net/rlogin.el (rlogin):
17972 * net/telnet.el (telnet, rsh):
17973 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17975 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17977 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17979 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17981 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17982 so don't mention it (bug#9301).
17983 (dired-sort-toggle-or-edit): Clarify string further.
17985 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17986 match `x', `w32' and `ns', like the manual says (bug#9029).
17988 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17989 (process-kill-buffer-query-function): Mention the buffer name in
17992 * image-mode.el (image-next-line): The line parameter is mandatory
17995 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17996 which can be useful (bug#9301).
17998 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
18000 * subr.el (match-string): Mention that the current buffer should
18001 be the same as the search was done in (bug#9282).
18003 * facemenu.el: Disable the remove-* commands if the mark isn't
18006 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18008 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18010 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18012 * replace.el (occur-mode-goto-occurrence)
18013 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
18014 and display-buffer.
18016 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
18019 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
18020 special-display and same-window variables.
18021 (mail-other-window): Use switch-to-buffer-other-window.
18022 (mail-other-frame): USe switch-to-buffer-other-frame.
18024 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
18025 Use display-buffer-other-frame.
18026 (gdb-display-gdb-buffer): Use pop-to-buffer.
18028 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18030 * progmodes/python.el: Don't set same-window-buffer-names.
18032 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
18034 * window.el (display-buffer-alist): Add *Python*.
18036 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
18038 * window.el (display-buffer-alist): Add entry for buffers
18039 previously handled same-window-*.
18040 (display-buffer-alist, display-buffer-default-action)
18041 (display-buffer-overriding-action): Mark as risky.
18042 (display-buffer-alist): Document action function changes.
18043 (display-buffer--same-window-action)
18044 (display-buffer--other-frame-action): New variables.
18045 (switch-to-buffer, display-buffer-other-frame): Use them.
18046 (display-buffer): Rename reuse-frame entry to reusable-frames.
18047 (display-buffer-reuse-selected-window): Function deleted.
18048 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18049 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18050 (display-buffer-special): New function.
18051 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18052 display-buffer-reuse-or-pop-window. Split off special-display
18053 part into display-buffer-special.
18054 (display-buffer-use-some-window): Don't perform any special
18055 pop-up-frames handling.
18056 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18057 (display-buffer--maybe-same-window): Rename from
18058 display-buffer-maybe-same-window.
18060 * info.el: Don't set same-window-regexps.
18061 (info-setup): New function.
18062 (info-other-window, info): Call it.
18064 * cus-edit.el: Don't set same-window-regexps.
18065 (customize-group): New argument.
18066 (customize-group-other-window): Use it.
18067 (customize-face, customize-face-other-window): Likewise.
18068 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18072 * progmodes/gud.el: Don't set same-window-regexps.
18077 * mail/sendmail.el:
18078 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18080 2011-09-10 Juri Linkov <juri@jurta.org>
18082 * isearch.el (isearch-edit-string): Remove obsolete mention of
18083 `C-w' (`isearch-yank-word-or-char') from docstring.
18084 (isearch-query-replace): Fix typo in docstring (bug#9466).
18086 2011-09-10 Juri Linkov <juri@jurta.org>
18088 * paren.el (show-paren-function): Don't show escaped parens.
18089 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18091 2011-09-10 Eli Zaretskii <eliz@gnu.org>
18093 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18094 (mm-default-file-encoding): Remove autoload forms, they are
18095 replaced with autoload cookies in mml.el and mm-encode.el.
18096 (mail-add-attachment): New command.
18097 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18098 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18100 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18102 2011-09-10 Reuben Thomas <rrt@sc3d.org>
18104 * simple.el (count-words-region): Use buffer if there's no region
18107 2011-09-09 Juri Linkov <juri@jurta.org>
18109 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18110 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18111 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18113 2011-09-09 Alan Mackenzie <acm@muc.de>
18115 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18116 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18118 2011-09-09 Eli Zaretskii <eliz@gnu.org>
18120 Fix for Savannah bug#9392.
18121 * simple.el (mail-encode-mml): New defvar.
18123 * mail/rmail.el (mail-encode-mml): Add a defvar.
18124 (rmail-enable-mime-composing): Default to t.
18125 (rmail-forward): Use MIME method of forwarding only if both
18126 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18127 Set mail-encode-mml non-nil if the MIME method was used.
18129 * mail/sendmail.el (mml-to-mime): Add autoload form.
18130 (mail-encode-mml): Add a defvar.
18131 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18133 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18134 message through mml-to-mime, and reset mail-encode-mml to nil.
18136 2011-09-09 Glenn Morris <rgm@gnu.org>
18138 * woman.el (woman-if-body): When processing an .el block,
18139 do not delete the next .el block as well. (Bug#9447)
18140 (woman-special-characters): Add oq, cq, and hy characters.
18142 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18144 * window.el (window-deletable-p): Make sure window is live before
18145 invoking window-prev-buffers.
18147 2011-09-08 Leo Liu <sdl.web@gmail.com>
18149 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18151 2011-09-08 Juri Linkov <juri@jurta.org>
18153 * progmodes/compile.el (compilation-environment): Make it
18154 a defcustom (bug#8340).
18156 2011-09-08 Martin Rudalics <rudalics@gmx.at>
18158 * window.el (frame-auto-delete): Rename to window-auto-delete.
18159 Make it control auto-deletion of windows and/or frames.
18160 (window-deletable-p): New argument FORCE. Rewrite conditions
18161 for deleting window/frame. (Bug#9419)
18162 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18163 Rewrite handling of case when window/frame can be deleted.
18164 (delete-windows-on): Call window-deletable-p with new FORCE
18165 argument t. (Bug#9456)
18167 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18169 * help-mode.el (help-mode): Restore autoload.
18171 2011-09-07 Juri Linkov <juri@jurta.org>
18173 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18174 `compilation-environment'. Set buffer-local
18175 `compilation-environment' to `thisenv' later after (funcall mode).
18178 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18179 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18180 instead of replacing its value. (Bug#8340)
18182 2011-09-07 Juri Linkov <juri@jurta.org>
18184 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18185 based on text properties put by `grep-filter' instead of matching
18187 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18188 to the value of `grep-error-screen-columns' (bug#9438).
18190 2011-09-07 Juri Linkov <juri@jurta.org>
18192 * simple.el (next-error-highlight, next-error-highlight-no-select):
18193 Doc fix (bug#9432).
18195 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18198 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18200 2011-09-07 Leo Liu <sdl.web@gmail.com>
18202 * net/rcirc.el (rcirc-mode): Conditionally initialize
18205 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18207 * emacs-lisp/find-func.el (find-function-C-source): Only set
18208 find-function-C-source-directory after checking that we found a source
18209 file there (bug#9440).
18211 2011-09-06 Alan Mackenzie <acm@muc.de>
18213 * isearch.el (isearch-other-meta-char): Wherever a key list is
18214 unread, "unread" the prefix arg, too. This fixes bug #8901.
18216 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18218 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18220 2011-09-05 Juri Linkov <juri@jurta.org>
18222 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18224 2011-09-05 Juri Linkov <juri@jurta.org>
18226 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18227 keeping point where processing of grep matches begins, and
18228 continue to delete remaining escape sequences from the same point.
18229 (grep-filter): Make leading zero optional in "0?1;31m" because
18230 git-grep emits "\033[1;31m" escape sequences unlike expected
18231 "\033[01;31m" as GNU Grep does (bug#9408).
18232 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18234 2011-09-05 Juri Linkov <juri@jurta.org>
18236 * subr.el (y-or-n-p): Capitalize "yes".
18238 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18240 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18241 `tramp-cache-unload-hook' where appropriate.
18242 (tramp-methods): Rename `tramp-remote-sh' to
18243 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18244 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18246 * net/tramp-sh.el (top): Don't require 'shell.
18247 (tramp-methods): Add `tramp-remote-shell' and
18248 `tramp-remote-shell-args' entries.
18249 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18250 (tramp-sh-handle-shell-command): Remove.
18251 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18252 Use `tramp-remote-shell'.
18254 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18256 * mail/sendmail.el (sendmail-query-once-function): Delete.
18257 (sendmail-query-once): Save directly to send-mail-function.
18258 Update message-send-mail-function too.
18260 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18262 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18264 * progmodes/python.el (python-mode-map): Use correct function to
18265 start python interpreter from menu-bar (as reported by Geert
18267 (inferior-python-mode-map): Fix typo.
18268 (python-shell-map): Remove.
18270 2011-09-03 Deniz Dogan <deniz@dogan.se>
18272 * net/rcirc.el (rcirc-print): Simplify code for
18273 rcirc-scroll-show-maximum-output. There is no need to walk
18274 through all windows to find the right one.
18276 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18278 * help.el (help-return-method): Doc fix.
18280 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18282 * window.el (window-deletable-p): Don't return a non-nil value
18283 when there's a buffer that was shown in the window before.
18285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18286 Set window's previous buffers to nil.
18288 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18290 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18291 newline before and after the tag line, so it doesn't interfere
18292 with determining the paragraph direction of bidirectional text.
18294 2011-09-03 Leo Liu <sdl.web@gmail.com>
18296 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18298 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18300 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18301 (pop-to-buffer): Change interactive spec. Pass second argument
18302 directly to display-buffer.
18303 (display-buffer): Fix interactive spec. Use functionp to
18304 distinguish between a function and a list of functions.
18306 * abbrev.el (edit-abbrevs):
18307 * arc-mode.el (archive-extract):
18308 * autoinsert.el (auto-insert):
18309 * bookmark.el (bookmark-bmenu-list):
18310 * files.el (find-file):
18311 * view.el (view-buffer):
18312 * progmodes/compile.el (compilation-goto-locus):
18313 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18315 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18317 * window.el (display-buffer-alist): Doc fix.
18318 (display-buffer): Add docstring. Don't treat
18319 display-buffer-default specially.
18320 (display-buffer-reuse-selected-window)
18321 (display-buffer-same-window, display-buffer-maybe-same-window)
18322 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18323 (display-buffer-pop-up-window)
18324 (display-buffer-reuse-or-pop-window)
18325 (display-buffer-use-some-window): New functions.
18326 (display-buffer-default-action): Use them.
18327 (display-buffer-default): Delete.
18328 (pop-to-buffer-1): Fix choice of actions.
18330 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18332 * minibuffer.el (completion--insert-strings): Don't get confused by
18333 completion entries that end with an LF char.
18335 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18337 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18339 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18341 * window.el (display-buffer): Restore interactive spec.
18342 (display-buffer-same-window, display-buffer-other-window):
18344 (pop-to-buffer-1): New function. Use the above.
18345 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18346 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18348 * view.el (view-buffer-other-window, view-buffer-other-frame):
18349 Just use pop-to-buffer.
18351 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18353 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18355 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18357 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18359 2011-08-31 Richard Stallman <rms@gnu.org>
18361 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18362 of the separation of rmail-view-buffer from rmail-buffer.
18363 If you say no to "replace original", the decrypt is in the
18364 view buffer. If you say yes, the decrypt goes into the
18367 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18369 * window.el (display-buffer-window): Rewrite doc-string.
18370 (display-buffer-record-window): New function.
18371 (display-buffer-macro-specifiers)
18372 (display-buffer-even-window-sizes, display-buffer-set-height)
18373 (display-buffer-set-width, display-buffer-in-window)
18374 (display-buffer-reuse-window, display-buffer-split-specifiers)
18375 (display-buffer-side-specifiers, display-buffer-split-window-1)
18376 (display-buffer-split-window, display-buffer-split-atom-window)
18377 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18378 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18379 (display-buffer-other-window-means-other-frame)
18380 (display-buffer-normalize-special)
18381 (display-buffer-normalize-default)
18382 (display-buffer-normalize-argument)
18383 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18384 (display-buffer-normalize-specifiers, display-buffer-frame)
18385 (display-buffer-same-window, display-buffer-same-frame)
18386 (display-buffer-other-window)
18387 (display-buffer-same-frame-other-window)
18388 (display-buffer-other-frame, pop-to-buffer-same-window)
18389 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18390 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18391 (switch-to-buffer-same-frame)
18392 (switch-to-buffer-other-window-same-frame)
18393 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18394 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18395 (display-buffer-alist-set): Remove.
18396 (display-buffer-function, special-display-buffer-names)
18397 (special-display-regexps, special-display-function):
18398 In doc-string refer to display-buffer-window and quit-restore
18400 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18401 (special-display-frame-alist, special-display-popup-frame)
18402 (same-window-buffer-names, same-window-regexps, same-window-p)
18403 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18404 (split-window-preferred-function, split-height-threshold)
18405 (split-width-threshold, window-splittable-p)
18406 (split-window-sensibly, window--try-to-split-window)
18407 (window--frame-usable-p, even-window-heights)
18408 (window--even-window-heights, window--display-buffer-1)
18409 (window--display-buffer-2, display-buffer-other-frame):
18410 Restore old Emacs 23 code, order and doc-strings where applicable.
18411 (display-buffer-default, display-buffer-assq-regexp): New functions.
18412 (display-buffer-alist): Rewrite doc-string.
18413 (display-buffer-default-action)
18414 (display-buffer-overriding-action): New variables.
18415 (display-buffer, switch-to-buffer): Rewrite.
18416 (pop-to-buffer): Restore Emacs 23 behavior but use
18417 window-normalize-buffer-to-display.
18418 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18419 Restore Emacs 23 behavior but use
18420 window-normalize-buffer-to-switch-to.
18421 (pop-to-buffer-same-window): Rewrite.
18422 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18423 Rewrite using Emacs 23 options.
18425 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18427 * net/tramp.el (tramp-root-regexp): Remove.
18428 (tramp-completion-file-name-regexp-unified)
18429 (tramp-completion-file-name-regexp-separate)
18430 (tramp-completion-file-name-regexp-url): Don't use leading volume
18431 letter on w32 systems. (Bug#5303, Bug#9311)
18432 (tramp-drop-volume-letter): Simplify definition.
18433 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18435 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18437 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18440 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18442 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18444 2011-08-29 Juri Linkov <juri@jurta.org>
18446 * isearch.el (isearch-done): Don't display message "Mark saved"
18447 when arg `edit' is non-nil to prevent its flicker in the echo area.
18449 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18451 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18452 obsolete packages for deletion.
18454 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18456 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18457 (help-mode): Derive help-mode from special-mode. Don't invoke
18458 view-mode from help-mode.
18459 (help-xref-override-view-map): Remove.
18460 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18461 view-mode is not used anymore.
18463 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18465 * server.el (server-port): Doc fix.
18467 * cus-theme.el (custom-theme-choose-mode): Inherit from
18468 special-mode (Bug#9124).
18469 (custom-theme-choose-mode-map): Add special-mode to parent.
18471 2011-08-28 Alan Mackenzie <acm@muc.de>
18473 * progmodes/cc-fonts.el
18474 (c-make-font-lock-BO-decl-search-function): New function.
18475 (c-basic-matchers-after - "Fontify the clauses after various
18476 keywords"): Extract the three keyword lists for the 3 erroneous
18477 constructs from the list of four, and use the new function above
18478 in place of an old one.
18480 2011-08-28 Deniz Dogan <deniz@dogan.se>
18482 * net/rcirc.el (rcirc-insert-prev-input)
18483 (rcirc-insert-next-input): Remove unused argument.
18485 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18487 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18489 2011-08-27 Alan Mackenzie <acm@muc.de>
18491 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18492 handle function pointer parameters properly.
18494 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18496 * window.el (display-buffer-reuse-window): Fix case where
18497 selected window was reused with non-nil OTHER-WINDOW argument.
18500 2011-08-27 Deniz Dogan <deniz@dogan.se>
18502 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18503 oftc's NickServ messages.
18505 2011-08-27 Glenn Morris <rgm@gnu.org>
18507 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18509 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18511 * emacs-lisp/package.el (package-install): Call package-initialize
18512 if called interactively.
18514 2011-08-26 Leo Liu <sdl.web@gmail.com>
18516 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18518 2011-08-25 Juri Linkov <juri@jurta.org>
18520 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18521 `search-whitespace-regexp' (bug#9364).
18523 2011-08-25 Juri Linkov <juri@jurta.org>
18525 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18526 `regexp-search-ring' to their global values to protect from
18527 updating by `read-from-minibuffer' (bug#9185).
18529 2011-08-25 Juri Linkov <juri@jurta.org>
18531 * textmodes/ispell.el (ispell-command-loop): Add newline
18532 at the end of the "Use option `i'..." line.
18534 2011-08-25 Juri Linkov <juri@jurta.org>
18536 * battery.el (display-battery-mode): If `battery-status-function'
18537 or `battery-mode-line-format' is nil, display the message and set
18538 `display-battery-mode' to nil (bug#9363).
18540 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18542 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18543 bidi-string-mark-left-to-right; they are unnecessary now.
18545 2011-08-25 Deniz Dogan <deniz@dogan.se>
18547 * net/quickurl.el: Documentation typo fixes.
18549 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18551 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18553 2011-08-25 Glenn Morris <rgm@gnu.org>
18555 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18557 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18558 (smtpmail-via-smtp): Handle nil response from smtp.
18560 2011-08-24 Juri Linkov <juri@jurta.org>
18562 * proced.el (proced-marked): Inherit from `error' instead of
18563 `font-lock-warning-face'.
18565 * ibuffer.el (ibuffer-marked-face): Change default face from
18566 `font-lock-warning-face' to `warning'.
18567 (ibuffer-deletion-face): Change default face from
18568 `font-lock-type-face' to `error'.
18570 * battery.el (battery-update): Use the face `error' instead of
18571 `font-lock-warning-face' (bug#6117).
18573 2011-08-24 Juri Linkov <juri@jurta.org>
18575 * faces.el (success): Change face color from "Green3" to
18576 "ForestGreen" on light background (bug#9353).
18578 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18580 * window.el (quit-window): Rename from quit-restore-window.
18581 Use same arglist as old quit-window.
18582 (frame-auto-delete): Doc fix.
18584 * view.el (view-mode-exit): Use quit-window.
18586 2011-08-24 Juri Linkov <juri@jurta.org>
18588 * isearch.el (isearch-ring-adjust1): Start visiting previous
18589 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18590 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18591 for empty search string (when the last search string is reused
18592 automatically) to adjust the isearch ring to the last element and
18593 prepare the correct index for further M-p commands (bug#9185).
18595 2011-08-24 Kenichi Handa <handa@m17n.org>
18597 * international/ucs-normalize.el: If decomposition property of
18598 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18600 (nfd, nfkd): Likewise.
18602 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18604 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18605 from process filters aren't reliably transmitted to the surrounding
18606 accept-process-output.
18607 (mpc-proc-check): New function.
18608 (mpc-proc-sync): Use it (bug#8293)
18610 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18612 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18613 Add compatibility functions (bug#9313).
18615 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18617 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18619 * international/uni-bidi.el: Regenerate.
18621 2011-08-23 Kenichi Handa <handa@m17n.org>
18623 * international/charprop.el:
18624 * international/uni-bidi.el:
18625 * international/uni-category.el:
18626 * international/uni-combining.el:
18627 * international/uni-comment.el:
18628 * international/uni-decimal.el:
18629 * international/uni-decomposition.el:
18630 * international/uni-digit.el:
18631 * international/uni-lowercase.el:
18632 * international/uni-mirrored.el:
18633 * international/uni-name.el:
18634 * international/uni-numeric.el:
18635 * international/uni-old-name.el:
18636 * international/uni-titlecase.el:
18637 * international/uni-uppercase.el: Regenerate.
18639 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18641 * help.el (help-window-setup): Fix message displayed when other
18642 window is reused. (Bug#9341)
18644 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18646 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18647 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18649 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18651 * shell.el (shell-parse-pcomplete-arguments): New function.
18652 (shell-completion-vars): Use it instead (bug#9160).
18654 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18656 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18657 strings and comments (bug#9333).
18659 * emacs-lisp/debug.el (debug-arglist): New function.
18660 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18661 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18663 2011-08-22 Juri Linkov <juri@jurta.org>
18665 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18666 Revert regexp that highlights output switches to its old
18667 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18669 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18670 to check for empty output (bug#9226).
18672 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18674 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18675 symbol-constituent as the default, as that stops font-lock from
18676 working properly (Bug#8843).
18678 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18680 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18681 `coding-system-for-*' around the process open call to avoid
18682 auth-source side effects.
18683 (smtpmail-try-auth-methods): Expand the secret password.
18684 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18687 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18689 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18691 * emacs-lisp/find-func.el (find-function-noselect): New arg
18694 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18695 signal an error for built-in functions (Bug#6664).
18697 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18699 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18700 (smtpmail-try-auth-methods): Use it.
18702 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18704 * font-lock.el (font-lock-fontify-region)
18705 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18706 (font-lock-default-unfontify-buffer)
18707 (font-lock-default-fontify-region)
18708 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18710 * progmodes/compile.el (compilation-error-properties):
18711 Fix confusion between file struct and message struct (Bug#9319).
18712 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18715 * net/browse-url.el (browse-url-firefox): Don't call
18716 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18718 2011-08-20 Glenn Morris <rgm@gnu.org>
18720 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18722 * tutorial.el (tutorial--default-keys): Update some default bindings.
18724 * files.el (hack-local-variables): Fully ignore case for "mode:".
18726 2011-08-20 Alan Mackenzie <acm@muc.de>
18728 Resolve invalid use of a regexp in regexp-opt.
18730 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18731 detection for a java annotation.
18733 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18734 detection for a java annotation.
18736 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18738 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18740 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18742 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18745 2011-08-20 Alan Mackenzie <acm@muc.de>
18747 Fontify CPP expressions correctly when starting in the middle of
18748 such a construct. Mainly for when jit-lock etc. starts a chunk
18751 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18753 (c-make-font-lock-search-form): New function, extracted from
18754 c-make-font-lock-search-function.
18755 (c-make-font-lock-search-function): Use the above function.
18756 (c-make-font-lock-context-search-function): New function.
18757 (c-cpp-matchers): Enhance the preprocessor expression case with
18759 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18760 which takes an expression.
18762 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18764 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18766 * window.el (display-buffer-reuse-window)
18767 (display-buffer-pop-up-window): Don't reuse or split a side
18770 2011-08-19 Glenn Morris <rgm@gnu.org>
18772 * files.el (hack-local-variables-prop-line, hack-local-variables):
18773 Downcase "Mode:". (Bug#9331)
18775 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18777 * international/characters.el: Add L and R categories.
18779 * subr.el (bidi-string-mark-left-to-right): Rename from
18780 string-mark-left-to-right. Use category search.
18782 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18784 2011-08-18 Juri Linkov <juri@jurta.org>
18786 * faces.el (error, warning, success): New faces with definitions
18787 copied from old default values of `font-lock-warning-face',
18788 `compilation-warning', `compilation-info' (bug#6117).
18790 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18792 * progmodes/compile.el (compilation-error): Inherit from `error'.
18793 (compilation-warning): Inherit from `warning'.
18794 (compilation-info): Inherit from `success'.
18796 * dired.el (dired-marked): Inherit from `warning'.
18797 (dired-flagged): Inherit from `error'.
18799 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18801 * mail/smtpmail.el (auth-source): Require to avoid problems with
18802 binding variables (bug#9298). Also clean up some unused
18805 * net/network-stream.el (network-stream-open-starttls):
18806 Support using starttls.el without using gnutls-cli.
18808 2011-08-17 Juri Linkov <juri@jurta.org>
18810 * progmodes/grep.el (rgrep): Handle the case when
18811 `grep-find-command' is a cons cell (bug#9278).
18813 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18815 * window.el (display-buffer-pop-up-frame): Run frame creation
18816 function with BUFFER current (as special-display-popup-frame
18817 does). Reported by Drew Adams.
18819 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18821 * epa-mail.el: Simplify GnuPG group expansion using
18823 (epa-mail-group-alist, epa-mail-group-modtime)
18824 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18825 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18826 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18829 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18831 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18833 2011-08-16 Alan Mackenzie <acm@muc.de>
18835 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18836 Correct, to avoid the inside of macros.
18838 2011-08-16 Richard Stallman <rms@gnu.org>
18840 * epa-mail.el: Handle GnuPG group definitions.
18841 (epa-mail-group-alist, epa-mail-group-modtime)
18842 (epa-mail-gnupg-conf-file): New variables.
18843 (epa-mail-parse-groups, epa-mail-sync-groups)
18844 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18845 (epa-mail-expand-recipients): New functions.
18846 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18848 * mail/rmail.el (rmail-epa-decrypt): New command.
18850 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18851 Don't bind buffer-read-only, just inhibit-read-only.
18852 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18853 (epa-decrypt-armor-in-region): Make error message clearer.
18855 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18857 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18858 and "a2b" to "ab" for `prefix'.
18860 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18862 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18864 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18865 Fourquet (Bug#8804).
18867 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18869 * startup.el (argi): Declare as global variable (bug#9275).
18871 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18873 * subr.el (string-mark-left-to-right): Search the entire string
18874 for RTL script, not just the terminating character. Doc fix.
18876 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18878 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18880 (js--regexp-literal, js-syntax-propertize-function): Remove.
18881 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18882 (js-mode-map): Don't rebind electric keys.
18883 (js-insert-and-indent): Remove.
18884 (js-mode): Setup electric-layout and electric-indent instead.
18886 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18888 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18890 * epa.el (epa-progress-callback-function): Fix the logic of
18891 displaying progress.
18892 * epa-file.el (epa-file-insert-file-contents): Make progress
18893 display more user-friendly.
18894 (epa-file-write-region): Ditto.
18896 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18898 * subr.el (string-mark-left-to-right): New function.
18900 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18901 Use string-mark-left-to-right.
18902 (list-buffers-noselect): Caller changed.
18904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18905 Use string-mark-left-to-right.
18906 (tabulated-list-print): Recenter after moving point.
18908 2011-08-10 Juri Linkov <juri@jurta.org>
18910 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18911 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18912 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18914 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18916 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18919 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18921 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18922 character. (Bug#6594)
18924 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18926 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18927 (image-dired--with-db-file): New macro.
18928 (image-dired-write-tags, image-dired-remove-tag)
18929 (image-dired-create-gallery-lists, image-dired-write-comments)
18930 (image-dired-get-comment, image-dired-mark-tagged-files)
18931 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18932 (image-dired-gallery-generate): Use insert-file-contents.
18934 * time.el (display-time-world-list, display-time-world-display):
18935 * time-stamp.el (time-stamp-string):
18936 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18937 set-time-zone-rule (Bug#7337).
18939 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18941 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18942 (epg-error-to-string, epg-errors-to-string): New function.
18943 (epg-wait-for-completion): Reverse errors list.
18944 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18945 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18946 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18947 (epg-sign-keys, epg-generate-key-from-file)
18948 (epg-generate-key-from-string): Format errors by using
18949 epg-errors-to-string (bug#9255).
18950 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18952 2011-08-07 Juri Linkov <juri@jurta.org>
18954 * faces.el (list-faces-display): Remove extra angle bracket
18955 from `help-mode-map'.
18957 * info.el (Info-history-toc-nodes): Doc fix.
18959 * longlines.el (longlines-mode): Doc fix.
18961 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18963 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18964 of statements and in a few more cases (bug#9183).
18966 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18968 (cl-transform-lambda): Use them (bug#9239).
18970 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18972 * window.el (display-buffer-same-window)
18973 (display-buffer-same-frame, display-buffer-other-window)
18974 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18975 (pop-to-buffer-other-window)
18976 (pop-to-buffer-same-frame-other-window)
18977 (pop-to-buffer-other-frame): Make them defuns.
18978 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18980 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18982 * subr.el (make-composed-keymap): Move from C. Change calling
18983 convention, and improve docstring to bring attention to a subtle point.
18984 * minibuffer.el (completing-read-default): Adjust accordingly.
18986 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18988 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18989 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18991 * net/trampver.el: Update release number.
18993 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18995 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18998 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19000 * mail/sendmail.el (sendmail-query-once): Restore the current
19001 buffer after querying (bug#9074).
19003 * dired.el (dired-flagged): Use different faces for marked and
19004 flagged files (bug#6117).
19006 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
19009 * ido.el (ido-mode): Switch off the message if called
19012 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
19013 before 587, since it appears that that's more likely to work for
19016 * cus-edit.el (custom-file): When running under emacs -q, always
19017 refuse to save the customizations, even if the .emacs file doesn't
19020 * info.el: Remove the `Info-beginning-of-buffer' function
19023 * net/network-stream.el (network-stream-open-starttls):
19024 Use `starttls-available-p' to see whether starttls.el can be used.
19026 2011-08-01 Martin Rudalics <rudalics@gmx.at>
19028 * window.el (display-buffer-in-window): Don't set dedicated status
19029 of window here (Bug#9215).
19030 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19031 (display-buffer-pop-up-side-window)
19032 (display-buffer-in-side-window): Set dedicated status of window here.
19034 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
19036 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
19037 before binding generated-autoload-file.
19039 2011-08-01 Deniz Dogan <deniz@dogan.se>
19041 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
19043 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
19045 Sync with Tramp 2.2.2.
19047 * net/trampver.el: Update release number.
19049 2011-07-30 Juri Linkov <juri@jurta.org>
19051 * dired-aux.el (dired-touch-initial): Remove function.
19052 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19053 current time, and `default' to the last modification time of the
19054 current marked file (bug#6887).
19056 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19058 * simple.el (goto-line): Use string-to-number to provide a
19059 numeric argument to read-number (bug#9163).
19061 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
19063 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19064 connection process, it could be nil.
19066 2011-07-27 Leo Liu <sdl.web@gmail.com>
19068 Simplify url handling in rcirc-mode.
19070 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19071 (rcirc-browse-url-at-mouse): Remove.
19072 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19074 2011-07-26 Alan Mackenzie <acm@muc.de>
19076 Fontify bitfield declarations properly.
19078 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19079 (c-symbol-chars): Now exported as a lang variable.
19080 (c-not-primitive-type-keywords): New lang variable.
19082 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19083 QT keyword "more" to prevent "more slots: ...." being spuriously
19084 parsed as a bitfield declaration.
19086 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19087 Refactor and enhance to handle bitfield declarations.
19088 (c-punctuation-in): New function.
19089 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19090 declarations properly.
19092 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
19094 * calendar/icalendar.el (icalendar--all-events): Take care of
19095 multiple vcalendars in a single file.
19096 (icalendar--convert-float-to-ical): Checkdoc fixes.
19098 2011-07-25 Deniz Dogan <deniz@dogan.se>
19100 * image.el (insert-image): Clarifying docstring.
19102 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
19104 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19105 `tramp-send-command-and-check' if there is no error.
19106 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19108 2011-07-22 Alan Mackenzie <acm@muc.de>
19110 Prevent cc-langs.elc being loaded at run time.
19112 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19115 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
19116 "(require 'cc-langs)". Quote a form so it will evaluate at
19117 (cc-mode's) compilation time.
19119 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
19121 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19122 loading. (Bug#9114)
19124 2011-07-21 Martin Rudalics <rudalics@gmx.at>
19126 * window.el (display-buffer-pop-up-window)
19127 (display-buffer-pop-up-side-window)
19128 (display-buffer-in-side-window): Call display-buffer-set-height
19129 and display-buffer-set-width after setting the new window's
19130 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19132 2011-07-20 Sam Steingold <sds@gnu.org>
19134 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19135 (etags-tags-included-tables): Call `convert-standard-filename' on
19136 the file names contained in TAGS so that windows Emacs can handle
19137 TAGS files created by cygwin ctags.
19139 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19141 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19142 which apparently didn't work.
19144 2011-07-19 Roland Winkler <winkler@gnu.org>
19146 * proced.el (proced-send-signal): For *Marked Processes* buffer
19147 put point at beginning of buffer.
19149 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
19151 * proced.el (proced-format): Make header lines align with the text
19154 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19156 * view.el (view-buffer): Allow running in `special' modes if we're
19157 visiting a file (bug#8615).
19159 2011-07-19 Martin Rudalics <rudalics@gmx.at>
19161 * window.el (display-buffer-alist-of-strings-p)
19162 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19164 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19167 2011-07-18 Alan Mackenzie <acm@muc.de>
19169 Fontify declarators properly when, e.g., a jit-lock chunk begins
19170 inside a declaration.
19172 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19174 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19176 (c-complex-decl-matchers): Insert reference to
19177 c-font-lock-enclosing-decls.
19179 * progmodes/cc-engine.el (c-backward-single-comment):
19180 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19181 to nil around calls to (forward-comment -1).
19183 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19185 * image.el (put-image): Doc typo fix.
19187 * progmodes/etags.el (tags-search): Doc typo fix.
19189 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19190 password if we get errors 550 to 554.
19192 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19194 * net/gnutls.el (gnutls-log-level): Remove.
19196 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19197 indentation character (bug#6380).
19199 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19201 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19202 to clarify what the problem is (bug#4291).
19204 * simple.el (current-kill): Clarify what
19205 `interprogram-paste-function' does (bug#7500).
19206 (auto-fill-mode): Document `auto-fill-function' in relation to
19207 `auto-fill-mode' (bug#2470).
19209 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19211 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19212 method if slot is read-only (bug#9035).
19214 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19216 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19217 * window.el (pop-to-buffer): Select window used even if it was
19218 selected before, see discussion of (Bug#8615), (Bug#6954).
19219 Pass argument NORECORD on to select-frame-set-input-focus.
19221 2011-07-15 Glenn Morris <rgm@gnu.org>
19223 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19226 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19228 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19229 (gnutls-negotiate): Use it.
19231 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19233 * net/gnutls.el (gnutls-negotiate):
19234 Upcase `gnutls-algorithm-priority'.
19236 2011-07-15 Glenn Morris <rgm@gnu.org>
19238 * jka-compr.el (jka-compr-verbose): Move from here...
19239 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19240 Add missing :version tag.
19241 * info.el: No need to require jka-compr when compiling.
19243 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19245 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19246 (gnutls-negotiate): Use it.
19248 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19250 * info.el (Info-beginning-of-buffer): New command.
19251 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19252 announcing `b' as the key (bug#8325).
19253 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19255 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19257 * international/mule-cmds.el
19258 (describe-specified-language-support): Make the error message
19259 clearer (bug#8905).
19261 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19263 * isearch.el (isearch-barrier): Add a doc string, since it's
19264 mentioned in a function doc string (bug#8678).
19266 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19268 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19269 buffer argument (Bug#9083) and self-identifying label argument.
19271 2011-07-15 Glenn Morris <rgm@gnu.org>
19273 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19275 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19277 * man.el (Man-fontify-manpage): Fix message when formatting the
19278 man page (bug#7929).
19280 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19282 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19283 argument LRM; if non-nil, append an invisible LRM character to the
19285 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19286 last argument non-nil, when formatting buffer names.
19287 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19288 paragraph direction.
19290 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19292 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19293 the man page name (bug#7929).
19295 * image.el (put-image): Mention the `put-image' overlay property
19298 * scroll-bar.el (set-scroll-bar-mode): Mention that
19299 `scroll-bar-mode' lists the values (bug#7772).
19301 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19302 command (bug#7729).
19304 * rect.el (apply-on-rectangle): Return the point after the last
19306 (string-rectangle): Go to the point after the last operation
19309 * printing.el (pr-toggle-region): Clarify the documentation
19310 slightly (bug#7493).
19312 * time.el (display-time-update):
19313 Allow `display-time-mail-function' to return nil (bug#7158).
19314 Fix suggested by Detlev Zundel.
19316 * vc/diff.el (diff): Clarify the order the file names are read
19319 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19320 the doc string (bug#7015).
19322 * font-lock.el (font-lock-maximum-decoration): Mention what
19323 numeric levels mean (bug#6935).
19325 * startup.el (initial-buffer-choice): Don't mention the `none'
19326 selection, which is against policy.
19328 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19330 * window.el (display-buffer-normalize-special):
19331 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19333 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19335 * subr.el (version<, version<=, version=): Mention "-CVS" and
19336 "-12345" alpha version numbers.
19338 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19340 * bindings.el: Add advertised binding for set-mark-command
19343 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19345 * bindings.el (mode-line-other-buffer):
19346 * bookmark.el (bookmark-bmenu-2-window):
19347 * bs.el (bs-cycle-next, bs-cycle-previous):
19348 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19351 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19354 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19356 * follow.el (follow-debug-message, follow-redisplay):
19357 * jka-cmpr-hook.el (with-auto-compression-mode):
19358 Fix typos in docstrings.
19360 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19362 * subr.el (with-silent-modifications): Clarify somewhat what the
19363 macro inhibits (bug#6525).
19365 * simple.el (eval-expression): Note what it does if called
19366 interactively (bug#6495).
19368 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19370 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19371 Use pop-to-buffer buffer-or-name if it is nil.
19373 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19374 Remove switch-to-buffer.
19376 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19378 * files.el (make-directory): Clarify that an error will be raised
19379 if there's an error (bug#6397).
19381 * startup.el (initial-buffer-choice): Add `none' as a choice
19384 * subr.el (add-hook): Clarify section about buffer-local hooks
19387 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19389 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19391 * tabify.el (untabify): Preserve the current column so that point
19392 doesn't move (bug#6032).
19394 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19396 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19397 Rewrite to avoid awkward possessive "s" (bug#5986).
19399 2011-07-13 Glenn Morris <rgm@gnu.org>
19401 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19402 (dired-insert-directory): Give a message the first time
19403 if ls is found not to support --dired.
19405 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19407 * simple.el (toggle-truncate-lines): Clarify what is toggled
19408 (bug#5580). Text by Drew Adams.
19410 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19412 * simple.el (blink-matching-open): Make the error message from the
19413 last change less verbose.
19415 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19417 * font-lock.el (font-lock-comment-face): Use the high contrast
19418 "yellow" color for font-lock-comment-face on low color terminals
19419 using a dark background color (bug#4221).
19421 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19423 * dired.el (dired-insert-set-properties): Make the doc string
19424 reflect what it does now (bug#5325).
19426 * simple.el (blink-matching-open): Say that we were unable to find
19427 the match within the limit, if we're limited (bug#5122).
19429 * international/mule-cmds.el (prefer-coding-system): Add an
19430 example (bug#4869).
19432 * progmodes/etags.el (tags-search): Document `file-list-form'
19435 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19437 * net/browse-url.el (browse-url-default-browser)
19438 (browse-url-browser-function): Make the default browser choice a
19439 bit more logical (bug#4300). Also clean up the doc string.
19441 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19443 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19444 binary endings (bug#4440).
19446 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19448 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19449 which can be pretty annoying (bug#8971).
19451 * jka-compr.el (jka-compr-verbose): New variable, and use
19452 throughout (bug#8971).
19454 * info.el (Info-find-file): Fall back on the installation
19455 directory if we can't find the info node anywhere else.
19457 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19459 * vc/vc.el (vc-revert-file):
19460 Don't set file time-stamp in the past. (Bug#5181)
19462 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19464 * files.el (after-find-file): Give a better error message when
19465 trying to find a symlink that points to a file that doesn't exist
19468 * progmodes/cc-vars.el: Remove (probably) misleading comment
19471 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19473 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19475 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19477 * mouse-sel.el: Hack restoring functionality, while keeping
19478 compatibility with 2010-07-03 changes to mouse selection.
19479 (mouse-sel-primary-overlay): New var.
19480 (mouse-sel-selection-alist): Use it.
19481 (mouse-sel-mode): Doc fix; remove points that are default features
19484 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19487 Fix previous fix (bug#2490).
19489 2011-07-12 Roland Winkler <winkler@gnu.org>
19491 * textmodes/bibtex.el (bibtex-initialize):
19492 Use pop-to-buffer-same-window.
19493 (bibtex-search-entries): Fix interactive call.
19495 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19497 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19498 Fontise bytecomp Error lines more correctly (bug#2490).
19499 Fix suggested by Johan Bockgård.
19501 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19503 * dired-x.el (dired-guess-default): Use `delete-dups'.
19505 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19507 * dired.el (dired-mark-prompt):
19508 * dired-aux.el (dired-read-shell-command): Doc fix.
19510 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19512 * mail/sendmail.el (sendmail-query-once):
19513 Use `customize-save-variable' unconditionally, now that it works under
19516 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19518 * cus-edit.el (custom-file): Take an optional no-error variable.
19519 (customize-save-variable): Set the variable, and give a warning if
19520 running under "emacs -q".
19522 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19524 * loadhist.el (unload-feature-special-hooks):
19525 Add `auto-coding-functions', `fill-nobreak-predicate' and
19526 `find-directory-functions' (bug#5327).
19528 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19530 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19532 * cus-edit.el (custom-guess-name-alist): -alist variables should
19533 use the `alist' type (bug#3120). Suggested by Drew Adams.
19535 * printing.el: Add documentation to all the `pr-toggle-' commands.
19537 2011-07-11 Leo Liu <sdl.web@gmail.com>
19539 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19540 backends where it makes sense (bug#2623).
19542 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19544 * dired-x.el (dired-guess-default): Remove duplicate shell command
19545 entries (bug#2028).
19546 (dired-guess-default): Fix grammar in doc string (bug#2028).
19547 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19549 * subr.el (remove-duplicates): New conveniency function.
19551 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19553 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19556 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19558 * window.el (display-buffer-normalize-default): Don't invert
19559 meaning of even-window-heights. Reported by Eli Zaretskii
19562 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19564 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19566 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19568 * window.el (display-buffer): Fix arguments to
19569 display-buffer-reuse-window in last change.
19571 * faces.el (link): Use a less saturated blue on light backgrounds.
19573 * startup.el (fancy-startup-text, fancy-about-text)
19574 (fancy-startup-tail): Use font-lock faces, for background safety.
19576 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19578 * emulation/viper-cmd.el (viper-change-state-to-vi):
19579 Limit triggering of abbrev expansion (Bug#9038).
19581 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19583 * window.el (display-buffer-default-specifiers): Remove.
19584 (display-buffer-macro-specifiers): Remove default specifiers.
19585 (display-buffer-alist): Default to nil.
19586 (display-buffer-reuse-window): New optional argument other-window.
19587 (display-buffer-pop-up-window): Allow splitting internal
19588 windows. Check whether a live window was created.
19589 (display-buffer-other-window-means-other-frame)
19590 (display-buffer-normalize-arguments): Rename to
19591 display-buffer-normalize-argument and rewrite. Set the
19592 other-window specifier.
19593 (display-buffer-normalize-special): New function.
19594 (display-buffer-normalize-options): Rename to
19595 display-buffer-normalize-default and rewrite.
19596 (display-buffer-normalize-options-inhibit): Remove.
19597 (display-buffer-normalize-specifiers): Rewrite.
19598 (display-buffer): Process other-window specifier and call
19599 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19601 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19602 (display-buffer-alist-set): Don't handle 'unset default values.
19603 (display-buffer-in-window, display-buffer-alist-set):
19604 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19605 <tassilo@member.fsf.org>.
19607 2011-07-09 Leo Liu <sdl.web@gmail.com>
19609 * register.el (insert-register): Restore accidental change on
19610 2011-06-26. (Bug#9028)
19612 2011-07-09 Glenn Morris <rgm@gnu.org>
19614 * subr.el (remq): Handle the empty list. (Bug#9024)
19616 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19618 * mail/sendmail.el (send-mail-function): No longer delay custom
19620 * custom.el (custom-initialize-delay): Doc fix.
19622 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19626 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19628 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19629 human-friendly prompt.
19631 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19633 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19634 provided by a particular plugin.
19636 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19638 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19639 save customizations (with "emacs -Q"), just set the variable
19640 instead of erroring out.
19642 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19644 2011-07-08 Juri Linkov <juri@jurta.org>
19646 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19647 (archive-zip-update-case): Use 7z if found by `executable-find'.
19648 The order of searching the available programs is the same as in
19649 `archive-zip-extract' (bug#8968).
19651 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19653 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19654 (menu-bar-options-menu): Tweak descriptions.
19656 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19658 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19659 menu items into verb phrases (bug#1421). Also refill to fit under
19662 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19664 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19665 (Info-read-node-name): Doc fix (Bug#1084).
19667 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19668 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19669 (end-of-sexp, beginning-of-sexp)
19670 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19671 (forward-symbol, forward-same-syntax, word-at-point)
19672 (sentence-at-point): Doc fix (Bug#1144).
19674 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19676 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19677 should cover it (bug#1281).
19679 * cus-edit.el (custom-show): Mark as obsolete.
19681 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19682 negotiation fails, then possibly try again with a non-encrypted
19683 connection (bug#9017).
19685 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19688 2011-07-07 Richard Stallman <rms@gnu.org>
19690 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19691 property, and handle its changed format.
19692 Look for the correct line number.
19693 Use file's line contents (but not past first =) to find
19694 correct line in message.
19696 2011-07-07 Kenichi Handa <handa@m17n.org>
19698 * international/characters.el (build-unicode-category-table):
19700 (unicode-category-table): Set it by unicode-property-table-internal.
19702 * international/mule-cmds.el (char-code-property-alist): Move to
19704 (get-char-code-property): Call unicode-property-table-internal to
19705 load a file. Call get-unicode-property-internal where necessary.
19706 (put-char-code-property): Call unicode-property-table-internal to
19707 load a file. Call put-unicode-property-internal where necessary.
19708 put-unicode-property-internal where necessary.
19709 (char-code-property-description):
19710 Call unicode-property-table-internal to load a file.
19712 * international/charprop.el:
19713 * international/uni-bidi.el:
19714 * international/uni-category.el:
19715 * international/uni-combining.el:
19716 * international/uni-comment.el:
19717 * international/uni-decimal.el:
19718 * international/uni-decomposition.el:
19719 * international/uni-digit.el:
19720 * international/uni-lowercase.el:
19721 * international/uni-mirrored.el:
19722 * international/uni-name.el:
19723 * international/uni-numeric.el:
19724 * international/uni-old-name.el:
19725 * international/uni-titlecase.el:
19726 * international/uni-uppercase.el: Regenerate.
19728 * loadup.el: Load international/charprop.el before
19729 international/characters.
19731 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19733 * window.el (next-buffer, previous-buffer): Signal an error if
19734 called from a minibuffer window.
19736 * bindings.el: Revert 2011-07-04 change.
19738 2011-07-06 Richard Stallman <rms@gnu.org>
19740 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19741 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19742 Treat markers like ints.
19743 (rmail-mime-entity): Doc fix.
19745 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19747 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19748 defcustom again for backwards compatibility.
19750 * simple.el (shell-command-on-region): Fill.
19752 * dired-aux.el (dired-kill-line): Add a doc string.
19754 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19755 to "\\sw\\|\\s_" (bug#358).
19757 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19758 (dired-unmark-backward): Ditto.
19759 (dired-flag-backup-files): Ditto.
19761 * dired-x.el (dired-mark-sexp): Ditto.
19763 2011-07-06 Richard Stallman <rms@gnu.org>
19765 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19766 (rmail-mime-entity): New arg TRUNCATED.
19767 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19769 (rmail-mime-save): Warn if entity is truncated.
19770 (rmail-mime-toggle-hidden): Likewise, for showing.
19771 (rmail-mime-process-multipart): Record when an entity is truncated.
19773 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19774 if ENTITY is a string.
19776 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19778 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19779 of faces when `M-C-x'-ing their definitions (bug#8378).
19780 Also clean up the code slightly.
19782 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19783 because that makes the colors go away.
19785 * mail/sendmail.el (send-mail-function): Change the default to
19786 `sendmail-query-once'.
19787 (sendmail-query-once): Add an autoload cookie.
19789 * net/network-stream.el (network-stream-open-starttls): Try using
19790 a plain connection even if the server offered STARTTLS, and we
19791 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19792 capability. This should make smtpmail.el work in slightly more
19795 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19797 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19799 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19801 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19803 * progmodes/sql.el: Version 3.0
19804 (sql-product-alist): Add product :completion-object,
19805 :completion-column, and :statement attributes.
19806 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19807 (sql-mode-syntax-table): Mark all punctuation.
19808 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19810 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19811 (sql-mode-oracle-font-lock-keywords): Improve.
19812 (sql-oracle-show-reserved-words): New function for development.
19813 (sql-product-font-lock): Simplify for source code buffers.
19814 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19816 (sql-highlight-product): Set product specific syntax table.
19817 (sql-mode-map): Add statement movement functions.
19818 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19820 (sql-statement-regexp, sql-beginning-of-statement)
19821 (sql-end-of-statement, sql-signum): New functions.
19822 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19823 (sql-show-sqli-buffer): Bug fix.
19824 (sql-interactive-mode): Store connection data as buffer local.
19825 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19826 with sql-interactive-mode.
19827 (sql-save-connection): Save buffer local settings.
19828 (sql-connection-menu-filter): Change menu entry name.
19829 (sql-product-interactive): Bug fix.
19830 (sql-preoutput-hold): New variable.
19831 (sql-interactive-remove-continuation-prompt): Bug fixes.
19832 (sql-debug-redirect): New variable.
19833 (sql-str-literal): New function.
19834 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19836 (sql-oracle-save-settings, sql-oracle-restore-settings)
19837 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19838 (sql-completion-object, sql-completion-column)
19839 (sql-completion-sqlbuf): New variables.
19840 (sql-build-completions-1, sql-build-completions)
19841 (sql-try-completion): New functions.
19842 (sql-read-table-name): Use them.
19843 (sql-contains-names): New buffer local variable.
19844 (sql-list-all, sql-list-table): Use it.
19845 (sql-oracle-completion-types): New variable.
19846 (sql-oracle-completion-object, sql-sqlite-completion-object)
19847 (sql-postgres-completion-object): New functions.
19849 2011-07-06 Glenn Morris <rgm@gnu.org>
19851 * window.el (pop-to-buffer): Doc fix.
19853 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19855 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19857 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19859 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19861 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19863 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19865 * button.el (button): Inherit from link face. Suggested by Dan
19868 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19870 * progmodes/gdb-mi.el: Fit in 80 columns.
19871 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19874 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19875 if imenu is simply not configured (bug#8941).
19877 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19879 * allout.el (allout-post-undo-hook): New allout outline-change
19880 event hook to signal undo activity.
19881 (allout-post-command-business): Run allout-post-undo-hook if an
19882 undo just occurred.
19883 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19884 * allout-widgets.el (allout-widgets-after-undo-function):
19885 Ensure the integrity of the current item's decoration after it has been
19886 in the vicinity of an undo.
19887 (allout-widgets-mode): Include allout-widgets-after-undo-function
19888 on the new allout-post-undo-hook.
19890 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19892 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19893 Let define-derived-mode define it.
19894 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19895 cycles of abbrev-table inheritance (bug#8998).
19897 2011-07-05 Roland Winkler <winkler@gnu.org>
19899 * textmodes/bibtex.el: Add support for biblatex.
19900 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19901 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19902 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19903 (bibtex-entry-alist, bibtex-field-alist): New variables.
19904 (bibtex-entry-field-alist): Obsolete alias for
19905 bibtex-BibTeX-entry-alist.
19906 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19907 (bibtex-set-dialect): New command.
19908 (bibtex-entry-type, bibtex-entry-head)
19909 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19910 Bind via bibtex-set-dialect.
19911 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19912 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19913 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19914 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19915 Define via bibtex-set-dialect.
19916 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19917 Obey bibtex-no-opt-remove-re.
19918 (bibtex-vec-push, bibtex-vec-incr): New functions.
19919 (bibtex-format-entry, bibtex-field-list)
19920 (bibtex-print-help-message, bibtex-validate)
19921 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19923 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19925 * progmodes/compile.el (compilation-goto-locus):
19926 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19927 * bs.el (bs-cycle-next, bs-cycle-previous):
19928 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19929 * bindings.el (mode-line-other-buffer):
19930 * autoinsert.el (auto-insert):
19931 * arc-mode.el (archive-extract):
19932 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19934 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19936 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19937 Fix check of `emacs-lock-unlockable-modes'.
19938 Coerce true values of `emacs-lock--try-unlocking' to t.
19940 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19942 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19943 * emacs-lock.el: New file.
19945 2011-07-05 Julien Danjou <julien@danjou.info>
19947 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19948 than `boundp' to check if face is set.
19950 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19952 * register.el (registerv-make):
19953 * window.el (window-min-height): Fix typos in docstrings.
19955 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19957 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19960 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19962 * server.el (server-execute): Catch quit and call
19963 `server-return-error' to pass the error back to emacsclient and
19964 close the connection (bug#8942).
19966 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19968 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19969 insecure exception for current topic. Also note that auto-saves
19970 are handled differently.
19972 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19973 State variables for tracking auto-save inhibition situation.
19975 (allout-write-contents-hook-handler): Rename from
19976 'allout-write-file-hook-handler', and describe how it depends on
19977 write-contents-functions sensitivity to non-nil value to prevent
19980 (allout-auto-save-hook-handler): Remove. auto-save does not check
19981 this in individual buffers, only in the starting buffer, so this
19982 is not the right way for us to inhibit auto-save in a buffer
19983 according to its condition.
19985 (allout-mode): Use new allout-write-contents-hook-handler, and
19986 only with write-contents-functions. Remove auto-save provisions -
19987 they're implemented elsewhere.
19989 (allout-before-change-handler): If undo is in progress, note that
19990 for attention of allout-post-command-business.
19992 (allout-post-command-business): If the command we're following was
19993 an undo, check for change in the status of encrypted items and
19994 adjust auto-save inhibitions accordingly.
19996 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19997 according to whether there are or aren't any plain-text topics
19998 pending encryption.
20000 (allout-inhibit-auto-save-info-for-decryption):
20001 Adjust buffer-saved-size and some allout state to inhibit auto-saves
20002 if there are plain-text topics pending encryption.
20004 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
20005 buffer-saved-size and some allout state to not inhibit auto-saves
20006 if there are no longer any plain-text topics pending encryption.
20008 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
20009 No longer provide for exemption of the current topic.
20011 2011-07-04 Juri Linkov <juri@jurta.org>
20013 Add 7z operations to delete and save changed members (bug#8968).
20014 * arc-mode.el (archive-7z-expunge, archive-7z-update):
20016 (archive-7z-write-file-member): New function.
20017 (archive-7z-summarize): Fix the number of dashes in the
20020 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20022 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
20025 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
20027 * bindings.el: Ignore next-buffer and previous-buffer in
20028 minibuffer-local-map.
20030 * font-lock.el (font-lock-builtin-face): Change light background
20031 color to dark slate blue (Bug#6693).
20033 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
20035 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20037 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
20039 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20040 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20041 Add switch-to-buffer.
20043 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20045 * isearch.el (isearch-search-fun-function): Clarify further the
20046 meaning of the function returned.
20048 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
20050 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20052 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20053 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20055 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20056 `tramp-default-remote-path' does not exist.
20057 (tramp-send-command-and-read): New optional argument NOERROR.
20058 (tramp-open-connection-setup-interactive-shell)
20059 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20060 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20061 (tramp-process-sentinel): Flush also process' connection property.
20062 (tramp-sh-handle-start-file-process): Do not set process
20063 sentinel. It is done now ...
20064 (tramp-maybe-open-connection): ... here. (Bug#8929)
20066 2011-07-04 MON KEY <monkey@sandpframing.com>
20068 * play/animate.el (animate-string): Doc fixes and allow changing
20069 the buffer name (bug#5417).
20071 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20073 * play/animate.el (animation-buffer-name): Rename from *animate*.
20075 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20077 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20078 This is simpler and helps future-proof the code.
20079 (timer-until): Use time-subtract and float-time.
20080 (timer--time-less-p): Use time-less-p.
20082 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20084 * type-break.el (timep): Use the value of `float-time' to avoid a
20085 byte-compiler warning.
20087 * server.el (server-eval-and-print): Return any result, even nil.
20089 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20091 * type-break.el: Accept time formats that the builtins accept.
20092 (timep, type-break-time-difference): Accept any format that
20093 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20094 This is simpler and helps future-proof the code.
20095 (type-break-time-difference): Round rather than ignoring
20096 subseconds components.
20098 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20100 * info.el (Info-apropos-matches): Make non-interactive, since it
20101 doesn't seem to do anything useful as a command (bug#8829).
20103 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
20105 * frame.el (frame-background-mode, frame-set-background-mode):
20106 Move from faces.el.
20107 (frame-default-terminal-background): New function.
20109 * custom.el (custom-push-theme): Don't record faces in `changed'
20110 theme; this doesn't work correctly for per-frame face settings.
20111 (disable-theme): Use face-set-after-frame-default to reset faces.
20112 (custom--frame-color-default): New function.
20114 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20116 * dired.el (dired-flagging-regexp): Remove unused variable
20119 2011-03-29 Kevin Ryde <user42@zip.com.au>
20121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20122 `perl-Test2' extend to match possible "fail #N" rep count
20125 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20127 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20128 `smtpmail-via-smtp' now returns the error instead of nil.
20130 * isearch.el (isearch-search-fun-function): Clarify the doc string
20133 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
20135 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20136 unnecessary spaces (bug#8987).
20138 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20140 * net/network-stream.el (open-network-stream): Use the
20141 :end-of-capability command thoughout.
20143 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20145 * net/network-stream.el (open-network-stream): Add the
20146 :end-of-capability command parameter, used by pop3.el.
20148 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20150 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20152 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20153 for list)" (bug#6475).
20155 * files.el (file-expand-wildcards): Ignore non-readable
20156 sub-directories while trying to find matches instead of signaling
20157 an error (bug#6297).
20159 * man.el (Man-reference-regexp): Allow matching possible
20160 word-wrapped references (bug#6289).
20162 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20163 for consistency with the other vc buffers (bug#6197).
20164 (vc-checkin): Ditto.
20166 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20168 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20170 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20172 * custom.el (defcustom): Clarify that :set is only used in the
20173 Customize user interface (bug#6089).
20175 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20176 associated with a file, refuse to run instead of erroring out
20179 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20180 the doc string, since it appears that using `fill-column' always
20181 controls the width (bug#7845).
20183 * simple.el (shell-command-on-region): Say where the error output
20184 went if `shell-command-default-error-buffer' is set (bug#6857).
20186 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20188 * allout.el (allout-yank-processing): Adjust cursor position for
20189 backwards-deleted space.
20191 (allout-rebullet-heading): Register changes with
20192 allout-exposure-changed-hook, so the modified topic is properly
20195 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20197 * minibuffer.el (completion-in-region): Document PREDICATE
20200 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20201 of keyword/argument pairs (bug#6904).
20203 * replace.el (multi-occur):
20204 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20206 2011-07-02 Drew Adams <drew.adams@oracle.com>
20208 * dired.el (dired-mark-if): Make the message about whether it's
20209 marking or unmarking clearer (bug#8523).
20211 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20213 * disp-table.el (display-table-print-array): New function.
20214 (describe-display-table): Use it to print the vectors more pretty
20217 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20219 * window.el (window-state-get-1): Don't assign clone numbers.
20220 Add clone-of item to list of window parameters.
20221 (window-state-put-2): Don't process clone numbers.
20222 (display-buffer-alist): Fix doc-string.
20224 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20226 * subr.el (remq): Don't allocate if it's not needed.
20227 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20228 (keymap--merge-bindings): New functions.
20229 (keymap-canonicalize): Use them to refine the canonicalization.
20230 * minibuffer.el (minibuffer-local-completion-map)
20231 (minibuffer-local-must-match-map): Move initialization from C.
20232 (minibuffer-local-filename-completion-map): Move initialization from C;
20233 don't inherit from anything here.
20234 (minibuffer-local-filename-must-match-map): Make obsolete.
20235 (completing-read-default): Use make-composed-keymap to combine
20236 minibuffer-local-filename-completion-map with either
20237 minibuffer-local-must-match-map or
20238 minibuffer-local-filename-completion-map.
20240 2011-07-01 Glenn Morris <rgm@gnu.org>
20242 * type-break.el (type-break-time-sum): Use dolist.
20244 * textmodes/flyspell.el (flyspell-word-search-backward):
20245 Replace CL function.
20247 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20249 * mouse.el (mouse--strip-first-event): New function.
20250 (function-key-map): Use it to map fringe clicks to normal clicks
20253 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20254 (vc-bzr-revision-completion-table): Add support for annotate and date.
20256 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20257 inherit from parent.
20259 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20261 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20262 (dired-show-file-type): Doc fixup (bug#8818).
20264 * dired.el (dired-mode): Fix up the doc string as suggested by
20265 Drew Adams (bug#8817).
20267 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20268 cookie, since the manual says that it should be possible to add
20269 this function to `find-file-hook' (bug#8709).
20271 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20273 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20274 here. Noted Ted Zlatanov as the maintainer.
20275 (cfengine-common-settings, cfengine-common-syntax): New functions
20276 to set up common things between `cfengine-mode' and
20278 (cfengine3-mode): New mode.
20279 (cfengine3-defuns cfengine3-defuns-regex
20280 (cfengine3-class-selector-regex cfengine3-category-regex)
20281 (cfengine3-vartypes cfengine3-font-lock-keywords)
20282 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20283 (cfengine3-indent-line): Add from cfengine3.el.
20285 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20287 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20289 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20291 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20293 * window.el (same-window-buffer-names, same-window-regexps)
20294 (same-window-p, special-display-frame-alist)
20295 (special-display-popup-frame, special-display-function)
20296 (special-display-buffer-names, special-display-regexps)
20297 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20298 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20299 (split-window-preferred-function, split-height-threshold)
20300 (split-width-threshold, even-window-heights)
20301 (display-buffer-mark-dedicated, window-splittable-p)
20302 (split-window-sensibly, window-safely-shrinkable-p):
20304 (display-buffer): Don't spread args with function specifier
20305 because special-display-popup-frame won't like it.
20307 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20309 Time-stamp simplifications and fixes.
20310 These improve accuracy slightly, and future-proof the code
20311 against some potential changes to current-time format.
20313 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20314 by using time-since and float-time.
20316 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20317 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20318 + NNN microseconds".
20320 * type-break.el (type-break-time-sum): Rewrite using time-add.
20322 * play/hanoi.el (hanoi-current-time-float): Remove.
20323 All uses replaced by float-time.
20325 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20326 This yields a more-accurate answer.
20327 (rng-time-to-float): Remove; no longer needed.
20329 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20331 * calendar/timeclock.el (timeclock-seconds-to-time):
20332 Defalias to seconds-to-time, since they're the same thing.
20334 * emacs-lisp/elp.el (elp-elapsed-time):
20335 * emacs-lisp/benchmark.el (benchmark-elapse):
20336 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20338 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20340 * window.el (bury-buffer): Don't iconify the only frame.
20341 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20342 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20344 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20346 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20347 Add mouse-yank-primary.
20349 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20351 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20353 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20355 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20356 (find-library-name): Use it to find relative load names when provided
20357 absolute file name (bug#8803).
20359 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20361 * textmodes/flyspell.el (flyspell-word): Consider words that
20362 differ only in case as potential doublons (bug#5687).
20364 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20365 Remove two rather uninteresting debugging-like messages to make
20366 debbugs.el more silent.
20368 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20369 a password-like phrase.
20371 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20373 * progmodes/cc-guess.el: New file.
20375 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20377 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20378 derived from `c-basic-common-init'.
20380 * progmodes/cc-mode.el (top-level): Require cc-guess.
20381 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20383 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20385 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20387 2011-06-30 Alan Mackenzie <acm@muc.de>
20389 * progmodes/cc-engine.el (c-guess-continued-construct):
20390 Correct the handling of template-args-cont, particularly for when font
20391 lock is disabled. Name this case as "CASE G".
20393 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20395 * allout.el (allout-yank-processing): Fix injection of extra space
20396 between bullet and non-whitespace character in first topic when
20397 pasting, ensuring that the actual spacing in the pasted topic
20398 following the bullet char is preserved. This extra space was
20399 causing pasted encrypted topics to get a decrypted status even
20400 when the content was actually still encrypted. Now the decryption
20401 status from before the paste is preserved.
20403 (allout-flag-region): Set all allout overlays so they evaporate
20404 when reduced to zero length (evanescent), to prevent overlay
20407 2011-06-30 Glenn Morris <rgm@gnu.org>
20409 * w32-fns.el (w32-charset-info-alist): Declare.
20411 * find-dired.el (find-grep-options): Simplify.
20413 * term/ns-win.el (ns-set-resource): Declare.
20415 * ses.el (row, col): Declare dynamic variables honestly.
20417 * textmodes/reftex-parse.el (index-tags): Declare.
20419 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20421 * cus-edit.el (customize-push-and-save): New function.
20423 * files.el (hack-local-variables-confirm): Use it.
20425 * custom.el (load-theme): New arg NO-CONFIRM.
20426 Use customize-push-and-save (Bug#8720).
20427 (custom-enabled-themes): Doc fix.
20429 * cus-theme.el (customize-create-theme)
20430 (custom-theme-merge-theme): Callers to load-theme changed.
20432 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20434 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20435 short URLs have at least one dot in them (bug #7614).
20437 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20438 nil, because using a pty is apparently too slow (bug #895).
20440 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20442 * mail/sendmail.el (sendmail-query-once): New function.
20443 (sendmail-query-once-function): New variable.
20445 2011-06-29 Glenn Morris <rgm@gnu.org>
20447 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20449 * ses.el (top-level): Require cl when compiling.
20450 (ses-set-localvars): Fix error statement.
20451 Call it at compile time to silence a storm of warnings.
20453 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20455 * window.el (normalize-live-buffer): Rename to
20456 window-normalize-buffer.
20457 (normalize-live-frame): Rename to window-normalize-frame.
20458 (normalize-any-window): Rename to window-normalize-any-window.
20459 (normalize-live-window): Rename to window-normalize-live-window.
20460 (make-window-atom): Rename to window-make-atom.
20461 (window-resize-reset): Rename to window--resize-reset.
20462 (window-resize-reset-1): Rename to window--resize-reset-1.
20463 (resize-mini-window): Rename to window--resize-mini-window.
20464 (resize-subwindows-skip-p): Rename to
20465 window--resize-subwindows-skip-p.
20466 (resize-subwindows-normal): Rename to
20467 window--resize-subwindows-normal.
20468 (resize-subwindows): Rename to window--resize-subwindows.
20469 (resize-other-windows): Rename to window--resize-siblings.
20470 (resize-this-window): Rename to window--resize-this-window.
20471 (resize-root-window): Rename to window--resize-root-window.
20472 (resize-root-window-vertically): Rename to
20473 window--resize-root-window-vertically.
20474 (normalize-buffer-to-display): Rename to
20475 window-normalize-buffer-to-display.
20476 (normalize-buffer-to-switch-to): Rename to
20477 window-normalize-buffer-to-switch-to.
20478 Correspondingly update all callers of the functions listed
20480 (display-buffer-alist, display-buffer-normalize-arguments)
20481 (display-buffer-normalize-options, display-buffer)
20482 (display-buffer-alist-set): Use "function" instead of
20485 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20487 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20488 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20489 debbugs.gnu.org. Mention acknowledgment email.
20491 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20493 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20494 buffer multibyteness, since it shouldn't matter.
20496 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20498 * window.el (display-buffer-in-side-window): Handle dedicated
20499 windows as in display-buffer-reuse-window.
20500 (display-buffer-normalize-alist): Use value of override
20502 (display-buffer-normalize-specifiers): Use value of
20503 other-window-means-other-frame specifier.
20504 (display-buffer-alist): Rewrite some texts in widgets.
20505 (display-buffer): Spread arguments when calling function
20506 specified by fun-with-args.
20508 2011-06-28 Deniz Dogan <deniz@dogan.se>
20510 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20513 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20514 selectors (Bug#5732).
20515 (css-proprietary-nmstart-re): Use `regexp-opt'.
20517 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20519 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20520 (eshell-ls-date-format): New defcustom.
20521 (eshell-ls-file): Use it.
20523 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20525 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20527 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20529 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20530 (ange-ftp-make-tmp-name): New arg.
20531 (ange-ftp-file-local-copy): Use it.
20533 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20535 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20536 no-conversion (Bug#8870).
20538 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20540 * window.el (window-right, window-left, window-child)
20541 (window-child-count, window-last-child)
20542 (window-iso-combination-p, walk-window-tree-1)
20543 (window-atom-check-1, window-tree-1, delete-window)
20544 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20545 new naming conventions - window-vchild, window-hchild,
20546 window-next and window-prev are now called window-top-child,
20547 window-left-child, window-next-sibling and window-prev-sibling
20549 (resize-window-reset): Rename to window-resize-reset.
20550 (resize-window-reset-1): Rename to window-resize-reset-1.
20551 (resize-window): Rename to window-resize.
20552 (window-min-height, window-min-width)
20553 (resize-mini-window, resize-this-window, resize-root-window)
20554 (resize-root-window-vertically, adjust-window-trailing-edge)
20555 (enlarge-window, shrink-window, maximize-window)
20556 (minimize-window, delete-window, quit-restore-window)
20557 (split-window, balance-windows, balance-windows-area-adjust)
20558 (balance-windows-area, window-state-put-2)
20559 (display-buffer-even-window-sizes, display-buffer-set-height)
20560 (display-buffer-set-width, set-window-text-height)
20561 (fit-window-to-buffer): Rename all "resize-window" prefixed
20562 calls to use the "window-resize" prefix convention.
20563 (display-buffer-alist): Fix symbol for label specifier.
20564 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20565 corresponding specifier.
20566 Reported by Juanma Barranquero <lekktu@gmail.com>.
20568 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20570 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20572 (ses-call-printer): Does not pass an empty string to formatter when the
20573 cell is empty to keep from barking printer Calc math-format-value.
20575 2011-06-27 Richard Stallman <rms@gnu.org>
20577 * battery.el (battery-mode-line-limit): New variable.
20578 (battery-update): Handle it.
20580 * mail/rmailmm.el (rmail-mime-process-multipart):
20581 Handle truncated messages.
20583 2011-06-27 Glenn Morris <rgm@gnu.org>
20585 * progmodes/flymake.el (flymake-err-line-patterns):
20586 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20588 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20590 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20591 (ses--clean-!, ses--clean-_): New functions.
20592 (ses-range): Add configurability of readout order, and conversion
20595 * ses.el (ses-repair-cell-reference-all): New function.
20596 (ses-cell-symbol): Set macro as safe, so that it can be used in
20599 * ses.el: Update cycle detection algorithm.
20600 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20601 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20602 (ses-set-localvars): New function.
20603 (ses-make-cell): Add property-list as a cell element.
20604 (ses-cell-property-get-fun, ses-cell-property-get)
20605 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20606 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20608 (ses-cell-property-set, ses-cell-property-pop)
20609 (ses-cell-property-get-handle): New macro.
20610 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20611 New aliases, used for code readability.
20612 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20614 (ses-self-reference-early-detection): New defcustom.
20615 (ses-formula-references): Robustify against self-referring cells.
20616 (ses-mode): Use ses-set-localvars.
20617 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20618 before lauching the update processing.
20619 (ses-initialize-Dijkstra-attempt): New function.
20620 (ses-recalculate-cell): Update for cycle detection based on
20621 Dijkstra algorithm.
20623 * ses.el: Fix commenting and indenting convention.
20625 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20627 * bs.el (bs-cycle-next): Complete last change.
20629 2011-06-27 Drew Adams <drew.adams@oracle.com>
20631 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20633 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20635 * net/network-stream.el (network-stream-open-starttls):
20636 Don't re-get capabilities unless we've reestablished connection.
20637 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20639 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20640 to binary to possibly avoid line encoding issues on Windows (among
20643 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20645 * net/network-stream.el (open-network-stream): Return an :error
20646 saying what the problem was, if possible.
20648 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20651 * net/network-stream.el (network-stream-open-starttls): If we
20652 wanted to use STARTTLS, and the server offered it, but we weren't
20653 able to because we had no STARTTLS support, then close the connection.
20654 (open-network-stream): Return an :error element, if present.
20656 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20658 * hl-line.el (hl-line-sticky-flag): Doc fix.
20659 (global-hl-line-sticky-flag): New option (Bug#8323).
20660 (global-hl-line-highlight): Obey it.
20662 * vc/vc.el (vc-revert-show-diff): Default to t.
20664 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20666 * allout-widgets.el (allout-widgets-post-command-business):
20667 Stop decorating intermediate isearch matches. They're not being
20668 undecorated when an isearch is continued past, and isearch
20669 automatically collapses them. This leads to "widget leaks", where
20670 decorated items accumulate in collapsed areas. Lines with lots of
20671 hidden widgets can slow down cursor travel, substantially.
20672 Too much complicated machinery would be needed to ensure undecoration,
20673 so we're doing without this nicety.
20675 (allout-widgets-tally-string): Don't try to do a hash-table-count
20676 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20677 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20678 *Messages* when allout-widgets-maintain-tally is t.
20680 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20682 * window.el (display-buffer-normalize-argument): Rename to
20683 display-buffer-normalize-arguments. Handle special meaning of
20684 LABEL argument. Respect special-display-function when popping up
20685 a new frame. Fix code searching for a window showing the buffer
20687 (display-buffer-normalize-specifiers):
20688 Call display-buffer-normalize-arguments.
20689 (display-buffer-in-window): Don't undedicate the window if its
20690 buffer remains the same.
20691 Reported by Drew Adams <drew.adams@oracle.com>.
20692 (display-buffer-alist): Add choice for same-window macro
20694 (display-buffer): Mention special meaning of LABEL argument in
20695 doc-string. Fix quoting. Don't pop up a new frame even as
20698 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20700 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20701 avoid deleting the current window in some cases (bug#8911).
20703 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20705 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20708 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20710 * net/network-stream.el (network-stream-open-starttls):
20711 Use built-in TLS support if `gnutls-available-p' is true.
20712 (network-stream-open-tls): Ditto.
20714 2011-06-26 Leo Liu <sdl.web@gmail.com>
20716 * register.el (registerv): New struct.
20717 (registerv-make): New function.
20718 (jump-to-register, describe-register-1, insert-register):
20719 Support the jump-func, print-func and insert-func slot of a registerv
20722 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20724 * vc/vc.el (vc-revert-show-diff): New defcustom.
20725 (vc-diff-internal): New arg specifying diff buffer.
20726 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20727 reuse an existing *vc-diff* buffer (Bug#8927).
20729 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20731 2011-06-26 Glenn Morris <rgm@gnu.org>
20733 * progmodes/f90.el (f90-critical-indent): New option.
20734 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20735 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20736 (f90-mode): Doc fix.
20737 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20738 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20739 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20740 (f90-match-end): Handle block, critical.
20742 2011-06-25 Glenn Morris <rgm@gnu.org>
20744 * calendar/diary-lib.el (diary-included-files): Doc fix.
20745 (diary-include-files): New function, extracted from
20746 diary-include-other-diary-files and diary-mark-included-diary-files.
20747 (diary-include-other-diary-files, diary-mark-included-diary-files):
20748 Just call diary-include-files.
20749 (diary-mark-entries): Reset diary-included-files on first call.
20751 * calendar/diary-lib.el (diary-mark-entries)
20752 (diary-mark-included-diary-files):
20753 Visit included diary-files in temp buffers.
20755 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20756 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20757 (f90-start-block-re, f90-imenu-generic-expression)
20758 (f90-looking-at-program-block-start, f90-no-block-limit):
20759 Add support for submodules.
20761 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20762 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20764 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20766 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20767 buffer-file-type before setting its value, to avoid disastrous
20768 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20770 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20772 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20774 * ses.el (ses-unload-function):
20775 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20777 * proced.el (proced-unload-function):
20778 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20780 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20782 * server.el (server-create-window-system-frame): Add parameters arg.
20783 (server-process-filter): Doc fix. Handle frame-parameters.
20785 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20787 Fix bug#8730, bug#8781.
20789 * loadhist.el (unload--set-major-mode): New function.
20790 (unload-feature): Use it.
20792 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20793 (python-unload-function): New function.
20795 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20797 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20799 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20801 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20802 the candidates list.
20804 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20806 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20808 2011-06-23 Richard Stallman <rms@gnu.org>
20810 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20811 (rmail-variables): Set next-error-move-function.
20812 (rmail-what-message): Take argument POS.
20813 (rmail-next-error-move): New function.
20815 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20817 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20818 messages for adjacent non-terminals.
20820 2011-06-23 Richard Stallman <rms@gnu.org>
20822 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20823 (rmail-show-message-1): Preserve buffer modified flag.
20824 (rmail-start-mail): Don't specify use of rmail-mail-return;
20825 that's done by mail-bury now.
20826 (rmail-mail-return): Handle arg NEWBUF.
20828 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20830 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20833 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20835 * window.el (get-lru-window, get-mru-window)
20836 (get-largest-window): Never return a minibuffer window.
20837 (display-buffer-pop-up-window): Fix a bug that could lead to
20838 reusing the minibuffer window.
20839 (display-buffer): Pass original specifier argument to
20840 display-buffer-function instead of the normalized one.
20841 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20843 2011-06-22 Leo Liu <sdl.web@gmail.com>
20845 * minibuffer.el (completing-read-function)
20846 (completing-read-default): Move from minibuf.c.
20848 2011-06-22 Richard Stallman <rms@gnu.org>
20850 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20851 to Rmail even if not started by a special Rmail command.
20853 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20854 Copy the buffer currently showing just one message.
20856 2011-06-22 Roland Winkler <winkler@gnu.org>
20858 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20859 (bibtex-clean-entry): First delete the old key so that a
20860 customized algorithm for generating the new key does not get
20861 confused by the old key.
20862 (bibtex-url): Obey regexp of first step.
20863 (bibtex-search-entries): Do not use add-to-list with local
20866 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20868 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20869 stored a user name, then query for the password first, instead of
20870 waiting for SMTP to give an error message and the trying again.
20872 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20874 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20875 BUFFER in call-process.
20877 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20879 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20881 (smtpmail-try-auth-methods): Require user name and password from
20884 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20886 * window.el (display-buffer-default-specifiers)
20887 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20888 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20889 (split-window): Normalize SIDE argument (Bug#8916).
20891 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20892 (special-display-frame-alist, special-display-popup-frame):
20893 Remove duplicate declarations. These are now in window.el.
20895 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20897 * mail/smtpmail.el (smtpmail-via-smtp):
20898 Set :use-starttls-if-possible so that we always use STARTTLS if the
20899 server supports it. SMTP servers that support STARTTLS commonly
20902 * net/network-stream.el (network-stream-open-starttls): Support
20903 upgrading to STARTTLS always, even if we don't have built-in support.
20904 (open-network-stream): Add the :always-query-capabilities keyword.
20906 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20907 upgrades with `open-network-stream', and rely solely on
20908 auth-source for all credentials. Big changes throughout the file,
20910 (smtpmail-auth-credentials): Remove.
20911 (smtpmail-starttls-credentials): Remove.
20912 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20915 * net/network-stream.el (network-stream-open-starttls):
20916 Provide support for client certificates both for external and built-in
20918 (auth-source): Require.
20919 (open-network-stream): Document the :client-certificate keyword.
20920 (network-stream-certificate): Change cert-cert to cert and
20923 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20925 * net/tramp-cache.el (top): Don't load the persistency file when
20926 "emacs -Q" has been called.
20928 2011-06-21 Tim Harper <timcharper@gmail.com>
20930 * term/ns-win.el (ns-initialize-window-system):
20931 Set application-specific `ApplePressAndHoldEnabled' system
20932 resource to NO as it is not yet supported by the NS port.
20934 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20936 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20937 (list-dynamic-libraries): ...not here.
20939 2011-06-21 Leo Liu <sdl.web@gmail.com>
20941 * subr.el (sha1): Implement sha1 using secure-hash.
20943 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20945 * window.el (display-buffer-alist): In default value do not
20946 enforce searching a window on any but the selected frame.
20947 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20948 (display-buffer-select-window): Remove function.
20949 (display-buffer-in-window): When a window on another frame gets
20950 reused, do not select it any more but just raise its frame if
20951 necessary (Bug#8851) and (Bug#8856).
20952 (display-buffer-normalize-options): Handle pop-up-frames related
20953 options more faithfully.
20954 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20955 window if it is on another frame.
20956 (display-buffer-alist, display-buffer-default-specifiers):
20957 Don't make new frame unsplittable by default.
20958 (display-buffer-normalize-argument): Fix doc-string typo and use
20959 'same-frame-other-window instead of 'other-window when associating
20960 with display-buffer-macro-specifiers.
20962 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20964 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20966 (5x5-mode-map, 5x5-mode-menu): Bind them.
20967 (5x5-draw-grid): Tweak the solver's rendering.
20969 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20971 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20972 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20974 2011-06-21 Drew Adams <drew.adams@oracle.com>
20976 * menu-bar.el: Use function variable instead of switch-to-buffer.
20977 (menu-bar-select-buffer-function): New variable.
20978 (menu-bar-update-buffers): Use it (bug#8876).
20980 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20982 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20985 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20987 * x-dnd.el (x-dnd-version-from-flags)
20988 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20989 and long as number (Bug#8899).
20990 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20992 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20994 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20995 (completion-try-completion, completion-all-completions): Compute the
20996 metadata argument if it's missing; make it optional (bug#8795).
20998 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20999 (widget-complete): Use new :completion-function property.
21000 (widget-completions-at-point): New function.
21001 (default): Use :completion-function instead of :complete.
21002 (widget-default-completions): Rename from widget-default-complete;
21004 (widget-string-complete, widget-file-complete, widget-color-complete):
21006 (file, symbol, function, variable, coding-system, color):
21007 * international/mule-cmds.el (default-input-method, charset)
21008 (language-info-custom-alist):
21009 * cus-edit.el (face): Use new property :completions.
21011 * progmodes/pascal.el (pascal-completions-at-point): New function.
21012 (pascal-mode): Use it.
21013 (pascal-mode-map): Use completion-at-point.
21014 (pascal-toggle-completions): Make obsolete.
21015 (pascal-complete-word, pascal-show-completions):
21016 * progmodes/octave-mod.el (octave-complete-symbol):
21017 Redefine as obsolete alias.
21018 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21019 Signal absence of completion info for old Octave,
21020 (inferior-octave-complete): Redefine as obsolete alias.
21021 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21022 (meta-completions-at-point): Rename from meta-complete-symbol and
21023 adapt it for use on completion-at-point-functions.
21024 (meta-common-mode): Use it.
21025 (meta-looking-at-backward, meta-match-buffer): Remove.
21026 (meta-complete-symbol): Redefine as obsolete alias.
21027 (meta-common-mode-map): Use completion-at-point.
21028 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21029 (makefile-mode-map): Use completion-at-point.
21030 (makefile-completions-at-point): Rename from makefile-complete and
21031 adapt it for use on completion-at-point-functions.
21032 (makefile-mode): Use it.
21033 (makefile-complete): Redefine as obsolete alias.
21035 2011-06-20 Deniz Dogan <deniz@dogan.se>
21037 * net/rcirc.el: Delete trailing whitespaces once and for all.
21039 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
21041 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
21043 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
21045 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21047 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21049 2011-06-19 Martin Rudalics <rudalics@gmx.at>
21051 * window.el (display-buffer-other-window-means-other-frame):
21052 Call display-buffer-normalize-alist.
21053 (display-buffer-normalize-specifiers-1): Rename to
21054 display-buffer-normalize-argument. New argument other-frame.
21056 (display-buffer-normalize-specifiers-2): Rename to
21057 display-buffer-normalize-options.
21058 (display-buffer-normalize-alist-1): New function.
21059 (display-buffer-normalize-specifiers-3): Rename to
21060 display-buffer-normalize-alist.
21061 Call display-buffer-normalize-alist-1.
21062 (display-buffer-normalize-options-inhibit): New variable.
21063 (display-buffer-normalize-specifiers): Rewrite calling
21064 display-buffer-normalize-alist,
21065 display-buffer-normalize-argument, and
21066 display-buffer-normalize-options. Don't call the latter if
21067 display-buffer-normalize-options-inhibit is non-nil.
21068 (frame-auto-delete): New option.
21069 (window-deletable-p): Use frame-auto-delete.
21070 (window-list-no-nils, window-state-ignored-parameters)
21071 (window-state-get-1, window-state-get, window-state-put-list)
21072 (window-state-put-1, window-state-put-2, window-state-put):
21074 (display-buffer-normalize-options): Move special-display-p group
21075 after pop-up-frame group (Bug#8851) and (Bug#8856).
21077 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
21079 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21081 (rx-submatch-n): New function.
21084 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21087 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21089 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21091 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21092 anytime existing face settings are present (Bug#8889).
21094 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21095 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21096 Remove unused argument.
21098 2011-06-18 Martin Rudalics <rudalics@gmx.at>
21100 * window.el (display-buffer-default-specifiers):
21101 Remove pop-up-frame. Add pop-up-window-min-height,
21102 pop-up-window-min-width, and another reuse-window specifier
21103 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
21104 (display-buffer-normalize-specifiers-2):
21105 Handle split-height-threshold and split-width-threshold also when
21106 pop-up-windows is unset. Add a reuse-window specifier for the
21107 case popping up a new window fails.
21108 (special-display-popup-frame): Remove double quoting.
21109 (display-buffer-normalize-specifiers-1): Fix thinko.
21111 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21113 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21114 according to comint-completion-addsuffix.
21116 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21117 (pcomplete-suffix-list): Mark as obsolete.
21118 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21119 pcomplete-seen in the closure.
21120 (pcomplete-comint-setup): Setup completion-at-point as well.
21121 (pcomplete--entries): New function.
21122 (pcomplete--env-regexp): New var.
21123 (pcomplete-entries): Rewrite to work with partial-completion and
21124 without relying on pcomplete-suffix-list.
21125 (pcomplete-pare-list): Remove, unused.
21127 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21129 * window.el (display-buffer-alist): Set pop-up-window-min-height
21130 and pop-up-window-min-width in default value. Reported by
21131 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21132 other-window-means-other-frame.
21133 (display-buffer-macro-specifiers): Comment out entry for
21134 other-window specifier.
21135 (display-buffer-other-window-means-other-frame): New function.
21136 (display-buffer-normalize-specifiers-1): New arguments
21137 buffer-name and label. Treat other-window case specially.
21138 (display-buffer-normalize-specifiers-2): Treat other-window case
21140 (display-buffer-normalize-specifiers-3): New function.
21141 (display-buffer-normalize-specifiers):
21142 Call display-buffer-normalize-specifiers-3.
21144 2011-06-17 Martin Rudalics <rudalics@gmx.at>
21146 * window.el (same-window-p): Fix two typos introduced when
21147 adding with-no-warnings.
21148 (display-buffer-normalize-specifiers-1): Don't check
21149 pop-up-frames for 'unset initialization.
21150 (display-buffer-normalize-specifiers-2): Major rewrite using
21151 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21152 (pop-up-frames, display-buffer-reuse-frames)
21153 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21154 Suggested by David Engster <deng@randomsample.de>.
21155 (even-window-heights): Initialize to 'unset.
21156 (display-buffer-alist-set): Handle new 'unset initializations.
21157 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21160 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21162 * window.el (display-buffer-normalize-specifiers-1):
21163 Respect current value of pop-up-frames for most reasonable values of
21164 second argument of display-buffer (Bug#8865).
21165 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21166 (switch-to-buffer-other-window-same-frame)
21167 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21169 (display-buffer): Don't check noninteractive when calling
21170 display-buffer-pop-up-frame.
21171 (display-buffer-pop-up-frame): Never pop up a frame in
21172 noninteractive mode (Bug#8857).
21173 (enlarge-window, shrink-window): Don't report an error when the
21174 window can't be resized as requested (Bug#8862).
21176 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21178 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21180 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21182 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21184 2011-06-15 Alan Mackenzie <acm@muc.de>
21186 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21187 for declarators, disable knr checking to speed up for normal files.
21188 2: Refactor, replacing a sequence of nested if forms by a cond form.
21190 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21192 * net/network-stream.el (open-network-stream): Add the keyword
21193 :always-query-capabilities for the case where you want to force a
21194 `plain' network connection, but the protocol still requires the
21195 capabilitiy command (i.e., SMTP and EHLO).
21197 * subr.el (process-live-p): Rename from `process-alive-p' for
21198 consistency with other `-live-p' functions.
21200 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21202 * window.el (same-window-buffer-names, same-window-regexps)
21203 (special-display-frame-alist, special-display-popup-frame)
21204 (special-display-function, special-display-buffer-names)
21205 (special-display-regexps, pop-up-frame-alist)
21206 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21207 (pop-up-windows, split-window-preferred-function)
21208 (split-height-threshold, split-width-threshold, even-window-heights)
21209 (display-buffer-mark-dedicated): Don't encourage the use of
21210 display-buffer-alist from Elisp code.
21212 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21214 * progmodes/python.el (python-mode): Derive from prog-mode.
21215 * progmodes/ps-mode.el (ps-mode):
21216 * progmodes/mixal-mode.el (mixal-mode):
21217 * progmodes/cfengine.el (cfengine-mode):
21218 * progmodes/ld-script.el (ld-script-mode): Likewise.
21220 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21222 * window.el (display-buffer-alist): Trim default value to avoid
21223 popping up a new frame (Bug#8857) or reusing an arbitrary window
21225 (display-buffer): Do not fall back on popping up a new frame in
21226 batch mode (Bug#8857).
21228 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21230 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21231 (custom-theme-summary): New function.
21232 (customize-themes): Use it.
21234 2011-06-13 Glenn Morris <rgm@gnu.org>
21236 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21238 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21240 * help.el (help-window): Remove variable.
21241 (help-window-point-marker, temp-buffer-max-height)
21242 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21243 (help-print-return-message): Don't set help-window.
21244 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21245 (help-window-setup-finish): Remove.
21246 (help-window-display-message, help-window-setup)
21247 (with-help-window): Major rewrite based on new
21248 display-buffer-window variable.
21250 * help-mode.el (help-mode-finish): Remove help-window related
21253 * view.el (view-exits-all-viewing-windows): Remove reference to
21254 view-return-to-alist in doc-string.
21255 (view-return-to-alist): Make obsolete.
21256 (view-buffer): Call pop-to-buffer-same-window and remove
21258 (view-buffer-other-window): Call pop-to-buffer-other-window and
21259 simplify code. Ignore second argument.
21260 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21261 simplify code. Ignore second argument.
21262 (view-return-to-alist-update): Make obsolete.
21263 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21264 Rewrite using quit-restore window parameters.
21265 (view-mode-exit): Rename second argument to EXIT-ONLY.
21266 Rewrite using quit-restore-window.
21267 (View-exit, View-exit-and-edit, View-leave, View-quit)
21268 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21269 appropriate arguments.
21270 (view-end-message): Use quit-restore window parameter.
21272 * window.el (display-buffer-function): Rewrite doc-string.
21273 (display-buffer-window, display-buffer-alist): New variables.
21274 (display-buffer-split-specifiers)
21275 (display-buffer-side-specifiers)
21276 (display-buffer-macro-specifiers): New constants.
21277 (display-buffer-even-window-sizes, display-buffer-set-height)
21278 (display-buffer-set-width, display-buffer-select-window)
21279 (display-buffer-in-window, display-buffer-reuse-window)
21280 (display-buffer-split-window-1, display-buffer-split-window)
21281 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21282 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21283 (display-buffer-in-side-window, normalize-buffer-to-display)
21284 (display-buffer-normalize-specifiers-1)
21285 (display-buffer-normalize-specifiers-2)
21286 (display-buffer-normalize-specifiers, display-buffer-frame):
21288 (display-buffer): Major rewrite.
21289 (display-buffer-other-window, display-buffer-other-frame)
21290 (pop-to-buffer, switch-to-buffer-other-window)
21291 (switch-to-buffer-other-frame): Rewrite.
21292 (display-buffer-same-window, display-buffer-same-frame)
21293 (display-buffer-same-frame-other-window)
21294 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21295 (pop-to-buffer-other-window)
21296 (pop-to-buffer-same-frame-other-window)
21297 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21298 (switch-to-buffer-other-window-same-frame): New functions.
21299 (same-window-p, special-display-p): Rewrite disabling warnings.
21301 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21302 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21304 (same-window-buffer-names, same-window-regexps)
21305 (special-display-frame-alist, special-display-popup-frame)
21306 (special-display-function, special-display-buffer-names)
21307 (special-display-regexps, pop-up-frame-alist)
21308 (pop-up-frame-function, split-window-preferred-function)
21309 (split-height-threshold, split-width-threshold)
21310 (even-window-heights): Make obsolete.
21312 2011-06-12 Glenn Morris <rgm@gnu.org>
21314 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21315 Misc simplifications.
21317 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21319 * window.el (window-safely-shrinkable-p): Restore function which
21320 was inadvertently removed in change from 2011-06-11. Declare as
21323 * calendar/calendar.el (calendar-generate-window):
21324 Use window-iso-combined-p instead of combination of one-window-p and
21325 window-safely-shrinkable-p.
21327 2011-06-12 Glenn Morris <rgm@gnu.org>
21329 * progmodes/fortran.el (fortran-mode-syntax-table):
21330 * progmodes/f90.el (f90-mode-syntax-table):
21331 Set % to punctuation. (Bug#8820)
21332 (f90-find-tag-default): Remove, no longer needed.
21334 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21336 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21338 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21340 * image.el (image-animated-p): Return animation delay in seconds.
21341 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21342 (image-animate-timeout): Remove DELAY argument. Don't assume
21343 every subimage has the same delay; get it from image-animated-p.
21344 (image-animate): Caller changed.
21346 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21348 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21349 to ignored backtrace functions.
21351 2011-06-11 Glenn Morris <rgm@gnu.org>
21353 * calendar/appt.el (appt-disp-window-function): Doc fix.
21354 (appt-check): Handle overlapping appointments. (Bug#8337)
21356 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21358 * window.el (window-tree-1, window-tree): New functions, moving
21359 the latter to window.el.
21360 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21361 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21362 (bw-refresh-edges): Remove.
21363 (balance-windows-1, balance-windows-2): New functions.
21364 (balance-windows): Rewrite in terms of window tree functions,
21365 balance-windows-1 and balance-windows-2.
21366 (bw-adjust-window): Remove.
21367 (balance-windows-area-adjust): New function with functionality of
21368 bw-adjust-window but using resize-window.
21369 (set-window-text-height): Rewrite doc-string.
21370 Use normalize-live-window and resize-window.
21371 (enlarge-window-horizontally, shrink-window-horizontally):
21372 Rename argument to DELTA.
21373 (window-buffer-height): New function.
21374 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21375 Rewrite using new window resize routines.
21376 (kill-buffer-and-window, mouse-autoselect-window-select):
21377 Use ignore-errors instead of condition-case.
21378 (quit-window): Call delete-frame instead of delete-windows-on
21379 for the only buffer on frame.
21381 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21383 * loadup.el (top-level): Load window before files for the sake
21384 of replace-buffer-in-windows.
21386 * files.el (read-buffer-to-switch)
21387 (switch-to-buffer-other-window)
21388 (switch-to-buffer-other-frame, display-buffer-other-frame):
21391 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21392 (previous-buffer): Move to window.el.
21394 * bindings.el (unbury-buffer): Move to window.el.
21396 * window.el (delete-other-windows-vertically): Move after
21397 definition of delete-other-windows.
21398 (other-window, delete-windows-on, replace-buffer-in-windows):
21399 Move here from window.c.
21400 (record-window-buffer, unrecord-window-buffer)
21401 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21402 (switch-to-next-buffer): New functions.
21403 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21404 from simple.el. Call switch-to-next-buffer.
21405 (previous-buffer): Move here from simple.el.
21406 Call switch-to-prev-buffer.
21407 (bury-buffer): Move here from buffer.c. Switch to previous
21408 buffer when window cannot be deleted.
21409 (unbury-buffer): Move here from bindings.el.
21410 (ctl-x-map): Move binding for other-window from window.c to
21412 (read-buffer-to-switch, switch-to-buffer-other-window)
21413 (switch-to-buffer-other-frame): Move here from files.el.
21414 (normalize-buffer-to-switch-to): New functions.
21415 (switch-to-buffer): Move here from buffer.c.
21416 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21418 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21420 * window.el (window-min-height, window-min-width): Move here
21421 from window.c. Add defcustoms and rewrite doc-strings.
21422 (resize-mini-window, resize-window): New functions.
21423 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21424 Move here from window.c.
21425 (maximize-window, minimize-window): New functions.
21426 (delete-window, delete-other-windows, split-window): Move here
21428 (window-split-min-size): New function.
21429 (split-window-keep-point): Mention split-window-above-each-other
21430 instead of split-window-vertically.
21431 (split-window-above-each-other, split-window-vertically):
21432 Rename split-window-vertically to split-window-above-each-other
21433 and provide defalias for old definition.
21434 (split-window-side-by-side, split-window-horizontally):
21435 Rename split-window-horizontally to split-window-side-by-side
21436 and provide defalias for the old definition.
21437 (ctl-x-map): Move bindings for delete-window,
21438 delete-other-windows and enlarge-window here from window.c.
21439 Replace bindings for split-window-vertically and
21440 split-window-horizontally by bindings for
21441 split-window-above-each-other and split-window-side-by-side.
21443 * cus-start.el (all): Remove entries for window-min-height and
21444 window-min-width. Add entries for window-splits and
21447 2011-06-09 Glenn Morris <rgm@gnu.org>
21449 * calendar/appt.el (appt-mode-line): New function.
21450 (appt-check, appt-disp-window): Use it.
21452 * files.el (hack-one-local-variable-eval-safep):
21453 Allow minor-modes with explicit +/-1 arguments.
21455 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21457 * term/xterm.el (xterm): Add defgroup.
21458 (xterm-extra-capabilities): Add defcustom to supply known xterm
21459 capabilities, skip querying them, or query them (default).
21460 (terminal-init-xterm): Use it.
21461 (terminal-init-xterm-modify-other-keys): New function to set up
21462 modifyOtherKeys support to simplify `terminal-init-xterm'.
21464 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21466 * window.el (resize-window-reset, resize-window-reset-1)
21467 (resize-subwindows-skip-p, resize-subwindows-normal)
21468 (resize-subwindows, resize-other-windows, resize-this-window)
21469 (resize-root-window, resize-root-window-vertically)
21470 (window-deletable-p, window-or-subwindow-p)
21471 (frame-root-window-p): New functions.
21473 2011-06-09 Glenn Morris <rgm@gnu.org>
21475 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21476 (ange-ftp-get-files): Use it.
21478 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21480 * mail/sendmail.el (mail-recover-1, mail-recover):
21481 * files.el (recover-file, recover-session):
21482 Handle dired-listing-switches not being just a single short option.
21484 2011-06-09 Glenn Morris <rgm@gnu.org>
21486 * calendar/appt.el (appt-display-message, appt-disp-window):
21487 Handle lists of appointments.
21489 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21491 * window.el (one-window-p): Move down in code.
21492 Rewrite doc-string.
21493 (window-current-scroll-bars): Rewrite doc-string.
21494 Normalize live window argument.
21495 (walk-windows, get-window-with-predicate, count-windows):
21496 Rewrite doc-string. Use window-list-1.
21497 (window-in-direction-2, window-in-direction, get-mru-window):
21500 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21502 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21503 Doc fix (Bug#8713).
21505 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21507 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21509 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21511 * loadhist.el (unload-feature-special-hooks):
21512 Add `comint-output-filter-functions'.
21514 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21516 * calendar/appt.el (appt-check): Move some initializations into the let.
21518 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21520 * window.el (window-height): Defalias to window-total-height.
21521 (window-width): Defalias to window-body-width.
21523 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21525 * image-mode.el (image-toggle-animation): New command.
21526 (image-mode-map): Bind it to RET.
21527 (image-mode): Update message.
21528 (image-toggle-display-image): Avoid a spurious cache flush.
21529 (image-transform-rotation): Doc fix.
21530 (image-transform-properties): Return quickly in the normal case.
21531 (image-animate-loop): Rename from image-animate-max-time.
21533 * image.el (image-animate-max-time): Move to image-mode.el.
21534 (create-animated-image): Remove unnecessary function.
21535 (image-animate): Rename from image-animate-start. New arg.
21536 (image-animate-stop): Remove; just use image-animate-timer.
21537 (image-animate-timer): Use car-safe.
21538 (image-animate-timeout): Rename argument.
21540 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21542 * window.el (get-lru-window, get-largest-window): Move here from
21543 window.c. Rename first argument to ALL-FRAMES.
21544 Rephrase doc-strings.
21545 (get-buffer-window-list): Rewrite using window-list-1.
21546 Rephrase doc-string.
21547 (window-safe-min-height, window-safe-min-width): New constants.
21548 (window-size-ignore, window-min-size, window-min-size-1)
21549 (window-sizable, window-sizable-p, window-size-fixed-1)
21550 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21551 (window-max-delta-1, window-max-delta, window-resizable)
21552 (window-resizable-p, window-total-height, window-total-width)
21553 (window-body-width): New functions.
21554 (window-full-height-p, window-full-width-p): Rewrite using
21556 (window-body-height): Rewrite using window-body-size.
21558 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21560 * window.el (window-right, window-left, window-child)
21561 (window-child-count, window-last-child, window-any-p)
21562 (normalize-live-buffer, normalize-live-frame)
21563 (normalize-any-window, normalize-live-window)
21564 (window-iso-combination-p, window-iso-combined-p)
21565 (window-iso-combinations)
21566 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21567 (windows-with-parameter, window-with-parameter)
21568 (window-atom-root, make-window-atom, window-atom-check-1)
21569 (window-atom-check, window-side-check, window-check):
21571 (ignore-window-parameters, window-sides, window-sides-vertical)
21572 (window-sides-slots): New variables.
21573 (window-size-fixed): Move down in code. Minor doc-string fix.
21575 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21577 * comint.el (comint-dynamic-complete-as-filename)
21578 (comint-dynamic-complete-filename): Correctly call
21579 completion-in-region.
21581 2011-06-05 Deniz Dogan <deniz@dogan.se>
21583 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21586 2011-06-05 Deniz Dogan <deniz@dogan.se>
21588 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21589 (rcirc): Use it to prompt for encryption.
21591 2011-06-05 Roland Winkler <winkler@gnu.org>
21593 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21594 (bibtex-search-entries): New command bound to C-c C-a.
21595 (bibtex-display-entries): New function.
21597 2011-06-05 Roland Winkler <winkler@gnu.org>
21599 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21600 (bibtex-insert-kill): After yanking insert newline if necessary.
21601 (bibtex-initialize): Call bibtex-string-files-init only once.
21602 (bibtex-mode): Do not call easy-menu-add.
21603 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21604 (bibtex-yank): Set arg properly if nil.
21606 2011-06-05 Roland Winkler <winkler@gnu.org>
21608 * textmodes/bibtex.el (bibtex-search-entry-globally):
21610 (bibtex-search-entry): Use it.
21612 2011-06-05 Roland Winkler <winkler@gnu.org>
21614 * textmodes/bibtex.el (bibtex-entry-format): New option
21616 (bibtex-format-entry, bibtex-reformat): Honor this option.
21617 (bibtex-parse-entry): Return fields in proper order.
21619 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21621 * doc-view.el (doc-view-remove-if): Move computation of result out
21622 of `dolist' to silence misleading lexical-binding warning.
21624 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21626 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21627 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21629 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21631 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21634 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21636 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21637 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21638 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21639 (tramp-parse-putty):
21640 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21641 (tramp-completion-function-alist-ssh)
21642 (tramp-completion-function-alist-telnet)
21643 (tramp-completion-function-alist-su)
21644 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21647 * net/tramp-ftp.el:
21649 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21650 load "tramp.el" `tramp-set-completion-function'.
21652 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21654 * shell.el: Require and use pcomplete.
21655 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21656 (shell-completion-vars): Set pcomplete-default-completion-function.
21658 2011-06-04 Deniz Dogan <deniz@dogan.se>
21660 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21663 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21665 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21667 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21669 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21670 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21671 * vc/log-view.el (log-view-beginning-of-defun):
21672 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21673 (smerge-refine-forward, smerge-refine-chopup-region):
21674 Silence warning for unused `dotimes' counter variables.
21676 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21678 * net/tramp.el (tramp-with-progress-reporter): Rename from
21679 with-progress-reporter. Use `declare'.
21680 * net/tramp-smb.el:
21682 * net/tramp-gvfs.el: Update all uses.
21684 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21686 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21687 buffer isn't killed before making it current.
21689 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21691 Silence various byte-compiler warnings.
21692 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21693 `access-type' and new obsolescence format.
21694 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21696 (byte-compile-check-variable): New `access-type' argument.
21697 Only warn if the access-type is obsolete.
21698 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21699 (byte-compile-variable-set): Adjust callers.
21700 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21701 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21702 setting it as obsolete.
21703 * simple.el (minibuffer-completing-symbol):
21704 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21705 access as obsolete.
21706 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21708 * international/quail.el (quail-mouse-choose-completion): Remove unused
21709 code referring to obsolete var.
21710 (quail-choose-completion-string): Remove.
21711 * server.el (server-clients-with, server-kill-buffer-query-function)
21712 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21713 * proced.el (proced-send-signal):
21714 * emacs-lisp/lisp.el (lisp-complete-symbol):
21715 Replace completion-annotate-function with completion-extra-properties.
21717 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21719 * simple.el (goto-line): Use read-number.
21720 (overriding-map-is-bound): Remove.
21721 (saved-overriding-map): Change default.
21722 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21723 Take the map as argument.
21724 (universal-argument, negative-argument, digit-argument): Use it.
21725 (restore-overriding-map): Adjust.
21726 (do-auto-fill): Use fill-forward-paragraph.
21727 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21729 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21730 (minibuffer-inactive-mode): New major mode.
21731 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21732 the *Messages* buffer" hack.
21733 (mouse-popup-menubar): Don't burp if the event is a normal key.
21735 Miscellaneous tweaks.
21736 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21737 lexical scoping as in subr.el's dolist and dotimes.
21738 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21739 Silence compiler warning.
21740 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21741 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21742 * international/ccl.el (ccl-compile): Trivial simplification.
21743 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21744 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21745 `printflag' argument.
21746 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21747 Purecopy the whole obsolescence data.
21749 2011-06-01 Leo Liu <sdl.web@gmail.com>
21751 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21752 improve doc-string as suggested by Marco Pessotto
21753 <melmothx@gmail.com>.
21754 (rcirc-print): Fix last change.
21756 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21758 * minibuffer.el (complete-with-action): Return nil for the metadata and
21759 boundaries of non-functional tables.
21760 (completion-table-dynamic): Return nil for the metadata.
21761 (completion-table-with-terminator): Add default case, using
21762 complete-with-action.
21763 (completion--metadata): New function.
21764 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21765 to try and avoid pathological performance problems.
21766 (completion--embedded-envvar-table): Return `category' metadata.
21768 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21770 * subr.el (process-alive-p): New tiny convenience function.
21772 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21774 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21775 content but also its previous major mode.
21777 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21779 * emacs-lisp/debug.el (debug): Restore the previous content of the
21780 *Backtrace* buffer when we exit with C-M-c.
21782 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21784 * minibuffer.el: Add metadata method to completion tables.
21785 (completion-category-overrides): New defcustom.
21786 (completion-metadata, completion--field-metadata)
21787 (completion-metadata-get, completion--styles)
21788 (completion--cycle-threshold): New functions.
21789 (completion-try-completion, completion-all-completions):
21790 Add `metadata' argument to choose completion-styles.
21791 (completion--do-completion): Use metadata to choose cycling.
21792 (completion-all-sorted-completions): Use metadata for sorting.
21793 Remove :completion-cycle-penalty which is not needed any more.
21794 (completion--try-word-completion): Add `metadata' argument.
21795 (minibuffer-completion-help): Check metadata for annotation function
21797 (completion-file-name-table): Return `category' metadata.
21798 (minibuffer-completing-file-name): Make obsolete.
21799 * simple.el (minibuffer-completing-symbol): Make obsolete.
21800 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21801 completion-try-completion.
21803 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21805 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21807 2011-05-30 Leo Liu <sdl.web@gmail.com>
21809 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21810 (rcirc-print): Decode all incoming messages (bug#8744).
21811 (rcirc-decode-coding-system): Allow value nil for automatic coding
21814 2011-06-01 Glenn Morris <rgm@gnu.org>
21816 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21818 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21820 * image.el (image-animate-max-time): Allow nil and t values.
21822 (create-animated-image): Doc fix.
21823 (image-animate-start): Remove second arg; just use
21824 image-animate-max-time.
21825 (image-animate-timeout): Doc fix. Args changed.
21827 * image-mode.el (image-toggle-display-image): Ensure that the
21828 image spec passed to the animate timer is the same object as in
21829 the buffer's display property (Bug#6981).
21830 (image-transform-properties): Doc fix.
21832 * image.el (image-animate-max-time): Default to nil.
21834 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21836 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21837 entire buffer list (Bug#8184).
21839 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21841 * image.el (imagemagick-types-inhibit)
21842 (imagemagick-register-types): Doc fix.
21844 2011-05-29 Deniz Dogan <deniz@dogan.se>
21846 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21849 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21851 * select.el: Don't perform clipboard-manager saving in hooks;
21852 leave the hooks empty.
21854 2011-05-28 Leo Liu <sdl.web@gmail.com>
21856 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21857 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21858 (occur-edit-mode): New major mode (Bug#8463).
21859 (occur-after-change-function): New function.
21860 (occur-engine): Give Occur tags a read-only property.
21862 2011-05-28 Kevin Ryde <user42@zip.com.au>
21864 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21866 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21868 * bindings.el (help-echo): Make the initial non-indicator dash
21869 empty on graphical terminals (Bug#7295).
21871 * files.el (auto-mode-alist): Move config rule after the
21872 in-stripping one (Bug#8547).
21874 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21876 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21877 setting (Bug#8740).
21879 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21881 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21882 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21885 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21887 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21889 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21891 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21892 (hs-hide-block-at-point, hs-find-block-beginning)
21893 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21896 2011-05-28 Glenn Morris <rgm@gnu.org>
21898 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21900 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21902 * help-fns.el (describe-function-1): If the function is a derived
21903 major mode, print the parent mode.
21905 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21906 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21908 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21910 * minibuffer.el (completion--capf-wrapper): Check applicability before
21911 returning non-nil for non-exclusive completion data.
21912 * progmodes/etags.el (tags-completion-at-point-function):
21913 * info-look.el (info-lookup-completions-at-point): Mark as
21915 (info-complete): Adjust accordingly.
21917 * info-look.el: Convert to lexical-binding and completion-at-point.
21918 (info-lookup-completions-at-point): New function.
21919 (info-complete): Use it and completion-in-region.
21921 2011-05-28 Drew Adams <drew.adams@oracle.com>
21923 * isearch.el: Let M-e start with point at the first mismatched char.
21924 (isearch-fail-pos): New function.
21925 (isearch-edit-string): Use it.
21927 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21929 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21931 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21933 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21934 traversal functions for avl-trees.
21935 (avl-tree--stack): New struct.
21936 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21937 (avl-tree-enter): Add optional `updatefun' arg.
21938 (avl-tree--do-enter): Add optional `updatefun' arg.
21939 Change return value.
21940 (avl-tree-delete): Add optional `test' and `nilflag' args.
21941 (avl-tree--do-delete): Add `test' and `nilflag' args.
21942 Change return value.
21943 (avl-tree-member): Add optional `nilflag'
21944 (avl-tree-member-p): New function.
21945 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21946 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21947 (avl-tree-stack-empty-p): New functions.
21949 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21950 avl-tree--del-balance1 and make it work both ways.
21951 (avl-tree--del-balance2): Remove.
21952 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21953 make it work both ways.
21954 (avl-tree--enter-balance2): Remove.
21955 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21957 (avl-tree--mapc, avl-tree-map): Add direction argument.
21959 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21961 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21963 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21965 * select.el: Support clipboard managers with built-in function
21966 x-clipboard-manager-save, via delete-frame-functions and
21968 (xselect-convert-to-targets): Add MULTIPLE target to list.
21969 (xselect-convert-to-save-targets): New function.
21971 2011-05-27 Kenichi Handa <handa@m17n.org>
21973 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21974 let-binding rfc2047-encode-encoded-words to nil.
21976 2011-05-27 Glenn Morris <rgm@gnu.org>
21978 * mail/emacsbug.el: Don't require url-util.
21980 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21982 * files.el (set-auto-mode):
21983 Also respect mode: entries at the end of the file. (Bug#8586)
21985 2011-05-26 Glenn Morris <rgm@gnu.org>
21987 * files.el (hack-local-variables-prop-line, hack-local-variables):
21988 Downcase mode names, as seems to be traditional.
21989 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21991 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21992 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21994 2011-05-25 Julien Danjou <julien@danjou.info>
21996 * textmodes/rst.el (rst-define-level-faces): Do not define face
21997 symbol if it is already defined.
21999 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
22001 * play/5x5.el (5x5-new-game, 5x5-randomize):
22002 Reset 5x5-solver-output to nil when a new grid is cast.
22003 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
22004 these debugging traces, as defmacro breaks the compiled code.
22006 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22008 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22010 2011-05-24 Leo Liu <sdl.web@gmail.com>
22012 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
22013 (vc-bzr-sha1): Adapt.
22015 * sha1.el: Remove. Function `sha1' is now builtin.
22017 * bindings.el: Provide sha1 feature.
22019 2011-05-24 Kenichi Handa <handa@m17n.org>
22021 * mail/sendmail.el: Require `rfc2047'.
22022 (mail-insert-from-field): Do not perform RFC2047 encoding.
22023 (mail-encode-header): New function.
22024 (sendmail-send-it): Set buffer-file-coding-system of the work
22025 buffer to the return value of select-message-coding-system.
22026 Call mail-encode-header.
22028 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
22030 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
22032 * mail/supercite.el (sc-default-cite-frame):
22033 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
22035 2011-05-24 Glenn Morris <rgm@gnu.org>
22037 * progmodes/python.el (brm-menu): Declare.
22039 * emulation/viper.el (viper-set-hooks): Declare.
22041 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
22042 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
22043 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
22044 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
22045 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22046 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22048 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22050 Add an :exit-function for completion-at-point.
22052 * minibuffer.el (completion--done): New fun.
22053 (completion--do-completion): Use it. New arg `expect-exact'.
22054 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22055 since completion--do-completion does it for us now.
22056 (minibuffer-force-complete): Use completion--done and
22057 completion--replace. Handle sole-completion case with more care.
22058 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22059 (completion-extra-properties): New var.
22060 (completion-annotate-function): Make obsolete.
22061 (minibuffer-completion-help): Adjust accordingly.
22062 Use completion-list-insert-choice-function.
22063 (completion-at-point, completion-help-at-point):
22064 Bind completion-extra-properties.
22065 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22066 * simple.el (completion-list-insert-choice-function): New var.
22067 (completion-setup-function): Preserve it.
22068 (choose-completion): Pay attention to it, shuffle the code a bit.
22069 (choose-completion-string): New arg `insert-function'.
22071 * textmodes/bibtex.el: Convert to lexical binding.
22072 (bibtex-mode-map): Use completion-at-point.
22073 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22074 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22075 (bibtex-complete): Define as obsolete alias.
22076 (bibtex-complete-internal): Remove.
22077 (bibtex-format-entry): Remove unused sub-group in regexp.
22078 * shell.el (shell--command-completion-data)
22079 (shell-environment-variable-completion):
22080 * pcomplete.el (pcomplete-completions-at-point):
22081 * comint.el (comint--complete-file-name-data): Use :exit-function
22082 instead of completion-table-with-terminator so it also works for
22085 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22087 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22089 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22092 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22094 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22096 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22097 customization variable and implement: If non-nil, auto-fill will
22098 be inhibited while on topic's header line.
22100 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22102 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
22103 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
22104 always have a solution in grid size = 5 cases.
22105 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22106 (5x5-solver-output, 5x5-log-buffer): New vars.
22107 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22108 Make these variables buffer local to achieve 5x5 multi-session-ness.
22109 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22110 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22111 (5x5-solve-suggest): New funs.
22112 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22113 randomize a grid so that we ensure that there is always a solution.
22114 (5x5-make-random-grid): Allow other movement than flipping.
22116 2011-05-23 Kevin Ryde <user42@zip.com.au>
22118 * emacs-lisp/advice.el (ad-read-advised-function):
22119 Use `function-called-at-point' as the default, if it has
22120 advice and passes PREDICATE.
22122 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22124 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22125 byte-compile-lambda if it's actually a lambda.
22127 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22128 Fix function quoting. Use backquote better.
22130 2011-05-22 Yuanle Song <sylecn@gmail.com>
22132 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22133 matching (Bug#8516).
22135 2011-05-22 Jari Aalto <jari.aalto@cante.net>
22137 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22138 different face (Bug#8178).
22140 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
22142 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22143 defface (Bug#8144).
22145 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22147 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22148 funcall as well (bug#8712). Warn when performing those conversions.
22149 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22151 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22153 2011-05-22 Glenn Morris <rgm@gnu.org>
22155 * files.el (hack-local-variables-prop-line): Small simplifications.
22156 (hack-local-variables, hack-local-variables-prop-line):
22157 If MODE-ONLY, return the mode, rather than just `t'.
22159 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22161 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22163 2011-05-21 Glenn Morris <rgm@gnu.org>
22165 * files.el (hack-local-variables-prop-line, hack-local-variables):
22166 If only interested in the mode, don't bother doing the other stuff.
22168 * image-mode.el (image-after-revert-hook):
22169 Redraw all frames on which the image is visible. (Bug#8567)
22171 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22173 * wid-edit.el (widget-checklist-match-inline):
22174 Fix 2011-04-19 change. (Bug#8649)
22176 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22178 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22179 Also allow singlespace after single-letter capitals followed by a dot.
22181 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22182 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22184 2011-05-20 Nix <nix@esperi.org.uk>
22186 * files.el (basic-save-buffer-2):
22187 Fix handling of break-hardlink-on-save with non-existent files.
22189 2011-05-19 Deniz Dogan <deniz@dogan.se>
22191 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22192 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22194 2011-05-19 Glenn Morris <rgm@gnu.org>
22196 * progmodes/f90.el (f90-type-def-re):
22197 Handle "type, bind(c)". (Bug#8691)
22199 * emacs-lisp/autoload.el (batch-update-autoloads):
22200 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22202 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22204 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22205 property for the correct connection in case of multihops.
22207 2011-05-18 Glenn Morris <rgm@gnu.org>
22209 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22210 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22212 Rationalize calendar handling of day and month abbrev-arrays.
22213 * calendar/calendar.el (calendar-customized-p): New function.
22214 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22215 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22217 (calendar-abbrev-length, calendar-day-abbrev-array)
22218 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22219 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22220 Elements may no longer be nil.
22221 (calendar-day-name, calendar-month-name):
22222 Update for changed nature of abbrev arrays.
22223 * calendar/diary-lib.el (diary-name-pattern):
22224 Update for changed nature of abbrev arrays.
22225 (diary-mark-entries-1): Update calendar-make-alist calls.
22226 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22227 * calendar/cal-html.el (cal-html-day-abbrev-array):
22228 Simply inherit from calendar-day-abbrev-array.
22230 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22232 * progmodes/grep.el (grep-mode): Disable default
22233 compilation-directory-matcher setting (bug#8684).
22235 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22237 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22238 instead of "head" and "tail". There were problems with SunOS 5.9,
22239 and it performs better.
22241 2011-05-17 Glenn Morris <rgm@gnu.org>
22243 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22245 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22246 Replace obsolete function.
22248 * shell.el (pcomplete-parse-arguments-function): Declare.
22250 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22251 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22252 (appt-check): Doc fixes.
22253 (appt-disp-window-function, appt-delete-window-function):
22254 Remove needless special case in custom :type.
22255 (appt-display-count): Default to 0, not nil.
22256 (appt-check): Reset appt-display-count to 0, not nil.
22258 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22260 * progmodes/python.el (python-font-lock-keywords):
22261 Add the Python 3.X keyword "nonlocal" (bug#8639).
22263 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22265 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22267 2011-05-16 Kevin Ryde <user42@zip.com.au>
22269 * info-look.el (makefile-automake-mode): New setups, looking in
22270 automake manual, then makefile-mode.
22271 (makefile-mode): Remove automake manual, have it just in
22272 makefile-automake-mode since there's various things different or
22273 not relevant to plain make.
22274 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22275 believe a hypothetical automake-mode would go to makefile-mode,
22276 not the other way around.
22278 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22280 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22281 hunk-end tags (Bug#8672).
22283 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22284 vc-annotate-show-diff-revision-at-line (Bug#8671).
22286 2011-05-14 Glenn Morris <rgm@gnu.org>
22288 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22289 in the middle of an existing one with multiple authors. (Bug#8645)
22290 (change-log-font-lock-keywords): Also handle multiple author lines
22291 with leading tabs. (Bug#8644)
22293 * calendar/appt.el (appt-check): Rename some local variables.
22294 Some simplification/reordering.
22296 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22297 (feedmail-sendmail-f-doesnt-sell-me-out)
22298 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22299 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22300 (feedmail-queue-runner-message-sender): Set :version.
22301 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22302 (bbdb-dwim-net-address, vm-mail): Declare.
22303 (feedmail-binmail-gnulinuxish-template):
22304 Rename from feedmail-binmail-linuxish-template.
22305 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22306 Use insert-buffer-substring.
22308 2011-05-14 Bill Carpenter <bill@carpenter.org>
22310 * mail/feedmail.el (feedmail-patch-level): Increase.
22311 (feedmail-debug): New custom group.
22312 (feedmail-confirm-outgoing-timeout)
22313 (feedmail-sendmail-f-doesnt-sell-me-out)
22314 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22315 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22316 (feedmail-sender-line, feedmail-from-line)
22317 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22318 (feedmail-spray-this-address)
22319 (feedmail-spray-address-fiddle-plex-list)
22320 (feedmail-queue-use-send-time-for-date)
22321 (feedmail-queue-use-send-time-for-message-id)
22322 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22323 (feedmail-buffer-eating-function):
22325 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22326 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22327 (feedmail-message-action-scroll-down): New functions.
22328 (feedmail-queue-directory, feedmail-queue-draft-directory):
22329 Use expand-file-name.
22330 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22331 Remove C-v help entry.
22332 (feedmail-queue-buffer-file-name): New variable.
22333 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22334 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22335 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22336 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22337 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22338 (feedmail-message-action-toggle-spray)
22339 (feedmail-run-the-queue-no-prompts)
22340 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22341 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22342 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22343 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22344 (feedmail-envelope-deducer, feedmail-fiddle-from)
22345 (feedmail-fiddle-sender, feedmail-default-date-generator)
22346 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22347 (feedmail-fiddle-spray-address)
22348 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22349 (feedmail-fiddle-list-of-fiddle-plexes)
22350 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22351 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22352 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22353 Change default. Doc fix.
22354 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22355 (feedmail-binmail-linuxish-template): New constant.
22356 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22357 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22358 (feedmail-send-it): Add debug call.
22359 Use feedmail-queue-buffer-file-name, and
22360 feedmail-send-it-immediately-wrapper.
22361 (feedmail-message-action-send): Add debug call.
22362 Use feedmail-send-it-immediately-wrapper.
22363 (feedmail-queue-express-to-queue): Add debug call.
22364 Run feedmail-queue-express-hook.
22365 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22366 (feedmail-message-action-help-blat):
22367 Rename from feedmail-queue-send-edit-prompt-help-first.
22368 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22369 Check line-endings. Handle errors better.
22370 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22371 Doc fix. Add debug call.
22372 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22373 Use feedmail-queue-send-edit-prompt-inner.
22374 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22375 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22376 from feedmail-queue-send-edit-prompt.
22377 (feedmail-queue-send-edit-prompt-help)
22378 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22379 (feedmail-tidy-up-slug): Add debug call.
22380 Respect feedmail-queue-slug-suspect-regexp.
22381 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22382 (feedmail-dump-message-to-queue): Add debug call.
22383 Expand queue-directory.
22384 (feedmail-dump-message-to-queue): Change message slightly.
22385 Use feedmail-say-chatter.
22386 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22387 (feedmail-send-it-immediately-wrapper): New function.
22388 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22389 Insert empty string rather than newline. Handle full-frame case.
22390 Use catch/throw. Use feedmail-say-chatter.
22391 (feedmail-fiddle-from): Try mail-host-address.
22392 (feedmail-default-message-id-generator): Doc fix.
22393 Bind system-time-locale. Handle missing end.
22394 (feedmail-fiddle-x-mailer): Add debug call.
22395 Handle feedmail-x-mailer-line being nil.
22396 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22397 Add debug call. Use buffer-substring-no-properties.
22398 (feedmail-say-debug, feedmail-say-chatter): New functions.
22399 (feedmail-find-eoh): Give an explicit error.
22401 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22403 * net/newst-treeview.el (newsticker-treeview-face): Change default
22404 family from helvetica to sans.
22405 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22406 etc/images/newsticker.
22408 * net/newst-reader.el (newsticker-feed-face): Change default
22409 family from helvetica to sans.
22411 * net/newst-plainview.el (newsticker-new-item-face)
22412 (newsticker-old-item-face, newsticker-immortal-item-face)
22413 (newsticker-obsolete-item-face, newsticker-date-face)
22414 (newsticker-statistics-face): Change default family from
22416 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22417 etc/images/newsticker.
22419 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22420 (newsticker--process-auto-mark-filter-match): Tell user about
22423 2011-05-13 Didier Verna <didier@xemacs.org>
22425 Common Lisp indentation improvements on defmethod and lambda-lists.
22426 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22428 (lisp-lambda-list-keyword-parameter-indentation)
22429 (lisp-lambda-list-keyword-parameter-alignment)
22430 (lisp-lambda-list-keyword-alignment): New customizable user options.
22431 (lisp-indent-defun-method): Improve docstring.
22432 (extended-loop-p): Fix comment.
22433 (lisp-indent-lambda-list-keywords-regexp): New variable.
22434 (lisp-indent-lambda-list): New function.
22435 (lisp-indent-259): Use it.
22436 (lisp-indent-defmethod): Support for more than one
22437 method qualifier and properly indent methods lambda-lists.
22438 (defgeneric): Provide a missing common-lisp-indent-function property.
22440 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22442 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22443 bounds for the empty string (bug#8667).
22445 2011-05-13 Glenn Morris <rgm@gnu.org>
22447 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22449 * mail/sendmail.el (sendmail-program): Try executable-find first.
22450 (sendmail-send-it): `sendmail-program' cannot be unbound.
22452 * calendar/appt.el (appt-make-list): Simplify.
22453 (appt-time-msg-list): Doc fix.
22454 (appt-check): Change mode-line message at the time of the appointment.
22456 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22458 * progmodes/ld-script.el (ld-script-keywords)
22459 (ld-script-builtins): Update keywords list.
22461 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22463 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22465 * shell.el (shell-completion-vars): New function.
22467 * simple.el (read-shell-command): Use it.
22468 (blink-matching-open): No need for " [...]" in minibuffer-message.
22470 2011-05-12 Glenn Morris <rgm@gnu.org>
22472 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22473 (appt-check): Simplify.
22475 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22477 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22478 literal "/dev/null".
22480 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22482 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22485 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22487 * progmodes/which-func.el (which-function):
22488 Use add-log-current-defun instead of add-log-current-defun-function,
22489 which might not be defined (Bug#8260).
22491 2011-05-12 Glenn Morris <rgm@gnu.org>
22493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22494 Let byte-compile-initial-macro-environment always take precedence.
22496 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22498 * net/rcirc.el: Add support for SSL/TLS connections.
22499 (rcirc-server-alist): New field `encryption'.
22500 (rcirc): Check `encryption' settings.
22501 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22502 Merge make-local-variable into `set'.
22503 (rcirc--connection-open-p): New function.
22504 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22505 the process is not a network process (e.g. running gnutls-cli).
22506 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22507 Make rcirc-(en|de)code-coding-system local here.
22508 (rcirc-mode): Merge make-local-variable into `set'.
22509 (rcirc-parent-buffer): Make permanent buffer-local.
22510 (rcirc-multiline-minor-mode): Don't do it here.
22511 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22512 there's no server buffer.
22514 2011-05-11 Glenn Morris <rgm@gnu.org>
22516 * newcomment.el (comment-kill): Prefix "unused" local.
22518 * term/w32console.el (get-screen-color): Declare.
22520 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22521 Handle symbol elements of byte-compile-initial-macro-environment.
22523 2011-05-10 Leo Liu <sdl.web@gmail.com>
22525 * bookmark.el (bookmark-bmenu-mode-map):
22526 Bind bookmark-bmenu-search to `/'.
22528 * mail/footnote.el: Convert to utf-8 encoding.
22529 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22530 (Footnote-unicode): New function.
22531 (footnote-style-alist): Add unicode style to the list.
22532 (footnote-style): Doc fix.
22534 2011-05-10 Jim Meyering <meyering@redhat.com>
22536 Fix doubled-word typos.
22537 * international/quail.el (quail-insert-kbd-layout): and and -> and
22538 * kermit.el: and and -> and
22539 * net/ldap.el (ldap-search-internal): to to -> to
22540 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22541 * progmodes/js.el (js-mode): and and -> and
22542 * textmodes/artist.el (artist-move-to-xy): at at -> at
22543 (artist-draw-region-trim-line-endings): if if -> if
22544 And Safetyc -> Safety.
22545 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22547 2011-05-10 Glenn Morris <rgm@gnu.org>
22548 Stefan Monnier <monnier@iro.umontreal.ca>
22550 * files.el (hack-one-local-variable-eval-safep):
22551 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22553 2011-05-10 Glenn Morris <rgm@gnu.org>
22555 * calendar/diary-lib.el (diary-list-entries-hook)
22556 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22557 (diary-nongregorian-marking-hook, diary-list-entries)
22558 (diary-include-other-diary-files, diary-mark-entries)
22559 (diary-mark-included-diary-files): Doc fixes.
22561 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22563 * misc.el: Require tabulated-list.el during compilation.
22565 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22567 * progmodes/compile.el (compilation-start):
22568 Run compilation-filter-hook for the async case too.
22569 (compilation-filter-hook): Doc fix.
22571 2011-05-09 Deniz Dogan <deniz@dogan.se>
22573 * wdired.el: Remove outdated installation comment. Fix usage
22576 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22578 * misc.el: Implement new command `list-dynamic-libraries'.
22579 (list-dynamic-libraries--loaded-only-p): New variable.
22580 (list-dynamic-libraries--refresh): New function.
22581 (list-dynamic-libraries): New command.
22583 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22585 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22586 Fix the ant regexp to handle end-line and end-column info from jikes.
22587 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22588 higher priority to avoid clobbering by gnu.
22590 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22592 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22593 if the face has existing theme settings (Bug#8454).
22595 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22597 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22598 Only match variables declared via `my' or `our' (Bug#8261).
22600 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22601 special file names `.' and `..' (Bug#8259).
22603 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22605 * progmodes/grep.el (grep-mode-font-lock-keywords):
22606 Remove buffer-changing entries.
22607 (grep-filter): New function.
22608 (grep-mode): Add it to compilation-filter-hook.
22610 * progmodes/compile.el (compilation-filter-hook)
22611 (compilation-filter-start): New defvars.
22612 (compilation-filter): Call compilation-filter-hook prior to
22613 updating the process mark.
22615 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22617 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22619 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22621 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22622 mailclient-send-it even if window-system is nil. (Bug#8595)
22624 * term/w32console.el (terminal-init-w32console):
22625 Call get-screen-color and use its output to set the frame
22626 background-mode. (Bug#8597)
22628 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22630 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22631 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22633 (defgeneric, eieio--defmethod): Use them.
22634 (eieio-defgeneric): Remove.
22635 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22637 2011-05-07 Glenn Morris <rgm@gnu.org>
22639 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22640 Use let rather than let*.
22641 (timeclock-find-discrep): Remove unused local.
22643 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22645 * calendar/appt.el (appt-time-msg-list): Doc fix.
22647 2011-05-06 Noah Friedman <friedman@splode.com>
22649 * apropos.el (apropos-print-doc): Only use
22650 emacs-lisp-docstring-fill-column when it is bound to an integer,
22651 per that variable's documentation.
22653 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22655 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22656 and warnings are not silently discarded (e.g. use -d instead of -P).
22658 2011-05-06 Glenn Morris <rgm@gnu.org>
22660 * calendar/appt.el (appt-message-warning-time): Doc fix.
22661 (appt-warning-time-regexp): New option.
22662 (appt-make-list): Respect appt-message-warning-time.
22664 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22666 (diary-add-to-list): Strip comments from the displayed string.
22667 (diary-mode): Set comment-start and comment-end.
22669 * vc/diff-mode.el (smerge-refine-subst): Declare.
22670 (diff-refine-hunk): Don't require smerge-mode when compiling.
22672 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22674 * simple.el (list-processes): Return nil as the docstring says.
22676 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22678 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22680 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22681 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22682 determining of binary transfer. (Bug#7383)
22684 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22686 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22687 Fix port computation bug. (Bug#8618)
22689 2011-05-05 Glenn Morris <rgm@gnu.org>
22691 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22693 * simple.el (shell-dynamic-complete-functions)
22694 (comint-dynamic-complete-functions): Declare.
22696 * net/network-stream.el (gnutls-negotiate):
22697 * simple.el (tabulated-list-print): Fix declarations.
22699 * progmodes/gud.el (syntax-symbol, syntax-point):
22700 Remove unnecessary and incorrect declarations.
22702 * emacs-lisp/check-declare.el (check-declare-scan):
22703 Handle byte-compile-initial-macro-environment in bytecomp.el.
22705 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22707 Fix earlier half-done eieio-defmethod change (bug#8338).
22708 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22709 Streamline and change calling convention.
22710 (defmethod): Adjust accordingly and simplify.
22711 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22712 new eieio--defmethod.
22713 (slot-boundp): Minor CSE simplification.
22715 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22717 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22718 (glasses-make-readable): Use glasses-separate-capital-groups.
22720 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22722 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22723 (warning-series): Doc fix.
22724 (display-warning): Don't try to create the buffer if we just found it.
22726 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22728 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22729 (autoload-find-generated-file): New function.
22730 (generate-file-autoloads): Bind generated-autoload-file to
22732 (update-file-autoloads, update-directory-autoloads):
22733 Use autoload-find-generated-file. If called interactively, prompt for
22734 output file (Bug#7989).
22735 (batch-update-autoloads): Doc fix.
22737 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22739 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22741 2011-05-04 Glenn Morris <rgm@gnu.org>
22743 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22744 function, so it follows changes in calendar-date-style.
22745 (diary-fancy-date-matcher): New function.
22746 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22747 (diary-fancy-font-lock-fontify-region-function):
22748 Use diary-fancy-date-pattern as a function.
22750 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22751 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22753 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22755 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22756 instead of positional arguments. Allow :keylist and :crlfiles
22758 (open-gnutls-stream): Call it.
22760 * net/network-stream.el (network-stream-open-starttls): Adjust to
22761 call `gnutls-negotiate' with :process and :hostname arguments.
22763 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22765 * minibuffer.el (completion--message): New function.
22766 (completion--do-completion, minibuffer-complete)
22767 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22768 (completion--do-completion): Don't ignore completion-auto-help when in
22771 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22772 internal encoding (e.g. tibetan zero is not whitespace).
22773 (global-whitespace-mode): Prefer save-current-buffer.
22774 (whitespace-trailing-regexp): Remove useless save-match-data.
22775 (whitespace-empty-at-bob-regexp): Minor simplification.
22777 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22779 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22781 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22783 * textmodes/ispell.el (ispell-add-per-file-word-list):
22784 Use `concat' to create string for insertion.
22786 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22788 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22789 Avoid open-line which runs post-self-insert-hook.
22790 (bibtex-fill-entry): Remove unused `end' var.
22792 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22794 * textmodes/ispell.el (ispell-add-per-file-word-list):
22795 Protect against `nil' value of `comment-start' (Bug#8579).
22797 2011-05-03 Leo Liu <sdl.web@gmail.com>
22799 * isearch.el (isearch-yank-pop): New command.
22800 (isearch-mode-map): Bind it to `M-y'.
22801 (isearch-forward): Mention it.
22803 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22805 * simple.el (minibuffer-complete-shell-command): Remove.
22806 (minibuffer-local-shell-command-map): Use completion-at-point.
22807 (read-shell-command): Setup completion vars here instead.
22808 (read-expression-map): Bind TAB to symbol completion.
22810 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22811 error directly rather via storing it into `results'.
22813 2011-05-02 Leo Liu <sdl.web@gmail.com>
22815 * vc/diff.el: Fix description.
22817 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22819 * server.el (server-eval-at): New function.
22821 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22823 * net/network-stream.el (open-network-stream): Take a :nowait
22824 parameter and pass it on to `make-network-process'.
22825 (network-stream-open-plain): Ditto.
22827 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22829 * faces.el (face-spec-set-match-display): Don't match toolkit
22830 options on terminal frames.
22832 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22834 * progmodes/pascal.el: Use lexical binding.
22835 (pascal-mode-map): Remove author preferences.
22837 * pcomplete.el (pcomplete-std-complete): Don't abuse
22838 completion-at-point.
22840 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22842 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22843 removing code that has been dead since 1991 or so.
22845 * startup.el (command-line): When warning about "_emacs", use a
22846 delayed warning to allow the user to filter it out.
22848 2011-04-28 Deniz Dogan <deniz@dogan.se>
22850 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22851 user has not joined.
22853 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22855 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22856 aren't any completions at point.
22858 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22860 * subr.el (display-delayed-warnings): New function.
22861 (delayed-warnings-hook): New variable.
22863 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22865 * minibuffer.el (completion-at-point, completion-help-at-point):
22866 Don't presume that a given completion-at-point-function will always
22867 use the same calling convention.
22869 * pcomplete.el (pcomplete-completions-at-point):
22870 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22871 pcomplete-seen is non-nil.
22872 (pcomplete-comint-setup): Also recognize the new comint/shell
22873 completion functions.
22874 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22875 pcomplete-seen is non-nil.
22877 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22879 * calendar/icalendar.el (diary-lib): Add require statement.
22880 (icalendar--create-uid): Read out a uid from a text-property on
22881 the first character in the entry. This allows for code to add its
22882 own uid to the entry.
22883 (icalendar--convert-float-to-ical): Add export of
22884 `diary-float'-entries save for those with the optional DAY
22887 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22889 * subr.el (shell-quote-argument): Use alternate escaping strategy
22890 when we spot a variable reference in a string.
22892 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22894 * cus-start.el (all): Define customization for debug-on-event.
22896 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22898 * subr.el (shell-quote-argument): Escape correctly under Windows.
22900 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22902 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22904 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22906 * net/tramp.el (tramp-process-actions): Add POS argument.
22907 Delete region between POS and (pos).
22909 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22910 Use `nil' position in `tramp-process-actions' call.
22911 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22913 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22914 position in `tramp-process-actions' call.
22916 * net/trampver.el: Update release number.
22918 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22920 * custom.el (defcustom): Obey lexical-binding.
22922 Fix octave-inf completion problems reported by Alexander Klimov.
22923 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22924 Inherit from octave-mode-syntax-table.
22925 (inferior-octave-mode): Set info-lookup-mode.
22926 (inferior-octave-completion-at-point): New function.
22927 (inferior-octave-complete): Use it and completion-in-region.
22928 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22929 comint-filename-completion.
22930 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22931 symbol elements which shouldn't be word elements.
22932 (octave-font-lock-keywords, octave-beginning-of-defun)
22933 (octave-function-header-regexp): Adjust regexps accordingly.
22934 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22936 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22938 * net/gnutls.el (gnutls-errorp): Declare before first use.
22940 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22942 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22943 verify-error, and verify-hostname-error parameters. Check whether
22944 default trustfile exists before going to use it. Add missing
22945 argument to gnutls-message-maybe call. Return value.
22946 Reported by Claudio Bley <claudio.bley@gmail.com>.
22947 (open-gnutls-stream): Add usage example.
22949 * net/network-stream.el (network-stream-open-starttls): Give host
22950 parameter to `gnutls-negotiate'.
22951 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22952 * subr.el (shell-quote-argument): Escape correctly under Windows.
22954 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22956 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22957 Use correct match group (bug#8438).
22959 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22961 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22962 (package-menu--generate): New arg specifying packages to show.
22963 (package-menu-refresh, package-menu-execute, list-packages):
22965 (package-show-package-list): New function, replacing deleted
22966 package--list-packages (renamed because it is non-internal).
22968 * finder.el (finder-list-matches): Use package-show-package-list
22969 instead of deleted package--list-packages.
22971 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22972 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22973 (vc-annotate-mode-map): Bind it to RET.
22975 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22977 * progmodes/etags.el (next-file): Don't use set-buffer to change
22978 buffers (Bug#8478).
22980 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22982 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22984 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22985 (apropos-accumulator): Doc fix.
22986 (apropos-function, apropos-macro, apropos-command)
22987 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22988 (apropos-plist): Add face property.
22989 (apropos-symbols-internal): Fix indentation.
22990 (apropos-print): Simplify help, and recognize apropos-multi-type.
22991 (apropos-print-doc): Use button-type-get to extract the button's
22992 face property. Fill docstring (Bug#8352).
22994 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22996 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22998 * play/mpuz.el (mpuz-silent): Doc fix.
22999 (mpuz-mode-map): Use mapc.
23000 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
23001 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
23002 Fix typos in docstrings.
23004 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
23005 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
23007 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
23009 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
23011 * minibuffer.el (completion--do-completion): Avoid the "Next char
23012 not unique" prompt if icomplete-mode is enabled (Bug#5849).
23014 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
23015 mouse-2 into unread-command-events, it is interpreted correctly.
23017 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
23018 (image-toggle-display): Doc fix.
23020 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
23022 * textmodes/page.el (what-page): Use line-number-at-pos to
23023 calculate line number (Bug#6825).
23025 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23027 * eshell/esh-mode.el (find-tag-interactive): Declare function.
23028 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
23029 Pass argument NO-DEFAULT to `find-tag-interactive'.
23031 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
23033 Lexical-binding cleanup.
23035 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
23036 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
23037 * progmodes/ada-prj.el (ada-prj-initialize-values)
23038 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
23039 (ada-prj-show-value):
23040 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
23041 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
23042 (antlr-invalidate-context-cache, antlr-options-menu-filter)
23043 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
23044 * progmodes/bug-reference.el (bug-reference-push-button):
23045 * progmodes/fortran.el (fortran-line-length):
23046 * progmodes/glasses.el (glasses-change):
23047 * progmodes/octave-mod.el (octave-fill-paragraph):
23048 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23049 (python-pdbtrack-grub-for-buffer, python-sentinel):
23050 * progmodes/sql.el (sql-save-connection):
23051 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23052 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23053 Mark unused parameters.
23055 * progmodes/compile.el (compilation--flush-directory-cache)
23056 (compilation--flush-parse, compile-internal): Mark unused parameters.
23057 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23058 (compilation-next-error-function): Remove unused variable `timestamp'.
23060 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23061 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23063 * progmodes/dcl-mode.el (dcl-end-of-command):
23064 Remove unused variable `start'.
23065 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23066 (dcl-option-value-basic, dcl-option-value-offset)
23067 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23068 Mark unused parameters.
23069 (dcl-save-local-variable): Remove unused variable `val'.
23072 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23073 Mark unused parameters.
23074 (delphi-ignore-changes): Move before first use.
23075 (delphi-charset-token-at): Remove unused variable `start'.
23076 (delphi-else-start): Remove unused variable `if-count'.
23077 (delphi-comment-block-start, delphi-comment-block-end):
23078 Remove unused variable `kind'.
23079 (delphi-indent-line): Remove unused variable `new-point'.
23081 * progmodes/ebrowse.el (ebrowse-files-list)
23082 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23083 Mark unused parameters. Don't quote `lambda'.
23084 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23085 Don't quote `lambda'.
23086 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23087 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23088 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23089 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23090 Use `ignore-errors'.
23091 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23092 (ebrowse-view/find-file-and-search-pattern)
23093 (ebrowse-view/find-member-declaration/definition):
23094 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23095 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23096 Rename parameter PREFIX-ARG to PREFIX.
23097 (ebrowse-tags-read-name): Remove unused variables `start' and
23099 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23102 * progmodes/etags.el (local-find-tag-hook): Declare.
23103 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23104 Mark unused parameters.
23106 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23107 (executable-interpret): Mark unused parameter.
23109 * progmodes/flymake.el (flymake-process-sentinel)
23110 (flymake-after-change-function)
23111 (flymake-create-temp-with-folder-structure)
23112 (flymake-get-include-dirs-dot): Mark unused parameters.
23113 (flymake-safe-delete-directory): Remove unused variable `err'.
23115 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23116 (speedbar-timer-fn, speedbar-line-text)
23117 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23118 (speedbar-center-buffer-smartly): Declare functions.
23119 (gdb-find-watch-expression): Remove unused variable `array'.
23120 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23121 (gdb-starting): Mark unused parameters.
23122 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23123 (gdb-table-string): Remove unused variable `res'.
23124 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23125 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23126 (gdb-display-buffer): Remove unused variable `cur-size'.
23128 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23129 allow lexical-binding compilation.
23130 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23131 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23132 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23133 Mark unused parameters.
23134 (gud-gdb-marker-filter): Remove unused variable `match'.
23135 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23136 lambda expressions and funcall them, instead of using `fset'.
23138 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23139 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23141 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23142 variable `header-beg'; use `let'.
23144 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23145 `restart', `last-sexp' and `at-do'.
23147 * progmodes/js.el (js--debug): Mark unused parameter.
23148 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23149 (js--splice-into-items): Remove unused variable `item'.
23150 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23152 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23153 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23154 (makefile-complete): Remove unused variable `try'.
23155 (makefile-fill-paragraph, makefile-match-function-end):
23156 Mark unused parameters.
23158 * progmodes/octave-inf.el (inferior-octave-complete):
23159 Remove unused variable `proc'.
23160 (inferior-octave-output-digest): Mark unused parameter.
23162 * progmodes/perl-mode.el (perl-calculate-indent):
23163 Remove unused variable `err'.
23165 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23166 (prolog-indent-line): Mark unused parameters.
23167 (prolog-indent-line): Remove unused variable `beg'.
23169 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23170 (reporter-dont-compact-list): Declare.
23172 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23173 Remove unused variable `char'.
23174 (sh-debug): Mark unused parameter.
23175 (sh-get-indent-info): Remove unused variable `start'.
23176 (sh-calculate-indent): Remove unused variable `var'.
23178 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23179 (simula-electric-keyword): Remove unused variable `null'.
23180 (simula-search-backward, simula-search-forward): Remove unused
23181 variables `begin' and `end'.
23183 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23184 Remove unused variable `pos'.
23185 (vera-electric-tab, vera-comment-uncomment-region):
23186 Mark unused parameters.
23187 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23189 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23191 * emacs-lisp/package.el (package--builtins, package-alist)
23192 (package-load-descriptor, package-built-in-p, package-activate)
23193 (define-package, package-installed-p)
23194 (package-compute-transaction, package-buffer-info)
23195 (package--push): Doc fix. Distinguish more clearly between
23196 version strings and version lists.
23198 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23200 Lexical-binding cleanup.
23202 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23203 (5x5-make-mutate-best):
23204 * play/fortune.el (fortune-in-buffer):
23205 * play/gomoku.el (gomoku-init-display):
23206 * play/solitaire.el (solitaire, solitaire-do-check):
23207 * play/tetris.el (tetris-default-update-speed-function):
23208 Mark unused parameters.
23210 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23211 (bubbles--shift): Remove unused variable `char-org'.
23212 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23213 (bubbles--show-images): Remove unused variable `char'.
23215 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23216 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23217 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23218 (decipher-analyze-buffer): Use ?\s.
23219 (decipher-make-checkpoint): Remove unused variable `mapping'.
23221 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23223 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23224 Remove unused variable `result'; use `let'.
23226 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23227 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23228 (gametree-children-shown-p, gametree-compute-reduced-score):
23229 Use `ignore-errors'.
23231 * play/handwrite.el (ps-lpr-switches): Declare.
23232 (handwrite): Remove unused variables `pmin' and `lastp'.
23234 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23236 * play/landmark.el (landmark-init-display)
23237 (landmark-update-naught-weights): Mark unused parameters.
23238 (landmark-y): Remove unused variable `noise'. Simplify.
23239 (landmark-human-plays): Remove unused variable `score'.
23241 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23242 (mpuz-try-proposal): Remove unused variable `game'.
23244 * play/zone.el (life-patterns): Declare.
23246 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23248 * vc/vc.el (ediff-vc-internal): Declare function.
23250 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23252 * shell.el: Use lexical-binding and std completion UI.
23253 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23254 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23255 comint-preoutput-filter-functions rather than on
23256 comint-output-filter-functions.
23257 (shell-command-completion, shell--command-completion-data)
23258 (shell-filename-completion, shell-environment-variable-completion)
23259 (shell-c-a-p-replace-by-expanded-directory): New functions.
23260 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23261 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23262 (shell-dynamic-complete-environment-variable): Use them.
23263 (shell-dynamic-complete-as-environment-variable)
23264 (shell-dynamic-complete-as-command): Remove.
23265 (shell-match-partial-variable): Match past point.
23266 * comint.el: Clean up use of completion-at-point-functions.
23267 (comint-completion-at-point): New function.
23268 (comint-mode): Use it completion-at-point-functions.
23269 (comint-dynamic-complete): Make it obsolete.
23270 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23271 (comint-c-a-p-replace-by-expanded-history): New function.
23272 (comint-dynamic-complete-functions)
23273 (comint-replace-by-expanded-history): Use it.
23274 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23275 termination strings. Try harder to avoid second try-completion.
23276 (completion-in-region-mode-map): Disable bindings that don't work yet.
23278 * comint.el: Use lexical-binding. Require CL.
23279 (comint-dynamic-complete-functions): Use comint-filename-completion.
23280 (comint-completion-addsuffix): Tweak custom type.
23281 (comint-filename-completion, comint--common-suffix)
23282 (comint--common-quoted-suffix, comint--table-subvert)
23283 (comint--complete-file-name-data): New functions.
23284 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23285 (comint-dynamic-list-filename-completions): Use them.
23286 (comint-dynamic-simple-complete): Make obsolete.
23288 * minibuffer.el (completion-in-region-mode):
23289 Keep completion-in-region-mode--predicate global.
23290 (completion-in-region--postch):
23291 Assume completion-in-region-mode--predicate is not null.
23293 * progmodes/flymake.el (flymake-start-syntax-check-process):
23294 Obey `dir'. Simplify.
23296 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23297 we're in VC after all.
23299 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23301 * vc/vc.el (vc-diff-build-argument-list-internal)
23302 (vc-version-ediff, vc-ediff): New commands.
23303 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23305 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23307 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23310 * obsolete/erc-hecomplete.el: Make obsolete.
23311 * obsolete/: Standardize obsolescence info in the header.
23313 2011-04-20 Glenn Morris <rgm@gnu.org>
23315 * calendar/solar.el (solar-horizontal-coordinates):
23316 Use the longitude argument rather than `calendar-longitude'.
23317 (solar-date-next-longitude): Remove unused locals.
23319 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23321 * whitespace.el: New version 13.2.1.
23323 2011-04-20 felix <EmacsWiki> (tiny change)
23325 * whitespace.el (global-whitespace-mode): Keep highlight when
23326 switching between major modes on a file.
23328 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23330 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23331 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23332 multi-line comments as well.
23334 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23336 Lexical-binding cleanup.
23338 * arc-mode.el (archive-mode-revert):
23339 * cmuscheme.el (scheme-interactively-start-process):
23340 * custom.el (custom-initialize-delay):
23341 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23342 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23343 * emacs-lock.el (emacs-lock-clear-sentinel):
23344 * ezimage.el (defezimage):
23345 * follow.el (follow-avoid-tail-recenter):
23346 * fringe.el (set-fringe-mode-1):
23347 * generic-x.el (bat-generic-mode-compile):
23348 * help-mode.el (help-info-variable, help-do-xref)
23349 (help-mode-revert-buffer):
23350 * help.el (view-emacs-todo):
23351 * iswitchb.el (iswitchb-completion-help):
23352 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23353 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23354 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23355 * locate.el (locate-update):
23356 * longlines.el (longlines-encode-region)
23357 (longlines-after-change-function):
23358 * outline.el (outline-isearch-open-invisible):
23359 * ps-def.el (declare-function, charset-dimension, char-width)
23361 * ps-mule.el (ps-mule-plot-string):
23362 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23363 (recentf-edit-list-select, recentf-edit-list-validate)
23364 (recentf-open-files-action):
23365 * rect.el (delete-whitespace-rectangle-line)
23366 (rectangle-number-line-callback):
23367 * register.el (window-configuration-to-register)
23368 (frame-configuration-to-register):
23369 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23370 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23371 (xselect-convert-to-targets, xselect-convert-to-delete)
23372 (xselect-convert-to-filename, xselect-convert-to-charpos)
23373 (xselect-convert-to-lineno, xselect-convert-to-colno)
23374 (xselect-convert-to-os, xselect-convert-to-host)
23375 (xselect-convert-to-user, xselect-convert-to-class)
23376 (xselect-convert-to-name, xselect-convert-to-integer)
23377 (xselect-convert-to-atom, xselect-convert-to-identity):
23378 * subr.el (declare, ignore, process-kill-without-query)
23379 (text-clone-maintain):
23380 * terminal.el (te-get-char, te-tic-sentinel):
23381 * tool-bar.el (tool-bar-make-keymap):
23382 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23383 * type-break.el (type-break-mode, type-break-noninteractive-query):
23384 * view.el (View-back-to-mark):
23385 * wid-browse.el (widget-browse-action, widget-browse-widget)
23386 (widget-browse-widgets, widget-browse-sexp):
23387 * widget.el (define-widget-keywords):
23388 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23389 Mark unused parameters.
23391 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23392 (align-areas): Remove unused variable `look'.
23393 (align-region): Remove unused variables `real-end' and `pos-list'.
23395 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23397 * bindings.el (mode-line-modified, mode-line-remote):
23398 Mark unused parameters.
23399 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23401 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23402 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23404 * comint.el (comint-history-isearch-pop-state)
23405 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23406 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23407 (comint-substitute-in-file-name): Doc fix.
23409 * completion.el (cmpl-statistics-block): Mark unused parameter.
23410 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23411 (save-completions-to-file, load-completions-from-file):
23412 Remove unused local variable `e'.
23414 * composite.el (compose-chars): Remove unused variable `len'.
23415 (lgstring-insert-glyph): Remove unused variable `g'.
23416 (compose-glyph-string): Remove unused variables `ascent',
23417 `descent', `lbearing' and `rbearing'.
23418 (compose-glyph-string-relative): Remove unused variables
23419 `lbearing', `rbearing' and `wadjust'.
23420 (compose-gstring-for-graphic): Remove unused variables `header',
23421 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23422 (compose-gstring-for-terminal): Remove unused variables `header'
23423 and `nchars'. Use `let', not `let*'.
23425 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23426 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23427 (Custom-buffer-done, custom-buffer-create-internal)
23428 (custom-browse-visibility-action, custom-browse-group-tag-action)
23429 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23430 (widget-magic-mouse-down-action, custom-toggle-parent)
23431 (custom-add-parent-links, custom-toggle-hide-variable)
23432 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23433 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23434 (custom-face-menu-create, custom-variable-menu-create, get)
23435 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23436 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23437 (customize-apropos): Remove unused variable `tests'.
23438 (custom-group-value-create): Remove unused variable `hidden-p'.
23439 (sort-fold-case): Declare.
23441 * cus-theme.el (custom-reset-standard-faces-list)
23442 (custom-reset-standard-variables-list): Declare.
23443 (customize-create-theme, custom-theme-revert, custom-theme-write)
23444 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23445 Mark unused parameters.
23447 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23449 * delim-col.el (delimit-columns-max): Move defvar before first use.
23451 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23452 (describe-char): Don't quote `lambda'. Mark unused parameter.
23454 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23455 (auto-insert): Declare.
23456 (desktop-restore-file-buffer): Rename desktop-* parameters;
23458 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23459 (desktop-buffer): Rename desktop-* parameters.
23461 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23462 (dframe-reposition-frame-xemacs, dframe-help-echo)
23463 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23464 Mark unused parameters.
23466 * dired-aux.el (backup-extract-version-start, overwrite-query)
23467 (overwrite-backup-query, rename-regexp-query)
23468 (rename-non-directory-query): Declare.
23469 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23470 (dired-add-entry): Remove unused variable `orig-file-name'.
23471 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23472 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23473 `dired-copy-preserve-time' directly.
23474 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23475 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23477 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23478 (dired-virtual-revert, dired-make-relative-symlink):
23479 Mark unused parameters.
23480 (manual-program): Declare.
23481 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23482 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23483 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23485 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23487 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23489 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23492 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23494 * electric.el (Electric-command-loop): Rename parameter
23495 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23497 * expand.el (expand-in-literal): Remove unused variable `here'.
23499 * facemenu.el (facemenu-add-new-color):
23500 Remove unused variable `docstring'.
23502 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23503 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23504 (face-attr-construct): Mark unused parameter. Doc fix.
23505 (read-color): Remove unused variable `hex-string'.
23507 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23508 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23509 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23510 (display-buffer-other-frame): Remove unused variable `old-window'.
23511 (kill-buffer-hook): Declare.
23512 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23513 Mark unused parameters.
23514 (after-find-file): Pass 1 to `auto-save-mode', not t.
23516 * files-x.el (auto-insert): Declare.
23517 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23519 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23520 variable `buf'. Mark unused parameter.
23521 (find-lisp-insert-directory): Mark unused parameter.
23523 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23524 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23525 (format-common-tail): Remove, unused.
23526 (format-deannotate-region): Remove unused variable `loc'.
23527 (format-annotate-region): Remove unused variable `p'.
23528 (format-annotate-single-property-change): Remove unused variables
23529 `default' and `tail'.
23531 * forms.el (read-file-filter): Declare.
23532 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23534 * frame.el (frame-creation-function-alist): Mark unused parameter.
23535 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23537 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23538 Remove unused parameters.
23539 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23540 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23542 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23543 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23544 (hfy-prepare-tag-map): Mark unused parameters.
23545 (htmlfontify-buffer): Use `called-interactively-p'.
23547 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23548 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23549 (ibuffer-do-occur): Mark unused parameters.
23550 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23551 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23553 * ibuffer.el: Don't quote `lambda'.
23554 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23555 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23556 Mark unused parameters.
23558 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23559 (ido-completing-read): Mark unused parameters.
23560 (ido-copy-current-word): Mark unused parameters;
23561 remove unused variable `name'.
23562 (ido-sort-merged-list): Remove unused parameter `dirs'.
23564 * ielm.el (ielm-input-sender): Mark unused parameter.
23565 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23566 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23567 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23568 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23569 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23571 * image-dired.el (image-dired-display-thumbs): Remove unused
23572 variables `curr-file' and `count'.
23573 (image-dired-remove-tag): Remove unused variable `start'.
23574 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23575 variable `curr-file'
23576 (image-dired-rotate-original): Remove unused variable `temp-file'.
23577 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23578 Remove unused variable `file'.
23579 (image-dired-gallery-generate): Remove unused variable `curr'.
23580 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23582 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23584 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23586 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23588 * isearch.el (minibuffer-history-symbol): Declare.
23589 (isearch-edit-string): Remove unused variable `err'.
23590 (isearch-message-prefix, isearch-message-suffix):
23591 Mark unused parameters.
23593 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23595 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23597 * makesum.el (double-column): Remove unused variable `cnt'.
23599 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23600 (ido-ignore-item-temp-list): Declare.
23602 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23603 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23604 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23605 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23608 * mouse-sel.el (mouse-extend-internal):
23609 Remove unused variable `orig-window-frame'.
23611 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23612 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23613 Move declarations before first use.
23614 (pcomplete-opt): Mark unused parameters; doc fix.
23616 * proced.el (proced-revert): Mark unused parameter.
23617 (proced-send-signal): Remove unused variable `err'.
23619 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23620 Rename parameter PREFIX-ARG to ARG.
23621 (ps-basic-plot-string, ps-basic-plot-whitespace):
23622 Mark unused parameters.
23624 * replace.el (replace-count): Define.
23625 (occur-revert-function): Mark unused parameters.
23626 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23627 (isearch-case-fold-search, isearch-string): Declare.
23628 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23629 bind `case-fold-search'. Remove unused variables `beg' and `end',
23631 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23632 COUNT and bind `replace-count'.
23633 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23636 * savehist.el (print-readably, print-string-length): Declare.
23638 * shadowfile.el (shadow-expand-cluster-in-file-name):
23639 Remove unused variable `cluster'.
23640 (shadow-copy-file): Remove unused variable `i'.
23641 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23642 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23643 (shadow-define-literal-group, shadow-define-regexp-group)
23644 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23646 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23647 (shell): Use `called-interactively-p'.
23648 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23650 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23651 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23652 (delete-backward-char): Remove unused variable `ocol'.
23653 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23654 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23655 (event-apply-hyper-modifier, event-apply-shift-modifier)
23656 (event-apply-control-modifier, event-apply-meta-modifier):
23657 Mark unused parameters.
23658 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23659 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23661 * speedbar.el (speedbar-ignored-directory-expressions)
23662 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23663 (speedbar-find-file, speedbar-dir-follow)
23664 (speedbar-directory-buttons-follow, speedbar-tag-find)
23665 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23666 (speedbar-buffers-line-directory, speedbar-buffer-click):
23667 Mark unused parameters.
23668 (speedbar-tag-file): Remove unused variable `mode'.
23669 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23671 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23673 * talk.el (talk): Remove unused variable `display'.
23675 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23676 (tar-write-region-annotate): Mark unused parameter.
23678 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23679 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23680 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23681 warning by another.
23683 * time-stamp.el (time-stamp-string-preprocess):
23684 Remove unused variable `require-padding'.
23686 * tree-widget.el (widget-glyph-enable): Declare.
23687 (tree-widget-action): Mark unused parameter.
23689 * w32-fns.el (x-get-selection): Mark unused parameter.
23690 (autoload-make-program, generated-autoload-file): Declare.
23692 * wdired.el (wdired-revert): Mark unused parameters.
23693 (wdired-xcase-word): Remove unused variable `err'.
23695 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23696 (whitespace-help-scroll): Remove unused variable `data-help'.
23698 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23699 (widget-image-insert, widget-after-change, default)
23700 (widget-default-format-handler, widget-default-notify)
23701 (widget-default-prompt-value, widget-info-link-action)
23702 (widget-url-link-action, widget-function-link-action)
23703 (widget-variable-link-action, widget-file-link-action)
23704 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23705 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23706 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23707 (widget-insert-button-action, widget-delete-button-action, visibility)
23708 (widget-documentation-link-action, widget-documentation-string-action)
23709 (widget-const-prompt-value, widget-regexp-match, symbol)
23710 (widget-coding-system-prompt-value)
23711 (widget-key-sequence-value-to-external, sexp)
23712 (widget-sexp-value-to-internal, character, vector, cons)
23713 (widget-choice-prompt-value, widget-boolean-prompt-value)
23714 (widget-color--choose-action): Mark unused parameters.
23715 (widget-item-match-inline, widget-choice-match-inline)
23716 (widget-checklist-match, widget-checklist-match-inline)
23717 (widget-group-match): Rename parameter VALUES to VALS.
23718 (widget-field-value-set): Remove unused variable `size'.
23719 (widget-color-action): Remove unused variables `value' and `start'.
23721 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23722 variable `dir'. Doc fix.
23723 (windmove-find-other-window): Don't pass it.
23725 * window.el (count-windows): Mark unused parameter.
23726 (bw-adjust-window): Remove unused variable `err'.
23728 * woman.el (woman-file-name): Remove unused variable `default'.
23729 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23730 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23731 (global-font-lock-mode): Declare.
23732 (woman-decode-region): Mark unused parameter.
23733 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23735 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23736 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23737 (x-dnd-handle-moz-url): Remove unused variable `title'.
23738 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23740 * xml.el (xml-parse-tag, xml-parse-attlist):
23741 Remove unused variable `pos'.
23743 2011-04-19 Glenn Morris <rgm@gnu.org>
23745 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23746 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23748 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23749 * calendar/cal-html.el (cal-html-insert-minical):
23750 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23751 (calendar-mark-date-pattern):
23752 Prefix "unused" locals.
23754 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23755 optional argument `style'.
23757 * calendar/appt.el (appt-make-list):
23758 * calendar/cal-china.el (calendar-chinese-date-string):
23759 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23760 (diary-hebrew-yahrzeit):
23761 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23762 * calendar/calendar.el (calendar-generate-window):
23763 * calendar/time-date.el (time-to-days):
23764 Remove unused local variables.
23766 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23768 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23769 glyphless-char-display table.
23770 (tabulated-list-glyphless-char-display): New var.
23772 2011-04-18 Sam Steingold <sds@gnu.org>
23774 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23775 to acknowledgments.
23777 2011-04-17 Glenn Morris <rgm@gnu.org>
23779 * calendar/diary-lib.el (diary-sexp-entry):
23780 * calendar/holidays.el (holiday-sexp):
23781 Set debug-on-error rather than the removed stack-trace-on-error.
23783 2011-04-16 Glenn Morris <rgm@gnu.org>
23785 * progmodes/f90.el: Use lexical-binding.
23786 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23788 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23790 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23791 (mail-mode): Setup mailalias completion here instead.
23792 * mail/mailalias.el: Use lexical-binding.
23793 (pattern, mailalias-done): Declare dynamic.
23794 (mail-completion-at-point-function): New function, from mail-complete.
23795 (mail-complete): Use it.
23796 (mail-completion-expand): New function.
23797 (mail-get-names): Use it.
23798 (mail-directory, mail-directory-process, mail-directory-stream):
23799 Don't use `pattern' for lexically bound arg.
23801 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23803 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23804 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23805 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23807 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23808 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23809 (byte-interactive-p): Define them again, for use when inlining
23812 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23814 * loadup.el: Use `string-to-number', not `string-to-int'.
23816 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23818 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23819 gud-gdb-complete-command.
23820 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23821 (gud-gdb-completion-at-point): New function.
23822 (gud-gdb-completions): Remove.
23824 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23826 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23827 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23828 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23829 whether `executable-find' is bound.
23831 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23833 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23835 * minibuffer.el (completion-in-region-mode-predicate)
23836 (completion-in-region-mode--predicate): New vars.
23837 (completion-in-region, completion-in-region--postch)
23838 (completion-in-region-mode): Use them.
23839 (completion--capf-wrapper): Also return the hook function.
23840 (completion-at-point, completion-help-at-point):
23841 Adjust and provide a predicate.
23843 Preserve arg names for advice of subr and lexical functions (bug#8457).
23844 * help-fns.el (help-function-arglist): Consolidate the subr and
23845 new-byte-code cases. Add argument `preserve-names' to extract names
23846 from the docstring when needed.
23847 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23848 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23849 (ad-arglist): Use help-function-arglist's new arg.
23850 (ad-definition-type): Use cond.
23852 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23854 * autorevert.el (auto-revert-handler):
23855 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23856 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23857 Don't quote lambda.
23859 * image-mode.el (image-transform-set-scale):
23860 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23862 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23864 * net/network-stream.el (network-stream-open-starttls): Only do
23865 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23866 Upgrades via gnutls-cli are too slow to be done opportunistically.
23868 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23870 * dframe.el (dframe-current-frame): Remove spurious quote.
23872 2011-04-12 Glenn Morris <rgm@gnu.org>
23874 * calendar/cal-tex.el (cal-tex-end-document):
23875 Try to automatically use latin1 input if needed.
23877 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23878 Don't try to cons a mark onto an empty element.
23880 2011-04-11 Leo Liu <sdl.web@gmail.com>
23882 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23884 (ido-kill-buffer-at-head): Support killing virtual buffers.
23886 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23888 * minibuffer.el (completion-show-inline-help): New var.
23889 (completion--do-completion, minibuffer-complete)
23890 (minibuffer-force-complete, minibuffer-complete-word):
23891 Inhibit minibuffer messages if completion-show-inline-help is nil.
23893 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23894 to avoid interference from inline help (Bug#5849).
23896 2011-04-10 Leo Liu <sdl.web@gmail.com>
23898 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23901 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23903 * image-mode.el (image-toggle-display-image): Signal an error if
23905 (image-transform-mode, image-transform-resize)
23906 (image-transform-set-rotation): Doc fix.
23907 (image-transform-set-resize): Delete.
23908 (image-transform-set-scale, image-transform-fit-to-height)
23909 (image-transform-fit-to-width): Handle image-toggle-display-image
23910 and image-transform-resize directly.
23912 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23914 * doc-view.el (doc-view-fit-width-to-window)
23915 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23916 New functions for fitting the shown image to the Emacs window size.
23917 (doc-view-mode-map): Add bindings for the new functions.
23919 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23921 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23922 Fix typo in docstring.
23924 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23926 * files.el (file-size-human-readable): Produce one digit after
23927 decimal, like "ls -lh" does.
23929 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23930 the file size representation.
23932 * simple.el (list-processes): If async subprocesses are not
23933 available, error out with a clear error message.
23935 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23937 * help.el (help-form-show): New function, to be called from C.
23938 Put help-form output in a buffer named differently than *Help*.
23940 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23942 * files.el (file-size-human-readable): New function.
23944 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23945 computing the representation inline. Don't require `cl'.
23947 2011-04-08 Glenn Morris <rgm@gnu.org>
23949 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23951 * net/browse-url.el (browse-url-firefox):
23952 Test system-type, not system-configuration.
23954 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23955 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23956 Use log-edit-empty-buffer-p. (Bug#7598)
23958 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23959 (rlogin-mode-map): Initialize in the defvar.
23960 (rlogin): Use ignore-errors.
23962 * replace.el (occur-mode-map): Some fixes for menu items.
23964 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23966 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23968 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23970 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23971 issuing unused warnings.
23973 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23976 * simple.el: Lisp reimplement of list-processes. Based on an
23977 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23978 (process-menu-mode): New major mode.
23979 (list-processes--refresh, list-processes):
23980 (process-menu-visit-buffer): New functions.
23982 * files.el (save-buffers-kill-emacs): Don't assume any return
23983 value of list-processes, which is undocumented anyway.
23985 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23987 * emacs-lisp/tabulated-list.el: New file.
23989 * emacs-lisp/package.el: Use Tabulated List mode.
23990 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23991 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23992 table format using Tabulated List mode variables.
23993 (package--push): New macro, replacing package-list-maybe-add.
23994 (package-menu--generate): Use package--push. Renamed from
23995 package--generate-package-list.
23996 (package-menu-refresh, list-packages): Use it.
23997 (package-menu--print-info): Rename from package-print-package.
23998 Return insertion data instead of inserting it directly.
23999 (package-menu-describe-package, package-menu-execute):
24000 Use tabulated-list-get-id.
24001 (package-menu-mark-delete, package-menu-mark-install)
24002 (package-menu-mark-unmark, package-menu-backup-unmark)
24003 (package-menu-mark-obsolete-for-deletion):
24004 Use tabulated-list-put-tag.
24005 (package--list-packages, package-menu-revert)
24006 (package-menu-get-package, package-menu-get-version)
24007 (package-menu-sort-by-column): Functions deleted.
24008 (package-menu-package-list, package-menu-sort-key): Vars deleted.
24009 (package-menu--status-predicate, package-menu--version-predicate)
24010 (package-menu--name-predicate)
24011 (package-menu--description-predicate): Handle arguments in the
24012 Tabulated List format.
24013 (package-list-packages-no-fetch): Call list-packages.
24015 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
24017 * files.el (after-find-file-from-revert-buffer): Remove variable.
24018 (after-find-file): Don't bind it.
24019 (revert-buffer-in-progress-p): New variable.
24020 (revert-buffer): Bind it.
24021 Pass nil for `after-find-file-from-revert-buffer'.
24023 * saveplace.el (save-place-find-file-hook): Use new variable
24024 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
24026 2011-04-06 Glenn Morris <rgm@gnu.org>
24028 * Makefile.in (AUTOGEN_VCS): New variable.
24029 (autoloads): Use $AUTOGEN_VCS.
24031 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
24032 * calendar/calendar.el (calendar-mode-map):
24033 Check for toolkit scroll bars. (Bug#8305)
24035 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24037 * minibuffer.el (completion-in-region--postch)
24038 (completion-in-region-mode): Remove unnecessary messages.
24040 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
24042 * font-lock.el (font-lock-refresh-defaults):
24043 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
24044 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
24046 * info.el (Info-directory-list, Info-read-node-name-2)
24047 (Info-split-parameter-string): Doc fixes.
24048 (Info-virtual-nodes): Reflow docstring.
24049 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24050 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24051 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24052 Fix typos in docstrings.
24053 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24054 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24055 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24056 (Info-restore-desktop-buffer): Mark unused parameters.
24057 (Info-directory-find-file, Info-directory-find-node)
24058 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24059 (Info-virtual-index-find-node, Info-apropos-find-file)
24060 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
24061 Mark unused parameters; fix typos in docstrings.
24062 (Info-virtual-index): Remove unused local variable `nodename'.
24064 2011-04-05 Deniz Dogan <deniz@dogan.se>
24066 * net/rcirc.el: Update my e-mail address.
24067 (rcirc-mode-map): Remove M-o binding.
24069 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
24071 * startup.el (command-line): Save the cursor's theme-face
24072 directly, instead of using face-override-spec.
24074 * custom.el (load-theme): Minor optimization in assigning faces.
24076 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24078 * help-fns.el (describe-variable): Complete all variables having
24079 documentation, including keywords.
24080 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24082 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
24084 Convert to lexical-binding.
24086 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24087 (bs--get-marked-string, bs--get-modified-string)
24088 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24089 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24090 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24092 * ehelp.el (electric-help-execute-extended)
24093 (electric-help-ctrl-x-prefix):
24094 * hexl.el (hexl-revert-buffer-function):
24095 * linum.el (linum-after-change, linum-after-scroll):
24096 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24098 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24100 2011-04-04 Daiki Ueno <ueno@unixuser.org>
24107 * epg.el: Use lexical binding.
24109 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
24111 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24113 * textmodes/flyspell.el (flyspell-word): Recognize default
24114 dictionary case for flyspell-mark-duplications-exceptions.
24115 Use regexp matching for languages.
24116 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24117 default dictionary (Bug#7926).
24119 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
24121 * emacs-lisp/package.el (package--with-work-buffer):
24122 Recognize https URLs.
24124 * net/network-stream.el: Move from gnus/proto-stream.el.
24125 Change prefix to network-stream throughout.
24126 (open-protocol-stream): Merge into open-network-stream, leaving
24127 open-protocol-stream as an alias. Handle nil BUFFER args.
24129 * subr.el (open-network-stream): Move to net/network-stream.el.
24131 2011-04-02 Glenn Morris <rgm@gnu.org>
24133 * find-dired.el (find-exec-terminator): New option.
24134 (find-ls-option): Test for -ls support.
24135 (find-ls-subdir-switches): Test for -b in find-ls-option.
24136 (find-dired, find-grep-dired): Doc fixes.
24137 (find-dired): Use find-exec-terminator.
24139 * find-dired.el (find-ls-option, find-ls-subdir-switches)
24140 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24141 (find-name-arg): Remove purecopy.
24143 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24144 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24145 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24146 accordingly. Don't add the null-device if not needed.
24148 * files.el (save-some-buffers): Doc fix.
24150 2011-04-02 Eli Zaretskii <eliz@gnu.org>
24152 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24154 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
24156 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24157 Use `dolist' rather than `mapcar'.
24159 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24161 Add lexical binding.
24163 * subr.el (apply-partially): Use new closures rather than CL.
24164 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24165 (dolist, dotimes): Use slightly different expansion for lexical code.
24166 (functionp): Move to C.
24167 (letrec): New macro.
24168 (with-wrapper-hook): Use it and apply-partially instead of CL.
24169 (eval-after-load): Preserve lexical-binding.
24170 (save-window-excursion, with-output-to-temp-buffer): Turn them
24173 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24175 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24177 (help-add-fundoc-usage): Don't add `Not documented'.
24178 (help-function-arglist): Handle closures, subroutines, and new
24179 byte-code-functions.
24180 (help-make-usage): Remove leading underscores.
24181 (describe-function-1): Handle closures.
24182 (describe-variable): Use special-variable-p for completion.
24184 * files.el (lexical-binding): Declare safe.
24186 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24187 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24188 (pcase): Add `let' pattern.
24189 Change memoization so it actually works.
24190 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24191 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24194 * emacs-lisp/macroexp.el: Use lexical binding.
24195 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24196 Don't convert ' to #' without checking that it's indeed quoting
24199 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24200 Use eval-sexp-add-defvars.
24201 (eval-sexp-add-defvars): New fun.
24203 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24205 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24207 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24208 than the internal `byte-compile-lambda'.
24209 (defmethod): Don't hide code under quotes.
24210 (eieio-defmethod): New `code' argument.
24212 * emacs-lisp/eieio-comp.el: Remove.
24214 * emacs-lisp/edebug.el (edebug-eval-defun)
24215 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24216 (edebug-toggle): Avoid `eval'.
24218 * emacs-lisp/disass.el (disassemble-internal): Handle new
24220 (disassemble-1): Handle new byte codes.
24222 * emacs-lisp/cl.el (pushnew): Silence warning.
24224 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24225 (cl-byte-compile-throw): Remove.
24226 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24228 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24231 * emacs-lisp/cconv.el: New file.
24233 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24234 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24235 (byte-compile-initial-macro-environment):
24236 Handle declare-function here.
24237 (byte-compile--lexical-environment): New var.
24238 (byte-stack-ref, byte-stack-set, byte-discardN)
24239 (byte-discardN-preserve-tos): New lap codes.
24240 (byte-interactive-p): Don't use any more.
24241 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24243 (byte-compile-lapcode): Use them and handle new lap codes.
24244 (byte-compile-obsolete): Remove.
24245 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24246 (byte-compile-arglist-warn): Check late def of inlinable funs.
24247 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24248 since they should have been expanded by now.
24249 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24250 (byte-compile-from-buffer): Remove unused second arg.
24251 (byte-compile-preprocess): New function.
24252 (byte-compile-toplevel-file-form): New function to distinguish
24253 file-form calls from outside from file-form calls from hunk-handlers.
24254 (byte-compile-file-form): Simplify.
24255 (byte-compile-file-form-defsubst): Remove.
24256 (byte-compile-file-form-defmumble): Simplify now that
24257 byte-compile-lambda always returns a byte-code-function.
24258 (byte-compile): Preprocess.
24259 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24260 Remove, not used any more.
24261 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24262 (byte-compile-make-args-desc): New funs.
24263 (byte-compile-lambda): Handle lexical functions. Always return
24264 a byte-code-function.
24265 (byte-compile-reserved-constants): New var, to make up room for
24266 closed-over variables.
24267 (byte-compile-constants-vector): Obey it.
24268 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24269 (byte-compile-macroexpand-declare-function): New function.
24270 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24271 byte-code-functions.
24272 (byte-compile-form): Check obsolescence here.
24273 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24274 (byte-compile-variable-ref): Remove.
24275 (byte-compile-dynamic-variable-op): New fun.
24276 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24277 (byte-compile-variable-set): New funs.
24278 (byte-compile-discard): Add 2 args.
24279 (byte-compile-stack-ref, byte-compile-stack-set)
24280 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24281 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24282 macroexpand-all instead.
24283 (byte-compile-quote-form): Remove.
24284 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24285 (byte-compile-bind, byte-compile-unbind): New funs.
24286 (byte-compile-let): Handle let* and lexical binding.
24287 (byte-compile-let*): Remove.
24288 (byte-compile-catch, byte-compile-unwind-protect)
24289 (byte-compile-track-mouse, byte-compile-condition-case):
24290 Handle a new :fun-body form, used for lexical scoping.
24291 (byte-compile-save-window-excursion)
24292 (byte-compile-with-output-to-temp-buffer): Remove.
24293 (byte-compile-defun): Simplify.
24294 (byte-compile-stack-adjustment): New fun.
24295 (byte-compile-out): Use it.
24296 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24298 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24301 * emacs-lisp/byte-opt.el: Use lexical binding.
24302 (byte-inline-lapcode): Remove (to bytecomp).
24303 (byte-compile-inline-expand): Pay attention to inlining to/from
24304 lexically bound code.
24305 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24307 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24308 any more and don't call compiler-macros.
24309 (byte-compile-splice-in-already-compiled-code): Remove.
24310 (byte-code): Don't inline any more.
24311 (disassemble-offset): Receive `bytes' as argument rather than via
24313 (byte-compile-tag-number): Declare before first use.
24314 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24315 `return' even if make-spliceable.
24316 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24317 obsolete interactive-p.
24318 (byte-optimize-lapcode): Optimize new lap-codes.
24319 Don't trip up on new form of `byte-constant' lap code.
24321 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24323 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24325 * custom.el (custom-initialize-default, custom-declare-variable):
24328 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24330 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24331 (COMPILE_FIRST): Add macroexp and cconv.
24332 * makefile.w32-in: Mirror changes in Makefile.in.
24334 * vc/cvs-status.el:
24338 * vc/smerge-mode.el:
24339 * textmodes/bibtex-style.el:
24340 * textmodes/css-mode.el:
24348 * emacs-lisp/smie.el:
24351 * abbrev.el: Use lexical binding.
24353 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24355 * info.el (info-display-manual): New function.
24357 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24359 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24361 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24363 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24364 an entry for that server in rcirc-authinfo. (Bug#8385)
24366 2011-03-31 Glenn Morris <rgm@gnu.org>
24368 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24370 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24372 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24374 * progmodes/python.el (python-default-interpreter)
24375 (python-python-command-args, python-jython-command-args)
24376 (python-which-shell, python-which-args, python-which-bufname)
24377 (python-file-queue, python-comint-output-filter-function)
24378 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24379 variables and functions.
24381 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24383 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24384 (completion-in-region-mode): New minor mode.
24385 (completion-in-region): Use it.
24386 (completion-in-region--data, completion-in-region-mode-map): New vars.
24387 (completion-in-region--postch): New function.
24388 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24390 (completion--capf-wrapper): New function.
24391 (completion-at-point): Use it to track well-behavedness of
24393 (completion-help-at-point): New command.
24395 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24397 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24398 syntax class to search for whitespace on a single line
24399 (Message-ID: <4D938140.4030905@redhat.com>).
24401 2011-03-30 Leo Liu <sdl.web@gmail.com>
24403 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24405 (edit-abbrevs-map): Bind them here.
24406 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24408 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24410 * allout.el (allout-hide-by-annotation, allout-flag-region):
24411 Reduce possibility of overlay leakage by making them volatile.
24413 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24414 hash is not shared between buffers. Mode initialization is
24415 responsible for giving it a useful starting value.
24416 (allout-item-span): Reduce possibility of overlay leakage by
24417 making them volatile.
24418 (allout-widgets-count-buttons-in-region): Add diagnostic function
24419 for tracking down button overlay leaks.
24421 2011-03-29 Leo Liu <sdl.web@gmail.com>
24423 * ido.el (ido-read-internal): Use the default history var
24424 minibuffer-history if no HISTORY is specified.
24426 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24428 * net/imap.el (imap-shell-open, imap-process-connection-type):
24429 Use imap-process-connection-type for 'shell' streams as well as
24430 Kerberos, SSL, other subprocesses.
24432 2011-03-28 Leo Liu <sdl.web@gmail.com>
24434 * abbrev.el (abbrev-table-empty-p): New function.
24435 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24436 nonempty ones. (Bug#5937)
24438 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24440 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24442 2011-03-27 Leo Liu <sdl.web@gmail.com>
24444 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24445 for foreground and background colors.
24446 (ansi-color-make-color-map): Adapt.
24448 2011-03-25 Leo Liu <sdl.web@gmail.com>
24450 * midnight.el (midnight-time-float): Remove. Note it calculates
24451 the microsecond component incorrectly and seconds-to-time does the
24453 Remove redundant (require 'timer).
24455 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24456 (ido-completions): Remove unused arguments. (Bug#8329)
24458 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24460 * minibuffer.el (completion--flush-all-sorted-completions):
24461 Remove itself from hook.
24462 (completion-at-point): Let the functions perform the completion
24463 immediately and return nil or t.
24464 * comint.el (comint-dynamic-complete-functions): Now identical to
24465 completion-at-point-functions.
24466 (comint-dynamic-list-input-ring): Remove unused var `index'.
24467 (comint--match-partial-filename, comint--unquote&expand-filename):
24468 New funs, split from comint-match-partial-filename.
24469 (comint-dynamic-complete): Use completion-at-point.
24470 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24472 2011-03-24 Drew Adams <drew.adams@oracle.com>
24474 * thingatpt.el: Support `defun'.
24476 2011-03-23 Leo Liu <sdl.web@gmail.com>
24478 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24480 * help-mode.el (help-mode-finish): Tweak regexp.
24482 2011-03-23 Glenn Morris <rgm@gnu.org>
24484 * eshell/esh-opt.el (eshell-eval-using-options):
24485 Do not bind unused local variable `eshell-option-stub'.
24487 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24489 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24491 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24492 keymap variable in `with-no-warnings' to avoid a warning when the
24493 keymap has been already `defconst'ed.
24495 2011-03-22 Leo Liu <sdl.web@gmail.com>
24497 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24498 encode all chars in abbrevs; otherwise use emacs-mule or
24499 utf-8-emacs. (Bug#8308)
24501 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24503 * simple.el (backward-delete-char-untabify):
24504 Avoid warning about using `delete-backward-char'.
24506 * image.el (image-type-file-name-regexps): Make it variable.
24507 `imagemagick-register-types' modifies it, and the user may want
24508 to add new extensions for known image types.
24509 (imagemagick-register-types): Throw error if not using ImageMagick.
24511 2011-03-22 Leo Liu <sdl.web@gmail.com>
24513 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24514 located before rcirc-prompt-end-marker.
24515 (rcirc-complete): Error if point is not after rcirc prompt.
24516 Handle the case when table is nil.
24517 (rcirc-user-authenticated): Define to fix compiler warning.
24519 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24521 * custom.el (custom--inhibit-theme-enable): Make it affect only
24522 custom-theme-set-variables and custom-theme-set-faces.
24523 (provide-theme): Ignore custom--inhibit-theme-enable.
24524 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24525 (custom-enabling-themes): Delete variable.
24526 (enable-theme): Accept only loaded themes as arguments.
24527 Ignore the special custom-enabled-themes variable.
24528 (custom-enabled-themes): Forbid themes from setting this.
24529 Eliminate use of custom-enabling-themes.
24530 (custom-push-theme): Quote "changed" custom var entry.
24532 2011-03-21 Leo Liu <sdl.web@gmail.com>
24534 * ido.el (ido-read-internal): Add ido-selected to history instead
24537 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24539 * subr.el (deferred-action-list, deferred-action-function):
24542 2011-03-21 Leo Liu <sdl.web@gmail.com>
24544 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24545 change on 2011-02-13 (bug#8309).
24547 * minibuffer.el (read-file-name-function): Change default value.
24548 (read-file-name--defaults): Rename from read-file-name-defaults.
24549 (read-file-name-default): Rename from read-file-name.
24550 (read-file-name): Call read-file-name-function.
24552 2011-03-21 Glenn Morris <rgm@gnu.org>
24554 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24557 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24559 * cus-theme.el: Add missing provide statement.
24560 (customize-create-theme): Extract theme value correctly.
24561 (custom-theme-visit-theme): Autoload.
24562 (customize-create-theme): Prompt before inserting default faces.
24564 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24566 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24567 units and musical notes.
24569 2011-03-20 Leo Liu <sdl.web@gmail.com>
24571 * ido.el (ido-read-internal): Use completing-read-default.
24572 (ido-completing-read): Fix compatibility with completing-read.
24574 2011-03-20 Christian Ohler <ohler@gnu.org>
24576 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24577 (ert-delete-all-tests): Use `called-interactively-p' rather than
24579 (ert--make-xrefs-region): Respect END.
24581 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24583 * dired-aux.el (dired-create-directory): Signal an error if the
24584 directory already exists (Bug#8246).
24586 * facemenu.el (list-colors-display): Call list-faces-display
24587 inside with-help-window.
24588 (list-colors-print): Use display property to align the final
24589 column, instead of checking window-width.
24591 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24593 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24594 windows-nt systems.
24595 (emerge-protect-metachars): Quote correctly for ms-dos and
24596 windows-nt systems.
24598 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24600 * info.el (info-initialize): Replace all uses of `:' with
24601 path-separator for compatibility with non-Unix systems.
24602 Cache quoting of path-separator. (Bug#8258)
24604 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24606 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24607 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24608 (mouse-avoidance-mode): Fix typos in docstrings.
24610 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24612 * startup.el (package-subdirectory-regexp): Move from package.el.
24613 Omit \\` and \\', and let callers add them.
24615 * emacs-lisp/package.el (package-strip-version)
24616 (package-load-all-descriptors): Add \\` and \\' to
24617 package-subdirectory-regexp before using it.
24618 (package-untar-buffer): New arg DIR; ensure that file untars only
24619 into this expected directory. Remove superfluous delete-region.
24620 (package-unpack): Caller changed.
24621 (package-tar-file-info): Use package-subdirectory-regexp.
24623 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24625 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24626 diff-mode-shared-map (bug#8284).
24627 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24629 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24631 * calendar/time-date.el (format-seconds): Use assoc instead of
24632 assoc-string, since assoc-string doesn't exist in XEmacs.
24634 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24636 * custom.el (custom-known-themes): Reflow docstring.
24637 (custom-theme-load-path): Fix typo in docstring.
24638 (load-theme): Fix typo in error message.
24639 (custom-available-themes, custom-variable-theme-value):
24640 Use `let', not `let*'.
24642 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24644 * calc/README: Mention inclusion of musical notes.
24646 * calc/calc-units.el (calc-lu-quant): Rename from
24647 `calc-logunits-quantity'.
24648 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24649 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24650 (calc-db): Rename from `calc-dblevel'.
24651 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24652 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24653 (calc-np): Rename from `calc-nplevel'.
24654 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24655 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24656 (calc-lu-plus): Rename from `calc-logunits-add'.
24657 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24658 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24659 (calc-lu-minus): Rename from `calc-logunits-sub'.
24660 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24661 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24662 (calc-lu-times): Rename from `calc-logunits-mul'.
24663 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24664 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24665 (calc-lu-divide): Rename from `calc-logunits-div'.
24666 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24667 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24669 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24670 functions being autoloaded.
24672 * calc/calc.el (calc-lu-power-reference): Rename from
24673 `calc-logunits-power-reference'.
24674 (calc-lu-field-reference): Rename from
24675 `calc-logunits-field-reference'.
24677 * calc/calc-help.el (calc-l-prefix-help):
24678 Mention musical note functions.
24680 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24682 * minibuffer.el (completion-all-sorted-completions):
24683 Use :completion-cycle-penalty text property if present.
24685 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24687 * allout.el (allout-yank-processing): Adjust for new rebulleting
24688 regime so bullet being yanked is used without prompting the user
24691 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24693 * startup.el (command-line): Warn the user that _emacs is deprecated.
24695 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24697 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24698 (delphi-verbose, delphi-comment-face, delphi-string-face)
24699 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24700 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24701 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24702 (delphi-new-comment-line, delphi-font-lock-defaults)
24703 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24704 Fix typos in docstrings.
24706 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24708 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24709 Invert the roles of character and string values for INSTEAD, so a
24710 string is used for the more common case of a defaulting prompt.
24712 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24714 * progmodes/ruby-mode.el (ruby-backward-sexp):
24715 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24716 * play/gamegrid.el (gamegrid-make-face):
24717 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24718 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24719 * notifications.el (notifications-notify):
24720 * net/xesam.el (xesam-search-engines):
24721 * net/quickurl.el (quickurl-list-insert):
24722 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24724 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24726 * startup.el (command-line): Update package subdirectory regexp.
24728 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24730 * allout.el (allout-abbreviate-flattened-numbering)
24731 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24733 * subr.el (read-char-choice): Only show the cursor after the prompt,
24734 not after the answer.
24736 2011-03-15 Kevin Ryde <user42@zip.com.au>
24738 * help-fns.el (variable-at-point): Skip leading quotes, if any
24741 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24743 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24746 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24748 * shell.el (shell): When called interactively, offer to change the
24749 shell file name on remote hosts.
24751 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24753 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24754 integration for LDAP parameters. The host, base, user or binddn,
24755 and secret tokens can be specified in a netrc file, for instance.
24756 This is optional because an `auth-source' parameter must be
24757 specified in the search attributes.
24759 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24761 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24763 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24765 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24766 into declaration. Remove redundant and harmful binding.
24768 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24770 * files.el (file-ownership-preserved-p): Pass `integer' as an
24771 explicit 2nd argument to `file-attributes'. If the file's owner
24772 is the Administrators group on Windows, and the current user is
24773 Administrator, consider that a match.
24775 * server.el (server-ensure-safe-dir): Consider server directory
24776 safe on MS-Windows if its owner is the Administrators group while
24777 the current Emacs user is Administrator. Use `=' to compare
24778 numerical UIDs, since they could be integers or floats.
24780 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24782 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24784 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24786 Sync with Tramp 2.2.1.
24788 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24790 * net/trampver.el: Update release number.
24792 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24794 * progmodes/compile.el (compilation--previous-directory): Fix up
24795 various nil/dead-marker mismatches (bug#8014).
24796 (compilation-directory-properties, compilation-error-properties):
24797 Don't call it at a position past the one we're about to change.
24799 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24800 Disable obsolescence warnings in the file that declares it.
24802 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24804 * allout-widgets.el (allout-widgets-tally):
24805 Initialize allout-widgets-tally as a hash table rather than nil to
24806 prevent mode-line redisplay warnings. Also, clarify the module
24807 description and fix a comment typo.
24809 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24811 * help-fns.el (describe-variable): Don't complete keywords.
24812 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24814 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24816 * emacs-lisp/package.el (package-version-join): Impose a standard
24817 string representation for pre/alpha/beta version lists.
24818 (package-unpack-single): Standardize the directory name by passing
24819 it through package-version-join.
24820 (package-strip-rcs-id): Accept any version string that does not
24821 signal an error in version-to-list.
24823 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24825 * simple.el (delete-trailing-whitespace): Return nil for the
24826 benefit of `write-file-functions'.
24828 2011-03-10 Glenn Morris <rgm@gnu.org>
24830 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24832 * vc/vc-git.el (vc-git-program): New option.
24833 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24834 (vc-git--call): Use it.
24836 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24838 * cus-edit.el (Custom-newline): If no button at point, look
24839 for a subgroup button at start-of-line. (Bug#2298)
24841 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24843 2011-03-10 Julien Danjou <julien@danjou.info>
24845 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24846 `cursor-type' is nil.
24848 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24850 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24852 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24854 * allout.el: Change so yank of distinctive-bullet items
24855 preserves the existing header prefix, rebulleting it if necessary,
24856 rather than replacing it. This is necessary for proper operation
24857 of cooperative addons like allout-widgets.
24858 (allout-make-topic-prefix, allout-rebullet-heading):
24859 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24860 value as alternate bullet to be used, instead of prompting the user
24861 for a bullet character.
24863 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24865 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24866 Do not use `tramp-file-name-port', because this returns also
24867 `tramp-default-port'.
24869 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24871 * net/rcirc.el (rcirc-handler-001): Remove useless
24872 with-rcirc-process-buffer.
24873 (rcirc-check-auth-status): Swap arguments to string-match.
24875 2011-03-09 Glenn Morris <rgm@gnu.org>
24877 * shell.el (shell-mode):
24878 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24880 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24881 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24883 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24885 * emacs-lisp/package.el (package-refresh-contents)
24886 (package-menu-execute): Use condition-case-no-debug.
24888 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24890 * simple.el (shell-command-to-string): Use `process-file'.
24892 * emacs-lisp/package.el (package-tar-file-info): Handle also
24895 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24896 Use `equal' for upload base check.
24898 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24900 * textmodes/texinfo.el (texinfo-environments):
24901 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24903 2011-03-08 Glenn Morris <rgm@gnu.org>
24905 * cus-start.el (cursor-in-non-selected-windows):
24906 Fix :set quoting oddness. (Bug#8192)
24908 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24909 in some setf expressions. (Bug#2159)
24911 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24913 * custom.el (custom-available-themes): Return themes in
24914 alphabetical order.
24916 See ChangeLog.15 for earlier changes.
24918 ;; Local Variables:
24922 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24924 This file is part of GNU Emacs.
24926 GNU Emacs is free software: you can redistribute it and/or modify
24927 it under the terms of the GNU General Public License as published by
24928 the Free Software Foundation, either version 3 of the License, or
24929 (at your option) any later version.
24931 GNU Emacs is distributed in the hope that it will be useful,
24932 but WITHOUT ANY WARRANTY; without even the implied warranty of
24933 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24934 GNU General Public License for more details.
24936 You should have received a copy of the GNU General Public License
24937 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.