1 2013-05-27 Juri Linkov <juri@jurta.org>
3 * isearch.el (isearch-filter-predicates): Rename from
4 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5 (isearch-message-prefix): Display text from the property
6 `isearch-message-prefix' of the currently active filters.
7 (isearch-search): Don't compare `isearch-filter-predicate' with
8 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9 on `isearch-filter-predicates'. Also check `search-invisible' for t
10 or call `isearch-range-invisible'.
11 (isearch-filter-visible): Make obsolete.
12 (isearch-lazy-highlight-search):
13 Call `run-hook-with-args-until-failure' on
14 `isearch-filter-predicates' and use `isearch-range-invisible'.
16 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
17 `isearch-filter-predicates' instead of `funcall'ing
18 `isearch-filter-predicate'.
19 (Info-mode): Set `Info-isearch-filter' to
20 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
22 * dired-aux.el (dired-isearch-filter-predicate-orig):
24 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
25 (dired-isearch-filenames-end): Add and remove
26 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
27 instead of changing the value of `isearch-filter-predicate'.
28 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
29 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
30 Put property `isearch-message-prefix' to "filename " on
31 `dired-isearch-filter-filenames'.
33 * wdired.el (wdired-change-to-wdired-mode):
34 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
35 locally instead of changing `isearch-filter-predicate'.
36 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
38 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
40 * emacs-lisp/easy-mmode.el (define-minor-mode):
41 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
42 mode hook and provide a docstring.
44 2013-05-27 Alan Mackenzie <acm@muc.de>
46 Remove spurious syntax-table text properties inserted by C-y.
47 * progmodes/cc-mode.el (c-after-change): Also clear hard
48 syntax-table property with value nil.
50 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
52 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
53 when reading the events; the buffer layout shall not be changed.
55 2013-05-27 Leo Liu <sdl.web@gmail.com>
57 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
59 (inferior-octave-directory-tracker): Automatically re-sync
61 (octave-help): Improve handling of 'See also'.
63 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
65 * doc-view.el: Minor naming convention tweaks.
66 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
68 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
69 even if there's no `display' property yet (bug#14435).
71 2013-05-25 Eli Zaretskii <eliz@gnu.org>
73 * subr.el (unmsys--file-name): Rename from reveal-filename.
75 * Makefile.in (custom-deps, finder-data, autoloads)
76 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
77 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
78 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
80 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
82 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
83 error-completion on the first 2 args of condition-case (bug#14446).
86 2013-05-25 Leo Liu <sdl.web@gmail.com>
88 * comint.el (comint-previous-matching-input): Do not flood the
89 *Messages* buffer with trivial messages.
91 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
93 * progmodes/flymake.el (flymake-nop): Don't return a string.
94 (flymake-set-at): Fix typo.
96 * simple.el (read--expression): New function, extracted from
97 eval-expression. Set completion-at-point-functions (bug#14465).
98 (eval-expression, eval-minibuffer): Use it.
100 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
102 * progmodes/flymake.el (flymake-save-buffer-in-file)
103 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
104 (flymake-selected-frame, flymake-log, flymake-ins-after)
105 (flymake-set-at, flymake-get-buildfile-from-cache)
106 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
107 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
108 Refine the doc string.
109 (flymake-get-file-name-mode-and-masks): Reformat.
110 (flymake-get-real-file-name-function): Fix a minor bug.
112 2013-05-24 Juri Linkov <juri@jurta.org>
114 * progmodes/grep.el (grep-mode-font-lock-keywords):
115 Support =linenumber= format used by git-grep for lines with
116 function names. (Bug#13549)
118 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
120 * progmodes/octave.el (octave-smie-rules): Return nil rather than
121 0 after a semi-colon; it works better for smie-auto-fill.
122 (octave--indent-new-comment-line): New function.
123 (octave-indent-new-comment-line): Use it (indirectly).
124 (octave-mode): Don't disable smie-auto-fill. Use add-function to
125 modify comment-line-break-function.
127 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
128 (smie-setup): Use add-function to set it.
130 2013-05-24 Sam Steingold <sds@gnu.org>
132 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
133 argument (before the `interactive' argument).
135 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
137 * image-mode.el (image-mode-winprops): Add winprops to
138 image-mode-winprops-alist before running
139 image-mode-new-window-functions.
140 * doc-view.el (doc-view-new-window-function): Don't delay
141 doc-view-goto-page via timers (bug#14435).
143 2013-05-24 Tassilo Horn <tsdh@gnu.org>
145 * doc-view.el: Integrate with desktop.el. (Bug#14435)
146 (doc-view-desktop-save-buffer): New function.
147 (doc-view-restore-desktop-buffer): New function.
148 (desktop-buffer-mode-handlers):
149 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
151 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
152 `desktop-save-buffer' function.
154 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
156 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
157 (tramp-gvfs-file-name-handler): Raise a user error when
158 `tramp-gvfs-enabled' is nil.
159 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
160 Do not raise a user error when loading package. (Bug#14447)
162 * net/xesam.el: Move to obsolete/.
164 2013-05-24 Glenn Morris <rgm@gnu.org>
166 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
168 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
170 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
171 (Info-find-node, Man-getpage-in-background): Declare.
173 * mail/unrmail.el (unrmail):
174 Replace obsolete detect-coding-with-priority.
176 * net/socks.el (socks-split-string): Use this rather than split-string.
177 (socks-nslookup-host): Update for above change.
178 (dynamic-choice, s5-dynamic-choice-match)
179 (s5-dynamic-choice-match-inline, s5-widget-value-create):
180 Comment out unused code.
182 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
183 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
184 (gud-tooltip-echo-area): Make obsolete.
185 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
187 * progmodes/js.el (js--optimize-arglist): Declare.
189 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
191 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
192 (ediff-window-C): Declare.
194 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
195 Tweak requires to silence compiler.
197 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
198 (he-search-string, he-tried-table, he-expand-list)
199 (he-init-string, he-string-member, he-substitute-string)
200 (he-reset-string): Declare.
202 * obsolete/options.el (list-options): Use custom-variable-p,
203 rather than obsolete alias.
205 2013-05-23 Sam Steingold <sds@gnu.org>
207 * simple.el (shell-command-on-region): Pass the `replace' argument
208 down to `call-process-region' to comply with the doc as reported on
209 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
211 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
213 * emacs-lisp/smie.el (smie-indent-forward-token)
214 (smie-indent-backward-token): Handle string tokens (bug#14381).
216 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
218 * ielm.el (ielm-menu): New menu.
219 (inferior-emacs-lisp-mode): Set comment-start.
221 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
223 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
224 Fix deactivate action.
226 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
229 * lisp/textmodes/reftex-parse.el
230 (reftex-locate-bibliography-files): Accept options for
231 bibliography commands.
232 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
233 Add addbibresource. Basic Biblatex support.
235 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
237 * net/tramp-gvfs.el (top):
238 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
239 when loading package. (Bug#14447)
241 2013-05-23 Glenn Morris <rgm@gnu.org>
243 * progmodes/js.el: No need to load comint when compiling.
244 (ring-insert, comint-send-string, comint-send-input)
245 (comint-last-input-end, ido-chop): Declare.
247 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
248 * vc/ediff-mult.el: Adjust requires.
249 (ediff-directories-internal, ediff-directory-revisions-internal)
250 (ediff-patch-file-internal): Declare.
251 * vc/ediff-ptch.el: Adjust requires.
252 (ediff-use-last-dir, ediff-buffers-internal): Declare.
253 (ediff-find-file): Autoload.
254 * vc/ediff-util.el: No need to load ediff when compiling.
255 (ediff-regions-internal): Declare.
256 * vc/ediff-wind.el: Adjust requires.
257 (ediff-compute-toolbar-width): Define when compiling.
258 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
259 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
260 (dired-get-filename, dired-get-marked-files)
261 (ediff-last-dir-patch, ediff-patch-default-directory)
262 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
263 (ediff-patch-buffer-internal): Declare.
265 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
266 (ispell-process, ispell-buffer-local-words, lm-summary)
267 (lm-section-start, lm-section-end): Declare.
268 (checkdoc-ispell-init): Simplify.
270 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
271 (he-string-member, he-reset-string, he-substitute-string): Declare.
273 * eshell/em-ls.el: Adjust requires.
274 (eshell-glob-regexp): Declare.
275 * eshell/em-tramp.el: Adjust requires.
276 (eshell-parse-command): Autoload.
277 * eshell/em-xtra.el: Adjust requires.
278 (eshell-parse-command): Autoload.
279 * eshell/esh-ext.el: Adjust requires.
280 (eshell-parse-command, eshell-close-handles): Autoload.
281 * eshell/esh-io.el: Adjust requires.
282 (eshell-output-filter): Autoload.
283 * eshell/esh-util.el: No need to load tramp when compiling.
284 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
286 (eshell-parse-ange-ls): Require ange-ftp and tramp.
287 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
288 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
289 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
290 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
291 * eshell/esh-opt.el, eshell/esh-proc.el:
292 * eshell/esh-var.el: Adjust requires.
293 * eshell/eshell.el: Do not require esh-util twice.
294 (eshell-add-input-to-history): Declare.
295 (eshell-command): Check history module is active before using it.
297 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
299 2013-05-22 Leo Liu <sdl.web@gmail.com>
301 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
303 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
305 * autorevert.el (auto-revert-notify-add-watch)
306 (auto-revert-notify-handler): Add `attrib' for the inotify case,
307 it indicates changes in file modification time.
309 2013-05-22 Glenn Morris <rgm@gnu.org>
311 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
312 Always delete the autoloaded function from the noruntime and
313 unresolved functions lists.
315 * allout.el: No need to load epa, epg, overlay when compiling.
316 (epg-context-set-passphrase-callback, epg-list-keys)
317 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
318 (epg-key-user-id-list): Declare.
320 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
321 (viper-set-parsing-style-toggling-macro)
322 (viper-set-emacs-state-searchstyle-macros):
323 Use called-interactively-p on Emacs.
324 (viper-looking-back): Make it an obsolete alias. Update callers.
325 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
326 Use looking-back rather than viper-looking-back.
327 (viper-tmp-insert-at-eob, viper-enlarge-region)
328 (viper-read-string-with-history, viper-register-to-point)
329 (viper-append-to-register, viper-change-state-to-vi)
330 (viper-backward-char-carefully, viper-forward-char-carefully)
331 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
332 (viper-change-state-to-emacs): Declare.
333 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
334 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
335 * emulation/viper-mous.el: Do not load viper-cmd.
336 (viper-backward-char-carefully, viper-forward-char-carefully)
337 (viper-forward-word, viper-adjust-window): Declare.
339 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
341 * progmodes/idlw-help.el (idlwave-help-fontify):
342 Use called-interactively-p.
344 * term/w32console.el (w32-get-console-codepage)
345 (w32-get-console-output-codepage): Declare.
347 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
348 Remove unnecessary declarations.
349 (dframe-message): Doc fix.
351 * info.el (dframe-select-attached-frame, dframe-current-frame):
354 * speedbar.el (speedbar-message): Make it an obsolete alias.
356 (speedbar-with-attached-buffer)
357 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
358 (speedbar-with-writable): Use backquote.
359 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
360 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
361 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
362 rather than speedbar- aliases.
363 * mail/rmail.el: Load dframe rather than speedbar when compiling.
364 (speedbar-make-specialized-keymap, speedbar-insert-button)
365 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
366 (speedbar-do-function-pointer): Declare.
367 (rmail-speedbar-button, rmail-speedbar-find-file)
368 (rmail-speedbar-move-message):
369 Use dframe-with-attached-buffer rather than speedbar- alias.
370 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
371 (dframe-message, speedbar-make-specialized-keymap)
372 (speedbar-add-expansion-list, speedbar-mode-functions-list)
373 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
374 (speedbar-insert-button, dframe-select-attached-frame)
375 (dframe-maybee-jump-to-attached-frame)
376 (speedbar-change-initial-expansion-list)
377 (speedbar-previously-used-expansion-list-name): Declare.
378 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
379 Use dframe-message, dframe-with-attached-buffer rather than
381 (gud-sentinel): Silence compiler.
382 * progmodes/vhdl-mode.el (speedbar-refresh)
383 (speedbar-do-function-pointer, speedbar-add-supported-extension)
384 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
385 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
386 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
387 (speedbar-file-lists, speedbar-make-tag-line)
388 (speedbar-line-directory, speedbar-goto-this-file)
389 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
390 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
391 (speedbar-make-button, speedbar-reset-scanners)
392 (speedbar-files-item-info, speedbar-line-text)
393 (speedbar-find-file-in-frame, speedbar-set-timer)
394 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
395 (speedbar-with-writable): Do not (re)define it.
396 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
397 rather than speedbar- alias.
399 2013-05-21 Leo Liu <sdl.web@gmail.com>
401 * progmodes/octave.el (octave-mode-menu): Update and re-organize
403 (octave-mode): Tweak fill-nobreak-predicate.
404 (inferior-octave-startup): Check process to avoid infinite loop.
405 (inferior-octave): Pop to buffer first to show abornmal process
408 2013-05-21 Glenn Morris <rgm@gnu.org>
410 * printing.el (pr-menu-bar): Define when compiling.
412 2013-05-21 Leo Liu <sdl.web@gmail.com>
414 * progmodes/octave.el (octave-auto-fill): Remove.
415 (octave-indent-new-comment-line): Improve.
416 (octave-mode): Use auto fill mode through
417 comment-line-break-function and fill-nobreak-predicate
418 (octave-goto-function-definition): Support DEFUN_DLD.
419 (octave-beginning-of-defun): Small Tweak
420 (octave-help): Show parent directory.
422 2013-05-21 Glenn Morris <rgm@gnu.org>
424 * files.el (dired-unmark):
425 * progmodes/gud.el (gdb-input): Update declarations.
427 * calculator.el (electric, ehelp): No need to load when compiling.
428 (Electric-command-loop, electric-describe-mode): Declare.
430 * doc-view.el (doc-view-current-converter-processes): Move before use.
432 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
433 Move MODE-set-explicitly definition before use.
435 * international/mule-diag.el (mule-diag):
436 Don't use obsolete window-system-version.
438 * mail/feedmail.el (smtpmail): No need to load when compiling.
439 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
441 * mail/mail-utils.el (rfc822): No need to load when compiling.
442 (rfc822-addresses): Autoload it.
443 (mail-strip-quoted-names): Trivial simplification.
445 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
446 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
448 * net/snmp-mode.el (tempo): Don't duplicate requires.
450 * progmodes/prolog.el (info): No need to load when compiling.
451 (comint): Require before shell requires it.
452 (Info-goto-node): Autoload it.
453 (Info-follow-nearest-node): Declare.
454 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
456 * textmodes/artist.el (picture-mode-exit): Declare.
458 * textmodes/reftex-parse.el (reftex-parse-from-file):
459 Trivial rewrite so the compiler can parse it better.
461 2013-05-20 Leo Liu <sdl.web@gmail.com>
463 * progmodes/octave.el (octave-help-mode-map)
464 (octave-help-mode-finish-hook): New variables.
465 (octave-help-mode, octave-help-mode-finish): New functions.
466 (octave-help): Use octave-help-mode.
468 2013-05-20 Glenn Morris <rgm@gnu.org>
470 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
472 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
474 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
475 start at point, so that expansion starting right after opening
476 slash in a regexp is recognized.
477 (ruby-syntax-before-regexp-re): New defvar, extracted from
478 ruby-syntax-propertize-function. Since the value of this regexp
479 is looked up at runtime now, we should be able to turn
480 `ruby-syntax-methods-before-regexp' into a defcustom later.
481 (ruby-syntax-propertize-function): Split regexp matching into two
482 parts, for opening and closing slashes. That allows us to skip
483 over string interpolations and support multiline regexps.
484 Don't call `ruby-syntax-propertize-expansions', instead use another rule
485 for them, which calls `ruby-syntax-propertize-expansion'.
486 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
487 call to `ruby-syntax-propertize-function'.
488 (ruby-syntax-propertize-expansion): Extracted from
489 `ruby-syntax-propertize-expansions'. Handles one expansion.
490 (ruby-syntax-propertize-percent-literal): Leave point right after
491 the percent symbol, so that the expression expansion rule can
492 propertize the contents.
493 (ruby-syntax-propertize-heredoc): Leave point at bol following the
495 (ruby-syntax-propertize-expansions): Remove.
497 2013-05-18 Juri Linkov <juri@jurta.org>
499 * man.el (Man-default-man-entry): Remove `-' from the end
500 of the default value. (Bug#14400)
502 2013-05-18 Glenn Morris <rgm@gnu.org>
504 * comint.el (comint-password-prompt-regexp):
505 Allow "password for XXX" where XXX contains colons (eg https://...).
507 2013-05-18 Leo Liu <sdl.web@gmail.com>
509 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
510 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
511 (octave-source-directories): Don't check process.
512 (octave-source-directories, octave-find-definition): Doc fix.
514 2013-05-18 Glenn Morris <rgm@gnu.org>
516 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
517 Remove backspace/delete bindings. (Bug#14392)
519 * cus-dep.el (custom-make-dependencies): Sort the output.
520 (custom-versions-load-alist): Convert comment to doc.
522 2013-05-17 Leo Liu <sdl.web@gmail.com>
524 * newcomment.el (comment-search-backward): Stricter in finding
525 comment start. (Bug#14303)
527 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
528 (octave-comment-start-skip): Properly anchored.
530 2013-05-17 Leo Liu <sdl.web@gmail.com>
532 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
533 Clean up when turned off. (Bug#14395)
534 (smie--highlight-matching-block-overlay): No longer buffer-local.
535 (smie-highlight-matching-block): Adjust.
537 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
539 Doc string fix for "nanoseconds" (Bug#14406).
540 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
541 Fix doc string typo that had "nanoseconds" instead of "microseconds".
543 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
545 * calc/calc-units.el (math-extract-units): Preserve powers
548 2013-05-17 Leo Liu <sdl.web@gmail.com>
550 * subr.el (delete-consecutive-dups): New function.
551 * ido.el (ido-set-matches-1): Use it.
552 * progmodes/octave.el (inferior-octave-completion-table): Use it.
553 * ido.el (ido-remove-consecutive-dups): Remove.
555 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
557 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
558 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
559 regexp-opt's `words'.
561 2013-05-16 Leo Liu <sdl.web@gmail.com>
563 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
564 (smie--highlight-matching-block-overlay)
565 (smie--highlight-matching-block-lastpos)
566 (smie--highlight-matching-block-timer): New variables.
567 (smie-highlight-matching-block): New function.
568 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
569 (smie-setup): Conditionally enable smie-blink-matching-open.
571 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
573 Sync with upstream verilog-mode r840.
574 * progmodes/verilog-mode.el (verilog-mode-version)
575 (verilog-mode-release-date): Update.
576 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
577 (verilog-sig-tieoff): Fix string error on
578 AUTORESET with colon define, bug594. Reported by Andrew Hou.
579 (verilog-read-decls): Fix parameters confusing
580 AUTOINST interfaces, bug565. Reported by Leith Johnson.
582 2013-05-16 Eli Zaretskii <eliz@gnu.org>
584 * subr.el (reveal-filename): New function.
586 * loadup.el: Compute Emacs executable versions on MS-Windows,
587 where executables have the .exe extension. Add a hard link
588 emacs-XX.YY.ZZ.exe on MS-Windows.
590 * Makefile.in (XARGS_LIMIT): New variable.
591 (custom-deps, finder-data, autoloads)
592 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
593 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
594 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
595 (compile-main): Limit xargs according to $(XARGS_LIMIT).
597 2013-05-16 Leo Liu <sdl.web@gmail.com>
599 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
600 (octave-mode-menu, octave-mode-map): Remove its uses.
602 2013-05-16 Reto Zimmermann <reto@gnu.org>
604 Sync with upstream vhdl mode v3.34.2.
605 * progmodes/vhdl-mode.el: Use `push' throughout.
606 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
607 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
608 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
609 (vhdl-actual-generic-name): New option to derive actual generic name.
610 (vhdl-port-paste-signals): Replace formal by actual generics.
611 (vhdl-beautify): New name for old group vhdl-align. Update users.
612 (vhdl-beautify-options): New option.
613 (vhdl-last-input-event): New compat alias. Use throughout.
614 (vhdl-goto-line): Replace user level function `goto-line'.
615 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
616 vhdl-fix-statement-buffer.
617 (vhdl-create-mode-menu): Add some entries.
618 (vhdl-align-region-groups): Respect vhdl-beautify-options.
619 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
620 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
621 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
622 to force statements on one line.
623 (vhdl-remove-trailing-spaces-region):
624 New, split from vhdl-remove-trailing-spaces.
625 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
626 Respect vhdl-beautify-options.
627 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
628 (vhdl-update-sensitivity-list): Not add with index if exists without.
629 Not include array index with signal. Ignore keywords in comments.
630 (vhdl-get-visible-signals): Regexp tweaks.
631 (vhdl-template-component-inst): Handle empty library.
632 (vhdl-template-type): Add template for 'enum' type.
633 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
634 Use vhdl-replace-string.
635 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
636 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
637 (vhdl-speedbar-initialize): Update for above name change.
638 (vhdl-compose-wire-components): Fix in handling of constants.
639 (vhdl-error-regexp-emacs-alist): New variable.
640 (vhdl-error-regexp-add-emacs): New function;
641 adds support for new compile.el (Emacs 22+)
642 (vhdl-generate-makefile-1): Change target order for single lib. units.
643 Allow use of absolute file names.
645 2013-05-16 Leo Liu <sdl.web@gmail.com>
647 * simple.el (prog-indent-sexp): Indent enclosing defun.
649 2013-05-15 Glenn Morris <rgm@gnu.org>
651 * cus-start.el (show-trailing-whitespace): Move to editing basics.
652 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
653 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
654 (whitespace-highlight): Move to whitespace group.
656 * comint.el (comint-source):
657 * pcmpl-linux.el (pcmpl-linux):
658 * shell.el (shell-faces):
659 * eshell/esh-opt.el (eshell-opt):
660 * international/ccl.el (ccl): Remove empty custom groups.
662 * completion.el (dynamic-completion-mode):
663 * jit-lock.el (jit-lock-debug-mode):
664 * minibuffer.el (completion-in-region-mode):
665 * type-break.el (type-break-mode-line-message-mode)
666 (type-break-query-mode):
667 * emulation/tpu-edt.el (tpu-edt-mode):
668 * progmodes/subword.el (global-subword-mode, global-superword-mode):
669 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
670 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
672 * term/xterm.el (xterm): Change parent group to terminals.
674 * master.el (master): Remove empty custom group.
675 (master-mode): Remove unused :group argument.
676 * textmodes/refill.el (refill): Remove empty custom group.
677 (refill-mode): Remove unused :group argument.
679 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
681 * cus-dep.el: Provide a feature.
682 (custom-make-dependencies): Ignore dotfiles (dir-locals).
683 Don't mistakenly ignore files whose basenames match a basename
684 from preloaded-file-list (eg cedet/ede/simple.el).
685 Add a fallback method for getting :group.
687 2013-05-15 Juri Linkov <juri@jurta.org>
689 * isearch.el (isearch-char-by-name): Rename from
690 `isearch-insert-char-by-name'. Doc fix.
691 (isearch-forward): Mention `isearch-char-by-name' in
692 the docstring. (Bug#13348)
694 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
695 `exit-minibuffer' instead of
696 `isearch-nonincremental-exit-minibuffer'.
697 (isearch-edit-string): Remove mention of
698 `isearch-nonincremental-exit-minibuffer' from docstring.
699 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
700 (isearch-forward-exit-minibuffer)
701 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
703 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
705 * loadup.el: Just use unversioned DOC.
707 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
708 literals as extending to EOB.
709 (nxml-last-fontify-end): Remove unused variable.
710 (nxml-after-change1): Use with-silent-modifications.
711 (nxml-extend-after-change-region): Simplify.
712 (nxml-extend-after-change-region1): Remove function.
713 (nxml-after-change1): Don't adjust for dependent regions.
714 (nxml-fontify-matcher): Simplify.
715 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
716 (xmltok-add-dependent): Remove function.
717 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
718 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
719 (xmltok-scan-prolog-after-processing-instruction-open): Treat
720 unclosed <[[, <?, comment, and other literals as extending to EOB.
721 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
722 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
724 (rng-do-some-validation-1): Don't mark dependent regions.
725 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
726 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
727 (nxml-clear-dependent-regions): Remove functions.
728 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
729 (nxml-ensure-scan-up-to-date):
730 Don't clear&mark dependent regions.
732 2013-05-15 Leo Liu <sdl.web@gmail.com>
734 * progmodes/octave.el (octave-goto-function-definition):
735 Improve and fix callers.
737 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
739 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
740 the setter (bug#14387).
742 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
743 surrounding group (bug#14402).
745 2013-05-14 Juri Linkov <juri@jurta.org>
747 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
750 2013-05-14 Glenn Morris <rgm@gnu.org>
752 * progmodes/f90.el (f90-imenu-generic-expression):
753 Fix typo in 2013-05-08 change. (Bug#14402)
755 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
757 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
758 Remove signals for which replies are never received.
760 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
762 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
763 (gdb-handler-alist, gdb-handler-number): Remove variables.
764 (gdb-handler-list): New variable.
765 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
766 (gdb-pending-handler-p, gdb-handle-reply)
767 (gdb-remove-all-pending-triggers): New functions.
768 (gdb-discard-unordered-replies): New defcustom.
769 (gdb-handler): New defstruct.
770 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
771 instead of gdb-pending-triggers. Update docstring.
772 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
773 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
774 (gdb-var-update-handler, def-gdb-auto-update-trigger)
775 (def-gdb-auto-update-handler, gdb-get-changed-registers)
776 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
777 (gdb-frame-handler): Pending triggers are now automatically managed.
778 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
780 (gdb-input): Automatically handles pending triggers. Update docstring.
781 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
782 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
784 (gdb-done-or-error): Now use gdb-handle-reply.
786 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
788 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
791 2013-05-14 Glenn Morris <rgm@gnu.org>
793 * subr.el (user-emacs-directory-warning): New option.
794 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
796 2013-05-14 Leo Liu <sdl.web@gmail.com>
798 * progmodes/octave.el (octave-font-lock-keywords): Fix error
800 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
801 (octave-font-lock-texinfo-comment): Fix invalid search bound
802 error: wrong side of point.
804 2013-05-14 Glenn Morris <rgm@gnu.org>
806 * progmodes/flymake.el (flymake-xml-program): New option.
807 (flymake-xml-init): Use it.
809 * term/xterm.el: Provide a feature.
811 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
813 2013-05-13 Glenn Morris <rgm@gnu.org>
815 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
816 Add compat aliases as a hack workaround. (Bug#14384)
818 2013-05-13 Leo Liu <sdl.web@gmail.com>
820 * progmodes/octave.el (octave-indent-comment): Fix indentation for
822 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
824 (octave-comment-start-skip): Include %!.
825 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
827 2013-05-12 Leo Liu <sdl.web@gmail.com>
829 * progmodes/octave.el (inferior-octave-startup): Store the value
830 of __octave_srcdir__ for octave-source-directories.
831 (inferior-octave-check-process): New function refactored out of
832 inferior-octave-send-list-and-digest.
833 (octave-source-directories)
834 (octave-find-definition-filename-function): New variables.
835 (octave-source-directories)
836 (octave-find-definition-default-filename): New functions.
837 (octave-find-definition): Improve to find functions implemented in C++.
839 2013-05-12 Glenn Morris <rgm@gnu.org>
841 * calendar/diary-lib.el (diary-outlook-format-1):
842 Don't include dayname in the output. (Bug#14349)
844 2013-05-11 Glenn Morris <rgm@gnu.org>
846 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
848 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
849 Treat cc-provide like provide.
851 2013-05-11 Kevin Ryde <user42@zip.com.au>
853 * cus-dep.el (custom-make-dependencies):
854 Use generated-autoload-load-name for the sake of files such
855 such cedet/semantic/bovine/c.el, where the base file name
856 is not in load-path. (Bug#5277)
858 2013-05-11 Glenn Morris <rgm@gnu.org>
860 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
863 2013-05-11 Leo Liu <sdl.web@gmail.com>
865 * progmodes/octave.el (octave-indent-comment): Improve.
866 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
867 (octave-eldoc-function-signatures, octave-eldoc-function):
869 (octave-mode, inferior-octave-mode): Add eldoc support.
871 2013-05-11 Richard Stallman <rms@gnu.org>
873 * epa.el (epa-decrypt-file): Take output file name as argument
874 and read it using `interactive'.
876 2013-05-11 Leo Liu <sdl.web@gmail.com>
878 * progmodes/octave.el (octave-beginning-of-line)
879 (octave-end-of-line): Check before using up-list because it jumps
880 out of more syntactic contructs since moving to smie.
881 (octave-indent-comment): New function.
882 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
883 (octave-begin-keywords, octave-end-keywords)
884 (octave-reserved-words, octave-smie-bnf-table)
885 (octave-smie-rules): Add new keywords from Octave 3.6.4.
887 2013-05-11 Glenn Morris <rgm@gnu.org>
889 * faces.el (internal-face-x-get-resource):
890 * frame.el (ns-display-monitor-attributes-list):
891 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
893 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
895 * calc/calc-menu.el: Make it loadable in isolation.
897 * net/eudcb-bbdb.el: Make it loadable without bbdb.
898 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
899 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
900 (eudc-bbdb-query-internal): Require 'bbdb.
902 * lpr.el (lpr-headers-switches):
903 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
905 * progmodes/sql.el (sql-login-params): Fix and improve :type.
907 * emulation/edt-mapper.el: In batch mode, error rather than hang.
909 * term.el (term-set-escape-char): Make it idempotent.
911 2013-05-10 Leo Liu <sdl.web@gmail.com>
913 * progmodes/octave.el (inferior-octave-completion-table):
914 No longer a function and all uses changed. Use cache to speed up
915 completion due to bug#11906.
916 (octave-beginning-of-defun): Re-write to be more general.
918 2013-05-10 Glenn Morris <rgm@gnu.org>
920 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
922 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
924 * comint.el (comint-redirect-send-command-to-process): Use :around
925 rather than :override for comint-redirect-filter.
926 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
927 Call it instead of comint-redirect-original-filter-function (which
928 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
930 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
932 * frame.el (display-monitor-attributes-list): Add NS case.
933 (ns-display-monitor-attributes-list): Declare.
935 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
937 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
939 2013-05-09 Glenn Morris <rgm@gnu.org>
941 * international/fontset.el (vertical-centering-font-regexp):
944 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
946 * bookmark.el (bookmark-search-delay):
947 * cus-start.el (vertical-centering-font-regexp):
948 * ps-mule.el (ps-mule-font-info-database-default):
949 * ps-print.el (ps-default-fg, ps-default-bg):
950 * type-break.el (type-break-good-break-interval):
951 * whitespace.el (whitespace-indentation-regexp)
952 (whitespace-space-after-tab-regexp):
953 * emacs-lisp/testcover.el (testcover-1value-functions)
954 (testcover-noreturn-functions, testcover-progn-functions)
955 (testcover-prog1-functions):
956 * emulation/viper-init.el (viper-emacs-state-cursor-color):
957 * eshell/em-glob.el (eshell-glob-translate-alist):
958 * play/tetris.el (tetris-tty-colors):
959 * progmodes/cpp.el (cpp-face-default-list):
960 * progmodes/flymake.el (flymake-allowed-file-name-masks):
961 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
962 (idlwave-help-browser-generic-args):
963 * progmodes/make-mode.el (makefile-special-targets-list):
964 * progmodes/python.el (python-shell-virtualenv-path):
965 * progmodes/verilog-mode.el (verilog-active-low-regexp)
966 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
967 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
968 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
969 * textmodes/reftex-vars.el (reftex-format-label-function):
970 * textmodes/remember.el (remember-diary-file): Fix custom types.
972 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
975 2013-05-09 Leo Liu <sdl.web@gmail.com>
977 * progmodes/octave.el (inferior-octave-completion-at-point):
978 Restore file completion. (Bug#14300)
979 (inferior-octave-startup): Fix incorrect highlighting for the
982 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
984 * progmodes/ruby-mode.el: First cut at SMIE support.
985 (ruby-use-smie): New var.
986 (ruby-smie-grammar): New constant.
987 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
988 (ruby-smie--forward-token, ruby-smie--backward-token)
989 (ruby-smie-rules): New functions.
990 (ruby-mode-variables): Setup SMIE if applicable.
992 2013-05-08 Eli Zaretskii <eliz@gnu.org>
994 * simple.el (line-move-visual): Signal beginning/end of buffer
995 only if vertical-motion moved less than it was requested. Avoids
996 silly incorrect error messages when there are display strings with
997 multiple newlines at EOL.
999 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1001 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1002 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1003 (prolog-char-quote-workaround):
1004 * progmodes/cperl-mode.el (cperl-under-as-char):
1005 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1007 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1009 (vhdl-mode-syntax-table-init): Remove.
1011 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1014 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1016 (ld-script-font-lock-keywords):
1017 Change regexps to use things like \_< and \_>.
1019 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1020 Change all regexps to use things like \_< and \_>.
1022 * progmodes/autoconf.el (autoconf-definition-regexp)
1023 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1024 Handle a _ with symbol syntax.
1025 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1027 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1028 Consolidate declaration.
1029 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1031 (ada-create-syntax-table): Remove.
1032 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1033 already has the right syntax nowadays.
1034 (ada-goto-next-word): Don't change the syntax of "_".
1036 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1039 2013-05-08 Sam Steingold <sds@gnu.org>
1041 * thingatpt.el (thing-at-point): Accept optional second argument
1042 NO-PROPERTIES to strip the text properties from the return value.
1043 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1044 to `thing-at-point' instead of stripping the properties ourselves.
1045 Also, when `thing-at-point' fails to find a url, prepend "http://"
1046 to the filename at point on the assumption that the user is
1047 pointing at something like gnu.org/gnu.
1049 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1051 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1052 * faces.el (crm-separator):
1053 Silence byte-compiler.
1055 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1056 (tool-bar-map): Remove unneeded defvars.
1058 2013-05-08 Leo Liu <sdl.web@gmail.com>
1060 Re-work a fix for bug#10994 based on Le Wang's patch.
1061 * ido.el (ido-remove-consecutive-dups): New helper.
1062 (ido-completing-read): Use it.
1063 (ido-chop): Revert fix for bug#10994.
1065 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1067 * cus-edit.el (custom-save-variables):
1068 Pretty-print long values. (Bug#14187)
1070 2013-05-08 Glenn Morris <rgm@gnu.org>
1072 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1073 (m4-mode-syntax-table): Init in the defvar.
1074 (m4-mode-abbrev-table): Let define-derived-mode define it.
1076 2013-05-08 Tom Tromey <tromey@redhat.com>
1078 * progmodes/m4-mode.el (m4-mode-syntax-table):
1079 Do not treat "_" as word constituent. (Bug#14167)
1081 2013-05-07 Glenn Morris <rgm@gnu.org>
1083 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1084 Remove explicit eshell-isearch-cancel-map.
1086 * progmodes/f90.el (f90-smart-end-names): New option.
1087 (f90-smart-end): Doc fix.
1088 (f90-end-block-optional-name): New constant.
1089 (f90-block-match): Respect f90-smart-end-names.
1091 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1093 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1094 about implicit semi-colons (bug#14218).
1096 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1098 * frame.el (display-monitor-attributes-list)
1099 (frame-monitor-attributes): New functions.
1101 2013-05-06 Leo Liu <sdl.web@gmail.com>
1103 * progmodes/octave.el (octave-syntax-propertize-function): Change
1104 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1105 (octave-font-lock-keywords): Use octave-operator-regexp.
1106 (octave-completion-at-point): Rename from
1107 octave-completion-at-point-function.
1108 (inferior-octave-directory-tracker): Robustify.
1109 (octave-text-functions): Remove and fix its uses. No such things
1112 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * emacs-lisp/trace.el (trace--display-buffer): New function.
1115 (trace-make-advice): Use it.
1117 2013-05-06 Juri Linkov <juri@jurta.org>
1119 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1120 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1122 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1123 in the help string. (Bug#12985)
1125 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1127 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1129 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * progmodes/perl-mode.el: Add support for here documents.
1132 (perl-syntax-propertize-function): Match here-doc markers.
1133 (perl-syntax-propertize-special-constructs): Find their end.
1134 (perl-imenu-generic-expression): Use [:alnum:].
1136 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1137 (advice--add-function): Refresh the advice if already present
1140 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1142 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1144 2013-05-06 Glenn Morris <rgm@gnu.org>
1146 * w32-fns.el (w32-charset-info-alist): Declare.
1148 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1149 of its defcustom properties.
1150 (eshell-cmpl-initialize): No need to load pcomplete.
1152 * generic-x.el: No need to require comint when compiling.
1154 * net/eudc-export.el: Make it loadable without bbdb.
1155 (top-level): Use require rather than load-library.
1156 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1157 (eudc-batch-export-records-to-bbdb)
1158 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1161 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1164 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1165 some tweaks, instead.
1167 2013-05-05 Leo Liu <sdl.web@gmail.com>
1169 * progmodes/octave.el (octave-font-lock-keywords)
1170 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1171 (inferior-octave-send-list-and-digest): Improve error message.
1172 (octave-mode, inferior-octave-mode): Use setq-local.
1173 (octave-help): Set info-lookup-mode.
1175 2013-05-05 Richard Stallman <rms@gnu.org>
1177 * vc/compare-w.el (compare-windows-whitespace):
1178 Treat no-break space as whitespace.
1180 * mail/rmailsum.el (rmail-summary-rmail-update):
1181 Detect empty summary and don't change selected message.
1182 (rmail-summary-goto-msg): Likewise.
1184 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1185 Doc fixes, rename args.
1187 2013-05-05 Alan Mackenzie <acm@muc.de>
1189 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1191 2013-05-05 Juri Linkov <juri@jurta.org>
1193 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1194 to not add the length of the summary segment to the return value.
1197 2013-05-05 Leo Liu <sdl.web@gmail.com>
1199 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1200 (inferior-octave-output-filter): Remove.
1201 (octave-send-region, inferior-octave-startup): Fix callers.
1202 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1203 (octave-binary-file-extensions): New user variable.
1204 (octave-find-definition): Confirm if opening binary files.
1205 (octave-help-file): Use octave-find-definition to get the binary
1207 (octave-help): Adjust for octave-help-file change.
1209 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1211 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1212 Merge the two entries that handle function definitions.
1213 (pascal--syntax-propertize): New const.
1214 (pascal-mode): Use it. Use setq-local.
1216 2013-05-04 Glenn Morris <rgm@gnu.org>
1218 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1219 (diary-from-outlook): Respect diary-from-outlook-function.
1221 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1223 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1224 Move the declaration from C.
1225 (read-minibuffer, eval-minibuffer): Move from C.
1226 (completion-setup-function): Avoid minibuffer-completion-contents.
1228 2013-05-03 Leo Liu <sdl.web@gmail.com>
1230 * progmodes/octave.el (octave-font-lock-keywords): Do not
1231 dehighlight 'end' in comments or strings.
1232 (octave-completing-read, octave-goto-function-definition):
1234 (octave-help-buffer): New user variable.
1235 (octave-help-file, octave-help-function): New button types.
1236 (octave-help): New command and bind it to C-h ;.
1237 (octave-find-definition): New command and bind it to M-.
1238 (user-error): Alias to error if not defined.
1240 2013-05-02 Leo Liu <sdl.web@gmail.com>
1242 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1244 (octave-font-lock-keywords): Include [ and {.
1246 2013-05-02 Leo Liu <sdl.web@gmail.com>
1248 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1249 (inferior-octave): Remove calling comint-mode and return the buffer.
1250 (inferior-octave-startup): Cosmetic changes.
1252 2013-05-02 Leo Liu <sdl.web@gmail.com>
1254 * progmodes/octave.el (octave-syntax-propertize-function):
1255 Include the case when ' is at line beginning. (Bug#14336)
1257 2013-05-02 Glenn Morris <rgm@gnu.org>
1259 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1260 * desktop.el (vc-dir-mode): Just autoload it here.
1262 2013-05-02 Alan Mackenzie <acm@muc.de>
1264 Eliminate variable c-standard-font-lock-fontify-region-function.
1265 * progmodes/cc-mode.el
1266 (c-standard-font-lock-fontify-region-function): Remove.
1267 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1269 2013-05-01 Leo Liu <sdl.web@gmail.com>
1271 * progmodes/octave.el: Compatible with older emacs-24 releases.
1272 (inferior-octave-has-built-in-variables): Remove. Built-in
1273 variables were removed from Octave in 2007.
1274 (inferior-octave-startup): Fix uses.
1275 (comint-line-beginning-position): Remove compatibility code for
1278 2013-05-01 Juri Linkov <juri@jurta.org>
1280 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1282 2013-05-01 Juri Linkov <juri@jurta.org>
1284 * comint.el (comint-previous-matching-input): Don't print message
1285 "History item: %d" when `isearch-mode' is active.
1286 (comint-history-isearch-message): Print message "History item: %d"
1287 when `comint-input-ring-index' is not empty and this function is
1288 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1290 2013-05-01 Leo Liu <sdl.web@gmail.com>
1292 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1293 definitions. Use completion-at-point to insert keywords.
1294 (octave-abbrev-start): Remove.
1295 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1297 2013-04-30 Leo Liu <sdl.web@gmail.com>
1299 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1302 2013-04-30 Alan Mackenzie <acm@muc.de>
1304 Handle arbitrarily long C++ member initialisation lists.
1305 * progmodes/cc-engine.el (c-back-over-member-initializers):
1307 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1308 (most) member init lists.
1310 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1312 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1315 2013-04-30 Leo Liu <sdl.web@gmail.com>
1317 * progmodes/octave.el (octave-variables): Remove. No builtin
1318 variables any more. All converted to functions.
1319 (octave-font-lock-keywords, octave-completion-at-point-function):
1321 (octave-font-lock-texinfo-comment): New user variable.
1322 (octave-texinfo-font-lock-keywords): New variable for texinfo
1324 (octave-function-comment-block): New face.
1325 (octave-font-lock-texinfo-comment): New function.
1326 (octave-mode): Font lock texinfo comment block.
1328 2013-04-29 Leo Liu <sdl.web@gmail.com>
1330 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1331 indexing expression.
1332 (octave-continuation-string): Do not use \.
1333 (inferior-octave-complete-impossible): Remove.
1334 (inferior-octave-completion-table)
1335 (inferior-octave-completion-at-point): Remove its uses.
1336 (inferior-octave-startup): completion_matches was introduced to
1337 Octave in 1996 so safe to assume it.
1338 (octave-function-file-comment): Improve to follow how Octave does it.
1339 (octave-update-function-file-comment): Tweak.
1341 2013-04-29 Leo Liu <sdl.web@gmail.com>
1343 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1344 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1345 (octave-function-file-comment): Fix typo.
1346 (octave-sync-function-file-names): Use read-char-choice.
1348 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1350 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1351 to t for the less important warnings.
1353 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1355 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1357 2013-04-27 Glenn Morris <rgm@gnu.org>
1359 * vc/log-view.el (log-view-current-entry):
1360 Treat "---" separator lines as part of the following rev. (Bug#14169)
1362 2013-04-27 Juri Linkov <juri@jurta.org>
1364 * subr.el (read-number): Doc fix about using it by interactive
1365 code letter `n'. (Bug#14254)
1367 2013-04-27 Juri Linkov <juri@jurta.org>
1369 * desktop.el (desktop-auto-save-timeout): New option.
1370 (desktop-file-checksum): New variable.
1371 (desktop-save): Add optional arg `auto-save' and don't auto-save
1373 (desktop-auto-save-timer): New variable.
1374 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1375 (after-init-hook): Call `desktop-auto-save-set-timer'.
1376 Suggested by Reuben Thomas <rrt@sc3d.org> in
1377 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1379 2013-04-27 Leo Liu <sdl.web@gmail.com>
1381 * progmodes/octave.el (octave-function-file-p)
1382 (octave-skip-comment-forward, octave-function-file-comment)
1383 (octave-update-function-file-comment): New functions.
1384 (octave-mode-map): Bind C-c ; to
1385 octave-update-function-file-comment.
1386 (octave-mode-menu): Add octave-update-function-file-comment.
1387 (octave-mode, inferior-octave-mode): Fix doc-string.
1388 (octave-insert-defun): Conform to Octave's coding convention.
1391 * files.el (basic-save-buffer): Don't let errors in
1392 before-save-hook prevent saving buffer.
1394 2013-04-20 Roland Winkler <winkler@gnu.org>
1396 * faces.el (read-face-name): Use completing-read if arg multiple
1399 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1401 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1402 displayed, move point to after the totals line.
1403 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1406 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1409 Add current dir to the load-path.
1410 (package-generate-autoloads): Don't rely on
1411 autoload-ensure-default-file.
1413 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1415 * textmodes/remember.el (remember-store-in-files): Document that
1416 the file name format is passed to `format-time-string'.
1418 2013-04-26 Leo Liu <sdl.web@gmail.com>
1420 * progmodes/octave.el (octave-sync-function-file-names): New function.
1421 (octave-mode): Use it in before-save-hook.
1423 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1428 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1429 \n and comment, even if it's not an implicit ; (bug#14218).
1431 2013-04-26 Glenn Morris <rgm@gnu.org>
1433 * subr.el (read-number): Once more use `read' rather than
1434 `string-to-number', to trap non-numeric input. (Bug#14254)
1436 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1438 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1439 Use `syntax-multiline' text property consistently instead of
1440 `font-lock-multiline'. (bug#14237).
1442 2013-04-26 Glenn Morris <rgm@gnu.org>
1444 * emacs-lisp/shadow.el (list-load-path-shadows):
1445 No longer necessary to check for duplicate simple.el, since
1446 2012-07-07 change to init_lread to not include installation lisp
1447 directories in load-path when running uninstalled. (Bug#14270)
1449 2013-04-26 Leo Liu <sdl.web@gmail.com>
1451 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1452 (octave-mode, inferior-octave-mode): Use setq-local.
1453 (octave-not-in-string-or-comment-p): Rename to
1454 octave-in-string-or-comment-p.
1455 (octave-in-comment-p, octave-in-string-p)
1456 (octave-in-string-or-comment-p): Replace defsubst with defun.
1458 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1460 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1462 2013-04-25 Bastien Guerry <bzg@gnu.org>
1464 * textmodes/remember.el (remember-data-directory)
1465 (remember-directory-file-name-format): Fix custom types.
1467 2013-04-25 Leo Liu <sdl.web@gmail.com>
1469 * progmodes/octave.el (octave-completion-at-point-function):
1470 Make use of inferior octave process.
1471 (octave-initialize-completions): Remove.
1472 (inferior-octave-completion-table): New function.
1473 (inferior-octave-completion-at-point): Use it.
1474 (octave-completion-alist): Remove.
1476 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1478 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1479 (opascal-mode-syntax-table): New var.
1480 (opascal-literal-kind, opascal-is-literal-end)
1481 (opascal-literal-token-at): Rewrite.
1482 (opascal--literal-start-re, opascal-font-lock-keywords)
1483 (opascal--syntax-propertize): New constants.
1484 (opascal-font-lock-defaults): Adjust.
1485 (opascal-mode): Use them. Set comment-<foo> variables as well.
1486 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1487 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1488 (delphi-other-face, opascal-other-face): Remove face variables.
1489 (opascal-save-state): Remove macro.
1490 (opascal-fontifying-progress-step): Remove constant.
1491 (opascal--ignore-changes): Remove var.
1492 (opascal-set-token-property, opascal-parse-next-literal)
1493 (opascal-is-stable-literal, opascal-complete-literal)
1494 (opascal-is-literal-start, opascal-face-of)
1495 (opascal-parse-region, opascal-parse-region-until-stable)
1496 (opascal-fontify-region, opascal-after-change)
1497 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1498 (opascal-debug-parse-region, opascal-debug-parse-window)
1499 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1500 (opascal-debug-fontify-buffer): Remove.
1501 (opascal-debug-mode-map): Adjust accordingly.
1503 2013-04-25 Leo Liu <sdl.web@gmail.com>
1505 Merge octave-mod.el and octave-inf.el into octave.el with some
1507 * progmodes/octave.el: New file renamed from octave-mod.el.
1508 * progmodes/octave-inf.el: Merged into octave.el.
1509 * progmodes/octave-mod.el: Renamed to octave.el.
1511 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1513 * textmodes/reftex-vars.el
1514 (reftex-label-ignored-macros-and-environments): New defcustom.
1516 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1518 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1520 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1521 (smie-indent-keyword): Improve the check to ensure that the next
1522 comment is really on the same line.
1523 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1525 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1526 semi-colons if the line is not otherwise empty (bug#14218).
1528 2013-04-25 Glenn Morris <rgm@gnu.org>
1530 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1532 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1534 * progmodes/opascal.el (opascal-set-token-property): Rename from
1535 opascal-set-text-properties and only set `token' (bug#14134).
1536 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1537 (opascal-literal-text-properties): Remove.
1538 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1541 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1543 * textmodes/remember.el (remember-handler-functions): Add an
1544 option for a new handler `remember-store-in-files'.
1545 (remember-data-directory, remember-directory-file-name-format):
1547 (remember-store-in-files): New function to store remember notes
1548 as separate files within a directory.
1550 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1552 * progmodes/compile.el (compilation-next-error-function):
1553 Pass "formats" to compilation-find-file (bug#11777).
1555 2013-04-24 Glenn Morris <rgm@gnu.org>
1557 * vc/vc-bzr.el (vc-bzr-print-log):
1558 * vc/vc-hg.el (vc-hg-print-log):
1559 * vc/vc-svn.el (vc-svn-print-log):
1560 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1562 * vc/vc-bzr.el (vc-bzr-print-log):
1563 * vc/vc-cvs.el (vc-cvs-print-log):
1564 * vc/vc-git.el (vc-git-print-log):
1565 * vc/vc-hg.el (vc-hg-print-log):
1566 * vc/vc-mtn.el (vc-mtn-print-log):
1567 * vc/vc-rcs.el (vc-rcs-print-log):
1568 * vc/vc-sccs.el (vc-sccs-print-log):
1569 * vc/vc-svn.el (vc-svn-print-log):
1570 * vc/vc.el (vc-print-log-internal): Doc fixes.
1572 2013-04-23 Glenn Morris <rgm@gnu.org>
1574 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1575 Remove venerable code attempting to avoid substitute-command-keys.
1577 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1579 * textmodes/reftex-vars.el (reftex-label-regexps):
1580 Call `reftex-compile-variables' after changes to this variable.
1582 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1585 Use lexical-binding.
1586 (jit-lock-force-redisplay): Use markers, check buffer's continued
1587 existence and beware narrowed buffers.
1588 (jit-lock-fontify-now): Adjust call accordingly.
1590 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1592 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1593 to avoid misleading the user.
1595 2013-04-22 Leo Liu <sdl.web@gmail.com>
1597 * info-look.el: Prefer latex2e.info. (Bug#14240)
1599 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1601 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1603 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1604 * net/tramp.el (tramp-call-process): ... here
1605 (tramp-set-completion-function, tramp-parse-putty):
1606 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1607 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1608 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1609 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1610 (tramp-call-local-coding-command): Use `tramp-call-process'
1611 instead of `tramp-compat-call-process'.
1613 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1614 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1615 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1616 (tramp-find-inline-compress): Improve traces.
1617 (tramp-maybe-send-script): Check for Perl binary.
1618 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1620 2013-04-22 Daiki Ueno <ueno@gnu.org>
1622 * epg.el (epg-context-pinentry-mode): New function.
1623 (epg-context-set-pinentry-mode): New function.
1624 (epg--start): Pass --pinentry-mode option to gpg command.
1626 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1628 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1629 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1630 `completion-at-point'. (Bug#13774)
1632 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1633 default key binding for `describe-distribution' has been moved to
1634 `C-h C-o'. (Bug#13970)
1636 2013-04-21 Glenn Morris <rgm@gnu.org>
1638 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1640 (vc-print-log): Clarify interactive prompt.
1642 2013-04-20 Glenn Morris <rgm@gnu.org>
1644 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1645 No longer include timestamp etc information.
1647 2013-04-20 Roland Winkler <winkler@gnu.org>
1649 * faces.el (read-face-name): Bug fix, return just one face if arg
1650 multiple is nil. (Bug#14209)
1652 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1654 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1655 (remove-function): Autoload.
1657 * comint.el (comint-redirect-original-filter-function): Remove.
1658 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1659 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1660 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1661 * progmodes/prolog.el (prolog-consult-compile):
1662 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1663 Use add/remove-function instead.
1664 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1665 (gud-tooltip-process-output, gud-tooltip-tips):
1666 Use add/remove-function instead.
1667 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1668 (scheme-interaction-mode, exit-scheme-interaction-mode):
1669 Use add/remove-function instead.
1671 * vc/vc-dispatcher.el: Use lexical-binding.
1672 (vc--process-sentinel): Rename from vc-process-sentinel.
1673 Change last arg to be the code to run. Don't use vc-previous-sentinel
1674 and vc-sentinel-commands any more.
1675 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1676 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1678 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1680 * progmodes/sh-script.el (sh-imenu-generic-expression):
1681 Handle function names with a single character. (Bug#14111)
1683 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1685 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1686 for subroutines defined in an eval (bug#14182).
1688 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1690 * bookmark.el (bookmark-completing-read): Improve handling of empty
1693 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1695 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1697 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1699 New faster Imenu implementation (bug#14058).
1700 * progmodes/python.el:
1701 (python-imenu-prev-index-position):
1702 (python-imenu-format-item-label-function)
1703 (python-imenu-format-parent-item-label-function)
1704 (python-imenu-format-parent-item-jump-label-function):
1706 (python-imenu-format-item-label)
1707 (python-imenu-format-parent-item-label)
1708 (python-imenu-format-parent-item-jump-label)
1709 (python-imenu--put-parent, python-imenu--build-tree)
1710 (python-imenu-create-index, python-imenu-create-flat-index)
1711 (python-util-popn): New functions.
1712 (python-mode): Set imenu-create-index-function to
1713 python-imenu-create-index.
1715 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * winner.el (winner-active-region): Use region-active-p, activate-mark
1718 and deactivate-mark (bug#14225).
1720 * simple.el (deactivate-mark): Don't inline it.
1722 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1724 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1726 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1728 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1729 file extensions from the archive-mode entry in order to prefer
1730 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1732 2013-04-18 Leo Liu <sdl.web@gmail.com>
1734 * bindings.el (help-event-list): Add ?\?.
1736 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * subr.el (with-wrapper-hook): Declare obsolete.
1739 * simple.el (filter-buffer-substring-function): New hook.
1740 (filter-buffer-substring): Use it.
1741 (filter-buffer-substring-functions): Mark obsolete.
1742 * minibuffer.el (completion-in-region-function): New hook.
1743 (completion-in-region): Use it.
1744 (completion-in-region-functions): Mark obsolete.
1745 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1746 * abbrev.el (abbrev-expand-function): New hook.
1747 (expand-abbrev): Use it.
1748 (abbrev-expand-functions): Mark obsolete.
1749 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1752 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1754 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1755 and do not care about match data.
1757 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1760 completion tables when completing error conditions and
1761 `declare' arguments.
1762 (lisp-complete-symbol, field-complete): Mark as obsolete.
1763 (check-parens): Unmatched parens are user errors.
1764 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1766 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1768 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1769 command changed buffer (ie. `flyspell-pre-buffer' is not current
1770 buffer), which prevents making decisions based on invalid value of
1771 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1772 cause an error when `flyspell-pre-point' was nil after switching
1774 (flyspell-post-command-hook): No longer needs to change buffers when
1775 checking pre-word. While at it remove unnecessary progn.
1777 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1779 * textmodes/ispell.el (ispell-add-per-file-word-list):
1780 Fix `flyspell-correct-word-before-point' error when accepting
1781 words and `coment-padding' is an integer by using
1782 `comment-normalize-vars' (Bug #14214).
1784 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1786 New defun movement commands.
1787 * progmodes/python.el (python-nav--syntactically)
1788 (python-nav--forward-defun, python-nav-backward-defun)
1789 (python-nav-forward-defun): New functions.
1791 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1793 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1794 (python-syntax-context): Use named compiler-macro for backwards
1795 compatibility with Emacs 24.x.
1797 2013-04-17 Leo Liu <sdl.web@gmail.com>
1799 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1800 octave-hide-process-buffer.
1802 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1804 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1807 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1809 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1810 Fix adjustment of offset when receiving incomplete responses from GDB
1813 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1815 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1816 python-mode-abbrev-table.
1817 (python-skeleton-define): Adjust accordingly.
1818 (python-mode-abbrev-table): New table that inherits from it so that
1819 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1821 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1822 (abbrev-symbol): Use it.
1823 (abbrev--before-point): Use it since we already handle inheritance.
1825 2013-04-16 Leo Liu <sdl.web@gmail.com>
1827 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1828 binding to info-lookup-symbol.
1830 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1832 * minibuffer.el (completion--twq-all):
1833 * term/ns-win.el (ns-initialize-window-system):
1834 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1836 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1838 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1841 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1843 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1845 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1846 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1848 (ruby-end-of-defun): Remove the unused arg, change the docstring
1849 to reflect that this function is only used as the value of
1850 `end-of-defun-function'.
1851 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1852 to reflect an earlier change that beginning/end-of-defun functions
1853 jump between methods in a class definition, as well as top-level
1856 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * minibuffer.el (minibuffer-complete): Don't just scroll
1859 a *Completions* that's been iconified.
1860 (minibuffer-force-complete): Make sure repetitions do cycle when going
1861 through completion-in-region -> minibuffer-complete.
1863 2013-04-15 Alan Mackenzie <acm@muc.de>
1865 Correct the placement of c-cpp-delimiters when there're #s not at
1868 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1869 place a submatch around the #.
1870 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1871 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1874 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1877 (advice--member-p): New arg `name'.
1878 (advice--add-function, advice-member-p): Use it (bug#14202).
1880 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1882 Reformulate java imenu-generic-expression.
1883 The old expression contained ill formed regexps.
1885 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1886 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1887 (cc-imenu-java-method-arg-regexp): New defconsts.
1888 (cc-imenu-java-build-type-args-regex): New defun.
1889 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1890 handling of spaces in the regexp.
1892 2013-03-15 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
1894 * textmodes/ispell.el (ispell-command-loop): Remove
1895 flyspell highlight of a word when ispell accepts it (bug #14178).
1897 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1899 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1900 uses code from the previous `ange-ftp-run-real-handler'.
1901 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1902 only in case that function exist. This is needed for proper
1905 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1907 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1909 * textmodes/reftex.el (reftex-compile-variables): Use it.
1911 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * files.el (normal-mode): Only use default major-mode if no other mode
1916 * emacs-lisp/trace.el (trace-values): New function.
1918 * files.el: Allow : in local variables (bug#14089).
1919 (hack-local-variable-regexp): New var.
1920 (hack-local-variables-prop-line, hack-local-variables): Use it.
1922 2013-04-13 Roland Winkler <winkler@gnu.org>
1924 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1925 data before it gets modified by bibtex-beginning-of-entry.
1927 2013-04-13 Roland Winkler <winkler@gnu.org>
1929 * textmodes/bibtex.el (bibtex-url): Doc fix.
1931 2013-04-13 Roland Winkler <winkler@gnu.org>
1933 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1934 does not visit a BibTeX file, exclude it from the list of buffers
1935 returned by bibtex-initialize.
1937 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1939 * window.el (split-window): Remove interactive form, since as a
1940 command this function is a special case of split-window-below.
1943 2013-04-12 Roland Winkler <winkler@gnu.org>
1945 * faces.el (read-face-name): Do not override value of arg default.
1946 Allow single faces and strings as default values. Remove those
1947 elements from return value that are not faces.
1948 (describe-face): Simplify.
1949 (face-at-point): New optional args thing and multiple so that this
1950 function can provide the same functionality previously provided by
1952 (make-face-bold, make-face-unbold, make-face-italic)
1953 (make-face-unitalic, make-face-bold-italic, invert-face)
1954 (modify-face, read-face-and-attribute): Use face-at-point.
1956 * cus-edit.el (customize-face, customize-face-other-window)
1957 * cus-theme.el (custom-theme-add-face)
1958 * face-remap.el (buffer-face-set)
1959 * facemenu.el (facemenu-set-face): Use face-at-point.
1961 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1963 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1965 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1967 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1968 off leading { and trailing } from field values.
1970 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * emacs-lisp/timer.el (timer--check): New function.
1973 (timer--time, timer-set-function, timer-event-handler): Use it.
1974 (timer-set-idle-time): Simplify.
1975 (timer--activate): CSE.
1976 (timer-event-handler): Give more info in error message.
1977 (internal-timer-start-idle): New function, moved from C.
1979 * mpc.el (mpc-proc): Add `restart' argument.
1980 (mpc-proc-cmd): Use it.
1981 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1982 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1985 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1987 * progmodes/sh-script.el: Implement `sh-mode' own
1988 `add-log-current-defun-function' (bug#14112).
1989 (sh-current-defun-name): New function.
1990 (sh-mode): Use the function.
1992 2013-04-09 Bastien Guerry <bzg@gnu.org>
1994 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1996 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2000 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2003 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2005 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2008 2013-04-07 Leo Liu <sdl.web@gmail.com>
2010 * pcmpl-x.el: New file.
2012 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2014 Do not set x-display-name until X connection is established.
2015 This is needed to prevent from weird situation described at
2016 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2017 * frame.el (make-frame): Set x-display-name after call to
2018 window system initialization function, not before.
2019 * term/x-win.el (x-initialize-window-system): Add optional
2020 display argument and use it.
2021 * term/w32-win.el (w32-initialize-window-system):
2022 * term/ns-win.el (ns-initialize-window-system):
2023 * term/pc-win.el (msdos-initialize-window-system):
2024 Add compatible optional display argument.
2026 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2028 * files.el (normal-backup-enable-predicate): On MS-Windows and
2029 MS-DOS compare truenames of temporary-file-directory and of the
2030 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2031 don't fail comparison by compare-strings. Also, compare file
2032 names case-insensitively on MS-Windows and MS-DOS.
2034 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2037 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2039 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2041 * whitespace.el (whitespace-color-on, whitespace-color-off):
2042 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2044 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2046 * ispell.el (ispell-set-spellchecker-params):
2047 Really set `ispell-args' for all equivs.
2049 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * ido.el (ido-completions): Use extra elements of ido-decorations
2053 (ido-decorations): Update docstring.
2055 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2057 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2058 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2059 nil during initialization, in order not to miss changes since the
2060 file was opened. (Bug#14140)
2062 2013-04-05 Leo Liu <sdl.web@gmail.com>
2064 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2066 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2068 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2070 2013-04-04 Glenn Morris <rgm@gnu.org>
2072 * electric.el (electric-pair-inhibit-predicate): Add :version.
2074 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2076 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2077 when a package is required several times (bug#14082).
2079 2013-04-04 Roland Winkler <winkler@gnu.org>
2081 * faces.el (read-face-name): Behave as promised by the docstring.
2082 Assume that arg default is a list of faces.
2083 (describe-face): Call read-face-name with list of default faces.
2085 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2087 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2088 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2089 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2091 (bookmark-exit-hook-internal): Save even if list is empty.
2093 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2095 * emacs-lisp/package.el (package-pinned-packages): New var.
2096 (package--add-to-archive-contents): Obey it (bug#14118).
2098 2013-04-03 Alan Mackenzie <acm@muc.de>
2100 Handle `parse-partial-sexp' landing inside a comment opener
2101 (Bug#13244). Also adapt to the new values of element 7 of a parse
2104 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2105 parameter `not-in-delimiter'. Handle being inside comment opener.
2106 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2107 character in case we're typing a '*' after a '/'.
2108 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2109 instead by passing the parameter to c-state-pp-to-literal.
2111 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2112 for elt. 7 of a parse state.
2114 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2116 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2117 * international/latin1-disp.el, international/mule-util.el:
2118 * language/cyril-util.el, language/european.el, language/ind-util.el:
2119 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2120 * language/tibetan.el, language/viet-util.el:
2121 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2123 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2125 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2126 (electric-pair-post-self-insert-function): Use it.
2127 (electric-pair-default-inhibit): New function, extracted from
2128 electric-pair-post-self-insert-function.
2130 2013-03-31 Roland Winkler <winkler@gnu.org>
2132 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2134 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2136 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2138 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
2140 Un-indent after "pass" and "return" statements (Bug#13888)
2141 * progmodes/python.el (python-indent-block-enders): New var.
2142 (python-indent-calculate-indentation): Use it.
2144 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2146 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2147 defun. Defining it as defalias could introduce too eager
2148 byte-compiler optimization. (Bug#14030)
2150 2013-03-30 Chong Yidong <cyd@gnu.org>
2152 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2154 2013-03-30 Leo Liu <sdl.web@gmail.com>
2156 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2157 (kmacro-execute-from-register): Pass the keyboard macro to
2158 kmacro-call-macro or repeating won't work correctly.
2160 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2162 * progmodes/subword.el: Back to using `forward-symbol'.
2164 * subr.el (forward-whitespace, forward-symbol)
2165 (forward-same-syntax): Move from thingatpt.el.
2167 2013-03-29 Leo Liu <sdl.web@gmail.com>
2169 * kmacro.el (kmacro-to-register): New command.
2170 (kmacro-execute-from-register): New function.
2171 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2173 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * mpc.el: Use defvar-local and setq-local.
2176 (mpc--proc-connect): Connection failures are not bugs.
2177 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2178 (mpc-volume-map): Bind to the up-events.
2180 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2182 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2183 instead of `forward-symbol'.
2185 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2187 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2188 (edebug--recursive-edit): Use it.
2189 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2190 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2192 2013-03-28 Leo Liu <sdl.web@gmail.com>
2194 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2196 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2198 * facemenu.el (list-colors-callback): New defvar.
2199 (list-colors-redisplay): New function.
2200 (list-colors-display): Install list-colors-redisplay as the
2201 revert-buffer-function. (Bug#14063)
2203 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2206 and suffixes don't overlap (bug#14061).
2208 * case-table.el: Use lexical-binding.
2209 (case-table-get-table): New function.
2210 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2212 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2214 * progmodes/subword.el: Add `superword-mode' to do word motion
2215 over symbol_words (parallels and leverages `subword-mode' which
2216 does word motion inside MixedCaseWords).
2218 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2220 * eshell/em-unix.el: Move su and sudo to...
2221 * eshell/em-tramp.el: ...Eshell tramp module.
2223 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2226 Change return value to be a sexp. Delay `get-buffer' to after
2227 restoring the desktop (bug#13951).
2229 2013-03-26 Leo Liu <sdl.web@gmail.com>
2231 * register.el: Move semantic tag handling back to
2232 cedet/semantic/senator.el. (Bug#14052)
2234 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2237 into the prompt either (bug#13963).
2239 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2241 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2242 part of "(error-foo)".
2244 2013-03-24 Juri Linkov <juri@jurta.org>
2246 * replace.el (list-matching-lines-prefix-face): New defcustom.
2247 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2248 `occur-engine' if `face-differs-from-default-p' returns t.
2249 (occur-engine): Add `,' inside backquote construct to evaluate
2250 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2251 Pass `prefix-face' to the functions `occur-context-lines' and
2252 `occur-engine-add-prefix'.
2253 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2254 `prefix-face' and propertize the prefix with `prefix-face'.
2257 2013-03-24 Leo Liu <sdl.web@gmail.com>
2259 * nxml/rng-valid.el (rng-validate-while-idle)
2260 (rng-validate-quick-while-idle): Guard against deleted buffer.
2263 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2264 is the last entry in kill-buffer-hook.
2266 * files.el (kill-buffer-hook): Doc fix.
2268 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2270 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2273 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2275 2013-03-23 Leo Liu <sdl.web@gmail.com>
2277 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2280 * nxml/rng-valid.el (rng-validate-mode)
2281 (rng-after-change-function, rng-do-some-validation):
2282 * nxml/rng-maint.el (rng-validate-buffer):
2283 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2284 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2285 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2286 (nxml-extend-after-change-region): Use with-silent-modifications.
2288 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2291 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2292 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2293 timer-idle-list. (Bug#13999)
2295 2013-03-23 Juri Linkov <juri@jurta.org>
2297 * info.el (info-index-match): New face.
2298 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2299 main pattern and add text properties with the new face to matches
2300 in index entries relative to the beginning of the index entry.
2303 2013-03-21 Eric Ludlam <zappo@gnu.org>
2305 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2306 Inhibit read only while inserting objects.
2308 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2310 * progmodes/cfengine.el: Update docs to mention
2311 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2312 symbol motion. Remove "_" from the word syntax.
2314 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2316 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2317 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2319 2013-03-20 Juri Linkov <juri@jurta.org>
2321 * info.el (Info-next-reference-or-link)
2322 (Info-prev-reference-or-link): New functions.
2323 (Info-next-reference, Info-prev-reference): Use them.
2324 (Info-try-follow-nearest-node): Handle footnote navigation.
2325 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2327 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2330 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2332 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2334 Suppress unnecessary non-ASCII chatter during build process.
2335 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2336 (batch-skkdic-convert): Suppress most of the chatter.
2337 It's not needed so much now that machines are faster,
2338 and its non-ASCII component was confusing; see Dmitry Gutov in
2339 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2341 2013-03-20 Leo Liu <sdl.web@gmail.com>
2343 * ido.el (ido-chop): Fix bug#10994.
2345 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2347 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2349 (whitespace-color-on, whitespace-color-off):
2350 Use `font-lock-fontify-buffer' (Bug#13817).
2352 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2354 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2355 remapping in mode-line.
2356 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2358 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2360 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2361 value for `whitespace-line' face (Bug#13875).
2362 (whitespace-font-lock-keywords): Change description.
2363 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2364 the constructed keywords instead.
2365 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2367 2013-03-19 Leo Liu <sdl.web@gmail.com>
2369 * progmodes/compile.el (compilation-display-error): New command.
2370 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2373 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2375 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2377 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2379 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2381 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2383 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2385 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2386 * net/tramp-gvfs.el (top):
2387 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2388 (tramp-handle-shell-command): Use it.
2389 (tramp-dissect-file-name): Raise an error when hostname is a
2390 method name, and neither method nor user is specified.
2392 * net/trampver.el: Update release number.
2394 2013-03-18 Leo Liu <sdl.web@gmail.com>
2396 Make sure eldoc can be turned off properly.
2397 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2399 (eldoc-display-message-p): Revert last change.
2400 (eldoc-display-message-no-interference-p)
2401 (eldoc-print-current-symbol-info): Tweak.
2403 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2405 * doc-view.el (doc-view-new-window-function): Check the new window
2406 overlay's display property instead the char property of the
2407 buffer's first char. Use `with-selected-window' instead of
2408 `save-window-excursion' with `select-window'.
2409 (doc-view-document->bitmap): Check the current doc-view overlay's
2410 display property instead the char property of the buffer's first char.
2412 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2414 Automate the build of ja-dic.el (Bug#13984).
2415 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2416 from the input, rather than assume that it's been done for us by the
2417 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2418 the current date into a ja-dic.el comment, as that complicates
2421 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2423 * whitespace.el: Fix double evaluation.
2424 (whitespace-space, whitespace-hspace, whitespace-tab)
2425 (whitespace-newline, whitespace-trailing, whitespace-line)
2426 (whitespace-space-before-tab, whitespace-indentation)
2427 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2429 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2430 (whitespace-color-on): Use a single font-lock-add-keywords call.
2431 Fix double-evaluation of face variables.
2433 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2435 * net/tramp-adb.el (tramp-adb-parse-device-names):
2436 Use `start-process' instead of `call-process'. Otherwise, the
2437 function might be blocked under MS Windows. (Bug#13299)
2439 2013-03-17 Leo Liu <sdl.web@gmail.com>
2441 Extend eldoc to display info in the mode-line. (Bug#13978)
2442 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2443 (eldoc-mode-line-string): New variable.
2444 (eldoc-minibuffer-message): New function.
2445 (eldoc-message-function): New variable.
2446 (eldoc-message): Use it.
2447 (eldoc-display-message-p)
2448 (eldoc-display-message-no-interference-p):
2449 Support eldoc-post-insert-mode.
2451 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2452 (eval-expression): Run it.
2454 2013-03-17 Roland Winkler <winkler@gnu.org>
2456 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2457 strings in the list of return values.
2459 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2461 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2462 radix before checking for HMS forms.
2464 2013-03-16 Leo Liu <sdl.web@gmail.com>
2466 * progmodes/scheme.el: Add indentation and font-locking for λ.
2469 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2471 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2472 token before point (bug#13942).
2474 2013-03-16 Leo Liu <sdl.web@gmail.com>
2476 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2478 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2480 * startup.el (command-line-normalize-file-name): Fix handling of
2481 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2482 <xfq.free@gmail.com> in
2483 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2485 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2487 Sync with Tramp 2.2.7.
2489 * net/trampver.el: Update release number.
2491 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2493 * doc-view.el Fix bug#13887.
2494 (doc-view-insert-image): Don't modify overlay associated to
2495 non-live windows, and implement horizontal centering of image in
2496 case it's smaller than the window.
2497 (doc-view-new-window-function): Force redisplay of new windows on
2500 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2502 * saveplace.el (save-place-alist-to-file): Don't sort
2503 `save-place-alist', just pretty-print it (bug#13882).
2505 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2507 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2508 whether `default-file-name-coding-system' is bound. It isn't in
2511 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2514 backquotes for `obsolete' (bug#13929).
2516 * international/mule.el (find-auto-coding): Include file name in
2517 obsolescence warning (bug#13922).
2519 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2521 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2522 for CFEngine 3-specific indentation.
2523 (cfengine3-indent-line): Use it. Fix up category regex.
2524 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2526 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * type-break.el (type-break-file-name):
2529 * textmodes/remember.el (remember-data-file):
2530 * strokes.el (strokes-file):
2531 * shadowfile.el (shadow-initialize):
2532 * saveplace.el (save-place-file):
2533 * ps-bdf.el (bdf-cache-file):
2534 * progmodes/idlwave.el (idlwave-config-directory):
2535 * net/quickurl.el (quickurl-url-file):
2536 * international/kkc.el (kkc-init-file-name):
2537 * ido.el (ido-save-directory-list-file):
2538 * emulation/viper.el (viper-custom-file-name):
2539 * emulation/vip.el (vip-startup-file):
2540 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2541 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2543 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2545 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2546 * language/thai-word.el: Switch to UTF-8.
2548 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2550 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2552 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2554 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2555 Use with-current-buffer and don't move point.
2556 (net-utils-run-simple): Remove useless code.
2557 (net-utils-remove-ctl-m): Remove unused custom.
2559 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2561 * international/characters.el (glyphless-set-char-table-range): New fun.
2562 (update-glyphless-char-display): Use it (bug#13744).
2564 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2566 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2567 namespaces in the syntax, indent closer for hanging brace
2568 correctly, allow single-quote delimited 'strings', and make
2569 `cfengine3-mode' the default.
2571 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2573 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2574 Use lexical-binding. Fix up docstring according to conventions.
2575 (gdbmi-debug-mode): New var.
2576 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2577 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2578 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2579 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2580 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2581 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2582 (gdbmi-bnf-incomplete-record-result): New functions.
2583 (gdb-car<): Remove function.
2584 (gdbmi-record-list): Remove variable.
2585 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2586 (gdbmi-bnf-result-state-configs): New const.
2587 (gud-gdbmi-marker-filter): Rewrite.
2588 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2589 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2590 Add `token' argument.
2591 (gdb-done, gdb-error): New functions.
2592 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2594 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2596 * term/xterm.el (xterm--report-background-handler): Don't burp
2598 (xterm--version-handler): Extract from terminal-init-xterm.
2599 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2600 Allow multiple handlers.
2601 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2603 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2604 (xterm--report-background-handler, xterm--query): New functions.
2605 (terminal-init-xterm): Use them.
2607 2013-03-11 Michael R. Mauger <michael@mauger.com>
2609 * progmodes/sql.el Version 3.2
2610 Please note that my address changed to <michael@mauger.com>;
2611 the <mmaug@yahoo.com> address remains active.
2612 (sql-connection-alist): Updates documentation to fix bug#13715.
2613 (sql-connect): Handle missing `sql-connection-alist' correctly.
2614 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2615 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2617 (sql-default-value): New function.
2618 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2619 values were not used.
2620 (sql-rename-buffer): Make sure alternate buffer name has no text
2622 (sql-input-sender, sql-execute-feature): Fetch variable with
2623 `buffer-local-value' rather than `with-current-buffer'.
2624 (sql-*): Use #' function syntax consistently.
2625 (sql-*): Use message/error/user-error consistently.
2627 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * xt-mouse.el (xterm-mouse-event-read): Remove.
2630 (xterm-mouse--read-event-sequence-1000)
2631 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2633 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2635 * term/xterm.el (xterm-function-map): Support format used with
2636 formatOtherKeys=1 (bug#13839).
2638 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2639 (with-no-warnings): Use `declare'.
2641 * whitespace.el (whitespace-enable-predicate): New variable.
2642 (whitespace-enable-predicate): Use it.
2644 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2645 (comint-output-filter, comint-update-fence):
2646 Use with-silent-modifications.
2648 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2650 * replace.el (occur-read-regexp-defaults-function): New var.
2651 (occur-read-regexp-defaults): New defun.
2652 (occur-read-primary-args): Propagate above change (bug#13892).
2654 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2658 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2660 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2662 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2663 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2664 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2666 (tramp-gvfs-file-name-handler-alist) [directory-files]
2667 [directory-files-and-attributes, file-exists-p, file-modes]:
2668 Use Tramp default handler.
2669 [file-acl, file-selinux-context, process-file, set-file-acl]:
2670 [set-file-modes, set-file-selinux-context, shell-command]:
2671 [start-file-process]: Remove handler.
2672 [verify-visited-file-modtime]: New handler.
2673 (tramp-gvfs-dbus-string-to-byte-array)
2674 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2675 calls of `dbus-string-to-byte-array' and
2676 `tramp-gvfs-dbus-byte-array-to-string'.
2677 (tramp-gvfs-handle-copy-file)
2678 (tramp-gvfs-handle-delete-directory)
2679 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2680 (tramp-gvfs-handle-file-directory-p)
2681 (tramp-gvfs-handle-file-executable-p)
2682 (tramp-gvfs-handle-file-name-all-completions)
2683 (tramp-gvfs-handle-file-readable-p)
2684 (tramp-gvfs-handle-file-writable-p)
2685 (tramp-gvfs-handle-insert-directory)
2686 (tramp-gvfs-handle-insert-file-contents)
2687 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2688 (tramp-gvfs-handle-set-visited-file-modtime)
2689 (tramp-gvfs-handle-write-region): Rewrite.
2690 (tramp-gvfs-handle-file-acl)
2691 (tramp-gvfs-handle-file-selinux-context)
2692 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2693 (tramp-gvfs-handle-set-file-modes)
2694 (tramp-gvfs-handle-set-file-selinux-context)
2695 (tramp-gvfs-handle-shell-command)
2696 (tramp-gvfs-handle-start-file-process)
2697 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2698 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2699 over the symlinks. Fix user handling.
2700 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2701 of the D-Bus signals.
2702 (tramp-gvfs-connection-mounted-p): Handle different names of the
2704 (tramp-gvfs-mount-spec-entry): New defun.
2705 (tramp-gvfs-mount-spec): Use it.
2706 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2707 there is a share name. Handle different names of the D-Bus
2708 signals and methods. Set connection properties needed for
2709 `tramp-check-cached-permissions'.
2710 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2713 * net/tramp.el (tramp-backtrace): Move up.
2714 (tramp-error): Dump a backtrace into the debug buffer when
2716 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2717 (tramp-file-mode-permissions, tramp-get-local-uid)
2718 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2721 * net/tramp-sh.el (tramp-file-mode-type-map)
2722 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2723 (tramp-file-mode-permissions, tramp-get-local-uid)
2724 (tramp-get-local-gid): Move to tramp.el.
2726 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2728 Separate mouse-1-click-follows-link from mouse-drag-region.
2729 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2730 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2731 (mouse-drag-line, mouse-drag-track):
2732 Remove mouse-1-click-follows-link code.
2733 (mouse--remap-link-click-p): Remove.
2735 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2737 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2738 (hi-lock-read-regexp-defaults): New defun.
2739 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2740 (hi-lock-face-phrase-buffer): Propagate above change.
2741 Update docstring (bug#13892).
2743 * subr.el (find-tag-default-as-regexp): New defun.
2744 * replace.el (read-regexp): Propagate above change.
2746 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2748 * calc/calc-units.el (calc-convert-units): Fix the way that default
2749 new units are stored.
2751 2013-03-07 Matthias Meulien <orontee@gmail.com>
2753 * bookmark.el: Define a face to highlight bookmark names in
2754 bookmark menu buffers, where the default is a bold face similarly
2755 to buffer names in buffer menu buffers.
2756 (bookmark-menu-bookmark): New face to highlight bookmark names.
2757 (bookmark-insert-location): Remove duplicated text property to
2758 conform to buffer list (see `list-buffers').
2759 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2760 `bookmark-menu-bookmark' to bookmark names.
2762 2013-03-07 Matthias Meulien <orontee@gmail.com>
2763 Karl Fogel <kfogel@red-bean.com>
2765 * bookmark.el: Display the bookmark list header similarly to the
2766 buffer list header (see `list-buffers'), where the default is now
2767 an immovable/immutable header line.
2768 (bookmark-bmenu-use-header-line): New variable.
2769 (bookmark-bmenu-inline-header-height): New name for
2770 `bookmark-bmenu-header-height', to avoid confusion with the code
2771 for the new immovable header. All references changed.
2772 (bookmark-bmenu-set-header): New function.
2773 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2774 Conditionalize header construction accordingly.
2775 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2776 the inline header height.
2777 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2778 Conditionalize the skipping of the inline header height.
2780 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2782 * progmodes/js.el (js--multi-line-declaration-indentation):
2783 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2785 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2787 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2788 Only propertize regexp when not inside a string (Bug#13885).
2790 2013-03-06 Alan Mackenzie <acm@muc.de>
2792 Correct the position of point in some line-up functions.
2793 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2794 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2795 point at column 0 rather than at a random place in the line.
2797 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2799 * net/tramp-compat.el (tramp-compat-delete-directory):
2800 Implement TRASH argument.
2802 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2804 Keep pre-existing highlighting in completion candidates (Bug#13250).
2805 * minibuffer.el (completions-first-difference): State that the
2806 face is "added" in the docstring.
2807 (completions-common-part): Same. And don't inherit from default.
2808 (completion-hilit-commonality): Prepend 'completions-common-part
2809 and 'completion-first-difference faces to the 'face property,
2810 instead of replacing the value(s).
2811 (completion--insert-strings): Same with 'completions-annotations face.
2812 (completion-hilit-commonality): Use 'face instead of
2813 'font-lock-face, because it gets priority if the completion
2814 strings already have 'face set.
2816 2013-03-04 Alan Mackenzie <acm@muc.de>
2818 Replace `last-command-event' by `last-command-char' in XEmacs.
2819 * progmodes/cc-defs.el (c-last-command-char): New macro.
2820 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2821 (c-semi&comma-no-newlines-before-nonblanks)
2822 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2823 in place of `last-command-event'.
2824 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2825 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2826 (c-electric-paren, c-electric-continued-statement): Use the new
2827 macro in place of `last-command-event'.
2829 2013-03-04 Glenn Morris <rgm@gnu.org>
2831 * files.el (inhibit-local-variables-regexps):
2832 Add .diff and .patch. (Bug#13862)
2834 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2836 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2837 whether the "su" command is available on the device.
2839 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2841 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2842 (tramp-adb-handle-process-file): Remove superfluous setting.
2843 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2844 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2845 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2847 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2849 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2850 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2851 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2852 Use dict-key rather than dict-name for the error message.
2854 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2856 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2857 when reverting (bug#13831).
2859 2013-03-01 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2861 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2862 Always expand affix-file before storing to protect against changed
2863 `default-directory'.
2864 (ispell-print-if-debug): Make sure message is printed at the end
2865 of the debug buffer.
2867 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2869 * net/tramp.el (tramp-obsolete-methods): New defconst.
2870 (tramp-warned-obsolete-methods): New defvar.
2871 (tramp-find-method): Check for obsolete methods. Map them to a
2872 replacement method if appropriate.
2874 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2876 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2877 "ssh2" and "plink1".
2879 2013-02-28 Dale Sedivec <dale@codefu.org>
2881 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2882 Return valid syntax-table property value when converting
2883 quotes within text from string syntax to punctuation syntax (bug#13844).
2885 2013-02-28 Juri Linkov <juri@jurta.org>
2887 * dired-aux.el (dired-diff): If file at point is a backup file,
2888 use its original as the default value, and reverse the order
2889 of arguments to the `diff' call. Doc fix. (Bug#13772)
2891 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2893 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2894 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2896 2013-02-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
2898 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2900 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2901 Ask hunspell about available and default dictionaries.
2902 (ispell-parse-hunspell-affix-file): Extract relevant info from
2903 hunspell affix file.
2904 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2905 `ispell-dictionary-alist' entry for given dictionary after info
2906 provided by `ispell-parse-hunspell-affix-file'.
2907 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2908 of parsed hunspell dicts and associated affix files.
2909 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2910 of parsed hunspell dicts and associated parameters.
2911 (ispell-set-spellchecker-params):
2912 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2914 (ispell-start-process):
2915 Call `ispell-hunspell-fill-dictionary-entry' for current
2916 dictionary if it is not initialized.
2918 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2920 * imenu.el: Comment nitpicks.
2922 2013-02-28 Sam Steingold <sds@gnu.org>
2924 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2925 See <http://stackoverflow.com/questions/14720205>.
2927 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2929 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2930 (net-utils-mode): Use it.
2931 (net-utils--revert-cmd): New var.
2932 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2933 (traceroute): Use net-utils-run-simple.
2935 2013-02-28 Glenn Morris <rgm@gnu.org>
2937 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2939 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2941 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2942 (doc-view-fallback-mode): Remove overlays here.
2943 (doc-view-toggle-display): Instead of here. Don't throw away
2944 image-mode-winprops-alist.
2945 (doc-view-goto-page): Don't mess with hscroll.
2947 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2949 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2950 &optional (bug#13819).
2952 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2954 * net/tramp-adb.el (tramp-adb-parse-device-names)
2955 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2957 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2959 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2960 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2961 defined. POSIX environments fall back to the "C" locale then and
2962 emit a warning, which shall be suppressed.
2964 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2967 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2969 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2971 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2973 2013-02-25 Juri Linkov <juri@jurta.org>
2975 * replace.el (read-regexp): Let-bind `default' to the first
2976 element of `defaults' if it's a list, otherwise it should be
2977 a string or nil. Let-bind `suggestions' to `defaults' if it's
2978 a list, otherwise make a list with the string value. Doc fix.
2981 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2983 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2984 that match "\`\.#", to avoid compiling lock files, even if they
2985 are readable (as they are on MS-Windows).
2987 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2989 * files.el (basic-save-buffer): Remove redundant directory-creation.
2991 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2993 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2994 Add option to force `pi' to remain symbolic.
2995 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2996 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2997 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2998 derivatives, when necessary.
3000 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3002 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3003 (ps-mode-octal-region): Use string-make-unibyte.
3005 2013-02-23 Glenn Morris <rgm@gnu.org>
3007 * emulation/viper-cmd.el (viper-submit-report):
3008 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3009 * progmodes/vera-mode.el (vera-mode-help-address):
3010 * textmodes/artist.el (artist-maintainer-address):
3011 * textmodes/reftex.el (reftex-report-bug):
3012 * vc/ediff-util.el (ediff-submit-report):
3013 Add bug-gnu-emacs to bug report address.
3015 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3016 Remove bug report entries.
3017 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3019 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3020 (byte-compile-file, byte-compile-from-buffer):
3021 Use separate input/output buffers for each level of recursive
3022 byte-compile-file calls. (Bug#13787)
3024 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3026 * net/tramp.el (tramp-methods): Fix docstring.
3027 (tramp-ssh-controlmaster-options): Rename it from
3028 `tramp-ssh-controlmaster-template'. Return a string.
3029 (tramp-default-method): Adapt check for
3030 `tramp-ssh-controlmaster-options'.
3032 * net/tramp-sh.el (tramp-methods):
3033 Replace `tramp-ssh-controlmaster-template' by "%c".
3034 (tramp-do-copy-or-rename-file-out-of-band)
3035 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3036 that it is applied for the first hop only.
3038 2013-02-22 Juri Linkov <juri@jurta.org>
3040 * isearch.el (isearch-lazy-highlight-new-loop):
3041 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3042 to `isearch-other-end' if it is not nil. (Bug#13402)
3044 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3047 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3048 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3049 and `isearch-error' to nil.
3051 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3053 * progmodes/python.el (python-info-current-defun):
3054 Enhance match-data cluttering prevention.
3056 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3058 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3060 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3061 Handle multibyte file names.
3063 2013-02-22 Glenn Morris <rgm@gnu.org>
3065 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3066 (sgml-transformation-function): Give it a :set function.
3067 (sgml-tag): Doc fix.
3069 * cmuscheme.el (scheme-buffer):
3070 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3071 * progmodes/tcl.el (inferior-tcl-buffer):
3072 * textmodes/tex-mode.el (tex-command): Doc fixes.
3074 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3076 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3078 2013-02-21 Bastien Guerry <bzg@gnu.org>
3080 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3082 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3084 * progmodes/python.el (python-info-current-defun):
3085 Enhance match-data cluttering prevention.
3087 2013-02-21 Glenn Morris <rgm@gnu.org>
3089 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3090 loaded while outline-regexp is let bound. (Bug#9584)
3092 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3094 * progmodes/python.el (python-info-current-defun): Fix failed
3095 defun name retrieval because of unwanted match-data cluttering.
3097 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3099 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3100 defconst. Apply independent check for ControlPersist.
3102 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3103 temporarily, via "env".
3105 2013-02-21 Glenn Morris <rgm@gnu.org>
3107 * info.el (Info-enable-edit): Remove.
3108 (Info-edit): Disable it rather than using Info-enable.
3109 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3110 (Info-cease-edit): Make editing of Info files obsolete.
3112 * informat.el (Info-tagify):
3113 Handle buffers not visiting files. (Bug#13763)
3115 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3117 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3119 2013-02-21 Glenn Morris <rgm@gnu.org>
3121 * files.el (basic-save-buffer): Move check for existing parent
3122 directory after hooks. (Bug#13773)
3124 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3126 * simple.el (command-execute): Move from C. Add obsolete check.
3127 (extended-command-history): Move from C.
3129 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
3131 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3132 (jka-compr-mode-alist-additions): Handle .txz suffix for
3133 XZ-compressed tar archives (bug#13770).
3135 2013-02-20 Bastien Guerry <bzg@gnu.org>
3137 * outline.el (outline-regexp, outline-heading-end-regexp):
3138 Make variables, not options (bug#13731).
3140 2013-02-20 Glenn Morris <rgm@gnu.org>
3142 * image.el (image-current-frame): Change from variable to function.
3143 (image-show-frame): Rename from image-nth-frame. Update callers.
3144 * image-mode.el (image-multi-frame): New variable.
3145 (image-mode-map, image-mode, image-goto-frame):
3146 Use image-multi-frame rather than image-current-frame.
3147 (image-mode, image-goto-frame): Use image-current-frame as
3148 function rather than as variable.
3150 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3151 * emacs-lisp/cl-macs.el (cl--make-type-test)
3152 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3154 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3156 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3157 (tramp-get-file-property, tramp-set-file-property)
3158 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3159 (tramp-flush-file-property, tramp-flush-directory-property):
3160 Rename argument to KEY.
3161 (tramp-flush-connection-property): Simplify a little bit.
3162 (tramp-connection-property-p): New defun.
3163 (top): Reapply saved values only if there isn't a corresponding
3164 entry in `tramp-connection-properties'.
3166 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3168 * progmodes/python.el (python-indent-context):
3169 Fix python-info-line-ends-backslash-p call.
3170 (python-info-line-ends-backslash-p)
3171 (python-info-beginning-of-backslash): Respect line-number argument.
3172 (python-info-current-line-comment-p):
3173 Fix behavior when not at beginning-of-line.
3174 (python-util-position): Remove function.
3175 (python-util-goto-line): New function.
3177 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3179 * eshell/em-unix.el (eshell/su): Require tramp.
3180 (eshell/sudo): Require tramp. Remove now unnecessary check.
3182 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3183 `tramp-current-connection' in order to avoid an error when several
3184 commands are invoked in a short time in eshell and friends.
3186 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3188 Cleanup some of EIEIO's namespace.
3189 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3190 Use it to define all the class-* and object-* field accessors (renamed
3191 to eieio--class-* and eieio--object-*). Update all uses.
3192 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3193 class-num-slots and object-num-slots.
3194 (eieio--check-type): New macro.
3195 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3196 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3197 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3198 (object-assoc-list-safe): Use it.
3199 (eieio-defclass): Tighten regexp.
3200 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3201 Remove unreachable code.
3202 (object-class-fast): Declare obsolete.
3203 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3204 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3205 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3206 Rename from class-name, object-name, object-set-name-string,
3207 object-class, object-class-name, class-parents, class-children,
3208 class-precedence-list, class-parent; with obsolete alias.
3209 (class-of, class-direct-superclasses, class-direct-subclasses):
3211 (eieio-defmethod): Use `memq'; remove unreachable code.
3212 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3213 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3214 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3216 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3218 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3221 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3223 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3224 Use font-lock-keyword-face for macros and special forms (bug#8345).
3226 2013-02-17 Didier Verna <didier@didierverna.net>
3228 * net/network-stream.el (network-stream-open-starttls):
3229 Check that response to the starttls-command is non-nil. (Bug#13706)
3231 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3234 Don't assume all identifier chars have syntax word.
3235 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3236 Remove bar-not-symbol. Adjust callers.
3237 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3239 2013-02-17 Leo Liu <sdl.web@gmail.com>
3241 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3243 2013-02-17 Glenn Morris <rgm@gnu.org>
3245 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3247 * image-mode.el (image-mode-map): Add image-dired menu entry.
3249 * image-dired.el (tumme): Make this alias obsolete.
3251 2013-02-16 Glenn Morris <rgm@gnu.org>
3253 * image.el (image-animated-types): Remove.
3254 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3255 (image-animated-p): Make obsolete alias.
3256 (image-animate, image-nth-frame, image-animate-timeout):
3257 Use image-multi-frame-p.
3258 (image-animate-timeout): If no delay, use image-default-frame-delay.
3259 * image-mode.el (image-mode, image-toggle-animation):
3260 Use image-multi-frame-p. (Bug#763, bug#10739)
3261 (image-mode): Adjust startup message for a multi-frame image.
3263 * image-mode.el (image-mode-map): Give it a menu.
3265 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3267 * net/tramp-cache.el (tramp-connection-properties): New customer
3269 (tramp-get-connection-property): Use it.
3271 * net/tramp-compat.el (top): Require 'trampver.
3273 * net/tramp-sh.el (tramp-remote-process-environment):
3274 Set tramp-autoload cookie.
3276 2013-02-16 Kevin Ryde <user42@zip.com.au>
3278 * info-look.el (info-lookup-select-mode): If major-mode has no
3279 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3281 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3283 * replace.el (read-regexp): Tighten the regexp that matches tag.
3284 When tag is retrieved with `find-tag-default', use regexp that
3285 matches tag at point. Also update docstring (Bug#13687).
3287 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3289 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3290 add watch for the file, not its parent directory, since w32notify
3291 sets up the watch for the directory internally. (Bug#13725)
3293 2013-02-16 Glenn Morris <rgm@gnu.org>
3295 * image.el (image-default-frame-delay): New variable.
3296 (image-animated-p): Use image-default-frame-delay.
3297 (image-minimum-frame-delay): New constant.
3298 (image-animate-timeout): Use image-minimum-frame-delay.
3300 * image.el (image-nth-frame): New, split from image-animate-timeout.
3301 (image-animate-timeout): Use image-nth-frame.
3302 * image-mode.el (image-goto-frame, image-next-frame)
3303 (image-previous-frame): New commands.
3304 (image-mode-map): Add new frame commands.
3306 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3308 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3309 If col-desc already has help-echo, use it. (Bug#13563)
3311 2013-02-16 Glenn Morris <rgm@gnu.org>
3313 * image.el (image-current-frame): New variable.
3314 (image-animate-timeout): Set image-current-frame.
3315 * image-mode.el (image-mode): For animated images,
3316 display a frame counter via mode-line-process.
3318 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3320 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3324 2013-02-15 Alan Mackenzie <acm@muc.de>
3326 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3327 global minor mode has been enabled, call the minor mode function
3328 for a new buffer once only, after the major mode hook, whilst
3329 allowing that hook explicitly to disable the minor mode.
3330 (MODE-disable-in-buffer): New (generated) function.
3331 (disable-MODE): New (generated) buffer local variable.
3333 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3335 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3336 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3337 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3338 `ido-next-match' and `ido-prev-match' resply.
3339 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3340 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3341 `icomplete-backward-completions' (Bug#13708).
3343 2013-02-15 Glenn Morris <rgm@gnu.org>
3345 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3347 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3350 (goto-address-fontify-region): Use them instead of narrowing, so
3351 syntax-ppss has access to the whole buffer.
3353 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3355 * progmodes/python.el: Explain how to restore "cc-mode"-like
3356 forward-sexp movement in header documentation (Bug#13642).
3357 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3358 comments and strings (GH bug 114).
3360 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3362 * progmodes/python.el (python-info-current-defun): Fix current
3363 defun detection (Bug#13618).
3365 2013-02-15 Chong Yidong <cyd@gnu.org>
3367 * xml.el (xml-parse-string): Fix typo in handling of bad character
3370 2013-02-15 Glenn Morris <rgm@gnu.org>
3372 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3374 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3376 * net/tramp.el (tramp-debug-message):
3377 Add `tramp-condition-case-unless-debug'.
3378 (tramp-debug-on-error): New defvar.
3379 (tramp-condition-case-unless-debug): New defun.
3380 (tramp-file-name-handler): Use it.
3382 2013-02-14 Juri Linkov <juri@jurta.org>
3384 * info.el (Info-isearch-filter): Treat non-nil values of
3385 `search-invisible' including its default value `open'
3386 like the value `t' to match hidden text. (Bug#13402)
3388 2013-02-14 Glenn Morris <rgm@gnu.org>
3390 * help-fns.el (find-lisp-object-file-name): Give special treatment
3391 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3393 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3395 * net/quickurl.el (quickurl-save-urls):
3396 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3398 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3400 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3401 depth for unfinished percent literal. Not using it in the caller.
3402 (ruby-move-to-block): Jump over multiline literals of all types,
3403 ignoring code-looking contents inside them.
3404 (ruby-add-log-current-method): Improve performance at the expense
3405 of accuracy. `ruby-block-contains-point' is relatively slow, so
3406 only use it for method and singleton class blocks.
3408 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3410 Use ControlMaster where applicable. (Bug#13677)
3412 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3413 replacing `tramp-detect-ssh-controlmaster'.
3414 (tramp-default-method): Use it.
3416 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3417 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3419 [scpc, rsyncc]: Remove methods.
3420 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3422 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3423 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3425 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3427 * emacs-lisp/package.el (package--initialized): Move before first use.
3429 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3431 * icomplete.el (icomplete-hide-common-prefix): New user option.
3432 (icomplete-first-match): New face.
3433 (icomplete-completions): Correct handling of "complete but not
3434 unique" (Bug#12638).
3436 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3438 * descr-text.el (describe-char): Display the script (bug#13698).
3440 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * tmm.el: Use lexical-binding and current-active-maps.
3443 (tmm-menubar): Use map-keymap and pcase.
3444 (tmm--completion-table): New function.
3445 (tmm-prompt): Use it to fix the menu order.
3446 (tmm-get-keybind): Use current-active-maps.
3448 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3450 Add dired-hide-details-mode. (Bug#6799)
3452 * locate.el (locate-mode): Set parent mode property to dired-mode.
3454 * find-dired.el (find-dired): Call dired-insert-set-properties on
3455 initial information line. Set process mark on end of buffer.
3456 (find-dired-sentinel):
3457 Call dired-insert-set-properties on summary.
3459 * dired.el (dired-hide-details-hide-symlink-targets)
3460 (dired-hide-details-hide-information-lines): New options.
3461 (dired-insert-directory):
3462 Set properties after final treatment of output.
3463 (dired-insert-set-properties):
3464 Set dired-hide-details-* properties.
3465 (dired-mode-map): Bind dired-hide-details-mode.
3466 (dired-mode): Set buffer-invisibility-spec to a list.
3467 (dired-next-line): Skip hidden lines.
3468 (dired-previous-line): Use dired-next-line.
3469 (dired-hide-details-mode): New minor mode.
3470 (dired-hide-details-update-invisibility-spec): New function.
3472 2013-02-13 Glenn Morris <rgm@gnu.org>
3474 * play/yow.el: Move to obsolete/. (Bug#9384)
3476 2013-02-13 Juri Linkov <juri@jurta.org>
3478 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3479 to select `ediff-control-frame' and set input focus correctly on Xfce.
3482 2013-02-13 Juri Linkov <juri@jurta.org>
3484 * image-mode.el (image-mode-map):
3485 * doc-view.el (doc-view-mode-map):
3486 * vc/ediff-util.el (ediff-setup-keymap):
3487 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3489 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3491 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3492 performance. Instead of recalculating indentation fully for each
3493 line, sum up indentation depth based only on visited lines.
3494 (ruby-parse-partial): Increase the depth after "do" even when END
3496 (ruby-parse-partial): When END is in the middle of a percent
3497 literal, increase the depth if the delimiter chars belong to the
3500 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3502 * play/fortune.el (fortune-compile): Also make the compiled file
3503 if it does not exist at all, not just if it is old. (Bug#5338)
3505 2013-02-13 Glenn Morris <rgm@gnu.org>
3507 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3509 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3511 * lisp/emacs-lisp/package.el (package-menu-execute):
3512 Add optional noquery argument. (Bug#13625)
3514 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3516 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3517 if DIR exists and PARENTS is non-nil.
3519 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3521 * progmodes/js.el (js--multi-line-declaration-indentation):
3522 Silence byte-compiler warning.
3524 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3526 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3528 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3529 only if it doesn't exist.
3531 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3534 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3536 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3537 UserInstallation when calling soffice to work around LibreOffice
3540 2013-02-12 Glenn Morris <rgm@gnu.org>
3542 * files.el (basic-save-buffer):
3543 Offer to create a non-existing directory. (Bug#3016)
3545 * calc/calc-graph.el (calc-graph-show-dumb):
3546 * calendar/calendar.el (calendar-mode-map):
3547 * cus-edit.el (custom-mode-map):
3548 * ehelp.el (electric-help-map):
3549 * emulation/vip.el (vip-mode-map):
3550 * epa.el (epa-key-list-mode-map):
3551 * info.el (Info-mode-map):
3552 * mail/rmail.el (rmail-mode-map):
3553 * mail/rmailsum.el (rmail-summary-mode-map):
3554 * man.el (Man-mode-map):
3555 * net/newst-plainview.el (newsticker-mode-map):
3556 * progmodes/cpp.el (cpp-edit-mode-map):
3557 * progmodes/grep.el (grep-mode-map):
3558 * progmodes/idlw-help.el (idlwave-help-mode-map):
3559 * simple.el (special-mode-map):
3560 * startup.el (splash-screen-keymap):
3561 * view.el (view-mode-map):
3562 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3564 2013-02-11 Elias Pipping <pipping@lavabit.com>
3566 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3569 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3571 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3573 2013-02-11 Glenn Morris <rgm@gnu.org>
3575 * vc/diff.el (diff-use-labels): New variable.
3576 (diff-no-select): Use --label rather than -L, and first
3577 check that it is supported. (Bug#11067)
3579 * files.el (enable-dir-local-variables): New variable.
3580 (hack-dir-local-variables): Respect enable-dir-local-variables.
3581 * tutorial.el (help-with-tutorial):
3582 Ignore directory-local variables. (Bug#11127)
3584 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3585 (vc-svn-global-switches): ... to here. (Bug#13513)
3587 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3589 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3590 Handle "foo (bar, default: xxx): " prompts.
3592 2013-02-10 Chong Yidong <cyd@gnu.org>
3594 * files.el (basic-save-buffer-1): Do not set
3595 buffer-file-coding-system-explicit (Bug#4533).
3597 * mail/emacsbug.el (report-emacs-bug): Change binding of
3598 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3600 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3602 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3603 * calc/calc-units.el (calc-convert-units): Use new variable.
3605 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3607 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3609 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3612 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3613 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3614 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3615 coding-system-for-write instead.
3617 * jka-compr.el (jka-compr-write-region): Don't bind
3620 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3623 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3624 (insert-file-contents-literally): Remove reference to
3625 file-name-buffer-file-type-alist.
3627 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3629 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3630 (find-buffer-file-type-coding-system): Remove references to
3631 find-buffer-file-type-match, find-buffer-file-type, and
3633 Don't put find-buffer-file-type-coding-system into
3634 file-coding-system-alist.
3635 (find-file-binary, find-file-text): Bind coding-system-for-read
3636 instead of file-name-buffer-file-type-alist.
3638 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3640 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3641 converter (Bug#13622).
3642 (doc-view-unoconv-program): Make obsolete alias.
3643 (doc-view-odf->pdf-converter-program): New variable.
3644 (doc-view-odf->pdf-converter-function): New variable.
3645 (doc-view-mode-p): Use it.
3646 (doc-view-odf->pdf-converter-unoconv):
3647 Rename from `doc-view-odf->pdf-converter-unoconv'.
3648 (doc-view-odf->pdf-converter-soffice): New function.
3649 (doc-view-convert-current-doc):
3650 Use `doc-view-odf->pdf-converter-function'.
3652 2013-02-09 Chong Yidong <cyd@gnu.org>
3654 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3655 view-echo-area-messages (Bug#13340).
3657 * help.el (view-echo-area-messages): Use display-buffer.
3659 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3662 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3664 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3665 Eval body right away, now that we do eager macroexpansion (bug#13605).
3667 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3668 (fundamental-mode): Use run-mode-hooks.
3670 * eshell/esh-proc.el (eshell/kill): Fix last change.
3671 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3673 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3675 * eshell/esh-proc.el (eshell/kill): Rewrite.
3677 * eshell/em-ls.el (show-almost-all): Declare.
3678 (eshell-do-ls): Add support for -A argument.
3680 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3682 * icomplete.el (icomplete-forward-completions)
3683 (icomplete-backward-completions): Handle corner case (bug#13602).
3685 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3687 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3688 be nil. Handle this. (Bug#13636)
3690 2013-02-07 Richard Stallman <rms@gnu.org>
3692 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3693 `save-buffer-coding-system'.
3695 2013-02-07 Alan Mackenzie <acm@muc.de>
3697 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3698 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3699 (c-parse-state-get-strategy): Don't return 'BOD any more.
3700 (c-append-lower-brace-pair-to-state-cache):
3701 Extra parameter HERE instead of narrowing.
3702 Widen to top of buffer before searching backwards for a brace pair.
3703 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3704 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3705 Narrow to parameter HERE, in place of being called narrowed.
3706 (c-remove-stale-state-cache): Extra parameter HERE in place of
3707 narrowing. Check there's an open brace in the cache before
3708 searching for its match.
3709 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3710 (c-parse-state-1): Don't narrow here for 'forward strategy,
3711 instead passing extra parameter HERE to several functions.
3712 Remove 'BOD strategy.
3714 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3716 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3717 used to install the package.
3719 2013-02-06 Glenn Morris <rgm@gnu.org>
3721 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3722 if we can't get user input. (Bug#6567)
3724 * startup.el (command-line): If simple.el is missing,
3725 test and warn about for some possible causes.
3727 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3729 * cus-start.el (all): Add ns-use-native-fullscreen.
3731 2013-02-05 Glenn Morris <rgm@gnu.org>
3733 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3735 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3736 Fix directory creation in fallback case.
3738 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3740 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3741 (vc-update-change-log): Use dolist.
3743 2013-02-04 Chong Yidong <cyd@gnu.org>
3745 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3747 (thing-at-point-beginning-of-url-regexp): New var.
3748 (thing-at-point-uri-schemes): Update list of URI schemes.
3749 (thing-at-point-url-regexp): Variable deleted.
3750 (thing-at-point-markedup-url-regexp): Disallow newlines.
3751 (thing-at-point-newsgroup-regexp)
3752 (thing-at-point-newsgroup-heads)
3753 (thing-at-point-default-mail-uri-scheme): New variables.
3754 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3755 method to find the possible bounds of the URI at point.
3756 New optional argument to find ill-formed URIs.
3757 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3758 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3759 the scheme-adding heuristics from ffap-url-at-point.
3760 (thing-at-point--bounds-of-well-formed-url): New function.
3761 Do parens matching to decide whether to include parens in the URI
3764 * ffap.el: Require thingatpt.
3765 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3766 All URI-valid characters are now recognized (Bug#5673).
3767 (ffap-string-at-point): Use use-region-p.
3768 (ffap-url-regexp): Extra character is handled by thing-at-point.
3769 (ffap-string-at-point-mode-alist): Allow parentheses.
3770 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3771 Convert to aliases; code moved to thingatpt.el.
3772 (ffap-gnus-hook): Use setq-local.
3774 2013-02-04 Glenn Morris <rgm@gnu.org>
3776 * emacs-lisp/ert.el (ert--explain-format-atom):
3777 Don't try to print non-characters as characters. (Bug#13543)
3779 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3781 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3782 (tramp-backtrace): New defun.
3783 (tramp-handle-insert-file-contents): Use `visit' when inserting
3786 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3787 Use `remote-file-name-inhibit-cache'.
3789 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3791 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3794 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3795 current-load-list (bug#13366).
3797 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3799 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3800 Identify g++ template instantiation trace. (Bug#12287)
3801 (compilation-mode-hook, compilation-start-hook)
3802 (compilation-window-height): Simplify docstrings. (Bug#13379)
3804 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3806 * mouse.el (mouse-drag-track): Always deactivate the mark before
3807 running the final event's command since that command is in charge of
3808 activating the mark if needed (bug#13523).
3810 2013-02-02 Juri Linkov <juri@jurta.org>
3812 * replace.el (perform-replace): Move let-bindings of isearch-*
3813 variables deeper to the loop that searches for the next match.
3814 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3815 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3818 * isearch.el (isearch-search-fun-default): Check for null
3819 first element of isearch-cmds as a precaution when it's used
3820 with inactive isearch.
3822 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3824 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3825 error when buffer in question is narrowed so position 1 is out of
3828 2013-02-02 Glenn Morris <rgm@gnu.org>
3830 * textmodes/remember.el (remember-clipboard): Doc fix.
3832 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3835 properties (bug#13179).
3837 2013-02-02 Juri Linkov <juri@jurta.org>
3839 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3840 instead of hard-coded default face `match'. (Bug#9438)
3842 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3844 * vc/vc-arch.el (vc-arch-registered):
3845 * vc/vc-bzr.el (vc-bzr-registered):
3846 * vc/vc-cvs.el (vc-cvs-registered):
3847 * vc/vc-git.el (vc-git-registered):
3848 * vc/vc-hg.el (vc-hg-registered):
3849 * vc/vc-mtn.el (vc-mtn-registered):
3850 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3853 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3854 prefix argument. (Bug#11656)
3856 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3860 2013-02-01 Glenn Morris <rgm@gnu.org>
3862 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3863 if the backend is known not to support it.
3865 * imenu.el (imenu-default-create-index-function):
3866 Tweak infinite loop test to check for forward motion as well as none.
3868 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3870 * net/soap-client.el (soap-invoke): Encode the string for
3871 `url-request-data' as UTF-8.
3872 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3874 2013-02-01 Glenn Morris <rgm@gnu.org>
3876 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3878 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3880 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3882 * net/tramp.el (tramp-tramp-file-p): Comment check for
3883 `string-as-unibyte'. The function does not exist on XEmacs, and
3884 likely we need another approach.
3886 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3887 `tramp-gw-*' variables are bound.
3889 2013-01-31 Glenn Morris <rgm@gnu.org>
3891 * files.el (basic-save-buffer-2): Choose coding system for
3892 writing the file before backing it up, to reduce delay between
3893 backing up and writing the new version. (Bug#13522)
3895 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3897 * simple.el (cycle-spacing): New command.
3898 (just-one-space): Use it.
3900 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3902 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3903 (opascal-newline-always-indents): Remove custom.
3904 (opascal-tab, opascal-newline): Remove commands.
3905 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3906 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3907 (opascal-save-match-data): Remove, use save-match-data instead.
3908 (opascal-save-state): Use with-silent-modifications.
3910 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3913 2013-01-30 Juri Linkov <juri@jurta.org>
3915 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3916 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3917 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3919 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3921 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3922 column if we're just deleting the backslashes.
3923 (makefile-fill-paragraph): Use eolp.
3925 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3927 * autorevert.el (auto-revert-use-notify): Fix docstring.
3929 2013-01-30 Leo Liu <sdl.web@gmail.com>
3931 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3933 2013-01-30 Glenn Morris <rgm@gnu.org>
3935 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3936 unread-command-events twice in some cases. This tries to implement
3937 the 2012-07-26 changes in a different way. (Bug#13560)
3939 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3941 * progmodes/python.el
3942 (python-pdbtrack-comint-output-filter-function): Enhancements on
3943 stacktrace detection. (thanks @gnovak)
3945 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3948 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3950 (jit-lock-register): Use setq-local.
3952 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3954 * calc-units.el (math-default-units-table): Remove initial value.
3955 (calc-convert-units): Treat expressions where all the units cancel as
3956 if they didn't have units.
3958 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3960 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3961 (tramp-completion-reread-directory-timeout): Fix type.
3962 (tramp-connection-min-time-diff): New defcustom.
3964 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3966 2013-01-30 Glenn Morris <rgm@gnu.org>
3968 * imenu.el (imenu-default-create-index-function):
3969 Put back a version of the infinite loop test removed 2013-01-23.
3971 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3973 * progmodes/python.el (python-shell-parse-command):
3974 Find python-shell-interpreter with modified environment.
3976 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3980 2013-01-29 Alan Mackenzie <acm@muc.de>
3982 Amend to fontify /regexp/s in actions correctly.
3983 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3984 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3985 are no longer included.
3986 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3987 What used to be these variables without "-line" in the name.
3988 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3989 (c-awk-non-arith-op-bra-re): Now also matches {.
3990 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3991 "return", and "case".
3992 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3994 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3995 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3997 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3999 * autorevert.el (auto-revert-use-notify):
4000 Use `custom-initialize-default' for initialization. (Bug#13583)
4002 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4004 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4005 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4006 in `tramp-file-name-handler'.
4007 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4009 (tramp-compute-multi-hops): Check, whether
4010 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4012 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4017 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4019 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4020 checks made superfluous by the \_< operator.
4021 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4022 temporarily) broken indentation.
4023 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4024 Highlight nested constants, too. \_< broke that.
4026 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4028 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4031 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4033 * autorevert.el (auto-revert-handler): Notifications which result
4034 from a saved file shall not be taken into account. (Bug#13557)
4036 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4038 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4039 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4040 (lisp-mode): Pass t for it. (Bug#13556)
4042 2013-01-25 Alan Mackenzie <acm@muc.de>
4044 AWK Mode: Fix indentation bug at top level. Bug #12274.
4046 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4047 just before CASE 5D.
4049 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4051 * net/socks.el (socks-nslookup-host): Use string-to-number.
4053 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4055 * autorevert.el (auto-revert-remote-files)
4056 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4057 (auto-revert-notify-enabled, auto-revert-use-notify)
4058 (auto-revert-notify-watch-descriptor-hash-list)
4059 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4060 (auto-revert-notify-event-descriptor)
4061 (auto-revert-notify-event-action)
4062 (auto-revert-notify-event-file-name): Doc fix.
4063 (global-auto-revert-mode): Reorder checks.
4064 (auto-revert-notify-rm-watch): Respect changed values of
4065 `auto-revert-notify-watch-descriptor-hash-list'.
4066 (auto-revert-notify-add-watch): Check for
4067 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4068 `inotify-add-watch'. Watch `default-directory' instead of
4069 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4070 has a changed meaning now. (Bug#13540)
4071 (auto-revert-notify-handler): Change implementation wrt events
4072 returning from a directory.
4073 (auto-revert-handler): Reorder implementation for checks of remote
4075 (auto-revert-buffers): Fix parentheses error.
4077 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4079 * progmodes/python.el: Enhancements to header documentation about
4080 skeletons. (Bug#5716)
4082 * imenu.el (imenu-default-create-index-function): Remove useless
4083 infinite loop check. (Bug#13438)
4085 2013-01-25 Alan Mackenzie <acm@muc.de>
4087 Fix a bug in the state cache mechanism. Refactor this a bit.
4089 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4090 `cache-pos' element from the return value.
4091 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4092 buffer to enable proper searching from beyond HERE. Amend the
4093 test for detecting the sought brace pair. Amend the value written
4094 to the "brace desert cache" when the brace isn't found.
4095 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4096 and several other variables analogously.
4097 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4098 parameter to a locally calculated variable.
4099 (c-parse-state-1): Change the calling conventions to the two
4100 defuns involving `cache-pos'.
4102 2013-01-25 Chong Yidong <cyd@gnu.org>
4104 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4106 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4108 * paren.el (show-paren-function): Make sure to set 'priority and
4109 'face only if the overlay does exist.
4111 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4113 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4115 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4117 (tramp-sh-handle-set-file-acl): Improve error checking.
4119 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4121 * doc-view.el (doc-view-display): Force mode line update until all
4122 document is converted. Suggested by Stefan Monnier (Bug#13164).
4124 2013-01-23 Bastien Guerry <bzg@gnu.org>
4126 * paren.el (show-paren-function): Make sure an overlay exists
4127 before trying to delete it. Also use `pos' as a position only
4128 when it is an integer.
4130 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4132 * play/gametree.el (gametree-break-line-here): Use point-marker.
4134 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4136 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4137 Mark descriptive parts with `display' property.
4139 2013-01-21 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
4141 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4142 New variable to map standard dict names to hunspell ones.
4143 (ispell-set-spellchecker-params): Make sure specific dict names
4144 are used for standard dicts with hunspell.
4146 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4148 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4149 chars for note (%N) and url (%U).
4150 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4152 2013-01-21 Juri Linkov <juri@jurta.org>
4154 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4155 in addition to existing separate binding `meta f10' in `global-map'.
4158 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4160 Improve XEmacs compatibility.
4162 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4164 * net/tramp-adb.el (top): Require `time-date'.
4165 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4166 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4167 Use `tramp-file-name-handler'.
4168 (tramp-adb-maybe-open-connection):
4169 Use `tramp-compat-set-process-query-on-exit-flag'.
4171 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4172 Use `tramp-compat-funcall'.
4174 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4175 `tramp-compat-funcall'.
4177 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
4179 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4180 reimplementation using "adb shell command ..." instead of running
4181 remote shell interactively.
4183 2013-01-20 Glenn Morris <rgm@gnu.org>
4185 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4186 Add native profiler menu entries.
4188 * profiler.el (profiler-running-p): New function.
4189 (profiler-cpu-profile): Use profiler-running-p.
4190 (profiler-report-mode-map): Add some more menu entries.
4192 2013-01-19 Glenn Morris <rgm@gnu.org>
4194 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4195 fixes 2012-12-07 change. (Bug#13499)
4197 2013-01-19 Leo Liu <sdl.web@gmail.com>
4199 * dired.el (dired-get-marked-files): Prune erroneous values due to
4200 last change. (Bug#13152)
4202 2013-01-19 Glenn Morris <rgm@gnu.org>
4204 * progmodes/etags.el (tags-table-check-computed-list):
4205 Preserve point in tags buffer. (Bug#13412)
4207 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4209 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4210 Chong Yidong <cyd@gnu.org>
4212 * image-mode.el (image-next-file, image-previous-file):
4213 New commands (Bug#8453).
4214 (image-mode-map): Bind them to n and p.
4215 (image-mode--images-in-directory): New helper function.
4217 2013-01-19 Chong Yidong <cyd@gnu.org>
4219 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4220 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4221 save and restore the old window configuration.
4223 2013-01-18 Leo Liu <sdl.web@gmail.com>
4225 * progmodes/js.el: Tweak autoload cookie for alias.
4227 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4229 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4230 buffer local, again. This was lost with the fix on 2013-01-12.
4232 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4234 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4235 order to support several eshell buffers in parallel.
4237 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4239 * autorevert.el (auto-revert-use-notify): In the :set function, do
4240 not modify `kill-buffer-hook'.
4241 (auto-revert-notify-rm-watch):
4242 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4243 (auto-revert-notify-add-watch): Do not call
4244 `auto-revert-notify-rm-watch', but add it to a buffer local
4247 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4249 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4250 call to `eval' rather than a backquoted lambda.
4252 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4254 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4255 to return an explicit nil.
4256 (advice--remove-function): Change accordingly.
4258 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4259 the use of nadvice.el.
4261 * progmodes/which-func.el (which-function): Silence imenu errors
4264 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4266 * progmodes/sql.el (sql-imenu-generic-expression):
4267 (sql-mode-font-lock-object-name): Match schema qualified names.
4268 (sql-connect): Use string keys.
4269 (sql-product-interactive): Wait for interpreter prompt.
4270 (sql-comint-oracle): Set process coding based on NLS_LANG.
4272 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4274 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4275 (sql-interactive-remove-continuation-prompt):
4276 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4278 2013-01-14 Leo Liu <sdl.web@gmail.com>
4280 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4283 2013-01-14 Glenn Morris <rgm@gnu.org>
4285 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4286 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4288 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4290 * progmodes/python.el (python-nav-end-of-statement):
4291 Fix cornercase when handling multiline strings.
4293 2013-01-13 Richard Stallman <rms@gnu.org>
4295 * mail/sendmail.el (mail-position-on-field): Add doc string.
4297 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4298 Get current message boundaries and pass them to
4299 message-forward-make-body-mime. Minor style changes.
4301 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4303 * cus-start.el (all): Avoid warnings about
4304 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4306 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4308 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4310 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4312 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4313 (jit-lock--debug-fontifying): New var.
4314 (jit-lock--debug-fontify): New function.
4315 * subr.el (condition-case-unless-debug): Don't prevent catching the
4316 error, just let the debbugger run.
4317 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4318 timer code and don't drop errors silently.
4320 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4322 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4323 `permanent-local' property.
4324 (auto-revert-notify-handler): Use `file-equal-p'.
4326 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4328 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4329 file notification by ACTION. For filtering by file name, compare
4330 only the non-directory part of the file name.
4332 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4334 * autorevert.el: Use cl-lib instead of cl.
4336 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4337 (vc-bzr-checkin): Use it.
4338 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4339 will preserve match-data.
4341 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4343 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4344 (js--declaration-keyword-re): New var.
4345 (js--multi-line-declaration-indentation): New function.
4346 (js--proper-indentation): Use it.
4348 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4350 * calc/calc.el (calc-highlight-selections-with-faces)
4352 * comint.el (comint-history-isearch-message):
4353 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4354 * ffap.el (ffap-string-at-point-region, ffap-next)
4355 (ffap-string-at-point, ffap-string-around)
4356 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4358 * font-lock.el (font-lock-keywords-alist)
4359 (font-lock-removed-keywords-alist):
4360 * help-mode.el (help-xref-symbol-regexp):
4361 * info.el (Info-find-emacs-command-nodes):
4362 * international/mule.el (add-to-coding-system-list):
4363 * isearch.el (isearch-message-function, isearch-fail-pos):
4364 * misearch.el (multi-isearch-next-buffer-function):
4365 * newcomment.el (comment-box):
4366 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4367 (pr-setting-database):
4368 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4369 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4370 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4371 (pike-font-lock-keywords-3):
4372 * progmodes/compile.el (compile):
4373 * progmodes/etags.el (tags-table-files)
4374 (tags-table-files-function, tags-included-tables-function):
4375 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4376 (gdb-restore-windows):
4377 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4378 (ps-n-up-filling-database):
4379 * server.el (server-buffer, server-log):
4380 * simple.el (newline, delete-backward-char, delete-forward-char)
4381 (minibuffer-history-isearch-message, kill-line, track-eol)
4382 (temporary-goal-column):
4383 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4384 (flyspell-default-deplacement-commands):
4385 * textmodes/ispell.el (ispell-accept-output):
4386 * textmodes/sgml-mode.el (html-tag-help):
4387 * vc/compare-w.el (compare-ignore-whitespace)
4388 (compare-ignore-case, compare-windows-dehighlight):
4389 * vc/diff.el (diff):
4390 * whitespace.el (whitespace-point)
4391 (whitespace-font-lock-refontify, whitespace-bob-marker)
4392 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4394 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4396 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4397 (auto-revert-notify-rm-watch): Ignore errors.
4398 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4399 inotify, and '(size last-write-time) for w32notify.
4400 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4401 watch fails - this is a fallback to the file modification check.
4402 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4403 (auto-revert-notify-event-action)
4404 (auto-revert-notify-event-file-name): New defuns.
4405 (auto-revert-notify-handler): Use them. Implement first
4406 plausibility checks.
4407 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4409 2013-01-11 Julien Danjou <julien@danjou.info>
4411 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4412 max are almost equal. Also return the correct value for V which is
4413 already between 0 and 1.
4415 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4417 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4419 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4421 * autorevert.el (auto-revert-notify-rm-watch)
4422 (auto-revert-notify-add-watch): Fix typos in w32notify function
4425 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4427 * autorevert.el (auto-revert-notify-enabled): Move up.
4428 (auto-revert-use-notify): New defcustom.
4429 (auto-revert-mode, global-auto-revert-mode)
4430 (auto-revert-notify-add-watch, auto-revert-handler)
4431 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4432 `auto-revert-notify-enabled'.
4434 2013-01-10 Elias Pipping <pipping@exherbo.org>
4436 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4437 * doc-view.el (doc-view-document->bitmap):
4438 Use doc-view-single-page-converter-function instead of
4439 single-page-converter arg; adjust callers.
4441 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4443 * progmodes/which-func.el (which-function): Understand Semantic's use
4444 of overlays in imenu--index-alist.
4446 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4448 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4449 (Man-man-k-use-anchor): New var.
4450 (Man-parse-man-k): New function.
4451 (Man-completion-table): Use it.
4452 (man): Flush the completion cache between uses.
4454 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4456 * autorevert.el: Add file watch support.
4457 (auto-revert-notify-enabled): New defconst.
4458 (auto-revert-notify-watch-descriptor-hash-list)
4459 (auto-revert-notify-watch-descriptor)
4460 (auto-revert-notify-modified-p): New defvars.
4461 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4462 (auto-revert-notify-handler): New defuns.
4463 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4464 when mode is disabled.
4465 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4466 (auto-revert-buffers): Add file watches for active buffers.
4468 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4470 * cus-start.el (toplevel): Only allow float values for
4471 scroll-up-aggressively and scroll-down-aggressively.
4472 Allow any number for line-spacing.
4474 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4477 (doc-view-pdf->png-converter-function): Use mupdf if available.
4478 (doc-view-djvu->png-converter-function)
4479 (doc-view-ps->png-converter-function): Remove.
4480 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4481 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4482 (doc-view-already-converted-p): Adjust accordingly.
4483 (doc-view-mode-p): Simplify.
4484 (doc-view-enlarge): Use setq-local.
4485 (doc-view-pdf->png-converter-ghostscript)
4486 (doc-view-djvu->png-converter-ddjvu)
4487 (doc-view-pdf->png-converter-mupdf): Rework to call
4488 doc-view-start-process directly.
4489 (doc-view-pdf/ps->png): Simplify accordingly.
4490 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4491 (doc-view-document->bitmap): Rename from doc-view-document->png.
4492 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4493 (doc-view-set-slice-from-bounding-box): Fix completion table.
4494 (doc-view-mode): Use add-hook for after-revert-hook.
4496 2013-01-10 Glenn Morris <rgm@gnu.org>
4498 * emacs-lisp/authors.el (authors-ignored-files)
4499 (authors-valid-file-names, authors-renamed-files-alist):
4500 Add some more entries.
4502 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4505 `t' pseudo-window entry.
4507 2013-01-10 Alan Mackenzie <acm@muc.de>
4509 Fix bugs in the c-parse-state mechanism. Reuse some markers
4510 instead of continually generating new ones.
4512 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4513 (c-state-old-cpp-end-marker): New variables.
4514 (c-append-lower-brace-pair-to-state-cache): Start a backward
4515 search for "}" definitively outside CPP constructs.
4516 (c-remove-stale-state-cache): Inform the caller of a need to
4517 search back for a brace pair in certain circumstances.
4518 (c-state-maybe-marker): New macro.
4519 (c-parse-state): Reuse markers when appropriate.
4521 2013-01-10 Glenn Morris <rgm@gnu.org>
4523 * simple.el (execute-extended-command): Doc fix.
4524 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4526 2013-01-10 Chong Yidong <cyd@gnu.org>
4528 * faces.el (read-face-name): Doc fix.
4530 2013-01-10 Roland Winkler <winkler@gnu.org>
4532 * emacs-lisp/crm.el: Allow any regexp for separators.
4533 (crm-default-separator): All spaces around the default comma separator.
4534 (crm--completion-command): New macro.
4535 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4536 (crm-complete-and-exit): Handle non-single-char separators.
4538 2013-01-09 Elias Pipping <pipping@lavabit.com>
4540 * doc-view.el: Add support for DjVu (bug#13164).
4541 (doc-view-djvu->png-converter-function): New config var.
4542 (doc-view-single-page-converter-function, doc-view--image-type)
4543 (doc-view--image-file-extension): New vars.
4544 (doc-view-mode): Initialize them.
4545 (doc-view-goto-page): Use them.
4546 (doc-view-mode-p): Add support for ddjvu.
4547 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4548 (doc-view-set-up-single-converter): New funs.
4549 (doc-view-pdf/ps->png): Extend for djvu.
4550 (doc-view-document->png): Rename from doc-view-pdf->png.
4551 (doc-view-convert-current-doc): Handle djvu.
4552 (doc-view-insert-image, doc-view-display)
4553 (doc-view-already-converted-p): Don't hardcode png.
4554 (doc-view-set-doc-type): Recognize djvu docs.
4556 2013-01-09 Elias Pipping <pipping@lavabit.com>
4558 * doc-view.el: Add support for mupdf converter (bug#13164).
4559 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4560 (doc-view-ps->png-converter-function): New config vars.
4561 (doc-view-pdf->png-converter-ghostscript)
4562 (doc-view-ps->png-converter-ghostscript)
4563 (doc-view-pdf->png-converter-mupdf): New functions.
4564 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4566 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4568 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4569 first in session cache: When `tramp-own-remote-path' is in
4570 `tramp-remote-path', the remote path is only set in the session
4573 2013-01-09 Glenn Morris <rgm@gnu.org>
4575 * emacs-lisp/trace.el (trace-function-foreground)
4576 (trace-function-background): Doc fix.
4578 2013-01-09 Juri Linkov <juri@jurta.org>
4580 * international/mule-cmds.el (read-char-by-name): Move let-binding
4581 of completion-ignore-case around completing-read to fix regression
4582 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4583 `string-match-p' using the nil value of `case-fold-search' and
4584 `completion-ignore-case' in `completion-pcm--all-completions'.
4587 2013-01-09 Glenn Morris <rgm@gnu.org>
4589 * progmodes/compile.el (compilation-parse-errors):
4590 Fix typo. (Bug#13369)
4592 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4594 * comint.el (comint-send-input): Check size of buffer before
4595 waiting for process output, in case already accepted. (Bug#13290)
4597 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4600 * net/tramp-adb.el (tramp-adb-get-toolbox):
4601 Fix misspelling of 'unknown'.
4603 2013-01-08 Juri Linkov <juri@jurta.org>
4605 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4606 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4607 Use underline style wave on terminals that support it. (Bug#13000)
4609 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4611 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4612 the predicate returns nil.
4614 * simple.el: Use lexical-binding.
4615 (primitive-undo): Use pcase.
4616 (minibuffer-history-isearch-push-state): Use a closure.
4618 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4620 * simple.el (primitive-undo): Move from undo.c.
4622 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4625 (cvs-mode-remove-handled): Use it (bug#13380).
4627 * emacs-lisp/nadvice.el (advice--tweak): New function.
4628 (advice--remove-function, advice--subst-main): Use it.
4630 * emacs-lisp/advice.el: Update commentary.
4632 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4635 Remove spurious entry.
4637 2013-01-08 Glenn Morris <rgm@gnu.org>
4639 * net/tramp.el (tramp-default-host-alist): Add :version.
4641 2013-01-08 Juri Linkov <juri@jurta.org>
4643 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4644 single completion. (Bug#12456)
4645 (info--manual-names): Expand node completions into an explicit list
4646 before appending it to another list. Filter out internal buffers
4647 with the leading space in the buffer name. (Bug#10771)
4649 2013-01-08 Juri Linkov <juri@jurta.org>
4651 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4652 that defaults to the Top node.
4653 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4654 the short format (FILENAME) goes to the Top node.
4655 (Info-build-node-completions): Rename arg `file' to `filename'.
4658 2013-01-07 Bastien Guerry <bzg@gnu.org>
4660 * menu-bar.el (menu-bar-search-documentation-menu):
4661 Use `apropos-user-option' and fix the help message.
4663 2013-01-07 Bastien Guerry <bzg@gnu.org>
4665 * apropos.el (apropos-do-all): Update docstring.
4666 (apropos-user-option-button): New face.
4667 (apropos-user-option): Rename from `apropos-variable' and update
4669 (apropos-variable): Rewrite, now show all variables by default.
4670 (apropos-print): Mention "User option" instead of "Variable" when
4671 printing doc for user options. (Bug#13276)
4673 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4675 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4676 Handle filename correctly, when parsing "source -> target" symlink
4678 (tramp-adb-handle-set-file-times): New defun.
4680 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4683 advice list when the interactive-spec of ad-Advice-* changes.
4685 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4687 * wid-edit.el (widget-default-get): Work for inlined elements.
4690 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4692 * net/tramp.el (tramp-default-host-alist): New defcustom.
4693 (tramp-find-host): Use it.
4694 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4695 `eshell-directory-change-hook'.
4697 * net/tramp-adb.el (top): Add adb specific entry in
4698 `tramp-default-host-alist'.
4699 (tramp-adb-file-name-host): Remove function.
4700 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4701 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4703 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4705 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4707 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4709 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4711 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4712 consist of more than one digit.
4713 (tramp-adb-file-name-handler-alist):
4714 Use `tramp-handle-file-exists-p' consistently.
4715 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4716 (tramp-adb-handle-file-exists-p): Remove function.
4717 (tramp-adb-file-name-host): New defun.
4718 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4720 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4722 2013-01-06 Chong Yidong <cyd@gnu.org>
4724 * vc/vc.el (vc-next-action): Detect buffer modifications
4725 conflicting with locking VCS operation (Bug#11490).
4727 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4729 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4731 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4732 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4734 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4736 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4737 parsing of ls output using regular expression (handle filenames
4738 with spaces). Use virtual device number.
4739 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4742 2013-01-04 Daiki Ueno <ueno@gnu.org>
4744 * epg.el: Silence byte-compiler warnings.
4745 (epg--start): Use delete-char instead of delete-backward-char.
4746 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4748 2013-01-04 Daiki Ueno <ueno@gnu.org>
4750 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4751 Suggested by Eli Zaretskii <eliz@gnu.org>.
4753 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4755 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4756 non-negative integers. Otherwise, the default values are used.
4757 (tramp-convert-file-attributes): Convert uid and gid to integers.
4759 2013-01-04 Glenn Morris <rgm@gnu.org>
4761 * term.el (term-handle-colors-array): Ensure face attributes
4762 are fully specified, not nil. (Bug#13337)
4764 * term.el (term-default-fg-color, term-default-bg-color):
4767 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4768 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4769 rather than 'jka-compr being loaded. (Bug#13338)
4771 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4773 * icomplete.el (icomplete-completions):
4774 Honor icomplete-prospects-height once more following
4775 2012-11-29 changes. (Bug#13224)
4777 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4780 of called-interactively-p as well (bug#13237).
4782 * view.el (view--enable, view--disable): Rename from view-mode-enable
4783 and view-mode-disable and assume it's called from view-mode.
4784 (view-mode-enable, view-mode-disable): Redefine as obsolete
4785 compatibility layer above view-mode.
4786 (view-mode-enter): Call `view-mode'.
4788 * files.el (after-find-file): Call `view-mode'.
4790 * doc-view.el (doc-view-scale-internally): New var.
4791 (doc-view-enlarge, doc-view-insert-image): Obey it.
4793 2013-01-03 Daiki Ueno <ueno@gnu.org>
4795 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4798 2013-01-03 Glenn Morris <rgm@gnu.org>
4800 * mail/rmail.el (rmail-set-header-1): Ignore case.
4801 Handle multi-line headers. (Bug#13330)
4803 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4804 Handle paragraph starting at beginning of buffer.
4806 * subr.el (eval-after-load): Don't purecopy the form, so that it
4807 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4809 * emacs-lisp/byte-run.el (defun): Place cl declarations
4810 after any interactive spec. (Bug#13265)
4812 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4814 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4815 defun. Don't check for DECL if DOCSTRING isn't a string.
4818 2013-01-02 Glenn Morris <rgm@gnu.org>
4820 * eshell/em-cmpl.el (eshell-pcomplete):
4821 More thoroughly imitate pcomplete. (Bug#13293)
4823 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4824 Return nil for empty path elements. (Bug#13296)
4826 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4828 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4829 order to improve efficiency (Based on Daniel Colascione's
4830 <dancol@dancol.org> patch). (Bug#13182)
4832 2013-01-02 Glenn Morris <rgm@gnu.org>
4834 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4836 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4838 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4839 neither DOCSTRING nor DECL was given. (Bug#13316)
4841 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4843 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4845 (tramp-do-copy-or-rename-file): Ignore errors when calling
4846 `set-file-extended-attributes'.
4848 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4849 Add handler for `file-acl'.
4850 (tramp-smb-handle-file-acl): New defun.
4852 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4854 * calc/README: Mention ISO 8601 week-numbering dates.
4856 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4858 * view.el (view-mode-enable): New argument run-view-mode-hook.
4859 Run view-mode-hook only when it's non-nil (Bug#13315).
4860 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4863 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4865 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4866 (No device connected, invalid device name). (Bug #13299)
4868 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4870 * window.el (window-resizable--p): Rename to window-resizable-p.
4871 (window-resize-no-error): New function.
4873 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4874 broken in fix from 2012-12-28.
4876 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * subr.el (special-form-p): Don't signal errors on undef aliases.
4880 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4882 * calc/calc-forms.el (math-parse-date): Try using
4883 `math-parse-iso-date' when it looks like it might be needed.
4884 Allow times of 24:00.
4885 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4888 2012-12-30 Glenn Morris <rgm@gnu.org>
4890 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4891 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4892 (rmail-summary-displayed, rmail-summary): Declare.
4893 (mairix-rmail-display): Just require rmail.
4895 2012-12-30 Chong Yidong <cyd@gnu.org>
4897 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4898 check for the tarball contents.
4900 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4902 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4903 tarfile content listings (Bug#13136).
4905 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4907 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4908 Insert the undecoded text of the message being forwarded. (Bug#9521)
4910 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4912 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4913 integers, if they are real numbers. (Bug#13282)
4915 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4916 Return `t' on success.
4918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4919 Add handler for `set-file-selinux-context'.
4921 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4923 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4924 (tramp-sh-handle-set-file-acl): Return `t' on success.
4926 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4928 * files.el (backup-buffer-copy, basic-save-buffer-2):
4929 If set-file-extended-attributes fails, fall back on set-file-modes
4930 instead of signaling an error. (Bug#13298)
4931 (basic-save-buffer): Likewise.
4933 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4935 * progmodes/python.el: Support other commands triggering
4936 python-indent-line so indentation cycling continues to work.
4937 (python-indent-trigger-commands): New defcustom.
4938 (python-indent-line): Use it.
4940 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4942 * progmodes/python.el (python-shell-send-region): Add blank lines
4943 for non sent code so backtraces remain correct.
4945 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4947 * progmodes/python.el: Remove cl dependency.
4948 (python-syntax-count-quotes): Replace incf call.
4949 (python-fill-string): Replace setf call.
4951 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4953 * info.el (info-other-window): New arg, for consistency with info.
4955 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4957 * mail/rmail.el (rmail-maybe-display-summary):
4958 Rewrite (Bug#13066).
4960 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4962 * epg.el (epg--start): Modify process-environment locally.
4964 2012-12-28 Daiki Ueno <ueno@gnu.org>
4966 * epg.el: Support pinentry-curses.
4967 Suggested by Werner Koch in
4968 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4969 (epg-agent-file, epg-agent-mtime): New variable.
4970 (epg--start): Record the modified time of gpg-agent socket file,
4971 to restore Emacs frame after pinentry-curses termination.
4972 (epg-wait-for-completion): Restore Emacs frame here.
4974 2012-12-27 Juri Linkov <juri@jurta.org>
4976 * info.el (Info-file-completions): New variable.
4977 (Info-read-node-name-1): Complete node names in the Info file
4978 when a file name is given. Call `Info-build-node-completions'
4980 (Info-build-node-completions): Add new arg `file'. When it is
4981 non-nil, visit it in a temporary buffer and cache its completions in
4982 `Info-current-file-completions'. Move most of the function body to
4983 `Info-build-node-completions-1'.
4984 (Info-build-node-completions-1): New function with the body from
4985 `Info-build-node-completions'. (Bug#12456)
4987 2012-12-27 Juri Linkov <juri@jurta.org>
4989 * frame.el (frame-maximization-style): Remove user option.
4990 (cycle-frame-maximized): Remove function.
4991 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4992 (toggle-frame-fullscreen): New command bound to <f11> instead of
4993 `toggle-frame-maximized'.
4994 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4996 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4998 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5000 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5001 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5002 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5003 for `file-accessible-directory-p'. (Bug#13275)
5005 2012-12-27 Sam Steingold <sds@gnu.org>
5007 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5008 continuations, see <http://stackoverflow.com/questions/3582436>.
5010 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5012 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5013 "module" and "def" to have indentation before them.
5014 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5016 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5018 2012-12-27 Alan Mackenzie <acm@muc.de>
5020 Speed up fontification where there's large brace blocks.
5021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5022 to a call of c-beginning-of-decl-1.
5024 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5026 * comint.el (comint-adjust-window-point): New function.
5027 (comint-postoutput-scroll-to-bottom):
5028 Call comint-adjust-window-point (Bug#13248).
5030 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5032 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5034 (auto-mode-alist): Associate .gemspec files with ruby-mode
5035 (https://bugs.ruby-lang.org/issues/5453).
5037 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
5039 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5040 Suppress coloring, if possible (required for BusyBox based systems like
5042 (tramp-adb-handle-file-attributes)
5043 (tramp-adb-handle-insert-directory)
5044 (tramp-adb-handle-file-name-all-completions): Use it.
5045 (tramp-adb-get-toolbox): New defun. Check for remote shell
5046 implementation (BusyBox or Toolbox).
5048 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5050 * startup.el (initial-buffer-choice): Allow function as value
5052 (command-line-1): Handle case where initial-buffer-choice
5053 specifies a function.
5054 * server.el (server-execute): Handle case where
5055 initial-buffer-choice specifies a function.
5057 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5059 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5061 (smtpmail-try-auth-methods): Forget the user name/password if the
5062 login is unsuccessful (bug#12424).
5064 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5066 * notifications.el (notifications-notify): Protect body with
5067 `with-demoted-errors'.
5069 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5070 Check properties of remote device. Restart connection, if there is a
5073 2012-12-21 Chong Yidong <cyd@gnu.org>
5075 * sort.el (sort-subr): Doc fix (Bug#13056).
5077 2012-12-21 Bastien Guerry <bzg@gnu.org>
5079 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5081 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5083 * simple.el (process-file): Overwrite stderr file, if exists.
5085 2012-12-21 Daiki Ueno <ueno@gnu.org>
5087 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5088 (epg-error): Set `error-message' property.
5090 2012-12-21 Chong Yidong <cyd@gnu.org>
5092 * international/mule-cmds.el (read-char-by-name): Signal an error
5093 if the user does not supply a valid character (Bug#13177).
5095 * simple.el (transpose-subr-1): Preserve marker positions by
5096 changing the insertion sequence (Bug#13122).
5098 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5100 * simple.el (kill-region): Deactivate mark even for empty regions
5103 2012-12-21 Chong Yidong <cyd@gnu.org>
5105 * help-fns.el (describe-variable): Make sure we get the right
5106 buffer name (Bug#13105). Suggested by Kelly Dean.
5108 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5110 * comint.el (comint-redirect-previous-input-string): New variable.
5111 (comint-redirect-setup, comint-redirect-cleanup)
5112 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5113 (comint-redirect-preoutput-filter): Fix verbose message.
5115 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5117 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5118 is too long for Tramp. See discussion in
5119 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5121 * progmodes/compile.el (compilation-start): Remove line escape
5124 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5126 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5129 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5131 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5132 following non-comment text (bug#13207).
5133 (lm-header-multiline): Continuation lines need to be indented more than
5135 (lm-homepage): New function.
5136 (lm-with-file): Don't be confused if narrowing is in effect.
5138 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5141 very beginning of a hunk (e.g. killing the first line).
5143 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5145 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5146 and text properties from returned ACL string.
5147 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5148 for "setfacl" command.
5150 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5152 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5153 `tramp-cleanup-this-connection', when the process has died.
5156 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5158 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5160 2012-12-17 Kevin Ryde <user42@zip.com.au>
5162 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5164 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5166 Add support for preserving ACL entries of files.
5168 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5169 `set-file-acl' handlers.
5171 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5172 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5174 * net/tramp-compat.el (tramp-compat-copy-file):
5175 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5177 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5178 Add `file-acl' and `set-file-acl' handlers.
5179 (tramp-gvfs-handle-copy-file):
5180 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5181 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5184 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5185 Add `file-acl' and `set-file-acl' handlers.
5186 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5187 (tramp-sh-handle-set-file-acl): New defuns.
5188 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5189 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5191 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5192 Add `file-acl' and `set-file-acl' handlers.
5193 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5195 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5197 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5198 use pop-to-buffer with NORECORD argument t. As buffer name, use
5199 *Metahelp* with a leading space (Bug#13190).
5201 2012-12-16 Romain Francoise <romain@orebokech.com>
5203 * files.el (file-extended-attributes)
5204 (set-file-extended-attributes): New functions.
5205 (backup-buffer): Use them to handle both SELinux context and ACL
5207 (backup-buffer-copy): Work with an alist of extended attributes,
5208 rather than an SELinux context.
5209 (basic-save-buffer-2): Ditto.
5211 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5213 * battery.el (battery-bsd-apm): New function.
5215 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5217 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5218 standard date formats.
5220 2012-12-15 Juri Linkov <juri@jurta.org>
5222 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5223 `isearch-insert-char-by-name'.
5224 (with-isearch-suspended): New defmacro with body mostly from
5225 `isearch-edit-string' except the part that sets
5226 `isearch-new-string' and `isearch-new-message'.
5227 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5228 body that sets `isearch-new-string' and `isearch-new-message'.
5229 (isearch-insert-char-by-name): New command.
5230 * international/mule-cmds.el (read-char-by-name): Let-bind
5231 `enable-recursive-minibuffers' to t.
5232 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5234 2012-12-15 Juri Linkov <juri@jurta.org>
5236 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5239 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5241 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5242 the prompt. (Bug#13045)
5244 2012-12-14 Glenn Morris <rgm@gnu.org>
5246 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5247 Try to include filename in non-bytecomp warning. (Bug#13132)
5249 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5251 Fix permissions bugs with setgid directories etc. (Bug#13125)
5252 * files.el (backup-buffer): Don't rely on 9th output of
5253 file-attributes, as it's now a placeholder. Instead, use the new
5254 optional arg of file-ownership-preserved-p.
5255 (file-ownership-preserved-p): New optional arg GROUP.
5256 Fix mishandling of setuid directories that would cause this
5257 function to return t when it should have returned nil.
5258 Document what happens if the file does not exist, and when
5259 it's not known whether the ownership will be preserved.
5260 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5262 (tramp-get-local-gid): Use group-gid for integer, as that's
5263 faster and more reliable.
5265 2012-12-14 Julien Danjou <julien@danjou.info>
5267 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5268 Update keywords list, data type and PL/pgSQL.
5270 2012-12-14 Dave Abrahams <dave@boostpro.com>
5272 * vc/ediff-util.el (ediff-buffer-type): New function.
5273 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5274 rather than taking it as as argument.
5275 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5277 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5279 * json.el: Add pretty-print option (bug#12634).
5280 (json-encoding-separator, json-encoding-default-indentation)
5281 (json--encoding-current-indentation, json-encoding-pretty-print)
5282 (json-encoding-lisp-style-closings): New vars.
5283 (json--with-indentation): New macro.
5284 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5285 (json-encode-array): Use it to obey json-encoding-pretty-print.
5286 (json-pretty-print-buffer, json-pretty-print): New commands.
5288 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5290 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5291 Extract `ruby-syntax-propertize-expansions'.
5292 (ruby-syntax-propertize-expansions): Only change syntax on
5293 certain string delimiters, to punctuation. This way the common
5294 functions like forward-word and thing-at-point still work.
5295 (ruby-match-expression-expansion): Improve readability.
5296 (ruby-block-contains-point): New function.
5297 (ruby-add-log-current-method): Handle several edge cases.
5299 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5301 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5302 unload-feature finishes even when aborting an ongoing edebug session.
5303 Also, do not worry about edebug-mode, unload-feature takes care of it.
5305 2012-12-13 Andreas Schwab <schwab@suse.de>
5307 * net/tls.el (tls-program): Update customize type.
5309 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5311 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5312 (edebug-setup-hook, cl-read-load-hooks): Use it.
5313 (edebug-unload-function): New function. (Bug#13163)
5315 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5317 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5318 Otherwise, there could be errors in autoloading. (Bug#13151)
5320 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5322 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5325 2012-12-13 Alan Mackenzie <acm@muc.de>
5327 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5328 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5329 around `forward-comment' not recognizing ^M as whitespace.
5331 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5333 * progmodes/python.el (python-skeleton-class)
5334 (python-skeleton-def): Do not add space after defun name.
5336 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5339 (cl--symbol-function): Remove (now that funbound is like nil).
5341 2012-12-12 Glenn Morris <rgm@gnu.org>
5343 * button.el (button--area-button-p): Fix typo.
5345 2012-12-12 Sam Steingold <sds@gnu.org>
5347 * frame.el (frame-maximization-style): New user option.
5348 (toggle-frame-maximized): Toggle frame maximization according to
5349 `frame-maximization-style', bound to <f11>.
5350 (cycle-frame-maximized): Cycle between all maximization styles and
5351 non-maximized frame, bound to shift-<f11>.
5353 2012-12-12 David Cadé <codename68@gmail.com>
5355 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5357 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5359 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5360 (eieio-override-prin1): Don't quote kewords and booleans.
5361 (object-write) <eieio-default-superclass>: Don't put closing parens
5362 on new line, avoid needless empty lines, align values that are objects
5363 with the slot keyword (instead of beginning on the same line).
5364 (eieio-list-prin1): Align value with slot keyword; increase
5365 eieio-print-depth before printing members of the list.
5367 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5370 a display text-property.
5371 (report-emacs-bug-hook): Don't bother deleting it any more.
5373 * hilit-chg.el (highlight-save-buffer-state): Delete.
5374 Use with-silent-modifications instead.
5375 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5377 * button.el: Handle buttons in display text-properties.
5378 (button--area-button-p, button--area-button-string):
5379 Use (STRING . STRING-POS) representation instead of just STRING.
5381 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5383 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5384 subdirectory be skipped.
5386 2012-12-11 Glenn Morris <rgm@gnu.org>
5388 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5390 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5391 Treat preprocessor lines embedded in continuations like comments.
5392 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5394 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5396 * calc/calc.el (calc-standard-date-formats): Add more date
5398 * calc/calc-forms.el (math-parse-iso-date): New function.
5399 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5400 (math-parse-iso-date-validate): Add extra error checking.
5401 (calc-date-notation): Add ability to access new date formats.
5403 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5406 font-lock as well as when there's no text-property.
5408 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5410 * hi-lock.el: Refine the choice of default face.
5411 (hi-lock-keyword->face): New function. Use it wherever we used
5413 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5414 (hi-lock--last-face): Remove var.
5415 (hi-lock--unused-faces): New var to replace it.
5416 (hi-lock-read-face-name): Use/maintain it.
5417 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5418 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5419 if it has another face.
5421 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5423 * subr.el (w32notify-handle-event): New function.
5424 (inotify-handle-event): Doc fix.
5426 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5428 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5430 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5432 * simple.el (just-one-space): Doc fix.
5434 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5436 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5438 2012-12-10 Le Wang <l26wang@gmail.com>
5440 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5441 narrowed buffer (bug#12361).
5443 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5445 * vc/vc-hooks.el (vc-state): Doc fix.
5447 2012-12-10 Glenn Morris <rgm@gnu.org>
5449 * mail/rmail.el (rmail-maybe-display-summary):
5450 Preserve buffer, in case select-window changes it. (Bug#13066)
5452 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5455 cl-load-hook where they belong.
5457 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5459 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5461 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5463 Parallelize byte compilation on MS-Windows.
5464 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5465 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5466 (WINS_BASIC): Define as concatenation of the above.
5467 (compile): Subdivide into 4 separate and independent jobs that can
5469 (compile0-CMD, compile0-SH): New targets for compiling
5470 COMPILE_FIRST files, which are prerequisites for the rest of the
5472 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5473 New targets for parallel compilation with cmd.exe.
5474 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5475 compiling under a Unixy shell.
5477 2012-12-09 Chong Yidong <cyd@gnu.org>
5479 * simple.el (set-mark-default-inactive): Delete this
5480 accidentally-introduced option.
5481 (set-mark-command, exchange-point-and-mark): Remove calls.
5483 2012-12-09 Glenn Morris <rgm@gnu.org>
5485 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5486 Respect a defcustom's :set function, if appropriate. (Bug#109)
5487 (eval-defun): Doc fix.
5489 2012-12-08 Juri Linkov <juri@jurta.org>
5491 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5492 (Info-fontify-node, Info-bookmark-make-record): Remove the
5493 file extension from Info-current-file (Bug#13016).
5495 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5497 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5498 point, still provide some default.
5499 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5500 names, since we don't use it right now. Actually return the list.
5501 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5503 2012-12-07 Chong Yidong <cyd@gnu.org>
5505 * novice.el (disabled-command-function): Remove a spurious help
5506 xref (Bug#13043). Suggested by Kelly Dean.
5508 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5509 syntax is specified (Bug#13025).
5511 * info.el (Info-set-mode-line): Remove the file extension from
5512 Info-current-file if there is one (Bug#13016).
5514 2012-12-07 Glenn Morris <rgm@gnu.org>
5516 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5517 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5518 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5519 and rmail-mime-decoded. (Bug#9841)
5521 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5522 (batch-unrmail, unrmail): Doc fixes.
5523 (unrmail): Respect unrmail-mbox-format.
5524 * mail/rmail.el (rmail-mbox-format): New option.
5525 (rmail-show-message-1): Respect rmail-mbox-format.
5527 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5529 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5531 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5533 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5534 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5535 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5536 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5537 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5538 (cl-progv): Don't rely on dynamic scoping to find the body.
5539 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5540 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5541 (cl-declaim): Use backquotes.
5542 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5543 Use "cl--" prefix for the object's tag.
5545 * ses.el: Use advice-add/remove.
5546 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5547 (copy-region-as-kill, yank): Use advice-add.
5548 (ses-unload-function): Use advice-remove.
5550 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5552 * button.el: Make them work in header-lines (bug#12817).
5553 (button-map): Add bindings for header-line and mode-line use.
5554 (button-get, button-put, button-label): `button' may now be a string.
5555 (button-activate): Don't make it a defsubst.
5556 (button--area-button-p, button--area-button-string): New functions.
5557 (make-text-button): Fix the return value when `beg' was a string.
5558 (push-button): Handle the mode-line case.
5560 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5563 (sql-signum): Remove. Use `cl-signum' instead.
5564 (sql-read-passwd): Remove; use read-passwd instread.
5565 (sql-get-login-ext): Use read-string.
5566 (sql-get-login): Use dolist and pcase.
5567 (sql--completion-table): Rename from sql-try-completion.
5568 Use complete-with-action.
5569 (sql-mode): Don't change abbrev-all-caps globally.
5570 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5571 (sql-postgres-completion-object): Initialize vars in their `let'.
5572 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5573 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5574 (sql-comint-interbase): Use a single append, without setq.
5575 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5577 * hi-lock.el: Rework the default face and the serialize regexp code.
5578 (hi-lock--auto-select-face-defaults): Remove.
5579 (hi-lock-string-serialize-serial): Remove.
5580 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5582 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5584 (hi-lock-set-pattern): Adjust accordingly.
5585 (hi-lock--regexps-at-point): Simplify accordingly.
5586 (hi-lock--auto-select-face-defaults): Remove.
5587 (hi-lock--last-face): New var to replace it.
5588 (hi-lock-read-face-name): Rewrite (bug#11095).
5589 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5591 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5593 * net/tramp.el (tramp-replace-environment-variables):
5594 Hide compiler warning.
5595 (tramp-file-name-for-operation): Remove `executable-find',
5596 `start-process', `call-process' and `call-process-region'.
5598 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5600 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5603 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5605 2012-12-06 Chong Yidong <cyd@gnu.org>
5607 * ffap.el (ffap-replace-file-component): Fix typo.
5609 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5612 fix open-paren-like token test (bug#12785).
5614 2012-12-06 Glenn Morris <rgm@gnu.org>
5616 * mail/rmailsum.el (rmail-new-summary): Tweak for
5617 rmail-maybe-display-summary changing buffer. (Bug#13066)
5619 2012-12-06 Juri Linkov <juri@jurta.org>
5621 * info.el (Info-fontify-node): Don't hide the last newline.
5624 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5626 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5627 so as to enable message-read-from-minibuffer to expand mail aliases.
5629 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5631 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5632 the `intangible' property.
5633 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5635 2012-12-05 Deniz Dogan <deniz@dogan.se>
5637 * net/rcirc.el (rcirc-urls): Update documentation.
5638 (rcirc-condition-filter): New function.
5639 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5640 and exclude consecutive duplicate URLs (Bug#6082).
5642 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5644 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5645 Check return code of copy command.
5647 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5648 Use group `tramp'. Add version.
5650 2012-12-05 Chong Yidong <cyd@gnu.org>
5652 * ffap.el (ffap-url-regexp): Don't require matching at front of
5654 (ffap-url-p): If only a substring matches, return that.
5655 (ffap-url-at-point): Use the return value of ffap-url-p.
5656 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5657 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5658 (ffap-guess-file-name-at-point): Likewise.
5659 (ffap-replace-file-component): Fix typo.
5661 * info.el (info-display-manual): Add existing Info buffers, whose
5662 files may not be in Info-directory-list, to the completion.
5663 (info--manual-names): New helper function.
5665 2012-12-05 Glenn Morris <rgm@gnu.org>
5667 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5668 New functions, for detecting and resolving conflicts. (Bug#10709)
5670 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5672 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5673 (hi-lock-auto-select-face-defaults): New buffer local variable.
5674 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5675 (hi-lock-unface-buffer): Prompt user with useful defaults.
5676 With prefix arg, unhighlight all hi-lock patterns in buffer.
5678 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5680 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5682 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5684 * Makefile.in (TRAMP_SRC):
5685 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5687 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5689 * net/tramp-adb.el: New package.
5691 2012-12-04 Chong Yidong <cyd@gnu.org>
5693 * terminal.el: Move to obsolete/.
5695 * longlines.el: Move to obsolete/.
5697 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5698 Remove code referring to longlines mode.
5700 2012-12-03 Juri Linkov <juri@jurta.org>
5702 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5704 2012-12-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
5706 * textmodes/ispell.el (ispell-init-process)
5707 (ispell-start-process, ispell-internal-change-dictionary):
5708 Make sure personal dictionary name is expanded after initial
5709 `default-directory' value. Use expanded strings for
5710 keep/restart checks and for value (Bug#13019).
5712 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5714 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5716 2012-12-03 Leo Liu <sdl.web@gmail.com>
5718 * files.el (dir-locals-read-from-file): Check file non-empty
5719 before reading. (Bug#13038)
5721 2012-12-03 Glenn Morris <rgm@gnu.org>
5723 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5724 Remove any version extension before checking filename. (Bug#13006)
5725 (jka-compr-compression-info-list): Belated :version bump.
5727 2012-12-03 Chong Yidong <cyd@gnu.org>
5729 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5731 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5732 (buffer-menu): Doc fix (Bug#12294).
5734 2012-12-03 Roland Winkler <winkler@gnu.org>
5736 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5737 of diary-show-all-entries in the diary buffer (Bug#12994).
5739 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5741 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5742 "<STDIN>". This is binary safe.
5744 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5746 * calc/calc-forms.el (math-absolute-from-iso-dt)
5747 (math-date-to-iso-dt, math-parse-iso-date-validate)
5748 (math-iso-dt-to-date): New functions.
5749 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5750 (math-fd-isoweekday): New variables.
5751 (calc-date-notation, math-parse-standard-date, math-format-date)
5752 (math-format-date-part): Add support for more formatting codes.
5754 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5756 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5757 current buffer's file name when called interactively (Bug#12488).
5759 2012-12-02 Juri Linkov <juri@jurta.org>
5761 * info.el (info-display-manual): Don't clobber an existing Info
5762 buffer (Bug#10770). Add completion (Bug#10771).
5764 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5766 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5767 before using it for comparison (Bug#5297).
5769 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5771 * textmodes/css-mode.el (css-current-defun-name): New function.
5774 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5775 (html-mode): Use it.
5777 2012-12-01 Chong Yidong <cyd@gnu.org>
5779 Modularize add-log-current-defun (Bug#2224).
5780 Suggested by Jari Aalto.
5782 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5783 (add-log-current-defun): Move mode-specific code to other files.
5784 (add-log-lisp-like-modes, add-log-c-like-modes)
5785 (add-log-tex-like-modes): Variables deleted.
5787 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5788 (lisp-mode-variables): Use it.
5790 * progmodes/cc-mode.el (c-common-init):
5791 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5792 add-log-current-defun-function.
5794 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5797 * progmodes/perl-mode.el (perl-current-defun-name): New.
5798 (perl-mode): Use it.
5800 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5801 Use lisp-current-defun-name.
5803 * textmodes/tex-mode.el (tex-current-defun-name): New.
5804 (tex-common-initialization): Use it.
5806 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5807 (texinfo-mode): Use it.
5809 2012-12-01 Chong Yidong <cyd@gnu.org>
5811 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5812 * progmodes/autoconf.el (autoconf-mode):
5813 * progmodes/js.el (js-mode):
5814 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5815 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5816 * progmodes/perl-mode.el (perl-mode):
5817 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5818 * textmodes/css-mode.el (css-mode):
5819 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5820 (sgml-tags-invisible, sgml-guess-indent):
5821 * textmodes/tex-mode.el (tex-common-initialization)
5822 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5823 (doctex-mode, plain-tex-mode, latex-mode):
5824 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5826 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5828 * vc/vc-hg.el (vc-hg-next-revision):
5829 Ensure use of default "tip" output format. (Bug#6968)
5831 2012-12-01 Kim F. Storm <storm@cua.dk>
5833 * startup.el (fancy-startup-tail): Add a clickable link
5836 2012-12-01 Chong Yidong <cyd@gnu.org>
5838 * startup.el (fancy-startup-tail): Improve the message about
5839 auto-save files (Bug#2176).
5841 * files.el (recover-session): Improve the descriptive message, and
5842 use substitute-command-keys.
5844 2012-12-01 Glenn Morris <rgm@gnu.org>
5846 * ido.el (ido-file-internal):
5847 Handle other-window, other-frame for dired. (Bug#13036)
5849 2012-11-30 Glenn Morris <rgm@gnu.org>
5851 * icomplete.el (icomplete-separator): Fix :version.
5853 2012-11-30 Chong Yidong <cyd@gnu.org>
5855 * shell.el (shell): For C-u M-x shell, use an inactive shell
5856 buffer as the default (Bug#1975).
5857 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5858 (shell-mode): Use them to reapply ansi colorization if Shell mode
5861 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5863 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5865 2012-11-30 Samuel Bronson <naesten@gmail.com>
5867 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5868 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5870 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5872 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5873 by move-to-column (Bug#3234).
5875 2012-11-30 Chong Yidong <cyd@gnu.org>
5877 * longlines.el (longlines-wrap-line, longlines-encode-region):
5878 Preserve text properties (Bug#1425).
5880 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5882 * vc/vc.el (vc-register): Allow registering a file which is
5883 already registered with a different backend (Bug#10589).
5885 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5886 Stefan Monnier <monnier@iro.umontreal.ca>
5888 * icomplete.el: Change separator; add ido-style commands.
5889 (icomplete-show-key-bindings): Remove custom var.
5890 (icomplete-get-keys): Remove function.
5891 (icomplete-forward-completions, icomplete-backward-completions):
5893 (icomplete-minibuffer-map): New var.
5894 (icomplete-minibuffer-setup): Use it.
5895 (icomplete-exhibit): Don't delay if the list of completions is known.
5896 (icomplete-separator): New custom.
5897 (icomplete-completions): Use it.
5898 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5899 (minibuffer-force-complete-and-exit): New command.
5900 (minibuffer--complete-and-exit): New function extracted from
5901 minibuffer-complete-and-exit.
5902 (minibuffer-complete-and-exit): Use it.
5904 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5905 error message when the file doesn't exist (bug#12974).
5907 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5909 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5911 2012-11-29 Glenn Morris <rgm@gnu.org>
5913 * files.el (hack-dir-local-variables): Warn if try to set
5914 coding via dir-locals, since it doesn't work. (Bug#7169)
5916 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5917 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5918 Set buffer-local value of desktop-save-buffer.
5919 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5921 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5922 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5924 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5925 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5927 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5930 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5932 * calc/calc-forms.el (calc-date-notation): Fix regexp
5933 used to find time codes. Fix symbol for seconds.
5935 2012-11-27 Glenn Morris <rgm@gnu.org>
5937 * emacs-lisp/derived.el (derived-mode-make-docstring):
5938 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5940 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5942 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5943 lexically scoped variables (bug#13005).
5945 2012-11-27 Glenn Morris <rgm@gnu.org>
5947 * vc/vc-hooks.el (vc-mistrust-permissions):
5948 Default to t, to avoid data-loss. (Bug#11490)
5950 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5952 * progmodes/python.el (python-indent-guess-indent-offset):
5953 If indentation is guessed make python-indent-offset buffer-local.
5955 Fix Imenu regression.
5956 * progmodes/python.el (python-nav-beginning-of-defun):
5957 Fix forward movement when statement(s) separates point from defun.
5958 (python-imenu-prev-index-position): New function.
5960 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5962 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5964 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5965 Don't set buffer-file-type. Return nil. (Bug#12989)
5967 2012-11-27 Glenn Morris <rgm@gnu.org>
5969 * hippie-exp.el (hippie-expand-try-functions-list):
5970 Re-autoload it. (Bug#12982)
5972 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5974 * descr-text.el (describe-char-padded-string):
5975 Call internal-char-font only on GUI frames. (Bug#11964)
5977 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5979 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5980 and obsoletion message.
5982 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5985 the constructs to keep outside of the `cl-block' (bug#12977).
5987 2012-11-27 Chong Yidong <cyd@gnu.org>
5989 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5990 keep reading until we get the up-event anyway, in order to process
5991 the up-event for mouse-1-click-follows-link (Bug#12971).
5993 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5995 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5996 base function is not yet defined (bug#12965).
5997 (ad-activate-advised-definition): Use ad-compile-function.
5998 (ad-activate): Use cond.
6000 2012-11-25 Leo Liu <sdl.web@gmail.com>
6002 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6005 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6007 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6008 reftex-section-info-function in order to be compatible with
6009 Texinfo integration.
6011 * textmodes/reftex.el (reftex-section-pre-regexp)
6012 (reftex-section-post-regexp, reftex-section-info-function):
6014 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6015 reftex-section-post-regexp, and reftex-section-info-function in order
6016 to be compatible with Texinfo integration.
6018 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6019 use reftex-section-pre-regexp variable in order to be compatible with
6020 Texinfo integration.
6022 2012-11-25 Chong Yidong <cyd@gnu.org>
6024 * faces.el: Make face-spec-set more analogous to setq.
6025 (face-spec-set): Change the third arg to specify whether this
6026 function is being called via defface, customize, or a third party.
6027 Set the appropriate symbol properties. Clear the override spec if
6028 setting via Custom. Initialize face if necessary. (Bug#4988)
6029 (face-spec-recalc): Allow theme faces to completely replace the
6030 defface spec, in the same way as custom faces (Bug#8454).
6032 * cus-face.el (custom-declare-face): Move face initialization to
6034 (custom-theme-set-faces): Don't initialize the face name here, as
6035 that is now done in face-spec-set.
6037 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6038 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6039 Simplify by using the new arg to face-spec-set.
6041 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6042 reset face-override-spec too, and use custom-declare-face.
6044 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6046 * term/ns-win.el (ns-initialize-window-system): Move creation of
6047 fontsets here (Bug#11964).
6049 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6051 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6054 2012-11-24 Chong Yidong <cyd@gnu.org>
6056 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6059 * custom.el (custom-theme-set-variables): Use a topological sort
6060 for ordering by custom dependencies (Bug#12952).
6061 (custom--sort-vars, custom--sort-vars-1): New functions.
6063 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6066 lexical-binding (bug#12938).
6068 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6070 * image-mode.el (image-transform-check-size): Use assertions only
6071 for images of type imagemagick.
6073 Otherwise no error, image-transform-fit-to-{width,height} is
6074 silently ignored, as before. Doc fix.
6076 2012-11-24 Chong Yidong <cyd@gnu.org>
6078 * faces.el (color-defined-p): Doc fix (Bug#12853).
6080 2012-11-24 Juri Linkov <juri@jurta.org>
6082 * dired.el (dired-mark): Add optional arg `interactive'.
6083 Check for `use-region-p' if `interactive' is non-nil.
6084 (dired-unmark, dired-flag-file-deletion): Add optional arg
6085 `interactive'. Call `dired-mark' with the arg `interactive'.
6088 * wdired.el: Revert 2012-10-17 change partly and replace it with
6089 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6090 (wdired-finish-edit): Add marks for new file names to
6091 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6092 after `revert-buffer'.
6093 (wdired-do-renames): Remove calls to `dired-remove-file',
6094 `dired-add-file', `dired-add-entry'. (Bug#11795)
6096 2012-11-24 Alan Mackenzie <acm@muc.de>
6098 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6100 Fix bugs in the state cache. Enhance a debugging mechanism.
6101 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6102 "brace at column zero" strategy for C++.
6103 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6104 (c-parse-state-point): New variable.
6105 (c-record-parse-state-state): Record old parse state with
6106 `copy-tree'. Record previous value of point.
6107 (c-debug-parse-state-double-cons): New debugging function.
6108 (c-debug-parse-state): Call the above new function.
6109 (c-toggle-parse-state-debug): Output a confirmatory message.
6111 * progmodes/cc-mode.el (c-before-change, c-after-change):
6112 Call c-invalidate-state-cache from `c-before-change' instead of
6115 2012-11-23 Chong Yidong <cyd@gnu.org>
6117 * find-cmd.el (find-constituents): Add executable, ipath,
6118 readable, samefile, writable, daystart, regextype (Bug#12856).
6120 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6122 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6124 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6126 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6127 definition. This fixes a bootstrap failure.
6128 (calc-gregorian-switch): In menu, put dates before regions.
6129 This is easier to follow, lines up better in the menu, and lets us
6130 coalesce regions that switch at the same time. Give country
6131 names, not "Vatican", as that's better for non-expert users.
6132 Use names that are stable between the date of switch and now, e.g.,
6133 Bohemia and Moravia (which existed then and now) and not
6134 Czechoslovakia (which didn't exist then and doesn't exist now).
6135 What is now the U.S. mostly did not switch at the same time as
6136 Britain, so omit the U.S. Correct spelling of "Britain".
6137 Catholic Switzerland was too much of a mess, so omit it.
6139 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6141 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6142 after the variable is changed.
6144 2012-11-21 Daniel Colascione <dancol@dancol.org>
6146 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6147 in SQL declarations for font-lock.
6148 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6150 2012-11-21 Glenn Morris <rgm@gnu.org>
6152 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6153 (face-italic-p): Add optional argument "inherit".
6155 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6156 Remove -p suffix from names, for consistency with other set-face-*.
6157 (set-face-inverse-video): Fix interactive spec.
6158 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6159 * textmodes/table.el (table--update-cell-face):
6160 Use set-face-inverse-video rather than now obsolete alias.
6162 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6164 * simple.el (line-move): Don't call line-move-partial if
6165 scroll-conservatively is in effect. (Bug#12927)
6167 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6170 Fallback on completion-at-point rather than
6171 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6172 (eshell-cmpl-initialize): Setup completion-at-point.
6174 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6176 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6178 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6180 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6181 are remote, check out-of-band property for both.
6183 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6188 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6190 More minor time fixes.
6191 * calendar/time-date.el: Commentary fix.
6192 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6193 too much other code depends on (0 0) time stamps.
6194 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6195 Add a couple of FIXME comments.
6197 Minor cleanup for times as lists of four integers.
6198 * files.el (dir-locals-directory-cache):
6199 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6201 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6202 * ps-bdf.el (bdf-file-newer-than-time):
6203 Process four-integers time stamps, not two. Doc fixes.
6205 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6207 * uniquify.el (uniquify-managed): Use defvar-local.
6208 (rename-buffer, create-file-buffer): Advise with advice-add.
6209 (uniquify-unload-function): Unadvise accordingly.
6211 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6212 (trace-buffer): Don't purecopy.
6213 (trace-entry-message, trace-exit-message): Add `context' arg.
6214 (trace--timer): New var.
6215 (trace-make-advice): Adjust for use in nadvice.
6216 Add `context' argument. Delay `display-buffer' via a timer.
6217 (trace-function-internal): Use advice-add.
6218 (trace--read-args): New function.
6219 (trace-function-foreground, trace-function-background): Use it.
6220 (trace-function): Rename to trace-function-foreground and redefine as
6221 an alias to that new name.
6222 (untrace-function, untrace-all): Adjust to the use of nadvice.
6224 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6226 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6228 * subr.el (called-interactively-p-functions): New var.
6229 (internal--called-interactively-p--get-frame): New macro.
6230 (called-interactively-p, interactive-p): Rewrite in Lisp.
6231 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6232 (called-interactively-p-functions): Use it.
6233 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6234 (called-interactively-p-functions): Use it.
6235 * allout.el (allout-called-interactively-p): Don't assume
6236 called-interactively-p is a subr.
6238 2012-11-20 Glenn Morris <rgm@gnu.org>
6240 * profiler.el (profiler-report-mode-map): Add a menu.
6241 No need to bind `q' because we derive from special-mode.
6242 (profiler-report-find-entry): Handle calls from the menu-bar.
6244 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6246 * emacs-lisp/byte-run.el (defun-declarations-alist):
6247 Allow a compiler-macro to be a lambda expression.
6249 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6251 (python-syntax-context): Add compiler-macro.
6252 (python-font-lock-keywords): Simplify with De Morgan.
6254 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6256 * files.el (load-file): Require match in minibuffer selection, as was
6257 the case in Emacs-20 before we changed the spec to allow .elc files
6260 * json.el: Don't require cl since we don't use it.
6261 * color.el: Don't require cl.
6262 (color-complement): `caddr' -> `nth 2'.
6264 * calendar/time-date.el (time-to-seconds): De-obsolete.
6266 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6268 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6270 (math-date-to-julian-dt): Adjust the initial approximation for the
6271 year to deal with the new definition of the DATE.
6273 2012-11-19 Daniel Colascione <dancol@dancol.org>
6275 * term/w32-win.el (cygwin-convert-path-from-windows):
6276 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6278 2012-11-18 Chong Yidong <cyd@gnu.org>
6280 * filecache.el (file-cache--read-list): New function.
6281 (file-cache-add-directory-list, file-cache-add-file-list)
6282 (file-cache-delete-file-list, file-cache-delete-directory-list):
6283 Use it to read a list of files or directories (Bug#12846).
6284 (file-cache-add-file, file-cache-add-directory)
6285 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6286 (file-cache-delete-directory): Print an message.
6288 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6290 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6291 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6293 2012-11-18 Glenn Morris <rgm@gnu.org>
6295 * image.el (insert-image, insert-sliced-image): Doc fix.
6297 2012-11-18 Chong Yidong <cyd@gnu.org>
6299 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6302 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6304 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6305 response when the target file is in a subdirectory (Bug#12757).
6307 2012-11-18 Chong Yidong <cyd@gnu.org>
6309 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6311 2012-11-18 Glenn Morris <rgm@gnu.org>
6313 * emacs-lisp/cl-lib.el (face-underline-p):
6314 Use set-face-underline rather than the alias set-face-underline-p.
6316 * window.el (with-temp-buffer-window): Doc fix.
6317 * subr.el (with-output-to-temp-buffer):
6318 Add doc xref to with-temp-buffer-window.
6320 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6322 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6323 * calc/calc.el (math-format-date-cache): Declare.
6325 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6327 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6328 It also uses January 1, 1 AD as its day number 1.
6329 * calc/calc-forms.el (math-julian-date-beginning)
6330 (math-julian-date-beginning-int): Implement this.
6332 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6334 * descr-text.el (quail-find-key):
6335 * dired.el (desktop-file-name):
6336 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6337 * generic-x.el (comint-mode, comint-exec):
6338 * image-dired.el (widget-forward):
6339 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6340 (speedbar-change-expand-button-char)
6341 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6342 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6343 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6344 (widget-field-action, widget-value-set):
6345 * speedbar.el (imenu--make-index-alist):
6346 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6347 (ring-length, ring-insert):
6348 * vcursor.el (compare-windows-skip-whitespace):
6349 * woman.el (dired-get-filename):
6352 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6354 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6356 * calc/calc.el (calc-gregorian-switch): New variable.
6358 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6359 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6360 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6361 (math-leap-year-p): Add option to distinguish between Julian
6362 and Gregorian calendars.
6363 (math-day-number): Use `math-day-in-year' to do the computations.
6364 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6365 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6366 to do the computations.
6367 (math-date-to-dt): Use `math-date-to-julian-dt' and
6368 `math-date-to-gregorian-dt' to do the computations.
6369 (calcFunc-weekday, math-format-date-part): Use the new version of
6370 the DATE to determine the weekday.
6371 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6374 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6376 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6377 Cygwin; otherwise use 'file:'. (Bug#12914)
6378 (cygwin-convert-path-from-windows): Declare, to avoid
6379 byte-compiler warnings.
6381 2012-11-17 Andreas Politz <politza@fh-trier.de>
6383 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6384 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6385 prefix and negative numeric prefix args (Bug#12795).
6387 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6389 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6390 Don't signal an error with a score that is too low to add to the
6391 list of top scores. (Bug#12779)
6393 2012-11-17 Chong Yidong <cyd@gnu.org>
6395 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6397 * filecache.el (file-cache-add-file): Handle relative file name in
6398 the argument (Bug#12694).
6400 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6402 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6404 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6406 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6408 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6410 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6412 * window.el (enlarge-window, shrink-window): Don't mention return
6413 value in doc-string (Bug#12896).
6414 (window--display-buffer): Don't resize frames - it won't work
6415 with all window managers and defeat pop-up-frame-alist.
6416 (display-buffer-alist): In doc-string explain that CONDITION can
6417 be a function and which arguments are passed to it (Bug#12854).
6418 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6419 expressions (Bug#12854).
6420 (display-buffer): Pass ACTION argument to
6421 display-buffer-assq-regexp.
6423 2012-11-16 Glenn Morris <rgm@gnu.org>
6425 * window.el (fit-frame-to-buffer-bottom-margin)
6426 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6428 * faces.el (face-underline-p): Use face-attribute-specified-or.
6430 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6432 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6434 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6436 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6438 2012-11-16 Glenn Morris <rgm@gnu.org>
6440 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6441 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6443 * faces.el (face-underline-p): Doc fix. Handle :underline being
6444 things other than `t' (a string, a list).
6445 (face-inverse-video-p): Doc fix.
6446 (set-face-underline): Rename it back from set-face-underline-p.
6447 Doc fix. Allow interactive input of values other than t.
6448 (read-face-attribute): Apply formatting to :underline,
6449 since like :box and :stipple it can take list values.
6451 * term.el (ansi-term): Don't let C-x escape-char binding
6452 clobber the more standard C-c binding. (Bug#12842)
6454 * subr.el (set-temporary-overlay-map): Doc fix.
6456 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6458 * window.el (record-window-buffer)
6459 (display-buffer-record-window): When copying the markers to
6460 window-point preserve window-point-insertion-type. (Bug#12588)
6462 2012-11-16 Glenn Morris <rgm@gnu.org>
6464 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6465 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6466 Use new names for hooks rather than obsolete aliases.
6468 2012-11-15 Daniel Colascione <dancol@dancol.org>
6470 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6471 prefix instead of "file:" so that when FILE-NAME begins with "//",
6472 as it does when the target file is on a network share, url-handler
6475 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6477 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6478 a preactivated advice from an old advice.el; they're not compatible!
6480 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6482 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6483 Fix string-spec case.
6485 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6487 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6490 (advice--buffer-local-function-sample): New var.
6491 (advice--set-buffer-local, advice--buffer-local): New functions.
6492 (add-function, remove-function): Use them.
6494 2012-11-15 Drew Adams <drew.adams@oracle.com>
6496 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6498 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6500 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6501 potential binding of print-gensym to t, and prettify (back)quotes in
6502 case they appear in args's default values (bug#12884).
6504 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6506 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6507 (advice-eval-interactive-spec): New function.
6508 (advice--make-interactive-form): Support around advice (bug#12844).
6510 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6512 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6513 more strict. Add docstring.
6514 (ruby-expression-expansion-re): Extract from
6515 `ruby-match-expression-expansion'.
6516 (ruby-syntax-propertize-function): After everything else, search
6517 for expansions in string literals, mark their insides as
6518 whitespace syntax and save match data for font-lock.
6519 (ruby-font-lock-keywords): Use the 2nd group from expression
6521 (ruby-match-expression-expansion): Use the match data saved to the
6522 text property in ruby-syntax-propertize-function.
6524 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6526 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6529 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6531 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6532 start/end keyword a bit harder. Works with different values of N.
6534 (ruby-end-of-block): Update accordingly.
6536 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * woman.el (woman-file-name): Don't mess with unread-command-events
6541 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6542 Remove out of date self-require hack.
6543 (ad-do-advised-functions): Use simple `dolist'.
6544 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6545 (ad-advice-definition): Redefine as functions.
6546 (ad-advice-classes): Move before first use.
6547 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6548 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6549 (ad--defalias-fset): Remove functions.
6550 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6551 (ad-get-orig-definition): Rewrite.
6552 (ad-make-advised-definition-docstring): Change base docstring.
6553 (ad-real-orig-definition): Rewrite.
6554 (ad-map-arglists): Change name of called function.
6555 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6556 (ad-make-advised-definition): Simplify.
6557 (ad-assemble-advised-definition): Tweak for new calling context.
6558 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6559 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6560 function and call ad-activate if needed.
6561 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6562 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6563 (ad-compile-function): Compile ad-Advice-*.
6564 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6565 (ad-start-advice, ad-stop-advice): Remove.
6567 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6569 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6570 period before class method names, not after. Remove handling of
6571 one impossible case. Add comments.
6573 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6575 * emacs-lisp/advice.el: Remove support for freezing.
6576 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6577 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6578 Remove support for `freeze'.
6580 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6581 override the default.
6582 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6584 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6587 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6589 (advice--strip-macro): New function.
6590 (advice--defalias-fset): Use them to handle macros.
6591 (advice-add): Use them.
6592 (advice-member-p): Correctly handle macros.
6594 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6596 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6597 Never font-lock the beginning of singleton class as heredoc.
6599 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6603 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6605 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6606 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6607 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6609 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6611 Fix end-of-defun misbehavior.
6612 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6613 python-beginning-of-defun-function. Handle nested defuns
6615 (python-nav-end-of-defun): Rename from
6616 python-end-of-defun-function. Ensure forward movement.
6617 (python-info-current-defun): Reimplement to work as intended
6618 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6619 parent defuns as soon as possible.
6621 2012-11-13 Glenn Morris <rgm@gnu.org>
6623 * progmodes/flymake.el (flymake-error-bitmap)
6624 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6625 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6627 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6629 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6630 backward, always stop at indentation. Reverts the change from
6631 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6633 2012-11-13 Glenn Morris <rgm@gnu.org>
6635 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6636 Add ibuffer-filter-by-derived-mode.
6638 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6639 the same name shadowing each other.
6641 * window.el (with-temp-buffer-window): Doc tweak.
6643 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6645 * help.el (temp-buffer-max-height):
6646 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6647 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6649 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6651 * emacs-lisp/nadvice.el: New package.
6652 * subr.el (special-form-p): New function.
6653 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6654 (elp-all-instrumented-list): Remove var.
6655 (elp-not-profilable): Remove elp-wrapper.
6656 (elp-profilable-p): Use autoloadp and special-form-p.
6657 (elp--advice-name): New const.
6658 (elp-instrument-function): Use advice-add.
6659 (elp--instrumented-p): New predicate.
6660 (elp-restore-function): Use advice-remove.
6661 (elp-restore-all, elp-reset-all): Use mapatoms.
6662 (elp-set-master): Use elp--instrumented-p.
6663 (elp--make-wrapper): Rename from elp-wrapper, return a function
6664 suitable for advice-add. Use cl-inf.
6665 (elp-results): Use mapatoms+elp--instrumented-p.
6666 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6667 (debug-function-list): Remove var.
6668 (debug): Rename arg, and then let-bind it explicitly inside.
6669 (debugger-setup-buffer): Rename arg.
6670 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6671 (debugger-frame-number): Adjust to new debug-on-entry setup.
6672 (debug--implement-debug-on-entry): Rename from
6673 implement-debug-on-entry, add argument.
6674 (debugger-special-form-p): Remove, use special-form-p instead.
6675 (debug-on-entry): Use advice-add.
6676 (debug--function-list): New function.
6677 (cancel-debug-on-entry): Use it, along with advice-remove.
6678 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6679 (debugger-list-functions): Use debug--function-list instead of
6680 debug-function-list.
6681 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6682 (ad-special-form-p): Remove, use special-form-p instead.
6683 (ad-set-advice-info): Use add-function and remove-function.
6684 (ad--defalias-fset): Adjust accordingly.
6686 2012-11-10 Glenn Morris <rgm@gnu.org>
6688 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6689 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6690 (report-emacs-bug-create-existing-bugs-buffer)
6691 (report-emacs-bug-parse-query-results)
6692 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6694 * term.el (term-default-fg-color, term-default-bg-color):
6695 Make obsolete, rather than just saying "deprecated" in the doc.
6697 * term.el (term): Rename from `term-face'.
6698 (term-current-face, ansi-term-color-vector)
6699 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6702 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6704 * server.el (server-create-window-system-frame): Handle Nextstep
6705 specially (Bug#12780).
6707 2012-11-10 Glenn Morris <rgm@gnu.org>
6709 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6710 Unautoload, and make obsolete. (Bug#7449)
6712 2012-11-10 Chong Yidong <cyd@gnu.org>
6714 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6715 rename from diff-remove-trailing-whitespace (Bug#12831).
6717 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6719 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6720 miscompilation of trace.el.
6722 2012-11-10 Glenn Morris <rgm@gnu.org>
6724 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6726 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6731 2012-11-10 Chong Yidong <cyd@gnu.org>
6733 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6734 a defcustom with an appropriate :set function.
6735 (minibuffer-default--in-prompt-regexps): New function.
6737 2012-11-10 Glenn Morris <rgm@gnu.org>
6739 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6740 (define-modify-macro): Doc fixes.
6742 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6743 (gv-define-simple-setter): Update doc of `fix-return'.
6745 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6748 twice when `fix-return' is set (bug#12813).
6750 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6751 gv-define-simple-setter (bug#12812).
6753 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6756 2012-11-10 Glenn Morris <rgm@gnu.org>
6758 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6760 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6761 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6762 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6763 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6765 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6767 2012-11-10 Leo Liu <sdl.web@gmail.com>
6769 * ido.el (ido-set-matches-1): Improve flex matching performance by
6770 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6772 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6775 (ad--defalias-fset): New function.
6776 (ad-safe-fset): Remove.
6777 (ad-make-freeze-definition): Use cl-letf*.
6779 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * subr.el (dolist): Don't bind VAR in RESULT.
6783 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6784 (fset, documentation): Don't save real def since we don't advise.
6785 (ad-do-advised-functions): Remove problematic `result-form'.
6786 (ad-safe-fset): `ad-real-fset' => `fset'.
6787 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6788 uses CL's dolist internally.
6789 (ad-arglist): Remove unused arg `name'.
6790 (ad-docstring, ad-make-advised-docstring):
6791 `ad-real-documentation' => `documentation'.
6792 (warning-suppress-types): Declare.
6793 (ad-set-arguments): Simple CSE.
6794 (ad-recover-normality): Sanity check.
6796 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6797 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6799 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6801 * ses.el: symbol to coordinate mapping is made by symbol property
6802 `ses-cell'. This means that the same mapping is done for all SES
6803 sheets. That is good enough for cells with standard A1 names, but
6804 not for named cell. So a hash map is added for the latter.
6805 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6806 (ses-sym-rowcol): Use hashmap for named cell.
6807 (ses-is-cell-sym-p): New defun.
6808 (ses-decode-cell-symbol): New defun.
6809 (ses-create-cell-variable): Add cell to hashmap when name is not
6811 (ses-rename-cell): Check that cell new name is not already in
6812 spreadsheet with the use of ses-is-cell-sym-p
6813 (ses-rename-cell): Use hash map for named cells, but accept also
6814 renaming back to A1-like.
6816 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * emacs-lisp/advice.el: Use new dynamic docstrings.
6819 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6820 Use dynamic-docstring-function instead of ad-advice-info.
6821 (ad--make-advised-docstring): New function extracted from
6822 ad-make-advised-docstring.
6823 (ad-make-advised-docstring): Use it.
6824 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6826 (sql-help): Use it with dynamic-docstring-function.
6828 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6830 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6832 * files.el (hack-one-local-variable--obsolete): New function.
6833 (hack-one-local-variable): Use it for obsolete settings.
6835 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6838 * progmodes/js.el (js--filling-paragraph): New var.
6839 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6840 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6843 2012-11-08 Julien Danjou <julien@danjou.info>
6845 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6846 `auto-mode-alist' (Bug#12835).
6848 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6850 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6851 (perl--prettify-symbols-alist): New const.
6852 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6854 (perl-font-lock-keywords-2): Use them.
6855 (perl-electric-noindent-p): New function.
6856 (perl-mode): Use it to set up electric-indent-mode.
6857 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6858 (perl-mode-map): Remove bindings for them.
6859 (perl-imenu-generic-expression, perl-outline-level):
6860 Match functions&packages in column>0.
6862 * env.el (env--substitute-vars-regexp): New const.
6863 (substitute-env-vars): Use it. Add `only-defined' arg.
6864 * net/tramp.el (tramp-replace-environment-variables): Use it.
6866 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6867 Byte-compile *before* eval in eval-and-compile.
6868 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6869 (byte-compile-file-form-autoload): Don't hide actual definition.
6870 (byte-compile-maybe-guarded): Accept `functionp' as well.
6872 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6874 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6876 * notifications.el (notifications-get-server-information-method):
6878 (notifications-get-capabilities): Fix docstring.
6879 (notifications-get-server-information): New defun.
6881 2012-11-06 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6883 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6886 * textmodes/ispell.el: Experimental support for support debugging.
6887 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6889 (ispell-print-if-debug): New function to print stuff to
6890 `ispell-debug-buffer' if debugging is enabled.
6891 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6892 show some debugging info.
6893 (ispell-buffer-with-debug): New function that creates a debugging
6894 buffer and calls `ispell-buffer' with debugging enabled.
6896 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6897 comment in autoconf mode. (Bug#12768)
6899 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6901 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6902 frame-first-window, frame-root-window, frame-selected-window,
6903 minibuffer-selected-window, minibuffer-window,
6904 window-absolute-pixel-edges, window-at, window-body-height,
6905 window-body-width, window-display-table, window-combination-limit,
6906 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6907 window-inside-edges, window-inside-pixel-edges, window-left-child,
6908 window-left-column, window-margins, window-next-buffers,
6909 window-next-sibling, window-new-normal, window-new-total,
6910 window-normal-size, window-parameter, window-parameters, window-parent,
6911 window-pixel-edges, window-point, window-prev-buffers,
6912 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6913 window-start, window-text-height, window-top-child, window-top-line,
6914 window-total-height, window-total-width and window-use-time to the list
6915 of functions without side-effects.
6916 (toplevel): Add window-valid-p to the list of error-free functions
6917 without side-effects.
6919 2012-11-05 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
6921 * textmodes/ispell.el (ispell-program-name):
6922 Update spellchecker parameters when customized.
6924 2012-11-04 Glenn Morris <rgm@gnu.org>
6926 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6928 2012-11-04 Chong Yidong <cyd@gnu.org>
6930 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6931 same-window-* variables.
6933 2012-11-04 Juri Linkov <juri@jurta.org>
6935 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6936 (isearch-describe-key, isearch-describe-mode): Use a display
6937 action instead of binding same-window-* variables (Bug#10040).
6939 2012-11-03 Glenn Morris <rgm@gnu.org>
6941 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6942 Rename handler properties back from cl-- to cl-. (Bug#12788)
6944 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6946 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6948 * term/pc-win.el: Don't load term/internal from here.
6950 * loadup.el: Load term/internal from here.
6952 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6954 * progmodes/python.el (inferior-python-mode): Fix hang in
6955 jit-lock (Bug#12645).
6957 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6959 * window.el (switch-to-visible-buffer)
6960 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6962 2012-11-03 Glenn Morris <rgm@gnu.org>
6964 * emacs-lisp/cl-lib.el (cl--random-time):
6965 Rename from cl-random-time. (Bug#12773)
6966 (cl--gensym-counter, cl--random-state): Update callers.
6967 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6969 2012-11-03 Chong Yidong <cyd@gnu.org>
6971 * cus-start.el: Make cursor-type customizable (Bug#11633).
6973 2012-11-02 Glenn Morris <rgm@gnu.org>
6975 * filecache.el: No need to load find-lisp when compiling.
6976 (find-lisp-find-files): Autoload it.
6977 (file-cache-add-directory-recursively): Don't require find-lisp.
6979 * image.el (image-type-from-file-name): Trivial simplification.
6981 * emacs-lisp/bytecomp.el (byte-compile-eval):
6982 Decouple "noruntime" and "cl-functions" warnings.
6984 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6986 * play/gomoku.el (gomoku-display-statistics): Update mode line
6987 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6989 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6991 * window.el (quit-restore-window): If the window has been
6992 created on an existing frame and ended up as the sole window on
6993 that frame, do not delete it (Bug#12764).
6995 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6997 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6998 Rename from sh--inside-arithmetic-expression, handle more cases
7001 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7002 (sh-font-lock-open-heredoc): Use it (bug#12770).
7004 2012-10-30 Glenn Morris <rgm@gnu.org>
7006 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7008 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7010 2012-10-29 Chong Yidong <cyd@gnu.org>
7012 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7013 function key is stored in a keyboard macro (Bug#4894).
7015 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7017 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7021 (diff-unified->context, diff-context->unified)
7022 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7024 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7026 * files.el (find-alternate-file): Only ask one question (bug#12487).
7028 2012-10-29 Chong Yidong <cyd@gnu.org>
7030 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7031 Suggested by Dan Nicolaescu (Bug#6326).
7033 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7035 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7037 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7039 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7041 * face-remap.el (face-remap-add-relative): Handle the case where a
7042 face-remapping-alist entry is a cons cell (Bug#12762).
7044 2012-10-29 Kevin Ryde <user42@zip.com.au>
7046 * woman.el (woman-parse-numeric-value): Handle picas correctly
7049 2012-10-29 Glenn Morris <rgm@gnu.org>
7051 * emacs-lisp/cl.el (defsetf): Doc fix.
7053 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7055 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7056 syntax to the matching opener, if any (bug#12547).
7057 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7058 matching open as a "case-(".
7059 (sh-smie-rc-grammar): Add a corresponding rule for it.
7061 2012-10-28 Daniel Hackney <dan@haxney.org>
7063 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7064 "PKGNAME-autoloads.el" in case we created it.
7066 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7068 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7069 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7070 (completion--twq-all): Disable too-strict assertions.
7072 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7074 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7076 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7077 text to match the real keybindings.
7079 2012-10-27 Juri Linkov <juri@jurta.org>
7081 * wdired.el (wdired-keep-marker-rename): New defcustom.
7082 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7085 * dired.el (dired-keep-marker-rename): Add reference to
7086 `wdired-keep-marker-rename' in the docstring.
7087 Add default character value ?R to display initially in
7088 Customization UI instead of ?@.
7090 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7092 * window.el (display-buffer): In doc-string describe
7093 window-height and window-width alist entries.
7095 * time.el (display-time-world): Restore fit-window-to-buffer
7098 2012-10-27 Chong Yidong <cyd@gnu.org>
7100 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7102 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7104 * minibuffer.el (completion-category-overrides): New completion
7105 category `bookmark' (bug#11131).
7107 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7109 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7110 Silence bogus compiler warnings for ad-do-it.
7112 * bookmark.el (bookmark-completing-read): Set the completion category
7113 to `bookmark' (bug#11131).
7115 2012-10-26 Bastien <bzg@altern.org>
7116 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * face-remap.el: Use lexical-binding.
7119 (text-scale-adjust): Improve docstring. Use itself for the temporary
7120 overlay-map bindings, so as to repeat the "Use..." message each time.
7122 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7124 * emacs-lisp/macroexp.el (macroexp--expand-all):
7125 Obey byte-compile-warning-enabled-p (bug#12486).
7127 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7128 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7130 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7132 * mouse.el (mouse-drag-line): Move last form into preceding when
7135 * help.el (resize-temp-buffer-window): Fix doc-string.
7137 2012-10-25 David Engster <deng@randomsample.de>
7139 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7140 Remove. This feature is already integrated in imenu.
7142 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7143 always loaded. Require `speedbar' unconditionally.
7145 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7149 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7151 * net/ldap.el (ldap-search-internal): The official ldif format starts
7152 with a "version: 1" header (bug#12724).
7154 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7157 2012-10-25 Glenn Morris <rgm@gnu.org>
7159 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7161 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * minibuffer.el (minibuffer-force-complete): Use one more marker
7164 for the temporary-overlay-map command (bug#12619).
7166 2012-10-24 Chong Yidong <cyd@gnu.org>
7168 * time.el (display-time-world-mode): Derive from special-mode.
7169 (display-time-world): Use display-buffer (Bug#12708).
7170 (display-time-world-mode-map): Variable deleted.
7171 (display-time-world-display): Wrap the final delete-char inside
7174 2012-10-24 Chong Yidong <cyd@gnu.org>
7176 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7179 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7181 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * minibuffer.el (completion--all-sorted-completions-location): New var.
7184 (completion--cache-all-sorted-completions)
7185 (completion--flush-all-sorted-completions): Use it.
7186 (completion-in-region, completion-in-region--postch)
7187 (completion-at-point, completion-help-at-point): Use markers in
7188 completion-in-region--data (bug#12619).
7190 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * progmodes/compile.el (compilation-start): Try to handle common
7193 quoting of `cd' argument (bug#12640).
7195 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7198 2012-10-23 Glenn Morris <rgm@gnu.org>
7200 * progmodes/gud.el (gud-menu-map):
7201 Check gdb-active-process is bound. (Bug#12358)
7203 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7205 * repeat.el (repeat): Set real-this-command (bug#12232).
7207 * htmlfontify.el (hfy-post-html-hook):
7208 * filesets.el (filesets-cache-fill-content-hook):
7209 * arc-mode.el (archive-extract-hook):
7210 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7211 * net/rcirc.el (rcirc-sentinel-functions)
7212 (rcirc-receive-message-functions, rcirc-activity-functions)
7213 (rcirc-print-functions):
7214 * net/dbus.el (dbus-event-error-functions):
7215 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7216 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7217 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7218 * term/sun.el (sun-raw-prefix-hooks):
7219 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7221 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7223 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7224 Set `tramp-chunksize' to 1. This improves the performance.
7225 (tramp-smb-wait-for-output): Add timeout to
7226 `tramp-accept-process-output' calls.
7228 2012-10-23 Chong Yidong <cyd@gnu.org>
7230 * faces.el (font-list-limit): Define as an obsolete variable.
7232 * startup.el (command-line):
7233 * cus-start.el: Don't refer to font-list-limit.
7235 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7237 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * subr.el (internal-temp-output-buffer-show): Rename from
7240 temp-output-buffer-show, since previously compiled files expect this name.
7242 2012-10-23 Glenn Morris <rgm@gnu.org>
7244 * image.el (image-type-from-file-name): If multiple types match,
7245 return the first one that is supported. (Bug#9045)
7247 2012-10-22 Glenn Morris <rgm@gnu.org>
7249 * image.el (imagemagick-enabled-types): Doc fix.
7251 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7253 * progmodes/which-func.el (which-func-current): The hash-table may have
7254 an explicit nil (bug#12338).
7256 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7258 * electric.el (electric-pair-delete-selection-self-insert-function):
7259 Rename to electric-pair-will-use-region, return a boolean.
7260 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7262 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7263 (delete-selection-pre-hook): Use use-region-p.
7264 (delete-selection-self-insert-function): Remove.
7265 (self-insert-command): Obey self-insert-uses-region-functions.
7266 (self-insert-iso): Revert to previous setting, since we don't actually
7267 know what that command does.
7268 (delete-selection-self-insert-hooks): Remove.
7270 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7272 * delsel.el (delete-selection-helper): New function, extracted from
7273 delete-selection-pre-hook.
7274 (delete-selection-pre-hook): Use it.
7275 (delete-selection-self-insert-function): New function.
7276 (delete-selection-self-insert-hooks): New hook.
7277 (self-insert-command, self-insert-iso): Use it.
7278 * electric.el (electric-pair-syntax): New function, extracted from
7279 electric-pair-post-self-insert-function.
7280 (electric-pair-post-self-insert-function): Use it.
7281 (electric-pair-delete-selection-self-insert-function): New function.
7282 (electric-pair-mode): Require delsel and setup
7283 delete-selection-self-insert-hooks (bug#11520).
7285 2012-10-20 Chong Yidong <cyd@gnu.org>
7287 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7288 no changes to show (Bug#12586).
7290 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7291 list explicitly (Bug#12571).
7293 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7295 * progmodes/flymake.el (flymake-create-temp-inplace):
7298 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7300 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7302 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7304 * calc/calc-units.el (math-extract-units): Properly extract powers
7307 2012-10-20 Daniel Colascione <dancol@dancol.org>
7309 * frame.el (make-frame): Set x-display-name as we used to in order
7310 to unbreak creating an X11 frame from an Emacs daemon started
7313 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7316 the same completion-field (bug#12221).
7318 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7320 * emacs-lisp/debug.el (debug): Record height of debugger window
7321 also when debugger will be back (Bug#8789).
7323 2012-10-18 Chong Yidong <cyd@gnu.org>
7325 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7326 Convert to defcustom.
7327 (gdb-get-source-file): Don't bind pop-up-windows.
7329 * progmodes/gud.el (gud-display-line): Don't specially re-use
7330 other frames for the gdb-mi case (Bug#12648).
7332 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * emacs-lisp/advice.el: Clean up commentary a bit.
7335 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7336 (byte-code-function-p): Never redefine.
7338 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7340 2012-10-18 Glenn Morris <rgm@gnu.org>
7342 * dired.el (dired-sort-toggle): Some ls implementations only allow
7343 a single option string. (Bug#12666)
7345 * minibuffer.el (completion-cycle-threshold): Doc fix.
7347 2012-10-17 Kenichi Handa <handa@gnu.org>
7349 * international/mule.el (set-keyboard-coding-system):
7350 Recover input meta mode when the new coding system doesn not use 8-bit.
7351 Supply TERMINAL arg to set-input-meta-mode.
7353 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7355 * wdired.el (wdired-old-marks): New variable.
7356 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7357 (wdired-do-renames): Move point with renamed file and don't lose
7358 mark status (Bug#11795).
7360 2012-10-16 Juri Linkov <juri@jurta.org>
7362 * replace.el (query-replace-help): Mention multi-buffer replacement
7363 keys in the Help message. (Bug#12655)
7365 2012-10-15 Chong Yidong <cyd@gnu.org>
7367 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7369 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7371 * window.el (display-buffer): Doc fix.
7373 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7374 Adjust the msft regexp to the output of Studio 2010, and move msft
7375 before edg-1. See the discussion on emacs-devel,
7376 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7379 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7381 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7382 (oset): Move uses of object-class-fast macro after its definition.
7384 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7386 2012-10-13 Chong Yidong <cyd@gnu.org>
7388 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7389 enabled, re-enable it (Bug#11963).
7391 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7393 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7394 non-nil, restore window configuration (Bug#12623).
7396 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * help-fns.el (describe-variable, describe-function-1):
7399 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7401 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7403 2012-10-12 Glenn Morris <rgm@gnu.org>
7405 * mail/rmailsum.el (rmail-header-summary):
7406 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7408 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7410 * progmodes/python.el (python-mode-map):
7411 Replace subtitute-key-definition with proper command remapping.
7412 (python-nav--up-list): Fix behavior for blocks on the same level.
7414 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7416 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7418 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7419 changes to the format of load-history.
7421 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7422 completion-ignore-case in case that var is buffer-local (bug#12615).
7424 2012-10-11 Kenichi Handa <handa@gnu.org>
7426 * international/eucjp-ms.el: Re-generated.
7428 2012-10-10 Kenichi Handa <handa@gnu.org>
7430 * select.el (xselect--encode-string): If a coding is specified for
7431 selection, and that is compatible with COMPOUND_TEXT, use it.
7433 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7435 * window.el (switch-to-buffer-preserve-window-point): New option.
7437 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7439 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7441 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7442 Don't document nil as a useful value (bug#12583).
7444 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7446 * net/tramp.el (tramp-debug-message):
7447 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7448 (with-tramp-progress-reporter): Rename from
7449 `tramp-with-progress-reporter'.
7450 (with-tramp-file-property, with-tramp-connection-property):
7451 Move from tramp-cache.el, rename from `with-file-property' and
7452 `with-connection-property', respectively.
7454 * net/tramp-cache.el: Remove `with-file-property' and
7455 `with-connection-property'.
7458 * net/tramp-gvfs.el:
7460 * net/tramp-smb.el: Adapt callees.
7462 * net/trampver.el: Update release number.
7464 2012-10-09 Glenn Morris <rgm@gnu.org>
7466 * w32-fns.el (set-message-beep):
7467 * term/w32-win.el (set-message-beep): Update declarations.
7469 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7472 (mode-line-widen, mode-line-input-method-map)
7473 (mode-line-coding-system-map, mode-line-remote)
7474 (mode-line-unbury-buffer, mode-line-bury-buffer)
7475 (mode-line-next-buffer, mode-line-previous-buffer):
7476 Replace save-selected-window+select-window => with-selected-window.
7478 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7479 * progmodes/cc-vars.el (bq-process): Remove, unused.
7481 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7483 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7485 Implemented `backward-up-list'-like navigation.
7486 * progmodes/python.el (python-nav-up-list)
7487 (python-nav-backward-up-list): New functions.
7488 (python-mode-map): Define substitute key for backward-up-list to
7489 python-nav-backward-up-list.
7491 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7493 * progmodes/python.el (python-fill-paragraph): Rename from
7494 python-fill-paragraph-function. Fixed fill-paragraph for
7495 decorators (Bug#12605).
7497 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7499 * progmodes/python.el (python-shell-output-filter): Handle extra
7500 carriage return in OSX (Bug#12409).
7502 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7504 Fix shell handling of unbalanced quotes and parens in output.
7505 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7506 (python-syntax-propertize-function): Use it.
7507 (python-shell-output-syntax-table): New var.
7508 (inferior-python-mode): Prevent unbalanced parens/quotes from
7509 previous output mess with current input context.
7511 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7513 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7514 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7516 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7518 * ffap.el (ffap-replace-file-component): Support Tramp file name
7519 syntax, not only ange-ftp's one.
7521 2012-10-08 Glenn Morris <rgm@gnu.org>
7523 * cus-start.el (message-log-max): Set :version.
7525 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7527 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7529 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7530 the minibuffer window (Bug#10851).
7532 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7534 Enhancements on forward-sexp movement.
7535 * progmodes/python.el (python-nav-beginning-of-statement)
7536 (python-nav-end-of-statement): Return point-marker.
7537 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7538 (python-info-current-symbol)
7539 (python-info-statement-starts-block-p): Rename from
7540 python-info-beginning-of-block-p.
7541 (python-info-statement-ends-block-p): Rename from
7542 python-info-end-of-block-p.
7543 (python-info-beginning-of-statement-p)
7544 (python-info-end-of-statement-p)
7545 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7548 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7550 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7551 frame-selected-windows.
7553 2012-10-08 Daniel Colascione <dancol@dancol.org>
7555 * battery.el (battery-status-function): Check for
7556 w32-battery-status itself, not system-time windows-nt.
7558 * frame.el: Require cl-lib.
7559 (display-format-alist): New variable mapping frame types to
7560 functions that initialize them.
7561 (window-system-for-display): New function: interprets
7562 display-format-alist.
7563 (make-frame-on-display): Remove existing display-selection logic
7564 and just forward to make-frame, which will now DTRT.
7565 (make-frame): Restructure to use window-system-for-display to
7566 figure out how to create a frame on a given display.
7567 (display-mouse-p): Look for frame-type w32, not a particular
7570 * loadup.el: Load w32 lisp code when we have the w32 feature.
7572 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7573 system-type windows-nt.
7575 * server.el (server-create-window-system-frame): Look for window
7577 (server-proces-filter): Only force a window system when windows-nt
7578 _and_ w32. Explain why.
7580 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7581 of window systems we configure for the mode.
7583 * startup.el (command-line): Mark window system is initialized
7584 after we've done it.
7586 * common-win.el (x-select-text): Look for w32, not windows-nt.
7588 * ns-win.el: Require cl-lib. Add ourselves to
7589 display-format-alist.
7590 (ns-initialize-window-system): Assert we're not initialized twice.
7592 * w32-win.el: Enable lexical binding; require cl-lib; add
7593 ourselves to display-format-alist.
7594 (w32-handle-dropped-file): Convert incoming dropped files from
7595 Windows paths to Cygwin ones before passing them on to the rest of
7597 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7598 (w32-initialize-window-system): Assert we're not initialized twice.
7600 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7601 (x-initialize-window-system): Assert we're not initialized twice.
7603 * w32-common-fns.el: New File.
7604 (w32-version, w32-using-nt, w32-get-clipboard-data)
7605 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7606 (w32-charset-info-alist, x-last-selected, text)
7607 (x-get-selection-value, x-selection-value): Move here.
7609 * w32-fns.el: Require w32-common-fns.
7610 (w32-version, w32-using-nt, w32-get-clipboard-data)
7611 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7612 (w32-charset-info-alist, x-last-selected, text)
7613 (x-get-selection-value, x-selection-value): Move to
7617 (w32-allow-system-shell, w32-system-shells): Define only in
7620 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7622 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7623 (read-passwd): Remove a few more potential sources of leaks.
7625 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7627 * progmodes/python.el (inferior-python-mode)
7628 (python-shell-make-comint): Fix initialization of local
7629 variables copied from parent buffer.
7631 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7633 * term/ns-win.el (ns-read-file-name): Update declaration to match
7635 (ns-respond-to-change-font): Change fontsize separately so we are sure
7636 it is set when font is acted upon.
7638 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7640 Enhancements to indentation.
7641 * progmodes/python.el (python-indent-context): Give priority to
7642 inside-string context. Make comments indentation markers.
7643 (python-indent-region): Do not mess with strings, unless it's the
7644 enclosing set of quotes.
7646 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * window.el (internal--before-save-selected-window)
7649 (internal--after-save-selected-window): New functions extracted from
7650 save-selected-window. Make sure we return the `alist' we construct.
7651 (save-selected-window): Use them.
7653 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7654 Use with-selected-window.
7656 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7657 forms that define macros (bug#12593).
7659 2012-10-07 Kenichi Handa <handa@gnu.org>
7661 * international/mule-conf.el (compound-text-with-extensions):
7662 Add :mime-charset property as x-ctext.
7664 2012-10-07 Stefan Merten <smerten@oekonux.de>
7666 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7667 (rst-indent-literal-normal, rst-indent-literal-minimized)
7668 (rst-indent-comment): Correct :version tag.
7669 (rst-official-cvs-rev): Correct version string.
7671 2012-10-07 Glenn Morris <rgm@gnu.org>
7673 * mail/rmailmm.el (rmail-mime-process-multipart):
7674 Do not confuse a multipart message with an epilogue
7675 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7677 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7679 Fix shell output retrieval and comint-prompt-regexp init.
7680 * progmodes/python.el (inferior-python-mode):
7681 (python-shell-make-comint): Fix initialization of
7682 comint-prompt-regexp from copied file local variables.
7683 (python-shell-fetched-lines): Remove var.
7684 (python-shell-output-filter-in-progress): Rename from
7685 python-shell-fetch-lines-in-progress.
7686 (python-shell-output-filter-buffer): Rename from
7687 python-shell-fetch-lines-string.
7688 (python-shell-fetch-lines-filter): Delete function.
7689 (python-shell-output-filter): New function.
7690 (python-shell-send-string-no-output): Use them.
7692 2012-10-07 Glenn Morris <rgm@gnu.org>
7694 * hi-lock.el (hi-lock-process-phrase):
7695 Try to make it less fragile. (Bug#7161)
7697 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7699 2012-10-06 Glenn Morris <rgm@gnu.org>
7701 * ehelp.el (electric-help-mode): Use help-mode rather than
7702 non-existent mode `help'.
7703 (electric-help-map): Use button-buffer-map. (Bug#10917)
7705 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7706 (reftex-create-bibtex-footer): Fix custom types.
7708 * progmodes/sh-script.el (sh-indent-after-continuation):
7709 Add explicit :group.
7711 * textmodes/rst.el (rst-preferred-decorations)
7712 (rst-shift-basic-offset): Clarify obsolescence versions.
7714 * profiler.el (profiler): Add missing group :version tag.
7715 * avoid.el (mouse-avoidance-banish-position):
7716 * proced.el (proced-renice-command):
7717 * calc/calc.el (calc-ensure-consistent-units):
7718 * calendar/icalendar.el (icalendar-import-format-uid):
7719 * net/tramp.el (tramp-save-ad-hoc-proxies):
7720 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7721 * progmodes/flymake.el (flymake-error-bitmap)
7722 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7723 * progmodes/sh-script.el (sh-indent-after-continuation):
7724 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7725 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7726 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7727 (vhdl-array-index-record-field-in-sensitivity-list)
7728 (vhdl-indent-comment-like-next-code-line):
7729 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7730 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7731 (reftex-cite-key-separator, reftex-create-bibtex-header)
7732 (reftex-create-bibtex-footer):
7733 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7734 (rst-indent-literal-normal, rst-indent-literal-minimized)
7735 (rst-indent-comment): Add missing custom :version tags.
7737 * calendar/timeclock.el (timeclock-modeline-display):
7738 Add missing obsolete alias for renamed user option.
7740 * strokes.el (strokes-modeline-string):
7741 * emulation/crisp.el (crisp-mode-modeline-string):
7742 * eshell/esh-mode.el (eshell-status-in-modeline):
7743 Aliases to defcustoms must come before the defcustom.
7745 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7746 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7747 (cal-tex-cursor-week-monday): Doc fixes.
7748 (cal-tex-cursor-week2-summary): Doc fix.
7749 Rename from cal-tex-cursor-week-at-a-glance.
7751 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7752 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7754 * calendar/calendar.el (calendar-mode-map):
7755 Add cal-tex-cursor-week2-summary.
7757 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7759 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7761 * subr.el (read-passwd-map): New var.
7762 (read-passwd): Use `read-string' again.
7763 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7765 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7767 * register.el (append-to-register, prepend-to-register):
7768 Deactivate mark, as does `copy-to-register' (bug#12389).
7770 2012-10-06 Chong Yidong <cyd@gnu.org>
7772 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7774 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7776 * international/characters.el: Fix simple mistake ((car chars) ->
7777 elt), delete duplicated code.
7779 2012-10-06 Glenn Morris <rgm@gnu.org>
7781 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7783 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7785 * color.el (color-hsl-to-rgb): Fix incorrect results for
7786 small and large hue values. (Bug#12559)
7788 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7790 Enhancements to docstring formatting when filling paragraphs.
7791 * progmodes/python.el (python-fill-docstring-style): Rename from
7792 python-fill-string-style. Added new style.
7793 (python-fill-string): Use new style. Better checks for
7796 2012-10-05 Glenn Morris <rgm@gnu.org>
7798 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7800 * color.el (color-name-to-rgb, color-rgb-to-hex)
7801 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7802 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7803 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7804 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7806 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7808 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7810 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7811 to get the correct size across symlinks.
7813 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7815 2012-10-04 Juri Linkov <juri@jurta.org>
7817 * replace.el (query-replace-interactive): Declare obsolete.
7818 (query-replace-read-from): Add the last incremental search string
7819 to the list of default values accessible via M-n.
7820 (map-query-replace-regexp): Use `read-regexp'.
7821 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7822 (map-query-replace-regexp, replace-string, replace-regexp):
7823 Fix docstrings to replace mentions of `query-replace-interactive'
7824 with alternatives. (Bug#12526)
7826 2012-10-04 Juri Linkov <juri@jurta.org>
7828 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7829 (dired-pop-to-buffer): Declare obsolete.
7830 (dired-mark-pop-up): Doc fix.
7832 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7834 Allow user to set docstring style for fill-paragraph.
7835 * progmodes/python.el
7836 (python-fill-comment-function, python-fill-string-function)
7837 (python-fill-decorator-function, python-fill-paren-function):
7838 Remove :safe for defcustoms.
7839 (python-fill-string-style): New defcustom
7840 (python-fill-paragraph-function): Enhance context detection.
7841 (python-fill-string): Honor python-fill-string-style settings.
7843 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7845 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7846 after setting its buffer (Bug#10805).
7848 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7850 Fix cornercase for string syntax.
7851 * progmodes/python.el (python-syntax-propertize-function):
7852 Simplify and enhance the regexp for unescaped quotes. Now it also
7853 matches quotes in weird situations like the single quote in
7855 (python-syntax-stringify): Simplify num-quotes detecting code.
7857 2012-10-03 Glenn Morris <rgm@gnu.org>
7859 * help-macro.el (three-step-help):
7860 Revert 2012-09-29 change. (Bug#12567)
7862 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7864 * menu-bar.el (kill-this-buffer): Don't do anything when
7865 `menu-frame' is not alive or visible (Bug#8184).
7867 * emacs-lisp/debug.el (debug): When quitting the debugger window
7868 restore current buffer (Bug#12502).
7870 2012-10-02 Chong Yidong <cyd@gnu.org>
7872 * progmodes/hideif.el (hif-lookup, hif-defined):
7873 Handle semantic-c-takeover-hideif.
7875 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7877 Change sampling interval units from ms to ns.
7878 * profiler.el (profiler-sampling-interval): Change units
7879 from ms to ns, multiplying the default by 1000000 so that
7881 (profiler-report-cpu-line-format): Give enough room for
7882 the maximum counters on 64-bit hosts.
7883 (profiler-report-render-calltree-1): Call them "CPU samples",
7884 not "Time (ms)", since they are not milliseconds now (and
7887 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7889 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7890 Fix querying BBDB for entries without a last name (Bug#11580).
7892 2012-10-02 Chong Yidong <cyd@gnu.org>
7894 * emacs-lisp/eieio.el: Restore Version header.
7896 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7898 * vc/diff-mode.el (diff--auto-refine-data): New var.
7899 (diff-hunk): Use it to delay refinement.
7900 (diff-mode): Remove overlays when we turn off font-lock.
7902 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7903 (table-initialize-table-fixed-width-mode)
7904 (table-set-table-fixed-width-mode): Remove functions.
7905 (table-command-list): Move initialization into declaration.
7906 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7907 (table-with-cache-buffer): Use `declare'.
7908 (table-span-cell): Simplify via CSE.
7909 (table-fixed-width-mode): Use define-minor-mode.
7910 (table-call-interactively, table-funcall, table-apply): Remove.
7911 (table-function): New function, to replace them.
7913 * bookmark.el (bookmark-search-pattern): Remove var.
7914 (bookmark-read-search-input): Remove function.
7915 (bookmark-bmenu-search): Reimplement using a minibuffer.
7917 * faces.el (modeline): Remove obsolete face name.
7919 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7920 and give a non-nil default value.
7921 (add-change-log-entry): Simplify accordingly.
7923 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7925 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7926 (vc-git-log-edit-toggle-amend): New function.
7927 (vc-git-log-edit-toggle-signoff): New function.
7928 (vc-git-log-edit-mode): New major mode.
7929 (vc-git-log-edit-mode-map): Keymap for it.
7930 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7932 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7934 (log-edit-toggle-header): New function.
7935 (log-edit-extract-headers): Accept function values in HEADERS alist.
7937 2012-10-01 David Engster <deng@randomsample.de>
7939 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7940 from symbol property and change message to be more consistent with
7942 (eieio-describe-generic): Add filename for each implementation.
7943 Fix indices for generic and normal methods.
7944 (eieio-method-def, eieio-class-def): New buttons.
7945 (eieio-help-find-method-definition)
7946 (eieio-help-find-class-definition): New functions.
7947 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7948 class, constructor and method definitions.
7950 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7951 information in symbol property.
7952 (scoped-class): Remove.
7953 (eieio-slot-name-index, call-next-method): Check if it is bound.
7955 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7957 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7958 (eieio-custom-mode): New major mode.
7959 (eieio-customize-object): Use it.
7961 2012-10-01 Eric Ludlam <zappo@gnu.org>
7963 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7964 specifying the expected class, and whether subclassing is allowed.
7965 (eieio-persistent-convert-list-to-object):
7966 (eieio-persistent-validate/fix-slot-value)
7967 (eieio-persistent-slot-type-is-class-p): New functions.
7968 (eieio-named::slot-missing): Doc fix.
7970 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7971 Stop using unused publd variable.
7973 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7974 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7975 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7976 (eieio-speedbar-handle-click): Do not specify a class for the
7977 method. Fixes method invocation order problems with EDE.
7979 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7981 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7982 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7984 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7986 * bookmark.el (bookmark-version-control): Give tags in the
7987 :type choices (Bug#12309), and improve doc string.
7988 (bookmark-write-file): Bind `print-circle' to `t' to allow
7989 circular custom bookmark types. (Bug#12503)
7991 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7993 Revert the FOLLOW-SYMLINKS change for file-attributes.
7994 * files.el (remote-file-name-inhibit-cache, after-find-file):
7995 * time.el (display-time-file-nonempty-p): Undo last change.
7997 * profiler.el (profiler-sampling-interval): Change default back to 1.
7998 See Stefan Monnier in
7999 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8001 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8003 Shell output catching a la gud-gdb.
8004 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8005 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8007 (python-shell-fetch-lines-filter): New function.
8008 (python-shell-send-string-no-output): Use them.
8010 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8012 * profiler.el (profiler-sampling-interval): Rename from
8013 profiler-sample-interval.
8014 (profiler-sampling-interval): Default to 10.
8015 (profiler-find-profile): New command (was profiler-find-log).
8016 (profiler-find-profile-other-window): New command.
8017 (profiler-find-profile-other-frame): New command.
8018 (profiler-profile): Introduce API-level data structure.
8020 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8022 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8023 * files.el (remote-file-name-inhibit-cache):
8024 * time.el (display-time-file-nonempty-p): Use it.
8025 * files.el (after-find-file): Don't chase links before calling
8026 file-exists-p, as file-exists-p already does the right thing.
8028 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8030 Merge from standalone RefTeX repository.
8032 The following ChangeLog entries are shortened versions of the
8033 original ones with file paths adapted. A not so strongly edited
8034 version of the original ChangeLog can be found in the commit log.
8036 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8037 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8038 Correctly handle new value type returned by `reftex-citation'.
8040 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8041 that entries with whitespace at various places are found.
8042 Doc fix. Include entries that are cross-referenced from cited entries.
8043 Include @String definitions in the resulting bib file. Add header
8044 and footer defined in `reftex-create-bibtex-header' and
8045 `reftex-create-bibtex-footer'.
8046 (reftex-do-citation): Make it possible again to insert
8047 non-existent entries. Save match data when asking for optional
8048 arguments. Return all keys, not just the first one.
8049 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8050 all citations in the same line.
8051 (reftex-parse-bibtex-entry): Accept additional optional argument
8052 `raw' and keep quotes or braces if it is non-nil. Match fields
8053 containing hyphens besides word constituents.
8054 (reftex-get-string-refs): New function.
8055 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8056 and ask if it should be reread in case it did.
8057 (reftex-pop-to-bibtex-entry)
8058 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8059 entries with spaces or tabs in front of arguments.
8060 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8061 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8062 Match entries containing numbers and symbol constituents.
8063 (reftex-do-citation, reftex-figure-out-cite-format):
8064 Use `reftex-cite-key-separator'.
8066 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8067 (reftex-mouse-view-crossref): Explain why point is set.
8069 * textmodes/reftex-global.el: Whitespace changes.
8071 * textmodes/reftex-index.el: Move provide statement to end of
8073 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8074 (reftex-index-visit-phrases-buffer): Set marker when visiting
8075 buffer. This allows for returning from the phrases file to the
8076 file one was just editing instead of the file where the last
8077 phrases was added from.
8078 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8079 punctuation syntax as it usually is not used as string quote in
8080 TeX-related modes and may occur unmatched. The change also
8081 prevents fontification of quoted content.
8082 (reftex-index-phrases-mode): Use it.
8084 * textmodes/reftex-parse.el (reftex-parse-from-file):
8085 Move backward one char if a `\' was matched after a section macro.
8086 (reftex-parse-from-file): Use beginning of match instead of end as
8089 * textmodes/reftex-ref.el: Adapt creation of
8090 `reftex-<package>-<macro>' functions to new structure of
8091 `reftex-ref-style-alist'.
8092 (reftex-reference): Use `reftex-ref-style-list' function.
8093 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8094 reference macro if `reftex-ref-macro-prompt' is non-nil.
8095 (reftex-reference): Pass refstyle to `reftex-format-special'.
8096 Determine reference macro by looking at
8097 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8098 Use only one special format function.
8099 (reftex-varioref-vref, reftex-fancyref-fref)
8100 (reftex-fancyref-Fref): Remove definitions. The functions are now
8101 generated from `reftex-ref-style-alist'.
8102 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8104 (reftex-format-special): New function.
8106 * textmodes/reftex-sel.el
8107 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8108 of `reftex-ref-style-alist'. Remove code for testing macro type.
8109 (reftex-select-toggle-varioref)
8110 (reftex-select-toggle-fancyref): Remove.
8111 (reftex-select-cycle-ref-style-internal)
8112 (reftex-select-cycle-ref-style-forward)
8113 (reftex-select-cycle-ref-style-backward): New functions.
8114 (reftex-select-label-map): Use `v' and `V' for general cycling
8115 through reference styles. Add `p' for switching between number
8116 and page reference types.
8118 * textmodes/reftex-toc.el (reftex-re-enlarge):
8119 Call `enlarge-window' only if there is something to do because in Emacs
8120 the horizontal version throws an error even if the parameter is 0.
8122 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8123 (reftex-plug-into-AUCTeX): Doc fix.
8124 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8125 string. Adapt to new name.
8126 (reftex-ref-style-alist): Change structure so that it is not
8127 possible to use multiple different package names within a style.
8128 Remove the symbols for symbols for macro type distinction.
8129 Add characters for macro selection.
8130 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8131 (reftex-create-bibtex-footer): New variables.
8132 (reftex-format-ref-function): Mention third argument of special
8134 (reftex-ref-style-alist, reftex-ref-style-default-list):
8136 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8137 to new implementation. Mark as obsolete. Add compatibility code
8138 for honoring the variable values in case they are set.
8139 (reftex-cite-format-builtin, reftex-bibliography-commands):
8140 Add support for ConTeXt.
8141 (reftex-format-ref-function, reftex-format-cite-function):
8143 (reftex-cite-key-separator): New variable.
8145 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8146 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8147 `reftex-syntax-table' because parens have to retain their paren
8148 syntax in order for parsing of BibTeX entries like @book(...) to
8150 (reftex-in-comment): Do not error out if `comment-start-skip' is
8151 not set. Deal correctly with escaped comment characters.
8152 (reftex-tie-multifile-symbols): Add doc string.
8153 Initialize `reftex-ref-style-list'.
8154 (reftex-untie-multifile-symbols): Add doc string.
8155 (reftex-add-index-macros): Doc fix.
8156 (reftex-ref-style-activate, reftex-ref-style-toggle)
8157 (reftex-ref-style-list): New functions.
8158 (reftex-mode-menu): Use them. Adapt to new structure of
8159 `reftex-ref-style-alist'.
8160 (reftex-select-with-char): Kill the RefTeX Select buffer when
8162 (reftex-remove-if): New function.
8163 (reftex-erase-all-selection-and-index-buffers)
8164 (reftex-mode-menu): Reference styles are now computed from
8165 `reftex-ref-style-alist'. Fix typo.
8166 (reftex-report-bug): New function.
8167 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8168 algorithms with O(n log n). Introduce optional argument SORT (not
8171 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8173 Enhancements for triple-quote string syntax.
8174 * progmodes/python.el (python-syntax-propertize-function):
8175 Match both quote cases in one regexp.
8176 (python-syntax-stringify): Handle matches properly.
8178 2012-09-30 Juri Linkov <juri@jurta.org>
8180 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8181 to nil around the call to `insert' to prevent
8182 directory time modification by lock_file. (Bug#2295)
8183 * tar-mode.el (tar-summarize-buffer): Idem.
8185 2012-09-30 Juri Linkov <juri@jurta.org>
8187 * facemenu.el (list-colors-sort): Add option "Luminance".
8188 (list-colors-sort-key): Implement it.
8190 * vc/diff-mode.el (diff-refine-removed):
8191 * vc/ediff-init.el (ediff-fine-diff-A):
8192 * vc/smerge-mode.el (smerge-refined-removed):
8193 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8195 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8197 * term/ns-win.el (x-file-dialog): New function.
8199 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8201 * ido.el (ido-max-directory-size): Default to nil; the current
8202 default is small for POSIX systems, and impractical on Windows 7
8203 now that lstat returns directory sizes for NTFS.
8205 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8207 In buffer display functions handle window-height/window-width
8208 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8209 * window.el (window--display-buffer): New argument ALIST.
8210 Obey window-height and window-width alist entries.
8211 (window--try-to-split-window): New argument ALIST.
8212 Bind window-combination-limit to t when the window's size shall be
8213 changed and window-combination-limit equals `window-size'.
8214 (display-buffer-in-atom-window)
8215 (display-buffer-in-major-side-window)
8216 (display-buffer-in-side-window, display-buffer-same-window)
8217 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8218 (display-buffer-pop-up-window, display-buffer-below-selected)
8219 (display-buffer-at-bottom, display-buffer-in-previous-window)
8220 (display-buffer-use-some-window): Adjust all callers of
8221 window--display-buffer and window--try-to-split-window.
8222 (fit-frame-to-buffer): New option.
8223 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8225 (display-buffer-in-major-side-window): Evaluate window-height /
8226 window-width alist entries.
8228 * help.el (temp-buffer-resize-frames)
8229 (temp-buffer-resize-regexps): Remove options.
8230 (temp-buffer-resize-mode): Adjust doc-string.
8231 (resize-temp-buffer-window): Don't consult
8232 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8233 temp-buffer-resize-frames.
8235 * dired.el (dired-mark-pop-up):
8236 Call display-buffer-below-selected with a fit-window-to-buffer alist
8239 2012-09-30 Chong Yidong <cyd@gnu.org>
8241 * server.el (server-host): Document the security implications.
8242 (server-auth-key): Doc fix.
8244 * startup.el (initial-buffer-choice): Doc fix.
8246 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8248 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8251 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8253 * help-fns.el (help-fns--obsolete): Fix last change.
8255 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8257 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8258 (minor-mode-map-alist): Remove redundant code.
8260 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8261 visited in a buffer.
8262 (cvs-insert-visited-file): New function.
8263 (find-file-hook): Use it.
8265 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8267 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8269 (log-edit-empty-buffer-p): Don't require a space after a header.
8271 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8273 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8275 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8276 a proper minor-mode.
8278 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8280 2012-09-29 Glenn Morris <rgm@gnu.org>
8282 * winner.el (winner-mode): Remove variable (let define-minor-mode
8284 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8286 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8287 (winner-mode): Use define-minor-mode.
8289 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8290 the full definition in loaddefs, rather than duplicating it.
8292 * help-macro.el (three-step-help): No need to autoload defcustom.
8294 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8295 (inferior-lisp-program, inferior-lisp-load-command)
8296 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8297 No need to autoload defcustoms.
8299 * hippie-exp.el (hippie-expand-try-functions-list)
8300 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8301 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8302 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8303 (hippie-expand-only-buffers): No need to autoload defcustoms.
8304 * progmodes/vhdl-mode.el (vhdl-line-expand):
8305 Explicitly load hippie-exp, so it does not get autoloaded
8306 while hippie-expand-try-functions-list is let-bound.
8308 2012-09-28 Glenn Morris <rgm@gnu.org>
8310 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8312 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8313 Only "cl.el" counts as cl these days.
8315 2012-09-28 Juri Linkov <juri@jurta.org>
8317 Display archive errors in the echo area instead of inserting
8320 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8321 to STDERR-TEST that can be a regexp matching a successful output.
8322 Create a temporary file and redirect stderr to it. Search for
8323 STDERR-TEST in the stderr output and display it in the echo area
8324 if no match is found.
8325 (archive-extract-by-file): New function like
8326 `archive-extract-by-stdout' but extracting archives to files
8327 and looking for successful matches in stdout. Function body is
8328 mostly copied from `archive-rar-extract'.
8329 (archive-rar-extract): Use `archive-extract-by-file'.
8330 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8332 2012-09-28 Leo Liu <sdl.web@gmail.com>
8334 * pcomplete.el (pcomplete-show-completions):
8335 Use minibuffer-message to make pcomplete usable in minibuffer.
8337 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8339 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * type-break.el: Use lexical-binding.
8342 (type-break-mode): Use define-minor-mode.
8344 * emacs-lisp/pcase.el (pcase--mark-used): New.
8345 (pcase--u1): Use it (bug#12512).
8347 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8348 in load-history with the right file name.
8350 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8352 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8353 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8354 (doc-view-get-bounding-box): Make bounding box slicing work for
8355 ODF and DVI documents.
8357 2012-09-28 Glenn Morris <rgm@gnu.org>
8359 * type-break.el (type-break-mode, type-break-interval)
8360 (type-break-good-rest-interval, type-break-keystroke-threshold):
8361 No need to autoload.
8362 (type-break-good-rest-interval, type-break-keystroke-threshold):
8365 2012-09-28 Chong Yidong <cyd@gnu.org>
8367 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8370 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8374 2012-09-27 Glenn Morris <rgm@gnu.org>
8376 * faces.el (x-display-name): Declare (for without-x builds).
8378 * linum.el (linum-format): Don't autoload it. Improve :type.
8380 * progmodes/tcl.el: Don't require outline when compiling.
8381 (outline-regexp, outline-level): Declare.
8382 * textmodes/sgml-mode.el: Don't require outline when compiling.
8383 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8385 * term.el (term-ansi-reset):
8386 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8388 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8389 files for RCS and SCCS. (Bug#9781)
8391 2012-09-27 Chong Yidong <cyd@gnu.org>
8393 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8394 change; value should be t.
8396 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * image-mode.el: Use lexical-binding.
8399 (image-mode-winprops): Use t to stand for the window of
8400 a buffer that's not displayed.
8401 * doc-view.el (doc-view-new-window-function): Handle the new
8403 (doc-view-enlarge): Make it a real nop if the size is not changed.
8404 (doc-view-display): Handle the case where the buffer is not (yet?)
8405 displayed in any window.
8406 (doc-view-saved-settings): New var.
8407 (doc-view-mode): Use it.
8408 (doc-view-fallback-mode): Set it.
8410 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8411 Set lexical-binding.
8412 (minibuffer-eldef-shorten-default): New var.
8413 (minibuffer-default-in-prompt-regexps): Use it for new default.
8414 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8416 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8418 * international/uni-bidi.el:
8419 * international/uni-category.el:
8420 * international/uni-name.el:
8421 * international/uni-numeric.el: Regenerate.
8423 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8424 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * profiler.el: New file.
8428 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8430 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8431 (testcover-reinstrument): Simplify with CSE.
8433 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8435 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8437 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8439 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8440 (verilog-auto-input, verilog-auto-insert-lisp)
8441 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8442 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8443 (verilog-auto-unused, verilog-auto-wire)
8444 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8445 newline. Reported by Andrew Jones.
8446 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8447 Reported by Brad Dobbie.
8448 (verilog-batch-delete-trailing-whitespace):
8449 Create verilog-batch-delete-trailing-whitespace.
8450 Reported by Brad Dobbie.
8451 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8452 parameters from another module. Reported by Dan Katz.
8453 (verilog-auto, verilog-auto-assign-modport)
8454 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8455 AUTOINOUTMODPORT for UVM interface module shell generation.
8456 Reported by Brad Dobbie.
8457 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8459 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8460 Reported by Matt Martin.
8462 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8464 * window.el (window--resize-child-windows): When resizing child
8465 windows proportionally, process them in reverse order to
8466 preserve the "when splitting a window the new one gets the odd
8468 (window--resize-root-window-vertically): When resizing the
8469 minibuffer window try to affect only windows at the bottom of the
8472 2012-09-25 Chong Yidong <cyd@gnu.org>
8474 * subr.el (declare): Doc fix.
8476 * help-fns.el (help-fns--obsolete): Handle macros properly.
8478 2012-09-25 Chong Yidong <cyd@gnu.org>
8480 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8481 this function obsolete.
8483 * calendar/cal-x.el (calendar-two-frame-setup)
8484 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8485 * calendar/calendar.el (american-calendar, european-calendar)
8486 (calendar-for-loop):
8487 * comint.el (comint-dynamic-simple-complete)
8488 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8489 * desktop.el (desktop-load-default):
8490 * dired-x.el (dired-omit-here-always)
8491 (dired-hack-local-variables, dired-default-directory):
8492 * emacs-lisp/derived.el (derived-mode-class):
8493 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8494 * emacs-lock.el (toggle-emacs-lock):
8495 * epa.el (epa-display-verify-result):
8496 * epg.el (epg-sign-keys, epg-start-sign-keys)
8497 (epg-passphrase-callback-function):
8498 * eshell/esh-util.el (eshell-for):
8499 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8500 (eshell-add-to-window-buffer-names):
8501 * files.el (locate-file-completion):
8502 * imenu.el (imenu-example--create-c-index)
8503 (imenu-example--create-lisp-index)
8504 (imenu-example--lisp-extract-index-name)
8505 (imenu-example--name-and-position):
8506 * international/mule-cmds.el (princ-list):
8507 * international/mule-diag.el (decode-codepage-char):
8508 * international/mule-util.el (detect-coding-with-priority):
8509 * iswitchb.el (iswitchb-read-buffer):
8510 * mail/mailalias.el (mail-complete):
8511 * mail/sendmail.el (mail-sent-via):
8512 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8513 (mouse-major-mode-menu):
8514 * password-cache.el (password-read-and-add):
8515 * pcomplete.el (pcomplete-parse-comint-arguments):
8516 * progmodes/sh-script.el (sh-maybe-here-document):
8517 * replace.el (query-replace-regexp-eval):
8518 * savehist.el (savehist-load):
8519 * simple.el (choose-completion-delete-max-match):
8520 * term.el (term-dynamic-simple-complete):
8521 * vc/ediff-init.el (ediff-check-version):
8522 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8523 * vc/vc.el (vc-diff-switches-list):
8524 * view.el (view-return-to-alist-update): Likewise.
8526 * subr.el (eval-next-after-load, makehash, insert-string)
8527 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8529 (mode-line-inverse-video): Variable deleted.
8531 * international/mule-util.el (string-to-sequence): Remove.
8533 * calendar/calendar.el (calendar-version):
8534 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8535 (icalendar-convert-diary-to-ical):
8536 * cus-edit.el (custom-mode):
8537 * ansi-color.el (ansi-color-unfontify-region):
8538 * international/latin1-disp.el (latin1-char-displayable-p):
8539 * progmodes/cwarn.el (turn-on-cwarn-mode):
8540 * progmodes/which-func.el (which-func-update-1):
8541 Use define-obsolete-function-alias.
8543 * net/newst-backend.el (newsticker-cache-filename):
8544 * net/newst-treeview.el (newsticker-groups-filename):
8545 Fix incorrect obsolescence declaration.
8547 * allout.el (allout-passphrase-hint-string): Likewise.
8548 (allout-init): Use a declare form to mark obsolete.
8550 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8551 this applies to functions.
8553 * iswitchb.el (iswitchb-read-buffer): Move code of
8554 iswitchb-define-mode-map here, and delete that obsolete function.
8556 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8557 font-lock-reference-face.
8559 2012-09-25 Glenn Morris <rgm@gnu.org>
8561 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8564 * eshell/em-term.el (eshell-term-name):
8565 Default to term-term-name. (Bug#12485)
8567 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8569 * progmodes/python.el (python-shell-send-buffer): Better handling
8570 of "if __name__ == '__main__':" conditionals when sending the buffer.
8572 2012-09-24 Glenn Morris <rgm@gnu.org>
8574 * eshell/esh-cmd.el (eshell-find-alias-function):
8575 Tighten up file-name regexp. (Bug#12499)
8577 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8579 Enhancements for triple-quote string syntax.
8580 * progmodes/python.el (python-quote-syntax): Remove.
8581 (python-syntax-propertize-function): New value.
8582 (python-syntax-count-quotes, python-syntax-stringify):
8585 2012-09-24 Chong Yidong <cyd@gnu.org>
8587 * mail/supercite.el (sc-version): Remove obsolete function.
8588 (sc-describe): Don't mark as obsolete, since it is bound.
8589 (sc-submit-bug-report): Remove.
8591 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8592 (cvs-commit-buffer-require-final-newline): Remove.
8593 (log-edit-require-final-newline)
8594 (log-edit-changelog-full-paragraphs): Default to t.
8596 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8597 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8598 * vc/vc.el (vc-checkout-carefully): Likewise.
8600 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8601 (emerge-version): Remove.
8603 * progmodes/compile.el (compile-internal): Remove.
8604 (compilation-parse-errors-function): Fix typo.
8606 * international/mule.el (set-char-table-default): Remove.
8607 (set-coding-priority, make-coding-system, generic-char-p)
8608 (charset-list, charset-bytes, charset-id): Use declare to mark
8609 functions as obsolete.
8611 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8612 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8613 * vc/vc-hooks.el (vc-default-registered): Don't use
8614 vc-master-templates.
8616 * font-lock.el (font-lock-reference-face):
8617 Use define-obsolete-variable-alias.
8619 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8620 * calendar/calendar.el (calendar-font-lock-keywords):
8621 * calendar/diary-lib.el (diary-font-lock-keywords)
8622 (diary-fancy-font-lock-keywords):
8623 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8624 * textmodes/reftex-index.el (reftex-insert-index):
8625 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8626 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8627 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8628 * progmodes/prolog.el (prolog-font-lock-keywords):
8629 * progmodes/idlwave.el (idlwave-idl-keywords):
8630 * progmodes/ada-mode.el (ada-font-lock-keywords):
8631 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8633 2012-09-24 Glenn Morris <rgm@gnu.org>
8635 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8637 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8639 * progmodes/python.el (python-indent-line): More consistent cursor
8642 2012-09-23 Stefan Merten <smerten@oekonux.de>
8644 * textmodes/rst.el: Fix compiler warning.
8646 2012-09-23 Roland Winkler <winkler@gnu.org>
8648 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8649 Transcribe also LaTeX hyphenation.
8650 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8651 bibtex-reformat-previous-options.
8653 2012-09-23 Roland Winkler <winkler@gnu.org>
8655 * proced.el (proced-renice-command): New variable.
8656 (proced-marked-processes): New function.
8657 (proced-with-processes-buffer): New macro.
8658 (proced-send-signal): Use them.
8659 (proced-renice): New command bound to r.
8661 2012-09-23 Roland Winkler <winkler@gnu.org>
8663 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8664 ibuffer-saved-filter-groups has one element, shortcut the call of
8665 completing-read. (Bug#12331)
8667 2012-09-23 Chong Yidong <cyd@gnu.org>
8669 * bindings.el (mode-line-toggle-read-only):
8670 * bs.el (bs-toggle-readonly):
8671 * buff-menu.el (Buffer-menu-toggle-read-only):
8672 * dired.el (dired-toggle-read-only):
8673 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8675 2012-09-23 Chong Yidong <cyd@gnu.org>
8677 * image.el (image-type-available-p): Adapt to init-image-library
8680 2012-09-22 Juri Linkov <juri@jurta.org>
8682 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8683 `dired-toggle-read-only'. (Bug#12462)
8685 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8687 * subr.el (temp-output-buffer-show): New function.
8688 (with-output-to-temp-buffer): Call temp-output-buffer-show
8689 instead of internal-temp-output-buffer-show.
8691 2012-09-22 Chong Yidong <cyd@gnu.org>
8693 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8696 * repeat.el (repeat): Doc fix (Bug#12348).
8698 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8701 * simple.el (shell-command-on-region): Doc fix.
8702 (read-only-mode): Doc fix.
8704 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8706 * emacs-lisp/timer.el (run-with-idle-timer)
8707 (timer-activate-when-idle): Warn against reinvoking an idle timer
8708 from within its own timer action. (Bug#12447)
8710 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8712 * cus-start.el (window-combination-limit): Add new optional
8714 * window.el (temp-buffer-window-show)
8715 (window--try-to-split-window): Handle new values of
8716 window-combination-limit (Bug#1806).
8717 (split-window): Test window-combination-limit for t instead of
8719 (display-buffer-at-bottom): New buffer display action function.
8720 * help.el (temp-buffer-resize-regexps): New option.
8721 (temp-buffer-resize-mode): Rewrite doc-string.
8722 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8723 Don't resize reused window. Suggested by Glenn Morris.
8725 2012-09-22 Stefan Merten <smerten@oekonux.de>
8727 * textmodes/rst.el: Revamp section title faces.
8728 (rst-official-version)
8729 (rst-package-emacs-version-alist): Sync with official version
8731 (rst-faces-defaults, rst-set-level-default)
8732 (rst-level-face-max, rst-level-face-base-color)
8733 (rst-level-face-base-light, rst-level-face-format-light)
8734 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8735 (rst-adornment-faces-alist): Match new setup.
8736 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8737 (rst-level-5, rst-level-6): New faces.
8739 2012-09-22 Chong Yidong <cyd@gnu.org>
8741 * simple.el (undo): Handle indirect buffers (Bug#8207).
8743 2012-09-21 Leo Liu <sdl.web@gmail.com>
8745 IDO: Disable match re-ordering for buffer switching.
8746 * ido.el (ido-buffer-disable-smart-matches): New variable.
8747 (ido-set-matches-1): Use it. (Bug#2042)
8749 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8751 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8752 Fix 2011-05-17 change. (Bug#12418)
8754 2012-09-21 Leo Liu <sdl.web@gmail.com>
8756 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8758 2012-09-21 Glenn Morris <rgm@gnu.org>
8760 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8761 Be more robust about locating simple.el.
8763 2012-09-21 Glenn Morris <rgm@gnu.org>
8765 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8767 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8769 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8771 2012-09-20 Juri Linkov <juri@jurta.org>
8773 * replace.el (query-replace-read-from): Use `read-regexp' instead
8774 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8775 (occur-read-primary-args): Use `read-regexp' instead of
8777 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8778 `read-from-minibuffer'.
8779 * isearch.el (isearch-occur): Use `read-regexp' instead of
8781 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8782 `read-from-minibuffer'.
8783 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8784 of `read-string'. (Bug#7567)
8786 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8787 and allow accepting a list of strings prepended to a list of
8788 standard default values. Doc fix. (Bug#12321)
8790 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8792 * replace.el (read-regexp): Don't add ": " when PROMPT already
8793 ends with a colon and space. (Bug#12321)
8795 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8797 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8800 2012-09-20 Stefan Merten <smerten@oekonux.de>
8802 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8803 Fixes feature request bug#11711.
8804 (rst-mode): Create `imenu-create-index-function'.
8805 (rst-get-stripped-line): Delete after refactoring.
8806 (rst-section-tree, rst-section-tree-rec)
8807 (rst-section-tree-point): Refactor and document properly.
8808 (rst-imenu-find-adornments-for-position)
8809 (rst-imenu-convert-cell, rst-imenu-create-index):
8812 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8814 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8815 (macroexp--expand-all): Use it.
8816 (macroexp--funcall-and-return): Remove by folding it into its sole
8817 caller (macroexp--warn-and-return).
8818 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8819 Use macroexp--obsolete-warning.
8821 * calc/calc.el: Fix last change by removing the whole chunk, since it
8822 was only needed back when Calc was not bundled.
8824 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8826 * emacs-lisp/debug.el (debug): Restore assignment to
8827 debugger-old-buffer removed on 2012-09-08.
8829 2012-09-20 Juri Linkov <juri@jurta.org>
8831 * dired-aux.el (dired-diff): Remove (require 'diff) since
8832 `diff-latest-backup-file' is now autoloaded.
8834 2012-09-20 Chong Yidong <cyd@gnu.org>
8836 * vc/diff.el (diff-latest-backup-file): Autoload.
8838 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8840 * calc/calc.el: Remove redundant autoload shape check.
8841 (sel-mode): Don't defvar.
8842 (calc-get-stack-element): Add `sel-mode' arg instead.
8843 (calc-top, calc-top-list): Pass it this additional argument.
8844 * calc/calc-store.el (calc-store-map):
8845 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8846 (calc-map-equation, calc-outer-product, calc-inner-product):
8847 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8849 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8851 2012-09-19 Juri Linkov <juri@jurta.org>
8853 * dired-aux.el (dired-diff): Add (require 'diff) because
8854 `diff-latest-backup-file' is not autoloaded.
8855 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8856 of `dired-get-filename' to t to not report error when there is
8857 no default file on the current line.
8859 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8862 macroexp--eval-if-compile.
8863 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8864 (macroexp--expand-all): Use them (bug#12371).
8866 * doc-view.el (doc-view-guess-paper-size)
8867 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8869 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8871 New feature: set optimal slice from BoundingBox information.
8872 * doc-view.el (doc-view-mode-map): Add keybinding.
8873 (doc-view-menu): Add menu entry.
8874 (doc-view-set-slice): Adapt docstring.
8875 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8876 (doc-view-scale-bounding-box)
8877 (doc-view-set-slice-from-bounding-box): New functions.
8878 (doc-view-paper-sizes): New defvar.
8880 2012-09-19 Glenn Morris <rgm@gnu.org>
8882 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8883 (byte-compile-log-warning): Autoload. (Bug#12371)
8885 * calendar/calendar.el (calendar-american-month-header)
8886 (calendar-european-month-header, calendar-iso-month-header)
8887 (calendar-month-header): New options.
8888 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8889 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8891 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8893 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8895 2012-09-18 Juri Linkov <juri@jurta.org>
8897 * dired-aux.el (dired-diff): Restore original functionality of
8898 getting the default value, but keep new feature of using the
8899 latest existing backup file (`diff-latest-backup-file').
8901 2012-09-18 Juri Linkov <juri@jurta.org>
8903 * dired.el (dired-mark): If the region is active in Transient Mark
8904 mode, mark all files in the active region. Doc fix.
8905 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8906 Doc fix. (Bug#10624)
8908 2012-09-18 Juri Linkov <juri@jurta.org>
8910 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8911 attributes for M-n are pulled from the file at point.
8912 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8913 Suggested by Drew Adams. (Bug#10624)
8915 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8917 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8918 whitespace after "end".
8919 (ruby-do-end-to-brace): Collapse block to one line if it fits
8922 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8924 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8926 (debug): Don't remove debugger window when debugger is expected
8929 2012-09-18 Chong Yidong <cyd@gnu.org>
8931 * custom.el (defface): Doc fix.
8933 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8935 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8937 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8938 to initialize query-on-exit; then test that instead (bug#12288).
8940 2012-09-17 Stefan Merten <smerten@oekonux.de>
8942 * textmodes/rst.el: Add support for `testcover'.
8943 (rst-defcustom-testcover, rst-testcover-add-compose)
8944 (rst-testcover-add-1value): New functions.
8945 (rst-portable-mark-active-p): Replace by `use-region-p'.
8946 (rst-update-section, rst-classify-adornment)
8947 (rst-find-title-line): Mark `1value' forms.
8948 (rst-classify-adornment): Remove superfluous form.
8949 (rst-update-section, rst-get-adornments-around)
8950 (rst-adornment-complete-p, rst-get-next-adornment)
8951 (rst-adjust, rst-promote-region)
8952 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8953 (rst-find-pfx-in-region, rst-section-tree-rec)
8954 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8955 (rst-toc-node, rst-toc, rst-forward-section)
8956 (rst-iterate-leftmost-paragraphs)
8957 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8958 (rst-bullet-list-region)
8959 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8960 (rst-compile-find-conf, rst-compile)
8961 (rst-repeat-last-character): Fix style.
8963 2012-09-17 Chong Yidong <cyd@gnu.org>
8965 * comint.el (comint--complete-file-name-data): Don't add a space
8966 if the status is `sole'; that adds a gratuitous space in the
8967 completion-cycling case (Bug#12092).
8969 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8971 2012-09-17 Richard Stallman <rms@gnu.org>
8973 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8974 only in the mime-shown mode, not in raw mode.
8975 (rmail-mime): Toggle off mime by displaying the message without
8976 mime processing. (Bug#12305)
8978 * mail/rmail.el (rmail-retry-failure):
8979 Turn off mime processing first. (Bug#12037)
8981 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8983 2012-09-17 Chong Yidong <cyd@gnu.org>
8985 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8986 (shell-dynamic-complete-functions): Convert to defcustom.
8987 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8989 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8990 * comint.el (comint-prompt-read-only):
8991 * custom.el (defcustom):
8992 * hi-lock.el (hi-lock-mode):
8993 * ibuffer.el (ibuffer-formats):
8994 * ielm.el (ielm-prompt-read-only):
8995 * novice.el (disable-command):
8996 * saveplace.el (toggle-save-place):
8997 * speedbar.el (speedbar-supported-extension-expressions):
8998 * startup.el (auto-save-list-file-prefix, init-file-user)
8999 (after-init-hook, inhibit-startup-echo-area-message):
9000 * strokes.el (strokes-help):
9001 * time-stamp.el (time-stamp):
9002 * calendar/calendar.el (calendar, diary-file):
9003 * calendar/diary-lib.el (diary-mail-entries, diary)
9004 (diary-list-entries-hook):
9005 * calendar/holidays.el (holidays, calendar-holidays):
9006 * calendar/lunar.el (lunar-phases):
9007 * calendar/solar.el (sunrise-sunset):
9008 * emulation/edt.el (edt-load-keys):
9009 * emulation/viper.el (viper-mode):
9010 * eshell/em-alias.el (eshell-command-aliases-list):
9011 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9012 * international/ogonek.el (ogonek-information):
9013 * net/tramp-cmds.el (tramp-bug):
9014 * net/quickurl.el (quickurl-reread-hook-postfix):
9015 * play/decipher.el (decipher-font-lock-keywords):
9016 * progmodes/cc-styles.el (c-set-style):
9017 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9018 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9019 * progmodes/octave-mod.el (octave-mode):
9020 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9021 * progmodes/verilog-mode.el (verilog-read-defines):
9022 * textmodes/two-column.el (2C-mode): Likewise.
9024 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9026 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9027 that holds many addresses.
9029 2012-09-16 Chong Yidong <cyd@gnu.org>
9031 * align.el (align-areas): Call the indication function with
9032 positions instead of markers for arguments (Bug#12343).
9034 * files.el (parse-colon-path): Use split-string (Bug#12351).
9036 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9037 (display-buffer-function): Mark as obsolete.
9039 * progmodes/compile.el (compilation-parse-errors): Accept list
9040 values similar to font-lock-keywords (Bug#12136).
9041 Suggested by Oleksandr Manzyuk.
9042 (compilation-error-regexp-alist): Doc fix.
9044 2012-09-15 Glenn Morris <rgm@gnu.org>
9046 * version.el (emacs-bzr-version-bzr): New function.
9047 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9049 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9050 checkouts, check the parent dirstate matches the branch.
9051 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9054 * version.el (emacs-bzr-version): Doc fix.
9055 (emacs-bzr-version-dirstate): New function.
9056 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9057 is local try and check that it matches the branch. If not, just
9058 use dirstate information. (Bug#12441)
9060 2012-09-14 Juri Linkov <juri@jurta.org>
9062 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9065 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9067 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9069 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9070 Remove obsolete byte-compiler hack that tried to silence some warnings.
9071 (edebug-submit-bug-report): Remove.
9072 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9073 Remove aliases, use the un-prefixed name instead.
9074 (edebug-pop-to-buffer): Consider other frames.
9075 (edebug-original-read):: Make it more obvious that it's always defined.
9076 (edebug--make-form-data-entry, edebug--form-data-name)
9077 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9078 single-dashed name, and implement with cl-defstruct.
9079 (edebug-set-form-data-entry): Use the standard accessors.
9080 (edebug-make-top-form-data-entry): Use push.
9081 (edebug-no-match): Drop useless `funcall'.
9082 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9084 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9085 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9086 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9087 (easy-menu-define, with-custom-print): Remove redundant specs.
9088 (edebug-outside-overriding-local-map)
9089 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9090 (edebug--display): Bind unread-command-events directly to nil rather
9091 than binding it to unread-command-events and later setting it to nil.
9092 (edebug--display): Kill edebug-eval-buffer here...
9093 (edebug--recursive-edit): ...rather than here.
9094 Bind standard-output and standard-input.
9095 (edebug-eval): Check cl-macroexpand-all is fboundp.
9096 (edebug-temp-display-freq-count): Fix last change.
9098 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9099 * subr.el (noreturn, 1value): Add `debug' spec.
9100 * emacs-lisp/advice.el: Require cl-lib.
9101 (ad-copy-tree): Remove, use copy-tree instead.
9102 (ad-dolist): Remove use dolist or cl-dolist instead.
9103 (ad-do-return): Remove, use cl-return instead.
9104 (defadvice): Add `debug' spec.
9106 2012-09-13 Juri Linkov <juri@jurta.org>
9108 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9111 2012-09-13 Glenn Morris <rgm@gnu.org>
9113 * calc/calc.el (math-compose-expr):
9114 * calc/calc-ext.el (math-compose-expr):
9115 * progmodes/cc-defs.el (cl-macroexpand-all):
9116 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9117 (cl-macroexpand-all): Update declarations.
9119 * vc/vc.el: No need to require ediff.
9120 (ediff-load-version-control): Declare.
9121 (ediff-vc-internal): Fix declaration.
9122 (vc-version-ediff): Require ediff.
9124 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9126 Use a more backwards-compatible timer format (Bug#12430).
9127 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9128 being right after USECS, as that better supports old code that
9129 inadvisedly looked directly at the timer vector.
9131 2012-09-13 Kenichi Handa <handa@gnu.org>
9133 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9134 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9135 `coding-priority' property of these language environment.
9137 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9139 Fix glitches caused by addition of psec to timers (Bug#12430).
9140 * image.el (image-animate-timer):
9141 * time.el (display-time-world-timer):
9142 Use timer--function and timer--args rather than raw access to
9145 2012-09-13 Glenn Morris <rgm@gnu.org>
9147 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9148 If not compiling a file, try using load-file-name.
9150 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9152 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9154 (edebug-update-eval-list): Use `push'.
9156 * emacs-lisp/edebug.el: Use lexical-binding.
9157 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9158 Mark unused args with underscore.
9159 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9160 (edebug-form-data): Use defvar-local.
9161 (edebug-make-before-and-after-form, edebug-make-after-form):
9163 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9164 Not dynamically scoped any more.
9165 (edebug--enter-trace): Add arguments `function' and `args'.
9166 Rename from edebug-enter-trace.
9167 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9168 (edebug--update-coverage): Add `after-index' and `value' args.
9169 Rename from edebug-update-coverage.
9170 (edebug-slow-after): Call it accordingly.
9171 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9172 edebug-recursive-edit.
9173 (edebug--display): Call it accordingly. Add args `value',
9174 `offset-index', and `arg-mode'. Rename from edebug-display.
9175 (edebug-debugger, edebug): Call it accordingly.
9176 (edebug-eval-display-list): Use dolist.
9178 2012-09-12 Juri Linkov <juri@jurta.org>
9180 * info.el (Info-search): Don't check for isearch-mode and
9181 isearch-regexp before let-binding search-spaces-regexp to
9182 Info-search-whitespace-regexp.
9183 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9184 search-whitespace-regexp if isearch-lax-whitespace or
9185 isearch-regexp-lax-whitespace is non-nil.
9186 (Info-mode): Don't set local variable search-whitespace-regexp.
9187 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9189 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9191 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9192 (debugger-env-macro): Remove support for unread-command-char.
9194 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9195 the temporary map re-appearing on emulation-mode-map-alists.
9197 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9200 * ehelp.el (with-electric-help): Accept functions in
9201 electric-help-form-to-execute.
9202 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9203 And replace unread-command-char -> unread-command-events.
9205 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9207 Sync with Tramp 2.2.6.
9209 * net/tramp.el (tramp-accept-process-output): Don't use
9210 JUST-THIS-ONE in the XEmacs case.
9212 * net/trampver.el: Update release number.
9214 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9216 * emacs-lisp/debug.el (debugger-previous-window-height):
9218 (debug): When debugger-jumping-flag is non-nil try to restore
9219 height of debugger window. (Bug#8789)
9221 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9223 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9224 overriding-local-map and pre/post-command-hook here.
9225 (edebug-recursive-edit): Do it here instead (bug#12345).
9226 (edebug-outside-unread-command-char): Remove all uses of
9227 unread-command-char.
9229 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9230 inhibit-debugger is bound instead.
9232 2012-09-11 Bastien Guerry <bzg@gnu.org>
9234 * subr.el (set-temporary-overlay-map): Add a docstring.
9237 2012-09-11 Bastien Guerry <bzg@gnu.org>
9239 * minibuffer.el (completion-table-subvert): Fix docstring.
9242 2012-09-11 Bastien Guerry <bzg@gnu.org>
9244 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9246 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9248 * progmodes/sql.el: Version 3.1
9249 (sql-db2-escape-newlines): New variable.
9250 (sql-escape-newlines-filter): Use it.
9252 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9254 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9256 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9258 * vc/diff-mode.el (diff-mode-menu):
9259 Bind diff-remove-trailing-whitespace.
9261 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9264 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9265 (emacs-lisp-byte-code-mode): New functions.
9266 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9267 (eval-defun-2): Remove bogus interactive spec.
9268 (lisp-indent-line): Remove redundant whole-exp code, now done in
9269 indent-according-to-mode.
9270 (save-match-data): Remove redundant indent data.
9272 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9275 2012-09-09 Juri Linkov <juri@jurta.org>
9277 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9278 (replace-lax-whitespace, query-replace-regexp)
9279 (query-replace-regexp-eval, replace-regexp): Doc fix.
9280 (perform-replace, replace-highlight): Let-bind
9281 isearch-lax-whitespace to replace-lax-whitespace and
9282 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9284 * isearch.el (isearch-query-replace): Let-bind
9285 replace-lax-whitespace to isearch-lax-whitespace and
9286 replace-regexp-lax-whitespace to
9287 isearch-regexp-lax-whitespace. (Bug#10885)
9289 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9291 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9293 2012-09-09 Alan Mackenzie <acm@muc.de>
9295 * progmodes/cc-engine.el (c-state-cache-init):
9296 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9297 (c-record-parse-state-state):
9298 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9300 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9302 * register.el (register-separator): Rename from
9303 separator-register. All uses changed. Doc fix.
9304 (register): Fix version.
9306 2012-09-09 Chong Yidong <cyd@gnu.org>
9308 * replace.el (query-replace-map): Bind four new symbols for
9309 requesting window scrolling.
9311 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9312 query-replace-map (Bug#8948).
9314 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9316 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9317 since they are now in query-replace-map.
9319 * window.el (scroll-other-window-down): Make the arg optional.
9321 2012-09-09 Chong Yidong <cyd@gnu.org>
9323 * files.el (hack-local-variables-confirm): Use quit-window to kill
9324 the *Local Variables* buffer.
9326 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9328 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9329 not just expect to be at its beginning. Adjust callees.
9330 Succeed when do-end block has no space before the pipe character.
9331 (ruby-brace-to-do-end): When the original block is one-liner,
9332 convert to multiline. Reindent the result.
9334 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9336 * register.el (register): New group.
9337 (separator-register): New user option.
9338 (increment-register): Route it to `append-to-register', if
9339 register contains text. Implication is that `C-x r +' can now be
9340 used for appending to a text register (bug#12217).
9341 (append-to-register, prepend-to-register): Add separator based on
9342 `separator-register'.
9344 2012-09-08 Alan Mackenzie <acm@muc.de>
9346 AWK Mode: make auto-newline work when there's "==" in the pattern.
9347 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9349 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9350 Test more rigorously for "=" token.
9352 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9354 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9355 Only fail when reached LIMIT.
9357 2012-09-08 Chong Yidong <cyd@gnu.org>
9359 * dired.el (dired-mode-map): Don't bind M-=.
9361 * dired-aux.el (dired-diff): Use backup file as default.
9363 2012-09-08 Drew Adams <drew.adams@oracle.com>
9365 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9367 2012-09-08 Chong Yidong <cyd@gnu.org>
9369 * subr.el (syntax-after, syntax-class): Doc fix.
9371 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9373 * window.el (display-buffer-in-previous-window): New buffer
9374 display action function.
9376 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9377 (debugger-previous-window): New variable.
9378 (debug): Rewrite using display-buffer-in-previous-window,
9379 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9381 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9383 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9385 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9387 * progmodes/python.el (python-shell-send-string):
9388 When default-directory is remote, create temp file on remote
9390 (python-shell-send-file): When file is remote, pass local view of
9391 file paths to remote Python interpreter. (Bug#12340)
9393 2012-09-07 Chong Yidong <cyd@gnu.org>
9395 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9397 * files.el (after-find-file): Don't fail on a read-only buffer if
9398 require-final-newline is `visit' or `visit-save' (Bug#11156).
9400 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9402 * userlock.el (ask-user-about-supersession-threat):
9403 Use read-char-choice (Bug#12093).
9405 2012-09-07 Chong Yidong <cyd@gnu.org>
9407 * subr.el (buffer-narrowed-p): New function.
9409 * ses.el (ses-widen):
9410 * simple.el (count-words--buffer-message):
9411 * net/browse-url.el (browse-url-of-buffer): Use it.
9413 * simple.el (count-words-region): Don't signal an error if there
9414 is a non-nil prefix arg and the mark is not set.
9416 * help.el (describe-key-briefly): Allow the message to be seen
9417 when invoked from the minibuffer (Bug#7014).
9419 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9421 * progmodes/ruby-mode.el (ruby-end-of-defun)
9422 (ruby-beginning-of-defun): Simplify, allow indentation before
9423 block beginning and end keywords.
9424 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9425 (ruby-end-of-defun): Expect that the point is at the beginning of
9428 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9432 (cl--make-usage-args): Strip _ from argument names.
9434 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9436 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9437 obsolete alias speedbar-key-map.
9438 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9439 (vhdl-index-menu-init): Don't use obsolete variable
9440 font-lock-maximum-size.
9442 2012-09-06 Chong Yidong <cyd@gnu.org>
9444 * frame.el (window-system-version): Mark as obsolete.
9446 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9447 of obsolete variable speedbar-key-map.
9449 2012-09-06 Juri Linkov <juri@jurta.org>
9451 * replace.el (replace-lax-whitespace): New defcustom.
9452 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9453 (replace-string, replace-regexp): Mention it in docstrings.
9454 (perform-replace, replace-highlight): Let-bind
9455 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9456 to the values of replace-lax-whitespace and regexp-flag.
9457 Don't let-bind search-whitespace-regexp. (Bug#10885)
9459 * isearch.el (isearch-query-replace): Let-bind
9460 replace-lax-whitespace instead of let-binding
9461 replace-search-function and replace-re-search-function.
9462 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9463 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9464 (isearch-toggle-symbol): Set isearch-regexp to nil
9465 in isearch-word mode (like in isearch-toggle-word).
9467 2012-09-06 Juri Linkov <juri@jurta.org>
9469 * replace.el (replace-search-function)
9470 (replace-re-search-function): Set default values to nil.
9471 (perform-replace): Let-bind isearch-related variables based on
9472 replace-related values, call `isearch-search-fun' and let-bind
9473 the result to `search-function'. Remove code that sets
9474 `search-function' and `search-string' separately for
9476 (replace-highlight): Add new argument `delimited-flag' and
9477 rename other arguments to the names used in `perform-replace'.
9478 Let-bind `isearch-word' to the argument `delimited-flag'.
9479 (Bug#10885, bug#10887)
9481 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9483 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9484 ruby-beginning-of-indent, simplify, allow all keywords to have
9485 indentation before them.
9486 (ruby-beginning-of-indent): Adjust for above. Search until the
9487 found point is not inside a string or comment.
9488 (ruby-font-lock-keywords): Allow symbols to start with "@"
9489 character, give them higher priority than variables.
9490 (ruby-syntax-propertize-function)
9491 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9492 matchers. Expression expansions are not comments when inside a
9493 string, and there comment syntax status is irrelevant.
9494 (ruby-match-expression-expansion): New function. Check that
9495 expression expansion is inside a string, and it's not escaped.
9496 (ruby-font-lock-keywords): Use it.
9498 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9500 * help.el (temp-buffer-max-height): New default value.
9501 (temp-buffer-resize-frames): New option.
9502 (resize-temp-buffer-window): Optionally resize frame.
9504 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9505 (fit-frame-to-buffer): New function.
9507 2012-09-05 Glenn Morris <rgm@gnu.org>
9509 * emulation/cua-rect.el (cua--init-rectangles):
9510 * textmodes/picture.el (picture-mode-map):
9511 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9512 like forward-char and backward-char. (Bug#12317)
9514 2012-09-05 Leo Liu <sdl.web@gmail.com>
9516 * progmodes/flymake.el (flymake-warning-re): New variable.
9517 (flymake-parse-line): Use it.
9519 2012-09-05 Glenn Morris <rgm@gnu.org>
9521 * calendar/holidays.el (holiday-christian-holidays):
9522 Rename an entry. (Bug#12289)
9524 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9526 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9529 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9531 * loadup.el: Load macroexp. Remove hack.
9532 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9533 (macroexp--expand-all): Use it to get better warnings.
9534 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9535 (internal-macroexpand-for-load): New functions.
9536 (macroexp--pending-eager-loads): New var.
9537 (emacs-startup-hook): New hack to replace one in loadup.el.
9538 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9539 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9540 (cl-psetf): Simplify.
9541 (cl-defstruct): Add indent rule.
9543 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9545 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9546 over `user-mail-address' for the SMTP MAIL FROM envelope.
9547 (smtpmail-via-smtp): Ditto.
9549 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9551 * progmodes/ruby-mode.el: Clean up keybindings.
9552 (ruby-mode-map): Don't bind ruby-electric-brace,
9553 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9554 backward-kill-word, reindent-then-newline-and-indent.
9555 (ruby-mark-defun): Remove.
9556 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9557 (ruby-mode): Set local beginning-of-defun-function and
9558 end-of-defun-function values.
9560 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9562 * window.el (temp-buffer-window-setup-hook)
9563 (temp-buffer-window-show-hook): New hooks.
9564 (temp-buffer-window-setup, temp-buffer-window-show)
9565 (with-temp-buffer-window): New functions.
9566 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9567 (special-display-popup-frame): Make sure the window used shows BUFFER.
9569 * help.el (temp-buffer-resize-mode): Fix doc-string.
9570 (resize-temp-buffer-window): New optional argument WINDOW.
9572 * files.el (recover-file, save-buffers-kill-emacs):
9573 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9575 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9577 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9578 remote definition of `default-directory', ensure we can connect.
9580 2012-09-02 Juri Linkov <juri@jurta.org>
9582 Toggle whitespace matching mode with M-s SPC.
9583 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9585 * isearch.el (search-whitespace-regexp): Doc fix.
9586 Remove cons cell customization.
9587 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9588 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9590 (isearch-forward, isearch-forward-regexp): Doc fix.
9591 (isearch-toggle-lax-whitespace): New command.
9592 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9593 (re-search-forward-lax-whitespace)
9594 (re-search-backward-lax-whitespace): New functions.
9595 (isearch-whitespace-regexp): Remove function.
9596 (isearch-query-replace): Let-bind replace-search-function and
9597 replace-re-search-function.
9598 (isearch-occur): Let-bind search-spaces-regexp according to the
9599 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9600 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9601 condition for C-q SPC.
9602 (isearch-search-fun-default): Use new functions mentioned above.
9603 (isearch-search-forward, isearch-search-backward): Remove functions.
9604 (isearch-search): Don't let-bind search-spaces-regexp.
9605 (isearch-lazy-highlight-space-regexp): Remove variable.
9606 (isearch-lazy-highlight-lax-whitespace)
9607 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9608 (isearch-lazy-highlight-new-loop): Use them.
9609 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9611 2012-09-02 Chong Yidong <cyd@gnu.org>
9613 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9615 2012-09-02 Glenn Morris <rgm@gnu.org>
9617 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9619 2012-09-01 Glenn Morris <rgm@gnu.org>
9621 * term.el: Tidy up menu definitions.
9622 (term-mode-map): Use easymenu for In/Out, Complete menus.
9623 (term-pager-break-map): Initialize in the defvar.
9624 (term-terminal-menu, term-signals-menu): Define with easymenu.
9625 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9626 (term-pager-menu): New, extracted from term-process-pager.
9627 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9628 (term-update-mode-line): Propertize line/char and page items.
9629 (term-process-pager): Move keymap initialization elsewhere.
9631 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9633 * window.el (switch-to-prev-buffer): Handle additional values of
9634 BURY-OR-KILL argument. Don't switch in minibuffer window.
9635 (switch-to-next-buffer): Don't switch in minibuffer window.
9636 (quit-restore-window): New function based on quit-window.
9637 Handle additional values of former KILL argument.
9638 (quit-window): Call quit-restore-window with appropriate
9639 interpretation of KILL argument.
9640 (display-buffer-below-selected): New buffer display action
9643 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9645 * minibuffer.el (completion-at-point-functions): Complete docstring
9648 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9650 Better seed support for (random).
9651 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9652 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9653 * play/mpuz.el, play/tetris.el, play/zone.el:
9654 * calc/calc-comb.el (math-init-random-base):
9655 * play/blackbox.el (bb-init-board):
9656 * play/life.el (life):
9657 * server.el (server-use-tcp):
9658 * type-break.el (type-break):
9659 Remove unnecessary call to (random t).
9660 * net/sasl.el (sasl-unique-id-function):
9661 Change (random t) to (random), now that the latter is more random.
9662 * play/life.el (life-initialized): Remove no-longer-needed var.
9664 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9666 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9667 Consider frame's buffer predicate when choosing the buffer.
9670 2012-08-30 Richard Stallman <rms@gnu.org>
9672 * simple.el (special-mode-map): Delete binding for `z'.
9674 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9676 * progmodes/compile.el (compilation-always-kill): Doc fix.
9678 2012-08-30 Chong Yidong <cyd@gnu.org>
9680 * window.el (display-buffer-reuse-frames): Make the obsolescence
9681 message more informative.
9683 2012-08-30 Glenn Morris <rgm@gnu.org>
9685 * paren.el (show-paren-delay):
9686 Add a :set function. Doc fix. (Bug#12297)
9688 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9690 * progmodes/compile.el (compilation-always-kill): New var.
9691 (compilation-start): Use it.
9693 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9696 * files.el (read-only-mode): Move to simple.el.
9698 * files.el (read-only-mode): New minor mode.
9699 (toggle-read-only): Use it and mark obsolete.
9700 (find-file--read-only):
9701 * vc/vc.el (vc-next-action, vc-checkout):
9702 * vc/vc-cvs.el (vc-cvs-checkout):
9703 * obsolete/vc-mcvs.el (vc-mcvs-update):
9704 * ffap.el (ffap--toggle-read-only): Update callers.
9706 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9708 * eshell/esh-ext.el (eshell-external-command): Do not examine
9709 remote shell scripts.
9710 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9712 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9715 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9719 2012-08-28 Leo Liu <sdl.web@gmail.com>
9721 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9722 completion-at-point. (Bug#12220)
9724 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9726 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9728 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9731 be buffer-local; add delete-trailing-whitespace (bug#12259).
9733 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9735 * progmodes/hideif.el (hif-compress-define-list):
9736 Fix typo. (Bug#11951)
9738 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9740 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9741 buffer local setting.
9743 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9744 rcirc-encode-coding-system.
9746 2012-08-28 Leo Liu <sdl.web@gmail.com>
9748 * net/rcirc.el (rcirc-split-message): New function.
9749 (rcirc-send-message): Use it. (Bug#12051)
9751 2012-08-28 Juri Linkov <juri@jurta.org>
9753 * info.el (Info-fontify-node): Hide empty lines at the end of
9754 the node. (Bug#12272)
9756 2012-08-27 Drew Adams <drew.adams@oracle.com>
9758 * dired.el (dired-pop-to-buffer): Make window start at beginning
9759 of buffer (Bug#12281).
9761 2012-08-26 Chong Yidong <cyd@gnu.org>
9763 * window.el (special-display-regexps, special-display-frame-alist)
9764 (special-display-buffer-names, special-display-function)
9765 (display-buffer-reuse-frames): Mark as obsolete.
9767 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9769 * help.el (help-print-return-message): Don't treat
9770 display-buffer-reuse-frames specially.
9772 2012-08-26 Chong Yidong <cyd@gnu.org>
9774 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9775 New variable, replacing gdb-frame-parameters.
9776 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9777 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9778 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9779 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9780 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9781 the functions directly with gdb-display-buffer-other-frame-action.
9782 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9783 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9784 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9785 (gdb-display-registers-buffer): Define directly.
9786 (def-gdb-display-buffer): Macro deleted.
9787 (gdb-display-buffer): Remove second and third args, callers don't
9788 use them. Defer to the default display-buffer behavior, apart
9789 from making windows dedicated.
9790 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9792 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9794 * window.el (display-buffer-pop-up-frame): Handle a
9795 pop-up-frame-parameters alist entry.
9796 (display-buffer): Document it.
9798 2012-08-26 Chong Yidong <cyd@gnu.org>
9800 * isearch.el (search-whitespace-regexp): Make string and nil
9801 values apply to both ordinary and regexp search. Allow a cons
9802 cell value to distinguish between the two.
9803 (isearch-whitespace-regexp, isearch-search-forward)
9804 (isearch-search-backward): New functions.
9805 (isearch-occur, isearch-search-fun-default, isearch-search)
9806 (isearch-lazy-highlight-new-loop): Use them.
9807 (isearch-forward, isearch-forward-regexp): Doc fix.
9809 2012-08-26 Chong Yidong <cyd@gnu.org>
9811 * faces.el (help-argument-name): Always inherit from italic
9814 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9816 * window.el (window--even-window-heights): Even heights when
9817 WINDOW and the selected window form a vertical combination.
9818 (display-buffer-use-some-window): Provide that window used gets
9819 sized back by quit-window. (Bug#11880) and (Bug#12091)
9821 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9823 Fix file time stamp problem with bzr and CVS (Bug#12001).
9824 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9825 in the file's time stamp, since the version control system loses
9828 2012-08-22 Juri Linkov <juri@jurta.org>
9830 * info.el (Info-fontify-node): Hide the suffix of the
9831 Info file name in the header line. (Bug#12187)
9833 2012-08-22 Glenn Morris <rgm@gnu.org>
9835 * calendar/cal-tex.el (cal-tex-weekly-common):
9836 Restore leading blank page.
9838 2012-08-22 Le Wang <l26wang@gmail.com>
9840 * misc.el (forward-to-word, backward-to-word): Activate or extend
9841 the region under `shift-select-mode'. (Bug#12231)
9843 2012-08-22 Bastien Guerry <bzg@gnu.org>
9845 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9846 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9847 gives details on why the space is never needed.
9849 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9851 * window.el (walk-window-tree, window-with-parameter):
9852 New optional argument MINIBUF to control whether these functions
9853 should run on the minibuffer window.
9854 (window-at-side-list): Don't operate on minibuffer window.
9855 (window-in-direction): Simplify and rewrite doc-string.
9856 (window--size-ignore): Rename to window--size-ignore-p.
9858 (display-buffer-in-atom-window, window--major-non-side-window)
9859 (window--major-side-window, display-buffer-in-major-side-window)
9860 (delete-side-window, display-buffer-in-side-window):
9862 (window--side-check, window-deletable-p, delete-window)
9863 (delete-other-windows, split-window): Handle side windows and
9864 atomic windows appropriately.
9865 (window--display-buffer): Call display-buffer-record-window also
9866 when the window buffer did not change.
9868 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9870 * help-fns.el (help-fns--key-bindings):
9871 Abbreviate non-symbol remap targets. (Bug#12174)
9873 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9875 * dired.el (dired-mark-remembered): Don't clobber point.
9878 2012-08-22 Glenn Morris <rgm@gnu.org>
9880 * progmodes/bug-reference.el (bug-reference): New custom group.
9881 (bug-reference-bug-regexp): Make it a defcustom.
9883 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9885 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9886 (js-paren-indent-offset, js-square-indent-offset)
9887 (js-curly-indent-offset): Add :safe (Bug#12257).
9889 2012-08-22 Edward O'Connor <hober0@gmail.com>
9891 * json.el (json-key-format): Add error properties.
9892 (json-encode-key): New function.
9893 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9894 Use json-encode-key.
9896 2012-08-22 Glenn Morris <rgm@gnu.org>
9898 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9899 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9900 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9901 Update for above change.
9903 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9905 * cus-face.el (custom-face-attributes): Fix customize type for the
9906 :underline attribute. (Bug#11805)
9908 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9910 * window.el (window-point-1, set-window-point-1): Remove.
9911 (window-in-direction, record-window-buffer)
9912 (set-window-buffer-start-and-point, split-window-below)
9913 (window--state-get-1, display-buffer-record-window):
9914 Replace calls to window-point-1 and set-window-point-1 by calls to
9915 window-point and set-window-point respectively.
9917 2012-08-21 Glenn Morris <rgm@gnu.org>
9919 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9920 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9923 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9924 (cal-tex-shortday): New function.
9925 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9926 (cal-tex-cursor-filofax-daily): Use the above.
9928 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9930 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9931 (cal-tex-cursor-filofax-week): Use them.
9933 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9935 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9936 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9938 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9939 (cal-tex-end-document): Don't rely on buffer name.
9941 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9943 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9944 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9945 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9948 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9949 (cal-tex-cursor-week, cal-tex-cursor-week2)
9950 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9951 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9952 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9953 (cal-tex-insert-preamble, cal-tex-b-document)
9954 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9955 Improve cal-tex-cmd usage.
9957 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9958 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9959 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9960 (cal-tex-weekly-paper): New function.
9961 (cal-tex-cursor-week, cal-tex-cursor-week2)
9962 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9963 (cal-tex-cursor-day): Use it.
9965 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9966 (cal-tex-cursor-filofax-week): Remove leading blank page.
9968 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9969 Add autoload cookie. For now at least, don't use color, since
9970 no other cal-tex function does.
9972 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9973 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9974 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9976 2012-08-21 Juri Linkov <juri@jurta.org>
9978 * info.el (Info-file-attributes): New variable.
9979 (info-insert-file-contents): Add file attributes to
9980 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9981 `Info-toc-nodes' when previous modtime of the Info file is less
9983 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9984 of info.el. (Bug#12230)
9986 2012-08-20 Glenn Morris <rgm@gnu.org>
9988 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9989 * calendar/holidays.el (calendar-holiday-list):
9990 Report errors with display-warning rather than beep'n'sleep.
9992 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9994 * net/tramp.el (tramp-accept-process-output): Accept only output
9995 from PROC. Otherwise, process filters and sentinels might be
9996 confused. (Bug#12145)
9998 2012-08-20 Chong Yidong <cyd@gnu.org>
10000 * descr-text.el (describe-text-properties-1): Use overlays-in to
10001 report on empty overlays (Bug#3322).
10003 2012-08-20 Glenn Morris <rgm@gnu.org>
10005 * mail/rmailout.el (rmail-output-read-file-name):
10006 Trap and report errors in rmail-output-file-alist elements.
10008 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10009 since most non-font-lock faces are not also variables).
10011 2012-08-20 Edward Reingold <reingold@iit.edu>
10013 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10014 New function. (Bug12160)
10016 2012-08-19 Glenn Morris <rgm@gnu.org>
10018 * mail/rmailout.el (rmail-output-read-file-name):
10019 Fix previous change (when the alist is nil or does not match).
10021 2012-08-19 Chong Yidong <cyd@gnu.org>
10023 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10026 2012-08-18 Chong Yidong <cyd@gnu.org>
10028 * simple.el (yank-handled-properties): New defcustom.
10029 (yank-excluded-properties): Add font-lock-face and category.
10032 * subr.el (remove-yank-excluded-properties):
10033 Obey yank-handled-properties. The special handling of font-lock-face
10034 and category is now done this way, instead of being hard-coded.
10035 (insert-for-yank-1): Remove font-lock-face handling.
10036 (yank-handle-font-lock-face-property)
10037 (yank-handle-category-property): New function.
10039 2012-08-17 Glenn Morris <rgm@gnu.org>
10041 * mail/rmailout.el (rmail-output-read-file-name):
10042 Check rmail-output-file-alist against the full message body
10043 in the correct rmail buffer. (Bug#12214)
10045 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10047 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10048 Eliminate superfluous prompt. (Bug#12203)
10050 2012-08-17 Chong Yidong <cyd@gnu.org>
10052 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10053 font spec, set the font directly (Bug#3228).
10055 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10057 * window.el (delete-window): Fix last fix.
10059 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10061 * window.el (window-valid-p): Move to window.c.
10062 (window-child, window-child-count, window-last-child)
10063 (window-normalize-window, window-combined-p)
10064 (window-combinations, window-atom-root, window-min-size)
10065 (window-sizable, window-sizable-p, window-size-fixed-p)
10066 (window-min-delta, window-max-delta, window--resizable)
10067 (window--resizable-p, window-resizable, window-total-size)
10068 (window-full-height-p, window-full-width-p, window-body-size)
10069 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10070 (minimize-window, window-deletable-p, delete-window)
10071 (delete-other-windows, set-window-buffer-start-and-point)
10072 (next-buffer, previous-buffer, split-window, balance-windows-2)
10073 (set-window-text-height, window-buffer-height)
10074 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10075 (truncated-partial-width-window-p): Minor code adjustments.
10076 In doc-strings state whether the argument window has to denote a
10077 live, valid or any window.
10079 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10081 * progmodes/subword.el (subword-forward-function)
10082 (subword-backward-function, subword-forward-regexp)
10083 (subword-backward-regexp): New variables.
10084 (subword-forward, subword-forward-internal, subword-backward-internal):
10085 Use new variables, eg so that different "word" definitions
10086 can be easily used. (Bug#11411)
10088 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10090 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10091 for composite selectors.
10092 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10093 operation just because we can't find a previous revision.
10095 2012-08-15 Chong Yidong <cyd@gnu.org>
10097 * frame.el (set-frame-font): Accept font objects.
10099 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10103 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10105 * man.el (Man-overstrike-face, Man-underline-face)
10106 (Man-reverse-face): Remove variables.
10107 (Man-overstrike, Man-underline, Man-reverse): New faces.
10108 (Man-fontify-manpage): Use them instead of the variables.
10109 (Man-cleanup-manpage): Comment change.
10110 (Man-ansi-color-map): New variable.
10111 (Man-fontify-manpage): Use it.
10112 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10114 Implement ANSI SGR parameters 22-27 (bug#12146).
10115 * ansi-color.el (ansi-colors): Doc fix.
10116 (ansi-color-context, ansi-color-context-region): Doc fix.
10117 (ansi-color--find-face): New function.
10118 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10119 Rename the local variable `face' to `codes' since it is now a list of
10120 ansi codes. Doc fix.
10121 (ansi-color-get-face): Remove.
10122 (ansi-color-parse-sequence): New function, derived from
10123 ansi-color-get-face.
10124 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10127 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10129 * subr.el (read-passwd): Allow use from a minibuffer.
10131 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10133 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10134 inside comments and strings as identifiers.
10136 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10137 expression to evaluate. This allows to evaluate expressions with
10138 embedded whitespace.
10139 (gud-tooltip-tips): Add a blank before the newline in the
10140 message-box text, for the benefit of message-box emulation on
10143 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10144 messages from GDB, pop them up in a tooltip to give feedback to
10146 (gdb-tooltip-print-1): Quote the expression to evaluate.
10147 This allows to evaluate expressions with embedded whitespace.
10148 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10149 if the TTY name is nil or empty (which happens when communicating
10150 with the inferior via pipes, e.g. on MS-Windows).
10151 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10152 don't send that to the GUD buffer.
10154 2012-08-14 Glenn Morris <rgm@gnu.org>
10156 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10157 Optimize away setq-default with no args, as for setq. (Bug#12195)
10159 2012-08-14 Chong Yidong <cyd@gnu.org>
10161 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10163 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10166 2012-08-14 Glenn Morris <rgm@gnu.org>
10168 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10170 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10172 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10173 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10174 Use cached shell name.
10176 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10178 * progmodes/python.el (python-shell-send-string):
10179 (python-shell-send-setup-code): Do not use `format' with `message'.
10181 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10183 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10184 (ruby-percent-literal-beg-re): New constant.
10185 (ruby-syntax-general-delimiters-goto-beg): Rename to
10186 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10187 (ruby-syntax-propertize-general-delimiters): Rename to
10188 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10189 popular term. Adjust comments everywhere.
10190 (ruby-syntax-propertize-percent-literal): Only propertize when not
10191 inside a simple string or comment. When the literal is unclosed,
10192 leave the text after it unpropertized.
10193 (ruby-syntax-methods-before-regexp): New constant.
10194 (ruby-syntax-propertize-function): Use it to recognize regexps.
10195 Don't look at the text after regexp, just use the whitelist.
10197 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10199 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10200 non-nil always load the compiled file if it exists. (Bug#12197)
10202 2012-08-14 Chong Yidong <cyd@gnu.org>
10204 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10205 (hi-lock-set-pattern): When deciding whether to use font lock or
10206 overlays, look at font-lock-mode instead of font-lock-fontified
10208 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10209 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10211 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10213 * subr.el (internal--after-with-selected-window): Fix typo
10216 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10218 Use `completion-table-dynamic' for completion functions.
10219 * progmodes/python.el
10220 (python-shell-completion--do-completion-at-point)
10221 (python-shell-completion--get-completions):
10223 (python-shell-completion-complete-at-point): New function.
10224 (python-completion-complete-at-point): Use it.
10226 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10228 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10229 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10231 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10233 * subr.el (function-get): Refine `autoload' arg so it can also
10234 autoload functions for gv.el (bug#12191).
10235 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10238 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10239 Prefer pcase-let over destructuring-bind.
10240 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10241 Also, remove whitespace as we go, rather than after accumulating the
10244 * subr.el (internal--before-with-selected-window)
10245 (internal--after-with-selected-window): Fix typo seleted->selected.
10246 (with-selected-window): Adjust callers.
10247 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10249 2012-08-13 Bastien Guerry <bzg@gnu.org>
10251 * window.el (special-display-popup-frame): Minor docstring
10252 enhancement. (Bug#12172)
10254 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10256 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10258 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10261 * files.el (hack-local-variables-filter): Remove useless eval.
10263 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10265 * subr.el (with-selected-window): Fix last change.
10267 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10269 * subr.el (internal--before-with-seleted-window)
10270 (internal--after-with-seleted-window): New functions.
10271 (with-selected-window): Use them, to replace dependency on
10274 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10276 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10277 binding for `newline'.
10278 (ruby-move-to-block): When moving backward, stop at block opening,
10280 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10281 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10282 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10283 `ruby-toggle-block'.
10285 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10287 * ibuffer.el (ibuffer-do-toggle-read-only):
10288 * dired.el (dired-toggle-read-only):
10289 * buff-menu.el (Buffer-menu-toggle-read-only):
10290 * bindings.el (mode-line-toggle-read-only):
10291 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10293 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10295 * descr-text.el (describe-char): Put the overlays over the
10296 "displayed as" character.
10298 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10300 * calc/calc-units.el (math-default-units-table): Give an
10302 (math-put-default-units): Add options to put composite units and
10303 unit systems in the default units table.
10304 (calc-convert-units): Send composite units to
10305 `math-put-default-units' when appropriate.
10307 2012-08-11 Glenn Morris <rgm@gnu.org>
10309 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10311 * tutorial.el (help-with-tutorial):
10312 * emacs-lisp/copyright.el (copyright-update-directory):
10313 * emacs-lisp/autoload.el (autoload-find-generated-file)
10314 (autoload-find-file): Disable local eval: (for insurance).
10316 * files.el (hack-local-variables-filter): If an eval: form is not
10317 known to be safe, and enable-local-variables is :safe, then ignore
10318 the form totally, as is done for non-eval forms. (Bug#12155)
10319 This is CVE-2012-3479.
10321 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10323 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10324 (rx-form): Simplify.
10326 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10328 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10329 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10330 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10331 (ruby-syntax-propertize-function): Adjust for changes in
10332 `ruby-syntax-propertize-heredoc'.
10334 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10336 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10337 binding (use `M-;' instead).
10338 (ruby-singleton-class-p): New function.
10339 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10341 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10345 2012-08-10 Chong Yidong <cyd@gnu.org>
10347 * progmodes/python.el (python-shell-get-process-name): Don't mess
10348 with same-window-buffer-names.
10350 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10351 (eshell-remove-from-window-buffer-names): Make obsolete.
10352 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10353 (eshell): Just use pop-to-buffer-same-window instead.
10355 2012-08-10 Chong Yidong <cyd@gnu.org>
10357 * bindings.el: Bind M-= back to count-words-region.
10359 * simple.el (count-words-region): Accept a prefix arg for acting
10360 on the entire buffer.
10361 (count-words--buffer-message): New helper function.
10363 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10366 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10367 (event-start, event-end): Use posn-at-point to return a more
10369 (posnp): New function.
10370 * mouse.el (popup-menu-normalize-position): Use it.
10372 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10374 * mouse.el (popup-menu-normalize-position): New function.
10375 (popup-menu): Use `popup-menu-normalize-position' to normalize
10376 the form for POSITION argument.
10378 * term/x-win.el (x-menu-bar-open):
10379 Use the value returend from (posn-at-point) as position
10380 passed to `popup-menu'.
10382 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10384 * calc/calccomp.el (math-compose-expr): Add extra argument
10385 indicating that parentheses should be put around products in
10386 denominators. Give multiplication precedence over division during
10389 2012-08-09 Chong Yidong <cyd@gnu.org>
10391 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10392 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10393 (Man-untabify-command, manual-program): Convert to defcustom
10396 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10398 * descr-text.el (describe-char): Don't insert extra newlines
10401 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10402 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10404 * align.el (align-region): Delete temporary markers (Bug#10047).
10405 Plus some code cleanups.
10407 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10409 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10410 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10411 (python-shell-internal-last-output): Use make-local-variable
10412 instead of make-variable-buffer-local.
10414 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10416 * progmodes/python.el: Enhancements to forward-sexp.
10417 (python-nav-forward-sexp): Rename from
10418 python-nav-forward-sexp-function.
10419 (python-nav--forward-sexp, python-nav--backward-sexp):
10422 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10424 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10425 modes and simplification modes.
10427 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10429 * delsel.el (delete-selection-pre-hook): Don't propagate the
10430 file-supersession signals (bug#12161).
10432 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10434 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10435 (cl-map-extents): Add compatibility aliases (bug#12135).
10437 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10439 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10440 tests by `ignore-error'.
10441 (tramp-find-shell): Open also a new shell, when cache is already
10442 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10444 2012-08-08 Juri Linkov <juri@jurta.org>
10446 * bookmark.el: Add `defaults' property to the bookmark record.
10447 (bookmark-current-buffer): Doc fix.
10448 (bookmark-make-record): Add `defaults' property with default values
10449 to the bookmark record.
10450 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10451 with `bookmark-insert-current-bookmark'.
10452 (bookmark-set): Get `defaults' property from the bookmark record
10453 and use it in `read-from-minibuffer'.
10454 (bookmark-insert-current-bookmark): Remove function.
10456 * info.el (Info-bookmark-make-record): Add `defaults' property
10457 with values of canonical Info node name, the current Info file
10458 name and the current Info node name. (Bug#12107)
10460 2012-08-08 Juri Linkov <juri@jurta.org>
10462 * files.el (basic-save-buffer): Use `buffer-name' as the default
10463 of `read-file-name' when buffer is not visiting a file (bug#12128).
10465 2012-08-08 Juri Linkov <juri@jurta.org>
10467 * info.el (Info-isearch-search): Doc fix.
10468 (Info-search): Change search-failed message from "initial node" to
10469 "end of node" (bug#12078).
10470 (Info-isearch-search): Change `isearch-string-state' to
10471 `isearch--state-string'.
10473 2012-08-08 Glenn Morris <rgm@gnu.org>
10475 * language/persian.el: Remove file.
10476 * language/misc-lang.el: Move unique part of persian.el here.
10477 * loadup.el: Remove language/persian.
10479 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10481 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10483 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10485 * progmodes/python.el: Fix defsubst warning.
10486 (python-syntax-context) Rename from python-info-ppss-context.
10487 (python-syntax-context-type): Rename from
10488 python-info-ppss-context-type.
10489 (python-syntax-comment-or-string-p): Rename from
10490 python-info-ppss-comment-or-string-p.
10492 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10494 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10496 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10498 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10499 a defcustom that is quoted with backquote.
10501 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10502 Fix handling of interactive spec when the body uses return.
10503 (math-do-arg-check, math-define-function-body): Use backquote forms.
10504 * calc/calc-ext.el (math-defcache): Likewise.
10505 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10506 * allout.el (allout-new-exposure): Likewise.
10507 * calc/calcalg2.el (math-tracing-integral): Likewise.
10508 * info.el (Info-last-menu-item): Likewise.
10509 * emulation/vip.el (vip-loop): Likewise.
10510 * textmodes/artist.el (artist-funcall): Likewise.
10511 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10512 Construct menu-item directly.
10514 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10517 2012-08-07 Chong Yidong <cyd@gnu.org>
10519 * simple.el (deactivate-mark): Preserve text properties when
10520 saving the primary selection (Bug#8384).
10522 2012-08-07 Kevin Ryde <user42@zip.com.au>
10524 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10525 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10526 and continue processing (Bug#12110).
10528 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10530 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10531 syntax-propertize-function (bug#10095).
10533 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10536 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10537 describe-function-1.
10538 (describe-function-1): Use them. Move compiler macro after sig.
10539 (help-fns--compiler-macro): Use function-get. Assume we're already in
10540 standard-output. Adjust layout to new call order.
10542 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10543 re-binding a symbol that has a symbol-macro (bug#12119).
10545 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10547 * language/persian.el: New file. (Bug#11812)
10548 * loadup.el: Add language/persian.el.
10550 2012-08-06 Chong Yidong <cyd@gnu.org>
10552 * window.el (window--maybe-raise-frame): New function.
10553 (window--display-buffer): Split off from here.
10554 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10555 (display-buffer-pop-up-window, display-buffer-use-some-window):
10556 Obey an inhibit-switch-frame action alist entry.
10557 (display-buffer): Update doc.
10559 * replace.el (occur-after-change-function): Avoid losing focus by
10560 using the inhibit-switch-frame display parameter (Bug#12139).
10562 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10564 Make internal shell process buffer names start with space.
10565 * progmodes/python.el (python-shell-make-comint): Add optional
10567 (run-python-internal): Use it.
10568 (python-shell-internal-get-or-create-process): Check for new
10569 internal buffer names.
10571 2012-08-06 Glenn Morris <rgm@gnu.org>
10573 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10574 Do less getting and setting of environment variables.
10576 2012-08-05 Chong Yidong <cyd@gnu.org>
10578 * proced.el (proced): Add substitution string to docstring to
10579 trigger autoloading of the proced library on C-h f (Bug#1768).
10581 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10582 Don't show defvars which have no second argument (Bug#8638).
10584 * imenu.el (imenu-generic-expression): Move documentation here
10585 from imenu--generic-function.
10586 (imenu--generic-function): Refer to imenu-generic-expression.
10588 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10590 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10591 indentation declaration.
10592 (viper-loop): Add indentation declaration (Bug#7025).
10594 2012-08-05 Chong Yidong <cyd@gnu.org>
10596 * help-fns.el (describe-variable): Add hyperlink for
10597 directory-local variables files. Improve buffer-local and
10598 permanent-local reporting; suggested by MON KEY (Bug#6644).
10600 * help-mode.el (help-dir-local-var-def): New button type.
10602 * files.el (kill-buffer-hook): Provide a defvar.
10604 2012-08-05 Glenn Morris <rgm@gnu.org>
10606 * eshell/esh-ext.el (eshell/addpath):
10607 Also update eshell-path-env. (Bug#12013)
10609 2012-08-05 Chong Yidong <cyd@gnu.org>
10611 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10613 * fringe.el (fringe-styles): Add docstring.
10614 (fringe--check-mode): New function.
10615 (set-fringe-mode, set-fringe-style): Use it.
10616 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10618 * files.el (set-auto-mode): Fix invalid setq call.
10620 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10622 * isearch.el: Misc simplification; use defstruct.
10623 (isearch-mode-map): Dense maps now work like sparse ones.
10624 (isearch--state): New defstruct.
10625 (isearch-string-state, isearch-message-state, isearch-point-state)
10626 (isearch-success-state, isearch-forward-state)
10627 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10628 (isearch-wrapped-state, isearch-barrier-state)
10629 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10630 replaced by defstruct's accessors.
10631 (isearch--set-state): Rename from isearch-top-state and change
10632 calling convention.
10633 (isearch-push-state): Use new isearch--get-state.
10634 (isearch-toggle-word): Disable regexp when enabling word.
10635 (isearch-message-prefix): Remove unused arg _c-q-hack.
10636 (isearch-message-suffix): Remove unused arg _ellipsis.
10638 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10640 * simple.el (list-processes--refresh): For a server use :host or
10641 :local as the address.
10642 (list-processes): Doc fix.
10644 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10646 * lisp/mpc.el: Support password in host argument.
10647 (mpc--proc-connect): Parse and use new password element.
10648 Set mpc-proc variable instead of returning process.
10649 (mpc-proc): Adjust accordingly.
10651 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10653 * whitespace.el (whitespace-display-mappings): Use Unicode
10654 codepoints, instead of emacs-mule codepoints. See
10655 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10658 * files.el (file-truename): Don't skip symlink-chasing part on
10659 windows-nt. Incorporate the resolution of 8+3 short aliases on
10660 Windows into the loop that recursively chases symlinks.
10661 Compare directory and its parent case-insensitively on MS-Windows and
10664 2012-08-03 Chong Yidong <cyd@gnu.org>
10666 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10668 * sort.el (sort-regexp-fields): Doc fix.
10670 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10672 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10673 labels regex position point at the expected place.
10675 2012-08-03 MON KEY <monkey@sandpframing.com>
10677 * net/imap.el (imap-interactive-login, imap-authenticate)
10678 (imap-mailbox-lsub, imap-mailbox-list)
10679 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10680 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10681 (imap-parse-response): Doc fix.
10683 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10685 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10686 if sexp scanning does not move point (Bug#5734).
10688 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10690 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10691 Add listings, minted, and ctable packages.
10692 (reftex-label-alist-builtin): Move listings, minted, and ctable
10693 entries before LaTeX.
10694 (reftex-label-alist): Docfix.
10696 2012-08-02 Bastien Guerry <bzg@gnu.org>
10698 * replace.el (occur): Fix docstring (bug#12122).
10700 2012-08-02 Glenn Morris <rgm@gnu.org>
10702 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10704 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10706 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10707 * international/mule-cmds.el: Create
10708 inactivate-current-input-method-function as an obsolete alias for
10709 deactivate-current-input-method-function. See Katsumi Yamaoka in
10710 <http://bugs.gnu.org/10150#46>.
10712 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10714 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10717 2012-08-01 Glenn Morris <rgm@gnu.org>
10719 * progmodes/autoconf.el (autoconf-definition-regexp):
10720 Add AH_TEMPLATE, adjust submatch numbering.
10721 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10722 (autoconf-current-defun-function): Update for above change.
10723 (autoconf-current-defun-function): First skip to end of current word.
10725 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10727 * calendar/cal-html.el (cal-html-insert-agenda-days):
10728 Fix typo. (Bug#12018)
10730 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10732 Shell processes: enhancements to startup and CEDET compatibility.
10733 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10734 (python-shell-make-comint): accept-process-output at startup.
10735 (run-python-internal): Set inferior-python-mode-hook to nil.
10736 (python-shell-internal-get-or-create-process): call sit-for.
10737 (python-preoutput-result): Add obsolete alias.
10738 (python-shell-internal-send-string): Use it.
10739 (python-shell-send-setup-code): Remove call to
10740 accept-process-output.
10742 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10744 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10747 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10749 * calc-mode.el (calc-basic-simplification-mode): Rename from
10750 `calc-limited-simplification-mode'.
10751 (calc-alg-simplification-mode): New function.
10752 (calc-set-simplify-mode): Adjust message.
10754 * calc.el (calc-set-mode-line): Adjust mode line display for
10755 basic simplification mode.
10757 * calc-help.el (calc-m-prefix-help): Update help message.
10759 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10760 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10762 2012-07-31 Bastien Guerry <bzg@gnu.org>
10764 * man.el (man): Fix comment. (bug#12101)
10766 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10768 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10769 Don't return a non-nil value when no suitable buffer was found.
10771 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10773 * progmodes/python.el (run-python-internal): Disable font lock for
10776 2012-07-30 Stefan Merten <smerten@oekonux.de>
10778 * textmodes/rst.el: Silence `checkdoc-ispell'.
10779 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10780 (rst-official-version, rst-official-cvs-rev)
10781 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10782 (rst-mode-map): New key binding.
10784 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10786 Update .PHONY listings in makefiles.
10787 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10788 autoloads, update-subdirs, updates, bzr-update, update-authors,
10789 compile-onefile, compile-calc, backup-compiled-files,
10790 compile-after-backup, compile-one-process, mh-autoloads,
10791 bootstrap-clean, distclean, maintainer-clean.
10793 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10795 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10796 (calc-set-mode-line): Don't display "AlgSimp ".
10798 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10799 (calc-lim-simplify-mode): New function.
10800 (calc-set-simplify-mode): Default to 'alg.
10801 (calc-default-simplify-mode): Make algebraic simplifications
10804 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10805 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10807 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10808 indicate new simplification modes.
10810 * calc/README: Mention new default simplification mode.
10812 * calc/calc.el (math-normalize-error): New variable.
10813 (math-normalize): Set `math-normalize-error' to t
10814 when there's an error.
10816 * calc/calc-alg.el (math-simplify): Don't simplify when
10817 `math-normalize' returns an error.
10819 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10821 * international/mule-cmds.el (set-locale-environment): Revert last
10822 change, since display-graphic-p returns nil when this function is
10823 called during startup. Instead...
10825 * term/w32console.el (terminal-init-w32console): ...setup the
10826 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10828 2012-07-29 Juri Linkov <juri@jurta.org>
10830 * simple.el (goto-line): Don't display default line number in the
10831 prompt because it should be displayed by `read-number' (bug#9952).
10832 Add the current line number to the defaults of `goto-line' to
10833 allow its easier modification by users with `M-n' (bug#9201).
10835 * subr.el (read-number): Support multiple default values like in
10836 other minibuffer reading functions. Replace `read' with
10837 `string-to-number' for consistency with `number-to-string'.
10839 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10841 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10842 * emulation/viper-init.el (viper-deactivate-input-method-action):
10843 Rename from viper-inactivate-input-method-action.
10844 (viper-deactivate-input-method):
10845 Rename from viper-inactivate-input-method.
10846 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10847 * international/mule-cmds.el (deactivate-input-method):
10848 Rename from inactivate-input-method.
10849 Also run input-method-deactivate-hook.
10850 (deactivate-current-input-method-function):
10851 Rename from inactivate-current-input-method-function.
10852 (input-method-deactivate-hook): New hook.
10853 (input-method-inactivate-hook): Mark obsolete.
10854 (inactivate-input-method): Mark obsolete.
10856 * international/quail.el (quail-activate):
10857 Also run quail-deactivate-hook.
10858 (quail-deactivate): Rename from quail-inactivate.
10859 * international/robin.el (robin-activate):
10860 Also run robin-deactivate-hook.
10861 (robin-deactivate): Rename from robin-inactivate.
10863 2012-07-29 Chong Yidong <cyd@gnu.org>
10865 * simple.el (indicate-copied-region): New function.
10866 (kill-ring-save): Split off from here.
10868 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10869 (kill-rectangle): Set deactivate-mark to t on read-only error.
10871 * register.el (copy-to-register, copy-rectangle-to-register):
10872 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10873 (append-to-register, prepend-to-register): Call indicate-copied-region.
10875 2012-07-29 Juri Linkov <juri@jurta.org>
10877 * simple.el (async-shell-command-buffer): New defcustom.
10878 (shell-command): Use it. (Bug#4719)
10880 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10882 * international/mule-cmds.el (set-locale-environment): In a
10883 console session on MS-Windows, set up keyboard and terminal
10884 encoding from the OEM codepage, not the ANSI codepage.
10887 2012-07-28 Chong Yidong <cyd@gnu.org>
10889 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10892 2012-07-28 Leo Liu <sdl.web@gmail.com>
10894 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10895 the alist (bug#12029).
10897 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10899 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10900 (compile-always, compile-first)
10901 ($(lisp)/calendar/cal-loaddefs.el)
10902 ($(lisp)/calendar/diary-loaddefs.el)
10903 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10904 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10905 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10906 instead of on update-subdirs.
10907 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10909 2012-07-28 Chong Yidong <cyd@gnu.org>
10911 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10912 directory if vc-deduce-backend returns nil (Bug#7350).
10914 * simple.el (delete-trailing-lines): New option.
10915 (delete-trailing-whitespace): Obey it (Bug#11879).
10917 2012-07-28 David Engster <deng@randomsample.de>
10919 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10920 Explanation of new 'symbol-qnames feature in doc-strings.
10921 (xml-maybe-do-ns): Return expanded names as plain symbols if
10922 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10923 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10925 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10927 Consistent completion in inferior python with emacs -nw.
10928 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10929 binding in inferior-python-mode-map with "\t".
10930 (python-shell-completion-complete-at-point)
10931 (python-completion-complete-at-point): Remove interactive spec.
10933 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10935 * calc/calccomp.el (math-compose-expr): Undo previous change.
10937 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10939 * progmodes/python.el (python-mode-map): Add keybinding for
10941 (python-shell-make-comint): Fix pop-to-buffer call.
10942 (run-python): Autoload. New arg SHOW.
10943 (python-shell-get-or-create-process): Do not pop python process
10946 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10948 * notifications.el (notifications-on-action-signal)
10949 (notifications-on-closed-signal): Use also the bus address for the map.
10950 (notifications-notify, notifications-close-notification)
10951 (notifications-get-capabilities): Add optional argument BUS.
10953 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10955 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10956 Add support for the lstlisting and minted environments, and for the
10958 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10959 labels written in keyvals syntax.
10961 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10963 * calc/calccomp.el (math-compose-expr): Use parentheses when
10964 there is a product in the denominator of a fraction.
10966 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10968 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10969 ($(lisp)/calendar/diary-loaddefs.el)
10970 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10971 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10972 Fixes failures in parallel bootstrap because subdirs.el is being
10973 rewritten while the autoload files are built at the same time,
10974 which needs to load subdirs.el.
10976 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10978 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10979 (mouse-drag-line): Don't exit tracking when a switch-frame or
10980 switch-window event occurs (Bug#12006).
10982 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10984 * mouse.el (popup-menu): Fix last change.
10986 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10988 Autoload from Lisp with more care. Follow aliases when looking for
10989 function properties.
10990 * subr.el (autoloadp): New function.
10991 (symbol-file): Use it.
10992 (function-get): New function.
10993 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10995 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10996 (lisp-indent-function):
10997 * emacs-lisp/gv.el (gv-get):
10998 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10999 * emacs-lisp/byte-opt.el (byte-optimize-form):
11000 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11001 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11003 * emacs-lisp/cl.el: Don't propagate function properties any more.
11005 * speedbar.el (speedbar-add-localized-speedbar-support):
11006 * emacs-lisp/disass.el (disassemble-internal):
11007 * desktop.el (desktop-load-file):
11008 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11009 (describe-function-1):
11010 * emacs-lisp/find-func.el (find-function-noselect):
11011 * emacs-lisp/elp.el (elp-instrument-function):
11012 * emacs-lisp/advice.el (ad-has-proper-definition):
11013 * apropos.el (apropos-safe-documentation, apropos-macrop):
11014 * emacs-lisp/debug.el (debug-on-entry):
11015 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11016 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11017 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11019 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11021 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11022 function, not an obsolete variable (Bug#12046).
11024 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11026 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11028 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11030 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11031 window only if it is still live (Bug#12034).
11033 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11035 * subr.el (redirect-frame-focus): Add advertised calling
11036 convention (Bug#12030).
11038 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11040 Prefer typical American spelling for "acknowledgment".
11041 * vc/add-log.el (change-log-acknowledgment): Rename from
11042 change-log-acknowledgement, with an alias for the old name.
11044 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11046 * calc-alg.el (math-simplify-divide): Don't cross multiply
11047 in an equation when the lhs is a variable.
11049 2012-07-24 Julien Danjou <julien@danjou.info>
11051 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11054 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11056 * startup.el (command-line): Don't display an empty user name in
11057 the error message about non-existent home directory, when
11058 init-file-user was set to an empty string. See
11059 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11060 for the details and context.
11062 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11064 * ses.el (ses-cell-formula-aset): New macro.
11065 (ses-cell-references-aset): New macro.
11066 (ses-cell-p): New function.
11067 (ses-rename-cell): Do no longer rely on complex operations like
11068 ses-cell-set-formula or ses-set-cell to change the cell and handle
11069 the undo at the same time, but rather use lower level new macros
11070 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11071 the undo directly. Refresh the mode line.
11073 2012-07-21 Leo Liu <sdl.web@gmail.com>
11075 * progmodes/cc-cmds.el (c-defun-name):
11076 Use match-string-no-properties instead for consistency.
11078 2012-07-20 Leo Liu <sdl.web@gmail.com>
11080 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11083 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11085 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11087 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11088 * progmodes/bug-reference.el, misearch.el: Provide themselves
11091 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11092 of narrowed buffer (bug#11966).
11094 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11096 * ses.el (ses-rename-cell): Set new name also in reference list of
11097 cells of which the renamed cell depends.
11099 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11101 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11102 to check whether menu-bar is shown or not. If not shown,
11103 show the menu-bar as a popup menu instead of using tmm.
11104 * mouse.el (popup-menu): Accept `point' as `position' argument.
11106 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11108 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11109 up inside string symbol literal (bug#11923).
11111 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11113 * startup.el (fancy-startup-text): Read the whole tutorial, not
11114 just its first 256 bytes. Prevents gibberish in display of the
11117 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11119 Drop idle buffer compaction due to an absence of the
11121 * compact.el: Remove.
11123 2012-07-19 Sam Steingold <sds@gnu.org>
11125 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11126 vc-bzr-pull & vc-bzr-merge-branch.
11127 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11128 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11129 for consistency with compilation-error-regexp-alist.
11130 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11131 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11132 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11133 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11135 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * emacs-lisp/chart.el: Use lexical-binding.
11138 (chart-emacs-storage): Don't hardcode the list of entries.
11140 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11142 Next round of tweaks caused by Fgarbage_collect changes.
11143 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11145 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11147 Compact buffers when idle.
11148 * compact.el: New file.
11150 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11152 * subr.el (eventp): Presume that if it looks vaguely like an event,
11153 it's an event (bug#10190).
11155 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11157 Enhancements to ppss related code (thanks Stefan).
11158 * progmodes/python.el (python-indent-context)
11159 (python-indent-calculate-indentation, python-indent-dedent-line)
11160 (python-indent-electric-colon, python-nav-forward-block)
11161 (python-mode-abbrev-table)
11162 (python-info-assignment-continuation-line-p): Simplify checks
11164 (python-info-continuation-line-p): Cleanup.
11165 (python-info-ppss-context): Do not catch 'quote.
11166 (python-info-ppss-context-type)
11167 (python-info-ppss-comment-or-string-p): Simplify.
11169 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11171 * progmodes/python.el: Enhancements to eldoc support.
11172 (python-info-current-symbol): New function.
11173 (python-eldoc-at-point): Use python-info-current-symbol.
11174 (python-info-current-defun): Fix cornercase on first defun scan.
11175 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11176 and signal error when no inferior python process is available.
11178 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11180 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11181 assume it's always t.
11182 (vc-git-registered): Remove caching, the function is only called
11184 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11186 2012-07-18 Chong Yidong <cyd@gnu.org>
11188 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11190 * simple.el (count-words): Report on narrowing (Bug#9959).
11192 * bindings.el: Bind M-= to count-words.
11194 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11196 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11198 * progmodes/sh-script.el (sh-imenu-generic-expression):
11199 Capture a function with `function' keyword and without parentheses
11200 like "function FOO" (bug#11856).
11202 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11204 * window.el (split-window-sensibly): Make WINDOW argument
11207 2012-07-18 Chong Yidong <cyd@gnu.org>
11209 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11211 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11212 and make C-x 8 RET exit isearch (Bug#11439).
11214 * international/iso-transl.el: Move isearch-mode-map key
11215 definitions to isearch.el.
11217 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11219 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11220 (eieio-defclass): Use gv-define-setter when possible.
11222 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11224 Reflect recent changes in Fgarbage_collect.
11225 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11226 reflect new format of data returned by Fgarbage_collect.
11228 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11230 New utility functions + python-info-ppss-context fix (Bug#11910).
11231 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11232 (python-info-ppss-comment-or-string-p): New functions.
11233 (python-info-ppss-context): Small fix for string check.
11235 2012-07-17 Juri Linkov <juri@jurta.org>
11237 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11238 (dired-do-async-shell-command): Don't add `*' at the end of the
11239 command (Bug#11815).
11240 (dired-do-shell-command): Doc fix.
11241 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11242 Join the individual commands using either "&" or ";" as the
11243 separator depending on the values of these trailing characters.
11244 At the end re-add the trailing "&". (Bug#10598)
11246 * simple.el (async-shell-command): Sync the interactive spec with
11247 `shell-command'. Doc fix.
11248 (shell-command): Doc fix.
11250 2012-07-17 Juri Linkov <juri@jurta.org>
11252 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11254 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11256 Final renames and doc fixes for movement commands (bug#11899).
11257 * progmodes/python.el (python-nav-beginning-of-statement):
11258 Rename from python-nav-statement-start.
11259 (python-nav-end-of-statement): Rename from
11260 python-nav-statement-end.
11261 (python-nav-beginning-of-block): Rename from
11262 python-nav-block-start.
11263 (python-nav-end-of-block): Rename from python-nav-block-end.
11265 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11267 * progmodes/python.el (python-shell-send-string-no-output):
11268 Allow accept-process-output to quit, keeping shell process ready for
11269 future interactions (Bug#11868).
11271 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11273 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11275 * emacs-lisp/elint.el (elint-find-args-in-code):
11276 Use help-function-arglist, so as to handle lexical byte-code.
11278 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11279 change (bug#11826).
11281 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11283 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11284 Avoid spuriously marking the buffer as modified because of c-is-sws.
11286 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11287 as not-a-comment (bug#11946).
11289 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11290 for uninterned vars.
11292 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11293 Use read-event since we don't really want to read chars but bytes.
11295 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11296 $$..$$ but also $..$ using regexps (bug#11953).
11297 Use tex-verbatim for \url and \path.
11298 (tex-font-lock-keywords): Define as defconst like the others.
11299 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11301 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11303 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11304 alias for insert-char.
11306 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11308 * progmodes/python.el: Simplified imenu implementation.
11309 (python-nav-jump-to-defun): Remove command.
11310 (python-mode-map): Use `imenu' instead.
11311 (python-nav-list-defun-positions-cache)
11312 (python-imenu-include-defun-type, python-imenu-make-tree)
11313 (python-imenu-subtree-root-label, python-imenu-index-alist):
11315 (python-nav-list-defun-positions, python-nav-read-defun)
11316 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11317 (python-imenu-make-tree, python-imenu-create-index):
11319 (python-mode): Update to interact with imenu by setting
11320 `imenu-extract-index-name-function' only.
11322 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11324 * progmodes/python.el: Enhancements to navigation commands.
11325 (python-nav-backward-sentence)
11326 (python-nav-forward-sentence): Remove.
11327 (python-nav-backward-statement, python-nav-forward-statement)
11328 (python-nav-statement-start, python-nav-statement-end)
11329 (python-nav-backward-block, python-nav-forward-block)
11330 (python-nav-block-start, python-nav-block-end)
11331 (python-nav-forward-sexp-function)
11332 (python-info-current-line-comment-p)
11333 (python-info-current-line-empty-p): New functions.
11334 (python-indent-context): Use `python-nav-statement-start'.
11336 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11338 * eshell/em-ls.el (eshell/ls): Use `apply'.
11340 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11341 multi-hops, instead of Tramp internals.
11343 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11345 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11346 when F1 and F2 are located on different hosts.
11348 2012-07-14 Chong Yidong <cyd@gnu.org>
11350 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11351 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11352 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11353 (xterm-mouse--read-event-sequence-1000)
11354 (xterm-mouse--read-event-sequence-1006): New functions. For old
11355 mouse protocol, handle M-mouse-X events correctly.
11356 (xterm-mouse-event): New arg specifying mouse protocol.
11357 (turn-on-xterm-mouse-tracking-on-terminal)
11358 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11359 sequence to toggle extended coordinates on newer XTerms.
11360 This appears to be harmless on terminals which do not support this.
11362 2012-07-14 Leo Liu <sdl.web@gmail.com>
11364 Add fringe bitmap indicators for flymake. (Bug#11253)
11365 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11366 (flymake-make-overlay): New arg BITMAP.
11367 (flymake-error-bitmap, flymake-warning-bitmap)
11368 (flymake-fringe-indicator-position): New user variables.
11370 * fringe.el: New bitmap exclamation-mark.
11372 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11374 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11377 2012-07-14 Chong Yidong <cyd@gnu.org>
11379 * electric.el (electric-pair-post-self-insert-function): Fix pair
11380 insertion in empty-region case (Bug#11520).
11382 2012-07-14 Chong Yidong <cyd@gnu.org>
11384 * bindings.el: Consolidate ctl-x-r-map bindings.
11385 Bind copy-rectangle-as-kill to C-x r w.
11387 * rect.el, register.el: Move bindings to bindings.el.
11389 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11391 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11393 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11395 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11397 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11399 * bindings.el (top): Use `mapc' instead of `mapcar'.
11401 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11403 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11405 * progmodes/sql.el (sql-comint): Suppress the check for program on
11406 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11409 2012-07-13 Chong Yidong <cyd@gnu.org>
11411 * bindings.el: Assign a non-nil permanent-local property to
11412 per-buffer variables which lack a default value (Bug#11930).
11414 * help-fns.el (describe-variable): In the "automatically becomes
11415 local" notice, take note of permanent-local variables.
11417 2012-07-13 Chong Yidong <cyd@gnu.org>
11419 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11420 to allow printing the message when called from Lisp.
11422 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11423 Remove toggle-read-only.
11425 * bs.el (bs-toggle-readonly):
11426 * buff-menu.el (Buffer-menu-toggle-read-only):
11427 Remove with-no-warnings around toggle-read-only.
11429 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11430 Remove with-no-warnings around toggle-read-only.
11431 (ffap-read-only, ffap-read-only-other-window)
11432 (ffap-read-only-other-frame): Callers changed.
11434 * help-mode.el: Don't require view package.
11435 (help-mode-finish): Set buffer-read-only instead of calling
11438 * bindings.el (mode-line-toggle-read-only):
11439 * dired.el (dired-toggle-read-only):
11440 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11441 with non-nil second arg.
11443 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11444 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11447 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11449 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11452 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11454 More CL cleanups and reduction of use of cl.el.
11455 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11456 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11457 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11458 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11459 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11460 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11461 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11462 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11463 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11464 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11465 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11466 * eshell/em-cmpl.el, eshell/em-banner.el:
11467 * calendar/parse-time.el: Use cl-lib.
11468 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11469 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11470 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11471 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11472 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11473 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11474 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11475 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11476 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11477 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11478 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11479 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11480 `lambda' rather than with `quote'.
11481 (eshell-do-opt): Adjust accordingly.
11482 (eshell-process-option): Simplify.
11483 * eshell/esh-var.el:
11484 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11485 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11486 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11487 to `pcase--dontcare'.
11488 * emacs-lisp/cl.el (labels): Mark obsolete.
11489 (cl--letf, letf): Move to cl-lib.
11490 (cl--letf*, letf*): Remove.
11491 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11492 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11493 (cl-progv): Rewrite.
11494 (cl--letf, cl-letf): Move from cl.el.
11495 (cl-letf*): New macro.
11496 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11498 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11500 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11502 2012-07-11 Chong Yidong <cyd@gnu.org>
11504 * vc/log-edit.el (log-edit-vc-backend): New variable.
11505 (log-edit): Doc fix.
11507 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11508 argument of log-edit to set up all local variables.
11509 (vc-start-logentry): New optional arg specifying VC backend.
11511 * vc/vc.el (vc-checkin): Use it.
11512 (vc-deduce-fileset): Handle Log Edit buffers.
11513 (vc-diff): Make first argument optional too.
11515 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11517 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11519 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11520 command, just in case. The function is not needed anymore.
11521 (eshell-external-command): Do not call `eshell-remote-command'.
11523 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11525 Reduce use of (require 'cl).
11526 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11527 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11528 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11529 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11530 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11531 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11532 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11533 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11534 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11535 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11536 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11537 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11538 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11539 (byte-compile-unfold-bcf, byte-compile-check-variable):
11540 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11541 (byte-compile-nilconstp):
11542 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11543 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11545 * emacs-lisp/gv.el (cond): Make it a valid place.
11546 (if): Simplify slightly.
11548 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11549 (pcase--self-quoting-p): New function.
11550 (pcase--u1): Use it.
11552 2012-07-10 Glenn Morris <rgm@gnu.org>
11554 * emacs-lisp/authors.el (authors-fixed-entries):
11555 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11557 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11559 Rename configure.in to configure.ac (Bug#11603).
11560 * emacs-lisp/authors.el (authors-canonical-file-name):
11561 * progmodes/autoconf.el (autoconf-mode):
11562 Prefer configure.ac to configure.in.
11564 2012-07-08 Chong Yidong <cyd@gnu.org>
11566 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11567 Implement the mouse-1-click-follows-link handling properly.
11569 * info.el (Info-link-keymap): Use follow-link mechanism for
11570 header-line links (Bug#374).
11572 * simple.el (deactivate-mark): Do not set the primary selection
11573 if another program has acquired it (Bug#11772).
11575 2012-07-07 Kevin Ryde <user42@zip.com.au>
11577 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11578 (woman-decode-region): Replace escaped-escapes without destroying
11579 bold or underline (Bug#11552).
11580 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11582 2012-07-07 Chong Yidong <cyd@gnu.org>
11584 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11585 (interprogram-cut-function, interprogram-paste-function):
11586 Mention that we typically mean the clipboard.
11588 2012-07-06 Glenn Morris <rgm@gnu.org>
11590 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11592 * files.el (toggle-read-only): Restrict message to interactive use.
11594 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11596 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11598 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11600 2012-07-06 Glenn Morris <rgm@gnu.org>
11602 * Makefile.in (compile-one-process): Rename from "recompile".
11604 * Makefile.in (bzr-update): "compile" is the same as "recompile
11605 autoloads", but parallelizable, so use that instead.
11607 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11609 * window.el (quit-window): Always restore window height when
11610 it's saved in quit-restore parameter (Bug#11810).
11612 2012-07-06 Glenn Morris <rgm@gnu.org>
11614 * simple.el (kill-whole-line): Doc tweak.
11616 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11618 * files.el (file-relative-name): Compare file names
11619 case-insensitively if on MS-Windows or MS-DOS, or if
11620 read-file-name-completion-ignore-case is non-nil. Don't use
11621 case-fold-search for this purpose. (Bug#11827)
11623 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11625 * calendar/cal-dst.el (calendar-current-time-zone):
11626 Return calendar-current-time-zone-cache if non-nil.
11628 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11629 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11631 * calendar/cal-dst.el (calendar-current-time-zone):
11632 Return calendar-current-time-zone-cache if non-nil.
11634 2012-07-06 Glenn Morris <rgm@gnu.org>
11636 * Makefile.in (cvs-update): Remove old alias.
11638 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11640 Sync with Tramp 2.2.6-pre.
11642 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11643 compatible declaration.
11645 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11646 Protect `list-load-path-shadows' call.
11648 * net/tramp-compat.el (top): Require packages, which aren't
11649 autoloaded anymore for XEmacs. Protect call of
11650 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11651 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11652 it hurts at least for SXEmacs.
11653 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11654 standard-value for `temporary-file-directory'.
11656 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11657 Redirect stderr to /dev/null.
11658 (tramp-sh-handle-write-region): uid and gid can be floats.
11659 Reported by Russell Sim <russell.sim@gmail.com>.
11660 (tramp-sh-handle-vc-registered): Hide errors.
11661 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11662 and `start-file-process'.
11663 (tramp-maybe-open-connection): Check also whether `non-essential'
11666 2012-07-04 Chong Yidong <cyd@gnu.org>
11668 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11669 (xml-parse-tag): Likewise, and avoid changing entity tables.
11670 (xml-syntax-table): Define from scratch, making sure not to give
11671 x2000 and other Unicode spaces whitespace syntax, since those are
11673 (xml-parse-fragment): Delete unused function.
11674 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11675 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11676 (xml-entity-ref, xml-pe-reference-re)
11677 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11678 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11679 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11680 (xml-entity-value-re): Use syntax references in regexps where
11681 possible; no need to define inside a let-binding.
11682 (xml-parse-dtd): Use xml-pe-reference-re.
11683 (xml-entity-or-char-ref-re): New defconst.
11684 (xml-parse-string, xml-substitute-special): Use it.
11686 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11688 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11689 (find-file--read-only): New function.
11690 (find-file-read-only, find-file-read-only-other-window)
11691 (find-file-read-only-other-frame): Use it.
11692 (insert-file-contents-literally): Don't `fset'.
11693 (get-free-disk-space): Use locate-dominating-file.
11695 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11696 function is already compiled.
11698 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11700 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11702 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11703 files on the same host.
11705 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11707 * help-fns.el (describe-function-1): Only call
11708 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11710 2012-07-03 Chong Yidong <cyd@gnu.org>
11712 * xml.el: Protect parser against XML bombs.
11713 (xml-entity-expansion-limit): New variable.
11714 (xml-parse-string, xml-substitute-special): Use it.
11715 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11717 2012-07-03 Glenn Morris <rgm@gnu.org>
11719 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11720 Allow linking to specific messages in debbugs reports (eg 123#5).
11722 2012-07-02 Chong Yidong <cyd@gnu.org>
11724 * xml.el: Fix entity and character reference expansion, allowing
11725 them to expand into markup as per XML spec.
11726 (xml-default-ns): New variable.
11727 (xml-entity-alist): Use XML spec definitions for lt and amp.
11728 (xml-parse-region): Make first two arguments optional.
11729 Discard text properties.
11730 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11731 All callers changed.
11732 (xml-parse-tag): Call xml-parse-tag-1. For backward
11733 compatibility, this function should not modify buffer contents.
11734 (xml-parse-tag-1): Fix opening-tag regexp.
11735 (xml-parse-string): Rewrite, handling entity and character
11736 references properly.
11737 (xml--entity-replacement-text): Signal an error if a parameter
11738 entity is undefined.
11740 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11742 * comint.el (comint-output-filter): Filter out repeated prompts.
11744 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11745 and file-name-absolute-p.
11746 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11749 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11752 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11753 Rename from byte-compile--refiy-function. All uses changed.
11755 2012-07-01 Chong Yidong <cyd@gnu.org>
11757 * xml.el (xml--parse-buffer): New function. Move most of
11758 xml-parse-region here.
11759 (xml-parse-region): Copy region into a temporary buffer, since
11760 parameter entity substitution requires changing buffer contents.
11761 Use xml--parse-buffer.
11762 (xml-parse-file): Use xml--parse-buffer.
11763 (xml-parse-dtd): Make parameter entity substitution work right.
11764 Use proper regexps for ELEMENT declarations (Bug#7172).
11766 2012-06-30 Glenn Morris <rgm@gnu.org>
11768 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11770 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11771 Remove outdated and unnecessary dbus declarations.
11773 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11775 * emacs-lisp/timer.el (timer-until): Subtract results of
11776 float-time, instead of taking float-time of the result of
11777 time-subtract, since float-time signals an error for negative time
11780 2012-06-30 Chong Yidong <cyd@gnu.org>
11782 * xml.el (xml-*-re): Convert defvars into defconsts, and
11783 eval-and-compile them so eval-and-compile works on derivatives.
11784 (xml--entity-replacement-text): Use eval-and-comple.
11786 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11788 * vc/vc-git.el (vc-git-registered): Use cache property
11790 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11791 `vc-git-working-revision' in order to benefit from the cache.
11792 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11794 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11796 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11797 removed (likely outside Emacs). (Bug#11757)
11799 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * emacs-lisp/cl-lib.el: Require macroexp.
11803 2012-06-30 Chong Yidong <cyd@gnu.org>
11805 * xml.el: Implement XML parameter entities.
11806 (xml-parameter-entity-alist): New variable.
11807 (xml-parse-region, xml-parse-fragment): Preserve previous values
11808 of xml-entity-alist and xml-parameter-entity-alist, so that
11809 repeated calls on different documents do not change them.
11810 (xml-parse-tag): Fix doctype regexp.
11811 (xml--entity-replacement-text): New function.
11812 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11813 properly requires url retrieval which is unimplemented.
11814 (xml-escape-string): Doc fix.
11816 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11818 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11820 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11822 * fringe.el (fringe-mode): Doc fix.
11824 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11826 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11828 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11829 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11831 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11833 * calendar/cal-dst.el (calendar-current-time-zone):
11834 Return calendar-current-time-zone-cache if non-nil.
11836 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11838 * progmodes/which-func.el (which-func-format):
11839 Add mouse-face. (Bug#11698)
11841 2012-06-29 Leo Liu <sdl.web@gmail.com>
11843 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11845 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11847 * minibuffer.el (minibuffer-confirm-exit-commands):
11848 Add completion-at-point (bug#11725).
11850 2012-06-29 Glenn Morris <rgm@gnu.org>
11852 * progmodes/f90.el (f90-font-lock-keywords-2):
11853 Add some preprocessor elements. (Bug#10499)
11855 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11857 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11858 Use syntax-propertize (bug#11739).
11860 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11862 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11864 2012-06-28 Julien Danjou <julien@danjou.info>
11866 * term.el (term-handle-colors-array): Use a set of new faces to
11867 color the terminal. Also uses :inverse-video property.
11868 (term-default-fg-color): Set to nil by default, deprecate in favor
11870 (term-default-bg-color): Set to nil by default, deprecate in favor
11872 (term-current-face): Use `term-face' by default.
11873 (term-bold-attribute): Variable deleted.
11875 2012-06-28 Glenn Morris <rgm@gnu.org>
11877 * simple.el (completion-list-mode-finish):
11878 Don't use toggle-read-only. (Since completion-list-mode has
11879 a special mode-class, it wasn't doing anything extra anyway.)
11881 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11883 Make inlining of other-mode interpreted functions work (bug#11799).
11884 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11885 (byte-compile): Use it to fix compilation of lexical-binding closures.
11886 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11887 function, if needed.
11889 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11891 * help-mode.el (help-make-xrefs): Don't just withstand
11892 cyclic-variable-indirection but any error in documentation-property.
11894 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11896 * bindings.el (bindings--define-key): New function.
11897 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11898 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11899 * bindings.el: Use it to purecopy define-key bindings.
11901 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11903 * emacs-lisp/cl.el (flet): Mark obsolete.
11904 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11905 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11906 * progmodes/js.el (js-c-fill-paragraph):
11907 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11908 (ebrowse-switch-member-buffer-to-derived-class):
11909 * play/5x5.el (5x5-solver): Use cl-flet.
11911 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11912 (cl--symbol-function): New macro.
11913 (cl--letf, cl--letf*): Use it.
11915 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11916 Strip "toggle-" if any.
11918 2012-06-27 Glenn Morris <rgm@gnu.org>
11920 * info.el (Info-default-directory-list): Move here from paths.el.
11921 * paths.el: Remove file, which is now empty.
11922 * loadup.el: No longer load "paths".
11924 * custom.el (custom-initialize-delay): Doc fix.
11926 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11927 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11928 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11929 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11930 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11931 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11932 * eshell/eshell.el (eshell-defgroup): Remove alias.
11934 2012-06-27 Chong Yidong <cyd@gnu.org>
11936 * help.el (help-enable-auto-load): New variable.
11938 * help-fns.el (help-fns--autoloaded-p): New function.
11939 (describe-function-1): Refer to a function as "autoloaded" if it
11940 was autoloaded at any time in the past. Perform autoloading if
11941 help-enable-auto-load is non-nil.
11943 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11945 * makefile.w32-in (compile, compile-always): Depend on
11946 update-subdirs, not on subdirs.el. Otherwise, several different
11947 sub-targets of 'bootstrap' running in parallel could
11948 simultaneously write to subdirs.el, producing a garbled file.
11950 2012-06-26 Sam Steingold <sds@gnu.org>
11952 * files.el (file-name-base): New convenience function.
11953 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11954 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11955 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11956 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11957 * textmodes/ispell.el, textmodes/reftex-ref.el:
11958 * textmodes/tex-mode.el: Use it.
11959 Did not touch cedet and org because they are maintained elsewhere.
11961 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11963 * calendar/calendar.el (calendar-exit): Don't try to delete or
11964 iconify last frame. See:
11965 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11967 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11969 * server.el (server-process-filter): Remember dir in the
11970 process's `server-client-directory' properties.
11972 2012-06-24 Chong Yidong <cyd@gnu.org>
11974 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11977 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11979 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11981 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11983 * help-fns.el (describe-variable): Don't croak when doc is not found.
11984 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11985 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11986 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11987 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11988 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11990 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11992 2012-06-23 Chong Yidong <cyd@gnu.org>
11994 * info.el (Info-mouse-follow-link): Accept symbol values of
11995 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11996 (Info-fontify-node): Use Info-link-keymap for all navigation
11997 buttons, with link-args property to perform the desired action.
11998 (Info-link-keymap): Doc fix.
11999 (Info-next-link-keymap, Info-prev-link-keymap)
12000 (Info-up-link-keymap): Delete now-unused keymaps.
12002 2012-06-23 Chong Yidong <cyd@gnu.org>
12004 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12006 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12009 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12011 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12013 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12016 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12017 the requote function doesn't work properly (bug#11714).
12019 2012-06-23 Glenn Morris <rgm@gnu.org>
12021 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12023 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12025 Further GV/CL cleanups.
12026 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12028 (gv--defun-declaration): New function.
12029 (defun-declarations-alist): Use it.
12030 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12031 (gv-place): Autoload.
12032 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12033 original definition of dotimes and dolist.
12034 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12035 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12036 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12037 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12038 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12039 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12040 to the function's definition.
12041 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12045 * env.el: Don't use CL.
12047 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12049 Support higher-resolution time stamps (Bug#9000).
12051 * calendar/time-date.el (with-decoded-time-value): New arg
12052 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12053 (encode-time-value): New optional arg PICO. New type 3.
12054 (time-to-seconds) [!float-time]: Support the new picoseconds
12055 component if it's used.
12056 (seconds-to-time, time-subtract, time-add):
12057 Support ps-resolution time stamps as well.
12059 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12060 (timerp): Timer vectors now have length 9, not 8.
12061 (timer--time): Support new-style (4-part) time stamps.
12062 (timer-next-integral-multiple-of-time): Time stamps now have
12063 picosecond resolution, so take a bit more care about rounding.
12064 (timer-relative-time, timer-inc-time): New optional arg psecs.
12065 (timer-set-time-with-usecs): Set psecs to 0.
12066 (timer--activate): Check psecs component, too.
12068 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12070 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12072 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12073 Move the non-essential binding to the post/pre-command-hook where it is
12074 more obviously correct.
12076 * subr.el (read-passwd): Don't use a history at all.
12077 * savehist.el (savehist-save): Remove password saved accidentally
12078 because of the above bug.
12080 2012-06-22 Bastien Guerry <bzg@gnu.org>
12082 * files.el (toggle-read-only): Display a message telling whether
12083 the buffer is read-only or not (bug#11726).
12085 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * emacs-lisp/gv.el: New file.
12088 * subr.el (push, pop): Extend to generalized variables.
12089 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12090 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12091 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12092 gv-define-simple-setter, and gv-define-expander.
12093 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12094 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12095 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12096 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12097 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12099 (cl-defstruct): Don't define setf-method any more.
12100 * emacs-lisp/cl.el (flet): Don't autoload.
12101 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12102 (define-setf-expander, defsetf, define-modify-macro)
12103 (cl-struct-setf-expander): Move from cl-lib.el.
12104 * emacs-lisp/syntax.el:
12105 * emacs-lisp/ewoc.el:
12106 * emacs-lisp/smie.el:
12107 * emacs-lisp/cconv.el:
12108 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12109 (timer--time): Use gv-define-simple-setter.
12110 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12111 to avoid coding-system problems in subr.el. Adjust all users.
12112 (macroexp--maxsize, macroexp-small-p): New functions.
12113 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12114 * scroll-bar.el (scroll-bar-mode):
12115 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12116 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12117 * winner.el (winner-configuration, winner-make-point-alist)
12118 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12119 * files.el (locate-file-completion-table): Avoid list*.
12121 2012-06-22 Chong Yidong <cyd@gnu.org>
12123 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12124 (dired-create-files): Doc fix (Bug#11329).
12125 (dired-do-copy): Doc fix (Bug#11334).
12126 (dired-mark-read-string): Doc fix (Bug#11553).
12128 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12129 Doc fix (Bug#11326).
12130 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12131 (dired-dwim-target): Doc fix.
12133 * wdired.el (wdired-mode): Doc fix.
12135 2012-06-22 Glenn Morris <rgm@gnu.org>
12137 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12138 (pcmpl-rpm-cache-stamp-file): New constant.
12139 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12140 (pcmpl-rpm-packages): Optionally cache list of packages.
12142 * pcmpl-rpm.el (pcmpl-rpm): New group.
12143 (pcmpl-rpm-query-options): New option.
12144 (pcmpl-rpm-packages): No need to inline it.
12145 Use pcmpl-rpm-query-options.
12147 * calendar/calendar.el (calendar-in-read-only-buffer):
12148 Avoid some needless mode changes.
12150 2012-06-21 Chong Yidong <cyd@gnu.org>
12152 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12153 (desktop-path): Remove . from the default value (Bug#10977).
12154 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12156 2012-06-20 Chong Yidong <cyd@gnu.org>
12158 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12160 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12162 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12165 2012-06-20 Chong Yidong <cyd@gnu.org>
12167 * term.el (term-window-width): Handle the case of a missing right
12169 (term-check-size): Use window-text-height (Bug#5445).
12170 (term-mode): Use define-derived-mode. Minor cleanups.
12171 Set font-lock-defaults (Bug#7692).
12172 (term-move-columns, term-insert-char, term-emulate-terminal)
12173 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12175 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12177 * net/ange-ftp.el (ange-ftp-get-passwd):
12178 Bind `enable-recursive-minibuffers'.
12179 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12181 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12183 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12185 2012-06-19 Glenn Morris <rgm@gnu.org>
12187 * progmodes/python.el (python-mode): Derive from prog-mode.
12189 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12191 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12192 (edt-user-menu-bar-update-buffers): New functions.
12193 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12195 2012-06-19 Chong Yidong <cyd@gnu.org>
12197 * subr.el (with-selected-window): Preserve the selected window's
12198 terminal's top-frame (Bug#4702).
12200 * window.el (save-selected-window): Likewise.
12202 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12204 * progmodes/python.el (python-rx-constituents): Move backquote.
12205 (python-skeleton-define, python-define-auxiliary-skeleton):
12208 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12210 * minibuffer.el (read-file-name-default): Revert the patch from
12213 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12215 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12216 (pcase--u1, pcase--q1): Don't use apply-partially.
12218 2012-06-18 Glenn Morris <rgm@gnu.org>
12220 * progmodes/python.el (python-proc, python-buffer)
12221 (python-send-receive, python-send-string): Fix obsolete versions.
12223 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12225 * window.el (special-display-p): Completely remove stringp
12226 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12228 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12230 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12232 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12234 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12235 * net/tramp-sh.el (tramp-maybe-open-connection):
12236 Throw if `non-essential' is non-nil.
12238 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12240 * window.el (special-display-p): Signal an error if BUFFER-NAME
12241 is not a string (Bug#11713).
12243 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12245 * progmodes/python.el (python-info-beginning-of-backslash):
12246 Rename from python-info-beginning-of-backlash, as a spelling fix.
12248 2012-06-17 Chong Yidong <cyd@gnu.org>
12250 * term.el (term-emulate-terminal): If term-check-size is called,
12251 move point to the process mark without resetting point (Bug#4635).
12253 2012-06-17 Glenn Morris <rgm@gnu.org>
12255 * international/mule-cmds.el (mule-menu-keymap)
12256 (set-language-environment, set-locale-environment): Doc tweaks.
12258 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12260 * cus-face.el (custom-face-attributes): Add wave-style underline
12262 * faces.el (set-face-attribute): Update docstring to describe
12263 wave-style underline attribute.
12265 2012-06-16 Chong Yidong <cyd@gnu.org>
12267 * term/xterm.el (terminal-init-xterm): Discard input before
12268 querying background mode (Bug#10959).
12270 2012-06-16 Stefan Merten <smerten@oekonux.de>
12272 * textmodes/rst.el: Added and corrected some comments.
12273 (rst-re-alist-def): Improve symbol syntax.
12274 (rst-mode-syntax-table): Correct syntax entries.
12275 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12276 (rst-official-version, rst-official-cvs-rev): Update version
12279 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12281 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12282 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12284 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12286 * progmodes/python.el: New python.el merge.
12287 (python-guess-indent): Obsolete var.
12288 (python-indent-guess-indent-offset): New defcustom.
12289 (python-indent): Obsolete var.
12290 (python-indent-offset): New defcustom.
12291 (python-python-command, python-jython-command): Delete var.
12292 (python-shell-interpreter): New defcustom.
12293 (python-pdbtrack-do-tracking-p): Delete var.
12294 (python-pdbtrack-activate): New defcustom.
12295 (python-use-skeletons): Obsolete var.
12296 (python-skeleton-autoinsert): New defcustom.
12297 (inferior-python-filter-regexp, python-continuation-offset)
12298 (python-honour-comment-indentation, python-indent-string-contents)
12299 (python-jython-packages, python-mode-hook)
12300 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12301 (python-shell-prompt-alist)
12302 (python-source-modes): Delete defcustoms.
12303 (python-check-buffer-name, python-eldoc-setup-code)
12304 (python-eldoc-string-code, python-ffap-setup-code)
12305 (python-ffap-string-code, python-fill-comment-function)
12306 (python-fill-decorator-function, python-fill-paren-function)
12307 (python-fill-string-function, python-imenu-include-defun-type)
12308 (python-imenu-make-tree, python-imenu-subtree-root-label)
12309 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12310 (python-shell-compilation-regexp-alist)
12311 (python-shell-completion-module-string-code)
12312 (python-shell-completion-pdb-string-code)
12313 (python-shell-completion-setup-code)
12314 (python-shell-completion-string-code)
12315 (python-shell-enable-font-lock, python-shell-exec-path)
12316 (python-shell-extra-pythonpaths)
12317 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12318 (python-shell-process-environment)
12319 (python-shell-prompt-block-regexp)
12320 (python-shell-prompt-output-regexp)
12321 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12322 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12323 (python-shell-virtualenv-path): New defcustoms.
12324 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12325 (inferior-python-mode-syntax-table, python--prompt-regexp)
12326 (python-buffer, python-command python-python-command)
12327 (python-default-template, python-imports, python-indent-index)
12328 (python-indent-list, python-indent-list-length)
12329 (python-mode-running, python-pdbtrack-is-tracking-p)
12330 (python-preoutput-continuation, python-preoutput-leftover)
12331 (python-preoutput-result, python-preoutput-skip-next-prompt)
12332 (python-prev-dir/file, python-recursing)
12333 (python-saved-check-command, python-version-checked)
12334 (python-which-func-length-limit)
12335 (view-return-to-alist): Delete vars.
12336 (python-check-custom-command, python-dotty-syntax-table)
12337 (python-imenu-index-alist, python-indent-current-level)
12338 (python-indent-dedenters, python-indent-levels)
12339 (python-nav-beginning-of-defun-regexp)
12340 (python-nav-list-defun-positions-cache)
12341 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12342 (python-shell-internal-buffer)
12343 (python-skeleton-available): New vars.
12344 (def-python-skeleton): Delete macro.
12345 (python-skeleton-define): New macro.
12346 (python-define-auxiliary-skeleton, python-rx): New macros.
12347 (python-insert-class): Delete command.
12348 (python-skeleton-class): New command.
12349 (python-insert-def): Delete command.
12350 (python-skeleton-def): New command.
12351 (python-insert-for): Delete command.
12352 (python-skeleton-for): New command.
12353 (python-insert-if): Delete command.
12354 (python-skeleton-if): New command.
12355 (python-insert-try/except, python-insert-try/finally): Delete commands.
12356 (python-skeleton-try): New command.
12357 (python-insert-while): Delete command.
12358 (python-skeleton-while): New command.
12359 (python-backspace): Delete command.
12360 (python-indent-dedent-line-backspace): New command.
12361 (python-electric-colon): Delete command.
12362 (python-indent-electric-colon): New command.
12363 (python-guess-indent): Delete command.
12364 (python-indent-guess-indent-offset): New command.
12365 (python-shift-left): Delete command.
12366 (python-indent-shift-left): New command.
12367 (python-shift-right): Delete command.
12368 (python-indent-shift-right): New command.
12369 (python-find-function): Delete command.
12370 (python-nav-jump-to-defun): New command.
12371 (python-next-statement): Delete command.
12372 (python-nav-forward-sentence): New command.
12373 (python-previous-statement): Delete command.
12374 (python-nav-backward-sentence): New command.
12375 (python-fill-paragraph): Delete command.
12376 (python-fill-paragraph-function): New command.
12377 (python-send-buffer): Delete command.
12378 (python-shell-send-buffer): New command.
12379 (python-send-defun): Delete command.
12380 (python-shell-send-defun): New command.
12381 (python-send-region, python-send-region-and-go): Delete commands.
12382 (python-shell-send-region)
12383 (python-shell-switch-to-shell): New commands.
12384 (python-send-string): Delete command.
12385 (python-shell-send-string): New command.
12386 (python-switch-to-python): Delete command.
12387 (python-shell-switch-to-shell): New command.
12388 (python-describe-symbol): Delete command.
12389 (python-eldoc-at-point): New command.
12390 (python--set-prompt-regexp, python-args-to-list)
12391 (python-after-info-look, python-check-version)
12392 (python-check-comint-prompt, python-find-imports)
12393 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12394 (python-unload-function, python-expand-template)
12395 (python-maybe-jython, python-preoutput-filter)
12396 (python-pdbtrack-get-source-buffer)
12397 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12398 (python-pdbtrack-toggle-stack-tracking)
12399 (python-pdbtrack-track-stack-file, python-initial-text)
12400 (python-first-word, python-comment-line-p, python-send-command)
12401 (python-setup-brm, python-sentinel, python-set-proc)
12402 (python-skip-out, python-input-filter, python-outdent-p)
12403 (python-outline-level, python-backslash-continuation-line-p)
12404 (python-end-of-block, python-end-of-statement, python-mark-block)
12405 (python-beginning-of-block, python-beginning-of-statement)
12406 (python-blank-line-p, python-beginning-of-string)
12407 (python-open-block-statement-p): Delete functions.
12408 (python-indent-line, python-indent-line-1): Delete functions.
12409 (python-indent-line): New function.
12410 (python-indentation-levels): Delete function.
12411 (python-indent-calculate-levels): New function.
12412 (python-proc): Delete function.
12413 (python-shell-get-process): New function.
12414 (python-send-receive): Delete function.
12415 (python-shell-send-string-no-output): New function.
12416 (python-module-path): Delete function.
12417 (python-ffap-module-path): New function.
12418 (python-completion-at-point)
12419 (python-symbol-completions): Delete functions.
12420 (python-completion-complete-at-point): New function.
12421 (python-load-file): Delete function.
12422 (python-shell-send-file): New function.
12423 (python-calculate-indentation): Delete function.
12424 (python-indent-calculate-indentation): New function.
12425 (python-skip-comments/blanks): Delete function.
12426 (python-util-forward-comment): New function.
12427 (python-continuation-line-p): Delete function.
12428 (python-info-continuation-line-p): New function.
12429 (python-which-func, python-current-defun): Delete function.
12430 (python-info-current-defun): New function.
12431 (python-beginning-of-defun): Delete function.
12432 (python-nav-beginning-of-defun): New function.
12433 (python-close-block-statement-p)
12434 (python-block-end-p): Delete function.
12435 (python-info-closing-block): New function.
12436 (python-comint-output-filter-function)
12437 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12438 (python-fill-comment, python-fill-decorator, python-fill-paren)
12439 (python-fill-string, python-imenu-make-element-tree)
12440 (python-imenu-make-tree, python-imenu-tree-assoc)
12441 (python-indent-context, python-indent-dedent-line)
12442 (python-indent-line-function)
12443 (python-indent-post-self-insert-function)
12444 (python-indent-toggle-levels)
12445 (python-info-assignment-continuation-line-p)
12446 (python-info-beginning-of-backlash)
12447 (python-info-block-continuation-line-p)
12448 (python-info-closing-block-message)
12449 (python-info-line-ends-backslash-p)
12450 (python-info-looking-at-beginning-of-defun)
12451 (python-info-ppss-context, python-info-ppss-context-type)
12452 (python-nav-list-defun-positions, python-nav-read-defun)
12453 (python-nav-sentence-end, python-nav-sentence-start)
12454 (python-pdbtrack-comint-output-filter-function)
12455 (python-pdbtrack-set-tracked-buffer)
12456 (python-shell-calculate-exec-path)
12457 (python-shell-calculate-process-environment)
12458 (python-shell-completion--do-completion-at-point)
12459 (python-shell-completion--get-completions)
12460 (python-shell-completion-complete-at-point)
12461 (python-shell-completion-complete-or-indent)
12462 (python-shell-get-or-create-process)
12463 (python-shell-get-process-name)
12464 (python-shell-internal-get-or-create-process)
12465 (python-shell-internal-get-process-name)
12466 (python-shell-internal-send-string, python-shell-make-comint)
12467 (python-shell-parse-command, python-shell-send-setup-code)
12468 (python-skeleton-add-menu-items)
12469 (python-util-clone-local-variables, python-util-position)
12470 (run-python-internal, python-indentation-levels)
12471 (python-nav-beginning-of-defun)
12472 (python-completion-complete-at-point): New functions.
12473 (run-python): Change arguments. New API requirements.
12475 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12480 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12481 (macroexp--expand-all): Use it.
12483 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12484 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12485 Use `cl-function' instead.
12487 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12489 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12490 Suggested by Stefan Monnier while discussing bug#11657.
12492 2012-06-14 Sam Steingold <sds@gnu.org>
12494 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12496 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12498 * play/doctor.el (doctor-doc): Remove parameter and use
12499 doctor-sent instead of sent.
12500 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12502 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12504 * files.el: Require cl-lib.
12505 (file-name-non-special): Replace case -> cl-case.
12507 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12509 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12510 mapping from #' to function*.
12512 2012-06-13 Chong Yidong <cyd@gnu.org>
12514 * mouse.el (mouse-drag-track): Do not set the mark if the user
12515 releases the mouse without selecting anything (Bug#11588).
12517 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12519 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12520 as well (bug#11646).
12522 * loadup.el: Count byte-code functions as well.
12524 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12525 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12527 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12528 (bug#11649). Add cl-defun and cl-defmacro.
12530 2012-06-13 Drew Adams <drew.adams@oracle.com>
12532 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12535 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12537 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12538 Otherwise, it blocks in batch mode.
12540 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12542 * help-mode.el (bookmark-make-record-default): Declare.
12544 2012-06-13 Chong Yidong <cyd@gnu.org>
12546 * emacs-lisp/package.el (list-packages): Compute a list of
12547 packages that are newly-available since the last list-packages
12549 (package-menu--new-package-list): New var.
12550 (package-menu--generate, package-menu--print-info)
12551 (package-menu--status-predicate, package-menu-mark-install):
12552 Handle new status label "new".
12554 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12556 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12557 conversion to backquotes.
12559 2012-06-12 Chong Yidong <cyd@gnu.org>
12561 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12562 Rename from gud-inhibit-global-bindings.
12564 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12566 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12567 hook from nxml-glyph-set-hook.
12569 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12572 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12574 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12575 Convert to defcustom.
12577 2012-06-12 Drew Adams <drew.adams@oracle.com>
12579 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12581 (help-mode): Use them.
12583 2012-06-11 Glenn Morris <rgm@gnu.org>
12585 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12586 Use preprocessor face for directives.
12587 (fortran-directive-re): Doc fix.
12589 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12591 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12592 conversion to backquotes (bug#11652).
12594 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12595 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12596 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12597 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12598 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12599 (cl-ninth, cl-tenth): Mark them as inlinable.
12600 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12601 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12602 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12603 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12604 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12605 (cl-list*, cl-adjoin): Don't put an autoload manually.
12606 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12607 (cl--compiler-macro-list*): Add autoload cookie.
12608 (cl--compiler-macro-cXXr): New function.
12610 * help-fns.el (help-fns--compiler-macro): New function extracted from
12611 describe-function-1; follow aliases and use `compiler-macro' property.
12612 (describe-function-1): Use it.
12614 2012-06-11 Chong Yidong <cyd@gnu.org>
12616 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12617 is uninstalled, if imagemagick is installed.
12619 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * emacs-lisp/cl-lib.el: Use lexical-binding.
12622 (cl-map-extents, cl-maclisp-member): Remove.
12623 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12624 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12625 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12626 * emacs-lisp/cl-extra.el: Use lexical-binding.
12627 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12628 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12629 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12630 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12631 * emacs-lisp/cl-seq.el: Use lexical-binding.
12632 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12633 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12634 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12635 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12636 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12639 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12641 Sync with Tramp 2.2.6-pre.
12643 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12644 `print-length' and `print-level' to nil, in order to avoid
12645 truncation. Reported by Christopher Schmidt
12646 <christopher@ristopher.com>.
12648 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12650 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12652 (tramp-compat-copy-directory): Add optional argument
12653 COPY-CONTENTS. It is not handled yet.
12655 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12656 (tramp-ftp-file-name-p): Simplify.
12658 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12659 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12662 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12663 (tramp-methods): Do not use `tramp-password-end-of-line'.
12664 (tramp-completion-function-alist-putty): Handle UNIX case.
12665 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12666 (tramp-do-file-attributes-with-stat)
12667 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12668 gid as real numbers. They could run out of integer range on cygwin.
12669 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12670 (tramp-sh-handle-expand-file-name): Handle hops.
12671 (tramp-open-connection-setup-interactive-shell):
12672 Use `tramp-cleanup'. Move check for busyboxes ...
12673 (tramp-find-shell): ... here. Simplify implementation.
12674 Set "remote-shell" property also for alternative shells.
12675 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12676 If failing, a regular file would be written otherwise.
12677 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12678 (tramp-find-inline-encoding): Cache the coding commands in the
12679 process cache. Apply test command on the remote side, if defined.
12680 (tramp-find-inline-compress): Cache the compress commands in the
12682 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12683 when requested. Handle hops.
12684 (tramp-current-connection): New defvar.
12685 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12686 Throw `suppress', if there was a failed connection shortly before.
12687 Handle user interrupt. (Bug#10187)
12688 (tramp-get-inline-compress, tramp-get-inline-coding):
12689 Read connection properties from the process cache.
12691 * net/tramp-smb.el (tramp-smb-server-version)
12692 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12694 (tramp-smb-prompt): Extend for powershell prompt.
12695 (tramp-smb-file-name-handler-alist): Add handlers for
12696 `process-file', `shell-command' and `start-file-process'.
12697 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12698 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12699 (tramp-smb-file-name-p): Simplify.
12700 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12701 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12702 (tramp-smb-shell-quote-argument): New defuns.
12703 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12704 Implement using "tar". By this, time-stamps are preserved.
12705 (tramp-smb-handle-copy-file): Handle also the case of directories.
12706 (tramp-smb-do-file-attributes-with-stat)
12707 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12708 Use `tramp-get-connection-buffer').
12709 (tramp-smb-handle-rename-file): Use "rename", when source and
12710 target are on the same share.
12711 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12712 Use `tramp-smb-server-version'.
12713 (tramp-smb-wait-for-output): Remove prompt.
12715 * net/tramp.el (top): Require 'cl.
12716 (tramp-methods, tramp-rsh-end-of-line):
12717 Remove `tramp-password-end-of-line' from docstring.
12718 (tramp-save-ad-hoc-proxies): New defcustom.
12719 (tramp-completion-function-alist): Adapt docstring.
12720 (tramp-default-password-end-of-line): Remove defcustom.
12721 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12722 (tramp-user-regexp, tramp-file-name-regexp-unified)
12723 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12724 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12725 (tramp-remote-file-name-spec-regexp): New defconst.
12726 (tramp-file-name-structure): Extend structure for hops.
12727 (tramp-get-method-parameter): Move up.
12728 (tramp-file-name-p, tramp-dissect-file-name)
12729 (with-parsed-tramp-file-name): Handle hops.
12730 (tramp-file-name-hop): New defun.
12731 (tramp-make-tramp-file-name): New optional arg HOP.
12732 (tramp-message-show-progress-reporter-message): New defvar.
12733 (tramp-with-progress-reporter): Use it. We cannot use
12734 `tramp-message-show-message' here, because this suppresses also
12736 (tramp-error-with-buffer): Suppress buffer view, if
12737 `tramp-message-show-message' is nil.
12738 Use `tramp-get-connection-buffer'.
12739 (tramp-cleanup): New defun.
12740 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12741 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12742 an error unchanged.
12743 (tramp-completion-handle-file-name-all-completions): Handle hops.
12744 Fix an error when called from ido.
12745 (tramp-completion-dissect-file-name): Use better local variable
12746 name. Add hop to the vector.
12747 (tramp-handle-insert-file-contents): Use progress-reporter for the
12749 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12751 (tramp-check-for-regexp): Simplify search.
12752 (tramp-enter-password): Remove it. Move implementation ...
12753 (tramp-action-password): ... here.
12754 (tramp-mode-string-to-int, tramp-local-host-p)
12755 (tramp-make-tramp-temp-file, tramp-read-passwd)
12756 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12757 Set tramp-autoload cookie.
12759 * net/trampver.el: Update release number.
12761 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12762 Michael Albinus <michael.albinus@gmx.de>
12764 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12765 (tramp-parse-group, tramp-parse-file)
12766 (tramp-parse-shostkeys-sknownhosts): New defuns.
12767 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12768 (tramp-parse-shosts-group, tramp-parse-sconfig)
12769 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12770 (tramp-parse-sknownhosts, tramp-parse-hosts)
12771 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12773 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12774 (tramp-parse-putty-group): Don't narrow.
12775 (tramp-parse-putty): Make a loop.
12776 (tramp-file-name-handler): Catch the `suppress' signal.
12778 2012-06-11 Chong Yidong <cyd@gnu.org>
12780 * image.el (imagemagick-register-types): Put the ImageMagick entry
12781 at the end of image-type-file-name-regexps.
12783 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12785 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12786 (pcase, pcase-let*, pcase-dolist): Use them.
12788 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12790 * emacs-lisp/pcase.el (pcase--let*): New function.
12791 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12792 (pcase--expand): Use macroexp-let².
12794 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12796 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12797 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12798 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12799 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12800 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12801 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12803 2012-06-10 Glenn Morris <rgm@gnu.org>
12805 * mail/rmail.el (rmail-yank-current-message): Leave point at
12806 correct position. (Bug#11660)
12808 2012-06-10 Chong Yidong <cyd@gnu.org>
12810 * allout-widgets.el: Fix code header.
12812 2012-06-10 Chong Yidong <cyd@gnu.org>
12814 * cus-edit.el (customize-changed-options-previous-release):
12817 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12819 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12821 2012-06-09 Chong Yidong <cyd@gnu.org>
12823 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12825 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12827 * window.el (special-display-popup-frame): Don't use
12828 window--display-buffer (Bug#11651).
12830 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12832 Fix parallel builds: make sure loaddefs.el is not being written
12833 while Lisp files are compiled.
12834 (compile): Don't depend on 'mh-autoloads'.
12835 (compile-CMD, compile-SH): Depend on 'autoloads'.
12836 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12838 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12840 2012-06-09 Chong Yidong <cyd@gnu.org>
12842 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12843 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12844 Doc fixes (Bug#11225).
12846 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12848 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12849 a function if there's a clear indication that it has a compiler-macro.
12850 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12851 (macro-declarations-alist): Add arglist to declaration functions.
12852 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12853 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12854 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12855 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12856 Also add autoload to find the compiler macro.
12857 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12858 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12859 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12860 (cl--compiler-macro-get): New functions, replacing calls to
12861 cl-define-compiler-macro.
12862 (cl-typep) [compiler-macro]: Use macroexp-let².
12864 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12866 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12867 string properly, fixes Bug#11473.
12869 2012-06-08 Chong Yidong <cyd@gnu.org>
12871 * faces.el (set-face-attribute): Doc fix.
12872 (modify-face): Don't use :bold and :italic.
12873 (error, warning, success): Tweak definitions.
12875 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12876 (custom-modified, custom-set, custom-changed, custom-themed)
12877 (custom-saved, custom-button, custom-button-mouse)
12878 (custom-button-pressed, custom-state, custom-comment-tag)
12879 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12880 (custom-group-subtitle): Use new-style face specs.
12881 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12882 (custom-set-face, custom-changed-face, custom-saved-face)
12883 (custom-button-face, custom-button-pressed-face)
12884 (custom-documentation-face, custom-state-face)
12885 (custom-comment-face, custom-comment-tag-face)
12886 (custom-variable-tag-face, custom-variable-button-face)
12887 (custom-face-tag-face, custom-group-tag-face-1)
12888 (custom-group-tag-face): Remove obsolete face alias.
12890 * epa.el (epa-validity-high, epa-validity-medium)
12891 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12892 (epa-field-name, epa-field-body):
12893 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12894 (font-lock-keyword-face, font-lock-builtin-face)
12895 (font-lock-function-name-face, font-lock-variable-name-face)
12896 (font-lock-type-face, font-lock-constant-face):
12897 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12898 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12899 * speedbar.el (speedbar-button-face, speedbar-file-face)
12900 (speedbar-directory-face, speedbar-tag-face)
12901 (speedbar-selected-face, speedbar-highlight-face)
12902 (speedbar-separator-face):
12903 * whitespace.el (whitespace-newline, whitespace-space)
12904 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12905 (whitespace-line, whitespace-space-before-tab)
12906 (whitespace-space-after-tab, whitespace-indentation)
12907 (whitespace-empty):
12908 * emulation/cua-base.el (cua-global-mark):
12909 * eshell/em-prompt.el (eshell-prompt):
12910 * net/newst-plainview.el (newsticker-new-item-face)
12911 (newsticker-old-item-face, newsticker-immortal-item-face)
12912 (newsticker-obsolete-item-face, newsticker-date-face)
12913 (newsticker-statistics-face, newsticker-default-face):
12914 * net/newst-reader.el (newsticker-feed-face)
12915 (newsticker-extra-face, newsticker-enclosure-face):
12916 * net/newst-treeview.el (newsticker-treeview-face)
12917 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12918 (newsticker-treeview-immortal-face)
12919 (newsticker-treeview-obsolete-face)
12920 (newsticker-treeview-selection-face):
12921 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12922 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12923 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12924 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12925 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12926 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12927 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12929 * progmodes/vera-mode.el (vera-font-lock-number)
12930 (vera-font-lock-function, vera-font-lock-interface):
12931 * textmodes/table.el (table-cell): Use new-style face specs, and
12932 don't use the old :bold and :italic attributes.
12934 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12935 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12936 (ebrowse-member-class, ebrowse-progress): Likewise.
12937 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12938 (ebrowse-file-name-face, ebrowse-default-face)
12939 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12940 (ebrowse-progress-face): Remove obsolete faces.
12942 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12943 Inherit from error and warning faces respectively.
12945 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12947 (flyspell-incorrect-face, flyspell-duplicate-face):
12948 Remove obsolete aliases.
12950 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12952 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12955 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12957 * startup.el (argv, argi): Make lexically scoped.
12958 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12959 * emacs-lisp/cl-macs.el: Use lexical-binding.
12960 Rename cl-bind-* to cl--bind-*.
12961 * files.el: Don't require `cl' since it doesn't use it.
12962 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12964 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12966 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12967 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12968 instead of calling external sort utility.
12969 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12971 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12973 * descr-text.el (describe-char): Mention how to insert the
12974 character, if the current input method doesn't support it.
12975 See the discussion in this thread for the details:
12976 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12978 2012-06-08 Sam Steingold <sds@gnu.org>
12980 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12981 XF86Back to previous-buffer.
12982 (minibuffer-local-map): Bind them to next-history-element and
12983 previous-history-element respectively.
12984 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12985 help-go-back respectively.
12986 * info.el (Info-mode-map): Bind them to Info-history-forward and
12987 Info-history-back respectively.
12988 These are the keys next to Up on the ThinkPad keyboard.
12990 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12992 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12993 * emacs-lisp/cl-macs.el: Provide itself.
12994 (cl--labels-convert-cache): New var.
12995 (cl--labels-convert): New function.
12996 (cl-flet, cl-labels): New implementation with new semantics, relying on
12998 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12999 (cl-closure-vars, cl--function-convert-cache)
13000 (cl--function-convert): Move from cl-macs.el.
13001 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13002 rename by removing the "cl-" prefix.
13003 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13005 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13007 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13008 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13009 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13010 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13011 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13012 (cl-hash-table-count): Add old compatibility aliases.
13014 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13015 Use macroexpand-all-environment instead.
13016 (cl--old-macroexpand): New var.
13017 (cl--sm-macroexpand): New function.
13018 (cl-symbol-macrolet): Use it during macro expansion.
13019 (cl--function-convert-cache): New var.
13020 (cl--function-convert): New function, extracted from
13021 cl-macroexpand-all.
13022 (cl-lexical-let): Use it.
13024 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13025 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13026 (cl-member): Remove old alias.
13028 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13029 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13030 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13031 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13032 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13033 (cl-macroexpand-cmacs): Remove var.
13034 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13035 Use macroexpand-all instead.
13037 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13039 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13040 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13041 (macroexp-copyable-p): New functions and macros.
13042 * emacs-lisp/edebug.el (edebug-unwrap):
13043 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13044 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13045 (pcase--let*): Remove.
13046 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13047 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13048 macroexp-const-p instead.
13049 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13051 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13052 instead of "cl-" for internal definitions. Use macroexp-const-p.
13053 (cl-old-bc-file-form): Remove var.
13054 (cl-const-exprs-p): Remove fun.
13055 (cl-labels, cl-macrolet): Use backquote.
13056 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13057 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13058 (cl-define-setf-expander): Rename from cl-define-setf-method.
13059 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13061 * international/mule-cmds.el: Don't require CL.
13062 (view-hello-file): Don't use `letf'.
13064 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13066 * tmm.el (tmm-prompt): Use string-prefix-p.
13067 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13068 (tmm-add-prompt): Use minibuffer-completion-help.
13069 (tmm-delete-map): Remove.
13071 * subr.el (kbd): Make it its own function.
13073 2012-06-07 Stefan Merten <smerten@oekonux.de>
13075 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13076 Silence compiler warnings. Fix versions.
13077 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13078 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13079 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13080 (rst-package-emacs-version-alist): Correct Emacs version to
13081 represent major merge with upstream.
13082 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13084 2012-06-06 Glenn Morris <rgm@gnu.org>
13086 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13087 Only print environment variables if set.
13089 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13091 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13092 (macroexp--cons): Rename from maybe-cons.
13093 (macroexp--accumulate): Rename from macroexp-accumulate.
13094 (macroexp--all-forms): Rename from macroexpand-all-forms.
13095 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13096 (macroexp--expand-all): Rename from macroexpand-all-1.
13098 2012-06-06 Sam Steingold <sds@gnu.org>
13100 * calendar/calendar.el (calendar-in-read-only-buffer):
13101 Call `special-mode' to enable the standard read-only keybindings.
13103 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13105 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13106 with "loading" messages (bug#11635).
13108 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13110 * files.el (enable-remote-dir-locals): New option.
13111 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13113 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13114 Ensure, that the temp directory is local.
13116 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13117 `temporary-file-directory'.
13119 * progmodes/python.el (python-send-region): Ensure, that the
13120 temporary file is created also in the remote case.
13122 2012-06-06 Glenn Morris <rgm@gnu.org>
13124 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13125 (vc-rcs-update-changelog): Use it.
13127 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13129 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13130 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13131 (vc-sccs-diff): Replace use of the external vcdiff script.
13133 2012-06-05 Glenn Morris <rgm@gnu.org>
13135 * ledit.el: Move to obsolete/.
13137 2012-06-05 Sam Steingold <sds@gnu.org>
13139 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13142 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13144 * emacs-lisp/cust-print.el: Move to obsolete.
13146 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13147 compiler-macro expansion.
13149 Add native compiler-macro support.
13150 * emacs-lisp/macroexp.el (macroexpand-all-1):
13151 Support compiler-macros directly. Properly follow aliases and apply
13152 the compiler macros more thoroughly.
13153 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13154 macroexpand now properly follows aliases.
13155 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13156 (cl-compiler-macroexpand): Use new prop.
13157 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13159 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13161 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13163 * window.el (get-lru-window, get-mru-window, get-largest-window):
13164 New argument NOT-SELECTED to avoid picking the selected window.
13165 (window--display-buffer-1, window--display-buffer-2): Replace by
13166 new function window--display-buffer
13167 (display-buffer-same-window, display-buffer-reuse-window)
13168 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13169 Use window--display-buffer.
13170 (display-buffer-use-some-window): Remove temporary dedication
13171 hack by calling get-lru-window and get-largest-window with
13172 NOT-SELECTED argument non-nil. Call window--display-buffer.
13174 2012-06-05 Glenn Morris <rgm@gnu.org>
13176 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13177 Replace external vcdiff script.
13179 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13181 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13183 2012-06-04 Chong Yidong <cyd@gnu.org>
13185 * image.el (imagemagick-types-inhibit): Revert last change.
13187 (imagemagick-enabled-types): Remove CIN and EPS*.
13189 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * emacs-lisp/cl-lib.el: Rename from cl.el.
13192 * emacs-lisp/cl.el: New compatibility file.
13193 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13194 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13195 to obey the "cl-" prefix.
13196 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13198 2012-06-03 Glenn Morris <rgm@gnu.org>
13200 * emacs-lisp/authors.el (authors-aliases): Addition.
13202 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13205 2012-06-03 Stefan Merten <smerten@oekonux.de>
13207 * textmodes/rst.el: Add comments.
13208 (rst-transition, rst-adornment): New faces.
13209 (rst-adornment-faces-alist): Make default safe to reevaluate.
13211 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13212 Improve customization tags.
13213 (rst-define-level-faces): Clarify meaning.
13215 2012-06-03 Chong Yidong <cyd@gnu.org>
13217 * progmodes/compile.el (compilation-mode-line-fail)
13218 (compilation-mode-line-run, compilation-mode-line-exit):
13220 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13222 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13224 * progmodes/which-func.el (which-func-update-ediff-windows):
13225 New function. Use it in ediff-select-hook (Bug#11478).
13227 2012-06-03 Chong Yidong <cyd@gnu.org>
13229 * bindings.el: Remove explicit help text from format-mode-line.
13230 It is now supplied by mode-line-default-help-echo.
13231 (mode-line-front-space, mode-line-end-spaces)
13232 (mode-line-misc-info): New variables.
13233 (mode-line-modes, mode-line-position): Move the default value to
13234 the variable definition.
13235 (mode-line-default-help-echo): New defcustom.
13236 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13237 (mode-line-modified-help-echo): New functions.
13238 (mode-line-mule-info, mode-line-modified): Use them.
13239 (mode-line-eol-desc, propertized-buffer-identification):
13240 Consistency fixes for help text.
13241 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13242 set-buffer-file-coding-system (Bug#289).
13243 (mode-line-mule-info-help-echo): Update help text.
13245 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13247 * simple.el (execute-extended-command): Set real-this-command
13250 2012-06-02 Chong Yidong <cyd@gnu.org>
13252 Remove incorrect uses of "modeline" in comments, docstrings, and
13253 function/variable names (Bug#10329).
13255 * cus-edit.el (mode-line):
13256 * dframe.el (dframe-mouse-hscroll):
13257 * emacs-lisp/re-builder.el:
13258 * emacs-lisp/easy-mmode.el (define-minor-mode):
13259 * frame.el (set-frame-name):
13260 * help.el (lookup-minor-mode-from-indicator):
13261 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13262 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13263 (c-toggle-hungry-state):
13264 * progmodes/antlr-mode.el (antlr-language-alist):
13265 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13266 * progmodes/vhdl-mode.el (vhdl-mode):
13267 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13268 * term/ns-win.el (ns-face-at-pos):
13269 * term/sup-mouse.el (sup-mouse-report):
13270 * textmodes/flyspell.el (flyspell-mode-line-string):
13271 * textmodes/ispell.el (ispell-highlight-face):
13272 * textmodes/reftex-global.el:
13273 * vc/vc-arch.el (vc-arch-mode-line-string):
13274 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13275 * vc/vc-git.el (vc-git-mode-line-string):
13276 * vc/vc-hooks.el (vc-display-status)
13277 (vc-default-mode-line-string):
13278 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13280 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13282 * dired.el (dired-sort-set-mode-line): Rename from
13283 dired-sort-set-modeline. All callers changed.
13285 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13286 eshell-status-in-modeline.
13288 * foldout.el (foldout-mode-line-string): Rename from
13289 foldout-modeline-string. All callers changed.
13290 (foldout-update-mode-line): Rename from foldout-update-modeline.
13292 * subr.el (redraw-modeline): Make into obsolete alias.
13294 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13295 timeclock-modeline-display. Make old name an alias.
13296 (timeclock-update-mode-line): Likewise. All callers changed.
13297 (timeclock-mode-line-display): No need to check before using
13299 (timeclock-relative, timeclock-day-over-hook)
13300 (timeclock-use-elapsed, timeclock-mode-string)
13301 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13303 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13304 crisp-mode-modeline-string.
13306 * play/solitaire.el (solitaire-build-mode-line): Rename from
13307 solitaire-build-modeline. All callers changed.
13309 * play/zone.el (zone-hiding-mode-line): Rename from
13310 zone-hiding-modeline. All callers changed.
13311 (zone): Remove unusued `modeline-hidden-level' property.
13313 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13314 xscheme-modeline-initialize. All callers changed.
13316 * strokes.el (strokes-lighter): Rename from
13317 strokes-modeline-string.
13319 * textmodes/sgml-mode.el (html-face-tag-alist)
13320 (html-tag-face-alist): Use mode-line face instead of obsolete
13323 2012-06-02 Stefan Merten <smerten@oekonux.de>
13325 * textmodes/rst.el: Always require `cl'.
13326 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13328 2012-06-02 Chong Yidong <cyd@gnu.org>
13330 * image.el (imagemagick-enabled-types): Rename from
13331 imagemagick-types-enable. Add many more types.
13332 (imagemagick-types-inhibit): Change default to nil.
13333 (imagemagick-filter-types): Caller changed.
13335 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13337 * emacs-lisp/cl-macs.el: Use backquotes.
13338 (cl-transform-function-property): Use eval-and-compile rather than
13340 (defstruct): Use declare-function instead of with-no-warnings.
13342 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13343 (byte-compile-output-docform): Re-add the print-circle bindings.
13344 (byte-compile-fix-header): Use #$ just because it's shorter.
13345 (byte-compile-output-file-form): Remove defun/defmacro.
13347 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13349 * simple.el (choose-completion): Remove now obsolete binding for
13352 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13354 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13355 in order to avoid "Stack overflow in regexp matcher".
13357 2012-05-31 Glenn Morris <rgm@gnu.org>
13359 * image.el: For clarity, call imagemagick-register-types at
13360 top-level, rather than relying on a custom :initialize.
13361 (imagemagick-types-enable): New option. (Bug#11557)
13362 (imagemagick-filter-types): New function. (Bug#7406)
13363 (imagemagick-register-types): Use imagemagick-filter-types.
13364 If disabling support, remove elements altogether rather
13365 than using an impossible regexp.
13366 (imagemagick-types-inhibit): Give it the default init function.
13368 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13371 Handle arbitrary file name lengths (Bug#11585).
13373 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13375 * desktop.el (desktop-read): Clear previous and next buffers for
13376 all windows and bury *Messages* buffer (bug#11556).
13378 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13380 Add `declare' for `defun'. Align `defmacro's with it.
13381 * emacs-lisp/easy-mmode.el (define-minor-mode)
13382 (define-globalized-minor-mode): Don't autoload the var definitions.
13383 * emacs-lisp/byte-run.el: Use lexical-binding.
13384 (defun-declarations-alist, macro-declarations-alist): New vars.
13385 (defmacro, defun): Use them.
13386 (make-obsolete, define-obsolete-function-alias)
13387 (make-obsolete-variable, define-obsolete-variable-alias):
13389 (macro-declaration-function): Mark obsolete.
13390 * emacs-lisp/autoload.el: Use lexical-binding.
13391 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13393 2012-05-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13395 * textmodes/ispell.el (ispell-with-no-warnings):
13397 (ispell-kill-ispell, ispell-change-dictionary):
13398 Use `called-interactively-p' for Emacs instead of obsolete
13401 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13403 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13404 (macro-declaration-function): Move var from C code.
13405 (macro-declaration-function): Define function with defalias.
13406 * emacs-lisp/macroexp.el (macroexpand-all-1):
13407 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13408 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13409 defun/defmacro any more.
13410 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13411 Provide fallback for unknown arglist.
13412 (byte-compile-arglist-warn): Change calling convention.
13413 (byte-compile-output-file-form): Move print-vars binding.
13414 (byte-compile-output-docform): Simplify accordingly.
13415 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13416 (byte-compile-defmacro-declaration): Remove.
13417 (byte-compile-file-form-defmumble): Generalize to defalias.
13418 (byte-compile-output-as-comment): Return byte-positions.
13419 Simplify callers accordingly.
13420 (byte-compile-lambda): Use `assert'.
13421 (byte-compile-defun, byte-compile-defmacro): Remove.
13422 (byte-compile-file-form-defalias):
13423 Use byte-compile-file-form-defmumble.
13424 (byte-compile-defalias-warn): Remove.
13426 2012-05-29 Stefan Merten <smerten@oekonux.de>
13428 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13429 possible. Fix authors. Improve comments. Improve loading of `cl'.
13431 (rst-mode-abbrev-table): Merge definition.
13432 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13433 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13435 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13437 * calendar/icalendar.el
13438 (icalendar-export-region): Export UID properly.
13440 2012-05-29 Leo Liu <sdl.web@gmail.com>
13441 * calendar/icalendar.el (icalendar-import-format):
13442 Add `icalendar-import-format-uid' (Bug#11525).
13443 (icalendar-import-format-uid): New.
13444 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13447 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13449 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13450 different alternative patterns.
13451 (pcase-codegen): Be more careful to preserve identity.
13452 (pcase--u1): Don't forget to mark vars as used.
13454 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13455 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13456 (byte-compile-from-buffer): ...rather than here.
13458 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13459 functions from byte-compile-function-environment.
13461 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13463 * window.el (window-deletable-p): Avoid deleting the root window
13464 of a frame with an active minibuffer.
13466 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13468 * simple.el (choose-completion): Use quit-window (Bug#11567).
13470 2012-05-29 Chong Yidong <cyd@gnu.org>
13472 * whitespace.el (whitespace-cleanup): Fix usage of
13473 whitespace-empty-at-bob-regexp (Bug#11492).
13475 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13477 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13478 revert (Bug#11488).
13480 2012-05-29 Juri Linkov <juri@jurta.org>
13482 * isearch.el (isearch-mode-map): Bind `M-s _' to
13483 `isearch-toggle-symbol'. Bind `M-s c' to
13484 `isearch-toggle-case-fold'.
13485 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13486 (isearch-forward): Add `M-s _' to the docstring.
13487 (isearch-forward-symbol, isearch-toggle-case-fold)
13488 (isearch-symbol-regexp): New functions. (Bug#11381)
13490 2012-05-29 Juri Linkov <juri@jurta.org>
13492 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13493 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13494 a function, call it to get the regexp.
13495 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13496 property `isearch-message-prefix' instead of the string "word ".
13497 (isearch-search-fun-default): For the case of `isearch-word',
13498 return a lambda that calls re-search-forward/re-search-backward
13499 with a regexp returned by `word-search-regexp' or by the function
13502 2012-05-29 Juri Linkov <juri@jurta.org>
13504 * isearch.el (isearch-search-fun-default): New function.
13505 (isearch-search-fun): Move default part to the new function
13506 `isearch-search-fun-default'.
13507 (isearch-search-fun-function): Set the default value to
13508 `isearch-search-fun-default'. (Bug#11381)
13510 * comint.el (comint-history-isearch-end):
13511 Use `isearch-search-fun-default'.
13512 (comint-history-isearch-search): Use `isearch-search-fun-default'
13513 and remove spacial case for `isearch-word'.
13514 (comint-history-isearch-wrap): Remove spacial case for
13517 * hexl.el (hexl-isearch-search-function):
13518 Use `isearch-search-fun-default'.
13520 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13521 Use `word-search-regexp' for `isearch-word'.
13523 * misearch.el (multi-isearch-search-fun):
13524 Use `isearch-search-fun-default'.
13526 * simple.el (minibuffer-history-isearch-search):
13527 Use `isearch-search-fun-default' and remove spacial case for
13529 (minibuffer-history-isearch-wrap): Remove spacial case for
13532 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13533 Remove spacial case for `isearch-word'.
13534 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13536 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13538 Decrease XEmacs incompatibilities.
13539 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13540 Use `string-match'.
13541 (flyspell-delete-region-overlays): Use alternative definition for
13543 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13544 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13545 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13546 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13547 `define-obsolete-face-alias' under XEmacs, but old method.
13549 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13550 `with-no-warnings' definition or Emacs alias.
13551 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13552 (ispell-word): Do not use `region-p' if XEmacs.
13554 2012-05-28 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13556 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13557 Check for `ispell-dictionary-base-alist' instead of full
13558 `ispell-dictionary-alist'.
13559 (ispell-init-process): Show spellchecker when starting new Ispell
13562 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13564 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13565 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13567 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13569 * version.el (motif-version-string, gtk-version-string)
13570 (ns-version-string): Declare.
13572 2012-05-27 Juri Linkov <juri@jurta.org>
13574 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13575 after the `eval-defun-1' specialcaseing
13576 like in `edebug-eval-defun' (bug#10181).
13578 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13579 like in `eval-defun-1'.
13581 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13583 * mail/sendmail.el (mail-yank-region):
13584 Recognize rmail-yank-current-message in addition to insert-buffer.
13585 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13586 a *mail* buffer created through rmail-start-mail with sendmail as
13589 2012-05-27 Chong Yidong <cyd@gnu.org>
13591 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13592 Default to 256 (Bug#11267).
13594 * help.el (describe-mode): Doc fix.
13596 2012-05-26 Glenn Morris <rgm@gnu.org>
13598 * w32-fns.el (w32-init-info): Remove.
13599 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13601 * info.el (info-initialize): For self-contained NS builds, put the
13602 included info/ directory at the front. (Bug#2791)
13604 * paths.el (Info-default-directory-list): Make it a defcustom,
13605 mainly so that we can use custom-initialize-delay.
13607 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13609 * subr.el (buffer-has-markers-at): Mark obsolete.
13611 * subr.el (lambda): Use declare.
13613 * emacs-lisp/lisp-mode.el (lambda):
13614 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13616 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13618 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13620 2012-05-26 Glenn Morris <rgm@gnu.org>
13622 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13624 2012-05-25 Glenn Morris <rgm@gnu.org>
13626 * paths.el: Remove no-byte-compile.
13627 * loadup.el: No need to load paths.el uncompiled.
13629 * image.el (imagemagick-types-inhibit): Doc fix.
13631 * version.el: Remove no-byte-compile and associated formatting.
13632 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13633 is ancient code from when there was an "inc-vers.el".
13635 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13637 * progmodes/gdb-mi.el: Minor style changes.
13638 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13639 Turn into minor modes.
13640 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13641 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13642 (gdb-shell): Remove unneeded let-binding.
13643 (gdb-get-many-fields): Eliminate O(n²) behavior.
13645 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13647 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13648 platforms that don't link in fontset.c.
13650 2012-05-25 Juri Linkov <juri@jurta.org>
13652 Use the same diff color scheme as in modern VCSes (bug#10181).
13654 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13655 to avoid confusion with `diff-added' that now uses green colors.
13656 (diff-removed): Use shades of red.
13657 (diff-added): Use shades of green.
13658 (diff-changed): Leave just the yellow color.
13659 (diff-use-changed-face): New variable.
13660 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13661 how to highlight context diff changes.
13662 (diff-refine-change): Use shades of yellow.
13663 (diff-refine-removed): New face that uses shades of red.
13664 (diff-refine-added): New face that uses shades of green.
13665 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13666 `diff-refine-removed' in the call to `smerge-refine-subst'
13667 depending on the value of `diff-use-changed-face'.
13669 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13670 (smerge-other): Use shades of green.
13671 (smerge-base): Use shades of yellow.
13672 (smerge-refined-change): Empty face.
13673 (smerge-refined-removed): New face that uses shades of red.
13674 (smerge-refined-added): New face that uses shades of green.
13675 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13676 args `props-r' and `props-a', and use them. Doc fix.
13677 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13678 on its value use different faces `smerge-refined-change',
13679 `smerge-refined-removed', `smerge-refined-added' in the call to
13680 `smerge-refine-subst'.
13682 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13683 Add face condition `min-colors 88' with shades of red.
13684 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13685 `min-colors 88' with shades of green.
13686 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13687 `min-colors 88' with shades of yellow.
13689 2012-05-24 Glenn Morris <rgm@gnu.org>
13691 * paths.el (prune-directory-list, remote-shell-program): Move to...
13692 * files.el (prune-directory-list, remote-shell-program): ...here.
13693 For the latter, delay initialization, prefer ssh, just search PATH.
13695 * paths.el (term-file-prefix): Move to faces.el (the only user).
13696 * faces.el (term-file-prefix): Move here, make it a defcustom.
13698 * paths.el (news-directory, news-path, news-inews-program):
13699 Move to gnus/nnspool.el.
13701 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13703 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13704 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13705 Make the latter a defcustom, with a delayed initialization.
13707 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13708 These were deleted from Gnus itself late 2010.
13710 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13712 * progmodes/which-func.el (which-func-ff-hook):
13713 Check against user-error, not error.
13715 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13716 cl-specs.el, which no longer exists.
13718 2012-05-22 Glenn Morris <rgm@gnu.org>
13720 * info.el (info-emacs-bug): New command.
13721 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13722 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13724 2012-05-21 Glenn Morris <rgm@gnu.org>
13726 * makefile.w32-in (update-subdirs-SH):
13727 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13729 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13731 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13733 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13734 Simplify Maven regexp, and make sure the file can't start with a space
13737 2012-05-21 Glenn Morris <rgm@gnu.org>
13739 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13740 Scrap superfluous subshells.
13742 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13744 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13745 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13747 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13749 * calc/calc.el (calc-ensure-consistent-units): New variable.
13751 * calc/calc-units.el (math-consistent-units-p)
13752 (math-check-unit-consistency): New functions.
13753 (calc-quick-units, calc-convert-units):
13754 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13756 (calc-extract-units): Fix typo.
13758 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13760 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13762 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13763 (flyspell-default-deplacement-commands): Don't spell check after
13764 repeated window/frame switches (e.g. triggered by mouse-movement).
13765 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13766 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13767 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13768 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13769 Remove unused vars.
13770 (flyspell-get-casechars, flyspell-get-not-casechars):
13771 Simplify; Don't bother removing a ] just to add it back.
13772 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13774 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13776 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13778 (math-function-table): Add support for more C functions.
13780 2012-05-18 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13782 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13783 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13784 Protect delay handling for otherchars against empty otherchars.
13786 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13788 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13789 their respective macro declarations.
13790 * skeleton.el (define-skeleton):
13791 * progmodes/compile.el (define-compilation-mode):
13792 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13793 (define-ibuffer-filter):
13794 * emacs-lisp/generic.el (define-generic-mode):
13795 * emacs-lisp/easy-mmode.el (define-minor-mode)
13796 (define-globalized-minor-mode):
13797 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13798 * emacs-lisp/byte-run.el (defsubst):
13799 * custom.el (deftheme): Add doc-string metadata.
13801 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13803 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13805 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13807 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13809 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13810 * emacs-lisp/cl-macs.el: Idem.
13811 * emacs-lisp/cl-specs.el: Remove.
13813 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13815 Minor renaming of internal CL functions and variables.
13816 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13817 (cl--position): Rename from cl-position.
13818 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13819 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13820 (cl--random-state): Rename from *random-state*.
13822 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13824 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13825 parens around the arg list (bug#11499).
13827 2012-05-17 Juri Linkov <juri@jurta.org>
13829 * isearch.el (word-search-regexp, word-search-backward)
13830 (word-search-forward, word-search-backward-lax)
13831 (word-search-forward-lax): Move functions from search.c
13832 (bug#10145, bug#11381).
13834 2012-05-16 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
13836 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13837 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13838 Delay for otherchars as for normal word components.
13840 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13842 * minibuffer.el (completion--sifn-requote): Fix last change.
13843 (minibuffer-local-must-match-filename-map):
13844 Move define-obsolete-variable-alias before its var.
13846 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13848 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13850 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13852 (completion--string-equal-p): New function.
13853 (completion--twq-all): Use it to get better assertion failure data.
13855 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13856 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13857 (shell--requote-argument): New functions.
13858 (shell-completion-vars): Use them.
13859 (shell--parse-pcomplete-arguments): Rename from
13860 shell-parse-pcomplete-arguments.
13861 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13862 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13863 Obey comint-file-name-quote-list.
13865 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13866 (smie-indent-keyword): Use it.
13868 2012-05-14 Stefan Merten <smerten@oekonux.de>
13870 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13872 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13874 * net/rlogin.el (rlogin-mode-map): Fix last change.
13876 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13878 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13879 the following \r\n using a single `process-send-string', since the
13880 Lotus SMTP server refuses to accept any commands if they are sent
13881 with two `process-send-string's (Bug#11444).
13883 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13885 * shell.el (shell-parse-pcomplete-arguments):
13886 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13888 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13890 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13891 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13892 (image-transform-width, image-transform-fit-width): New functions.
13893 (image-transform-properties): Use them.
13894 (image-transform-check-size): New function.
13895 (image-toggle-display-image): Use it (for testing).
13896 (image-transform-set-rotation): Reduce angle mod 360.
13897 Delete obsolete comment.
13899 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13901 * image-mode.el: Fix scaling (bug#11399).
13902 (image-transform-resize): Doc fix.
13903 (image-transform-properties): Default scale is 1 and height should
13906 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13908 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13909 than hard-coding `car', to fix misbehavior when moving forward.
13911 2012-05-13 Chong Yidong <cyd@gnu.org>
13913 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13914 (tabulated-list-entries, tabulated-list-padding)
13915 (tabulated-list-sort-key): Make permanent-local.
13917 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13918 (electric-buffer-list): Put electric buffer menu
13919 command descriptions in this docstring, instead of the docstring
13920 of electric-buffer-menu-mode. Code cleanups.
13921 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13922 Electric-buffer-menu-mode.
13923 (electric-buffer-update-highlight): Minor code cleanup.
13925 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13927 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13930 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13932 Move define-obsolete-variable-alias before the var's definition.
13933 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13934 * tooltip.el (tooltip-hook):
13935 * textmodes/reftex-toc.el (reftex-toc-map):
13936 * textmodes/reftex-sel.el (reftex-select-label-map)
13937 (reftex-select-bib-map):
13938 * textmodes/reftex-index.el (reftex-index-map)
13939 (reftex-index-phrases-map):
13940 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13941 * progmodes/meta-mode.el (meta-mode-map):
13942 * novice.el (disabled-command-hook):
13943 * loadhist.el (unload-hook-features-list):
13944 * frame.el (blink-cursor):
13945 * files.el (find-file-not-found-hooks, write-file-hooks)
13946 (write-contents-hooks):
13947 * emulation/tpu-edt.el (GOLD-map):
13948 * emacs-lock.el (emacs-lock-from-exiting):
13949 * emacs-lisp/generic.el (generic-font-lock-defaults):
13950 * emacs-lisp/chart.el (chart-map):
13951 * dos-fns.el (register-name-alist):
13952 * dired-x.el (dired-omit-files-p):
13953 * desktop.el (desktop-enable):
13954 * cus-edit.el (custom-mode-hook):
13955 * buff-menu.el (buffer-menu-mode-hook):
13956 * bookmark.el (bookmark-read-annotation-text-func)
13957 (bookmark-exit-hooks):
13958 * allout.el (allout-mode-deactivate-hook)
13959 (allout-exposure-change-hook, allout-structure-added-hook)
13960 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13961 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13962 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13963 comes before the corresponding variable's definition.
13965 2012-05-12 Chong Yidong <cyd@gnu.org>
13967 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13968 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13969 (Buffer-menu-mode-map): Bind it.
13970 (Buffer-menu--pretty-name): Add a mouse-face property.
13972 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13974 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13975 (prolog-upper-case-string, prolog-lower-case-string)
13976 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13977 (prolog-use-smie, prolog-smie-grammar): New vars.
13978 (prolog-smie-forward-token, prolog-smie-backward-token)
13979 (prolog-smie-rules): New funs.
13980 (prolog-comment-indent): Remove.
13981 (prolog-mode-variables): Use default comment indentation instead.
13983 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13984 (prolog-mode): Don't call them any more.
13985 (prolog-electric-colon, prolog-electric-dash)
13986 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13988 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13990 * minibuffer.el (completion--twq-all): Again, allow case differences.
13992 * term.el: Move keymap initialization code to be more idiomatic.
13993 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13994 (term-terminal-menu): Move initialization into declaration.
13995 (term-escape-char): Let the user set it in her .emacs.
13997 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13998 Provide SMIE-based indentation (not enabled by default yet).
13999 (sh-mode-map): Don't bind electric keys.
14000 Use electric-pair-mode instead of skeleton-pair.
14001 (sh-assignment-regexp): Fit within 80 columns.
14002 (sh-indent-supported): Specify actual shell name instead of boolean.
14003 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14004 (sh-maybe-here-document): Use it. Make obsolete.
14005 (sh-electric-here-document-mode) New minor mode.
14006 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14007 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14008 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14009 (sh-smie-rc-grammar, sh-use-smie): New vars.
14010 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14011 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14012 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14013 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14014 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14015 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14016 (sh-set-shell): Use smie-setup if requested.
14018 * term.el (term-set-escape-char): Properly set term-escape-char.
14019 See http://stackoverflow.com/questions/10524656.
14021 2012-05-10 Chong Yidong <cyd@gnu.org>
14023 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14024 Use url-generic-parse-url, and handle host names and Windows
14025 filenames properly.
14026 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14027 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14028 URL schemes to work on.
14029 (ffap--toggle-read-only): New function.
14030 (ffap-read-only, ffap-read-only-other-window)
14031 (ffap-read-only-other-frame): Use it.
14032 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14033 necessary for ffap-url-unwrap-remote.
14035 2012-05-10 Dave Abrahams <dave@boostpro.com>
14037 * cus-start.el (create-lockfiles): Add it.
14039 2012-05-09 Chong Yidong <cyd@gnu.org>
14041 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14042 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14044 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14046 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14048 2012-05-09 Chong Yidong <cyd@gnu.org>
14050 * ansi-color.el (ansi-color-process-output): Check for validity of
14051 comint-last-output-start before using it. This avoids a bad
14052 interaction with gdb-mi's input/output buffer.
14054 2012-05-09 Glenn Morris <rgm@gnu.org>
14056 * files.el (dir-locals-read-from-file):
14057 Mention dir-locals in any error message.
14059 2012-05-09 Chong Yidong <cyd@gnu.org>
14061 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14062 package (Bug#11410).
14064 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14065 variables into description.
14067 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14069 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14070 shell-delimiter-argument-list (bug#11348).
14071 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14073 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14075 * textmodes/rst.el: Silence byte-compiler warnings.
14076 (rst-re-alist, rst-reset-section-caches): Move around.
14077 (rst-re): Use `characterp', not `char-valid-p'.
14078 (font-lock-beg, font-lock-end): Declare.
14080 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14081 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14083 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14085 2012-05-08 Glenn Morris <rgm@gnu.org>
14087 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14089 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14091 * vc/log-edit.el: Add GNU coding standards highlighting.
14092 (log-edit-font-lock-gnu-style)
14093 (log-edit-font-lock-gnu-keywords): New vars.
14094 (log-edit-font-lock-keywords): New fun.
14095 (log-edit-mode): Don't fold case in font-lock.
14096 (log-edit-font-lock-keywords): Do not assume case-folding.
14098 * imenu.el: Misc cleanup. Make docstrings out of comments.
14099 Use lexical-binding.
14100 (imenu--index-alist, imenu--last-menubar-index-alist)
14101 (imenu-menubar-modified-tick): Use defvar-local.
14102 (imenu--split-menu): Remove unused var.
14103 (imenu--cleanup-seen): Declare as global.
14104 (imenu--cleanup): Use dolist.
14106 * subr.el (defvar-local): Add debug spec and doc-string position.
14108 2012-05-08 Glenn Morris <rgm@gnu.org>
14110 * language/burmese.el, language/cham.el, language/czech.el:
14111 * language/english.el, language/georgian.el, language/greek.el:
14112 * language/japanese.el, language/khmer.el, language/korean.el:
14113 * language/lao.el, language/misc-lang.el, language/romanian.el:
14114 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14115 * language/thai.el, language/utf-8-lang.el:
14116 Remove no-byte-compile setting.
14118 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14120 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14122 * progmodes/make-mode.el (makefile-browse):
14123 Remove unnecessary interactive. (Bug#11324)
14125 2012-05-07 Glenn Morris <rgm@gnu.org>
14127 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14129 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14131 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14133 * loadup.el: Preload newcomment.el.
14134 * newcomment.el: Move autoload-only code to toplevel.
14136 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14137 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14138 Handle new :right-align column property.
14139 (tabulated-list-print-col): Idem, plus use `display' text-property to
14140 try and preserve alignment for variable pitch fonts.
14142 2012-05-07 Chong Yidong <cyd@gnu.org>
14144 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14145 (tabulated-list-use-header-line): New var.
14146 (tabulated-list-init-header): Use it.
14147 (tabulated-list-print-fake-header): New function.
14148 (tabulated-list-print): Use it.
14149 (tabulated-list-sort-button-map): Add non-header-line commands.
14150 (tabulated-list-init-header): Add column name property to basic
14152 (tabulated-list-col-sort): Handle non-header-line button case.
14153 (tabulated-list--sort-by-column-name): Fix a corner case.
14155 * buff-menu.el (list-buffers--refresh):
14156 Handle Buffer-menu-use-header-line.
14158 2012-05-06 Chong Yidong <cyd@gnu.org>
14160 * buff-menu.el: Convert to Tabulated List mode.
14161 (Buffer-menu-buffer+size-width): Make obsolete.
14162 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14163 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14164 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14165 documentation into docstring of buffer-menu.
14166 (Buffer-menu-toggle-files-only): Add an informative message.
14167 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14168 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14169 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14170 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14171 (Buffer-menu-execute, Buffer-menu-select)
14172 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14173 (Buffer-menu-bury): Use Tabulated List machinery.
14174 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14175 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14177 (list-buffers--refresh): New function.
14178 (list-buffers-noselect): Use it.
14179 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14180 (Buffer-menu--pretty-file-name): New helper functions.
14182 * loadup.el: Preload tabulated-list.
14184 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14185 tabulated-list-sort-column.
14186 (tabulated-list-init-header): Add the initial aligning space even
14187 if tabulated-list-padding is zero.
14189 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14191 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14192 whose cdr is not a cons cell correctly (bug#11038).
14194 2012-05-06 Chong Yidong <cyd@gnu.org>
14196 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14197 Accept additional plist in column descriptors.
14198 (tabulated-list-init-header): Obey it.
14199 (tabulated-list-get-entry): New function.
14200 (tabulated-list-put-tag): Use it. Use string-width instead of
14202 (tabulated-list--column-number): New function.
14203 (tabulated-list-print): Use it.
14204 (tabulated-list-print-col): New function.
14205 Set `tabulated-list-column-name' property on each column's text.
14206 (tabulated-list-print-entry): Use it.
14207 (tabulated-list-delete-entry, tabulated-list-set-col):
14209 (tabulated-list-sort-column): New command (Bug#11337).
14211 * buff-menu.el (list-buffers): Move C-x C-b binding from
14212 buff-menu.el to bindings.el.
14214 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14215 :advertised-binding feature.
14217 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14219 * progmodes/compile.el (compilation-internal-error-properties):
14220 Calculate start position correctly when end-col is set but
14221 end-line is not (Bug#11382).
14223 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14225 * man.el (Man-unindent): Use text-property-default-nonsticky to
14226 prevent untabify from inheriting face properties (Bug#11408).
14228 2012-05-05 Stefan Merten <smerten@oekonux.de>
14230 * textmodes/rst.el: Major merge with upstream development up to
14231 Docutils SVN r7399 / rst.el V1.2.1.
14233 Clarify maintainership and authors.
14235 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14236 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14237 (rst-official-version, rst-official-cvs-rev, rst-version)
14238 (rst-package-emacs-version-alist): New functions and variables
14239 for version information.
14241 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14242 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14243 (rst-mode-syntax-table, rst-mode): New and corrected functions
14244 and variables representing reStructuredText features.
14246 (rst-re): New function for reStructuredText regexes. Use in
14249 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14250 (rst-mode-map): Rebind keys.
14252 (rst-mode-lazy, rst-font-lock-keywords)
14253 (rst-font-lock-extend-region)
14254 (rst-font-lock-extend-region-internal)
14255 (rst-font-lock-extend-region-extend)
14256 (rst-font-lock-find-unindented-line-limit)
14257 (rst-font-lock-find-unindented-line-match)
14258 (rst-adornment-level, rst-font-lock-adornment-level)
14259 (rst-font-lock-adornment-match)
14260 (rst-font-lock-handle-adornment-pre-match-form)
14261 (rst-font-lock-handle-adornment-matcher): Major revision of
14262 font-locking. Integrate with other code. Use `jit-lock-mode'.
14264 (rst-preferred-adornments, rst-adjust-hook)
14265 (rst-new-adornment-down, rst-preferred-bullets)
14266 (rst-preferred-bullets, rst-indent, rst-indent-width)
14267 (rst-indent-field, rst-indent-literal-normal)
14268 (rst-indent-literal-minimized, rst-indent-comment): Change,
14269 extend and improve customization.
14271 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14272 (rst-normalize-cursor-position, rst-get-decoration)
14273 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14274 (rst-rstrip, rst-toc-insert-find-delete-contents)
14275 (rst-shift-fill-region, rst-compute-bullet-tabs)
14276 (rst-debug-print-tabs, rst-debug-mark-found)
14277 (rst-shift-region-guts, rst-shift-region-right)
14278 (rst-shift-region-left, rst-use-char-classes)
14279 (rst-font-lock-keywords-function)
14280 (rst-font-lock-indentation-point)
14281 (rst-font-lock-find-unindented-line-begin)
14282 (rst-font-lock-find-unindented-line-end)
14283 (rst-font-lock-find-unindented-line)
14284 (rst-font-lock-adornment-point, rst-font-lock-level)
14285 (rst-adornment-level-alist): Remove functions and variables.
14287 (rst-compare-adornments, rst-get-adornment-match)
14288 (rst-suggest-new-adornment, rst-get-adornments-around)
14289 (rst-adornment-complete-p, rst-get-next-adornment)
14290 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14291 (rst-straighten-adornments): Standardize function names to
14292 use "adornment" instead of "decoration". Correct callers.
14293 Similar standardizing in many places.
14295 (rst-update-section, rst-adjust, rst-promote-region)
14296 (rst-enumerate-region, rst-bullet-list-region)
14297 (rst-repeat-last-character): Correct use of `interactive'.
14299 (rst-classify-adornment, rst-find-all-adornments)
14300 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14301 (rst-find-leftmost-column, rst-repeat-last-character):
14302 Refactor functions.
14304 (rst-find-title-line, rst-reset-section-caches)
14305 (rst-get-adornments-around, rst-adjust-adornment-work)
14306 (rst-arabic-to-roman, rst-roman-to-arabic)
14307 (rst-insert-list-pos, rst-insert-list-new-item)
14308 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14311 (rst-all-sections, rst-section-hierarchy)
14312 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14315 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14316 configuration instead of only buffer. Change where necessary.
14318 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14319 (rst-shift-region, rst-adaptive-fill): New functions for
14320 indentation and filling.
14322 (rst-comment-line-break, rst-comment-indent)
14323 (rst-comment-insert-comment, rst-comment-region)
14324 (rst-uncomment-region): New functions for handling comments.
14326 (rst-compile): Quote shell arguments.
14328 (rst-compile-pdf-preview, rst-compile-slides-preview):
14329 Delete temporary files after use.
14331 2012-05-05 Glenn Morris <rgm@gnu.org>
14333 * calendar/cal-html.el: Optionally include holidays in the output.
14334 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14335 (cal-html-holidays): New option.
14336 (cal-html-css-default): Add holiday entry.
14337 (holiday-in-range): Autoload it.
14338 (cal-html-htmlify-entry): Add optional class argument.
14339 (cal-html-htmlify-list): Add optional holidays argument.
14340 (cal-html-insert-agenda-days): Include holidays in the output.
14341 (cal-html-one-month): Maybe include holidays.
14343 * calendar/holidays.el (holiday-in-range):
14344 Move here from cal-tex-list-holidays.
14345 * calendar/cal-tex.el (cal-tex-list-holidays):
14346 Make it an obsolete alias for holiday-in-range. Update all callers.
14348 2012-05-05 Chong Yidong <cyd@gnu.org>
14350 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14353 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14355 * files.el (file-auto-mode-skip): New var.
14356 (set-auto-mode-1): Use it.
14358 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14360 * repeat.el: Use lexical-binding.
14361 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14362 (repeat-undo-count): Remove.
14364 * progmodes/octave-mod.el (octave-abbrev-start):
14365 * progmodes/f90.el (f90-abbrev-start):
14366 * face-remap.el (text-scale-adjust):
14367 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14369 * emacs-lisp/pcase.el (pcase--let*): New function.
14370 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14372 (pcase--split-pred): Be more clever about ruling out overlap between
14373 a predicate and some constant pattern.
14374 (pcase--q1): Use `null' instead of (eq foo nil).
14376 * subr.el (setq-local, defvar-local): New macros.
14377 (kbd): Redefine as an alias.
14378 (with-selected-window): Leave unrelated frames alone.
14379 (set-temporary-overlay-map): New function.
14381 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14383 * subr.el (user-error): New function.
14384 * window.el (switch-to-buffer):
14385 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14386 (smerge-match-conflict):
14387 * simple.el (previous-matching-history-element)
14388 (next-matching-history-element, goto-history-element, undo-more)
14390 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14391 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14392 (next-file, tags-loop-scan, list-tags, complete-tag):
14393 * progmodes/compile.el (compilation-loop):
14394 * mouse.el (mouse-minibuffer-check):
14395 * man.el (Man-bgproc-sentinel, Man-goto-page):
14396 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14397 (Info-history-forward, Info-follow-reference, Info-menu)
14398 (Info-extract-menu-item, Info-extract-menu-counting)
14399 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14400 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14401 (Info-next-reference, Info-prev-reference, Info-index)
14402 (Info-index-next, Info-follow-nearest-node)
14403 (Info-copy-current-node-name):
14404 * imenu.el (imenu--make-index-alist)
14405 (imenu-default-create-index-function, imenu-add-to-menubar):
14406 * files.el (basic-save-buffer, recover-file):
14407 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14408 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14409 (checkdoc-message-text, checkdoc-defun):
14410 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14411 * cus-edit.el (customize-changed-options, customize-rogue)
14412 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14413 (custom-variable-mark-to-reset-standard)
14414 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14416 * completion.el (check-completion-length):
14417 * comint.el (comint-search-arg)
14418 (comint-previous-matching-input-string-position)
14419 (comint-previous-matching-input)
14420 (comint-replace-by-expanded-history-before-point, comint-send-input)
14421 (comint-copy-old-input, comint-backward-matching-input)
14422 (comint-goto-process-mark, comint-set-process-mark):
14423 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14424 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14426 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14428 * dabbrev.el (dabbrev--ignore-case-p): New function.
14429 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14432 * files.el (automount-dir-prefix): Mark as obsolete.
14434 2012-05-04 Glenn Morris <rgm@gnu.org>
14436 * patcomp.el, play/bruce.el: Move to obsolete/.
14438 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14440 Fix minor Y10k bugs.
14441 * arc-mode.el (archive-unixdate):
14442 * autoinsert.el (auto-insert-alist):
14443 * calc/calc-forms.el (math-this-year):
14444 * emacs-lisp/copyright.el (copyright-current-year)
14445 (copyright-update-year, copyright):
14446 * tar-mode.el (tar-clip-time-string):
14447 * time.el (display-time-update):
14448 Don't assume years have 4 digits.
14450 2012-05-04 Chong Yidong <cyd@gnu.org>
14452 * dos-w32.el (file-name-buffer-file-type-alist)
14453 (direct-print-region-use-command-dot-com):
14454 * ffap.el (ffap-menu-regexp):
14455 * find-file.el (ff-special-constructs):
14456 * follow.el (follow-debug):
14457 * forms.el (forms--debug):
14458 * iswitchb.el (iswitchb-all-frames):
14459 * ido.el (ido-all-frames):
14460 * emacs-lisp/timer.el (timer-max-repeats):
14461 * mail/feedmail.el (feedmail-mail-send-hook)
14462 (feedmail-mail-send-hook-queued):
14463 * mail/footnote.el (footnote-signature-separator):
14464 * mail/mailabbrev.el (mail-alias-separator-string)
14465 (mail-abbrev-mode-regexp):
14466 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14467 * progmodes/idlwave.el (idlwave-libinfo-file)
14468 (idlwave-default-completion-case-is-down)
14469 (idlwave-library-routines): Convert defvars to defcustoms.
14471 * mail/rmail.el (rmail-decode-mime-charset):
14472 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14473 (idlwave-shell-fix-inserted-breaks)
14474 (idlwave-shell-activate-alt-keybindings)
14475 (idlwave-shell-use-breakpoint-glyph):
14476 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14478 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14480 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14482 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14484 * progmodes/verilog-mode.el (font-lock-keywords):
14485 Fix mis-highligting auto. Reported by Craig Barner.
14486 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14487 defines from global name space. Reported by Dan Dever.
14488 (verilog-auto-reset, verilog-auto-reset-widths)
14489 (verilog-auto-tieoff): Support using unbased numbers for
14490 AUTORESET and AUTOTIEOFF.
14491 (verilog-submit-bug-report): Update variable list.
14492 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14493 parenthesis from not matching. Reported by Michael Rytting.
14494 (verilog-auto-template-lint): Fix hash error when linting modules
14495 with no used templates.
14496 (verilog-warn, verilog-warn-error)
14497 (verilog-warn-fatal): When non-interactive report multiple
14498 warnings before exiting. Suggested by Brad Dobbie.
14499 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14500 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14501 to report unused template errors. Reported by Brad Dobbie.
14502 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14503 nets, bug438. Reported by Vns Blore.
14504 (verilog-auto-inout-module, verilog-auto-reg)
14505 (verilog-read-decls, verilog-read-sub-decls-sig)
14506 (verilog-signals-edit-wire-reg, verilog-signals-with):
14507 Fix passing of Verilog data types in ANSI input/output ports
14508 such as "output logic" into the AUTOs. Special case "wire" and
14509 "reg" for backwards compatibility presuming Verilog 2001.
14510 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14511 (verilog-preprocess): Fix replication of preprocess output.
14512 Reported by Brad Dobbie.
14513 (verilog-auto-inst-interfaced-ports):
14514 Create verilog-auto-inst-interfaced-ports, bug429.
14515 Reported by Julian Gorfajn.
14516 (verilog-after-save-font-hook)
14517 (verilog-before-save-font-hook): New variable.
14518 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14519 (verilog-save-font-mods): Wrap disabling fontification, reported
14521 (verilog-do-indent, verilog-pretty-declarations-auto)
14522 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14523 Reported by Pierre-David Pfister.
14524 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14525 of class declarations, bug292. Reported by Kevin Heilman.
14526 (verilog-read-decls): Fix 'parameter type' not appearing in
14527 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14528 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14529 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14530 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14531 Reported by David Kravitz.
14533 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14535 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14536 assignment with tests in ifs and for loops.
14537 (verilog-extended-complete-re, verilog-complete-reg): Change so
14538 that DPI inport functions don't look like fuction declarations.
14539 (verilog-pretty-expr): Don't line up assignment
14540 operations to the test and increment in if and for loops
14541 (verilog-extended-complete-re, verilog-complete-reg): Change so
14542 that DPI inport functions don't look like fuction declarations.
14544 2012-05-03 Kenichi Handa <handa@m17n.org>
14546 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14547 decoding, and show a warning message without signaling an error
14550 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14552 * emacs-lisp/bytecomp.el
14553 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14554 since cconv.el might have introduced :fun-body, internal-make-closure,
14555 and friends for bytecomp to handle (bug#11391).
14556 * custom.el (defcustom): Avoid ((λ ..) ..).
14558 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14560 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14562 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14564 * notifications.el (dbus-debug):
14565 * term/linux.el (gpm-mouse-enable):
14566 * term/screen.el (xterm-register-default-colors): Declare.
14568 2012-05-02 Chong Yidong <cyd@gnu.org>
14570 * cus-start.el (gc-cons-percentage, exec-suffixes)
14571 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14572 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14573 (make-cursor-line-fully-visible, void-text-area-pointer)
14574 (font-list-limit): Add customization data.
14576 * allout.el (allout-exposure-change-functions)
14577 (allout-structure-added-functions)
14578 (allout-structure-deleted-functions)
14579 (allout-structure-shifted-functions): Rename abnormal hooks from
14580 *-hook, and convert to defcustoms.
14581 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14582 Convert to defcustoms.
14583 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14585 * allout-widgets.el: Hook callers changed.
14587 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14589 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14590 the yanked message in preference to the default value of
14591 buffer-file-coding-system.
14593 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14595 * window.el (display-buffer--action-function-custom-type):
14598 2012-05-02 Alan Mackenzie <acm@muc.de>
14600 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14602 2012-05-01 Glenn Morris <rgm@gnu.org>
14604 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14606 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14608 * cus-edit.el (custom-variable-documentation): Simplify with format.
14610 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14611 Stefan Monnier <monnier@iro.umontreal.ca>
14613 * simple.el (suggest-key-bindings, execute-extended-command):
14614 Move from keyboard.c.
14616 2012-05-01 Chong Yidong <cyd@gnu.org>
14618 * follow.el: Eliminate advice.
14619 (set-process-filter, process-filter, sit-for): Advice deleted.
14620 (follow-mode-off-hook): Obsolete hook removed.
14621 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14623 (follow-auto): Use a :set function.
14624 (follow-mode): Rewritten. Don't advise process filters.
14625 (follow-switch-to-current-buffer-all, follow-scroll-up)
14626 (follow-scroll-down): Assume follow-mode is bound.
14627 (follow-comint-scroll-to-bottom)
14628 (follow-align-compilation-windows): New functions.
14629 (follow--window-sorter): New function.
14630 (follow-all-followers): Use it to explicitly sort windows by their
14631 positions; don't make assumptions about next-window order.
14632 (follow-windows-start-end, follow-delete-other-windows-and-split)
14633 (follow-calc-win-start): Doc fix.
14634 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14635 vertical-motion unnecessarily.
14636 (follow-adjust-window): New function.
14637 (follow-post-command-hook): Use it.
14638 (follow-call-set-process-filter, follow-call-process-filter)
14639 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14640 (follow-stop-intercept-process-output, follow-generic-filter):
14642 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14643 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14644 New functions, replacing advice on scroll-bar-* commands.
14645 (follow-mwheel-scroll): New function (Bug#4112).
14647 * comint.el (comint-adjust-point): New function.
14648 (comint-postoutput-scroll-to-bottom): Use it.
14649 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14651 2012-05-01 Glenn Morris <rgm@gnu.org>
14653 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14654 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14655 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14656 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14657 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14658 Remove no-byte-compile setting.
14660 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14662 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14663 all-completions code to not return a number in the last cdr.
14665 2012-04-30 Leo Liu <sdl.web@gmail.com>
14667 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14670 2012-04-29 Chong Yidong <cyd@gnu.org>
14672 * follow.el (follow-calc-win-end): Rewrite to handle partial
14673 screen lines correctly (Bug#8390).
14674 (follow-avoid-tail-recenter): Minor cleanup.
14676 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14678 Avoid the obsolete `assoc' package.
14679 * speedbar.el (speedbar-refresh): Avoid adelete.
14680 (speedbar-file-lists): Simplify and avoid aput.
14681 * man.el (Man--sections, Man--refpages): New vars, replacing
14682 Man-sections-alist and Man-refpages-alist.
14683 (Man-build-section-alist, Man-build-references-alist):
14684 Use them; avoid aput.
14685 (Man--last-section, Man--last-refpage): New vars.
14686 (Man-follow-manual-reference): Use them.
14687 Use the `default' arg of completing-read.
14688 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14690 2012-04-27 Chong Yidong <cyd@gnu.org>
14692 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14694 * startup.el (x-apply-session-resources): New function.
14696 * term/ns-win.el (ns-initialize-window-system):
14697 * term/w32-win.el (w32-initialize-window-system):
14698 * term/x-win.el (x-initialize-window-system): Use it to properly
14699 set menu-bar-mode and other vars from X resources, even if the
14700 initial frame is not a window-system frame (Bug#2299).
14702 * subr.el (read-key): Avoid running filter function when setting
14703 up temporary tool bar entries (Bug#9922).
14705 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14707 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14710 2012-04-27 Chong Yidong <cyd@gnu.org>
14712 * select.el (xselect--encode-string): New function, split from
14713 xselect-convert-to-string.
14714 (xselect-convert-to-string): Use it.
14715 (xselect-convert-to-filename, xselect-convert-to-os)
14716 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14717 returned strings are properly encoded (Bug#11315).
14719 2012-04-27 Chong Yidong <cyd@gnu.org>
14721 * simple.el (delete-active-region): Move to killing custom group.
14723 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14725 * progmodes/which-func.el (which-func-current): Quote %
14726 characters for mode-line processing.
14728 2012-04-27 Chong Yidong <cyd@gnu.org>
14730 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14731 reaching eob (Bug#11286).
14733 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14735 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14736 (gdb): Make it buffer-local and init to zero.
14737 (gdb-control-commands-regexp): New variable.
14738 (gdb-send): Don't wrap in "-interpreter-exec console" if
14739 gdb-control-level is positive. Increment gdb-control-level
14740 whenever the command matches gdb-control-commands-regexp, and
14741 decrement it each time the command is "end". (Bug#11279)
14743 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14745 * window.el (adjust-window-trailing-edge, enlarge-window)
14746 (shrink-window, window-resize):
14747 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14748 windows (Bug#11276).
14750 2012-04-27 Chong Yidong <cyd@gnu.org>
14752 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14753 fix "missing prefix" warning. All callers changed.
14755 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14757 * emacs-lisp/assoc.el: Move to obsolete/.
14759 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14761 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14763 * term/ns-win.el (ns-define-service):
14764 * progmodes/pascal.el (pascal-goto-defun):
14765 * progmodes/js.el (js--read-tab):
14766 * progmodes/etags.el (tags-lazy-completion-table):
14767 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14768 * emacs-lisp/ewoc.el (ewoc--wrap):
14769 * emacs-lisp/assoc.el (aput, adelete, amake):
14770 * doc-view.el (doc-view-convert-current-doc):
14771 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14773 2012-04-26 Chong Yidong <cyd@gnu.org>
14775 * image.el (image-type-from-buffer): Only return supported image
14778 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14779 value, for symmetry with diff-end-of-hunk.
14780 (diff-split-hunk, diff-find-source-location)
14781 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14782 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14783 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14784 compute the relevant hunk or file properly (Bug#6005).
14785 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14787 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14796 * vc/vc.el: Replace lexical-let by lexical-binding.
14797 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14798 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14799 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14801 2012-04-26 Chong Yidong <cyd@gnu.org>
14803 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14804 (diff-mode-shared-map): Bind it to / and [remap undo].
14806 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14807 (ediff-window-setup-function): Use it as the default, to set up
14808 windows based on whether the current frame is graphical (Bug#2138).
14809 (ediff-choose-window-setup-function-automatically): Make obsolete.
14811 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14813 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14815 * ffap.el: Remove old code for obsolete package.
14816 (ffap-complete-as-file-p): Remove.
14818 Use completion-table-with-quoting for comint and pcomplete.
14819 * comint.el (comint--unquote&requote-argument)
14820 (comint--unquote-argument, comint--requote-argument): New functions.
14821 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14822 (comint-quote-filename): Use regexp-opt-charset.
14823 (comint--common-suffix, comint--common-quoted-suffix)
14824 (comint--table-subvert): Remove.
14825 (comint-unquote-function, comint-requote-function): New vars.
14826 (comint--complete-file-name-data): Use them with
14827 completion-table-with-quoting.
14828 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14829 * pcomplete.el (pcomplete-arg-quote-list)
14830 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14831 (pcomplete-unquote-argument-function): Default to non-nil.
14832 (pcomplete-unquote-argument): Simplify.
14833 (pcomplete--common-quoted-suffix): Remove.
14834 (pcomplete-requote-argument-function): New var.
14835 (pcomplete--common-suffix): New function.
14836 (pcomplete-completions-at-point): Use completion-table-with-quoting
14837 and completion-table-subvert.
14839 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14840 (minibuffer--double-dollars): Preserve properties.
14841 (completion--sifn-requote): New function.
14842 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14844 * minibuffer.el: Add support for completion of quoted/escaped data.
14845 (completion-table-with-quoting, completion-table-subvert): New funs.
14846 (completion--twq-try, completion--twq-all): New functions.
14847 (completion--nth-completion): New function.
14848 (completion-try-completion, completion-all-completions): Use it.
14850 2012-04-25 Leo Liu <sdl.web@gmail.com>
14852 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14853 Use compilation-message if available to find real filename.
14855 2012-04-25 Chong Yidong <cyd@gnu.org>
14857 * vc/diff-mode.el (diff-setup-whitespace): New function.
14858 (diff-mode): Use it.
14860 * vc/diff.el (diff-sentinel):
14861 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14862 Whitespace mode variables based on diff style (Bug#8612).
14864 2012-04-25 Leo Liu <sdl.web@gmail.com>
14866 * progmodes/python.el (python-send-region): Add suffix .py to the
14869 * files.el (auto-mode-alist): Use javascript-mode instead.
14871 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14873 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14875 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14876 (soap-resolve-references-for-array-type): Hack to prevent self
14877 references, see Bug#9.
14878 (soap-parse-envelope): Report the contents of the 'detail' node
14879 when receiving a fault reply.
14880 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14882 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14883 (soap-inspect-simple-type): New function.
14885 * net/soap-client.el (soap-simple-type): New struct.
14886 (soap-default-xsd-types, soap-default-soapenc-types)
14887 (soap-decode-basic-type, soap-encode-basic-type):
14888 support unsignedInt and double basic types.
14889 (soap-resolve-references-for-simple-type)
14890 (soap-parse-simple-type, soap-encode-simple-type): New function.
14891 (soap-parse-schema): Parse xsd:simpleType declarations.
14893 * net/soap-client.el (soap-default-xsd-types)
14894 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14895 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14896 the local name of "soapenc:Array".
14897 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14898 decoding integer, byte and anyURI xsd types.
14900 2012-04-25 Chong Yidong <cyd@gnu.org>
14902 * cus-edit.el (custom-buffer-create-internal): Update header text.
14904 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14906 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14907 settings on 'system-type', not on 'window-system'. On MS-Windows,
14908 set interactive-mode on in GDB.
14910 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14912 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14913 (ruby-syntax-propertize-regexp): Remove.
14914 (ruby-syntax-propertize-function): Split regexp into chunks.
14915 Match following code directly.
14917 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14919 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14920 (ruby-syntax-propertize-regexp): New function.
14921 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14922 by a special keyword.
14924 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14925 (ruby-syntax-general-delimiters-goto-beg)
14926 (ruby-syntax-propertize-general-delimiters): New functions.
14927 (ruby-syntax-propertize-function): Use them to handle GDL.
14928 (ruby-font-lock-keywords): Move old handling of GDL...
14929 (ruby-font-lock-syntactic-keywords): .. to here.
14930 (ruby-calculate-indent): Adjust indentation for GDL.
14932 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14934 * notifications.el (top): Remove unneeded declarations.
14935 (notifications-specification-version): Change to "1.2".
14936 (notifications-interface, notifications-notify-method)
14937 (notifications-close-notification-method): Fix docstring.
14938 (notifications-get-capabilities-method): New defconst.
14939 (notifications-notify): Add :action-items, :resident and
14940 :transient hints. Change "image_data" to "image-data" and
14941 "image_path" to "image-path".
14942 (notifications-get-capabilities): New defun.
14944 2012-04-24 Leo Liu <sdl.web@gmail.com>
14946 * progmodes/python.el: Move hideshow setup to the end.
14948 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14950 * window.el (handle-select-window): Clear echo area since this is
14951 no more done by read_char (Bug#11304).
14953 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14955 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14956 and `/ M' to filter-derived-mode.
14957 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14958 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14959 (ibuffer-mark-by-mode): Use default rather than initial-input.
14960 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14962 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14964 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14965 (ibuffer-filter-by-derived-mode): New filter.
14966 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14968 2012-04-23 Andreas Politz <politza@fh-trier.de>
14970 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14972 2012-04-23 Chong Yidong <cyd@gnu.org>
14974 * cus-edit.el (customize-apropos, customize-apropos-options):
14975 Disable matching of non-option variables (Bug#11176).
14976 (customize-option, customize-option-other-window)
14977 (customize-changed-options): Doc fix.
14978 (customize-apropos-options, customize-apropos-faces)
14979 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14981 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14982 Fix word list splitting (Bug#11132).
14983 (apropos-symbol, apropos-keybinding, apropos-label)
14984 (apropos-property, apropos-function-button)
14985 (apropos-variable-button, apropos-misc-button): New faces.
14986 (apropos-symbol-face, apropos-keybinding-face)
14987 (apropos-label-face, apropos-property-face, apropos-match-face):
14988 Variables removed (Bug#8396).
14989 (apropos-library-button, apropos-format-plist, apropos-print)
14990 (apropos-print-doc, apropos-describe-plist): Callers changed.
14992 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14994 * net/xesam.el (xesam-mode-map): Use let-bound map in
14995 initialization. (Bug#11292)
14997 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
14999 Preserve ispell session localwords when switching back to
15002 * textmodes/ispell.el (ispell-buffer-session-localwords):
15003 New buffer-local variable to hold buffer session localwords.
15004 (ispell-kill-ispell): Add option 'clear to delete session
15006 (ispell-command-loop, ispell-change-dictionary)
15007 (ispell-buffer-local-words): Preserve session localwords when
15010 * textmodes/flyspell.el (flyspell-process-localwords)
15011 (flyspell-do-correct): Preserve session localwords when needed.
15013 2012-04-23 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15015 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15016 using obsolete `translation-table-for-input'.
15017 (ispell-word, ispell-process-line, ispell-complete-word):
15018 Use plain `insert' instead of removed `ispell-insert-word'.
15020 2012-04-22 Chong Yidong <cyd@gnu.org>
15022 * cus-edit.el (custom-variable-menu)
15023 (custom-variable-reset-saved, custom-face-menu)
15024 (custom-face-reset-saved): If there is no saved value, make the
15025 "reset-saved" operation bring back the default (Bug#9509).
15026 (custom-face-state): Properly detect themed faces.
15028 * faces.el (face-spec-set): Stop supporting deprecated form of
15031 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15033 Move functions from C to Lisp. Make non-blocking method calls
15034 the default. Implement further D-Bus standard interfaces.
15036 * net/dbus.el (dbus-message-internal): Declare function.
15037 Remove unneeded function declarations.
15038 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15039 (dbus-message-type-method-return, dbus-message-type-error)
15040 (dbus-message-type-signal): Declare variables. Remove local
15042 (dbus-interface-dbus, dbus-interface-peer)
15043 (dbus-interface-introspectable, dbus-interface-properties)
15044 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15046 (dbus-interface-objectmanager): New defconst.
15047 (dbus-call-method, dbus-call-method-asynchronously)
15048 (dbus-send-signal, dbus-method-return-internal)
15049 (dbus-method-error-internal, dbus-register-service)
15050 (dbus-register-signal, dbus-register-method): New defuns, moved
15052 (dbus-call-method-handler, dbus-setenv)
15053 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15055 (dbus-call-method-non-blocking): Make it an obsolete function.
15056 (dbus-unregister-object, dbus-unregister-service)
15057 (dbus-handle-event, dbus-register-property)
15058 (dbus-property-handler): Obey the new structure of
15059 `bus-registered-objects'.
15060 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15061 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15062 Use `dbus-call-method'.
15064 2012-04-22 Chong Yidong <cyd@gnu.org>
15066 * cus-edit.el (custom-commands, custom-reset-menu)
15067 (Custom-reset-standard): Tweak labels.
15068 (custom-reset-button-menu): Change default to t.
15069 (custom-buffer-create-internal): For the custom-reset-button-menu
15070 case, put the revert button first.
15071 (custom-group-subtitle): New face.
15072 (custom-group-value-create): Align docstring to a specific column.
15074 * wid-edit.el (widget-documentation-link-add): Don't handle
15075 indentation in this function.
15076 (widget-documentation-string-indent-to): New function.
15077 (widget-documentation-string-value-create): Use it.
15079 * autorevert.el (auto-revert):
15080 * epg-config.el (epg):
15081 * ibuffer.el (ibuffer):
15084 * eshell/eshell.el (eshell):
15085 * net/ange-ftp.el (ange-ftp):
15086 * progmodes/ebnf2ps.el (postscript):
15087 * progmodes/flymake.el (flymake):
15088 * progmodes/prolog.el (prolog):
15089 * progmodes/verilog-mode.el (verilog-mode):
15090 * progmodes/which-func.el (which-func):
15091 * term/xterm.el (xterm):
15092 * textmodes/picture.el (picture):
15093 * textmodes/tildify.el (tildify):
15094 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15095 customization buffers.
15097 2012-04-22 Alan Mackenzie <acm@muc.de>
15099 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15100 Adding a ) can hide the resulting (..) from searches. Fix it.
15101 Bound the backward search to the position of the existing (.
15103 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15105 * progmodes/verilog-mode.el (verilog-mode): Check whether
15106 which-func-modes is t before adding verilog-mode.
15107 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15109 2012-04-21 Leo Liu <sdl.web@gmail.com>
15111 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15113 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15115 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15116 filling of the last column of a table (Bug#5635).
15117 (woman-find-next-control-line): New arg, specifying an additional
15118 regexp component for the control line.
15119 (woman2-roff-buffer): Use it.
15120 (woman-break-table): New function.
15121 (woman2-TS): Use it.
15123 2012-04-21 Chong Yidong <cyd@gnu.org>
15125 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15126 (woman-horizontal-escapes, woman-negative-vertical-space)
15127 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15128 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15130 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15132 * minibuffer.el (completion-file-name-table): Complete user names.
15134 2012-04-20 Leo Liu <sdl.web@gmail.com>
15136 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15139 2012-04-20 Chong Yidong <cyd@gnu.org>
15141 * server.el (server-execute): Respect initial-buffer-choice if it
15142 is a string and there are no files to open (Bug#2825).
15143 (server-create-window-system-frame, server-create-tty-frame):
15144 Don't switch buffers here.
15145 (server-process-filter): Only try to open a window system frame if
15146 compiled with graphical support (Bug#8314).
15148 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15150 * battery.el (battery-echo-area-format): Display remaining time
15151 for sysfs backend too (Bug#11269).
15152 (battery-linux-sysfs): Fix conditional for the charge.
15154 2012-04-20 Chong Yidong <cyd@gnu.org>
15156 * progmodes/gdb-mi.el (gdb): Revert previous change.
15157 (gdb-inferior-io--init-proc): New function.
15158 (gdb-init-1): Use it.
15159 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15160 responsible for allocating a new pty and hooking it to gdb when
15161 the old pty gets an EIO due to process exit.
15162 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15163 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15164 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15166 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15168 * window.el (window-min-size, window-sizable, window-min-delta)
15169 (window-max-delta, window--resizable, window-resizable)
15170 (window-total-size, window-full-height-p, window-full-width-p)
15171 (window-in-direction, window--resize-mini-window, window-resize)
15172 (window--resize-child-windows-normal)
15173 (window--resize-child-windows, window--resize-siblings)
15174 (window--resize-this-window, adjust-window-trailing-edge)
15175 (enlarge-window, shrink-window): Doc fixes.
15177 2012-04-20 Chong Yidong <cyd@gnu.org>
15179 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15180 New function to call delete-process on the gdb-inferior buffer's pty.
15181 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15182 pty process (Bug#11273).
15183 (gdb-update): New arg to suppress talking to the gdb process.
15184 (gdb-done-or-error): Use it.
15185 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15186 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15187 sentinel not being called.
15189 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15191 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15193 2012-04-20 Glenn Morris <rgm@gnu.org>
15195 * net/network-stream.el (open-network-stream): Doc fix.
15197 2012-04-20 Chong Yidong <cyd@gnu.org>
15199 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15201 2012-04-20 Alan Mackenzie <acm@muc.de>
15203 Ensure searching for keywords is case sensitive.
15205 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15206 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15207 (c-defun-name, c-mark-function, c-cpp-define-name)
15208 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15209 (c-context-line-break): Bind case-fold-search to nil.
15211 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15212 Bind case-fold-search to nil.
15214 2012-04-20 Chong Yidong <cyd@gnu.org>
15216 * mail/sendmail.el (mail-bury): Call return action with the right
15217 Rmail buffer (Bug#11242).
15219 * server.el (server-process-filter): Handle corner case where both
15220 tty and nowait options are present (Bug#11102).
15222 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15224 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15225 (top level): Put into the executable the ident-style '$Id:' tag on
15226 windows-nt as well.
15228 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15230 * electric.el (electric-indent-post-self-insert-function): Check that
15231 electric-indent-mode is enabled in current buffer.
15233 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15235 * imenu.el (imenu-progress-message): Restore; it is "used" in
15236 erc/erc-imenu.el and net/snmp-mode.el.
15238 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15240 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15241 (mouse-avoidance-nudge-mouse): Remove unused binding.
15243 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15245 * descr-text.el (describe-char):
15246 * progmodes/python.el (python-describe-symbol):
15247 Don't call `toggle-read-only', set `buffer-read-only'.
15249 * imenu.el (imenu-default-goto-function): Mark unused args.
15250 (imenu-progress-message): Remove obsolete macro; all callers changed.
15252 * subr.el (keymap-canonicalize): Remove unused binding.
15253 (read-passwd): Mark unused arg.
15255 * tutorial.el (tutorial--display-changes): Remove unused binding.
15256 (tutorial--save-tutorial-to): Remove unused variable.
15258 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15259 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15260 (package-generate-autoloads, package-menu--generate)
15261 (package-menu--find-upgrades): Remove unused bindings.
15263 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15264 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15265 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15266 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15267 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15268 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15269 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15270 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15271 (cua-delete-char-rectangle): Mark unused args.
15272 (cua-align-rectangle): Remove unused binding.
15274 * mail/rmail.el (compilation--message->loc)
15275 (epa--find-coding-system-for-mime-charset): Declare.
15277 * net/dbus.el (dbus-register-service): Declare.
15278 (dbus-name-owner-changed-handler): Remove unused binding.
15280 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15281 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15282 (nxml-scan-backward-within): Mark unused arg.
15283 (nxml-dynamic-markup-word): Remove unused binding.
15285 * mouse.el (mouse-menu-major-mode-map):
15286 * emacs-lisp/authors.el (authors-scan-change-log)
15287 (authors-add-to-author-list):
15288 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15289 * emacs-lisp/smie.el (smie-auto-fill):
15290 * mail/sendmail.el (mail-bury):
15291 * mail/unrmail.el (unrmail):
15292 * net/tls.el (open-tls-stream):
15293 * textmodes/picture.el (picture-mouse-set-point):
15294 Remove unused bindings.
15296 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15298 * net/tramp.el (tramp-action-password): Let-bind
15299 `enable-recursive-minibuffers' to t.
15301 2012-04-18 Sam Steingold <sds@gnu.org>
15303 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15304 instead of 'string to accommodate values like [f11].
15305 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15306 * progmodes/gdb-mi.el: Likewise.
15308 2012-04-18 Leo Liu <sdl.web@gmail.com>
15310 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15312 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15315 2012-04-18 Chong Yidong <cyd@gnu.org>
15317 * simple.el (line-move): Use forward-line if in batch mode
15320 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15322 * files.el (after-find-file): Do not try to add a final newline if
15323 the buffer is read-only (Bug#11156).
15325 2012-04-17 Richard Stallman <rms@gnu.org>
15327 * mail/rmail.el (rmail-start-mail):
15328 Pass (rmail-mail-return...) for the return-action.
15329 Pass (rmail-yank-current-message...) for the yank-action.
15330 (rmail-yank-current-message): New function.
15331 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15332 (rmail-reply): Likewise.
15333 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15335 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15336 buffer, not the last. Reject temp buffers. Use the rmail-mode
15337 buffer, not newbuf.
15339 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15341 * server.el (server-ensure-safe-dir): Simplify.
15343 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15345 * emacs-lisp/smie.el: Provide smarter auto-filling.
15346 (smie-auto-fill): New function.
15347 (smie-setup): Use it.
15349 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15351 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15353 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15354 (comment-indent): Use it.
15356 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15358 * ses.el: The overall change is to add cell renaming, that is
15359 setting fancy names for cell symbols other than name matching
15360 "\\`[A-Z]+[0-9]+\\'" regexp .
15361 (ses-localvars): Add ses--renamed-cell-symb-list.
15362 (ses-create-cell-variable): New defun.
15363 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15364 (ses-relocate-formula): Relocate formulas only for cells the
15365 symbols of which are not renamed, i.e. symbols whose names do not
15366 match regexp "\\`[A-Z]+[0-9]+\\'".
15367 (ses-relocate-all): Relocate values only for cells the symbols of
15368 which are not renamed.
15369 (ses-load): Create cells variables as the (ses-cell ...) are read,
15370 in order to check row col consistency with cell symbol name only
15371 for cells that are not renamed.
15372 (ses-replace-name-in-formula): New defun.
15373 (ses-rename-cell): New defun.
15375 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15377 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15378 New option (bug#11118).
15379 (perl-calculate-indent): Respect it.
15381 2012-04-17 Glenn Morris <rgm@gnu.org>
15383 * dired-aux.el (dired-mark-read-string): Doc fix.
15385 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15387 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15388 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15390 2012-04-17 Glenn Morris <rgm@gnu.org>
15392 * mouse.el (mouse-drag-track):
15393 * speedbar.el (speedbar-frame-mode):
15394 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15396 2012-04-16 Leo Liu <sdl.web@gmail.com>
15398 * progmodes/python.el: Trivial cleanup.
15400 2012-04-16 Glenn Morris <rgm@gnu.org>
15402 * vc/vc.el (vc-string-prefix-p):
15403 * vc/pcvs-util.el (cvs-string-prefix-p):
15404 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15405 * mpc.el (mpc-string-prefix-p):
15406 Make all of these into obsolete aliases for string-prefix-p.
15408 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15410 * textmodes/two-column.el: Move custom options to the start.
15411 (frame-width): Remove compat definition.
15412 (2C-associate-buffer, 2C-dissociate):
15413 Use with-current-buffer rather than save-excursion.
15414 (2C-dissociate): Force a mode-line update.
15415 (2C-autoscroll): Use ignore-errors.
15417 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15420 * emacs-lisp/cl-extra.el (*random-state*):
15421 Remove unnecessary declaration.
15423 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15425 * play/cookie1.el (cookie-snarf):
15426 Give an explicit error if input file cannot be read.
15428 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15430 * progmodes/perl-mode.el (c-macro-expand):
15431 Remove unnecessary autoload (it is in loaddefs.el).
15433 * textmodes/picture.el (picture-desired-column)
15434 (picture-update-desired-column): Convert comments to doc-strings.
15435 (picture-substitute): Remove function.
15436 (picture-mode-map): Initialize in the defvar.
15438 * woman.el: Remove eval-after-load for tar-mode.
15439 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15440 (woman-tar-extract-file): Autoload it.
15442 * frame.el (automatic-hscrolling): Make this alias obsolete.
15444 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15446 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15447 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15448 (ispell-dictionary-base-alist): Revert to original XEmacs
15449 friendly version for default. [:alpha:] will be added in
15450 `ispell-set-spellchecker-params' if needed.
15452 2012-04-16 Chong Yidong <cyd@gnu.org>
15454 * image.el (imagemagick--file-regexp): New variable.
15455 (imagemagick-register-types): Use it.
15456 (imagemagick-types-inhibit): Add :set function. Allow new value
15457 of t to inhibit all types.
15459 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15460 so we can preload it.
15462 * loadup.el (fboundp): Preload regexp-opt, needed by
15463 imagemagick-register-types.
15465 2012-04-15 Chong Yidong <cyd@gnu.org>
15467 * frame.el (scrolling): Remove nearly unused customization group.
15469 * scroll-all.el (scroll-all-mode): Move to windows group.
15471 2012-04-15 Chong Yidong <cyd@gnu.org>
15473 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15475 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15477 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15478 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15480 2012-04-15 Glenn Morris <rgm@gnu.org>
15482 * simple.el (process-file-side-effects): Doc fix.
15484 2012-04-15 Glenn Morris <rgm@gnu.org>
15486 * international/mule-cmds.el (set-language-environment): Doc fix.
15488 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15490 * server.el (server-auth-key, server-generate-key): Doc fixes.
15491 (server-get-auth-key): Doc fix. Use `string-match-p'.
15492 (server-start): Reflow docstring.
15494 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15496 * server.el (server-generate-key): `called-interactively-p'
15497 requires a parameter.
15499 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15501 * server.el (server-auth-key): New variable.
15502 (server-generate-key, server-get-auth-key): New function.
15503 (server-start): Use the new variable and functions to allow
15504 setting a permanent server key (bug#9423).
15506 2012-04-14 Leo Liu <sdl.web@gmail.com>
15508 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15510 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15513 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15514 Emacs uses American spelling.
15516 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15518 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15519 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15520 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15521 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15523 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15525 * progmodes/which-func.el (which-func-modes): Change default.
15527 2012-04-14 Kim F. Storm <storm@cua.dk>
15529 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15530 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15532 2012-04-14 Chong Yidong <cyd@gnu.org>
15534 * custom.el (custom-theme-set-variables): Doc fix.
15536 2012-04-14 Glenn Morris <rgm@gnu.org>
15538 * international/mule.el (set-auto-coding-for-load): Doc fix.
15540 2012-04-14 Alan Mackenzie <acm@muc.de>
15542 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15543 imenu work again for Objective C Mode. Correct the *-index values,
15544 these having been disturbed by a previous change in 2011-08.
15546 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15547 Correct two search limits.
15549 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15551 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15553 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15555 * international/characters.el: Fix sorting.
15557 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15559 * international/characters.el: Add more missing Latin case pairs.
15561 2012-04-14 Glenn Morris <rgm@gnu.org>
15563 * files.el (dir-locals-set-class-variables): Doc fix.
15565 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15567 * international/characters.el: Add set-case-syntax-pair call for
15568 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15569 counterpart. (Bug#11209)
15571 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15573 2012-04-14 Glenn Morris <rgm@gnu.org>
15575 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15577 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15579 * textmodes/ispell.el (ispell-dictionary-base-alist):
15580 Add data for Hebrew.
15582 2012-04-14 Chong Yidong <cyd@gnu.org>
15584 * net/rcirc.el (rcirc-cmd-quit):
15585 Revert 2012-03-18 change (Bug#11192).
15587 2012-04-14 Glenn Morris <rgm@gnu.org>
15589 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15591 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15593 * minibuffer.el (completion-in-region-mode-map):
15594 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15596 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15598 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15600 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15602 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15603 to allow `C-M-f' and `C-M-b' to move to the nearest path
15604 separator (bug#9511).
15606 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15608 * avoid.el: Require cl when compiling. And also move the
15609 `provide' to the end.
15611 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15613 * avoid.el (mouse-avoidance-banish-position): New variable.
15614 (mouse-avoidance-banish-destination): Use it (bug#10165).
15616 2012-04-13 Leo Liu <sdl.web@gmail.com>
15618 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15620 2012-04-13 Ken Brown <kbrown@cornell.edu>
15622 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15623 this is no longer needed now that cygstart understands file:// URLs.
15624 (browse-url-filename-alist): For the same reason, don't modify
15625 file:// URLs on Cygwin.
15627 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15629 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15630 the region on shift if the binding is already shifted (bug#11221).
15632 2012-04-12 Glenn Morris <rgm@gnu.org>
15634 * mail/mailpost.el: Move to obsolete/.
15636 2012-04-12 Drew Adams <drew.adams@oracle.com>
15638 * imenu.el (imenu--generic-function): Ignore invisible definitions
15641 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15643 * hexl.el (hexl-bits): New variable.
15644 (hexl-options): Mention the variable in the doc string.
15645 (hexl-rulerise, hexl-line-displen): New functions.
15646 (hexl-mode): Mention the new variable.
15647 (hexl-mode, hexl-current-address, hexl-current-address):
15649 (hexl-ascii-start-column): New function.
15650 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15651 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15653 2012-04-12 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15655 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15656 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15657 the encoding, as expected by hunspell.
15659 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15661 * battery.el (battery--linux-sysfs-regexp): New const.
15662 (battery-status-function): Use it. Remove yeeloong special case.
15663 (battery-yeeloong-sysfs): Remove.
15664 (battery-echo-area-format): Remove yeeloong special case.
15666 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15668 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15669 Reported by Noah Friedman.
15671 * subr.el (read-passwd): Use read-string.
15673 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15675 * vcursor.el (vcursor-move): Increase the priority of the overlay
15678 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15680 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15681 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15683 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15685 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15686 define-minor-mode (bug#10760).
15688 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15690 * progmodes/grep.el (rgrep): Tweak the find command line so
15691 that directories matching `grep-find-ignored-files' won't be
15692 pruned (bug#10351).
15694 2012-04-11 Chong Yidong <cyd@gnu.org>
15696 * startup.el (command-line): Remove support for long-obsolete
15697 variable font-lock-face-attributes.
15699 2012-04-11 Glenn Morris <rgm@gnu.org>
15701 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15703 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15705 * window.el (window--state-get-1): Obey window-point-insertion-type.
15707 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15709 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15710 to previous function when point is on the first character of a
15711 function. Take care of that in `narrow-to-defun' (bug#6157).
15713 2012-04-11 Glenn Morris <rgm@gnu.org>
15715 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15716 not just file-errors.
15718 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15719 (vc-bzr-sha1): Use internal sha1.
15721 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15723 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15725 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15727 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15728 that start in the middle of the line (bug#10496).
15730 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15732 * battery.el (battery-linux-proc-acpi): Only one battery is
15733 discharged at a time, but that seems to confuse battery.el when
15734 computing `rate-type' for the battery not being discharged
15737 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15739 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15741 * international/quail.el: Use dolist and simplify.
15742 (quail-define-package, quail-update-keyboard-layout)
15743 (quail-define-rules): Use dolist.
15744 (quail-insert-kbd-layout, quail-get-translation): CSE.
15746 * tmm.el: Use dolist, remove left over hook.
15747 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15749 (calendar-load-hook): Don't mess with it.
15751 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15752 Use derived-mode-p. Run the diff asynchronously.
15754 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15756 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15758 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15760 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15761 (list-dynamic-libraries--loaded): New function.
15762 (list-dynamic-libraries--refresh): Use it.
15764 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15766 * progmodes/python.el (python-fill-paragraph):
15767 Make python-fill-region in a multiline string work when font-lock is
15768 disabled (bug#7018).
15770 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15772 * language/european.el (cp775): Add oem/legacy (en)coding on
15773 DOS/MS Windows for the Baltic languages. There are still plenty
15774 of texts written in this encoding/codepage (bug#6519).
15776 2012-04-10 Glenn Morris <rgm@gnu.org>
15778 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15779 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15781 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15783 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15784 next-line "n" and previous-line "p" in order to make recentf more
15785 consistent with ibuffer, dired or org-mode (bug#9387).
15787 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15789 * image.el (put-image): Return the overlay created instead of the
15790 optional input string (bug#7834). Note that this may break code
15791 that is (for some reason or other) depending on `put-image'
15792 returning the string.
15794 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15796 * simple.el (zap-to-char): Allow zapping using input methods
15799 * textmodes/fill.el (fill-region): Leave point and mark where they
15800 were before filling (bug#5399).
15802 2012-04-09 Glenn Morris <rgm@gnu.org>
15804 * version.el (emacs-bzr-get-version):
15805 Handle lightweight checkouts of local branches.
15807 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15809 * international/characters.el: Recover lost case pairs. (Bug#11209)
15811 2012-04-09 Chong Yidong <cyd@gnu.org>
15813 * custom.el (custom-variable-p): Return nil for non-symbol
15814 arguments instead of signaling an error.
15815 (user-variable-p): Obsolete alias for custom-variable-p.
15817 * apropos.el (apropos-variable):
15818 * files-x.el (read-file-local-variable):
15819 * simple.el (set-variable):
15820 * woman.el (woman-mini-help):
15821 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15823 2012-04-09 Glenn Morris <rgm@gnu.org>
15825 * startup.el (normal-top-level): Don't look for leim-list.el
15826 in places where it will not be found. (Bug#910)
15828 * international/mule-cmds.el (set-default-coding-systems):
15829 * files.el (normal-mode):
15830 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15831 This function was removed with ucs-tables.el in 2008.
15833 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15835 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15836 ispell-encoding8-command to "-i", without a trailing space.
15837 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15838 separate command-line arguments, to specify the encoding, since
15839 that's how hunspell expects it.
15841 2012-04-08 Glenn Morris <rgm@gnu.org>
15843 * loadup.el: Load bindings before cus-start.
15844 This reduces somewhat the number of "rogue" settings in emacs -Q.
15846 2012-04-07 Glenn Morris <rgm@gnu.org>
15848 * version.el (emacs-bzr-get-version): New function.
15849 (emacs-bzr-version): New variable.
15850 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15851 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15853 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15855 * international/uni-bidi.el, international/uni-category.el:
15856 * international/uni-combining.el, international/uni-decimal.el:
15857 * international/uni-decomposition.el, international/uni-digit.el:
15858 * international/uni-lowercase.el, international/uni-mirrored.el:
15859 * international/uni-name.el, international/uni-numeric.el:
15860 * international/uni-titlecase.el, international/uni-uppercase.el:
15861 Update for Unicode 6.1.
15863 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15865 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15867 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869 * window.el (shrink-window): Mention the `window-min-height'
15870 variable in the doc string.
15872 2012-04-05 Bastien Guerry <bzg@altern.org>
15874 * color.el (color-lighten-name): Fix typo.
15876 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15878 * server.el (server--on-display-p): New function.
15879 (server--on-display-p): Use it.
15881 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15883 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15886 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15888 * comint.el (comint--common-quoted-suffix): Check string boundary
15889 before comparing (bug#11158).
15890 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15892 2012-04-04 Chong Yidong <cyd@gnu.org>
15894 * minibuffer.el (completion-extra-properties): Doc fix.
15896 * subr.el (delayed-warnings-hook): Doc fix.
15898 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15900 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15901 selection (Bug#11159).
15902 (epa-insert-keys): Inform that the default public key will be
15903 exported if no key is selected.
15905 2012-04-04 Richard Stallman <rms@gnu.org>
15907 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15909 2012-04-03 Chong Yidong <cyd@gnu.org>
15911 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15912 mail-insert-file, not its obsolete alias mail-attach-file.
15914 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15916 * notifications.el (notifications-notify): Fix docstring.
15918 2012-04-02 Glenn Morris <rgm@gnu.org>
15920 * emacs-lisp/authors.el (authors-aliases): Another addition.
15922 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15924 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15925 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15926 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15928 2012-04-01 Chong Yidong <cyd@gnu.org>
15930 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15931 Handle root directory properly.
15932 (copy-directory): Caller changed.
15934 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15935 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15937 2012-03-31 Glenn Morris <rgm@gnu.org>
15939 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15941 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15943 * calendar/calendar.el (calendar-window-list)
15944 (calendar-hide-window): Restore. (Bug#11140)
15945 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15947 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15949 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15951 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15952 Check if file is a symlink (Bug#10489).
15954 * files.el (copy-directory): Likewise.
15956 2012-03-30 Chong Yidong <cyd@gnu.org>
15958 * image.el (imagemagick-types-inhibit)
15959 (imagemagick-register-types): Doc fix.
15961 2012-03-30 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
15963 * textmodes/ispell.el (ispell-get-extended-character-mode):
15964 Disable extended-char-mode for hunspell. hunspell does not support it
15965 and treats ~word as ordinary words in pipe mode.
15967 2012-03-30 Glenn Morris <rgm@gnu.org>
15969 * tutorial.el (help-with-tutorial): Ensure local variables don't
15970 happen to make the buffer read-only. (Bug#11127)
15972 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15975 (perl-calculate-indent): Return `noindent' in strings.
15977 2012-03-28 Sam Steingold <sds@gnu.org>
15979 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15980 instead of the broken adhockery which does not prevent calendar
15981 buffers from being displayed at random after exit.
15982 (calendar-window-list, calendar-hide-window): Remove the broken
15985 2012-03-28 Glenn Morris <rgm@gnu.org>
15987 * replace.el (query-replace-map): Doc fix.
15989 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15991 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15992 contents. (Bug#11109)
15994 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15998 (avl-tree--check, avl-tree--check-node): New funs.
16000 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16002 * window.el (switch-to-visible-buffer): New option.
16003 (switch-to-prev-buffer, switch-to-next-buffer):
16004 Observe switch-to-visible-buffer. Make sure that checking for a window
16005 showing a buffer already is done on the same frame.
16007 2012-03-27 Glenn Morris <rgm@gnu.org>
16009 * startup.el (mail-host-address): Doc fix.
16011 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16013 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16014 than 197 variables.
16016 2012-03-26 Ami Fischman <ami@fischman.org>
16018 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16020 2012-03-26 Glenn Morris <rgm@gnu.org>
16022 * files.el (save-buffers-kill-emacs): Doc fix.
16024 * startup.el (normal-top-level, command-line, command-line-1):
16025 Give them doc strings.
16027 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16029 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16030 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16032 2012-03-25 Chong Yidong <cyd@gnu.org>
16034 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16035 theme if it was previously enabled before (Bug#11031).
16037 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16038 spec with custom-face-get-current-spec if its :shown-value is not
16039 determined yet (Bug#9337).
16040 (customize-create-theme, custom-theme-revert): Doc fixes.
16042 * button.el (button-at): Minor addition to docstring.
16044 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16046 * vc/vc.el (vc-merge): Fix a prompt.
16048 2012-03-24 Chong Yidong <cyd@gnu.org>
16050 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16053 * button.el (button-at): Minor addition to docstring.
16055 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16057 * newcomment.el (comment-choose-indent): No space after BOL.
16059 2012-03-22 Sam Steingold <sds@gnu.org>
16061 * window.el (switch-to-prev-buffer): Revert last patch because the
16062 bug turned out to be an advertised feature (Elisp manual 28.14).
16064 2012-03-22 Glenn Morris <rgm@gnu.org>
16066 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16067 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16069 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16071 * net/network-stream.el (network-stream-open-starttls): Make error
16072 message under Windows be less misleading.
16074 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16076 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16077 understands (bug#9942).
16079 2012-03-22 Chong Yidong <cyd@gnu.org>
16081 * simple.el (end-of-visible-line): Handle return value of
16082 next-single-property-change properly (Bug#9371).
16084 2012-03-22 Kenichi Handa <handa@m17n.org>
16086 * international/quail.el (quail-insert-kbd-layout): Fix previous
16087 change. To avoid unwanted bidi reordering, use
16088 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16090 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16092 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16093 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16094 (ruby-beginning-of-indent): Be more careful with the difference
16095 between word-boundary and symbol boundary.
16096 (ruby-mode-syntax-table): Make : a symbol constituent.
16098 2012-03-21 Andreas Politz <politza@fh-trier.de>
16100 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16102 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16104 * progmodes/etags.el (tags-completion-at-point-function):
16107 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16109 2012-03-21 Sam Steingold <sds@gnu.org>
16111 * progmodes/etags.el (tags-completion-at-point-function):
16112 Avoid the error when point is inside the pattern.
16114 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16116 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16119 2012-03-21 Drew Adams <drew.adams@oracle.com>
16121 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16123 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16125 * ido.el (ido-set-current-directory, ido-read-internal)
16126 (ido-choose-completion-string, ido-completion-help): Handle nil
16127 value of ido-completion-buffer (Bug#11008).
16129 2012-03-21 Sam Steingold <sds@gnu.org>
16131 * window.el (switch-to-prev-buffer): Do not switch to a visible
16132 window previous buffer, just like with the frame previous buffers.
16134 2012-03-21 Chong Yidong <cyd@gnu.org>
16136 * faces.el (make-face, make-empty-face, copy-face):
16137 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16140 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16142 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16143 (widget-complete): Remove broken use of it.
16145 2012-03-20 Chong Yidong <cyd@gnu.org>
16147 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16148 Use string-width and truncate-string-width to handle arbitrary
16151 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16153 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16154 to draw rectangles, not squares. (Regression introduced by revno
16155 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16157 2012-03-18 Chong Yidong <cyd@gnu.org>
16159 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16160 it is not yet defined (for temacs).
16162 2012-03-18 Leo Liu <sdl.web@gmail.com>
16164 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16167 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16169 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16170 (ispell-choices-win-default-height, ispell-silently-savep)
16171 (ispell-dictionary-alist, ispell-encoding8-command)
16172 (ispell-check-version, ispell-aspell-find-dictionary)
16173 (ispell-valid-dictionary-list, ispell-words-keyword)
16174 (ispell-get-word, ispell-internal-change-dictionary)
16175 (ispell-region, ispell-skip-region-list)
16176 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16177 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16178 (ispell-message-text-end, ispell-message)
16179 (ispell-buffer-local-parsing): Doc fix.
16181 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16183 * htmlfontify.el: Add support for code block fontification for ODT
16184 export (Bug #9914).
16185 (hfy-optimisations): Define new option
16187 (hfy-fontify-buffer): Honor above setting.
16188 (hfy-begin-span, hfy-end-span): New routines factored out form
16189 `hfy-fontify-buffer'.
16190 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16191 that permit insertion of custom tags.
16192 (hfy-fontify-buffer): Use above handlers.
16193 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16194 (hfy-face-to-css): Re-defined to be a variable.
16195 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16196 over multiple runs. This is made possible by having the caller let
16197 bind a special variable `hfy-user-sheet-assoc'.
16198 (htmlfontify-string): New defun.
16199 (hfy-compile-face-map): Make sure that the last char in the
16200 buffer is correctly fontified.
16201 (hfy-face-resolve-face): Whitespace only change.
16203 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16205 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16206 message more clear.
16208 2012-03-16 Leo Liu <sdl.web@gmail.com>
16210 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16212 2012-03-16 Alan Mackenzie <acm@muc.de>
16214 Further optimize the handling of large macros.
16216 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16217 limit to a call of `c-literal-limits'.
16218 (c-determine-+ve-limit): New function.
16219 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16220 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16221 In CASE 5B, restrict a search limit to 500.
16222 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16224 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16225 Restrict macro bounds to +-500 from after-change's BEG END.
16227 2012-03-16 Leo Liu <sdl.web@gmail.com>
16229 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16231 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16233 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16234 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16236 2012-03-16 Glenn Morris <rgm@gnu.org>
16238 * view.el (view-buffer, view-buffer-other-window)
16239 (view-buffer-other-frame): Doc fixes re special mode-class.
16241 * subr.el (eval-after-load): If named feature is provided not from
16242 a file, run after-load forms. (Bug#10946)
16244 * calendar/calendar.el (calendar-insert-at-column):
16245 Handle non-unit-width characters a bit better. (Bug#10978)
16247 2012-03-15 Chong Yidong <cyd@gnu.org>
16249 * emacs-lisp/ring.el (ring-extend): New function.
16250 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16252 * comint.el (comint-read-input-ring)
16253 (comint-add-to-input-history): Grow comint-input-ring lazily.
16255 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16257 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16258 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16260 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16261 (imenu-add-to-menubar): Don't add a redundant index.
16262 (imenu-update-menubar): Handle a dynamically composed keymap.
16264 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16266 * mail/sendmail.el (mail-encode-header):
16267 Bind rfc2047-encode-encoded-words to nil.
16269 2012-03-13 Glenn Morris <rgm@gnu.org>
16271 * calendar/calendar.el (calendar-string-spread):
16272 Handle non-unit-width characters a bit better. (Bug#10978)
16274 2012-03-13 Leo Liu <sdl.web@gmail.com>
16276 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16277 directory and file as argument (Bug#10822).
16279 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16281 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16282 For dynamically generated code, follow $PC.
16283 (gdb-disassembly-handler-custom): Handle no function name case.
16285 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16287 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16288 * emulation/ws-mode.el (ws-query-replace):
16289 * sort.el (sort-regexp-fields):
16290 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16292 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16294 * dabbrev.el: Fix cycle completion order (bug#10963).
16295 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16296 (dabbrev-completion): Don't use an obarray; provide
16297 a cycle-sort-function.
16299 2012-03-12 Leo Liu <sdl.web@gmail.com>
16301 * simple.el (kill-new): Use equal-including-properties for comparison.
16302 (kill-do-not-save-duplicates): Doc fix.
16304 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16306 * dabbrev.el: Fix cycle completion (bug#10963).
16307 Use lexical binding and wrap to 80 columns.
16308 (dabbrev-completion): Delay computing the list of completions.
16310 2012-03-12 Kenichi Handa <handa@m17n.org>
16312 * international/quail.el (quail-insert-kbd-layout): Surround each
16313 row by LRO and PDF instead of inserting many LRMs. Pad the left
16314 and right of each non-spacing marks. Insert invisible space
16315 between lower and upper characters to prevent composition.
16317 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16319 * minibuffer.el (minibuffer-complete): Don't get confused when the
16320 function is run twice via different commands (bug#10958).
16321 (complete-with-action): Fix docstring.
16323 2012-03-12 Chong Yidong <cyd@gnu.org>
16325 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16326 (nxml-completion-at-point-function): New function.
16327 (nxml-mode): Use it.
16328 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16330 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16331 Load generated autoloads file before byte compiling (Bug#10970).
16332 (package--make-autoloads-and-compile): New helper fun.
16334 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16336 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16338 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16340 * autorevert.el (auto-revert-handler): Ensure, that
16341 file-readable-p is applied only for local files or in
16342 auto-revert-tail-mode.
16344 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16346 * server.el (server-eval-at): Handle non-tcp connections.
16347 Decode result string.
16349 * server.el (server-msg-size): New constant.
16350 (server-reply-print): New function.
16351 (server-eval-and-print): Use it.
16352 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16353 Handle -print-nonl.
16355 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16357 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16360 2012-03-11 Chong Yidong <cyd@gnu.org>
16362 * simple.el (goto-line): Doc fix (Bug#9938).
16364 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16366 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16367 when finished (Bug#10963).
16369 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16371 * window.el (split-window-below): Fix bug in case where
16372 split-window-keep-point is nil (Bug#10971).
16374 2012-03-11 Juri Linkov <juri@jurta.org>
16376 * replace.el (replace-highlight): Set isearch-word to nil
16377 unconditionally. (Bug#10887)
16379 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16381 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16382 mairix-replace-illegal-chars; all callers changed. Don't remove
16383 ^, ~, and = characters: they are meaningful in mairix search specs.
16384 (mairix-widget-create-query): Add usage information about mairix
16385 search forms: negating words, searching for substrings, etc.
16387 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16389 * international/fontset.el (font-encoding-alist): Add an entry for
16390 ksx1001 (Bug#5667).
16392 2012-03-10 Richard Stallman <rms@gnu.org>
16394 * mail/sendmail.el (mail-encode-header):
16395 Set rfc2047-encode-encoded-words.
16397 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16399 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16400 view buffer means not swapped.
16401 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16402 (rmail-write-region-annotate): Error if real text has disappeared.
16404 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16406 2012-03-10 Chong Yidong <cyd@gnu.org>
16408 * emulation/cua-rect.el (cua--init-rectangles):
16409 * emulation/cua-base.el (cua--init-keymaps):
16410 Add delete-forward-char to remappings (Bug#9666).
16412 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16414 * speedbar.el (speedbar-unhighlight-one-tag-line):
16415 Avoid unhighlighting due to frame switching (Bug#10275).
16417 2012-03-10 Chong Yidong <cyd@gnu.org>
16419 * minibuffer.el (completion-in-region, completion-help-at-point):
16420 Give the completion field overlay a high priority (Bug#6830).
16422 * dired.el (dired-goto-file): Recognize absolute file name
16423 listings (Bug#7126).
16424 (dired-goto-file-1): New helper function.
16425 (dired-toggle-read-only): Inhibit warnings.
16427 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16429 * net/dbus.el (dbus-property-handler): Return empty array if
16430 there are no properties.
16432 2012-03-09 Leo Liu <sdl.web@gmail.com>
16434 * savehist.el (savehist-printable): Stricter check for string
16437 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16439 * mail/smtpmail.el (smtpmail-send-it):
16440 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16443 2012-03-09 Glenn Morris <rgm@gnu.org>
16445 * files.el (dir-locals-find-file):
16446 Don't check result is regular, readable.
16447 (dir-locals-read-from-file): Demote errors.
16449 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16451 * international/quail.el (quail-insert-kbd-layout):
16452 Insert invisible LRM characters before each character in a keyboard
16453 layout cell, to prevent their reordering by bidi display engine.
16454 For details, see the discussion in
16455 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16457 2012-03-08 Alan Mackenzie <acm@muc.de>
16459 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16460 the starting position; make it extend the marked region when
16461 invoked repeatedly - all under appropriate circumstances.
16462 Fixes bugs #5525, #10906.
16464 2012-03-08 Glenn Morris <rgm@gnu.org>
16466 * files.el (locate-dominating-file, dir-locals-find-file):
16467 Undo 2012-03-06 change.
16469 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16471 * international/quail.el (quail-help):
16472 Force bidi-paragraph-direction be left-to-right. See discussion in
16473 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16476 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16478 Avoid superfluous registering of signals. (Bug#10807)
16480 * notifications.el (notifications-on-action-object)
16481 (notifications-on-close-object): New defvars.
16482 (notifications-on-action-signal, notifications-on-closed-signal):
16483 Unregister the signal if not needed any longer.
16484 (notifications-notify): Register `notifications-action-signal' or
16485 `notifications-closed-signal', if :on-action or :on-close has been
16486 passed as argument.
16488 2012-03-07 Chong Yidong <cyd@gnu.org>
16490 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16493 2012-03-06 Glenn Morris <rgm@gnu.org>
16495 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16496 (x-disown-selection-internal, x-get-selection-internal):
16497 Doc fix (add arglist signatures). (Bug#10783)
16499 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16501 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16502 Handle breakpoints with no "type".
16504 2012-03-06 Glenn Morris <rgm@gnu.org>
16506 * files.el (locate-dominating-file): Add optional predicate argument.
16507 (dir-locals-find-file): Make use of above change.
16509 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16511 * info.el (Info-insert-dir): Also try "dir.gz".
16513 2012-03-06 Glenn Morris <rgm@gnu.org>
16515 * files.el (dir-locals-find-file):
16516 Ignore non-readable or non-regular files. (Bug#10928)
16518 * files.el (locate-dominating-file): Doc fix.
16520 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16522 * calendar/calendar.el (calendar-set-mode-line):
16523 `getenv' returns a string. (Bug#10951)
16525 2012-03-05 Leo Liu <sdl.web@gmail.com>
16527 * simple.el (backward-delete-char-untabify): Constrain point to
16530 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16532 2012-03-05 Chong Yidong <cyd@gnu.org>
16534 * simple.el (count-words): If called from Lisp, return the word
16535 count, for symmetry with `count-lines'. Arglist changed.
16536 (count-words--message): Args changed. Consolidate counting code
16537 from count-words and count-words-region.
16538 (count-words-region): Caller changed.
16539 (count-lines-region): Make it an obsolete alias.
16541 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16543 * saveplace.el (save-place-to-alist)
16544 (save-place-ignore-files-regexp): Allow value nil to disable this
16547 2012-03-04 Chong Yidong <cyd@gnu.org>
16549 * faces.el (face-spec-reset-face): For the default face, reset the
16550 attributes to default values (Bug#10748).
16552 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16555 previous patch: Check `message-send-mail-function', and not the
16556 default function (bug#10897).
16558 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16560 * notifications.el (notifications-on-action-signal)
16561 (notifications-on-closed-signal): Check for unique service name of
16562 incoming event. Fix error in removing entry.
16563 (top): Register for signals with wildcard service name.
16564 (notifications-notify): Use daemon unique service name for map entries.
16566 2012-03-04 Chong Yidong <cyd@gnu.org>
16568 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16570 2012-03-04 Glenn Morris <rgm@gnu.org>
16572 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16573 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16574 (expand-abbrev, define-abbrev-table): Doc fixes.
16576 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16578 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16579 `message-default-send-mail-function' and not `send-mail-function'
16580 when doing the prompting for `sendmail-query-once' before sending
16581 in Message buffers (bug#10897).
16583 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16584 This is inconsistent with all the other stream functions, which leave
16585 the setting up to the higher levels (if so wanted) (bug#10931).
16587 2012-03-02 Alan Mackenzie <acm@muc.de>
16589 Depessimize the handling of very large macros.
16591 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16592 (c-macro-cache-syntactic): New variables to implement a one
16593 element macro cache.
16594 (c-invalidate-macro-cache): New function.
16595 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16596 Adapt to use the new cache.
16597 (c-state-safe-place): Use better the cache of safe positions.
16598 (c-state-semi-nonlit-pos-cache)
16599 (c-state-semi-nonlit-pos-cache-limit):
16600 New variables for...
16601 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16602 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16603 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16604 Use c-state-semi-safe-place.
16606 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16607 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16609 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16611 * jka-compr.el (jka-compr-call-process):
16612 Apply `file-accessible-directory-p' only when the default directory is
16615 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16617 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16618 access of FILE2, if FILE1 does not exist.
16620 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16621 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16623 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16624 Add "PAGER=" to `process-environment'.
16626 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16628 * progmodes/sql.el: Bug fix
16629 (sql-get-login-ext): Save login values in globals.
16630 (sql-get-login): Use new version of `sql-get-login-ext'.
16631 (sql-interactive-mode): Set global `sql-connection' to nil.
16632 (sql-connect): Set global values for connection.
16633 (sql-product-interactive): Save global values as buffer local.
16635 2012-02-29 Leo Liu <sdl.web@gmail.com>
16637 * abbrev.el (define-abbrevs): Reset sys to nil.
16639 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16641 * files.el (file-equal-p): Rename from `files-equal-p'.
16642 Return nil when one or both files don't exist.
16643 (file-subdir-of-p): Now only top directory must exists,
16644 return nil if it doesn't.
16645 (copy-directory): No need to test with `file-subdir-of-p' after
16647 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16650 2012-02-28 Glenn Morris <rgm@gnu.org>
16652 * shell.el (shell-mode):
16653 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16654 * play/landmark.el (landmark-font-lock-face-O):
16655 * play/handwrite.el (handwrite):
16656 * play/gomoku.el (gomoku-O):
16657 * net/browse-url.el (browse-url-browser-display):
16658 * international/mule.el (define-charset):
16659 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16660 * filesets.el (filesets-find-file-delay):
16661 * eshell/em-xtra.el (eshell-xtra):
16662 * eshell/em-unix.el (eshell-grep):
16663 * emulation/viper.el (viper-mode):
16664 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16665 * emacs-lisp/easymenu.el (easy-menu-define):
16666 * calendar/timeclock.el (timeclock-use-display-time):
16668 * bookmark.el (bookmark-save-flag):
16669 Doc fix (standardize possessive apostrophe usage).
16671 2012-02-27 Chong Yidong <cyd@gnu.org>
16673 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16674 Fix key-binding lookup for ESC key (Bug#9146).
16676 * font-lock.el (font-lock-specified-p): Rename from
16677 font-lock-spec-present. Callers changed.
16679 2012-02-27 Daniel Hackney <dan@haxney.org>
16681 * emacs-lisp/package.el (package-compute-transaction):
16682 Handle holding a package version to t in package-load-list.
16684 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16686 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16687 (tramp-get-inode, tramp-get-device): Use cached values.
16689 2012-02-26 Alan Mackenzie <acm@muc.de>
16691 Check there is a font-lock specification before doing initial
16694 * font-core.el (font-lock-mode): Move the conditional from
16695 :after-hook to font-lock-initial-fontify.
16696 (font-lock-default-function): Move the check for a specification
16697 to font-lock-spec-present.
16699 * font-lock.el (font-lock-initial-fontify): Call ...
16700 (font-lock-spec-present): New function.
16702 2012-02-26 Jim Blandy <jimb@red-bean.com>
16704 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16705 (gdb-send): Apply it to the operand of the '-interpreter-exec
16706 console' command, so that we can pass arguments with (say) quotes
16707 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16709 2012-02-26 Chong Yidong <cyd@gnu.org>
16711 * help-fns.el (describe-function-1): Clarify description of
16712 remapping (Bug#10844).
16714 * files.el (files-equal-p): Doc fix.
16715 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16716 and quit the loop once a mismatch is found.
16718 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16720 * bs.el (bs--show-with-configuration): Don't throw an error
16721 if the window cannot be split; otherwise, subsequent calls to
16722 bs-show fail, restoring a stale window config. (Bug#10882)
16724 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16726 * term/ns-win.el (global-map): Bind ns-drag-file to
16727 ns-find-file (Bug#5855, Bug#10050).
16729 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16731 * calendar/parse-time.el (parse-time-string): Allow extractor to
16734 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16736 * net/tramp.el (tramp-file-name-for-operation):
16737 Add `files-equal-p' and `file-subdir-of-p'.
16739 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16740 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16741 Add COPY-CONTENTS argument.
16743 2012-02-25 Chong Yidong <cyd@gnu.org>
16745 Add custom groups for VC backends, for consistency with vc-bzr.
16747 * vc/vc-arch.el (vc-arch):
16748 * vc/vc-cvs.el (vc-cvs):
16749 * vc/vc-git.el (vc-git):
16750 * vc/vc-hg.el (vc-hg):
16751 * vc/vc-mtn.el (vc-mtn):
16752 * vc/vc-rcs.el (vc-rcs):
16753 * vc/vc-sccs.el (vc-sccs):
16754 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16755 All relevant defcustoms reassigned.
16757 2012-02-25 Chong Yidong <cyd@gnu.org>
16759 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16761 * term/x-win.el (x-initialize-window-system): Reduce default for
16762 x-selection-timeout to 5 seconds (Bug#8869).
16764 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16766 * files.el (files-equal-p, file-subdir-of-p): New functions.
16767 (copy-directory): Error when trying to copy a directory on itself.
16768 Add missing copy-contents arg to tramp handler.
16769 * dired-aux.el (dired-copy-file-recursive): Same.
16770 (dired-create-files): Modify destination when source is equal to
16771 dest when copying files.
16772 Return also when dest is a subdir of source. (Bug#10489)
16774 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16776 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16779 2012-02-23 Alan Mackenzie <acm@muc.de>
16781 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16782 parameter "after-hook:" to allow the expansion to run code after
16783 the execution of the mode hooks.
16785 * font-lock.el (font-lock-initial-fontify): New function extracted
16786 from font-lock-mode-internal.
16788 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16791 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16793 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16794 (completion--cache-all-sorted-completions): New function.
16795 (completion-all-sorted-completions): Use it.
16796 (completion--do-completion, minibuffer-force-complete):
16797 Use it to re-instate the flush hook.
16799 * icomplete.el (icomplete-completions): Replace last fix with a better
16802 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16804 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16805 when it might call us back infinitely (bug#10797).
16807 2012-02-23 Glenn Morris <rgm@gnu.org>
16809 * minibuffer.el (completion-category-overrides): Doc fix.
16811 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16813 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16814 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16816 2012-02-23 Glenn Morris <rgm@gnu.org>
16818 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16819 (authors-obsolete-files-regexps, authors-ignored-files)
16820 (authors-ambiguous-files, authors-renamed-files-alist):
16823 2012-02-23 Juri Linkov <juri@jurta.org>
16825 * isearch.el (isearch-occur): Sync interactive spec with occur's
16826 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16828 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16830 2012-02-22 Juri Linkov <juri@jurta.org>
16832 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16833 (ucs-insert): Doc fix. Check for hex digits in the string.
16834 Don't display `nil' in the error message. (Bug#10857)
16836 2012-02-22 Alan Mackenzie <acm@muc.de>
16838 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16840 2012-02-22 Glenn Morris <rgm@gnu.org>
16842 * ffap.el (ffap-c-path):
16843 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16845 2012-02-22 Chong Yidong <cyd@gnu.org>
16847 * custom.el (load-theme): Doc fix.
16849 2012-02-22 Glenn Morris <rgm@gnu.org>
16851 * dired-x.el (dired-guess-shell-alist-default):
16852 Remove escape sequences from nroff output. (Bug#172)
16854 2012-02-21 Glenn Morris <rgm@gnu.org>
16856 * vc/emerge.el (emerge-defvar-local):
16857 Set `permanent-local' property rather than unused `preserved'.
16859 * textmodes/picture.el (picture-delete-char): New alias.
16860 (picture-mode-map): Use it. (Bug#10860)
16861 (picture-mode): Doc fix.
16863 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16865 * newcomment.el (uncomment-region-default): Remove unused binding.
16867 2012-02-21 Glenn Morris <rgm@gnu.org>
16869 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16870 (picture-self-insert, picture-tab-chars): Doc fix.
16871 (picture-mode-map): Fix C-a, C-e.
16873 2012-02-20 Glenn Morris <rgm@gnu.org>
16875 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16877 2012-02-20 Leo Liu <sdl.web@gmail.com>
16879 * icomplete.el (icomplete-completions): Check FROM arg before
16880 passing to substring (Bug#10850).
16882 2012-02-19 Chong Yidong <cyd@gnu.org>
16884 * comint.el: Require ansi-color.
16885 (comint-output-filter-functions): Add ansi-color-process-output.
16887 * ansi-color.el: Don't set comint-output-filter-functions; it is
16888 now in the initial value defined in comint.el.
16889 (ansi-color-apply-face-function): New variable.
16890 (ansi-color-apply-on-region): Use it.
16891 (ansi-color-apply-overlay-face): New function.
16893 * shell.el (shell): No need to require ansi-color.
16894 (shell-mode): Use ansi-color-apply-face-function to highlight
16895 color escapes using font-lock-face property (Bug#10835).
16897 2012-02-19 Chong Yidong <cyd@gnu.org>
16899 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16900 mode-line formats (Bug#10839).
16902 2012-02-18 Glenn Morris <rgm@gnu.org>
16904 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16906 * mail/undigest.el (unforward-rmail-message): Doc fix.
16908 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16910 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16912 * international/characters.el (script-list): Sync with the latest
16913 Unicode Character Database.
16915 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16917 * international/titdic-cnv.el: Remove duplicate coding tag.
16918 * language/cham.el: Likewise.
16919 * language/tai-viet.el: Likewise.
16921 2012-02-18 Glenn Morris <rgm@gnu.org>
16923 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16924 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16925 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16926 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16927 * calendar/holidays.el (holiday-bahai-holidays)
16928 (calendar-holidays, list-holidays):
16929 Use utf-8 BahĂ¡'Ă in doc-strings, menus, etc.
16931 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16933 * saveplace.el (save-place-ignore-files-regexp): New variable
16934 allowing for excluding files from saving their location of point.
16935 The default value matches the temporary commit message editing
16936 files from Git, SVN, Bazaar, and Mercurial.
16937 (save-place-to-alist): Use it.
16939 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16940 Stefan Monnier <monnier@iro.umontreal.ca>
16942 * newcomment.el (uncomment-region-default): Don't leave extra space
16943 when an arg is provided (bug#8150).
16945 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16947 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16949 2012-02-17 Glenn Morris <rgm@gnu.org>
16951 * net/socks.el: Require network-stream. (Bug#10599)
16953 2012-02-17 Kenichi Handa <handa@m17n.org>
16955 * international/charprop.el:
16956 * international/uni-name.el:
16957 * international/uni-old-name.el:
16958 * international/uni-comment.el: Regenerate.
16960 2012-02-16 Glenn Morris <rgm@gnu.org>
16962 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16963 Interactively in calendar buffer, give an error if not on a date.
16965 2012-02-15 Glenn Morris <rgm@gnu.org>
16967 * shell.el (shell-delimiter-argument-list):
16968 Revert 2011-02-17 change. (Bug#8027)
16970 2012-02-15 Chong Yidong <cyd@gnu.org>
16972 * minibuffer.el (completion-at-point-functions): Doc fix.
16974 * custom.el (defcustom): Doc fix; note use of defvar.
16976 2012-02-15 Glenn Morris <rgm@gnu.org>
16978 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16981 2012-02-14 Glenn Morris <rgm@gnu.org>
16983 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16985 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16987 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16988 way the ports list is computed.
16989 (smtpmail-query-smtp-server): Prompt the user for a port number if
16990 we can't connect to any of the standard ports (bug#10810).
16992 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16994 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16996 2012-02-13 Glenn Morris <rgm@gnu.org>
16998 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17000 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17002 * net/gnutls.el (gnutls-trustfiles): New variable.
17003 (gnutls-negotiate): Use it.
17005 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17007 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17008 does its stuff if Gnus is running.
17010 2012-02-13 Alan Mackenzie <acm@muc.de>
17012 Fix a loop in c-set-fl-decl-start.
17014 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17015 c-backward-syntactic-ws actually moves backwards.
17017 2012-02-13 Leo Liu <sdl.web@gmail.com>
17019 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17020 beginning so that all \C-o chars are removed.
17022 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17024 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17026 2012-02-12 Alan Mackenzie <acm@muc.de>
17028 Fix infinite loop with long macros.
17029 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17031 2012-02-12 Chong Yidong <cyd@gnu.org>
17033 * window.el (display-buffer): Doc fix (Bug#10785).
17035 2012-02-12 Glenn Morris <rgm@gnu.org>
17037 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17038 (x-disown-selection-internal, x-get-selection-internal):
17039 Sync docs with the xselect.c versions.
17041 * allout-widgets.el: Add missing license notice.
17043 2012-02-11 Glenn Morris <rgm@gnu.org>
17045 * select.el (x-get-selection-internal, x-own-selection-internal)
17046 (x-disown-selection-internal):
17047 * x-dnd.el (x-get-selection-internal): Update declarations.
17049 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17051 * window.el (window-sides-slots):
17052 * tool-bar.el (tool-bar-position):
17053 * term/xterm.el (xterm-extra-capabilities):
17054 * ses.el (ses-self-reference-early-detection):
17055 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17056 (verilog-auto-wire-type)
17057 (verilog-auto-delete-trailing-whitespace)
17058 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17059 (verilog-auto-tieoff-declaration):
17060 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17061 (sql-oracle-statement-starters, sql-oracle-scan-on):
17062 * progmodes/prolog.el (prolog-align-comments-flag)
17063 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17064 (prolog-left-indent-regexp, prolog-paren-indent-p)
17065 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17066 (prolog-types, prolog-mode-specificators)
17067 (prolog-determinism-specificators, prolog-directives)
17068 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17069 (prolog-electric-dot-flag)
17070 (prolog-electric-dot-full-predicate-template)
17071 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17072 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17073 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17074 (prolog-program-switches, prolog-prompt-regexp)
17075 (prolog-debug-on-string, prolog-debug-off-string)
17076 (prolog-trace-on-string, prolog-trace-off-string)
17077 (prolog-zip-on-string, prolog-zip-off-string)
17078 (prolog-use-standard-consult-compile-method-flag)
17079 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17080 (prolog-imenu-max-lines, prolog-info-predicate-index)
17081 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17082 (prolog-char-quote-workaround):
17083 * progmodes/cc-vars.el (c-defun-tactic):
17084 * net/tramp.el (tramp-encoding-command-interactive)
17085 (tramp-local-end-of-line):
17086 * net/soap-client.el (soap-client):
17087 * net/netrc.el (netrc-file):
17088 * net/gnutls.el (gnutls):
17089 * minibuffer.el (completion-category-overrides)
17090 (completion-cycle-threshold)
17091 (completion-pcm-complete-word-inserts-delimiters):
17092 * man.el (Man-name-local-regexp):
17093 * mail/feedmail.el (feedmail-display-full-frame):
17094 * international/characters.el (glyphless-char-display-control):
17095 * eshell/em-ls.el (eshell-ls-date-format):
17096 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17097 (lisp-lambda-list-keyword-parameter-indentation)
17098 (lisp-lambda-list-keyword-parameter-alignment):
17099 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17100 * dired-x.el (dired-omit-verbose):
17101 * cus-theme.el (custom-theme-allow-multiple-selections):
17102 * calc/calc.el (calc-highlight-selections-with-faces)
17103 (calc-lu-field-reference, calc-lu-power-reference)
17104 (calc-note-threshold):
17105 * battery.el (battery-mode-line-limit):
17106 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17107 (archive-7z-update):
17108 * allout.el (allout-prefixed-keybindings)
17109 (allout-unprefixed-keybindings)
17110 (allout-inhibit-auto-fill-on-headline)
17111 (allout-flattened-numbering-abbreviation):
17112 * allout-widgets.el (allout-widgets-auto-activation)
17113 (allout-widgets-icons-dark-subdir)
17114 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17115 (allout-widgets-theme-dark-background)
17116 (allout-widgets-theme-light-background)
17117 (allout-widgets-item-image-properties-emacs)
17118 (allout-widgets-item-image-properties-xemacs)
17119 (allout-widgets-run-unit-tests-on-load)
17120 (allout-widgets-time-decoration-activity)
17121 (allout-widgets-hook-error-post-time)
17122 (allout-widgets-track-decoration):
17123 Add missing :version tags to new defcustoms and defgroups.
17125 * progmodes/sql.el (sql-ansi-statement-starters)
17126 (sql-oracle-statement-starters): Add custom type.
17128 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17129 (prolog-system-version): Give it a type.
17131 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17133 * term/pc-win.el (x-select-text, x-selection-owner-p)
17134 (x-own-selection-internal, x-disown-selection-internal)
17135 (x-get-selection-internal): Sync doc strings and argument lists
17136 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17138 2012-02-11 Leo Liu <sdl.web@gmail.com>
17140 * progmodes/python.el (python-end-of-statement): Fix infinite
17143 2012-02-10 Glenn Morris <rgm@gnu.org>
17145 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17146 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17148 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17150 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17151 about SMTP before checking the From header.
17153 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17154 into own function for reuse by emacsbug.el.
17156 2012-02-10 Leo Liu <sdl.web@gmail.com>
17158 * subr.el (condition-case-unless-debug): Rename from
17159 condition-case-no-debug. All callers changed.
17160 (with-demoted-errors): Fix caller.
17162 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17163 * nxml/rng-valid.el (rng-do-some-validation):
17164 * emacs-lisp/package.el (package-refresh-contents)
17165 (package-menu-execute):
17166 * desktop.el (desktop-create-buffer):
17167 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17169 2012-02-10 Glenn Morris <rgm@gnu.org>
17171 * textmodes/bibtex.el:
17172 Add missing :version tags for new/changed defcustoms.
17174 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17176 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17178 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17179 (smtpmail-via-smtp): Use it, or fall back on the From address.
17180 (smtpmail-send-it): Ditto.
17182 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17184 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17185 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17186 (byte-compile-tmp-var): New const.
17187 (byte-compile-defvar): Use it to minimize .elc size.
17188 Just use `defvar' rather than simulate it (bug#10761).
17190 2012-02-09 Glenn Morris <rgm@gnu.org>
17192 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17194 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17197 * progmodes/compile.el (compilation-error-screen-columns)
17198 (compilation-first-column, compilation-filter-start): Doc fixes.
17200 * vc/log-view.el (log-view-toggle-entry-display):
17201 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17203 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17204 (report-emacs-bug-can-use-xdg-email):
17205 (report-emacs-bug-insert-to-mailer): Doc fixes.
17206 (report-emacs-bug): Message fix.
17208 * net/browse-url.el (browse-url-can-use-xdg-open)
17209 (browse-url-xdg-open): Doc fixes.
17211 * electric.el (electric-indent-mode, electric-pair-mode)
17212 (electric-layout-rules, electric-layout-mode): Doc fixes.
17213 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17215 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17217 * server.el (server-unselect-display): Don't inadvertently kill
17218 the current buffer. (Bug#10729)
17220 2012-02-08 Glenn Morris <rgm@gnu.org>
17222 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17223 (sql-list-table): Doc fixes.
17225 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17226 Comment out (does nothing).
17228 * completion.el (dynamic-completion-mode):
17229 * dirtrack.el (dirtrack-debug-mode):
17230 * electric.el (electric-layout-mode):
17231 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17232 * face-remap.el (text-scale-mode, buffer-face-mode):
17233 * iimage.el (iimage-mode):
17234 * image-mode.el (image-transform-mode):
17235 * minibuffer.el (completion-in-region-mode):
17236 * scroll-lock.el (scroll-lock-mode):
17237 * simple.el (next-error-follow-minor-mode):
17238 * tar-mode.el (tar-subfile-mode):
17239 * tooltip.el (tooltip-mode):
17240 * vcursor.el (vcursor-use-vcursor-map):
17241 * wid-browse.el (widget-minor-mode):
17242 * emulation/tpu-edt.el (tpu-edt-mode):
17243 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17244 * international/iso-ascii.el (iso-ascii-mode):
17245 * language/thai-util.el (thai-word-mode):
17246 * mail/supercite.el (sc-minor-mode):
17247 * net/goto-addr.el (goto-address-mode):
17248 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17249 * progmodes/cwarn.el (cwarn-mode):
17250 * progmodes/flymake.el (flymake-mode):
17251 * progmodes/glasses.el (glasses-mode):
17252 * progmodes/hideshow.el (hs-minor-mode):
17253 * progmodes/pascal.el (pascal-outline-mode):
17254 * textmodes/enriched.el (enriched-mode):
17255 * vc/smerge-mode.el (smerge-mode):
17256 Doc fixes (minor mode argument).
17258 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17260 * ls-lisp.el (ls-lisp-sanitize): New function.
17261 (ls-lisp-insert-directory): Use it to fix or remove any elements
17262 in file-alist with missing attributes. (Bug#4673)
17264 2012-02-07 Alan Mackenzie <acm@muc.de>
17266 Fix spurious recognition of c-in-knr-argdecl.
17268 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17269 putative K&R region.
17271 2012-02-07 Alan Mackenzie <acm@muc.de>
17273 * progmodes/cc-engine.el (c-forward-objc-directive):
17274 Prevent looping in "#pragma mark @implementation".
17276 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17278 * notifications.el (notifications-on-closed-signal): Make `reason'
17279 optional. (Bug#10744)
17281 2012-02-07 Glenn Morris <rgm@gnu.org>
17283 * emacs-lisp/easy-mmode.el (define-minor-mode):
17284 Doc fixes for the macro and the mode it defines.
17286 * image.el (imagemagick-types-inhibit): Doc fix.
17288 * cus-start.el (imagemagick-render-type): Add it.
17290 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17292 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17293 Set the default at load time, too, so that `font-lock-fontify-buffer'
17294 can be called without setting up the entire mode first. This fixes
17295 a bug in `mm-inline-text' with C MIME parts.
17297 2012-02-06 Chong Yidong <cyd@gnu.org>
17299 * simple.el (list-processes--refresh): Delete exited processes
17302 * comint.el (comint-next-prompt): next-single-char-property-change
17303 and prev-single-char-property-change never return nil (Bug#8657).
17305 * custom.el (defcustom): Doc fix (Bug#9711).
17307 2012-02-05 Chong Yidong <cyd@gnu.org>
17309 * cus-edit.el (custom-variable-reset-backup): Quote the value
17310 before storing it in the customized-value property (Bug#6712).
17311 (custom-display): Add a customization type tag.
17312 (custom-buffer-create-internal): Improve tooltip message.
17314 * wid-edit.el (widget-field-value-get): New optional arg to
17315 suppress trailing whitespace truncation.
17316 (character): Use it (Bug#2689).
17318 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17320 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17321 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17323 2012-02-05 Chong Yidong <cyd@gnu.org>
17325 * cus-edit.el (custom-variable-value-create): For mismatched
17326 types, show the current value (Bug#7600).
17328 * custom.el (defcustom): Doc fix.
17330 2012-02-05 Glenn Morris <rgm@gnu.org>
17332 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17334 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17336 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17337 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17338 (pp-last-sexp): Use `looking-at-p'.
17340 2012-02-04 Glenn Morris <rgm@gnu.org>
17342 * files.el (revert-buffer):
17343 Doc fix (mention revert-buffer-in-progress-p).
17345 * emacs-lisp/ert-x.el (ert-simulate-command):
17346 Check deferred-action-list (which is obsolete) is bound.
17348 * subr.el (with-wrapper-hook): Doc fixes.
17350 * simple.el (filter-buffer-substring-functions)
17351 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17353 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17355 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17356 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17358 2012-02-04 Leo Liu <sdl.web@gmail.com>
17360 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17362 2012-02-04 Glenn Morris <rgm@gnu.org>
17364 * image.el (image-extension-data): Add obsolete alias.
17366 * isearch.el (isearch-update): Doc fix.
17368 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17370 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17372 2012-02-03 Glenn Morris <rgm@gnu.org>
17374 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17375 (image-animate-timeout): Doc fix.
17377 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17379 2012-02-02 Glenn Morris <rgm@gnu.org>
17381 * server.el (server-auth-dir): Doc fix.
17382 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17384 * subr.el (run-mode-hooks): Doc fix.
17386 2012-02-02 Juri Linkov <juri@jurta.org>
17388 * image-mode.el (image-toggle-display-image): Remove tautological
17389 `major-mode' from the `derived-mode-p' test.
17391 2012-02-02 Kenichi Handa <handa@m17n.org>
17393 * composite.el (compose-region): Cancel previous change.
17395 2012-02-02 Kenichi Handa <handa@m17n.org>
17397 * composite.el (compose-region, compose-string): Signal error for
17398 a null string component (Bug#6988).
17400 2012-02-01 Chong Yidong <cyd@gnu.org>
17402 * view.el (view-buffer-other-window, view-buffer-other-frame):
17403 Handle special modes like view-buffer (Bug#10650).
17404 (view-buffer): Simplify.
17406 * frame.el (set-frame-font): Tweak meaning of third argument.
17408 * dynamic-setting.el (font-setting-change-default-font):
17409 Use set-frame-font (Bug#9982).
17411 2012-02-01 Glenn Morris <rgm@gnu.org>
17413 * progmodes/compile.el (compilation-internal-error-properties):
17414 Respect compilation-first-column in the "*compilation*" buffer.
17416 * emacs-lisp/easy-mmode.el (define-minor-mode):
17417 Relax :variable's test for a named function.
17419 2012-01-31 Alan Mackenzie <acm@muc.de>
17421 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17424 2012-01-31 Chong Yidong <cyd@gnu.org>
17426 * frame.el (set-frame-font): New arg ALL-FRAMES.
17428 * menu-bar.el (menu-set-font): Use set-frame-font.
17430 * faces.el (face-spec-reset-face): Don't apply unspecified
17431 attribute values to the default face.
17433 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17435 * progmodes/cwarn.el (cwarn): Remove dead link.
17436 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17437 Remove * from defcustom docstrings.
17438 (turn-on-cwarn-mode): Make obsolete.
17439 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17440 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17442 2012-01-31 Glenn Morris <rgm@gnu.org>
17444 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17445 Fix :variable handling of mode a symbol not equal to modefun.
17446 Allow named functions to be used as the cdr of :variable.
17448 2012-01-30 Glenn Morris <rgm@gnu.org>
17450 * emacs-lisp/authors.el (authors-fixed-entries):
17451 Remove reference to deleted file rnewspost.el.
17453 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17455 * window.el (window-with-parameter): Remove unused variable `windows'.
17456 (window--side-check): Remove unused variable `code'.
17457 (window--resize-siblings): Remove unused variable `first'.
17458 (adjust-window-trailing-edge): Remove unused variable `failed'.
17459 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17460 Use `let', not `let*'.
17461 (balance-windows-2): Remove unused variable `found'.
17462 (window--state-put-2): Remove unused variable `splits'.
17463 (window-state-put): Remove unused variable `selected'.
17464 (same-window-p): Use `string-match-p'.
17465 (display-buffer-assq-regexp): Remove unused variable `value'.
17466 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17467 Mark argument ALIST as ignored.
17468 (pop-to-buffer): Remove unused variable `old-window'.
17470 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17472 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17473 and .lzma compressed files.
17475 2012-01-29 Chong Yidong <cyd@gnu.org>
17477 * frame.el (window-system-default-frame-alist): Doc fix.
17479 * dynamic-setting.el (font-setting-change-default-font): Don't
17480 change the default face if SET-FONT argument is non-nil (Bug#9982).
17482 2012-01-29 Samuel Bronson <naesten@gmail.com>
17484 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17486 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17488 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17489 breakpoints in files outside current directory (Bug#6098).
17491 2012-01-29 Chong Yidong <cyd@gnu.org>
17493 * progmodes/python.el: Require ansi-color at top-level.
17495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17496 Define and use in Emacs Lisp mode (Bug#9360).
17497 (lisp-mode-abbrev-table): Add doc.
17498 (lisp-mode-variables): Don't set local-abbrev-table.
17499 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17501 2012-01-28 Roland Winkler <winkler@gnu.org>
17503 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17505 2012-01-28 Roland Winkler <winkler@gnu.org>
17507 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17508 (bibtex-set-dialect): Use it. Either set global values of
17509 dialect-dependent variables or bind these variables buffer-locally
17511 (bibtex-mode): Call bibtex-set-dialect via
17512 hack-local-variables-hook.
17513 (bibtex-dialect): Update docstring.
17514 Add safe-local-variable predicate.
17515 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17516 bibtex-set-dialect.
17517 (bibtex-mode-map): Define menu for each dialect.
17518 (bibtex-entry): Fix docstring.
17520 2012-01-28 Chong Yidong <cyd@gnu.org>
17522 * eshell/esh-arg.el (eshell-quote-argument): New function.
17524 * eshell/esh-ext.el (eshell-invoke-batch-file):
17525 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17526 first arg to eshell-parse-command (Bug#10523).
17528 2012-01-28 Drew Adams <drew.adams@oracle.com>
17530 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17531 `default-directory' is non-nil.
17533 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17535 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17536 line that displays system-configuration-options. (Bug#9924)
17538 2012-01-28 Drew Adams <drew.adams@oracle.com>
17540 * descr-text.el (describe-char): Show information about POS, in
17541 addition to information about the character at POS. Improve and
17542 update the doc string. Change "code point" to "code point in
17543 charset", to avoid confusion with the character's Unicode code
17544 point shown above that. (Bug#10129)
17546 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17548 * descr-text.el (describe-char): Show the raw character, not only
17549 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17550 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17553 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17555 * emacs-lisp/package.el (package-install):
17556 Run package-refresh-contents if there is no archive yet (Bug#9798).
17558 2012-01-28 Chong Yidong <cyd@gnu.org>
17560 * emacs-lisp/package.el (package-maybe-load-descriptor):
17561 New function, split from package-maybe-load-descriptor.
17562 (package-maybe-load-descriptor): Use it.
17563 (package-download-transaction): Fully load required packages
17564 inside the loop, so that `require' calls work (Bug#10593).
17565 (package-install): No need to call package-initialize now.
17567 2012-01-28 Chong Yidong <cyd@gnu.org>
17569 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17571 * tooltip.el (tooltip-mode): Doc fix.
17572 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17574 * frame.el (set-cursor-color): Doc fix (Bug#352).
17576 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17577 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17579 * cus-edit.el (custom-buffer-create-internal): Fix search button
17580 action (Bug#10542).
17581 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17583 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17585 * dired.el (dired-mark-files-regexp):
17586 Include any subdirectory components. (Bug#10445)
17588 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17590 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17591 Handle [host]:port syntax. (Bug#10533)
17593 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17595 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17597 2012-01-26 Glenn Morris <rgm@gnu.org>
17599 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17600 * term.el (term-raw-escape-map): Use Control-X-prefix.
17601 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17603 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17605 * window.el (window-state-get, window--state-get-1): Don't deal
17606 with fixed-sizeness of windows. Simplify code.
17608 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17610 * window.el (window--state-get-1, window--state-put-2):
17611 Don't save and restore the mark.
17613 2012-01-25 Chong Yidong <cyd@gnu.org>
17615 * custom.el (custom-variable-p): Doc fix.
17617 2012-01-25 Glenn Morris <rgm@gnu.org>
17619 * dired.el (dired-goto-file): Handle some of the more common
17620 characters that `ls -b' escapes. (Bug#10596)
17622 * progmodes/compile.el (compilation-next-error-function):
17623 Respect compilation-first-column in the "*compilation*" buffer.
17624 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17626 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17628 2012-01-24 Glenn Morris <rgm@gnu.org>
17630 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17632 2012-01-24 Julien Danjou <julien@danjou.info>
17634 * color.el (color-rgb-to-hsl): Fix value computing.
17635 (color-hue-to-rgb): New function.
17636 (color-hsl-to-rgb): New function.
17637 (color-clamp, color-saturate-hsl, color-saturate-name)
17638 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17639 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17641 2012-01-24 Glenn Morris <rgm@gnu.org>
17643 * vc/vc-rcs.el (vc-rcs-create-tag):
17644 * vc/vc-sccs.el (vc-sccs-create-tag):
17645 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17647 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17649 * eshell/esh-util.el (eshell-read-hosts-file):
17650 Skip comment lines. (Bug#10549)
17652 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17654 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17656 * subr.el (display-delayed-warnings): Doc fix.
17657 (collapse-delayed-warnings): New function to collapse identical
17659 (delayed-warnings-hook): Add it.
17661 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17663 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17665 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17666 (tramp-default-user-alist): Don't add "pscp".
17667 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17668 property "login-as", if set. (Bug#10530)
17670 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17672 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17673 "plink1" and "psftp". (Bug#10530)
17675 2012-01-21 Kenichi Handa <handa@m17n.org>
17677 * international/mule-cmds.el (prefer-coding-system): Show a
17678 warning message if the default value of file-name-coding-system
17681 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17683 * windmove.el (windmove-reference-loc):
17684 Fix windmove-reference-loc miscalculation.
17686 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17688 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17691 2012-01-21 Glenn Morris <rgm@gnu.org>
17693 * international/mule.el (auto-coding-alist): Add .tbz.
17695 * files.el (local-enable-local-variables): Doc fix.
17696 (inhibit-local-variables-regexps): Rename from
17697 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17698 Doc fix. Add some extensions from auto-coding-alist.
17699 (inhibit-local-variables-suffixes):
17700 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17701 (inhibit-local-variables-p):
17702 New function, extracted from set-auto-mode-1.
17703 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17704 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17705 (hack-local-variables): Doc fix. Make the mode-only case
17706 respect enable-local-variables and friends.
17707 Respect inhibit-local-variables-regexps for file-locals, but
17708 not for directory-locals.
17709 (set-visited-file-name):
17710 Take account of inhibit-local-variables-regexps.
17711 Whether it applies may change as the file name is changed.
17712 * jka-cmpr-hook.el (jka-compr-install):
17713 * jka-compr.el (jka-compr-uninstall):
17714 Update for inhibit-first-line-modes-suffixes name change.
17716 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17718 * help-macro.el (make-help-screen): Temporarily restore original
17719 binding for minor-mode-map-alist (Bug#10454).
17721 2012-01-19 Julien Danjou <julien@danjou.info>
17723 * color.el (color-name-to-rgb): Use the white color to find the max
17724 color component value and return correctly computed values.
17725 (color-name-to-rgb): Add missing float conversion for max value.
17727 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17729 * window.el (window--state-get-1, window-state-get): Do not use
17730 special state value for window-persistent-parameters.
17731 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17732 (window--state-put-2): Reset all window parameters to nil before
17733 assigning values of persistent parameters.
17735 2012-01-18 Alan Mackenzie <acm@muc.de>
17737 Eliminate sluggishness and hangs in fontification of "semicolon
17740 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17741 Change value 10000 -> 3000.
17742 (c-state-safe-place): Reformulate so it doesn't stack up an
17743 infinite number of wrong entries in c-state-nonlit-pos-cache.
17744 (c-determine-limit-get-base, c-determine-limit): New functions to
17745 determine backward search limits disregarding literals.
17746 (c-find-decl-spots): Amend commenting.
17747 (c-cheap-inside-bracelist-p): New function which detects "={".
17749 * progmodes/cc-fonts.el
17750 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17752 (c-font-lock-declarations): Fix an occurrence of point being
17753 undefined. Check additionally for point being in a bracelist or
17754 near a macro invocation without a semicolon so as to avoid a
17755 fruitless time consuming search for a declarator. Give a more
17756 precise search limit for declarators using the new
17759 2012-01-18 Glenn Morris <rgm@gnu.org>
17761 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17762 (set-auto-mode): Doc fixes.
17764 2012-01-17 Glenn Morris <rgm@gnu.org>
17766 * isearch.el (search-nonincremental-instead): Fix doc typo.
17768 * dired.el (dired-insert-directory): Handle newlines in directory name.
17769 (dired-build-subdir-alist): Unescape newlines in directory name.
17771 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17773 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17774 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17775 (tramp-action-terminal): Use it. (Bug#10530)
17777 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17779 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17781 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17783 * window.el (window-state-ignored-parameters): Remove variable.
17784 (window--state-get-1): Rename argument MARKERS to IGNORE.
17785 Handle persistent window parameters. Make copy of clone-of
17786 parameter only if requested. (Bug#10348)
17787 (window--state-put-2): Install a window parameter only if it has
17788 a non-nil value or an existing parameter shall be overwritten.
17790 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17792 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17794 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17796 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17797 don't pass the (nil) value of `upnode' to string-match.
17799 2012-01-14 Chong Yidong <cyd@gnu.org>
17801 * startup.el (command-line): Fix X resource class for cursorColor.
17802 Fix values recognized by the cursorBlink resource.
17804 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17806 * epg.el (epg--make-temp-file): Avoid permission race condition
17807 when running on old Emacs versions (bug#10403).
17809 2012-01-14 Glenn Morris <rgm@gnu.org>
17811 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17813 2012-01-13 Alan Mackenzie <acm@muc.de>
17815 Fix filling for when filladapt mode is enabled.
17817 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17818 c-mask-paragraph, pass in `fill-paragraph' rather than
17819 `fill-region-as-paragraph'. (This is a reversion of a previous
17821 * progmodes/cc-mode.el (c-basic-common-init):
17822 Make fill-paragraph-handle-comment buffer local and set it to nil.
17824 2012-01-13 Glenn Morris <rgm@gnu.org>
17826 * dired.el (dired-switches-escape-p): New function.
17827 (dired-insert-directory): Use dired-switches-escape-p.
17828 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17830 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17832 2012-01-12 Glenn Morris <rgm@gnu.org>
17834 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17835 changes in adaptive-fill-regexp. (Bug#10276)
17837 2012-01-11 Alan Mackenzie <acm@muc.de>
17839 Fix Emacs bug #10463 - put `widen's around the critical spots.
17841 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17842 widen around each invocation of c-state-pp-to-literal. Remove an
17843 unused let variable.
17845 2012-01-11 Glenn Morris <rgm@gnu.org>
17847 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17850 2012-01-10 Chong Yidong <cyd@gnu.org>
17852 * net/network-stream.el (network-stream-open-starttls):
17853 Avoid emitting a confusing error message when the server gives a bad
17854 response to the capability command.
17856 2012-01-10 Glenn Morris <rgm@gnu.org>
17858 * mail/unrmail.el (unrmail): Tweak previous change.
17860 2012-01-09 Chong Yidong <cyd@gnu.org>
17862 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17864 2012-01-08 Alan Mackenzie <acm@muc.de>
17866 Optimize font locking in long enum definitions.
17868 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17869 arm to a cond form to handle enums.
17870 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17871 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17873 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17875 * files.el (move-file-to-trash): Preserve default file modes on error.
17878 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17880 * faces.el (set-face-attribute): Clarify the meaning of the nil
17883 * subr.el (with-selected-frame): Mention that the selected frame
17884 is restored (bug#9980).
17886 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17889 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17890 (password-read): Don't autoload unused function.
17892 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17894 * progmodes/which-func.el (which-func-mode): Turn into a
17895 non-interactive function and mark as obsolete (bug#10428).
17897 2012-01-06 Chong Yidong <cyd@gnu.org>
17899 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17900 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17901 functions, along with 1 and -1.
17903 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17905 * time.el (display-time-load-average)
17906 (display-time-default-load-average): Doc fixes. See the thread
17908 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17911 2012-01-06 Glenn Morris <rgm@gnu.org>
17913 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17914 has no messages. (Bug#10377)
17916 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17917 than Info-edit. (Bug#10385)
17919 * time.el (display-time-load-average, display-time-next-load-average):
17922 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17923 local setting of buffer-read-only to the input buffer. (Bug#10419)
17925 * calendar/calendar.el (calendar-mode):
17926 Locally set scroll-margin to 0. (Bug#10379)
17928 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17930 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17932 2012-01-05 Glenn Morris <rgm@gnu.org>
17934 * eshell/em-unix.el (diff-no-select): Autoload it.
17935 (eshell/diff): Use diff-no-select. (Bug#10420)
17937 2012-01-05 Chong Yidong <cyd@gnu.org>
17939 * shell.el (shell-dynamic-complete-functions): Revert last change.
17940 (shell-command-completion-function): New function.
17941 (shell-completion-vars): Use it to implement
17942 shell-completion-execonly (Bug#10417).
17944 * custom.el (enable-theme): Don't set custom-safe-themes.
17946 * cus-theme.el (custom-theme-merge-theme):
17947 Ignore custom-enabled-themes and custom-safe-themes.
17949 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17951 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17952 first prompt in `sql-interacive-mode'.
17953 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17955 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17956 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17957 context of original buffer. Invoke `sql-login-hook'.
17959 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17961 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17962 letters in cite-prefix.
17964 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17966 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17968 2012-01-03 Chong Yidong <cyd@gnu.org>
17970 * shell.el (shell-dynamic-complete-functions):
17971 Put pcomplete-completions-at-point, so as to try
17972 comint-filename-completion first (Bug#10417).
17974 2012-01-02 Richard Stallman <rms@gnu.org>
17976 * battery.el (battery-status-function):
17977 Detect when to use battery-yeeloong-sysfs.
17978 (battery-echo-area-format): Add string for Yeeloong.
17979 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17980 (battery-yeeloong-sysfs): New function.
17982 2012-01-02 Chong Yidong <cyd@gnu.org>
17984 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17985 (dirtrack): Merge code for handling relative filenames in prompt
17986 from shell-dir-cookie-watcher.
17987 (dirtrack-debug-message): New arg to avoid excess format calls.
17989 * shell.el (shell-dir-cookie-re): Variable deleted.
17990 (shell-dir-cookie-watcher): Function deleted.
17991 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17992 with dirtrack-mode.
17994 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17996 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17997 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18000 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18002 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18004 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18006 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18007 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18009 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18011 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18012 also for alternative shells.
18013 (tramp-open-connection-setup-interactive-shell): Check, whether
18014 the shell is a busybox.
18015 (tramp-send-command): Don't suppress multiple prompts for
18016 busyboxes, it hurts.
18018 2011-12-28 Chong Yidong <cyd@gnu.org>
18020 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18021 (gdb-get-source-file): Move mode line update to
18022 gdb-get-source-file (Bug#10087).
18024 2011-12-25 Chong Yidong <cyd@gnu.org>
18026 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18027 gud-gdb-marker-filter without taking it as an argument.
18028 (gud-gdb-run-command-fetch-lines): Caller changed.
18029 (gud-gdb-completion-function): New variable.
18030 (gud-gdb-completion-at-point): Use it.
18031 (gud-gdb-completions-1): Split from gud-gdb-completions.
18033 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18034 function as separate arguments.
18035 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18036 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18037 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18038 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18039 (gdb-stopped, def-gdb-auto-update-trigger)
18040 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18041 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18043 (gud-gdbmi-completions): New function.
18044 (gdb): Use it for generating the completion table.
18046 2011-12-24 Alan Mackenzie <acm@muc.de>
18048 Introduce a mechanism to widen the region used in context font
18049 locking. Use this to protect declarations from losing their contexts.
18051 * progmodes/cc-langs.el (c-before-font-lock-functions):
18052 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18053 (c-before-context-fontification-functions): New defvar, a list of
18054 functions to be run just before context (etc.) font locking.
18056 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18057 New, functionality extracted from
18058 c-neutralize-syntax-in-and-mark-CPP.
18059 (c-in-after-change-fontification): New variable.
18060 (c-after-change): Set c-in-after-change-fontification.
18061 (c-set-fl-decl-start): Rejig its interface, so it can be called
18062 from both after-change and context fontifying.
18063 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18065 (c-standard-font-lock-fontify-region-function): New variable.
18066 (c-font-lock-fontify-region): New function.
18068 2011-12-24 Juri Linkov <juri@jurta.org>
18070 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18073 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18075 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18076 existence of source file. (Bug#10325)
18078 2011-12-23 Alan Mackenzie <acm@muc.de>
18080 Fix unstable fontification inside templates.
18082 * progmodes/cc-langs.el (c-before-font-lock-functions):
18083 Newly created from the singular version. The (c c++ objc) entry now
18084 additionally has c-set-fl-decl-start. The other languages (apart
18085 from AWK) have that as a single entry.
18087 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18088 The functionality for "local" declarations has been extracted to
18089 c-set-fl-decl-start.
18091 * progmodes/cc-mode.el (c-common-init, c-after-change):
18092 Changes due to pluralisation of c-before-font-lock-functions.
18093 (c-set-fl-decl-start): New function, extracted from
18094 c-font-lock-enclosing-decls and enhanced.
18096 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18098 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18100 2011-12-22 Juri Linkov <juri@jurta.org>
18102 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18104 2011-12-22 Chong Yidong <cyd@gnu.org>
18106 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18108 2011-12-21 Drew Adams <drew.adams@oracle.com>
18110 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18112 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18114 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18116 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18118 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18119 highlighting and support. Fix up comments for capitalization.
18120 (cfengine-mode-debug): New var.
18121 (cfengine3-mode): Change the modeline indicator to "CFE3".
18122 (cfengine3-font-lock-keywords): Improve defun highlighting.
18123 (cfengine2-actions): Rename from `cfengine-actions'.
18124 (cfengine2-font-lock-keywords): Rename from
18125 `cfengine-font-lock-keywords'.
18126 (cfengine2-imenu-expression): Rename from
18127 `cfengine-imenu-expression'.
18128 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18129 (cfengine2-beginning-of-defun): Rename from
18130 `cfengine-beginning-of-defun'.
18131 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18132 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18133 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18134 modeline indicator to "CFE2".
18135 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18136 (cfengine-mode-abbrevs): Mark obsolete.
18138 2011-12-21 Chong Yidong <cyd@gnu.org>
18140 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18143 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18145 * window.el (window-normalize-buffer-to-display): Remove.
18146 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18148 2011-12-19 Chong Yidong <cyd@gnu.org>
18150 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18151 Don't signal an error in a predicate function; return non-nil.
18152 (vc-dir-mark-file): Move the error here.
18153 (vc-dir-mark-unmark): If acting on the region, keep going if one
18154 of the entries cannot be marked/unmarked.
18155 (vc-dir-mark-all-files): If current entry is a directory, mark
18156 only child files, as documented.
18158 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18160 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18161 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18164 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18166 * term/ns-win.el (ns-get-selection-internal)
18167 (ns-store-selection-internal): Declare.
18168 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18169 Declare as obsolete.
18170 (ns-get-pasteboard, ns-paste-secondary):
18171 Use ns-get-selection-internal.
18172 (ns-set-pasteboard, ns-copy-including-secondary):
18173 Use ns-store-selection-internal.
18175 2011-12-17 Chong Yidong <cyd@gnu.org>
18177 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18178 (vc-deduce-fileset): Doc fix.
18180 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18182 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18184 2011-12-13 Sam Steingold <sds@gnu.org>
18186 * man.el (Man-getpage-in-background): When running under a
18187 window-system, ignore $MANWIDTH and $COLUMNS.
18189 2011-12-15 Kenichi Handa <handa@m17n.org>
18191 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18192 (setup-ethiopic-environment-internal): Comment out key-binding for
18193 ethio-toggle-punctuation.
18195 2011-12-13 Alan Mackenzie <acm@muc.de>
18197 Add the switch statement to AWK Mode.
18199 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18200 "default" to the keywords regexp.
18202 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18203 expression as the rest.
18204 (c-nonlabel-token-key): Allow string literals for AWK.
18205 Refactor for the other modes.
18207 Large brace-block initialisation makes CC Mode slow: Fix.
18208 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18209 routines. Limit backward searching in c-font-lock-enclosing.decl.
18211 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18212 pp-state and literal type in addition to the limits.
18213 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18214 (c-state-literal-at): Use the above new defun.
18215 (c-slow-in-literal, c-fast-in-literal): Remove.
18216 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18218 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18219 being in a literal. Add a limit for backward searching.
18221 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18224 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18226 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18228 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18230 * window.el (delete-other-windows): Use correct frame in call to
18231 window-with-parameter.
18233 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18235 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18236 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18237 (makefile-gmake-statements, makefile-makepp-statements):
18238 Use it and add new makepp keywords.
18239 (makefile-makepp-font-lock-keywords): Add new patterns.
18240 (makefile-match-function-end): Match new [...] and [[...]].
18242 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18244 * ses.el (ses-call-printer-return, ses-cell-property-get)
18245 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18246 (ses-create-cell-variable, ses-reset-header-string)
18247 (ses-cell-set-formula, ses-repair-cell-reference-all)
18248 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18249 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18250 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18251 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18252 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18253 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18254 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18255 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18256 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18257 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18258 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18259 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18261 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18263 * ses.el: The overall change is to add cell renaming, that is
18264 setting fancy names for cell symbols other than name matching
18265 "\\`[A-Z]+[0-9]+\\'" regexp .
18266 (ses-create-cell-variable): New defun.
18267 (ses-relocate-formula): Relocate formulas only for cells the
18268 symbols of which are not renamed, i.e. symbols whose names do not
18269 match regexp "\\`[A-Z]+[0-9]+\\'".
18270 (ses-relocate-all): Relocate values only for cells the symbols of
18271 which are not renamed.
18272 (ses-load): Create cells variables as the (ses-cell ...) are read,
18273 in order to check row col consistency with cell symbol name only
18274 for cells that are not renamed.
18275 (ses-replace-name-in-formula): New defun.
18276 (ses-rename-cell): New defun.
18278 2011-12-11 Chong Yidong <cyd@gnu.org>
18280 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18281 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18283 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18285 * window.el (other-window): Fix docstring.
18287 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18289 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18290 `from' or `to' address before taking its substring.
18291 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18292 encoded name is chopped in the middle of the encoded string, and
18293 thus displayed encoded.
18295 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18297 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18299 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18301 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18302 to use texinfo-update-node and commands that call it if the
18303 Texinfo file uses @node lines without next/prev/up pointers.
18304 Correct outdated description about texinfo-master-menu.
18305 (texinfo-all-menus-update, texinfo-master-menu)
18306 (texinfo-update-node, texinfo-every-node-update)
18307 (texinfo-multiple-files-update): Doc fix. Warn against updating
18308 all the @node lines.
18309 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18310 argument is numeric. Explain better in the doc string what the
18311 function really does.
18312 (texinfo-insert-master-menu-list): Improve the error message
18313 displayed if there's no menu in the Top node.
18314 (Bug#2975) See also this thread:
18315 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18317 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18319 * speedbar.el (speedbar-supported-extension-expressions):
18320 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18322 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18324 * printing.el (pr-mode-alist):
18325 * simple.el (filter-buffer-substring-functions)
18326 (completion-list-insert-choice-function):
18327 * window.el (window-with-parameter, window-atom-root)
18328 (window-sides-slots, window-size-fixed, window-min-delta)
18329 (window-max-delta, window--resize-mini-window)
18330 (window--resize-child-windows-normal, window-tree)
18331 (delete-other-windows, quit-window, split-window)
18332 (display-buffer-record-window, special-display-buffer-names)
18333 (special-display-regexps, special-display-popup-frame)
18334 (same-window-p, split-window-sensibly)
18335 (display-buffer-overriding-action, display-buffer-alist)
18336 (display-buffer-base-action, display-buffer, switch-to-buffer)
18337 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18338 (fit-window-to-buffer, recenter-positions)
18339 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18340 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18341 and remove unneeded backslashes in docstrings.
18343 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18345 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18347 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18348 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18350 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18351 when reading the makefile (bug#10116).
18353 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18355 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18358 2011-12-06 Glenn Morris <rgm@gnu.org>
18360 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18362 2011-12-06 Chong Yidong <cyd@gnu.org>
18364 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18366 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18368 * textmodes/table.el (table-shorten-cell): Fix typo.
18370 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18372 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18374 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18376 * descr-text.el (describe-char): Fix display of strong
18377 right-to-left characters and directional embeddings and overrides.
18379 * simple.el (what-cursor-position): Fix display of codepoints of
18380 strong right-to-left characters.
18382 2011-12-05 Chong Yidong <cyd@gnu.org>
18384 * faces.el (read-color): Doc fix.
18386 2011-12-05 Glenn Morris <rgm@gnu.org>
18388 * align.el (align--set-marker): Add doc-string.
18389 Don't try to move something that is not a marker. (Bug#10216)
18391 2011-12-04 Glenn Morris <rgm@gnu.org>
18393 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18394 overly zealous deletion of trailing whitespace.
18396 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18398 * server.el (server-delete-client): On Windows, do not try to delete
18400 (server-process-filter): On Windows, treat requests for a tty frame as
18401 if they were for a GUI frame if the running server is in GUI mode.
18403 2011-12-03 Glenn Morris <rgm@gnu.org>
18405 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18407 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18409 * electric.el: Streamline electric-indent's hook.
18410 (electric-indent-chars): Revert to simple list.
18411 (electric-indent-functions): New var.
18412 (electric-indent-post-self-insert-function): Use it.
18414 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18415 there's no inferior buffer (bug#10196).
18416 (prolog-consult-compile): Don't use toggle-read-only.
18418 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18420 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18421 interrupt. (Bug#10187)
18423 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18425 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18428 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18431 2011-12-02 Juri Linkov <juri@jurta.org>
18433 * info.el (Info-search): Display "end of manual" when Isearch
18434 reaches the end of single-file Info manual. (Bug#9918)
18436 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18438 * isearch.el (isearch-message-prefix): Run the input method part
18439 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18441 2011-12-02 Juri Linkov <juri@jurta.org>
18443 * isearch.el (isearch-occur): Use `word-search-regexp' for
18445 (isearch-search-and-update): Add condition for `isearch-word' and
18446 call `word-search-regexp'. (Bug#10145)
18448 2011-12-01 Glenn Morris <rgm@gnu.org>
18450 * eshell/em-hist.el (eshell-hist-initialize):
18451 Handle eshell-history-size nil and HISTSIZE set or unset.
18452 (eshell-history-file-name, eshell-history-size): Fix custom type.
18454 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18456 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18458 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18460 * progmodes/verilog-mode.el (verilog-pretty-expr):
18461 Rework verilog-pretty-expr to handle new assignment operators in system
18462 verilog, such as += *= and the like.
18463 (verilog-assignment-operator-re): Regular expression to find the
18464 assigment operator in a verilog assignment.
18465 (verilog-assignment-operation-re): Regular expression to find an
18466 assignment statement for pretty-expr.
18467 (verilog-in-attribute-p): Query returns true if point is in an
18468 attribute context; used to skip these for expression line up from
18470 (verilog-in-parameter-p): Query returns true if point is in an
18471 parameter definition context; used to skip these for expression
18472 line up from pretty-expr.
18473 (verilog-in-parenthesis-p): Query returns true if point is in a
18474 parenthetical expression, specifically ( ) but not [ ] or { };
18475 used by pretty-expr.
18476 (verilog-just-one-space): If there is no space, don't add one.
18477 (verilog-get-lineup-indent-2): Specifically skip just attribute
18478 contexts for expression lineup, rather than skipping all
18479 parenthetical expressions.
18480 (verilog-calculate-indent): Fix comment, and fix indent.
18481 (verilog-do-indent): Indent declarations in lists (suggested by
18483 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18485 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18488 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18490 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18491 parameters with embedded comments. Reported by Ray Stevens.
18492 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18493 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18494 Reported by Tim Holt.
18495 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18496 instantiated by upper module causing wrong expansion until AUTOed a
18497 second time. Reported by K C Buckenmaier.
18498 (verilog-diff-auto): Fix showing .* as a difference when
18499 `verilog-auto-star-save' off. Reported by Dan Dever.
18500 (verilog-auto-reset, verilog-read-always-signals)
18501 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18502 temporary signals in reset list if
18503 verilog-auto-reset-blocking-in-non is nil, and match assignment
18504 style to each signal's assignment type, bug381.
18505 Reported by Thomas Esposito.
18506 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18507 (verilog-uvm-statement-re): Support UVM indentation and
18508 highlighting, with old OVM keywords only.
18509 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18510 Support AUTOTIEOFF creating non-wire data types.
18511 Suggested by Jonathan Greenlaw.
18512 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18513 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18514 (verilog-inject-sense, verilog-read-inst-pins)
18515 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18516 Fix mismatching parenthesis inside commented out code when deleting
18517 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18518 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18519 non-numeric vector width. Reported by Alex Reed.
18520 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18521 detecting signals with parameter widths. Reported by Alex Reed.
18522 (verilog-auto-delete-trailing-whitespace):
18523 With `verilog-auto-delete-trailing-whitespace' remove trailing
18524 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18525 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18526 Fix verilog-scan-cache corruption when running user AUTO expansion
18527 hooks that call indentation routines.
18528 (verilog-simplify-range-expression): Fix typo ignoring lower case
18530 (verilog-delete-auto): Fix delete-autos to also remove user created
18531 automatics, as long as they start with AUTO.
18532 (verilog-batch-diff-auto, verilog-diff-auto)
18533 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18534 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18535 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18536 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18537 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18538 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18539 is disabled and its cache will get corrupt, causing AUTOS not to
18540 expand. Instead use only -quick functions.
18541 (verilog-scan-region): Fix scanning over escaped quotes.
18542 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18543 (verilog-re-search-backward-quick)
18544 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18545 related functions now ignore strings, to fix misparsing of strings
18546 with magic comments embedded in them.
18547 (verilog-read-auto-template):
18548 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18549 Reported by Brad Dobbie.
18550 (verilog-read-auto-template):
18551 Fix 'verilog-auto-inst-template-numbers' with comments.
18552 Reported by Brad Dobbie.
18553 (verilog-auto-inst, verilog-auto-inst-param)
18554 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18555 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18556 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18557 debugging templates without merge conflicts, bug357.
18558 Reported by Brad Dobbie.
18559 (verilog-read-auto-template):
18560 Fix verilog-auto-inst-template-numbers with multiple templates.
18561 Reported by Brad Dobbie.
18562 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18563 abbrevs so user won't be asked to save.
18564 (verilog-read-auto-lisp-present): Fix to start at beginning of
18565 buffer in case called outside of verilog-auto.
18566 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18567 to "X-2". Reported by Matthew Myers.
18568 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18569 all inputs from module templates. Reported by Leith Johnson.
18570 (verilog-module-inside-filename-p): Fix locating programs as with
18572 (verilog-auto-inst-port): Fix vl-width expressions when using
18573 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18574 (verilog-decls-get-regs, verilog-decls-get-signals,
18575 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18576 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18577 verilog-read-decls): Combine reg and wire structures into one var
18578 structure to represent SystemVerilog concepts.
18579 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18580 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18581 (verilog-auto-wire-type, verilog-insert-definition):
18582 Add verilog-auto-wire-type and AUTOLOGIC to support using
18583 SystemVerilog "logic" keyword instead of "wire"/"reg".
18584 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18585 to declares outputs that also have assignments (presumably in an
18586 ifdef or generate if so there's not a driver conflict).
18587 Reported by Matthew Myers.
18588 (verilog-auto-declare-nettype, verilog-insert-definition):
18589 Add verilog-auto-declare-nettype to fix declarations using
18590 `default_nettype none. Reported by Julian Gorfajn.
18591 (verilog-read-always-signals-recurse, verilog-read-decls)
18592 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18593 malformed end statement, bug325. Reported by Joshua Wise and
18595 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18596 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18597 when expanding .* in interfaces, bug320.
18598 Reported by Pierre-David Pfister.
18599 (verilog-read-module-name): Fix import statements between module
18600 name and open parenthesis, bug317.
18601 Reported by Pierre-David Pfister.
18602 (verilog-simplify-range-expression): Fix simplification of
18603 multiplications inside AUTOWIRE connections, bug303.
18604 (verilog-auto-inst-port): Support parameter expansion in
18605 multidimensional arrays.
18606 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18607 after "assert property". Reported by Julian Gorfajn.
18608 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18609 with multiplication, bug303.
18610 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18611 Reported by Jan Frode Lonnum.
18613 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18615 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18616 (hfy-shell-file-name, hfy-shell):
18617 * international/fontset.el (x-decompose-font-name): Fix typos.
18619 2011-11-29 Ken Brown <kbrown@cornell.edu>
18621 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18622 (gdb-version): Remove defvar.
18623 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18624 (gdb-gud-context-command, gdb-non-stop-handler)
18625 (gdb-current-context-command, gdb-stopped): Use it.
18626 (gdb-init-1): Enable pretty printing here.
18627 (gdb-non-stop-handler): Don't enable pretty-printing here.
18628 Check to see if the target supports non-stop mode; if not, turn off
18629 non-stop mode. Use the following.
18630 (gdb-check-target-async): New defun.
18631 (gud-watch, gdb-stopped): Fix whitespace.
18632 (gdb-get-source-file): Don't try to display the source file if
18633 `gdb-main-file' is nil.
18635 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18637 * align.el: Try to generate fewer markers (bug#10047).
18638 (align--set-marker): New macro.
18639 (align-region): Use it.
18641 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18643 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18645 2011-11-29 Chong Yidong <cyd@gnu.org>
18647 * indent.el (indent-for-tab-command, indent-according-to-mode):
18649 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18651 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18653 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18654 aware of remote file names. (Bug#10124)
18656 2011-11-29 Chong Yidong <cyd@gnu.org>
18658 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18660 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18662 * files.el (find-file): Don't use force-same-window (bug#10144).
18663 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18664 use pop-to-buffer if the selected window can't be used.
18665 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18667 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18669 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18672 2011-11-28 Chong Yidong <cyd@gnu.org>
18674 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18676 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18678 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18679 gdb-get-source-file-list on gdb-create-source-file-list.
18681 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18683 * whitespace.el (whitespace-newline): Use a different foreground
18684 color for 16-color light-background displays.
18686 2011-11-24 Chong Yidong <cyd@gnu.org>
18688 * window.el (display-buffer--special-action): Doc fix.
18690 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18692 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18693 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18694 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18695 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18696 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18697 (avl-tree-stack-first):
18698 * emacs-lisp/cconv.el (cconv--analyse-use):
18699 * net/gnutls.el (gnutls-negotiate): Fix typos.
18701 2011-11-24 Glenn Morris <rgm@gnu.org>
18703 * lpr.el (lpr-windows-system, lpr-lp-system):
18704 * mail/binhex.el (binhex-begin-line):
18705 * progmodes/grep.el (grep-history, grep-find-history):
18706 * textmodes/flyspell.el:
18707 * vc/pcvs-defs.el (cvs-global-menu):
18708 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18709 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18710 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18712 * net/tls.el: Fix case of "GnuTLS".
18714 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18716 * version.el (emacs-build-system): Give it a doc-string.
18718 2011-11-24 Juri Linkov <juri@jurta.org>
18720 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18722 2011-11-24 Glenn Morris <rgm@gnu.org>
18724 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18725 if called on a non-mime message just toggle the headers. (Bug#8006)
18727 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18729 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18730 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18731 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18732 (allout-rebullet-heading, allout-open-sibtopic)
18733 (allout-toggle-current-subtree-encryption)
18734 (allout-toggle-subtree-encryption, allout-encrypt-string)
18735 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18736 (allout-distinctive-bullets-string, allout-auto-activation):
18737 * window.el (window-normalize-buffer-to-display):
18738 * progmodes/verilog-mode.el (verilog-batch-indent):
18739 * textmodes/bibtex.el (bibtex-field-braces-opt)
18740 (bibtex-field-strings-opt):
18741 * vc/cvs-status.el (cvs-tree-merge):
18744 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18746 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18747 `non-essential' to t, in order to avoid remote connections.
18749 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18751 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18752 On MS-DOS and MS-Windows, compare with loaddefs.el
18753 case-insensitively.
18755 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18757 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18759 2011-11-23 Glenn Morris <rgm@gnu.org>
18761 * paths.el (rmail-file-name): Reformat the doc-string so that it
18764 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18765 (rmail-auto-file): Ignore case in the "special" field names,
18766 as mail-fetch-field does for all others.
18768 * mail/rmail.el (rmail-forward):
18769 * mail/rmailkwd.el (rmail-set-label):
18770 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18771 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18773 * mail/rmail.el (rmail-current-message): Doc fix.
18775 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18777 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18779 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18781 2011-11-22 Glenn Morris <rgm@gnu.org>
18783 * mail/rmailmm.el (test-rmail-mime-handler)
18784 (test-rmail-mime-bulk-handler)
18785 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18787 2011-11-21 Juri Linkov <juri@jurta.org>
18789 * calc/calc.el (calc-read-key-sequence):
18790 Let-bind `input-method-function' to nil. (Bug#10018)
18792 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18794 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18795 Tell the caller that the next line needs recomputation, even
18796 though it doesn't start a sexp (bug#10094).
18798 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18800 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18802 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18804 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18805 Use force-same-window.
18807 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18809 * descr-text.el (describe-char-unicode-data):
18810 * json.el (json-string-escape):
18811 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18812 (Footnote-unicode, Footnote-style-p):
18813 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18815 2011-11-20 Chong Yidong <cyd@gnu.org>
18817 * window.el (replace-buffer-in-windows): Restore interactive spec.
18819 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18821 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18823 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18824 (byte-compile-global-not-obsolete-vars): New var.
18825 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18827 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18829 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18831 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18832 * progmodes/pascal.el (electric-pascal-equal):
18833 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18834 * xml.el (xml-substitute-special): Fix typos.
18836 2011-11-20 Glenn Morris <rgm@gnu.org>
18838 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18839 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18841 (rmail-decode-mime-charset): Mark as obsolete.
18843 * mail/rmailsum.el (rmail-message-regexp-p-1):
18844 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18845 Before using mime functions, check they are set. (Bug#10077)
18847 2011-11-19 Juri Linkov <juri@jurta.org>
18849 * info.el (Info-finder-find-node): Use `package--builtins' instead
18850 of `package-alist'. Use node names formed by the pattern "Keyword "
18851 and the keyword name.
18853 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18855 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18857 2011-11-19 Juri Linkov <juri@jurta.org>
18859 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18860 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18861 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18862 `old-history', `old-history-forward'. Add let-binding
18863 `window-selected'. Remove calls to `kill-buffer',
18864 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18865 before calling `Info-find-node', so `Info-find-node-2' will reread
18866 the Info file. Restore window positions only when `window-selected'
18869 2011-11-19 Juri Linkov <juri@jurta.org>
18871 * isearch.el (isearch-lazy-highlight-new-loop):
18872 Remove condition `(not isearch-error)'. (Bug#9918)
18874 * misearch.el (multi-isearch-search-fun): Add condition
18875 `(not bound)' to ignore lazy-highlighting search.
18876 Add the search-failed message "end of multi" when the end of
18877 multi-sequence is reached. Uncapitalize the search-failed
18878 message "Repeat for next buffer".
18880 * info.el (Info-search): Add the search-failed message
18881 "end of the manual" when the end of the manual is reached
18884 2011-11-19 Juri Linkov <juri@jurta.org>
18886 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18887 Use non-destructive `remove' instead of `delete' because
18888 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18889 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18891 2011-11-19 Juri Linkov <juri@jurta.org>
18893 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18894 to nil instead of binding `search-ring' and `regexp-search-ring'.
18897 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18899 * simple.el (line-move): Force movement by logical lines for any
18900 hscrolled window, not only when auto-hscroll-mode is on.
18901 (line-move-visual): Update doc string to that effect. (Bug#10076)
18903 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18905 * language/european.el (macintosh): Define as alias for mac-roman.
18907 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18909 * mail/rmailmm.el (rmail-mime-display-header)
18910 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18911 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18912 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18913 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18914 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18916 (rmail-mime-entity-segment): To get past the tagline, move forward
18917 2 more lines, to account for the 2 empty lines that precede and
18918 follow the line with the buttons.
18919 (rmail-mime-update-tagline): Move one more line, to get past the
18920 empty line that follows the buttons in the tagline. (Bug#9520)
18922 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18924 * window.el (window-max-delta-1, window-min-delta-1)
18925 (window-min-size-1, window-state-get-1, window-state-put-1)
18926 (window-state-put-2): Use "window--" prefix.
18928 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18930 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18931 (smie-warning-count): New var.
18932 (smie-set-prec2tab): Use it.
18933 (smie-bnf->prec2): Improve warnings. Add docstring.
18934 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18935 (smie-bnf--set-class): New function.
18936 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18939 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18940 (compilation-error-properties, compilation-move-to-column):
18941 Handle compilation-first-column while in the target buffer.
18943 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18944 Don't hardcode point-min==1.
18946 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18947 (eshell-rewrite-for-command): Remove workaround.
18948 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18949 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18950 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18952 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18954 2011-11-17 Glenn Morris <rgm@gnu.org>
18956 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18957 Ignore buffer-local generated-autoload-file if it is the same
18958 as the global value. (Bug#10049)
18960 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18962 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18963 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18964 (reftex-toc-previous-heading, reftex-toc-max-level)
18965 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18966 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18967 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18968 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18969 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18970 (reftex-toc-rename-label, reftex-toc-visit-location)
18971 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18972 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18973 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18974 leaving "*toc*" only for references to the buffer.
18976 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18978 * window.el (window-resize, delete-window, split-window):
18979 Replace window-splits by window-combination-resize.
18980 * cus-start.el (window-splits): Replace by window-combination-resize.
18982 2011-11-17 Glenn Morris <rgm@gnu.org>
18984 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18985 Make bash entry derive from sh entry, not shell entry.
18987 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18989 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18992 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18994 * menu-bar.el (menu-bar-file-menu):
18995 * printing.el (pr-ps-utility):
18996 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18997 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18998 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18999 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19000 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19001 (icalendar--convert-cyclic-to-ical)
19002 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19003 (icalendar--convert-ical-to-diary)
19004 (icalendar--convert-recurring-to-diary)
19005 (icalendar--convert-non-recurring-all-day-to-diary)
19006 (icalendar-import-format-sample):
19007 * progmodes/idlw-shell.el (idlwave-shell-mode):
19008 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19009 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19010 (vhdl-ps-print-init): Fix typos.
19012 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19014 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19015 FSF and collapse date sequence, obscure author/maintainer email address
19016 better, remove extra version line, track relocation of author's webpage.
19018 * progmodes/python.el (python-pdbtrack-input-prompt)
19019 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19020 regular python pdb prompts. Adjustments shamelessly taken exactly as
19021 suggested in EmacsWiki page (tiny change):
19022 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19024 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19026 * expand.el (expand-pos, expand-index, expand-point):
19027 Remove redundant info from docstring.
19028 (expand-add-abbrevs): Doc fix.
19029 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19030 (expand-sample-perl-mode-expand-list): Fix typos.
19032 * net/dbus.el (dbus-event-member-name):
19033 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19034 * term/pc-win.el (msdos-create-frame-with-faces):
19035 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19037 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19039 * window.el (split-window, window-state-get-1)
19040 (window-state-put-1, window-state-put-2): Rename occurrences of
19041 window-nest to window-combination-limit.
19042 * cus-start.el (window-nest): Rename to window-combination-limit.
19044 2011-11-16 Chong Yidong <cyd@gnu.org>
19046 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19047 regexp (Bug#10033).
19049 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19051 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19052 `completing-read' will remove *Completions* and will preserve
19053 current-buffer for us.
19054 (tmm-add-prompt): Users of *Completions* will always (re)set its
19056 (tmm-old-comp-map): Remove.
19058 2011-11-16 Glenn Morris <rgm@gnu.org>
19060 * mail/rmailedit.el: Require rmailmm when compiling.
19061 (rmail-old-mime-state): New declaration.
19062 (rmail-edit-current-message): If editing a mime message,
19063 edit the "raw" message from the mbox buffer.
19064 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19066 2011-11-15 Glenn Morris <rgm@gnu.org>
19068 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19069 which wasn't being used. Add optional arg to force given state.
19070 (rmail-mime): Add optional arg to force given state.
19072 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19074 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19075 * frame.el (display-mm-dimensions-alist):
19076 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19077 (outline-move-subtree-down):
19078 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19079 (newsticker--treeview-do-get-node):
19080 * net/quickurl.el (quickurl-list-buffer-name):
19081 * progmodes/dcl-mode.el (dcl-mode):
19082 * progmodes/gdb-mi.el (gdb-mapcar*):
19083 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19085 2011-11-15 Glenn Morris <rgm@gnu.org>
19087 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19088 in a boolean sense, so just make it a boolean, and fix the doc.
19089 (rmail-show-mime-function, rmail-mime-feature)
19090 (rmail-require-mime-maybe): Doc fixes.
19091 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19093 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19095 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19097 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19098 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19099 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19100 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19102 2011-11-15 Glenn Morris <rgm@gnu.org>
19104 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19105 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19106 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19107 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19108 (rmail-mime, rmail-show-mime): Doc fixes.
19110 * term/ns-win.el (mode-line-frame-identification):
19111 Leave it alone. (Bug#10051)
19113 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19115 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19116 Handle empty buffers. (Bug#9978)
19118 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19120 * international/mule.el (define-charset):
19121 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19122 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19123 * progmodes/verilog-mode.el (verilog-backward-token):
19124 * textmodes/ispell.el (lookup-words):
19125 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19127 2011-11-14 Glenn Morris <rgm@gnu.org>
19129 * progmodes/executable.el
19130 (executable-make-buffer-file-executable-if-script-p):
19131 Handle file-modes returning nil.
19133 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19134 message - not necessary, and causes problems. (Bug#9831)
19136 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19138 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19140 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19141 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19142 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19144 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19146 * window.el (window-resize, delete-window): Use window-splits
19147 variable instead of function.
19148 (window-state-get-1, window-state-put-2, window-state-put):
19149 Don't deal with windows' splits status.
19151 2011-11-12 Glenn Morris <rgm@gnu.org>
19153 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19154 (apropos-documentation): Doc fixes.
19156 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19158 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19159 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19161 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19163 * electric.el (electric-indent-post-self-insert-function): Make it
19164 possible for a char to only indent in some circumstances.
19165 (electric-indent-mode): Simplify.
19167 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19169 * window.el (windows-with-parameter): Remove unused function.
19170 (windows-at-side): Rename to window-at-side-list.
19171 (window-check, window-atom-check, window-atom-check-1)
19172 (window-side-check, window-size-ignore, window-size-fixed-1)
19173 (window-in-direction-2): Prefix with "window--".
19174 (window-tree-1): Rename to window--subtree, fix doc-string.
19176 2011-11-11 Glenn Morris <rgm@gnu.org>
19178 * subr.el (eval-after-load): If FILE is already loaded,
19179 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19181 2011-11-10 Glenn Morris <rgm@gnu.org>
19183 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19184 Call svn via vc-svn-command rather than vc-do-command.
19185 (vc-svn-command): Add --non-interactive. (Bug#9993)
19186 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19188 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19189 Add toggle-read-only. (Bug#7292)
19190 * files.el (toggle-read-only): Mention that it should only
19191 be used interactively. (Bug#10006)
19193 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19195 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19196 Adjust regexp for OCaml warnings.
19198 * electric.el (electric-pair-post-self-insert-function): Let user
19199 turn it off buffer-locally (bug#9932).
19201 * progmodes/python.el (python-beginning-of-statement):
19202 Rewrite (bug#2703).
19204 * progmodes/compile.el: Better handle TABs (bug#9749).
19205 (compilation-internal-error-properties)
19206 (compilation-next-error-function): Obey the target buffer's
19207 compilation-error-screen-columns.
19209 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19211 * progmodes/meta-mode.el: Remove obsolete comments.
19212 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19213 Fix typos in docstrings.
19215 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19217 * window.el (window-size-fixed-p): Rewrite doc-string.
19218 (window-resizable-p): Rename to window--resizable-p. Update callers.
19219 (window--resizable): New function. Make all callers of
19220 window-resizable call window--resizable instead.
19221 (window-resizable): Rewrite in terms of window--resizable.
19223 2011-11-08 Glenn Morris <rgm@gnu.org>
19225 * progmodes/delphi.el (delphi-mode-syntax-table):
19226 Let define-derived-mode define a proper syntax table. (Bug#9994)
19228 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19230 * window.el: Stay away from defsubst.
19231 (window-list-no-nils): Remove.
19232 (window-state-get-1, window-state-get): Use backquote instead.
19234 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19236 * emacs-lisp/find-func.el (find-function-read):
19237 Fix incorrect use of default argument in `completing-read'.
19239 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19241 * window.el (display-buffer-function, special-display-function):
19242 Mention display-buffer-record-window but do not mention
19243 help-setup parameter in doc-strings.
19244 (window-min-delta): Fix doc-string typo.
19246 2011-11-08 Chong Yidong <cyd@gnu.org>
19248 * window.el (window-total-height, window-total-width): Doc fix.
19249 (window-body-size): Move from C.
19250 (window-body-height, window-body-width): Move to C.
19252 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19254 * window.el: Make special-display like display-buffer-alist (bug#9532).
19255 (display-buffer--special-action): New function, morphed
19256 from display-buffer--special.
19257 (display-buffer): Use it to handle special-display-buffers at higher
19258 priority (just after display-buffer-alist).
19259 (display-buffer-fallback-action, display-buffer--other-frame-action)
19260 (pop-to-buffer-same-window): Remove display-buffer--special.
19262 2011-11-07 Glenn Morris <rgm@gnu.org>
19264 * calendar/cal-menu.el (cal-menu-set-date-title):
19265 Do nothing if not in a calendar. (Bug#9976)
19267 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19269 * files.el (find-file): Always use selected-window.
19271 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19273 * window.el (window-combinations): Make WINDOW argument
19274 mandatory. Rewrite doc-string.
19275 (walk-window-subtree, window-atom-check, window-min-delta)
19276 (window-max-delta, window--resize-this-window)
19277 (window--resize-root-window-vertically, window-tree)
19278 (balance-windows, window-state-put): Rewrite doc-strings as to
19279 not mention the term "subwindow".
19280 (window--resize-subwindows-skip-p): Rename to
19281 window--resize-child-windows-skip-p.
19282 (window--resize-subwindows-normal): Rename to
19283 window--resize-child-windows-normal.
19284 (window--resize-subwindows): Rename to
19285 window--resize-child-windows.
19286 (window-or-subwindow-p): Rename to window--in-subtree-p.
19288 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19290 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19291 Ensure that mbox format messages end in two newlines (Bug#9974).
19293 2011-11-06 Chong Yidong <cyd@gnu.org>
19295 * window.el (window-combination-p): Function deleted; its
19296 side-effect is not used in any existing code.
19297 (window-combinations, window-combined-p): Call window-*-child
19300 2011-11-05 Chong Yidong <cyd@gnu.org>
19302 * window.el (window-valid-p): Rename from window-any-p.
19303 (window-size-ignore, window-state-get): Callers changed.
19304 (window-normalize-window): Rename from window-normalize-any-window.
19305 New arg LIVE-ONLY, replacing window-normalize-live-window.
19306 (window-normalize-live-window): Delete.
19307 (window-combination-p, window-combined-p, window-combinations)
19308 (walk-window-subtree, window-atom-root, window-min-size)
19309 (window-sizable, window-sizable-p, window-size-fixed-p)
19310 (window-min-delta, window-max-delta, window-resizable)
19311 (window-resizable-p, window-full-height-p, window-full-width-p)
19312 (window-current-scroll-bars, window-point-1, set-window-point-1)
19313 (window-at-side-p, window-in-direction, window-resize)
19314 (adjust-window-trailing-edge, maximize-window, minimize-window)
19315 (window-deletable-p, delete-window, delete-other-windows)
19316 (record-window-buffer, unrecord-window-buffer)
19317 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19318 (quit-window, split-window, window-state-put)
19319 (set-window-text-height, fit-window-to-buffer)
19320 (shrink-window-if-larger-than-buffer): Callers changed.
19322 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19324 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19325 rfc2047-decode-string.
19326 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19329 * window.el (window-body-height, window-body-width): Mention in
19330 the doc string that the return values are in frame's canonical
19333 2011-11-03 Alan Mackenzie <acm@muc.de>
19335 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19336 change in cc-engine.el.
19338 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19340 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19342 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19344 * window.el (quit-window): Call unrecord-window-buffer after
19345 showing another buffer in the window. (Bug#9937)
19346 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19348 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19350 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19351 Accept status with more than 9 shelves. (Bug#9935)
19352 Reported by Colin D Bennett <colin@gibibit.com>.
19354 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19356 * help.el (with-help-window): Don't reference
19357 temp-buffer-show-specifiers in doc-string.
19359 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19361 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19364 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19366 * whitespace.el: New version 13.2.2.
19367 (whitespace-newline-mode): Disable properly. Reported by Sarah
19370 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19372 * net/newst-treeview.el: Remove "Time-stamp".
19373 (newsticker--group-manage-orphan-feeds): Do not call
19374 newsticker--treeview-tree-update.
19375 (newsticker-treeview-update, newsticker-treeview):
19376 Call newsticker--treeview-tree-update if necessary.
19378 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19380 * window.el (window-iso-combination-p, window-iso-combined-p)
19381 (window-iso-combinations): Remove "iso-" infix.
19382 Suggested by Chong Yidong.
19383 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19384 (window-max-delta-1, window-resize, window--resize-siblings)
19385 (window--resize-this-window, adjust-window-trailing-edge)
19386 (split-window, balance-windows-1)
19387 (shrink-window-if-larger-than-buffer):
19388 * calendar/calendar.el (calendar-generate-window):
19389 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19391 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19393 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19394 in place (bug#9907).
19395 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19396 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19397 (eshell-structure-basic-command, eshell-rewrite-while-command)
19398 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19399 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19400 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19401 (eshell-do-pipelines-synchronously, eshell-eval-command):
19402 Use backquotes and prefer setq to set.
19403 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19404 (eshell-macrop): Use functionp.
19405 (eshell-do-eval): Handle multiple expressions in `while' body.
19407 2011-10-30 Chong Yidong <cyd@gnu.org>
19409 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19410 instead of set-mark (Bug#9810).
19412 2011-10-30 Chong Yidong <cyd@gnu.org>
19414 * window.el (split-window-below, split-window-right): Rename from
19415 split-window-above-each-other and split-window-side-by-side
19416 respectively. All callers changed.
19417 (split-window-sensibly, split-window-sensibly): Use them.
19418 (split-window-keep-point): Doc fix.
19420 * isearch.el: Add isearch-scroll property to split-window-below
19421 and split-window-right.
19423 * follow.el (follow-mode):
19424 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19425 * progmodes/ada-xref.el (ada-gdb-application):
19426 * emulation/vip.el (vip-buffer-in-two-windows):
19427 * image-dired.el (image-dired-dired-with-window-configuration):
19428 * dired-x.el (dired-do-find-marked-files):
19429 * dired.el (dired-pop-to-buffer):
19430 * bs.el (bs--show-with-configuration):
19431 * vc/emerge.el (emerge-setup-windows):
19432 * textmodes/two-column.el (2C-two-columns):
19433 * textmodes/reftex-toc.el (reftex-toc):
19434 * progmodes/gdb-mi.el (gdb-setup-windows):
19435 * progmodes/fortran.el (fortran-window-create):
19436 * net/newst-treeview.el (newsticker--treeview-window-init):
19437 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19438 * emulation/tpu-edt.el (tpu-gold-map):
19439 * emulation/crisp.el (crisp-mode-map):
19440 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19442 2011-10-29 Chong Yidong <cyd@gnu.org>
19444 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19446 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19448 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19449 forged Ispell output (Bug#7904).
19451 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19453 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19455 * doc-view.el: Avoid ugly errors about not finding nil.
19456 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19457 (doc-view-dvipdf-program, doc-view-unoconv-program)
19458 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19459 Avoid nil or absolute file name as default value.
19460 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19462 2011-10-28 Alan Mackenzie <acm@muc.de>
19464 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19466 2011-10-28 Alan Mackenzie <acm@muc.de>
19468 Amend the handling of c-beginning/end-of-defun in nested declaration
19471 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19472 cc-langs.el. Change it to a defcustom.
19474 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19477 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19478 Prevent "class foo : bar" being spuriously recognized as a label.
19480 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19481 Add parameter `inclusive' (to include enclosing braces in the region).
19482 (c-widen-to-enclosing-decl-scope): New function.
19483 (c-while-widening-to-decl-block): New macro.
19484 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19485 outward for defun boundaries, and correspondingly change symbol
19486 `respect-enclosure' to `go-outward'.
19487 (c-declaration-limits): Change algorithm to report only the "innermost"
19488 defun's boundaries.
19490 2011-10-28 Deniz Dogan <deniz@dogan.se>
19492 * net/rcirc.el (rcirc-mode): Use hard newlines.
19494 2011-10-28 Alan Mackenzie <acm@muc.de>
19496 Amend to indent and fontify macros "which include their own semicolon"
19497 correctly, using the "virtual semicolon" mechanism.
19499 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19501 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19502 Recode to scan one line at a time rather than having \n and \r
19503 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19504 (c-forward-label): Amend for virtual semicolons.
19505 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19507 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19508 of the new C macros.
19510 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19511 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19512 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19513 (c-opt-cpp-macro-define): Make into a full language variable.
19514 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19515 AWK Mode (including \n, \r) removed, no longer needed.
19517 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19518 Invoke c-make-macro-with-semi-re.
19520 * progmodes/cc-vars.el (c-macro-with-semi-re):
19521 (c-macro-names-with-semicolon): New variables.
19522 (c-make-macro-with-semi-re): New function.
19524 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19526 * vc/log-edit.el: Fill empty field rather than adding new one.
19527 (log-edit-add-field): New function.
19528 (log-edit-insert-changelog): Use it.
19530 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19532 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19534 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19536 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19537 (gdb--check-interpreter): New function.
19540 2011-10-27 Glenn Morris <rgm@gnu.org>
19542 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19543 (least-positive-float, least-negative-float)
19544 (least-positive-normalized-float, least-negative-normalized-float)
19545 (float-epsilon, float-negative-epsilon):
19546 Remove unnecessary declarations.
19548 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19549 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19550 (least-positive-float, least-negative-float)
19551 (least-positive-normalized-float, least-negative-normalized-float)
19552 (float-epsilon, float-negative-epsilon): Add doc-strings,
19553 based on those in cl.texi.
19555 * files.el (set-visited-file-name): If the major-mode changed,
19556 reload the local variables. (Bug#9796)
19558 2011-10-27 Chong Yidong <cyd@gnu.org>
19560 * subr.el (change-major-mode-after-body-hook): New hook.
19561 (run-mode-hooks): Run it.
19563 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19564 Use change-major-mode-before-body-hook.
19566 * simple.el (fundamental-mode):
19567 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19568 change introducing fundamental-mode-hook.
19570 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19572 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19574 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19576 * ido.el (ido-file-name-all-completions-1): Do not require
19577 tramp.el explicitly. (Bug#7583)
19579 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19581 * progmodes/octave-mod.el:
19582 * progmodes/octave-inf.el: Update maintainer.
19584 2011-10-26 Chong Yidong <cyd@gnu.org>
19586 * subr.el (with-wrapper-hook): Rewrite doc.
19588 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19590 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19591 filenames "/method:foo:". (Bug#9793)
19593 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19595 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19598 2011-10-24 Glenn Morris <rgm@gnu.org>
19600 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19602 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19604 * notifications.el: Add the requirement of a running D-Bus session
19605 bus to the Commentary.
19607 2011-10-24 Juri Linkov <juri@jurta.org>
19609 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19610 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19613 2011-10-24 Juri Linkov <juri@jurta.org>
19615 * info.el (Info-following-node-name-re): Add newline to the list
19616 of allowed characters for leading space. (Bug#9824)
19618 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19620 * progmodes/octave-inf.el (inferior-octave-mode-map):
19621 Fix C-c C-h binding.
19622 * progmodes/octave-mod.el (octave-help): Remove.
19624 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19626 Sync with Tramp 2.2.3.
19628 * net/tramp-cache.el (top): Pacify byte-compiler using
19629 `init-file-user' and `site-run-file'.
19631 * net/trampver.el: Update release number.
19633 2011-10-23 Chong Yidong <cyd@gnu.org>
19635 * files.el (toggle-read-only): Remove obsolete comment about
19638 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19639 for toggle-read-only. Note that this hasn't called vc-next-action
19640 since 2008-05-02, though it wasn't documented at the time.
19642 * vc/ediff-init.el (ediff-toggle-read-only-function):
19643 Use toggle-read-only.
19645 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19647 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19650 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19651 correct faulty logical expression.
19652 (c-parse-state-state, c-record-parse-state-state):
19653 (c-replay-parse-state-state): New defvar/defuns.
19654 (c-debug-parse-state): Use new functions.
19656 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19658 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19659 last fix. Use window-in-direction correctly.
19661 2011-10-21 Chong Yidong <cyd@gnu.org>
19663 * progmodes/idlwave.el (idlwave-mode):
19664 * progmodes/vera-mode.el (vera-mode): No need to set
19665 require-final-newline; that's done in prog-mode.
19666 Suggested by Stefan Monnier.
19668 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19670 * mouse.el (mouse-drag-window-above)
19671 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19672 (mouse-drag-mode-line-1, mouse-drag-header-line)
19673 (mouse-drag-vertical-line-rightward-window): Remove.
19674 (mouse-drag-line): New function.
19675 (mouse-drag-mode-line, mouse-drag-header-line)
19676 (mouse-drag-vertical-line): Call mouse-drag-line.
19677 * window.el (window-at-side-p, windows-at-side): New functions.
19679 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19681 * tar-mode.el (tar-grind-file-mode):
19682 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19684 2011-10-21 Chong Yidong <cyd@gnu.org>
19686 * progmodes/idlwave.el (idlwave-mode):
19687 * progmodes/vera-mode.el (vera-mode):
19688 Use mode-require-final-newline.
19690 2011-10-20 Glenn Morris <rgm@gnu.org>
19692 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19694 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19696 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19698 2011-10-20 Chong Yidong <cyd@gnu.org>
19700 * emulation/cua-base.el (cua-mode):
19701 * mail/footnote.el (footnote-mode):
19702 * mail/mailabbrev.el (mail-abbrevs-mode):
19703 * net/xesam.el (xesam-minor-mode):
19704 * progmodes/bug-reference.el (bug-reference-mode):
19705 * progmodes/cap-words.el (capitalized-words-mode):
19706 * progmodes/compile.el (compilation-minor-mode)
19707 (compilation-shell-minor-mode):
19708 * progmodes/gud.el (gud-tooltip-mode):
19709 * progmodes/hideif.el (hide-ifdef-mode):
19710 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19711 * progmodes/subword.el (subword-mode):
19712 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19713 * progmodes/which-func.el (which-function-mode):
19714 * term/tvi970.el (tvi970-set-keypad-mode):
19715 * term/vt100.el (vt100-wide-mode):
19716 * textmodes/flyspell.el (flyspell-mode):
19717 * textmodes/ispell.el (ispell-minor-mode):
19718 * textmodes/nroff-mode.el (nroff-electric-mode):
19719 * textmodes/paragraphs.el (use-hard-newlines):
19720 * textmodes/refill.el (refill-mode):
19721 * textmodes/reftex.el (reftex-mode):
19722 * textmodes/rst.el (rst-minor-mode):
19723 * textmodes/sgml-mode.el (html-autoview-mode)
19724 (sgml-electric-tag-pair-mode):
19725 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19726 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19727 * emulation/crisp.el (crisp-mode):
19728 * emacs-lisp/eldoc.el (eldoc-mode):
19729 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19730 minor mode behavior.
19732 2011-10-19 Juri Linkov <juri@jurta.org>
19734 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19735 the list of hard-coded chars with escape-glyph face.
19737 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19739 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19741 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19743 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19746 2011-10-19 Glenn Morris <rgm@gnu.org>
19748 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19749 Ignore ignored files. (Bug#9726)
19751 2011-10-19 Chong Yidong <cyd@gnu.org>
19753 Doc fix for minor modes, stating that an omitted argument enables
19754 the mode unconditionally when called from Lisp.
19756 * abbrev.el (abbrev-mode):
19757 * allout.el (allout-mode):
19758 * autoinsert.el (auto-insert-mode):
19759 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19760 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19761 (global-auto-revert-mode):
19762 * battery.el (display-battery-mode):
19763 * composite.el (global-auto-composition-mode)
19764 (auto-composition-mode):
19765 * delsel.el (delete-selection-mode):
19766 * desktop.el (desktop-save-mode):
19767 * dired-x.el (dired-omit-mode):
19768 * dirtrack.el (dirtrack-mode):
19769 * doc-view.el (doc-view-minor-mode):
19770 * double.el (double-mode):
19771 * electric.el (electric-indent-mode, electric-pair-mode):
19772 * emacs-lock.el (emacs-lock-mode):
19773 * epa-hook.el (auto-encryption-mode):
19774 * follow.el (follow-mode):
19775 * font-core.el (font-lock-mode):
19776 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19777 * help.el (temp-buffer-resize-mode):
19778 * hilit-chg.el (highlight-changes-mode)
19779 (highlight-changes-visible-mode):
19780 * hi-lock.el (hi-lock-mode):
19781 * hl-line.el (hl-line-mode, global-hl-line-mode):
19782 * icomplete.el (icomplete-mode):
19783 * ido.el (ido-everywhere):
19784 * image-file.el (auto-image-file-mode):
19785 * image-mode.el (image-minor-mode):
19786 * iswitchb.el (iswitchb-mode):
19787 * jka-cmpr-hook.el (auto-compression-mode):
19788 * linum.el (linum-mode):
19789 * longlines.el (longlines-mode):
19790 * master.el (master-mode):
19791 * mb-depth.el (minibuffer-depth-indicate-mode):
19792 * menu-bar.el (menu-bar-mode):
19793 * minibuf-eldef.el (minibuffer-electric-default-mode):
19794 * mouse-sel.el (mouse-sel-mode):
19795 * msb.el (msb-mode):
19796 * mwheel.el (mouse-wheel-mode):
19797 * outline.el (outline-minor-mode):
19798 * paren.el (show-paren-mode):
19799 * recentf.el (recentf-mode):
19800 * reveal.el (reveal-mode, global-reveal-mode):
19801 * rfn-eshadow.el (file-name-shadow-mode):
19802 * ruler-mode.el (ruler-mode):
19803 * savehist.el (savehist-mode):
19804 * scroll-all.el (scroll-all-mode):
19805 * scroll-bar.el (scroll-bar-mode):
19806 * server.el (server-mode):
19807 * shell.el (shell-dirtrack-mode):
19808 * simple.el (auto-fill-mode, transient-mark-mode)
19809 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19810 (line-number-mode, column-number-mode, size-indication-mode)
19811 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19812 * strokes.el (strokes-mode):
19813 * time.el (display-time-mode):
19814 * t-mouse.el (gpm-mouse-mode):
19815 * tool-bar.el (tool-bar-mode):
19816 * tooltip.el (tooltip-mode):
19817 * type-break.el (type-break-mode-line-message-mode)
19818 (type-break-query-mode):
19819 * view.el (view-mode):
19820 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19821 (global-whitespace-mode, global-whitespace-newline-mode):
19822 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19824 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19825 Fix autogenerated docstring.
19827 2011-10-19 Juri Linkov <juri@jurta.org>
19829 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19830 by checking environment variables "DESKTOP_SESSION" and
19831 "XDG_CURRENT_DESKTOP". (Bug#9779)
19833 2011-10-19 Juri Linkov <juri@jurta.org>
19835 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19836 (browse-url-chromium-program, browse-url-chromium-arguments):
19838 (browse-url-default-browser): Check for `browse-url-chromium' and
19839 call `browse-url-chromium-program'.
19840 (browse-url-chromium): New command. (Bug#9779)
19842 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19844 * facemenu.el (list-colors-duplicates): On Windows, detect more
19845 duplicates by assuming that only colors matching "^System" are
19846 special "system colors". (Bug#9722)
19848 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19850 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19851 to distinguish the author from the committer.
19853 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19855 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19857 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19859 * international/mule.el (sgml-html-meta-auto-coding-function):
19860 Add support for detecting encoding in HTML5 specified only as
19861 <meta charset="UTF-8">. Implementation just makes http-equiv and
19862 content-type parts from HTML4 encoding string optional. (Bug#9716)
19864 2011-10-18 Glenn Morris <rgm@gnu.org>
19866 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19868 2011-10-18 Chong Yidong <cyd@gnu.org>
19870 * faces.el (cursor): Doc fix.
19872 2011-10-17 Chong Yidong <cyd@gnu.org>
19874 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19876 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19878 * dirtrack.el (dirtrack): Support shell buffers with path
19879 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19881 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19883 * json.el: Bump version to 1.3 and note change in History.
19884 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19886 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19888 * comint.el (comint-insert-input, comint-send-input)
19889 (comint-get-old-input-default, comint-backward-matching-input)
19890 (comint-next-prompt): Use nil instead of `input' for field property of
19891 past user input (bug#114).
19893 * minibuffer.el (completion--replace): Inherit surrounding properties
19895 (minibuffer-complete-and-exit): Use it.
19897 * comint.el (comint--table-subvert): Quote the all-completions output
19900 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19902 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19904 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19905 window on right of selected. (Bug#9350) Reword other window
19906 entries and separate them from frame entries.
19908 2011-10-15 Glenn Morris <rgm@gnu.org>
19910 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19913 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19915 * net/network-stream.el (network-stream-open-starttls):
19916 Improve detection of failure due to lack of TLS support.
19918 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19919 putting the input text in front and in bold.
19921 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19923 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19925 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19928 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19929 unread-command-events rather than pushing yet-another event.
19931 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19933 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19934 the explanation of the possible choices. Make the options passed
19935 to completing-read shorter.
19937 2011-10-13 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
19939 * textmodes/flyspell.el (flyspell-large-region): Make sure
19940 extended character mode is used if defined (Bug#1339).
19942 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19944 * simple.el (what-cursor-position): Fix the display of the
19945 character info for LRE, LRO, RLE, and RLO characters by appending
19948 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19950 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19951 even in case of error; add debug spec; simplify data flow.
19952 (with-timeout-handler): Remove.
19954 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19956 Fix Bug#6019, Bug#9315.
19958 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19959 complete `buffer-file-name', the local file name part could look
19960 remotely (for example on VMS).
19962 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19963 `tramp-run-real-handler'.
19964 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19965 already quoted by '"'.
19967 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19968 Let `file-name-handler-alist' be nil, the local file name part
19969 could look remotely (for example on VMS).
19971 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19973 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19975 (flyspell-post-command-hook): ...to here.
19977 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19979 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19981 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19982 using completion. Protect against "slow" callers.
19983 Remove the "message hack".
19985 2011-10-11 Juri Linkov <juri@jurta.org>
19987 * isearch.el (isearch-lazy-highlight-word): New variable.
19988 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19991 2011-10-11 Glenn Morris <rgm@gnu.org>
19993 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19994 like f90-previous-statement does.
19996 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19998 * eshell/eshell.el (eshell-command): History should be saved
19999 only in interactive use, to avoid error.
20001 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20003 * minibuffer.el (completion-file-name-table): Fix last change,
20004 i.e. ignore normal errors but not the other ones.
20006 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20008 * window.el (special-display-buffer-names)
20009 (special-display-regexps): Remove some remnants of earlier
20010 changes from doc-strings.
20011 (quit-windows-on): New function.
20013 * vc/vc.el (vc-revert, vc-rollback):
20014 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20015 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20016 (Bug#6183) (Bug#7074) (Bug#7447)
20018 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20020 * window.el (frame-auto-hide-function): Add version tag.
20023 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20025 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20028 2011-10-09 Leo Liu <sdl.web@gmail.com>
20030 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20033 2011-10-08 Glenn Morris <rgm@gnu.org>
20035 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20036 before the first code statement zero indent. (Bug#9690)
20038 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20040 * simple.el (count-words-region): Always count in the region.
20041 Report the number of lines and characters too.
20042 (count-words): New command, which counts in the buffer if the
20043 region is inactive, as count-words-region used to.
20044 (count-words--message): New function. Handle plurals.
20045 (count-lines-region): Make it an alias for count-words-region.
20047 * bindings.el (esc-map): Replace count-lines-region with
20048 count-words-region.
20050 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20052 * window.el (window--delete): Delete dedicated frame
20053 unconditionally when argument KILL is non-nil. (Bug#9699)
20054 (switch-to-buffer): Fix doc-string typo.
20056 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20058 * eshell/eshell.el (eshell-command): Avoid using hooks.
20060 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20062 * bindings.el ([M-left],[M-right]): Bind to left-word and
20063 right-word respectively.
20065 2011-10-07 Glenn Morris <rgm@gnu.org>
20067 * cus-start.el (debug-on-quit): Fix custom type.
20069 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20071 * subr.el (define-key-after): Clarify that the function is not
20072 useful for non-menu keymaps.
20074 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20076 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20078 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20079 in current minibuffer (Fix bug with recursive minibuffers).
20081 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20083 * progmodes/gdb-mi.el (gdb): Doc fix.
20085 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20087 * window.el (frame-auto-hide-function): New option replacing
20088 frame-auto-delete. Suggested by Stefan Monnier.
20089 (window--delete): Call frame-auto-hide-function instead of
20090 investigating frame-auto-delete.
20091 (window-point-1, set-window-point-1): New functions.
20092 (window-in-direction, record-window-buffer, window-state-get-1)
20093 (display-buffer-record-window): Use window-point-1 instead of
20095 (set-window-buffer-start-and-point): Use set-window-point-1.
20097 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20099 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20101 2011-10-05 Glenn Morris <rgm@gnu.org>
20103 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20104 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20106 2011-10-05 Leo Liu <sdl.web@gmail.com>
20108 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20109 works with buffer object.
20111 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20113 * mpc.el (mpc-tool-bar-map): Add labels.
20115 2011-10-04 Glenn Morris <rgm@gnu.org>
20117 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20119 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20121 * window.el (window--delete): New function.
20122 (frame-auto-delete): Resuscitate option.
20123 (bury-buffer, replace-buffer-in-windows)
20124 (quit-window): Rewrite using window--delete.
20125 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20126 Pass display-buffer-mark-dedicated to window--display-buffer-2
20129 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20131 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20132 returns a list (bug#9554). Add remote file name completion.
20133 * comint.el (comint--table-subvert): Curry and get quote&unquote
20134 functions as arguments.
20135 (comint--complete-file-name-data): Adjust call accordingly.
20136 * pcomplete.el (pcomplete--table-subvert): Remove.
20137 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20139 * minibuffer.el (completion-table-case-fold): Use currying.
20140 (completion--styles-type, completion--cycling-threshold-type):
20142 (completion-styles, completion-category-overrides)
20143 (completion-cycle-threshold): Use them.
20144 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20145 completion-table-case-fold.
20147 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20149 * minibuffer.el (completion-category-overrides): Fix type of styles
20150 and add more user friendly tags (bug#9660).
20152 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20154 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20155 (mule-input-method-string): New widget.
20156 (default-input-method, language-info-custom-alist): Use it.
20158 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20160 * pcomplete.el: Require comint.
20161 (pcomplete--common-suffix): Remove.
20162 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20163 (pcomplete--table-subvert): Sync with comint--table-subvert.
20164 (pcomplete--entries): Use comint-completion-file-name-table.
20165 * comint.el (comint-unquote-filename): Simplify.
20166 (comint-completion-file-name-table): New function (bug#9616).
20167 (comint--complete-file-name-data): Use it.
20169 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20170 (pcmpl-gnu-tar-buffer): Remove.
20171 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20172 around. Make sure pcomplete-suffix-list is only changed temporarily.
20173 Don't look inside the tar's file if it's too large.
20175 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20177 * cus-edit.el (custom-mode-map):
20178 * epa.el (epa-key-list-mode-map):
20179 * man.el (Man-mode-map):
20180 * startup.el (splash-screen-keymap):
20181 * simple.el (special-mode-map): Use scroll-up-command and
20182 scroll-down-command.
20184 * progmodes/idlw-help.el (idlwave-help-mode-map):
20185 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20186 * net/newst-plainview.el (newsticker-mode-map):
20187 * emulation/ws-mode.el (wordstar-mode-map):
20188 * emulation/vi.el (vi-com-map):
20189 * calc/calc-graph.el (calc-graph-show-dumb):
20190 * term/sun.el (terminal-init-sun):
20191 * term/ns-win.el (global-map):
20192 * progmodes/grep.el (grep-mode-map):
20193 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20194 * mail/rmail.el (rmail-mode-map):
20195 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20197 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20198 custom-safe-themes as special.
20200 2011-10-01 Julien Danjou <julien@danjou.info>
20202 * notifications.el (notifications-notify): Fix docstring.
20204 2011-10-01 Per Starbäck <per@starback.se>
20206 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20208 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20210 * startup.el (command-line-1): Fix last fix by inserting
20211 initial-scratch-message into *scratch* before displaying it.
20212 (Bug#9605) and (Bug#9636)
20214 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20216 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20217 window is hscrolled, move by logical lines. (Bug#9607)
20218 (line-move-visual): Update the doc string to the above effect.
20220 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20222 * window.el (display-buffer-record-window): When WINDOW is the
20223 selected window use `point' instead of `window-point'. (Bug#9626)
20225 * startup.el (command-line-1): Use insert-before-markers when
20226 inserting initial-scratch-message. (Bug#9605)
20228 * help.el (help-window): Remove variable.
20230 2011-09-29 Glenn Morris <rgm@gnu.org>
20232 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20234 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20236 * descr-text.el (describe-char-categories): Accept category
20237 descriptions more than one line long.
20239 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20241 * simple.el (delete-trailing-whitespace): Fix last change.
20243 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20244 Don't confuse "y => 3" as the beginning of a `y' operation.
20246 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20247 object has more than 4 slots (bug#9613).
20249 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20251 * subr.el (with-output-to-temp-buffer):
20252 * net/quickurl.el (quickurl, quickurl-browse-url):
20253 Fix typos in docstrings.
20255 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20257 * minibuffer.el (completion-styles)
20258 (completion-category-overrides): Cross reference each other in doc
20261 2011-09-27 Glenn Morris <rgm@gnu.org>
20263 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20264 to split-string. (Bug#9606)
20266 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20268 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20271 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20273 * emacs-lisp/package.el (list-packages): Fix echo area message.
20275 2011-09-27 Leo Liu <sdl.web@gmail.com>
20277 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20279 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20281 * net/dbus.el (dbus-unregister-object): Don't release services for
20282 registered signals. (Bug#9581)
20284 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20286 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20287 function that picks between cfengine 2 and 3 support
20288 automatically. Update docs accordingly.
20290 2011-09-22 Kenichi Handa <handa@m17n.org>
20292 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20294 (indian-itrans-v5-table-for-tamil): New variable.
20295 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20297 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20299 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20300 that's true if the current command involved collapsing of text.
20301 It's reset to false at the beginning of the next command.
20302 (allout-post-command-business): Move the cursor to the beginning
20303 of entry if the cursor is hidden and collapsing activity just
20306 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20308 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20309 tracking (Bug#9541).
20311 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20313 * net/newst-reader.el (newsticker-html-renderer)
20314 (newsticker-show-news): Automatically load html rendering package
20315 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20316 because w3m-fill-column is let-bound" and the error "Symbol's value
20317 as variable is void: w3m-fill-column".
20319 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20321 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20322 Release services only if they are defined. (Bug#9581)
20324 2011-09-23 Richard Stallman <rms@gnu.org>
20326 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20327 distinguish start of paragraph from start of its text.
20329 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20331 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20332 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20333 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20335 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20337 * international/mule-diag.el (mule-diag): Insert a newline after
20338 each fontset description.
20340 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20342 * simple.el (delete-trailing-whitespace):
20343 Document last change; simplify.
20345 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20347 * simple.el (delete-trailing-whitespace): Also delete
20348 extra newlines at the end of the buffer.
20350 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20351 (picture-newline): Use forward-line so as to ignore fields.
20353 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20355 * subr.el (with-wrapper-hook): Fix edebug spec.
20357 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20359 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20362 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20364 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20365 Fix nasty bug using wrong cached values.
20367 2011-09-23 Alan Mackenzie <acm@muc.de>
20369 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20371 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20373 * window.el (pop-to-buffer): Ensure right window is selected if we
20374 chose another frame.
20376 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20378 * simple.el (what-cursor-position): Use get-char-property-change
20379 and next-single-char-property-change, to be able to show display
20380 properties that come from overlays as well as text properties.
20382 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20384 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20386 * cmuscheme.el (run-scheme, switch-to-scheme):
20387 * cus-edit.el (customize-group, custom-buffer-create)
20388 (customize-browse):
20390 * shell.el (shell):
20391 * mail/sendmail.el (mail):
20392 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20394 2011-09-22 Richard Stallman <rms@gnu.org>
20396 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20397 move back only to line beg, don't move back over blank lines.
20399 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20401 * files.el (copy-directory): Set directory attributes only in case
20402 they could be retrieved from the source directory. (Bug#9565)
20404 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20406 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20407 (hs-find-block-beginning, hs-hide-level-recursive):
20408 Ignore strings as well as comments. (Bug#9502)
20410 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20412 * progmodes/sql.el (sql-comint-postgres):
20413 Convert port number to a string. (Bug#9566)
20415 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20417 * window.el (quit-window): Undedicate window when switching to
20418 previous buffer. Reported by Thierry Volpiatto
20419 <thierry.volpiatto@gmail.com>.
20420 (special-display-popup-frame): When popping up a new frame reset
20421 its previous buffers to nil. Simplify code.
20423 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20425 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20426 and process filter, as done also in `shell-command'.
20428 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20430 * window.el (set-window-buffer-start-and-point):
20431 Call set-window-start with NOFORCE argument t.
20432 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20433 (quit-window): Reword doc-string. Handle new format of
20434 quit-restore parameter. Don't delete window if it has a
20435 previous buffer we can show instead of the present one.
20436 (display-buffer-record-window): Rewrite using a new format for
20437 the quit-restore window parameter
20438 (special-display-popup-frame, display-buffer-same-window)
20439 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20440 (display-buffer-pop-up-window, display-buffer-use-some-window):
20441 Adapt symbol passed to display-buffer-record-window.
20442 * help.el (help-window-setup): Handle new format of quit-restore
20445 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20447 * faces.el (face-list): Fix docstring (bug#9564).
20449 * window.el (display-buffer--action-function-custom-type):
20450 Don't include internal functions in the Custom interface.
20452 2011-09-20 Juri Linkov <juri@jurta.org>
20454 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20455 (Info-forward-node, Info-backward-node, Info-next-preorder)
20456 (Info-last-preorder): Use it. (Bug#9528)
20458 2011-09-20 Juri Linkov <juri@jurta.org>
20460 * info.el (Info-last-preorder): Visit last menu item only when
20461 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20463 2011-09-20 Julien Danjou <julien@danjou.info>
20465 * password-cache.el (password-cache-remove): Remove entries even if the
20466 value is nil, so that password with a nil value (negative caching) is
20467 possible to invalidate.
20469 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20471 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20472 all whitespace around breakpoint. (Bug#9553)
20473 (f90-find-breakpoint): Only break at whitespace inside a comment.
20475 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20477 * minibuffer.el (completion-file-name-table): Keep track of errors.
20478 (completion-table-with-predicate): Handle the case where pred1 is nil.
20479 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20481 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20483 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20484 (debugger-return-value): Signal an error if the debugging context does
20485 not await any return value.
20487 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20488 * image-mode.el (image-toggle-display-text)
20489 (image-toggle-display-image): Stay away from evil `intangible'.
20491 2011-09-19 Leo Liu <sdl.web@gmail.com>
20493 * replace.el (occur-revert-arguments): Make it permanent-local.
20494 (occur-mode): Don't call font-lock-defontify.
20496 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20498 * net/ldap.el (ldap-search-internal): Don't push empty search
20501 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20503 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20505 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20507 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20508 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20510 2011-09-18 Juri Linkov <juri@jurta.org>
20512 * buff-menu.el (Buffer-menu-mode-map):
20513 * dired.el (dired-mode-map):
20514 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20515 (lisp-interaction-mode-map):
20516 * emacs-lisp/package.el (package-menu-mode-map):
20517 * epa.el (epa-key-list-mode-map):
20518 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20519 (menu-bar-options-menu):
20520 * outline.el (outline-mode-menu-bar-map):
20521 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20522 * vc/vc-dir.el (vc-dir-menu-map):
20523 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20524 Capitalize non-function content words in menu item strings.
20526 * dired.el (dired-mode-map): Add menu item for
20527 `image-dired-dired-toggle-marked-thumbs'.
20529 2011-09-18 Juri Linkov <juri@jurta.org>
20531 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20532 to `isearch-case-fold-search' and restore its original value
20533 after the `isearch-mode' call.
20535 2011-09-18 Juri Linkov <juri@jurta.org>
20537 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20538 because `zgrep' returns 1 for successful matches (bug#9226).
20540 2011-09-18 Juri Linkov <juri@jurta.org>
20542 * info.el (Info-extract-menu-node-name): Check the second match
20543 for empty string (second test-case of bug#9528).
20544 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20545 intermediate nodes to the history (first test-case of bug#9528).
20547 2011-09-18 Juri Linkov <juri@jurta.org>
20549 * info.el (Info-mode-syntax-table): New variable.
20550 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20552 2011-09-18 Juri Linkov <juri@jurta.org>
20554 * info.el (Info-file-supports-index-cookies):
20555 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20556 outputs one more line for long file names (bug#4142).
20558 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20560 * newcomment.el (comment-normalize-vars): If prompting for
20561 comment-start, set comment-start-skip too (Bug#8424).
20563 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20565 * icomplete.el: Fix previous fix of Bug#5849.
20566 (icomplete-mode): Don't set completion-show-inline-help.
20567 (icomplete-minibuffer-setup): Set completion-show-inline-help
20568 locally during icompletion.
20570 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20572 * woman.el (woman2-process-escapes): Don't delete unrecognized
20573 escapes (Bug#7843).
20575 * files.el (inhibit-first-line-modes-regexps): Add image files.
20576 (hack-local-variables-prop-line): Return nil for malformed
20577 prop-lines (Bug#9044).
20579 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20581 * net/tramp.el (top): Don't require 'shell.
20582 (tramp-methods): Fix docstring.
20583 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20584 Return complete remote file name. Handle "smb" case.
20585 Use `tramp-tmpdir', if defined for the respective method.
20586 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20588 * net/tramp-compat.el (top): Require 'shell.
20590 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20591 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20592 `tramp-current-host'.
20593 (tramp-get-remote-tmpdir): Remove.
20595 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20596 `tramp-tmpdir' entries.
20597 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20598 (tramp-smb-handle-file-attributes): Ignore errors.
20599 (tramp-smb-wait-for-output): Check also for process end.
20601 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20603 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20604 when sending QUIT (bug#9312).
20606 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20608 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20609 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20610 occur-mode-display-occurrence.
20611 (occur-edit-mode): Add usage message.
20612 (occur-cease-edit): New command.
20613 (occur-after-change-function): Use text properties to find the
20614 position of the prefix text.
20615 (occur-engine): Set stickiness of prefix text properties.
20617 2011-09-17 Glenn Morris <rgm@gnu.org>
20619 * progmodes/etags.el (complete-tag):
20620 Fix call to completion-in-region. (Bug#9526)
20622 2011-09-17 Juri Linkov <juri@jurta.org>
20624 * textmodes/ispell.el (ispell-word): Add to the error message
20625 the word, ispell program name and current dictionary (bug#9121).
20626 (ispell-tex-arg-end): Capitalize "error" in the error message.
20628 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20630 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20633 2011-09-17 Juri Linkov <juri@jurta.org>
20635 * window.el (window-safe-min-height, window-safe-min-width):
20636 Fix typos (followup to bug#9522).
20638 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20640 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20642 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20644 * simple.el (line-move): If goal-column is set, move by logical
20645 lines, not by display lines. (Bug#971)
20646 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20647 to reflect the above change.
20649 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20651 * image.el (imagemagick-register-types): Use regexp-opt.
20653 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20655 * window.el (display-buffer-base-action): Rename from
20656 display-buffer-default-action. Make default value empty.
20657 (display-buffer-overriding-action): Convert to defvar.
20658 (display-buffer-fallback-action): New var.
20660 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20662 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20664 (package--add-to-archive-contents): If there is a duplicate entry
20665 with an older version, remove it.
20666 (package-menu-mark-delete, package-menu-mark-install)
20667 (package-menu-mark-unmark): Make unused args optional.
20668 (package-menu-mark-obsolete-for-deletion):
20669 Use package-menu-get-status instead of a regexp search.
20670 (package-menu-get-status): Use tabulated-list-entry.
20671 (package-menu-mark-upgrades): New command.
20672 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20673 (package-menu-execute): Do installation before deletion.
20674 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20675 instead of checking major-mode.
20676 (package-menu--find-upgrades): New function.
20678 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20680 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20681 passwords in the log buffer.
20682 (smtpmail-process-filter): Update the process marker so that the
20683 "broken by peer" status message is inserted in the right place.
20685 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20687 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20688 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20689 bibtex-completion-at-point-function.
20690 (bibtex-completion-at-point-function): Use them.
20692 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20694 * mpc.el (mpc-constraints-tag-lookup): New function.
20695 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20696 also to browser "album|playlist".
20698 2011-09-14 Juri Linkov <juri@jurta.org>
20700 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20701 (isearch-edit-string): Use length of `isearch-string' when
20702 `isearch-fail-pos' returns nil.
20703 (isearch-message): Remove duplicate code and call
20704 `isearch-fail-pos' with arg `t'.
20706 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20708 * replace.el (occur-mode-goto-occurrence): Don't force using other
20711 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20713 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20715 * window.el (display-buffer-window): Remove.
20716 (display-buffer-record-window): Use help-setup window parameter
20717 instead of variable display-buffer-window.
20718 (display-buffer-function, special-display-buffer-names)
20719 (special-display-function): Mention help-setup parameter instead
20720 of display-buffer-window in doc-string.
20721 * help.el (help-window-setup): New argument help-window.
20722 Use help-window-setup parameter instead of display-buffer-window.
20723 Reword some messages.
20724 (with-help-window): Pass window used for displaying the buffer
20725 to help-window-setup. Don't set display-buffer-window.
20727 2011-09-13 Glenn Morris <rgm@gnu.org>
20729 * emacs-lisp/debug.el (debugger-make-xrefs):
20730 Preserve point. (Bug#9462)
20732 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20734 * window.el (window-deletable-p): Use next-frame.
20736 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20738 * window.el (window-auto-delete): Remove.
20739 (window-deletable-p): Remove argument FORCE. Don't deal with
20740 dedication and previous buffers.
20741 (switch-to-prev-buffer): Don't delete window.
20742 (delete-windows-on): Delete a window's frame if and only if the
20743 window is dedicated.
20744 (replace-buffer-in-windows): Delete buffer's window or frame if
20745 and only if window is dedicated.
20746 (quit-window): Handle quit-restore as before last change.
20747 (bury-buffer): Delete window only if window-deletable-p returns t.
20749 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20751 * window.el (window-deletable-p): Never delete the last frame on a
20754 2011-09-13 Glenn Morris <rgm@gnu.org>
20756 * help.el (describe-key-briefly): Copy previous standard-output change.
20758 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20760 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20762 2011-09-13 Glenn Morris <rgm@gnu.org>
20764 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20765 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20767 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20769 * dired-aux.el (dired-mark-read-string): Don't return default
20770 value on empty input (Bug#9361).
20771 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20772 Omit initial minibuffer contents.
20773 (dired-do-chmod): Signal an error on empty input.
20774 (dired-mark-read-string): Don't return default on empty input.
20776 * files.el (file-modes-symbolic-to-number): Doc fix.
20778 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20780 * international/mule-cmds.el (ucs-completions): Remove.
20781 (read-char-by-name): Use complete-with-action instead; add metadata.
20783 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20785 * window.el (display-buffer--action-function-custom-type)
20786 (display-buffer--action-custom-type): New vars.
20787 (display-buffer-alist, display-buffer-default-action)
20788 (display-buffer-overriding-action): Add defcustom types.
20790 * frame.el (delete-other-frames): Doc fix (Bug#276).
20792 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20794 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20796 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20798 Change modes that used same-window-* vars to use switch-to-buffer.
20800 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20801 Use switch-to-buffer.
20803 * cus-edit.el (customize-group, custom-buffer-create)
20804 (customize-browse, custom-buffer-create-other-window):
20805 Use switch-to-buffer or switch-to-buffer-other-window.
20807 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20808 (Info-prev, Info-up, Info-speedbar-goto-node)
20809 (info-display-manual): Use switch-to-buffer.
20810 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20812 * mail/sendmail.el (mail): Use switch-to-buffer.
20813 (mail-recover): Use switch-to-buffer-other-window.
20815 * cmuscheme.el (run-scheme, switch-to-scheme):
20817 * shell.el (shell):
20818 * net/rlogin.el (rlogin):
20819 * net/telnet.el (telnet, rsh):
20820 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20822 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20824 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20826 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20828 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20829 so don't mention it (bug#9301).
20830 (dired-sort-toggle-or-edit): Clarify string further.
20832 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20833 match `x', `w32' and `ns', like the manual says (bug#9029).
20835 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20836 (process-kill-buffer-query-function): Mention the buffer name in
20839 * image-mode.el (image-next-line): The line parameter is mandatory
20842 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20843 which can be useful (bug#9301).
20845 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20847 * subr.el (match-string): Mention that the current buffer should
20848 be the same as the search was done in (bug#9282).
20850 * facemenu.el: Disable the remove-* commands if the mark isn't
20853 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20855 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20857 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20859 * replace.el (occur-mode-goto-occurrence)
20860 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20861 and display-buffer.
20863 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20866 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20867 special-display and same-window variables.
20868 (mail-other-window): Use switch-to-buffer-other-window.
20869 (mail-other-frame): USe switch-to-buffer-other-frame.
20871 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20872 Use display-buffer-other-frame.
20873 (gdb-display-gdb-buffer): Use pop-to-buffer.
20875 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20877 * progmodes/python.el: Don't set same-window-buffer-names.
20879 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20881 * window.el (display-buffer-alist): Add *Python*.
20883 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20885 * window.el (display-buffer-alist): Add entry for buffers
20886 previously handled same-window-*.
20887 (display-buffer-alist, display-buffer-default-action)
20888 (display-buffer-overriding-action): Mark as risky.
20889 (display-buffer-alist): Document action function changes.
20890 (display-buffer--same-window-action)
20891 (display-buffer--other-frame-action): New variables.
20892 (switch-to-buffer, display-buffer-other-frame): Use them.
20893 (display-buffer): Rename reuse-frame entry to reusable-frames.
20894 (display-buffer-reuse-selected-window): Function deleted.
20895 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20896 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20897 (display-buffer-special): New function.
20898 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20899 display-buffer-reuse-or-pop-window. Split off special-display
20900 part into display-buffer-special.
20901 (display-buffer-use-some-window): Don't perform any special
20902 pop-up-frames handling.
20903 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20904 (display-buffer--maybe-same-window): Rename from
20905 display-buffer-maybe-same-window.
20907 * info.el: Don't set same-window-regexps.
20908 (info-setup): New function.
20909 (info-other-window, info): Call it.
20911 * cus-edit.el: Don't set same-window-regexps.
20912 (customize-group): New argument.
20913 (customize-group-other-window): Use it.
20914 (customize-face, customize-face-other-window): Likewise.
20915 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20919 * progmodes/gud.el: Don't set same-window-regexps.
20924 * mail/sendmail.el:
20925 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20927 2011-09-10 Juri Linkov <juri@jurta.org>
20929 * isearch.el (isearch-edit-string): Remove obsolete mention of
20930 `C-w' (`isearch-yank-word-or-char') from docstring.
20931 (isearch-query-replace): Fix typo in docstring (bug#9466).
20933 2011-09-10 Juri Linkov <juri@jurta.org>
20935 * paren.el (show-paren-function): Don't show escaped parens.
20936 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20938 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20940 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20941 (mm-default-file-encoding): Remove autoload forms, they are
20942 replaced with autoload cookies in mml.el and mm-encode.el.
20943 (mail-add-attachment): New command.
20944 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20945 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20947 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20949 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20951 * simple.el (count-words-region): Use buffer if there's no region
20954 2011-09-09 Juri Linkov <juri@jurta.org>
20956 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20957 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20958 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20960 2011-09-09 Alan Mackenzie <acm@muc.de>
20962 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20963 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20965 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20967 Fix for Savannah bug#9392.
20968 * simple.el (mail-encode-mml): New defvar.
20970 * mail/rmail.el (mail-encode-mml): Add a defvar.
20971 (rmail-enable-mime-composing): Default to t.
20972 (rmail-forward): Use MIME method of forwarding only if both
20973 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20974 Set mail-encode-mml non-nil if the MIME method was used.
20976 * mail/sendmail.el (mml-to-mime): Add autoload form.
20977 (mail-encode-mml): Add a defvar.
20978 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20980 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20981 message through mml-to-mime, and reset mail-encode-mml to nil.
20983 2011-09-09 Glenn Morris <rgm@gnu.org>
20985 * woman.el (woman-if-body): When processing an .el block,
20986 do not delete the next .el block as well. (Bug#9447)
20987 (woman-special-characters): Add oq, cq, and hy characters.
20989 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20991 * window.el (window-deletable-p): Make sure window is live before
20992 invoking window-prev-buffers.
20994 2011-09-08 Leo Liu <sdl.web@gmail.com>
20996 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20998 2011-09-08 Juri Linkov <juri@jurta.org>
21000 * progmodes/compile.el (compilation-environment): Make it
21001 a defcustom (bug#8340).
21003 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21005 * window.el (frame-auto-delete): Rename to window-auto-delete.
21006 Make it control auto-deletion of windows and/or frames.
21007 (window-deletable-p): New argument FORCE. Rewrite conditions
21008 for deleting window/frame. (Bug#9419)
21009 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21010 Rewrite handling of case when window/frame can be deleted.
21011 (delete-windows-on): Call window-deletable-p with new FORCE
21012 argument t. (Bug#9456)
21014 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21016 * help-mode.el (help-mode): Restore autoload.
21018 2011-09-07 Juri Linkov <juri@jurta.org>
21020 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21021 `compilation-environment'. Set buffer-local
21022 `compilation-environment' to `thisenv' later after (funcall mode).
21025 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21026 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21027 instead of replacing its value. (Bug#8340)
21029 2011-09-07 Juri Linkov <juri@jurta.org>
21031 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21032 based on text properties put by `grep-filter' instead of matching
21034 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21035 to the value of `grep-error-screen-columns' (bug#9438).
21037 2011-09-07 Juri Linkov <juri@jurta.org>
21039 * simple.el (next-error-highlight, next-error-highlight-no-select):
21040 Doc fix (bug#9432).
21042 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21044 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21045 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21047 2011-09-07 Leo Liu <sdl.web@gmail.com>
21049 * net/rcirc.el (rcirc-mode): Conditionally initialize
21052 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21054 * emacs-lisp/find-func.el (find-function-C-source): Only set
21055 find-function-C-source-directory after checking that we found a source
21056 file there (bug#9440).
21058 2011-09-06 Alan Mackenzie <acm@muc.de>
21060 * isearch.el (isearch-other-meta-char): Wherever a key list is
21061 unread, "unread" the prefix arg, too. This fixes bug #8901.
21063 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21065 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21067 2011-09-05 Juri Linkov <juri@jurta.org>
21069 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21071 2011-09-05 Juri Linkov <juri@jurta.org>
21073 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21074 keeping point where processing of grep matches begins, and
21075 continue to delete remaining escape sequences from the same point.
21076 (grep-filter): Make leading zero optional in "0?1;31m" because
21077 git-grep emits "\033[1;31m" escape sequences unlike expected
21078 "\033[01;31m" as GNU Grep does (bug#9408).
21079 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21081 2011-09-05 Juri Linkov <juri@jurta.org>
21083 * subr.el (y-or-n-p): Capitalize "yes".
21085 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21087 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21088 `tramp-cache-unload-hook' where appropriate.
21089 (tramp-methods): Rename `tramp-remote-sh' to
21090 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21091 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21093 * net/tramp-sh.el (top): Don't require 'shell.
21094 (tramp-methods): Add `tramp-remote-shell' and
21095 `tramp-remote-shell-args' entries.
21096 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21097 (tramp-sh-handle-shell-command): Remove.
21098 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21099 Use `tramp-remote-shell'.
21101 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21103 * mail/sendmail.el (sendmail-query-once-function): Delete.
21104 (sendmail-query-once): Save directly to send-mail-function.
21105 Update message-send-mail-function too.
21107 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21109 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21111 * progmodes/python.el (python-mode-map): Use correct function to
21112 start python interpreter from menu-bar (as reported by Geert
21114 (inferior-python-mode-map): Fix typo.
21115 (python-shell-map): Remove.
21117 2011-09-03 Deniz Dogan <deniz@dogan.se>
21119 * net/rcirc.el (rcirc-print): Simplify code for
21120 rcirc-scroll-show-maximum-output. There is no need to walk
21121 through all windows to find the right one.
21123 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21125 * help.el (help-return-method): Doc fix.
21127 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21129 * window.el (window-deletable-p): Don't return a non-nil value
21130 when there's a buffer that was shown in the window before.
21132 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21133 Set window's previous buffers to nil.
21135 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21137 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21138 newline before and after the tag line, so it doesn't interfere
21139 with determining the paragraph direction of bidirectional text.
21141 2011-09-03 Leo Liu <sdl.web@gmail.com>
21143 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21145 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21147 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21148 (pop-to-buffer): Change interactive spec. Pass second argument
21149 directly to display-buffer.
21150 (display-buffer): Fix interactive spec. Use functionp to
21151 distinguish between a function and a list of functions.
21153 * abbrev.el (edit-abbrevs):
21154 * arc-mode.el (archive-extract):
21155 * autoinsert.el (auto-insert):
21156 * bookmark.el (bookmark-bmenu-list):
21157 * files.el (find-file):
21158 * view.el (view-buffer):
21159 * progmodes/compile.el (compilation-goto-locus):
21160 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21162 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21164 * window.el (display-buffer-alist): Doc fix.
21165 (display-buffer): Add docstring. Don't treat
21166 display-buffer-default specially.
21167 (display-buffer-reuse-selected-window)
21168 (display-buffer-same-window, display-buffer-maybe-same-window)
21169 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21170 (display-buffer-pop-up-window)
21171 (display-buffer-reuse-or-pop-window)
21172 (display-buffer-use-some-window): New functions.
21173 (display-buffer-default-action): Use them.
21174 (display-buffer-default): Delete.
21175 (pop-to-buffer-1): Fix choice of actions.
21177 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21179 * minibuffer.el (completion--insert-strings): Don't get confused by
21180 completion entries that end with an LF char.
21182 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21184 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21186 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21188 * window.el (display-buffer): Restore interactive spec.
21189 (display-buffer-same-window, display-buffer-other-window):
21191 (pop-to-buffer-1): New function. Use the above.
21192 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21193 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21195 * view.el (view-buffer-other-window, view-buffer-other-frame):
21196 Just use pop-to-buffer.
21198 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21200 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21202 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21204 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21206 2011-08-31 Richard Stallman <rms@gnu.org>
21208 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21209 of the separation of rmail-view-buffer from rmail-buffer.
21210 If you say no to "replace original", the decrypt is in the
21211 view buffer. If you say yes, the decrypt goes into the
21214 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21216 * window.el (display-buffer-window): Rewrite doc-string.
21217 (display-buffer-record-window): New function.
21218 (display-buffer-macro-specifiers)
21219 (display-buffer-even-window-sizes, display-buffer-set-height)
21220 (display-buffer-set-width, display-buffer-in-window)
21221 (display-buffer-reuse-window, display-buffer-split-specifiers)
21222 (display-buffer-side-specifiers, display-buffer-split-window-1)
21223 (display-buffer-split-window, display-buffer-split-atom-window)
21224 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21225 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21226 (display-buffer-other-window-means-other-frame)
21227 (display-buffer-normalize-special)
21228 (display-buffer-normalize-default)
21229 (display-buffer-normalize-argument)
21230 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21231 (display-buffer-normalize-specifiers, display-buffer-frame)
21232 (display-buffer-same-window, display-buffer-same-frame)
21233 (display-buffer-other-window)
21234 (display-buffer-same-frame-other-window)
21235 (display-buffer-other-frame, pop-to-buffer-same-window)
21236 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21237 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21238 (switch-to-buffer-same-frame)
21239 (switch-to-buffer-other-window-same-frame)
21240 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21241 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21242 (display-buffer-alist-set): Remove.
21243 (display-buffer-function, special-display-buffer-names)
21244 (special-display-regexps, special-display-function):
21245 In doc-string refer to display-buffer-window and quit-restore
21247 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21248 (special-display-frame-alist, special-display-popup-frame)
21249 (same-window-buffer-names, same-window-regexps, same-window-p)
21250 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21251 (split-window-preferred-function, split-height-threshold)
21252 (split-width-threshold, window-splittable-p)
21253 (split-window-sensibly, window--try-to-split-window)
21254 (window--frame-usable-p, even-window-heights)
21255 (window--even-window-heights, window--display-buffer-1)
21256 (window--display-buffer-2, display-buffer-other-frame):
21257 Restore old Emacs 23 code, order and doc-strings where applicable.
21258 (display-buffer-default, display-buffer-assq-regexp): New functions.
21259 (display-buffer-alist): Rewrite doc-string.
21260 (display-buffer-default-action)
21261 (display-buffer-overriding-action): New variables.
21262 (display-buffer, switch-to-buffer): Rewrite.
21263 (pop-to-buffer): Restore Emacs 23 behavior but use
21264 window-normalize-buffer-to-display.
21265 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21266 Restore Emacs 23 behavior but use
21267 window-normalize-buffer-to-switch-to.
21268 (pop-to-buffer-same-window): Rewrite.
21269 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21270 Rewrite using Emacs 23 options.
21272 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21274 * net/tramp.el (tramp-root-regexp): Remove.
21275 (tramp-completion-file-name-regexp-unified)
21276 (tramp-completion-file-name-regexp-separate)
21277 (tramp-completion-file-name-regexp-url): Don't use leading volume
21278 letter on w32 systems. (Bug#5303, Bug#9311)
21279 (tramp-drop-volume-letter): Simplify definition.
21280 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21282 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21284 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21287 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21289 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21291 2011-08-29 Juri Linkov <juri@jurta.org>
21293 * isearch.el (isearch-done): Don't display message "Mark saved"
21294 when arg `edit' is non-nil to prevent its flicker in the echo area.
21296 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21298 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21299 obsolete packages for deletion.
21301 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21303 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21304 (help-mode): Derive help-mode from special-mode. Don't invoke
21305 view-mode from help-mode.
21306 (help-xref-override-view-map): Remove.
21307 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21308 view-mode is not used anymore.
21310 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21312 * server.el (server-port): Doc fix.
21314 * cus-theme.el (custom-theme-choose-mode): Inherit from
21315 special-mode (Bug#9124).
21316 (custom-theme-choose-mode-map): Add special-mode to parent.
21318 2011-08-28 Alan Mackenzie <acm@muc.de>
21320 * progmodes/cc-fonts.el
21321 (c-make-font-lock-BO-decl-search-function): New function.
21322 (c-basic-matchers-after - "Fontify the clauses after various
21323 keywords"): Extract the three keyword lists for the 3 erroneous
21324 constructs from the list of four, and use the new function above
21325 in place of an old one.
21327 2011-08-28 Deniz Dogan <deniz@dogan.se>
21329 * net/rcirc.el (rcirc-insert-prev-input)
21330 (rcirc-insert-next-input): Remove unused argument.
21332 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21334 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21336 2011-08-27 Alan Mackenzie <acm@muc.de>
21338 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21339 handle function pointer parameters properly.
21341 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21343 * window.el (display-buffer-reuse-window): Fix case where
21344 selected window was reused with non-nil OTHER-WINDOW argument.
21347 2011-08-27 Deniz Dogan <deniz@dogan.se>
21349 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21350 oftc's NickServ messages.
21352 2011-08-27 Glenn Morris <rgm@gnu.org>
21354 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21356 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21358 * emacs-lisp/package.el (package-install): Call package-initialize
21359 if called interactively.
21361 2011-08-26 Leo Liu <sdl.web@gmail.com>
21363 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21365 2011-08-25 Juri Linkov <juri@jurta.org>
21367 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21368 `search-whitespace-regexp' (bug#9364).
21370 2011-08-25 Juri Linkov <juri@jurta.org>
21372 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21373 `regexp-search-ring' to their global values to protect from
21374 updating by `read-from-minibuffer' (bug#9185).
21376 2011-08-25 Juri Linkov <juri@jurta.org>
21378 * textmodes/ispell.el (ispell-command-loop): Add newline
21379 at the end of the "Use option `i'..." line.
21381 2011-08-25 Juri Linkov <juri@jurta.org>
21383 * battery.el (display-battery-mode): If `battery-status-function'
21384 or `battery-mode-line-format' is nil, display the message and set
21385 `display-battery-mode' to nil (bug#9363).
21387 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21389 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21390 bidi-string-mark-left-to-right; they are unnecessary now.
21392 2011-08-25 Deniz Dogan <deniz@dogan.se>
21394 * net/quickurl.el: Documentation typo fixes.
21396 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21398 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21400 2011-08-25 Glenn Morris <rgm@gnu.org>
21402 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21404 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21405 (smtpmail-via-smtp): Handle nil response from smtp.
21407 2011-08-24 Juri Linkov <juri@jurta.org>
21409 * proced.el (proced-marked): Inherit from `error' instead of
21410 `font-lock-warning-face'.
21412 * ibuffer.el (ibuffer-marked-face): Change default face from
21413 `font-lock-warning-face' to `warning'.
21414 (ibuffer-deletion-face): Change default face from
21415 `font-lock-type-face' to `error'.
21417 * battery.el (battery-update): Use the face `error' instead of
21418 `font-lock-warning-face' (bug#6117).
21420 2011-08-24 Juri Linkov <juri@jurta.org>
21422 * faces.el (success): Change face color from "Green3" to
21423 "ForestGreen" on light background (bug#9353).
21425 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21427 * window.el (quit-window): Rename from quit-restore-window.
21428 Use same arglist as old quit-window.
21429 (frame-auto-delete): Doc fix.
21431 * view.el (view-mode-exit): Use quit-window.
21433 2011-08-24 Juri Linkov <juri@jurta.org>
21435 * isearch.el (isearch-ring-adjust1): Start visiting previous
21436 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21437 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21438 for empty search string (when the last search string is reused
21439 automatically) to adjust the isearch ring to the last element and
21440 prepare the correct index for further M-p commands (bug#9185).
21442 2011-08-24 Kenichi Handa <handa@m17n.org>
21444 * international/ucs-normalize.el: If decomposition property of
21445 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21447 (nfd, nfkd): Likewise.
21449 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21451 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21452 from process filters aren't reliably transmitted to the surrounding
21453 accept-process-output.
21454 (mpc-proc-check): New function.
21455 (mpc-proc-sync): Use it (bug#8293)
21457 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21459 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21460 Add compatibility functions (bug#9313).
21462 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21464 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21466 * international/uni-bidi.el: Regenerate.
21468 2011-08-23 Kenichi Handa <handa@m17n.org>
21470 * international/charprop.el:
21471 * international/uni-bidi.el:
21472 * international/uni-category.el:
21473 * international/uni-combining.el:
21474 * international/uni-comment.el:
21475 * international/uni-decimal.el:
21476 * international/uni-decomposition.el:
21477 * international/uni-digit.el:
21478 * international/uni-lowercase.el:
21479 * international/uni-mirrored.el:
21480 * international/uni-name.el:
21481 * international/uni-numeric.el:
21482 * international/uni-old-name.el:
21483 * international/uni-titlecase.el:
21484 * international/uni-uppercase.el: Regenerate.
21486 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21488 * help.el (help-window-setup): Fix message displayed when other
21489 window is reused. (Bug#9341)
21491 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21493 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21494 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21496 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21498 * shell.el (shell-parse-pcomplete-arguments): New function.
21499 (shell-completion-vars): Use it instead (bug#9160).
21501 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21503 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21504 strings and comments (bug#9333).
21506 * emacs-lisp/debug.el (debug-arglist): New function.
21507 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21508 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21510 2011-08-22 Juri Linkov <juri@jurta.org>
21512 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21513 Revert regexp that highlights output switches to its old
21514 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21516 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21517 to check for empty output (bug#9226).
21519 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21521 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21522 symbol-constituent as the default, as that stops font-lock from
21523 working properly (Bug#8843).
21525 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21527 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21528 `coding-system-for-*' around the process open call to avoid
21529 auth-source side effects.
21530 (smtpmail-try-auth-methods): Expand the secret password.
21531 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21534 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21536 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21538 * emacs-lisp/find-func.el (find-function-noselect): New arg
21541 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21542 signal an error for built-in functions (Bug#6664).
21544 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21546 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21547 (smtpmail-try-auth-methods): Use it.
21549 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21551 * font-lock.el (font-lock-fontify-region)
21552 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21553 (font-lock-default-unfontify-buffer)
21554 (font-lock-default-fontify-region)
21555 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21557 * progmodes/compile.el (compilation-error-properties):
21558 Fix confusion between file struct and message struct (Bug#9319).
21559 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21562 * net/browse-url.el (browse-url-firefox): Don't call
21563 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21565 2011-08-20 Glenn Morris <rgm@gnu.org>
21567 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21569 * tutorial.el (tutorial--default-keys): Update some default bindings.
21571 * files.el (hack-local-variables): Fully ignore case for "mode:".
21573 2011-08-20 Alan Mackenzie <acm@muc.de>
21575 Resolve invalid use of a regexp in regexp-opt.
21577 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21578 detection for a java annotation.
21580 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21581 detection for a java annotation.
21583 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21585 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21587 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21589 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21592 2011-08-20 Alan Mackenzie <acm@muc.de>
21594 Fontify CPP expressions correctly when starting in the middle of
21595 such a construct. Mainly for when jit-lock etc. starts a chunk
21598 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21600 (c-make-font-lock-search-form): New function, extracted from
21601 c-make-font-lock-search-function.
21602 (c-make-font-lock-search-function): Use the above function.
21603 (c-make-font-lock-context-search-function): New function.
21604 (c-cpp-matchers): Enhance the preprocessor expression case with
21606 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21607 which takes an expression.
21609 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21611 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21613 * window.el (display-buffer-reuse-window)
21614 (display-buffer-pop-up-window): Don't reuse or split a side
21617 2011-08-19 Glenn Morris <rgm@gnu.org>
21619 * files.el (hack-local-variables-prop-line, hack-local-variables):
21620 Downcase "Mode:". (Bug#9331)
21622 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21624 * international/characters.el: Add L and R categories.
21626 * subr.el (bidi-string-mark-left-to-right): Rename from
21627 string-mark-left-to-right. Use category search.
21629 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21631 2011-08-18 Juri Linkov <juri@jurta.org>
21633 * faces.el (error, warning, success): New faces with definitions
21634 copied from old default values of `font-lock-warning-face',
21635 `compilation-warning', `compilation-info' (bug#6117).
21637 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21639 * progmodes/compile.el (compilation-error): Inherit from `error'.
21640 (compilation-warning): Inherit from `warning'.
21641 (compilation-info): Inherit from `success'.
21643 * dired.el (dired-marked): Inherit from `warning'.
21644 (dired-flagged): Inherit from `error'.
21646 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21648 * mail/smtpmail.el (auth-source): Require to avoid problems with
21649 binding variables (bug#9298). Also clean up some unused
21652 * net/network-stream.el (network-stream-open-starttls):
21653 Support using starttls.el without using gnutls-cli.
21655 2011-08-17 Juri Linkov <juri@jurta.org>
21657 * progmodes/grep.el (rgrep): Handle the case when
21658 `grep-find-command' is a cons cell (bug#9278).
21660 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21662 * window.el (display-buffer-pop-up-frame): Run frame creation
21663 function with BUFFER current (as special-display-popup-frame
21664 does). Reported by Drew Adams.
21666 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21668 * epa-mail.el: Simplify GnuPG group expansion using
21670 (epa-mail-group-alist, epa-mail-group-modtime)
21671 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21672 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21673 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21676 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21678 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21680 2011-08-16 Alan Mackenzie <acm@muc.de>
21682 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21683 Correct, to avoid the inside of macros.
21685 2011-08-16 Richard Stallman <rms@gnu.org>
21687 * epa-mail.el: Handle GnuPG group definitions.
21688 (epa-mail-group-alist, epa-mail-group-modtime)
21689 (epa-mail-gnupg-conf-file): New variables.
21690 (epa-mail-parse-groups, epa-mail-sync-groups)
21691 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21692 (epa-mail-expand-recipients): New functions.
21693 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21695 * mail/rmail.el (rmail-epa-decrypt): New command.
21697 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21698 Don't bind buffer-read-only, just inhibit-read-only.
21699 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21700 (epa-decrypt-armor-in-region): Make error message clearer.
21702 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21704 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21705 and "a2b" to "ab" for `prefix'.
21707 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21709 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21711 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21712 Fourquet (Bug#8804).
21714 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21716 * startup.el (argi): Declare as global variable (bug#9275).
21718 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21720 * subr.el (string-mark-left-to-right): Search the entire string
21721 for RTL script, not just the terminating character. Doc fix.
21723 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21725 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21727 (js--regexp-literal, js-syntax-propertize-function): Remove.
21728 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21729 (js-mode-map): Don't rebind electric keys.
21730 (js-insert-and-indent): Remove.
21731 (js-mode): Setup electric-layout and electric-indent instead.
21733 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21735 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21737 * epa.el (epa-progress-callback-function): Fix the logic of
21738 displaying progress.
21739 * epa-file.el (epa-file-insert-file-contents): Make progress
21740 display more user-friendly.
21741 (epa-file-write-region): Ditto.
21743 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21745 * subr.el (string-mark-left-to-right): New function.
21747 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21748 Use string-mark-left-to-right.
21749 (list-buffers-noselect): Caller changed.
21751 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21752 Use string-mark-left-to-right.
21753 (tabulated-list-print): Recenter after moving point.
21755 2011-08-10 Juri Linkov <juri@jurta.org>
21757 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21758 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21759 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21761 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21763 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21766 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21768 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21769 character. (Bug#6594)
21771 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21773 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21774 (image-dired--with-db-file): New macro.
21775 (image-dired-write-tags, image-dired-remove-tag)
21776 (image-dired-create-gallery-lists, image-dired-write-comments)
21777 (image-dired-get-comment, image-dired-mark-tagged-files)
21778 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21779 (image-dired-gallery-generate): Use insert-file-contents.
21781 * time.el (display-time-world-list, display-time-world-display):
21782 * time-stamp.el (time-stamp-string):
21783 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21784 set-time-zone-rule (Bug#7337).
21786 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21788 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21789 (epg-error-to-string, epg-errors-to-string): New function.
21790 (epg-wait-for-completion): Reverse errors list.
21791 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21792 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21793 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21794 (epg-sign-keys, epg-generate-key-from-file)
21795 (epg-generate-key-from-string): Format errors by using
21796 epg-errors-to-string (bug#9255).
21797 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21799 2011-08-07 Juri Linkov <juri@jurta.org>
21801 * faces.el (list-faces-display): Remove extra angle bracket
21802 from `help-mode-map'.
21804 * info.el (Info-history-toc-nodes): Doc fix.
21806 * longlines.el (longlines-mode): Doc fix.
21808 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21810 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21811 of statements and in a few more cases (bug#9183).
21813 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21815 (cl-transform-lambda): Use them (bug#9239).
21817 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21819 * window.el (display-buffer-same-window)
21820 (display-buffer-same-frame, display-buffer-other-window)
21821 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21822 (pop-to-buffer-other-window)
21823 (pop-to-buffer-same-frame-other-window)
21824 (pop-to-buffer-other-frame): Make them defuns.
21825 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21827 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21829 * subr.el (make-composed-keymap): Move from C. Change calling
21830 convention, and improve docstring to bring attention to a subtle point.
21831 * minibuffer.el (completing-read-default): Adjust accordingly.
21833 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21835 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21836 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21838 * net/trampver.el: Update release number.
21840 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21842 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21845 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21847 * mail/sendmail.el (sendmail-query-once): Restore the current
21848 buffer after querying (bug#9074).
21850 * dired.el (dired-flagged): Use different faces for marked and
21851 flagged files (bug#6117).
21853 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21856 * ido.el (ido-mode): Switch off the message if called
21859 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21860 before 587, since it appears that that's more likely to work for
21863 * cus-edit.el (custom-file): When running under emacs -q, always
21864 refuse to save the customizations, even if the .emacs file doesn't
21867 * info.el: Remove the `Info-beginning-of-buffer' function
21870 * net/network-stream.el (network-stream-open-starttls):
21871 Use `starttls-available-p' to see whether starttls.el can be used.
21873 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21875 * window.el (display-buffer-in-window): Don't set dedicated status
21876 of window here (Bug#9215).
21877 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21878 (display-buffer-pop-up-side-window)
21879 (display-buffer-in-side-window): Set dedicated status of window here.
21881 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21883 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21884 before binding generated-autoload-file.
21886 2011-08-01 Deniz Dogan <deniz@dogan.se>
21888 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21890 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21892 Sync with Tramp 2.2.2.
21894 * net/trampver.el: Update release number.
21896 2011-07-30 Juri Linkov <juri@jurta.org>
21898 * dired-aux.el (dired-touch-initial): Remove function.
21899 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21900 current time, and `default' to the last modification time of the
21901 current marked file (bug#6887).
21903 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21905 * simple.el (goto-line): Use string-to-number to provide a
21906 numeric argument to read-number (bug#9163).
21908 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21910 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21911 connection process, it could be nil.
21913 2011-07-27 Leo Liu <sdl.web@gmail.com>
21915 Simplify url handling in rcirc-mode.
21917 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21918 (rcirc-browse-url-at-mouse): Remove.
21919 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21921 2011-07-26 Alan Mackenzie <acm@muc.de>
21923 Fontify bitfield declarations properly.
21925 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21926 (c-symbol-chars): Now exported as a lang variable.
21927 (c-not-primitive-type-keywords): New lang variable.
21929 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21930 QT keyword "more" to prevent "more slots: ...." being spuriously
21931 parsed as a bitfield declaration.
21933 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21934 Refactor and enhance to handle bitfield declarations.
21935 (c-punctuation-in): New function.
21936 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21937 declarations properly.
21939 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21941 * calendar/icalendar.el (icalendar--all-events): Take care of
21942 multiple vcalendars in a single file.
21943 (icalendar--convert-float-to-ical): Checkdoc fixes.
21945 2011-07-25 Deniz Dogan <deniz@dogan.se>
21947 * image.el (insert-image): Clarifying docstring.
21949 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21951 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21952 `tramp-send-command-and-check' if there is no error.
21953 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21955 2011-07-22 Alan Mackenzie <acm@muc.de>
21957 Prevent cc-langs.elc being loaded at run time.
21959 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21962 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21963 "(require 'cc-langs)". Quote a form so it will evaluate at
21964 (cc-mode's) compilation time.
21966 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21968 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21969 loading. (Bug#9114)
21971 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21973 * window.el (display-buffer-pop-up-window)
21974 (display-buffer-pop-up-side-window)
21975 (display-buffer-in-side-window): Call display-buffer-set-height
21976 and display-buffer-set-width after setting the new window's
21977 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21979 2011-07-20 Sam Steingold <sds@gnu.org>
21981 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21982 (etags-tags-included-tables): Call `convert-standard-filename' on
21983 the file names contained in TAGS so that windows Emacs can handle
21984 TAGS files created by cygwin ctags.
21986 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21988 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21989 which apparently didn't work.
21991 2011-07-19 Roland Winkler <winkler@gnu.org>
21993 * proced.el (proced-send-signal): For *Marked Processes* buffer
21994 put point at beginning of buffer.
21996 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21998 * proced.el (proced-format): Make header lines align with the text
22001 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22003 * view.el (view-buffer): Allow running in `special' modes if we're
22004 visiting a file (bug#8615).
22006 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22008 * window.el (display-buffer-alist-of-strings-p)
22009 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22011 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22014 2011-07-18 Alan Mackenzie <acm@muc.de>
22016 Fontify declarators properly when, e.g., a jit-lock chunk begins
22017 inside a declaration.
22019 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22023 (c-complex-decl-matchers): Insert reference to
22024 c-font-lock-enclosing-decls.
22026 * progmodes/cc-engine.el (c-backward-single-comment):
22027 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22028 to nil around calls to (forward-comment -1).
22030 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22032 * image.el (put-image): Doc typo fix.
22034 * progmodes/etags.el (tags-search): Doc typo fix.
22036 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22037 password if we get errors 550 to 554.
22039 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22041 * net/gnutls.el (gnutls-log-level): Remove.
22043 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22044 indentation character (bug#6380).
22046 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22048 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22049 to clarify what the problem is (bug#4291).
22051 * simple.el (current-kill): Clarify what
22052 `interprogram-paste-function' does (bug#7500).
22053 (auto-fill-mode): Document `auto-fill-function' in relation to
22054 `auto-fill-mode' (bug#2470).
22056 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22058 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22059 method if slot is read-only (bug#9035).
22061 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22063 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22064 * window.el (pop-to-buffer): Select window used even if it was
22065 selected before, see discussion of (Bug#8615), (Bug#6954).
22066 Pass argument NORECORD on to select-frame-set-input-focus.
22068 2011-07-15 Glenn Morris <rgm@gnu.org>
22070 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22073 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22075 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22076 (gnutls-negotiate): Use it.
22078 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22080 * net/gnutls.el (gnutls-negotiate):
22081 Upcase `gnutls-algorithm-priority'.
22083 2011-07-15 Glenn Morris <rgm@gnu.org>
22085 * jka-compr.el (jka-compr-verbose): Move from here...
22086 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22087 Add missing :version tag.
22088 * info.el: No need to require jka-compr when compiling.
22090 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22092 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22093 (gnutls-negotiate): Use it.
22095 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22097 * info.el (Info-beginning-of-buffer): New command.
22098 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22099 announcing `b' as the key (bug#8325).
22100 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22102 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22104 * international/mule-cmds.el
22105 (describe-specified-language-support): Make the error message
22106 clearer (bug#8905).
22108 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22110 * isearch.el (isearch-barrier): Add a doc string, since it's
22111 mentioned in a function doc string (bug#8678).
22113 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22115 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22116 buffer argument (Bug#9083) and self-identifying label argument.
22118 2011-07-15 Glenn Morris <rgm@gnu.org>
22120 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22122 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22124 * man.el (Man-fontify-manpage): Fix message when formatting the
22125 man page (bug#7929).
22127 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22129 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22130 argument LRM; if non-nil, append an invisible LRM character to the
22132 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22133 last argument non-nil, when formatting buffer names.
22134 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22135 paragraph direction.
22137 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22139 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22140 the man page name (bug#7929).
22142 * image.el (put-image): Mention the `put-image' overlay property
22145 * scroll-bar.el (set-scroll-bar-mode): Mention that
22146 `scroll-bar-mode' lists the values (bug#7772).
22148 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22149 command (bug#7729).
22151 * rect.el (apply-on-rectangle): Return the point after the last
22153 (string-rectangle): Go to the point after the last operation
22156 * printing.el (pr-toggle-region): Clarify the documentation
22157 slightly (bug#7493).
22159 * time.el (display-time-update):
22160 Allow `display-time-mail-function' to return nil (bug#7158).
22161 Fix suggested by Detlev Zundel.
22163 * vc/diff.el (diff): Clarify the order the file names are read
22166 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22167 the doc string (bug#7015).
22169 * font-lock.el (font-lock-maximum-decoration): Mention what
22170 numeric levels mean (bug#6935).
22172 * startup.el (initial-buffer-choice): Don't mention the `none'
22173 selection, which is against policy.
22175 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22177 * window.el (display-buffer-normalize-special):
22178 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22180 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22182 * subr.el (version<, version<=, version=): Mention "-CVS" and
22183 "-12345" alpha version numbers.
22185 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22187 * bindings.el: Add advertised binding for set-mark-command
22190 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22192 * bindings.el (mode-line-other-buffer):
22193 * bookmark.el (bookmark-bmenu-2-window):
22194 * bs.el (bs-cycle-next, bs-cycle-previous):
22195 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22198 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22201 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22203 * follow.el (follow-debug-message, follow-redisplay):
22204 * jka-cmpr-hook.el (with-auto-compression-mode):
22205 Fix typos in docstrings.
22207 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22209 * subr.el (with-silent-modifications): Clarify somewhat what the
22210 macro inhibits (bug#6525).
22212 * simple.el (eval-expression): Note what it does if called
22213 interactively (bug#6495).
22215 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22217 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22218 Use pop-to-buffer buffer-or-name if it is nil.
22220 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22221 Remove switch-to-buffer.
22223 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22225 * files.el (make-directory): Clarify that an error will be raised
22226 if there's an error (bug#6397).
22228 * startup.el (initial-buffer-choice): Add `none' as a choice
22231 * subr.el (add-hook): Clarify section about buffer-local hooks
22234 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22236 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22238 * tabify.el (untabify): Preserve the current column so that point
22239 doesn't move (bug#6032).
22241 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22243 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22244 Rewrite to avoid awkward possessive "s" (bug#5986).
22246 2011-07-13 Glenn Morris <rgm@gnu.org>
22248 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22249 (dired-insert-directory): Give a message the first time
22250 if ls is found not to support --dired.
22252 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22254 * simple.el (toggle-truncate-lines): Clarify what is toggled
22255 (bug#5580). Text by Drew Adams.
22257 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22259 * simple.el (blink-matching-open): Make the error message from the
22260 last change less verbose.
22262 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22264 * font-lock.el (font-lock-comment-face): Use the high contrast
22265 "yellow" color for font-lock-comment-face on low color terminals
22266 using a dark background color (bug#4221).
22268 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22270 * dired.el (dired-insert-set-properties): Make the doc string
22271 reflect what it does now (bug#5325).
22273 * simple.el (blink-matching-open): Say that we were unable to find
22274 the match within the limit, if we're limited (bug#5122).
22276 * international/mule-cmds.el (prefer-coding-system): Add an
22277 example (bug#4869).
22279 * progmodes/etags.el (tags-search): Document `file-list-form'
22282 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22284 * net/browse-url.el (browse-url-default-browser)
22285 (browse-url-browser-function): Make the default browser choice a
22286 bit more logical (bug#4300). Also clean up the doc string.
22288 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22290 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22291 binary endings (bug#4440).
22293 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22295 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22296 which can be pretty annoying (bug#8971).
22298 * jka-compr.el (jka-compr-verbose): New variable, and use
22299 throughout (bug#8971).
22301 * info.el (Info-find-file): Fall back on the installation
22302 directory if we can't find the info node anywhere else.
22304 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22306 * vc/vc.el (vc-revert-file):
22307 Don't set file time-stamp in the past. (Bug#5181)
22309 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22311 * files.el (after-find-file): Give a better error message when
22312 trying to find a symlink that points to a file that doesn't exist
22315 * progmodes/cc-vars.el: Remove (probably) misleading comment
22318 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22320 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22322 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22324 * mouse-sel.el: Hack restoring functionality, while keeping
22325 compatibility with 2010-07-03 changes to mouse selection.
22326 (mouse-sel-primary-overlay): New var.
22327 (mouse-sel-selection-alist): Use it.
22328 (mouse-sel-mode): Doc fix; remove points that are default features
22331 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22333 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22334 Fix previous fix (bug#2490).
22336 2011-07-12 Roland Winkler <winkler@gnu.org>
22338 * textmodes/bibtex.el (bibtex-initialize):
22339 Use pop-to-buffer-same-window.
22340 (bibtex-search-entries): Fix interactive call.
22342 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22344 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22345 Fontise bytecomp Error lines more correctly (bug#2490).
22346 Fix suggested by Johan BockgĂ¥rd.
22348 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22350 * dired-x.el (dired-guess-default): Use `delete-dups'.
22352 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22354 * dired.el (dired-mark-prompt):
22355 * dired-aux.el (dired-read-shell-command): Doc fix.
22357 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22359 * mail/sendmail.el (sendmail-query-once):
22360 Use `customize-save-variable' unconditionally, now that it works under
22363 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22365 * cus-edit.el (custom-file): Take an optional no-error variable.
22366 (customize-save-variable): Set the variable, and give a warning if
22367 running under "emacs -q".
22369 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22371 * loadhist.el (unload-feature-special-hooks):
22372 Add `auto-coding-functions', `fill-nobreak-predicate' and
22373 `find-directory-functions' (bug#5327).
22375 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22377 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22379 * cus-edit.el (custom-guess-name-alist): -alist variables should
22380 use the `alist' type (bug#3120). Suggested by Drew Adams.
22382 * printing.el: Add documentation to all the `pr-toggle-' commands.
22384 2011-07-11 Leo Liu <sdl.web@gmail.com>
22386 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22387 backends where it makes sense (bug#2623).
22389 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22391 * dired-x.el (dired-guess-default): Remove duplicate shell command
22392 entries (bug#2028).
22393 (dired-guess-default): Fix grammar in doc string (bug#2028).
22394 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22396 * subr.el (remove-duplicates): New conveniency function.
22398 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22400 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22403 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22405 * window.el (display-buffer-normalize-default): Don't invert
22406 meaning of even-window-heights. Reported by Eli Zaretskii
22409 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22411 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22413 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22415 * window.el (display-buffer): Fix arguments to
22416 display-buffer-reuse-window in last change.
22418 * faces.el (link): Use a less saturated blue on light backgrounds.
22420 * startup.el (fancy-startup-text, fancy-about-text)
22421 (fancy-startup-tail): Use font-lock faces, for background safety.
22423 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22425 * emulation/viper-cmd.el (viper-change-state-to-vi):
22426 Limit triggering of abbrev expansion (Bug#9038).
22428 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22430 * window.el (display-buffer-default-specifiers): Remove.
22431 (display-buffer-macro-specifiers): Remove default specifiers.
22432 (display-buffer-alist): Default to nil.
22433 (display-buffer-reuse-window): New optional argument other-window.
22434 (display-buffer-pop-up-window): Allow splitting internal
22435 windows. Check whether a live window was created.
22436 (display-buffer-other-window-means-other-frame)
22437 (display-buffer-normalize-arguments): Rename to
22438 display-buffer-normalize-argument and rewrite. Set the
22439 other-window specifier.
22440 (display-buffer-normalize-special): New function.
22441 (display-buffer-normalize-options): Rename to
22442 display-buffer-normalize-default and rewrite.
22443 (display-buffer-normalize-options-inhibit): Remove.
22444 (display-buffer-normalize-specifiers): Rewrite.
22445 (display-buffer): Process other-window specifier and call
22446 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22448 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22449 (display-buffer-alist-set): Don't handle 'unset default values.
22450 (display-buffer-in-window, display-buffer-alist-set):
22451 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22452 <tassilo@member.fsf.org>.
22454 2011-07-09 Leo Liu <sdl.web@gmail.com>
22456 * register.el (insert-register): Restore accidental change on
22457 2011-06-26. (Bug#9028)
22459 2011-07-09 Glenn Morris <rgm@gnu.org>
22461 * subr.el (remq): Handle the empty list. (Bug#9024)
22463 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22465 * mail/sendmail.el (send-mail-function): No longer delay custom
22467 * custom.el (custom-initialize-delay): Doc fix.
22469 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22471 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22473 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22475 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22476 human-friendly prompt.
22478 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22480 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22481 provided by a particular plugin.
22483 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22485 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22486 save customizations (with "emacs -Q"), just set the variable
22487 instead of erroring out.
22489 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22491 2011-07-08 Juri Linkov <juri@jurta.org>
22493 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22494 (archive-zip-update-case): Use 7z if found by `executable-find'.
22495 The order of searching the available programs is the same as in
22496 `archive-zip-extract' (bug#8968).
22498 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22500 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22501 (menu-bar-options-menu): Tweak descriptions.
22503 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22505 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22506 menu items into verb phrases (bug#1421). Also refill to fit under
22509 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22511 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22512 (Info-read-node-name): Doc fix (Bug#1084).
22514 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22515 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22516 (end-of-sexp, beginning-of-sexp)
22517 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22518 (forward-symbol, forward-same-syntax, word-at-point)
22519 (sentence-at-point): Doc fix (Bug#1144).
22521 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22523 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22524 should cover it (bug#1281).
22526 * cus-edit.el (custom-show): Mark as obsolete.
22528 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22529 negotiation fails, then possibly try again with a non-encrypted
22530 connection (bug#9017).
22532 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22535 2011-07-07 Richard Stallman <rms@gnu.org>
22537 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22538 property, and handle its changed format.
22539 Look for the correct line number.
22540 Use file's line contents (but not past first =) to find
22541 correct line in message.
22543 2011-07-07 Kenichi Handa <handa@m17n.org>
22545 * international/characters.el (build-unicode-category-table):
22547 (unicode-category-table): Set it by unicode-property-table-internal.
22549 * international/mule-cmds.el (char-code-property-alist): Move to
22551 (get-char-code-property): Call unicode-property-table-internal to
22552 load a file. Call get-unicode-property-internal where necessary.
22553 (put-char-code-property): Call unicode-property-table-internal to
22554 load a file. Call put-unicode-property-internal where necessary.
22555 put-unicode-property-internal where necessary.
22556 (char-code-property-description):
22557 Call unicode-property-table-internal to load a file.
22559 * international/charprop.el:
22560 * international/uni-bidi.el:
22561 * international/uni-category.el:
22562 * international/uni-combining.el:
22563 * international/uni-comment.el:
22564 * international/uni-decimal.el:
22565 * international/uni-decomposition.el:
22566 * international/uni-digit.el:
22567 * international/uni-lowercase.el:
22568 * international/uni-mirrored.el:
22569 * international/uni-name.el:
22570 * international/uni-numeric.el:
22571 * international/uni-old-name.el:
22572 * international/uni-titlecase.el:
22573 * international/uni-uppercase.el: Regenerate.
22575 * loadup.el: Load international/charprop.el before
22576 international/characters.
22578 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22580 * window.el (next-buffer, previous-buffer): Signal an error if
22581 called from a minibuffer window.
22583 * bindings.el: Revert 2011-07-04 change.
22585 2011-07-06 Richard Stallman <rms@gnu.org>
22587 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22588 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22589 Treat markers like ints.
22590 (rmail-mime-entity): Doc fix.
22592 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22594 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22595 defcustom again for backwards compatibility.
22597 * simple.el (shell-command-on-region): Fill.
22599 * dired-aux.el (dired-kill-line): Add a doc string.
22601 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22602 to "\\sw\\|\\s_" (bug#358).
22604 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22605 (dired-unmark-backward): Ditto.
22606 (dired-flag-backup-files): Ditto.
22608 * dired-x.el (dired-mark-sexp): Ditto.
22610 2011-07-06 Richard Stallman <rms@gnu.org>
22612 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22613 (rmail-mime-entity): New arg TRUNCATED.
22614 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22616 (rmail-mime-save): Warn if entity is truncated.
22617 (rmail-mime-toggle-hidden): Likewise, for showing.
22618 (rmail-mime-process-multipart): Record when an entity is truncated.
22620 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22621 if ENTITY is a string.
22623 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22625 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22626 of faces when `M-C-x'-ing their definitions (bug#8378).
22627 Also clean up the code slightly.
22629 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22630 because that makes the colors go away.
22632 * mail/sendmail.el (send-mail-function): Change the default to
22633 `sendmail-query-once'.
22634 (sendmail-query-once): Add an autoload cookie.
22636 * net/network-stream.el (network-stream-open-starttls): Try using
22637 a plain connection even if the server offered STARTTLS, and we
22638 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22639 capability. This should make smtpmail.el work in slightly more
22642 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22644 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22646 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22648 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22650 * progmodes/sql.el: Version 3.0
22651 (sql-product-alist): Add product :completion-object,
22652 :completion-column, and :statement attributes.
22653 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22654 (sql-mode-syntax-table): Mark all punctuation.
22655 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22657 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22658 (sql-mode-oracle-font-lock-keywords): Improve.
22659 (sql-oracle-show-reserved-words): New function for development.
22660 (sql-product-font-lock): Simplify for source code buffers.
22661 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22663 (sql-highlight-product): Set product specific syntax table.
22664 (sql-mode-map): Add statement movement functions.
22665 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22667 (sql-statement-regexp, sql-beginning-of-statement)
22668 (sql-end-of-statement, sql-signum): New functions.
22669 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22670 (sql-show-sqli-buffer): Bug fix.
22671 (sql-interactive-mode): Store connection data as buffer local.
22672 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22673 with sql-interactive-mode.
22674 (sql-save-connection): Save buffer local settings.
22675 (sql-connection-menu-filter): Change menu entry name.
22676 (sql-product-interactive): Bug fix.
22677 (sql-preoutput-hold): New variable.
22678 (sql-interactive-remove-continuation-prompt): Bug fixes.
22679 (sql-debug-redirect): New variable.
22680 (sql-str-literal): New function.
22681 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22683 (sql-oracle-save-settings, sql-oracle-restore-settings)
22684 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22685 (sql-completion-object, sql-completion-column)
22686 (sql-completion-sqlbuf): New variables.
22687 (sql-build-completions-1, sql-build-completions)
22688 (sql-try-completion): New functions.
22689 (sql-read-table-name): Use them.
22690 (sql-contains-names): New buffer local variable.
22691 (sql-list-all, sql-list-table): Use it.
22692 (sql-oracle-completion-types): New variable.
22693 (sql-oracle-completion-object, sql-sqlite-completion-object)
22694 (sql-postgres-completion-object): New functions.
22696 2011-07-06 Glenn Morris <rgm@gnu.org>
22698 * window.el (pop-to-buffer): Doc fix.
22700 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22702 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22704 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22706 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22708 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22710 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22712 * button.el (button): Inherit from link face. Suggested by Dan
22715 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22717 * progmodes/gdb-mi.el: Fit in 80 columns.
22718 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22721 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22722 if imenu is simply not configured (bug#8941).
22724 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22726 * allout.el (allout-post-undo-hook): New allout outline-change
22727 event hook to signal undo activity.
22728 (allout-post-command-business): Run allout-post-undo-hook if an
22729 undo just occurred.
22730 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22731 * allout-widgets.el (allout-widgets-after-undo-function):
22732 Ensure the integrity of the current item's decoration after it has been
22733 in the vicinity of an undo.
22734 (allout-widgets-mode): Include allout-widgets-after-undo-function
22735 on the new allout-post-undo-hook.
22737 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22739 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22740 Let define-derived-mode define it.
22741 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22742 cycles of abbrev-table inheritance (bug#8998).
22744 2011-07-05 Roland Winkler <winkler@gnu.org>
22746 * textmodes/bibtex.el: Add support for biblatex.
22747 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22748 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22749 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22750 (bibtex-entry-alist, bibtex-field-alist): New variables.
22751 (bibtex-entry-field-alist): Obsolete alias for
22752 bibtex-BibTeX-entry-alist.
22753 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22754 (bibtex-set-dialect): New command.
22755 (bibtex-entry-type, bibtex-entry-head)
22756 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22757 Bind via bibtex-set-dialect.
22758 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22759 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22760 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22761 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22762 Define via bibtex-set-dialect.
22763 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22764 Obey bibtex-no-opt-remove-re.
22765 (bibtex-vec-push, bibtex-vec-incr): New functions.
22766 (bibtex-format-entry, bibtex-field-list)
22767 (bibtex-print-help-message, bibtex-validate)
22768 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22770 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22772 * progmodes/compile.el (compilation-goto-locus):
22773 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22774 * bs.el (bs-cycle-next, bs-cycle-previous):
22775 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22776 * bindings.el (mode-line-other-buffer):
22777 * autoinsert.el (auto-insert):
22778 * arc-mode.el (archive-extract):
22779 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22781 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22783 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22784 Fix check of `emacs-lock-unlockable-modes'.
22785 Coerce true values of `emacs-lock--try-unlocking' to t.
22787 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22789 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22790 * emacs-lock.el: New file.
22792 2011-07-05 Julien Danjou <julien@danjou.info>
22794 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22795 than `boundp' to check if face is set.
22797 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22799 * register.el (registerv-make):
22800 * window.el (window-min-height): Fix typos in docstrings.
22802 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22804 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22807 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22809 * server.el (server-execute): Catch quit and call
22810 `server-return-error' to pass the error back to emacsclient and
22811 close the connection (bug#8942).
22813 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22815 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22816 insecure exception for current topic. Also note that auto-saves
22817 are handled differently.
22819 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22820 State variables for tracking auto-save inhibition situation.
22822 (allout-write-contents-hook-handler): Rename from
22823 'allout-write-file-hook-handler', and describe how it depends on
22824 write-contents-functions sensitivity to non-nil value to prevent
22827 (allout-auto-save-hook-handler): Remove. auto-save does not check
22828 this in individual buffers, only in the starting buffer, so this
22829 is not the right way for us to inhibit auto-save in a buffer
22830 according to its condition.
22832 (allout-mode): Use new allout-write-contents-hook-handler, and
22833 only with write-contents-functions. Remove auto-save provisions -
22834 they're implemented elsewhere.
22836 (allout-before-change-handler): If undo is in progress, note that
22837 for attention of allout-post-command-business.
22839 (allout-post-command-business): If the command we're following was
22840 an undo, check for change in the status of encrypted items and
22841 adjust auto-save inhibitions accordingly.
22843 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22844 according to whether there are or aren't any plain-text topics
22845 pending encryption.
22847 (allout-inhibit-auto-save-info-for-decryption):
22848 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22849 if there are plain-text topics pending encryption.
22851 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22852 buffer-saved-size and some allout state to not inhibit auto-saves
22853 if there are no longer any plain-text topics pending encryption.
22855 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22856 No longer provide for exemption of the current topic.
22858 2011-07-04 Juri Linkov <juri@jurta.org>
22860 Add 7z operations to delete and save changed members (bug#8968).
22861 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22863 (archive-7z-write-file-member): New function.
22864 (archive-7z-summarize): Fix the number of dashes in the
22867 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22869 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22872 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22874 * bindings.el: Ignore next-buffer and previous-buffer in
22875 minibuffer-local-map.
22877 * font-lock.el (font-lock-builtin-face): Change light background
22878 color to dark slate blue (Bug#6693).
22880 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22882 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22884 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22886 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22887 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22888 Add switch-to-buffer.
22890 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22892 * isearch.el (isearch-search-fun-function): Clarify further the
22893 meaning of the function returned.
22895 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22897 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22899 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22900 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22902 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22903 `tramp-default-remote-path' does not exist.
22904 (tramp-send-command-and-read): New optional argument NOERROR.
22905 (tramp-open-connection-setup-interactive-shell)
22906 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22907 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22908 (tramp-process-sentinel): Flush also process' connection property.
22909 (tramp-sh-handle-start-file-process): Do not set process
22910 sentinel. It is done now ...
22911 (tramp-maybe-open-connection): ... here. (Bug#8929)
22913 2011-07-04 MON KEY <monkey@sandpframing.com>
22915 * play/animate.el (animate-string): Doc fixes and allow changing
22916 the buffer name (bug#5417).
22918 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22920 * play/animate.el (animation-buffer-name): Rename from *animate*.
22922 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22924 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22925 This is simpler and helps future-proof the code.
22926 (timer-until): Use time-subtract and float-time.
22927 (timer--time-less-p): Use time-less-p.
22929 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22931 * type-break.el (timep): Use the value of `float-time' to avoid a
22932 byte-compiler warning.
22934 * server.el (server-eval-and-print): Return any result, even nil.
22936 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22938 * type-break.el: Accept time formats that the builtins accept.
22939 (timep, type-break-time-difference): Accept any format that
22940 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22941 This is simpler and helps future-proof the code.
22942 (type-break-time-difference): Round rather than ignoring
22943 subseconds components.
22945 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22947 * info.el (Info-apropos-matches): Make non-interactive, since it
22948 doesn't seem to do anything useful as a command (bug#8829).
22950 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22952 * frame.el (frame-background-mode, frame-set-background-mode):
22953 Move from faces.el.
22954 (frame-default-terminal-background): New function.
22956 * custom.el (custom-push-theme): Don't record faces in `changed'
22957 theme; this doesn't work correctly for per-frame face settings.
22958 (disable-theme): Use face-set-after-frame-default to reset faces.
22959 (custom--frame-color-default): New function.
22961 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22963 * dired.el (dired-flagging-regexp): Remove unused variable
22966 2011-03-29 Kevin Ryde <user42@zip.com.au>
22968 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22969 `perl-Test2' extend to match possible "fail #N" rep count
22972 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22974 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22975 `smtpmail-via-smtp' now returns the error instead of nil.
22977 * isearch.el (isearch-search-fun-function): Clarify the doc string
22980 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22982 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22983 unnecessary spaces (bug#8987).
22985 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22987 * net/network-stream.el (open-network-stream): Use the
22988 :end-of-capability command thoughout.
22990 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22992 * net/network-stream.el (open-network-stream): Add the
22993 :end-of-capability command parameter, used by pop3.el.
22995 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22997 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22999 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23000 for list)" (bug#6475).
23002 * files.el (file-expand-wildcards): Ignore non-readable
23003 sub-directories while trying to find matches instead of signaling
23004 an error (bug#6297).
23006 * man.el (Man-reference-regexp): Allow matching possible
23007 word-wrapped references (bug#6289).
23009 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23010 for consistency with the other vc buffers (bug#6197).
23011 (vc-checkin): Ditto.
23013 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23015 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23017 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23019 * custom.el (defcustom): Clarify that :set is only used in the
23020 Customize user interface (bug#6089).
23022 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23023 associated with a file, refuse to run instead of erroring out
23026 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23027 the doc string, since it appears that using `fill-column' always
23028 controls the width (bug#7845).
23030 * simple.el (shell-command-on-region): Say where the error output
23031 went if `shell-command-default-error-buffer' is set (bug#6857).
23033 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23035 * allout.el (allout-yank-processing): Adjust cursor position for
23036 backwards-deleted space.
23038 (allout-rebullet-heading): Register changes with
23039 allout-exposure-changed-hook, so the modified topic is properly
23042 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23044 * minibuffer.el (completion-in-region): Document PREDICATE
23047 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23048 of keyword/argument pairs (bug#6904).
23050 * replace.el (multi-occur):
23051 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23053 2011-07-02 Drew Adams <drew.adams@oracle.com>
23055 * dired.el (dired-mark-if): Make the message about whether it's
23056 marking or unmarking clearer (bug#8523).
23058 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23060 * disp-table.el (display-table-print-array): New function.
23061 (describe-display-table): Use it to print the vectors more pretty
23064 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23066 * window.el (window-state-get-1): Don't assign clone numbers.
23067 Add clone-of item to list of window parameters.
23068 (window-state-put-2): Don't process clone numbers.
23069 (display-buffer-alist): Fix doc-string.
23071 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23073 * subr.el (remq): Don't allocate if it's not needed.
23074 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23075 (keymap--merge-bindings): New functions.
23076 (keymap-canonicalize): Use them to refine the canonicalization.
23077 * minibuffer.el (minibuffer-local-completion-map)
23078 (minibuffer-local-must-match-map): Move initialization from C.
23079 (minibuffer-local-filename-completion-map): Move initialization from C;
23080 don't inherit from anything here.
23081 (minibuffer-local-filename-must-match-map): Make obsolete.
23082 (completing-read-default): Use make-composed-keymap to combine
23083 minibuffer-local-filename-completion-map with either
23084 minibuffer-local-must-match-map or
23085 minibuffer-local-filename-completion-map.
23087 2011-07-01 Glenn Morris <rgm@gnu.org>
23089 * type-break.el (type-break-time-sum): Use dolist.
23091 * textmodes/flyspell.el (flyspell-word-search-backward):
23092 Replace CL function.
23094 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23096 * mouse.el (mouse--strip-first-event): New function.
23097 (function-key-map): Use it to map fringe clicks to normal clicks
23100 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23101 (vc-bzr-revision-completion-table): Add support for annotate and date.
23103 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23104 inherit from parent.
23106 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23108 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23109 (dired-show-file-type): Doc fixup (bug#8818).
23111 * dired.el (dired-mode): Fix up the doc string as suggested by
23112 Drew Adams (bug#8817).
23114 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23115 cookie, since the manual says that it should be possible to add
23116 this function to `find-file-hook' (bug#8709).
23118 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23120 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23121 here. Noted Ted Zlatanov as the maintainer.
23122 (cfengine-common-settings, cfengine-common-syntax): New functions
23123 to set up common things between `cfengine-mode' and
23125 (cfengine3-mode): New mode.
23126 (cfengine3-defuns cfengine3-defuns-regex
23127 (cfengine3-class-selector-regex cfengine3-category-regex)
23128 (cfengine3-vartypes cfengine3-font-lock-keywords)
23129 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23130 (cfengine3-indent-line): Add from cfengine3.el.
23132 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23134 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23136 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23138 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23140 * window.el (same-window-buffer-names, same-window-regexps)
23141 (same-window-p, special-display-frame-alist)
23142 (special-display-popup-frame, special-display-function)
23143 (special-display-buffer-names, special-display-regexps)
23144 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23145 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23146 (split-window-preferred-function, split-height-threshold)
23147 (split-width-threshold, even-window-heights)
23148 (display-buffer-mark-dedicated, window-splittable-p)
23149 (split-window-sensibly, window-safely-shrinkable-p):
23151 (display-buffer): Don't spread args with function specifier
23152 because special-display-popup-frame won't like it.
23154 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23156 Time-stamp simplifications and fixes.
23157 These improve accuracy slightly, and future-proof the code
23158 against some potential changes to current-time format.
23160 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23161 by using time-since and float-time.
23163 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23164 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23165 + NNN microseconds".
23167 * type-break.el (type-break-time-sum): Rewrite using time-add.
23169 * play/hanoi.el (hanoi-current-time-float): Remove.
23170 All uses replaced by float-time.
23172 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23173 This yields a more-accurate answer.
23174 (rng-time-to-float): Remove; no longer needed.
23176 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23178 * calendar/timeclock.el (timeclock-seconds-to-time):
23179 Defalias to seconds-to-time, since they're the same thing.
23181 * emacs-lisp/elp.el (elp-elapsed-time):
23182 * emacs-lisp/benchmark.el (benchmark-elapse):
23183 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23185 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23187 * window.el (bury-buffer): Don't iconify the only frame.
23188 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23189 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23191 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23193 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23194 Add mouse-yank-primary.
23196 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23198 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23200 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23202 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23203 (find-library-name): Use it to find relative load names when provided
23204 absolute file name (bug#8803).
23206 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23208 * textmodes/flyspell.el (flyspell-word): Consider words that
23209 differ only in case as potential doublons (bug#5687).
23211 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23212 Remove two rather uninteresting debugging-like messages to make
23213 debbugs.el more silent.
23215 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23216 a password-like phrase.
23218 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23220 * progmodes/cc-guess.el: New file.
23222 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23224 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23225 derived from `c-basic-common-init'.
23227 * progmodes/cc-mode.el (top-level): Require cc-guess.
23228 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23230 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23232 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23234 2011-06-30 Alan Mackenzie <acm@muc.de>
23236 * progmodes/cc-engine.el (c-guess-continued-construct):
23237 Correct the handling of template-args-cont, particularly for when font
23238 lock is disabled. Name this case as "CASE G".
23240 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23242 * allout.el (allout-yank-processing): Fix injection of extra space
23243 between bullet and non-whitespace character in first topic when
23244 pasting, ensuring that the actual spacing in the pasted topic
23245 following the bullet char is preserved. This extra space was
23246 causing pasted encrypted topics to get a decrypted status even
23247 when the content was actually still encrypted. Now the decryption
23248 status from before the paste is preserved.
23250 (allout-flag-region): Set all allout overlays so they evaporate
23251 when reduced to zero length (evanescent), to prevent overlay
23254 2011-06-30 Glenn Morris <rgm@gnu.org>
23256 * w32-fns.el (w32-charset-info-alist): Declare.
23258 * find-dired.el (find-grep-options): Simplify.
23260 * term/ns-win.el (ns-set-resource): Declare.
23262 * ses.el (row, col): Declare dynamic variables honestly.
23264 * textmodes/reftex-parse.el (index-tags): Declare.
23266 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23268 * cus-edit.el (customize-push-and-save): New function.
23270 * files.el (hack-local-variables-confirm): Use it.
23272 * custom.el (load-theme): New arg NO-CONFIRM.
23273 Use customize-push-and-save (Bug#8720).
23274 (custom-enabled-themes): Doc fix.
23276 * cus-theme.el (customize-create-theme)
23277 (custom-theme-merge-theme): Callers to load-theme changed.
23279 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23281 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23282 short URLs have at least one dot in them (bug #7614).
23284 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23285 nil, because using a pty is apparently too slow (bug #895).
23287 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23289 * mail/sendmail.el (sendmail-query-once): New function.
23290 (sendmail-query-once-function): New variable.
23292 2011-06-29 Glenn Morris <rgm@gnu.org>
23294 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23296 * ses.el (top-level): Require cl when compiling.
23297 (ses-set-localvars): Fix error statement.
23298 Call it at compile time to silence a storm of warnings.
23300 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23302 * window.el (normalize-live-buffer): Rename to
23303 window-normalize-buffer.
23304 (normalize-live-frame): Rename to window-normalize-frame.
23305 (normalize-any-window): Rename to window-normalize-any-window.
23306 (normalize-live-window): Rename to window-normalize-live-window.
23307 (make-window-atom): Rename to window-make-atom.
23308 (window-resize-reset): Rename to window--resize-reset.
23309 (window-resize-reset-1): Rename to window--resize-reset-1.
23310 (resize-mini-window): Rename to window--resize-mini-window.
23311 (resize-subwindows-skip-p): Rename to
23312 window--resize-subwindows-skip-p.
23313 (resize-subwindows-normal): Rename to
23314 window--resize-subwindows-normal.
23315 (resize-subwindows): Rename to window--resize-subwindows.
23316 (resize-other-windows): Rename to window--resize-siblings.
23317 (resize-this-window): Rename to window--resize-this-window.
23318 (resize-root-window): Rename to window--resize-root-window.
23319 (resize-root-window-vertically): Rename to
23320 window--resize-root-window-vertically.
23321 (normalize-buffer-to-display): Rename to
23322 window-normalize-buffer-to-display.
23323 (normalize-buffer-to-switch-to): Rename to
23324 window-normalize-buffer-to-switch-to.
23325 Correspondingly update all callers of the functions listed
23327 (display-buffer-alist, display-buffer-normalize-arguments)
23328 (display-buffer-normalize-options, display-buffer)
23329 (display-buffer-alist-set): Use "function" instead of
23332 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23334 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23335 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23336 debbugs.gnu.org. Mention acknowledgment email.
23338 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23340 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23341 buffer multibyteness, since it shouldn't matter.
23343 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23345 * window.el (display-buffer-in-side-window): Handle dedicated
23346 windows as in display-buffer-reuse-window.
23347 (display-buffer-normalize-alist): Use value of override
23349 (display-buffer-normalize-specifiers): Use value of
23350 other-window-means-other-frame specifier.
23351 (display-buffer-alist): Rewrite some texts in widgets.
23352 (display-buffer): Spread arguments when calling function
23353 specified by fun-with-args.
23355 2011-06-28 Deniz Dogan <deniz@dogan.se>
23357 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23360 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23361 selectors (Bug#5732).
23362 (css-proprietary-nmstart-re): Use `regexp-opt'.
23364 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23366 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23367 (eshell-ls-date-format): New defcustom.
23368 (eshell-ls-file): Use it.
23370 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23372 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23374 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23376 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23377 (ange-ftp-make-tmp-name): New arg.
23378 (ange-ftp-file-local-copy): Use it.
23380 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23382 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23383 no-conversion (Bug#8870).
23385 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23387 * window.el (window-right, window-left, window-child)
23388 (window-child-count, window-last-child)
23389 (window-iso-combination-p, walk-window-tree-1)
23390 (window-atom-check-1, window-tree-1, delete-window)
23391 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23392 new naming conventions - window-vchild, window-hchild,
23393 window-next and window-prev are now called window-top-child,
23394 window-left-child, window-next-sibling and window-prev-sibling
23396 (resize-window-reset): Rename to window-resize-reset.
23397 (resize-window-reset-1): Rename to window-resize-reset-1.
23398 (resize-window): Rename to window-resize.
23399 (window-min-height, window-min-width)
23400 (resize-mini-window, resize-this-window, resize-root-window)
23401 (resize-root-window-vertically, adjust-window-trailing-edge)
23402 (enlarge-window, shrink-window, maximize-window)
23403 (minimize-window, delete-window, quit-restore-window)
23404 (split-window, balance-windows, balance-windows-area-adjust)
23405 (balance-windows-area, window-state-put-2)
23406 (display-buffer-even-window-sizes, display-buffer-set-height)
23407 (display-buffer-set-width, set-window-text-height)
23408 (fit-window-to-buffer): Rename all "resize-window" prefixed
23409 calls to use the "window-resize" prefix convention.
23410 (display-buffer-alist): Fix symbol for label specifier.
23411 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23412 corresponding specifier.
23413 Reported by Juanma Barranquero <lekktu@gmail.com>.
23415 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23417 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23419 (ses-call-printer): Does not pass an empty string to formatter when the
23420 cell is empty to keep from barking printer Calc math-format-value.
23422 2011-06-27 Richard Stallman <rms@gnu.org>
23424 * battery.el (battery-mode-line-limit): New variable.
23425 (battery-update): Handle it.
23427 * mail/rmailmm.el (rmail-mime-process-multipart):
23428 Handle truncated messages.
23430 2011-06-27 Glenn Morris <rgm@gnu.org>
23432 * progmodes/flymake.el (flymake-err-line-patterns):
23433 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23435 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23437 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23438 (ses--clean-!, ses--clean-_): New functions.
23439 (ses-range): Add configurability of readout order, and conversion
23442 * ses.el (ses-repair-cell-reference-all): New function.
23443 (ses-cell-symbol): Set macro as safe, so that it can be used in
23446 * ses.el: Update cycle detection algorithm.
23447 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23448 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23449 (ses-set-localvars): New function.
23450 (ses-make-cell): Add property-list as a cell element.
23451 (ses-cell-property-get-fun, ses-cell-property-get)
23452 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23453 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23455 (ses-cell-property-set, ses-cell-property-pop)
23456 (ses-cell-property-get-handle): New macro.
23457 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23458 New aliases, used for code readability.
23459 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23461 (ses-self-reference-early-detection): New defcustom.
23462 (ses-formula-references): Robustify against self-referring cells.
23463 (ses-mode): Use ses-set-localvars.
23464 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23465 before lauching the update processing.
23466 (ses-initialize-Dijkstra-attempt): New function.
23467 (ses-recalculate-cell): Update for cycle detection based on
23468 Dijkstra algorithm.
23470 * ses.el: Fix commenting and indenting convention.
23472 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23474 * bs.el (bs-cycle-next): Complete last change.
23476 2011-06-27 Drew Adams <drew.adams@oracle.com>
23478 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23480 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23482 * net/network-stream.el (network-stream-open-starttls):
23483 Don't re-get capabilities unless we've reestablished connection.
23484 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23486 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23487 to binary to possibly avoid line encoding issues on Windows (among
23490 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23492 * net/network-stream.el (open-network-stream): Return an :error
23493 saying what the problem was, if possible.
23495 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23498 * net/network-stream.el (network-stream-open-starttls): If we
23499 wanted to use STARTTLS, and the server offered it, but we weren't
23500 able to because we had no STARTTLS support, then close the connection.
23501 (open-network-stream): Return an :error element, if present.
23503 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23505 * hl-line.el (hl-line-sticky-flag): Doc fix.
23506 (global-hl-line-sticky-flag): New option (Bug#8323).
23507 (global-hl-line-highlight): Obey it.
23509 * vc/vc.el (vc-revert-show-diff): Default to t.
23511 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23513 * allout-widgets.el (allout-widgets-post-command-business):
23514 Stop decorating intermediate isearch matches. They're not being
23515 undecorated when an isearch is continued past, and isearch
23516 automatically collapses them. This leads to "widget leaks", where
23517 decorated items accumulate in collapsed areas. Lines with lots of
23518 hidden widgets can slow down cursor travel, substantially.
23519 Too much complicated machinery would be needed to ensure undecoration,
23520 so we're doing without this nicety.
23522 (allout-widgets-tally-string): Don't try to do a hash-table-count
23523 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23524 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23525 *Messages* when allout-widgets-maintain-tally is t.
23527 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23529 * window.el (display-buffer-normalize-argument): Rename to
23530 display-buffer-normalize-arguments. Handle special meaning of
23531 LABEL argument. Respect special-display-function when popping up
23532 a new frame. Fix code searching for a window showing the buffer
23534 (display-buffer-normalize-specifiers):
23535 Call display-buffer-normalize-arguments.
23536 (display-buffer-in-window): Don't undedicate the window if its
23537 buffer remains the same.
23538 Reported by Drew Adams <drew.adams@oracle.com>.
23539 (display-buffer-alist): Add choice for same-window macro
23541 (display-buffer): Mention special meaning of LABEL argument in
23542 doc-string. Fix quoting. Don't pop up a new frame even as
23545 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23547 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23548 avoid deleting the current window in some cases (bug#8911).
23550 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23552 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23555 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23557 * net/network-stream.el (network-stream-open-starttls):
23558 Use built-in TLS support if `gnutls-available-p' is true.
23559 (network-stream-open-tls): Ditto.
23561 2011-06-26 Leo Liu <sdl.web@gmail.com>
23563 * register.el (registerv): New struct.
23564 (registerv-make): New function.
23565 (jump-to-register, describe-register-1, insert-register):
23566 Support the jump-func, print-func and insert-func slot of a registerv
23569 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23571 * vc/vc.el (vc-revert-show-diff): New defcustom.
23572 (vc-diff-internal): New arg specifying diff buffer.
23573 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23574 reuse an existing *vc-diff* buffer (Bug#8927).
23576 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23578 2011-06-26 Glenn Morris <rgm@gnu.org>
23580 * progmodes/f90.el (f90-critical-indent): New option.
23581 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23582 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23583 (f90-mode): Doc fix.
23584 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23585 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23586 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23587 (f90-match-end): Handle block, critical.
23589 2011-06-25 Glenn Morris <rgm@gnu.org>
23591 * calendar/diary-lib.el (diary-included-files): Doc fix.
23592 (diary-include-files): New function, extracted from
23593 diary-include-other-diary-files and diary-mark-included-diary-files.
23594 (diary-include-other-diary-files, diary-mark-included-diary-files):
23595 Just call diary-include-files.
23596 (diary-mark-entries): Reset diary-included-files on first call.
23598 * calendar/diary-lib.el (diary-mark-entries)
23599 (diary-mark-included-diary-files):
23600 Visit included diary-files in temp buffers.
23602 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23603 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23604 (f90-start-block-re, f90-imenu-generic-expression)
23605 (f90-looking-at-program-block-start, f90-no-block-limit):
23606 Add support for submodules.
23608 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23609 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23611 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23613 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23614 buffer-file-type before setting its value, to avoid disastrous
23615 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23617 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23619 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23621 * ses.el (ses-unload-function):
23622 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23624 * proced.el (proced-unload-function):
23625 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23627 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23629 * server.el (server-create-window-system-frame): Add parameters arg.
23630 (server-process-filter): Doc fix. Handle frame-parameters.
23632 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23634 Fix bug#8730, bug#8781.
23636 * loadhist.el (unload--set-major-mode): New function.
23637 (unload-feature): Use it.
23639 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23640 (python-unload-function): New function.
23642 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23644 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23646 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23648 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23649 the candidates list.
23651 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23653 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23655 2011-06-23 Richard Stallman <rms@gnu.org>
23657 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23658 (rmail-variables): Set next-error-move-function.
23659 (rmail-what-message): Take argument POS.
23660 (rmail-next-error-move): New function.
23662 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23664 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23665 messages for adjacent non-terminals.
23667 2011-06-23 Richard Stallman <rms@gnu.org>
23669 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23670 (rmail-show-message-1): Preserve buffer modified flag.
23671 (rmail-start-mail): Don't specify use of rmail-mail-return;
23672 that's done by mail-bury now.
23673 (rmail-mail-return): Handle arg NEWBUF.
23675 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23677 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23680 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23682 * window.el (get-lru-window, get-mru-window)
23683 (get-largest-window): Never return a minibuffer window.
23684 (display-buffer-pop-up-window): Fix a bug that could lead to
23685 reusing the minibuffer window.
23686 (display-buffer): Pass original specifier argument to
23687 display-buffer-function instead of the normalized one.
23688 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23690 2011-06-22 Leo Liu <sdl.web@gmail.com>
23692 * minibuffer.el (completing-read-function)
23693 (completing-read-default): Move from minibuf.c.
23695 2011-06-22 Richard Stallman <rms@gnu.org>
23697 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23698 to Rmail even if not started by a special Rmail command.
23700 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23701 Copy the buffer currently showing just one message.
23703 2011-06-22 Roland Winkler <winkler@gnu.org>
23705 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23706 (bibtex-clean-entry): First delete the old key so that a
23707 customized algorithm for generating the new key does not get
23708 confused by the old key.
23709 (bibtex-url): Obey regexp of first step.
23710 (bibtex-search-entries): Do not use add-to-list with local
23713 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23715 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23716 stored a user name, then query for the password first, instead of
23717 waiting for SMTP to give an error message and the trying again.
23719 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23721 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23722 BUFFER in call-process.
23724 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23726 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23728 (smtpmail-try-auth-methods): Require user name and password from
23731 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23733 * window.el (display-buffer-default-specifiers)
23734 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23735 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23736 (split-window): Normalize SIDE argument (Bug#8916).
23738 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23739 (special-display-frame-alist, special-display-popup-frame):
23740 Remove duplicate declarations. These are now in window.el.
23742 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23744 * mail/smtpmail.el (smtpmail-via-smtp):
23745 Set :use-starttls-if-possible so that we always use STARTTLS if the
23746 server supports it. SMTP servers that support STARTTLS commonly
23749 * net/network-stream.el (network-stream-open-starttls): Support
23750 upgrading to STARTTLS always, even if we don't have built-in support.
23751 (open-network-stream): Add the :always-query-capabilities keyword.
23753 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23754 upgrades with `open-network-stream', and rely solely on
23755 auth-source for all credentials. Big changes throughout the file,
23757 (smtpmail-auth-credentials): Remove.
23758 (smtpmail-starttls-credentials): Remove.
23759 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23762 * net/network-stream.el (network-stream-open-starttls):
23763 Provide support for client certificates both for external and built-in
23765 (auth-source): Require.
23766 (open-network-stream): Document the :client-certificate keyword.
23767 (network-stream-certificate): Change cert-cert to cert and
23770 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23772 * net/tramp-cache.el (top): Don't load the persistency file when
23773 "emacs -Q" has been called.
23775 2011-06-21 Tim Harper <timcharper@gmail.com>
23777 * term/ns-win.el (ns-initialize-window-system):
23778 Set application-specific `ApplePressAndHoldEnabled' system
23779 resource to NO as it is not yet supported by the NS port.
23781 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23783 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23784 (list-dynamic-libraries): ...not here.
23786 2011-06-21 Leo Liu <sdl.web@gmail.com>
23788 * subr.el (sha1): Implement sha1 using secure-hash.
23790 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23792 * window.el (display-buffer-alist): In default value do not
23793 enforce searching a window on any but the selected frame.
23794 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23795 (display-buffer-select-window): Remove function.
23796 (display-buffer-in-window): When a window on another frame gets
23797 reused, do not select it any more but just raise its frame if
23798 necessary (Bug#8851) and (Bug#8856).
23799 (display-buffer-normalize-options): Handle pop-up-frames related
23800 options more faithfully.
23801 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23802 window if it is on another frame.
23803 (display-buffer-alist, display-buffer-default-specifiers):
23804 Don't make new frame unsplittable by default.
23805 (display-buffer-normalize-argument): Fix doc-string typo and use
23806 'same-frame-other-window instead of 'other-window when associating
23807 with display-buffer-macro-specifiers.
23809 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23811 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23813 (5x5-mode-map, 5x5-mode-menu): Bind them.
23814 (5x5-draw-grid): Tweak the solver's rendering.
23816 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23818 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23819 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23821 2011-06-21 Drew Adams <drew.adams@oracle.com>
23823 * menu-bar.el: Use function variable instead of switch-to-buffer.
23824 (menu-bar-select-buffer-function): New variable.
23825 (menu-bar-update-buffers): Use it (bug#8876).
23827 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23829 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23832 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23834 * x-dnd.el (x-dnd-version-from-flags)
23835 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23836 and long as number (Bug#8899).
23837 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23839 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23841 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23842 (completion-try-completion, completion-all-completions): Compute the
23843 metadata argument if it's missing; make it optional (bug#8795).
23845 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23846 (widget-complete): Use new :completion-function property.
23847 (widget-completions-at-point): New function.
23848 (default): Use :completion-function instead of :complete.
23849 (widget-default-completions): Rename from widget-default-complete;
23851 (widget-string-complete, widget-file-complete, widget-color-complete):
23853 (file, symbol, function, variable, coding-system, color):
23854 * international/mule-cmds.el (default-input-method, charset)
23855 (language-info-custom-alist):
23856 * cus-edit.el (face): Use new property :completions.
23858 * progmodes/pascal.el (pascal-completions-at-point): New function.
23859 (pascal-mode): Use it.
23860 (pascal-mode-map): Use completion-at-point.
23861 (pascal-toggle-completions): Make obsolete.
23862 (pascal-complete-word, pascal-show-completions):
23863 * progmodes/octave-mod.el (octave-complete-symbol):
23864 Redefine as obsolete alias.
23865 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23866 Signal absence of completion info for old Octave,
23867 (inferior-octave-complete): Redefine as obsolete alias.
23868 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23869 (meta-completions-at-point): Rename from meta-complete-symbol and
23870 adapt it for use on completion-at-point-functions.
23871 (meta-common-mode): Use it.
23872 (meta-looking-at-backward, meta-match-buffer): Remove.
23873 (meta-complete-symbol): Redefine as obsolete alias.
23874 (meta-common-mode-map): Use completion-at-point.
23875 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23876 (makefile-mode-map): Use completion-at-point.
23877 (makefile-completions-at-point): Rename from makefile-complete and
23878 adapt it for use on completion-at-point-functions.
23879 (makefile-mode): Use it.
23880 (makefile-complete): Redefine as obsolete alias.
23882 2011-06-20 Deniz Dogan <deniz@dogan.se>
23884 * net/rcirc.el: Delete trailing whitespaces once and for all.
23886 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23888 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23890 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23892 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23894 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23896 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23898 * window.el (display-buffer-other-window-means-other-frame):
23899 Call display-buffer-normalize-alist.
23900 (display-buffer-normalize-specifiers-1): Rename to
23901 display-buffer-normalize-argument. New argument other-frame.
23903 (display-buffer-normalize-specifiers-2): Rename to
23904 display-buffer-normalize-options.
23905 (display-buffer-normalize-alist-1): New function.
23906 (display-buffer-normalize-specifiers-3): Rename to
23907 display-buffer-normalize-alist.
23908 Call display-buffer-normalize-alist-1.
23909 (display-buffer-normalize-options-inhibit): New variable.
23910 (display-buffer-normalize-specifiers): Rewrite calling
23911 display-buffer-normalize-alist,
23912 display-buffer-normalize-argument, and
23913 display-buffer-normalize-options. Don't call the latter if
23914 display-buffer-normalize-options-inhibit is non-nil.
23915 (frame-auto-delete): New option.
23916 (window-deletable-p): Use frame-auto-delete.
23917 (window-list-no-nils, window-state-ignored-parameters)
23918 (window-state-get-1, window-state-get, window-state-put-list)
23919 (window-state-put-1, window-state-put-2, window-state-put):
23921 (display-buffer-normalize-options): Move special-display-p group
23922 after pop-up-frame group (Bug#8851) and (Bug#8856).
23924 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23926 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23928 (rx-submatch-n): New function.
23931 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23934 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23936 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23938 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23939 anytime existing face settings are present (Bug#8889).
23941 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23942 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23943 Remove unused argument.
23945 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23947 * window.el (display-buffer-default-specifiers):
23948 Remove pop-up-frame. Add pop-up-window-min-height,
23949 pop-up-window-min-width, and another reuse-window specifier
23950 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23951 (display-buffer-normalize-specifiers-2):
23952 Handle split-height-threshold and split-width-threshold also when
23953 pop-up-windows is unset. Add a reuse-window specifier for the
23954 case popping up a new window fails.
23955 (special-display-popup-frame): Remove double quoting.
23956 (display-buffer-normalize-specifiers-1): Fix thinko.
23958 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23960 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23961 according to comint-completion-addsuffix.
23963 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23964 (pcomplete-suffix-list): Mark as obsolete.
23965 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23966 pcomplete-seen in the closure.
23967 (pcomplete-comint-setup): Setup completion-at-point as well.
23968 (pcomplete--entries): New function.
23969 (pcomplete--env-regexp): New var.
23970 (pcomplete-entries): Rewrite to work with partial-completion and
23971 without relying on pcomplete-suffix-list.
23972 (pcomplete-pare-list): Remove, unused.
23974 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23976 * window.el (display-buffer-alist): Set pop-up-window-min-height
23977 and pop-up-window-min-width in default value. Reported by
23978 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23979 other-window-means-other-frame.
23980 (display-buffer-macro-specifiers): Comment out entry for
23981 other-window specifier.
23982 (display-buffer-other-window-means-other-frame): New function.
23983 (display-buffer-normalize-specifiers-1): New arguments
23984 buffer-name and label. Treat other-window case specially.
23985 (display-buffer-normalize-specifiers-2): Treat other-window case
23987 (display-buffer-normalize-specifiers-3): New function.
23988 (display-buffer-normalize-specifiers):
23989 Call display-buffer-normalize-specifiers-3.
23991 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23993 * window.el (same-window-p): Fix two typos introduced when
23994 adding with-no-warnings.
23995 (display-buffer-normalize-specifiers-1): Don't check
23996 pop-up-frames for 'unset initialization.
23997 (display-buffer-normalize-specifiers-2): Major rewrite using
23998 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23999 (pop-up-frames, display-buffer-reuse-frames)
24000 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24001 Suggested by David Engster <deng@randomsample.de>.
24002 (even-window-heights): Initialize to 'unset.
24003 (display-buffer-alist-set): Handle new 'unset initializations.
24004 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24007 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24009 * window.el (display-buffer-normalize-specifiers-1):
24010 Respect current value of pop-up-frames for most reasonable values of
24011 second argument of display-buffer (Bug#8865).
24012 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24013 (switch-to-buffer-other-window-same-frame)
24014 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24016 (display-buffer): Don't check noninteractive when calling
24017 display-buffer-pop-up-frame.
24018 (display-buffer-pop-up-frame): Never pop up a frame in
24019 noninteractive mode (Bug#8857).
24020 (enlarge-window, shrink-window): Don't report an error when the
24021 window can't be resized as requested (Bug#8862).
24023 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24025 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24027 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24029 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24031 2011-06-15 Alan Mackenzie <acm@muc.de>
24033 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24034 for declarators, disable knr checking to speed up for normal files.
24035 2: Refactor, replacing a sequence of nested if forms by a cond form.
24037 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24039 * net/network-stream.el (open-network-stream): Add the keyword
24040 :always-query-capabilities for the case where you want to force a
24041 `plain' network connection, but the protocol still requires the
24042 capabilitiy command (i.e., SMTP and EHLO).
24044 * subr.el (process-live-p): Rename from `process-alive-p' for
24045 consistency with other `-live-p' functions.
24047 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24049 * window.el (same-window-buffer-names, same-window-regexps)
24050 (special-display-frame-alist, special-display-popup-frame)
24051 (special-display-function, special-display-buffer-names)
24052 (special-display-regexps, pop-up-frame-alist)
24053 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24054 (pop-up-windows, split-window-preferred-function)
24055 (split-height-threshold, split-width-threshold, even-window-heights)
24056 (display-buffer-mark-dedicated): Don't encourage the use of
24057 display-buffer-alist from Elisp code.
24059 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24061 * progmodes/python.el (python-mode): Derive from prog-mode.
24062 * progmodes/ps-mode.el (ps-mode):
24063 * progmodes/mixal-mode.el (mixal-mode):
24064 * progmodes/cfengine.el (cfengine-mode):
24065 * progmodes/ld-script.el (ld-script-mode): Likewise.
24067 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24069 * window.el (display-buffer-alist): Trim default value to avoid
24070 popping up a new frame (Bug#8857) or reusing an arbitrary window
24072 (display-buffer): Do not fall back on popping up a new frame in
24073 batch mode (Bug#8857).
24075 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24077 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24078 (custom-theme-summary): New function.
24079 (customize-themes): Use it.
24081 2011-06-13 Glenn Morris <rgm@gnu.org>
24083 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24085 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24087 * help.el (help-window): Remove variable.
24088 (help-window-point-marker, temp-buffer-max-height)
24089 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24090 (help-print-return-message): Don't set help-window.
24091 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24092 (help-window-setup-finish): Remove.
24093 (help-window-display-message, help-window-setup)
24094 (with-help-window): Major rewrite based on new
24095 display-buffer-window variable.
24097 * help-mode.el (help-mode-finish): Remove help-window related
24100 * view.el (view-exits-all-viewing-windows): Remove reference to
24101 view-return-to-alist in doc-string.
24102 (view-return-to-alist): Make obsolete.
24103 (view-buffer): Call pop-to-buffer-same-window and remove
24105 (view-buffer-other-window): Call pop-to-buffer-other-window and
24106 simplify code. Ignore second argument.
24107 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24108 simplify code. Ignore second argument.
24109 (view-return-to-alist-update): Make obsolete.
24110 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24111 Rewrite using quit-restore window parameters.
24112 (view-mode-exit): Rename second argument to EXIT-ONLY.
24113 Rewrite using quit-restore-window.
24114 (View-exit, View-exit-and-edit, View-leave, View-quit)
24115 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24116 appropriate arguments.
24117 (view-end-message): Use quit-restore window parameter.
24119 * window.el (display-buffer-function): Rewrite doc-string.
24120 (display-buffer-window, display-buffer-alist): New variables.
24121 (display-buffer-split-specifiers)
24122 (display-buffer-side-specifiers)
24123 (display-buffer-macro-specifiers): New constants.
24124 (display-buffer-even-window-sizes, display-buffer-set-height)
24125 (display-buffer-set-width, display-buffer-select-window)
24126 (display-buffer-in-window, display-buffer-reuse-window)
24127 (display-buffer-split-window-1, display-buffer-split-window)
24128 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24129 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24130 (display-buffer-in-side-window, normalize-buffer-to-display)
24131 (display-buffer-normalize-specifiers-1)
24132 (display-buffer-normalize-specifiers-2)
24133 (display-buffer-normalize-specifiers, display-buffer-frame):
24135 (display-buffer): Major rewrite.
24136 (display-buffer-other-window, display-buffer-other-frame)
24137 (pop-to-buffer, switch-to-buffer-other-window)
24138 (switch-to-buffer-other-frame): Rewrite.
24139 (display-buffer-same-window, display-buffer-same-frame)
24140 (display-buffer-same-frame-other-window)
24141 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24142 (pop-to-buffer-other-window)
24143 (pop-to-buffer-same-frame-other-window)
24144 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24145 (switch-to-buffer-other-window-same-frame): New functions.
24146 (same-window-p, special-display-p): Rewrite disabling warnings.
24148 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24149 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24151 (same-window-buffer-names, same-window-regexps)
24152 (special-display-frame-alist, special-display-popup-frame)
24153 (special-display-function, special-display-buffer-names)
24154 (special-display-regexps, pop-up-frame-alist)
24155 (pop-up-frame-function, split-window-preferred-function)
24156 (split-height-threshold, split-width-threshold)
24157 (even-window-heights): Make obsolete.
24159 2011-06-12 Glenn Morris <rgm@gnu.org>
24161 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24162 Misc simplifications.
24164 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24166 * window.el (window-safely-shrinkable-p): Restore function which
24167 was inadvertently removed in change from 2011-06-11. Declare as
24170 * calendar/calendar.el (calendar-generate-window):
24171 Use window-iso-combined-p instead of combination of one-window-p and
24172 window-safely-shrinkable-p.
24174 2011-06-12 Glenn Morris <rgm@gnu.org>
24176 * progmodes/fortran.el (fortran-mode-syntax-table):
24177 * progmodes/f90.el (f90-mode-syntax-table):
24178 Set % to punctuation. (Bug#8820)
24179 (f90-find-tag-default): Remove, no longer needed.
24181 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24183 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24185 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24187 * image.el (image-animated-p): Return animation delay in seconds.
24188 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24189 (image-animate-timeout): Remove DELAY argument. Don't assume
24190 every subimage has the same delay; get it from image-animated-p.
24191 (image-animate): Caller changed.
24193 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24195 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24196 to ignored backtrace functions.
24198 2011-06-11 Glenn Morris <rgm@gnu.org>
24200 * calendar/appt.el (appt-disp-window-function): Doc fix.
24201 (appt-check): Handle overlapping appointments. (Bug#8337)
24203 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24205 * window.el (window-tree-1, window-tree): New functions, moving
24206 the latter to window.el.
24207 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24208 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24209 (bw-refresh-edges): Remove.
24210 (balance-windows-1, balance-windows-2): New functions.
24211 (balance-windows): Rewrite in terms of window tree functions,
24212 balance-windows-1 and balance-windows-2.
24213 (bw-adjust-window): Remove.
24214 (balance-windows-area-adjust): New function with functionality of
24215 bw-adjust-window but using resize-window.
24216 (set-window-text-height): Rewrite doc-string.
24217 Use normalize-live-window and resize-window.
24218 (enlarge-window-horizontally, shrink-window-horizontally):
24219 Rename argument to DELTA.
24220 (window-buffer-height): New function.
24221 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24222 Rewrite using new window resize routines.
24223 (kill-buffer-and-window, mouse-autoselect-window-select):
24224 Use ignore-errors instead of condition-case.
24225 (quit-window): Call delete-frame instead of delete-windows-on
24226 for the only buffer on frame.
24228 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24230 * loadup.el (top-level): Load window before files for the sake
24231 of replace-buffer-in-windows.
24233 * files.el (read-buffer-to-switch)
24234 (switch-to-buffer-other-window)
24235 (switch-to-buffer-other-frame, display-buffer-other-frame):
24238 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24239 (previous-buffer): Move to window.el.
24241 * bindings.el (unbury-buffer): Move to window.el.
24243 * window.el (delete-other-windows-vertically): Move after
24244 definition of delete-other-windows.
24245 (other-window, delete-windows-on, replace-buffer-in-windows):
24246 Move here from window.c.
24247 (record-window-buffer, unrecord-window-buffer)
24248 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24249 (switch-to-next-buffer): New functions.
24250 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24251 from simple.el. Call switch-to-next-buffer.
24252 (previous-buffer): Move here from simple.el.
24253 Call switch-to-prev-buffer.
24254 (bury-buffer): Move here from buffer.c. Switch to previous
24255 buffer when window cannot be deleted.
24256 (unbury-buffer): Move here from bindings.el.
24257 (ctl-x-map): Move binding for other-window from window.c to
24259 (read-buffer-to-switch, switch-to-buffer-other-window)
24260 (switch-to-buffer-other-frame): Move here from files.el.
24261 (normalize-buffer-to-switch-to): New functions.
24262 (switch-to-buffer): Move here from buffer.c.
24263 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24265 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24267 * window.el (window-min-height, window-min-width): Move here
24268 from window.c. Add defcustoms and rewrite doc-strings.
24269 (resize-mini-window, resize-window): New functions.
24270 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24271 Move here from window.c.
24272 (maximize-window, minimize-window): New functions.
24273 (delete-window, delete-other-windows, split-window): Move here
24275 (window-split-min-size): New function.
24276 (split-window-keep-point): Mention split-window-above-each-other
24277 instead of split-window-vertically.
24278 (split-window-above-each-other, split-window-vertically):
24279 Rename split-window-vertically to split-window-above-each-other
24280 and provide defalias for old definition.
24281 (split-window-side-by-side, split-window-horizontally):
24282 Rename split-window-horizontally to split-window-side-by-side
24283 and provide defalias for the old definition.
24284 (ctl-x-map): Move bindings for delete-window,
24285 delete-other-windows and enlarge-window here from window.c.
24286 Replace bindings for split-window-vertically and
24287 split-window-horizontally by bindings for
24288 split-window-above-each-other and split-window-side-by-side.
24290 * cus-start.el (all): Remove entries for window-min-height and
24291 window-min-width. Add entries for window-splits and
24294 2011-06-09 Glenn Morris <rgm@gnu.org>
24296 * calendar/appt.el (appt-mode-line): New function.
24297 (appt-check, appt-disp-window): Use it.
24299 * files.el (hack-one-local-variable-eval-safep):
24300 Allow minor-modes with explicit +/-1 arguments.
24302 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24304 * term/xterm.el (xterm): Add defgroup.
24305 (xterm-extra-capabilities): Add defcustom to supply known xterm
24306 capabilities, skip querying them, or query them (default).
24307 (terminal-init-xterm): Use it.
24308 (terminal-init-xterm-modify-other-keys): New function to set up
24309 modifyOtherKeys support to simplify `terminal-init-xterm'.
24311 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24313 * window.el (resize-window-reset, resize-window-reset-1)
24314 (resize-subwindows-skip-p, resize-subwindows-normal)
24315 (resize-subwindows, resize-other-windows, resize-this-window)
24316 (resize-root-window, resize-root-window-vertically)
24317 (window-deletable-p, window-or-subwindow-p)
24318 (frame-root-window-p): New functions.
24320 2011-06-09 Glenn Morris <rgm@gnu.org>
24322 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24323 (ange-ftp-get-files): Use it.
24325 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24327 * mail/sendmail.el (mail-recover-1, mail-recover):
24328 * files.el (recover-file, recover-session):
24329 Handle dired-listing-switches not being just a single short option.
24331 2011-06-09 Glenn Morris <rgm@gnu.org>
24333 * calendar/appt.el (appt-display-message, appt-disp-window):
24334 Handle lists of appointments.
24336 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24338 * window.el (one-window-p): Move down in code.
24339 Rewrite doc-string.
24340 (window-current-scroll-bars): Rewrite doc-string.
24341 Normalize live window argument.
24342 (walk-windows, get-window-with-predicate, count-windows):
24343 Rewrite doc-string. Use window-list-1.
24344 (window-in-direction-2, window-in-direction, get-mru-window):
24347 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24349 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24350 Doc fix (Bug#8713).
24352 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24354 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24356 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24358 * loadhist.el (unload-feature-special-hooks):
24359 Add `comint-output-filter-functions'.
24361 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24363 * calendar/appt.el (appt-check): Move some initializations into the let.
24365 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24367 * window.el (window-height): Defalias to window-total-height.
24368 (window-width): Defalias to window-body-width.
24370 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24372 * image-mode.el (image-toggle-animation): New command.
24373 (image-mode-map): Bind it to RET.
24374 (image-mode): Update message.
24375 (image-toggle-display-image): Avoid a spurious cache flush.
24376 (image-transform-rotation): Doc fix.
24377 (image-transform-properties): Return quickly in the normal case.
24378 (image-animate-loop): Rename from image-animate-max-time.
24380 * image.el (image-animate-max-time): Move to image-mode.el.
24381 (create-animated-image): Remove unnecessary function.
24382 (image-animate): Rename from image-animate-start. New arg.
24383 (image-animate-stop): Remove; just use image-animate-timer.
24384 (image-animate-timer): Use car-safe.
24385 (image-animate-timeout): Rename argument.
24387 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24389 * window.el (get-lru-window, get-largest-window): Move here from
24390 window.c. Rename first argument to ALL-FRAMES.
24391 Rephrase doc-strings.
24392 (get-buffer-window-list): Rewrite using window-list-1.
24393 Rephrase doc-string.
24394 (window-safe-min-height, window-safe-min-width): New constants.
24395 (window-size-ignore, window-min-size, window-min-size-1)
24396 (window-sizable, window-sizable-p, window-size-fixed-1)
24397 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24398 (window-max-delta-1, window-max-delta, window-resizable)
24399 (window-resizable-p, window-total-height, window-total-width)
24400 (window-body-width): New functions.
24401 (window-full-height-p, window-full-width-p): Rewrite using
24403 (window-body-height): Rewrite using window-body-size.
24405 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24407 * window.el (window-right, window-left, window-child)
24408 (window-child-count, window-last-child, window-any-p)
24409 (normalize-live-buffer, normalize-live-frame)
24410 (normalize-any-window, normalize-live-window)
24411 (window-iso-combination-p, window-iso-combined-p)
24412 (window-iso-combinations)
24413 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24414 (windows-with-parameter, window-with-parameter)
24415 (window-atom-root, make-window-atom, window-atom-check-1)
24416 (window-atom-check, window-side-check, window-check):
24418 (ignore-window-parameters, window-sides, window-sides-vertical)
24419 (window-sides-slots): New variables.
24420 (window-size-fixed): Move down in code. Minor doc-string fix.
24422 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24424 * comint.el (comint-dynamic-complete-as-filename)
24425 (comint-dynamic-complete-filename): Correctly call
24426 completion-in-region.
24428 2011-06-05 Deniz Dogan <deniz@dogan.se>
24430 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24433 2011-06-05 Deniz Dogan <deniz@dogan.se>
24435 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24436 (rcirc): Use it to prompt for encryption.
24438 2011-06-05 Roland Winkler <winkler@gnu.org>
24440 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24441 (bibtex-search-entries): New command bound to C-c C-a.
24442 (bibtex-display-entries): New function.
24444 2011-06-05 Roland Winkler <winkler@gnu.org>
24446 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24447 (bibtex-insert-kill): After yanking insert newline if necessary.
24448 (bibtex-initialize): Call bibtex-string-files-init only once.
24449 (bibtex-mode): Do not call easy-menu-add.
24450 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24451 (bibtex-yank): Set arg properly if nil.
24453 2011-06-05 Roland Winkler <winkler@gnu.org>
24455 * textmodes/bibtex.el (bibtex-search-entry-globally):
24457 (bibtex-search-entry): Use it.
24459 2011-06-05 Roland Winkler <winkler@gnu.org>
24461 * textmodes/bibtex.el (bibtex-entry-format): New option
24463 (bibtex-format-entry, bibtex-reformat): Honor this option.
24464 (bibtex-parse-entry): Return fields in proper order.
24466 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24468 * doc-view.el (doc-view-remove-if): Move computation of result out
24469 of `dolist' to silence misleading lexical-binding warning.
24471 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24473 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24474 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24476 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24478 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24481 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24483 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24484 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24485 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24486 (tramp-parse-putty):
24487 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24488 (tramp-completion-function-alist-ssh)
24489 (tramp-completion-function-alist-telnet)
24490 (tramp-completion-function-alist-su)
24491 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24494 * net/tramp-ftp.el:
24496 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24497 load "tramp.el" `tramp-set-completion-function'.
24499 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24501 * shell.el: Require and use pcomplete.
24502 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24503 (shell-completion-vars): Set pcomplete-default-completion-function.
24505 2011-06-04 Deniz Dogan <deniz@dogan.se>
24507 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24510 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24512 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24514 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24516 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24517 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24518 * vc/log-view.el (log-view-beginning-of-defun):
24519 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24520 (smerge-refine-forward, smerge-refine-chopup-region):
24521 Silence warning for unused `dotimes' counter variables.
24523 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24525 * net/tramp.el (tramp-with-progress-reporter): Rename from
24526 with-progress-reporter. Use `declare'.
24527 * net/tramp-smb.el:
24529 * net/tramp-gvfs.el: Update all uses.
24531 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24533 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24534 buffer isn't killed before making it current.
24536 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24538 Silence various byte-compiler warnings.
24539 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24540 `access-type' and new obsolescence format.
24541 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24543 (byte-compile-check-variable): New `access-type' argument.
24544 Only warn if the access-type is obsolete.
24545 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24546 (byte-compile-variable-set): Adjust callers.
24547 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24548 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24549 setting it as obsolete.
24550 * simple.el (minibuffer-completing-symbol):
24551 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24552 access as obsolete.
24553 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24555 * international/quail.el (quail-mouse-choose-completion): Remove unused
24556 code referring to obsolete var.
24557 (quail-choose-completion-string): Remove.
24558 * server.el (server-clients-with, server-kill-buffer-query-function)
24559 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24560 * proced.el (proced-send-signal):
24561 * emacs-lisp/lisp.el (lisp-complete-symbol):
24562 Replace completion-annotate-function with completion-extra-properties.
24564 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24566 * simple.el (goto-line): Use read-number.
24567 (overriding-map-is-bound): Remove.
24568 (saved-overriding-map): Change default.
24569 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24570 Take the map as argument.
24571 (universal-argument, negative-argument, digit-argument): Use it.
24572 (restore-overriding-map): Adjust.
24573 (do-auto-fill): Use fill-forward-paragraph.
24574 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24576 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24577 (minibuffer-inactive-mode): New major mode.
24578 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24579 the *Messages* buffer" hack.
24580 (mouse-popup-menubar): Don't burp if the event is a normal key.
24582 Miscellaneous tweaks.
24583 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24584 lexical scoping as in subr.el's dolist and dotimes.
24585 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24586 Silence compiler warning.
24587 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24588 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24589 * international/ccl.el (ccl-compile): Trivial simplification.
24590 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24591 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24592 `printflag' argument.
24593 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24594 Purecopy the whole obsolescence data.
24596 2011-06-01 Leo Liu <sdl.web@gmail.com>
24598 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24599 improve doc-string as suggested by Marco Pessotto
24600 <melmothx@gmail.com>.
24601 (rcirc-print): Fix last change.
24603 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24605 * minibuffer.el (complete-with-action): Return nil for the metadata and
24606 boundaries of non-functional tables.
24607 (completion-table-dynamic): Return nil for the metadata.
24608 (completion-table-with-terminator): Add default case, using
24609 complete-with-action.
24610 (completion--metadata): New function.
24611 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24612 to try and avoid pathological performance problems.
24613 (completion--embedded-envvar-table): Return `category' metadata.
24615 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24617 * subr.el (process-alive-p): New tiny convenience function.
24619 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24621 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24622 content but also its previous major mode.
24624 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24626 * emacs-lisp/debug.el (debug): Restore the previous content of the
24627 *Backtrace* buffer when we exit with C-M-c.
24629 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24631 * minibuffer.el: Add metadata method to completion tables.
24632 (completion-category-overrides): New defcustom.
24633 (completion-metadata, completion--field-metadata)
24634 (completion-metadata-get, completion--styles)
24635 (completion--cycle-threshold): New functions.
24636 (completion-try-completion, completion-all-completions):
24637 Add `metadata' argument to choose completion-styles.
24638 (completion--do-completion): Use metadata to choose cycling.
24639 (completion-all-sorted-completions): Use metadata for sorting.
24640 Remove :completion-cycle-penalty which is not needed any more.
24641 (completion--try-word-completion): Add `metadata' argument.
24642 (minibuffer-completion-help): Check metadata for annotation function
24644 (completion-file-name-table): Return `category' metadata.
24645 (minibuffer-completing-file-name): Make obsolete.
24646 * simple.el (minibuffer-completing-symbol): Make obsolete.
24647 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24648 completion-try-completion.
24650 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24652 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24654 2011-05-30 Leo Liu <sdl.web@gmail.com>
24656 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24657 (rcirc-print): Decode all incoming messages (bug#8744).
24658 (rcirc-decode-coding-system): Allow value nil for automatic coding
24661 2011-06-01 Glenn Morris <rgm@gnu.org>
24663 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24665 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24667 * image.el (image-animate-max-time): Allow nil and t values.
24669 (create-animated-image): Doc fix.
24670 (image-animate-start): Remove second arg; just use
24671 image-animate-max-time.
24672 (image-animate-timeout): Doc fix. Args changed.
24674 * image-mode.el (image-toggle-display-image): Ensure that the
24675 image spec passed to the animate timer is the same object as in
24676 the buffer's display property (Bug#6981).
24677 (image-transform-properties): Doc fix.
24679 * image.el (image-animate-max-time): Default to nil.
24681 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24683 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24684 entire buffer list (Bug#8184).
24686 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24688 * image.el (imagemagick-types-inhibit)
24689 (imagemagick-register-types): Doc fix.
24691 2011-05-29 Deniz Dogan <deniz@dogan.se>
24693 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24696 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24698 * select.el: Don't perform clipboard-manager saving in hooks;
24699 leave the hooks empty.
24701 2011-05-28 Leo Liu <sdl.web@gmail.com>
24703 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24704 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24705 (occur-edit-mode): New major mode (Bug#8463).
24706 (occur-after-change-function): New function.
24707 (occur-engine): Give Occur tags a read-only property.
24709 2011-05-28 Kevin Ryde <user42@zip.com.au>
24711 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24713 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24715 * bindings.el (help-echo): Make the initial non-indicator dash
24716 empty on graphical terminals (Bug#7295).
24718 * files.el (auto-mode-alist): Move config rule after the
24719 in-stripping one (Bug#8547).
24721 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24723 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24724 setting (Bug#8740).
24726 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24728 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24729 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24732 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24734 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24736 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24738 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24739 (hs-hide-block-at-point, hs-find-block-beginning)
24740 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24743 2011-05-28 Glenn Morris <rgm@gnu.org>
24745 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24747 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24749 * help-fns.el (describe-function-1): If the function is a derived
24750 major mode, print the parent mode.
24752 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24753 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24755 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24757 * minibuffer.el (completion--capf-wrapper): Check applicability before
24758 returning non-nil for non-exclusive completion data.
24759 * progmodes/etags.el (tags-completion-at-point-function):
24760 * info-look.el (info-lookup-completions-at-point): Mark as
24762 (info-complete): Adjust accordingly.
24764 * info-look.el: Convert to lexical-binding and completion-at-point.
24765 (info-lookup-completions-at-point): New function.
24766 (info-complete): Use it and completion-in-region.
24768 2011-05-28 Drew Adams <drew.adams@oracle.com>
24770 * isearch.el: Let M-e start with point at the first mismatched char.
24771 (isearch-fail-pos): New function.
24772 (isearch-edit-string): Use it.
24774 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24776 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24778 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24780 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24781 traversal functions for avl-trees.
24782 (avl-tree--stack): New struct.
24783 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24784 (avl-tree-enter): Add optional `updatefun' arg.
24785 (avl-tree--do-enter): Add optional `updatefun' arg.
24786 Change return value.
24787 (avl-tree-delete): Add optional `test' and `nilflag' args.
24788 (avl-tree--do-delete): Add `test' and `nilflag' args.
24789 Change return value.
24790 (avl-tree-member): Add optional `nilflag'
24791 (avl-tree-member-p): New function.
24792 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24793 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24794 (avl-tree-stack-empty-p): New functions.
24796 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24797 avl-tree--del-balance1 and make it work both ways.
24798 (avl-tree--del-balance2): Remove.
24799 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24800 make it work both ways.
24801 (avl-tree--enter-balance2): Remove.
24802 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24804 (avl-tree--mapc, avl-tree-map): Add direction argument.
24806 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24808 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24810 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24812 * select.el: Support clipboard managers with built-in function
24813 x-clipboard-manager-save, via delete-frame-functions and
24815 (xselect-convert-to-targets): Add MULTIPLE target to list.
24816 (xselect-convert-to-save-targets): New function.
24818 2011-05-27 Kenichi Handa <handa@m17n.org>
24820 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24821 let-binding rfc2047-encode-encoded-words to nil.
24823 2011-05-27 Glenn Morris <rgm@gnu.org>
24825 * mail/emacsbug.el: Don't require url-util.
24827 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24829 * files.el (set-auto-mode):
24830 Also respect mode: entries at the end of the file. (Bug#8586)
24832 2011-05-26 Glenn Morris <rgm@gnu.org>
24834 * files.el (hack-local-variables-prop-line, hack-local-variables):
24835 Downcase mode names, as seems to be traditional.
24836 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24838 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24839 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24841 2011-05-25 Julien Danjou <julien@danjou.info>
24843 * textmodes/rst.el (rst-define-level-faces): Do not define face
24844 symbol if it is already defined.
24846 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24848 * play/5x5.el (5x5-new-game, 5x5-randomize):
24849 Reset 5x5-solver-output to nil when a new grid is cast.
24850 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24851 these debugging traces, as defmacro breaks the compiled code.
24853 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24855 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24857 2011-05-24 Leo Liu <sdl.web@gmail.com>
24859 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24860 (vc-bzr-sha1): Adapt.
24862 * sha1.el: Remove. Function `sha1' is now builtin.
24864 * bindings.el: Provide sha1 feature.
24866 2011-05-24 Kenichi Handa <handa@m17n.org>
24868 * mail/sendmail.el: Require `rfc2047'.
24869 (mail-insert-from-field): Do not perform RFC2047 encoding.
24870 (mail-encode-header): New function.
24871 (sendmail-send-it): Set buffer-file-coding-system of the work
24872 buffer to the return value of select-message-coding-system.
24873 Call mail-encode-header.
24875 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24877 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24879 * mail/supercite.el (sc-default-cite-frame):
24880 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24882 2011-05-24 Glenn Morris <rgm@gnu.org>
24884 * progmodes/python.el (brm-menu): Declare.
24886 * emulation/viper.el (viper-set-hooks): Declare.
24888 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24889 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24890 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24891 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24892 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24893 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24895 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24897 Add an :exit-function for completion-at-point.
24899 * minibuffer.el (completion--done): New fun.
24900 (completion--do-completion): Use it. New arg `expect-exact'.
24901 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24902 since completion--do-completion does it for us now.
24903 (minibuffer-force-complete): Use completion--done and
24904 completion--replace. Handle sole-completion case with more care.
24905 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24906 (completion-extra-properties): New var.
24907 (completion-annotate-function): Make obsolete.
24908 (minibuffer-completion-help): Adjust accordingly.
24909 Use completion-list-insert-choice-function.
24910 (completion-at-point, completion-help-at-point):
24911 Bind completion-extra-properties.
24912 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24913 * simple.el (completion-list-insert-choice-function): New var.
24914 (completion-setup-function): Preserve it.
24915 (choose-completion): Pay attention to it, shuffle the code a bit.
24916 (choose-completion-string): New arg `insert-function'.
24918 * textmodes/bibtex.el: Convert to lexical binding.
24919 (bibtex-mode-map): Use completion-at-point.
24920 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24921 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24922 (bibtex-complete): Define as obsolete alias.
24923 (bibtex-complete-internal): Remove.
24924 (bibtex-format-entry): Remove unused sub-group in regexp.
24925 * shell.el (shell--command-completion-data)
24926 (shell-environment-variable-completion):
24927 * pcomplete.el (pcomplete-completions-at-point):
24928 * comint.el (comint--complete-file-name-data): Use :exit-function
24929 instead of completion-table-with-terminator so it also works for
24932 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24934 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24936 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24939 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24941 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24943 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24944 customization variable and implement: If non-nil, auto-fill will
24945 be inhibited while on topic's header line.
24947 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24949 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24950 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24951 always have a solution in grid size = 5 cases.
24952 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24953 (5x5-solver-output, 5x5-log-buffer): New vars.
24954 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24955 Make these variables buffer local to achieve 5x5 multi-session-ness.
24956 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24957 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24958 (5x5-solve-suggest): New funs.
24959 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24960 randomize a grid so that we ensure that there is always a solution.
24961 (5x5-make-random-grid): Allow other movement than flipping.
24963 2011-05-23 Kevin Ryde <user42@zip.com.au>
24965 * emacs-lisp/advice.el (ad-read-advised-function):
24966 Use `function-called-at-point' as the default, if it has
24967 advice and passes PREDICATE.
24969 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24971 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24972 byte-compile-lambda if it's actually a lambda.
24974 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24975 Fix function quoting. Use backquote better.
24977 2011-05-22 Yuanle Song <sylecn@gmail.com>
24979 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24980 matching (Bug#8516).
24982 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24984 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24985 different face (Bug#8178).
24987 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24989 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24990 defface (Bug#8144).
24992 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24994 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24995 funcall as well (bug#8712). Warn when performing those conversions.
24996 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24998 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25000 2011-05-22 Glenn Morris <rgm@gnu.org>
25002 * files.el (hack-local-variables-prop-line): Small simplifications.
25003 (hack-local-variables, hack-local-variables-prop-line):
25004 If MODE-ONLY, return the mode, rather than just `t'.
25006 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25008 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25010 2011-05-21 Glenn Morris <rgm@gnu.org>
25012 * files.el (hack-local-variables-prop-line, hack-local-variables):
25013 If only interested in the mode, don't bother doing the other stuff.
25015 * image-mode.el (image-after-revert-hook):
25016 Redraw all frames on which the image is visible. (Bug#8567)
25018 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25020 * wid-edit.el (widget-checklist-match-inline):
25021 Fix 2011-04-19 change. (Bug#8649)
25023 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25025 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25026 Also allow singlespace after single-letter capitals followed by a dot.
25028 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25029 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25031 2011-05-20 Nix <nix@esperi.org.uk>
25033 * files.el (basic-save-buffer-2):
25034 Fix handling of break-hardlink-on-save with non-existent files.
25036 2011-05-19 Deniz Dogan <deniz@dogan.se>
25038 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25039 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25041 2011-05-19 Glenn Morris <rgm@gnu.org>
25043 * progmodes/f90.el (f90-type-def-re):
25044 Handle "type, bind(c)". (Bug#8691)
25046 * emacs-lisp/autoload.el (batch-update-autoloads):
25047 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25049 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25051 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25052 property for the correct connection in case of multihops.
25054 2011-05-18 Glenn Morris <rgm@gnu.org>
25056 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25057 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25059 Rationalize calendar handling of day and month abbrev-arrays.
25060 * calendar/calendar.el (calendar-customized-p): New function.
25061 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25062 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25064 (calendar-abbrev-length, calendar-day-abbrev-array)
25065 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25066 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25067 Elements may no longer be nil.
25068 (calendar-day-name, calendar-month-name):
25069 Update for changed nature of abbrev arrays.
25070 * calendar/diary-lib.el (diary-name-pattern):
25071 Update for changed nature of abbrev arrays.
25072 (diary-mark-entries-1): Update calendar-make-alist calls.
25073 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25074 * calendar/cal-html.el (cal-html-day-abbrev-array):
25075 Simply inherit from calendar-day-abbrev-array.
25077 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25079 * progmodes/grep.el (grep-mode): Disable default
25080 compilation-directory-matcher setting (bug#8684).
25082 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25084 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25085 instead of "head" and "tail". There were problems with SunOS 5.9,
25086 and it performs better.
25088 2011-05-17 Glenn Morris <rgm@gnu.org>
25090 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25092 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25093 Replace obsolete function.
25095 * shell.el (pcomplete-parse-arguments-function): Declare.
25097 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25098 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25099 (appt-check): Doc fixes.
25100 (appt-disp-window-function, appt-delete-window-function):
25101 Remove needless special case in custom :type.
25102 (appt-display-count): Default to 0, not nil.
25103 (appt-check): Reset appt-display-count to 0, not nil.
25105 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25107 * progmodes/python.el (python-font-lock-keywords):
25108 Add the Python 3.X keyword "nonlocal" (bug#8639).
25110 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25112 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25114 2011-05-16 Kevin Ryde <user42@zip.com.au>
25116 * info-look.el (makefile-automake-mode): New setups, looking in
25117 automake manual, then makefile-mode.
25118 (makefile-mode): Remove automake manual, have it just in
25119 makefile-automake-mode since there's various things different or
25120 not relevant to plain make.
25121 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25122 believe a hypothetical automake-mode would go to makefile-mode,
25123 not the other way around.
25125 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25127 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25128 hunk-end tags (Bug#8672).
25130 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25131 vc-annotate-show-diff-revision-at-line (Bug#8671).
25133 2011-05-14 Glenn Morris <rgm@gnu.org>
25135 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25136 in the middle of an existing one with multiple authors. (Bug#8645)
25137 (change-log-font-lock-keywords): Also handle multiple author lines
25138 with leading tabs. (Bug#8644)
25140 * calendar/appt.el (appt-check): Rename some local variables.
25141 Some simplification/reordering.
25143 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25144 (feedmail-sendmail-f-doesnt-sell-me-out)
25145 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25146 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25147 (feedmail-queue-runner-message-sender): Set :version.
25148 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25149 (bbdb-dwim-net-address, vm-mail): Declare.
25150 (feedmail-binmail-gnulinuxish-template):
25151 Rename from feedmail-binmail-linuxish-template.
25152 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25153 Use insert-buffer-substring.
25155 2011-05-14 Bill Carpenter <bill@carpenter.org>
25157 * mail/feedmail.el (feedmail-patch-level): Increase.
25158 (feedmail-debug): New custom group.
25159 (feedmail-confirm-outgoing-timeout)
25160 (feedmail-sendmail-f-doesnt-sell-me-out)
25161 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25162 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25163 (feedmail-sender-line, feedmail-from-line)
25164 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25165 (feedmail-spray-this-address)
25166 (feedmail-spray-address-fiddle-plex-list)
25167 (feedmail-queue-use-send-time-for-date)
25168 (feedmail-queue-use-send-time-for-message-id)
25169 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25170 (feedmail-buffer-eating-function):
25172 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25173 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25174 (feedmail-message-action-scroll-down): New functions.
25175 (feedmail-queue-directory, feedmail-queue-draft-directory):
25176 Use expand-file-name.
25177 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25178 Remove C-v help entry.
25179 (feedmail-queue-buffer-file-name): New variable.
25180 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25181 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25182 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25183 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25184 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25185 (feedmail-message-action-toggle-spray)
25186 (feedmail-run-the-queue-no-prompts)
25187 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25188 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25189 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25190 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25191 (feedmail-envelope-deducer, feedmail-fiddle-from)
25192 (feedmail-fiddle-sender, feedmail-default-date-generator)
25193 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25194 (feedmail-fiddle-spray-address)
25195 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25196 (feedmail-fiddle-list-of-fiddle-plexes)
25197 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25198 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25199 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25200 Change default. Doc fix.
25201 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25202 (feedmail-binmail-linuxish-template): New constant.
25203 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25204 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25205 (feedmail-send-it): Add debug call.
25206 Use feedmail-queue-buffer-file-name, and
25207 feedmail-send-it-immediately-wrapper.
25208 (feedmail-message-action-send): Add debug call.
25209 Use feedmail-send-it-immediately-wrapper.
25210 (feedmail-queue-express-to-queue): Add debug call.
25211 Run feedmail-queue-express-hook.
25212 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25213 (feedmail-message-action-help-blat):
25214 Rename from feedmail-queue-send-edit-prompt-help-first.
25215 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25216 Check line-endings. Handle errors better.
25217 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25218 Doc fix. Add debug call.
25219 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25220 Use feedmail-queue-send-edit-prompt-inner.
25221 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25222 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25223 from feedmail-queue-send-edit-prompt.
25224 (feedmail-queue-send-edit-prompt-help)
25225 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25226 (feedmail-tidy-up-slug): Add debug call.
25227 Respect feedmail-queue-slug-suspect-regexp.
25228 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25229 (feedmail-dump-message-to-queue): Add debug call.
25230 Expand queue-directory.
25231 (feedmail-dump-message-to-queue): Change message slightly.
25232 Use feedmail-say-chatter.
25233 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25234 (feedmail-send-it-immediately-wrapper): New function.
25235 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25236 Insert empty string rather than newline. Handle full-frame case.
25237 Use catch/throw. Use feedmail-say-chatter.
25238 (feedmail-fiddle-from): Try mail-host-address.
25239 (feedmail-default-message-id-generator): Doc fix.
25240 Bind system-time-locale. Handle missing end.
25241 (feedmail-fiddle-x-mailer): Add debug call.
25242 Handle feedmail-x-mailer-line being nil.
25243 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25244 Add debug call. Use buffer-substring-no-properties.
25245 (feedmail-say-debug, feedmail-say-chatter): New functions.
25246 (feedmail-find-eoh): Give an explicit error.
25248 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25250 * net/newst-treeview.el (newsticker-treeview-face): Change default
25251 family from helvetica to sans.
25252 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25253 etc/images/newsticker.
25255 * net/newst-reader.el (newsticker-feed-face): Change default
25256 family from helvetica to sans.
25258 * net/newst-plainview.el (newsticker-new-item-face)
25259 (newsticker-old-item-face, newsticker-immortal-item-face)
25260 (newsticker-obsolete-item-face, newsticker-date-face)
25261 (newsticker-statistics-face): Change default family from
25263 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25264 etc/images/newsticker.
25266 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25267 (newsticker--process-auto-mark-filter-match): Tell user about
25270 2011-05-13 Didier Verna <didier@xemacs.org>
25272 Common Lisp indentation improvements on defmethod and lambda-lists.
25273 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25275 (lisp-lambda-list-keyword-parameter-indentation)
25276 (lisp-lambda-list-keyword-parameter-alignment)
25277 (lisp-lambda-list-keyword-alignment): New customizable user options.
25278 (lisp-indent-defun-method): Improve docstring.
25279 (extended-loop-p): Fix comment.
25280 (lisp-indent-lambda-list-keywords-regexp): New variable.
25281 (lisp-indent-lambda-list): New function.
25282 (lisp-indent-259): Use it.
25283 (lisp-indent-defmethod): Support for more than one
25284 method qualifier and properly indent methods lambda-lists.
25285 (defgeneric): Provide a missing common-lisp-indent-function property.
25287 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25289 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25290 bounds for the empty string (bug#8667).
25292 2011-05-13 Glenn Morris <rgm@gnu.org>
25294 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25296 * mail/sendmail.el (sendmail-program): Try executable-find first.
25297 (sendmail-send-it): `sendmail-program' cannot be unbound.
25299 * calendar/appt.el (appt-make-list): Simplify.
25300 (appt-time-msg-list): Doc fix.
25301 (appt-check): Change mode-line message at the time of the appointment.
25303 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25305 * progmodes/ld-script.el (ld-script-keywords)
25306 (ld-script-builtins): Update keywords list.
25308 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25310 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25312 * shell.el (shell-completion-vars): New function.
25314 * simple.el (read-shell-command): Use it.
25315 (blink-matching-open): No need for " [...]" in minibuffer-message.
25317 2011-05-12 Glenn Morris <rgm@gnu.org>
25319 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25320 (appt-check): Simplify.
25322 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25324 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25325 literal "/dev/null".
25327 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25329 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25332 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25334 * progmodes/which-func.el (which-function):
25335 Use add-log-current-defun instead of add-log-current-defun-function,
25336 which might not be defined (Bug#8260).
25338 2011-05-12 Glenn Morris <rgm@gnu.org>
25340 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25341 Let byte-compile-initial-macro-environment always take precedence.
25343 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25345 * net/rcirc.el: Add support for SSL/TLS connections.
25346 (rcirc-server-alist): New field `encryption'.
25347 (rcirc): Check `encryption' settings.
25348 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25349 Merge make-local-variable into `set'.
25350 (rcirc--connection-open-p): New function.
25351 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25352 the process is not a network process (e.g. running gnutls-cli).
25353 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25354 Make rcirc-(en|de)code-coding-system local here.
25355 (rcirc-mode): Merge make-local-variable into `set'.
25356 (rcirc-parent-buffer): Make permanent buffer-local.
25357 (rcirc-multiline-minor-mode): Don't do it here.
25358 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25359 there's no server buffer.
25361 2011-05-11 Glenn Morris <rgm@gnu.org>
25363 * newcomment.el (comment-kill): Prefix "unused" local.
25365 * term/w32console.el (get-screen-color): Declare.
25367 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25368 Handle symbol elements of byte-compile-initial-macro-environment.
25370 2011-05-10 Leo Liu <sdl.web@gmail.com>
25372 * bookmark.el (bookmark-bmenu-mode-map):
25373 Bind bookmark-bmenu-search to `/'.
25375 * mail/footnote.el: Convert to utf-8 encoding.
25376 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25377 (Footnote-unicode): New function.
25378 (footnote-style-alist): Add unicode style to the list.
25379 (footnote-style): Doc fix.
25381 2011-05-10 Jim Meyering <meyering@redhat.com>
25383 Fix doubled-word typos.
25384 * international/quail.el (quail-insert-kbd-layout): and and -> and
25385 * kermit.el: and and -> and
25386 * net/ldap.el (ldap-search-internal): to to -> to
25387 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25388 * progmodes/js.el (js-mode): and and -> and
25389 * textmodes/artist.el (artist-move-to-xy): at at -> at
25390 (artist-draw-region-trim-line-endings): if if -> if
25391 And Safetyc -> Safety.
25392 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25394 2011-05-10 Glenn Morris <rgm@gnu.org>
25395 Stefan Monnier <monnier@iro.umontreal.ca>
25397 * files.el (hack-one-local-variable-eval-safep):
25398 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25400 2011-05-10 Glenn Morris <rgm@gnu.org>
25402 * calendar/diary-lib.el (diary-list-entries-hook)
25403 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25404 (diary-nongregorian-marking-hook, diary-list-entries)
25405 (diary-include-other-diary-files, diary-mark-entries)
25406 (diary-mark-included-diary-files): Doc fixes.
25408 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25410 * misc.el: Require tabulated-list.el during compilation.
25412 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25414 * progmodes/compile.el (compilation-start):
25415 Run compilation-filter-hook for the async case too.
25416 (compilation-filter-hook): Doc fix.
25418 2011-05-09 Deniz Dogan <deniz@dogan.se>
25420 * wdired.el: Remove outdated installation comment. Fix usage
25423 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25425 * misc.el: Implement new command `list-dynamic-libraries'.
25426 (list-dynamic-libraries--loaded-only-p): New variable.
25427 (list-dynamic-libraries--refresh): New function.
25428 (list-dynamic-libraries): New command.
25430 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25432 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25433 Fix the ant regexp to handle end-line and end-column info from jikes.
25434 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25435 higher priority to avoid clobbering by gnu.
25437 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25439 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25440 if the face has existing theme settings (Bug#8454).
25442 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25444 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25445 Only match variables declared via `my' or `our' (Bug#8261).
25447 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25448 special file names `.' and `..' (Bug#8259).
25450 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25452 * progmodes/grep.el (grep-mode-font-lock-keywords):
25453 Remove buffer-changing entries.
25454 (grep-filter): New function.
25455 (grep-mode): Add it to compilation-filter-hook.
25457 * progmodes/compile.el (compilation-filter-hook)
25458 (compilation-filter-start): New defvars.
25459 (compilation-filter): Call compilation-filter-hook prior to
25460 updating the process mark.
25462 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25464 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25466 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25468 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25469 mailclient-send-it even if window-system is nil. (Bug#8595)
25471 * term/w32console.el (terminal-init-w32console):
25472 Call get-screen-color and use its output to set the frame
25473 background-mode. (Bug#8597)
25475 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25477 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25478 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25480 (defgeneric, eieio--defmethod): Use them.
25481 (eieio-defgeneric): Remove.
25482 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25484 2011-05-07 Glenn Morris <rgm@gnu.org>
25486 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25487 Use let rather than let*.
25488 (timeclock-find-discrep): Remove unused local.
25490 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25492 * calendar/appt.el (appt-time-msg-list): Doc fix.
25494 2011-05-06 Noah Friedman <friedman@splode.com>
25496 * apropos.el (apropos-print-doc): Only use
25497 emacs-lisp-docstring-fill-column when it is bound to an integer,
25498 per that variable's documentation.
25500 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25502 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25503 and warnings are not silently discarded (e.g. use -d instead of -P).
25505 2011-05-06 Glenn Morris <rgm@gnu.org>
25507 * calendar/appt.el (appt-message-warning-time): Doc fix.
25508 (appt-warning-time-regexp): New option.
25509 (appt-make-list): Respect appt-message-warning-time.
25511 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25513 (diary-add-to-list): Strip comments from the displayed string.
25514 (diary-mode): Set comment-start and comment-end.
25516 * vc/diff-mode.el (smerge-refine-subst): Declare.
25517 (diff-refine-hunk): Don't require smerge-mode when compiling.
25519 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25521 * simple.el (list-processes): Return nil as the docstring says.
25523 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25525 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25527 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25528 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25529 determining of binary transfer. (Bug#7383)
25531 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25533 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25534 Fix port computation bug. (Bug#8618)
25536 2011-05-05 Glenn Morris <rgm@gnu.org>
25538 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25540 * simple.el (shell-dynamic-complete-functions)
25541 (comint-dynamic-complete-functions): Declare.
25543 * net/network-stream.el (gnutls-negotiate):
25544 * simple.el (tabulated-list-print): Fix declarations.
25546 * progmodes/gud.el (syntax-symbol, syntax-point):
25547 Remove unnecessary and incorrect declarations.
25549 * emacs-lisp/check-declare.el (check-declare-scan):
25550 Handle byte-compile-initial-macro-environment in bytecomp.el.
25552 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25554 Fix earlier half-done eieio-defmethod change (bug#8338).
25555 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25556 Streamline and change calling convention.
25557 (defmethod): Adjust accordingly and simplify.
25558 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25559 new eieio--defmethod.
25560 (slot-boundp): Minor CSE simplification.
25562 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25564 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25565 (glasses-make-readable): Use glasses-separate-capital-groups.
25567 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25569 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25570 (warning-series): Doc fix.
25571 (display-warning): Don't try to create the buffer if we just found it.
25573 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25575 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25576 (autoload-find-generated-file): New function.
25577 (generate-file-autoloads): Bind generated-autoload-file to
25579 (update-file-autoloads, update-directory-autoloads):
25580 Use autoload-find-generated-file. If called interactively, prompt for
25581 output file (Bug#7989).
25582 (batch-update-autoloads): Doc fix.
25584 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25586 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25588 2011-05-04 Glenn Morris <rgm@gnu.org>
25590 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25591 function, so it follows changes in calendar-date-style.
25592 (diary-fancy-date-matcher): New function.
25593 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25594 (diary-fancy-font-lock-fontify-region-function):
25595 Use diary-fancy-date-pattern as a function.
25597 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25598 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25600 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25602 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25603 instead of positional arguments. Allow :keylist and :crlfiles
25605 (open-gnutls-stream): Call it.
25607 * net/network-stream.el (network-stream-open-starttls): Adjust to
25608 call `gnutls-negotiate' with :process and :hostname arguments.
25610 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25612 * minibuffer.el (completion--message): New function.
25613 (completion--do-completion, minibuffer-complete)
25614 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25615 (completion--do-completion): Don't ignore completion-auto-help when in
25618 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25619 internal encoding (e.g. tibetan zero is not whitespace).
25620 (global-whitespace-mode): Prefer save-current-buffer.
25621 (whitespace-trailing-regexp): Remove useless save-match-data.
25622 (whitespace-empty-at-bob-regexp): Minor simplification.
25624 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25626 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25628 2011-05-03 AgustĂn MartĂn Domingo <agustin.martin@hispalinux.es>
25630 * textmodes/ispell.el (ispell-add-per-file-word-list):
25631 Use `concat' to create string for insertion.
25633 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25635 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25636 Avoid open-line which runs post-self-insert-hook.
25637 (bibtex-fill-entry): Remove unused `end' var.
25639 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25641 * textmodes/ispell.el (ispell-add-per-file-word-list):
25642 Protect against `nil' value of `comment-start' (Bug#8579).
25644 2011-05-03 Leo Liu <sdl.web@gmail.com>
25646 * isearch.el (isearch-yank-pop): New command.
25647 (isearch-mode-map): Bind it to `M-y'.
25648 (isearch-forward): Mention it.
25650 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25652 * simple.el (minibuffer-complete-shell-command): Remove.
25653 (minibuffer-local-shell-command-map): Use completion-at-point.
25654 (read-shell-command): Setup completion vars here instead.
25655 (read-expression-map): Bind TAB to symbol completion.
25657 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25658 error directly rather via storing it into `results'.
25660 2011-05-02 Leo Liu <sdl.web@gmail.com>
25662 * vc/diff.el: Fix description.
25664 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25666 * server.el (server-eval-at): New function.
25668 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25670 * net/network-stream.el (open-network-stream): Take a :nowait
25671 parameter and pass it on to `make-network-process'.
25672 (network-stream-open-plain): Ditto.
25674 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25676 * faces.el (face-spec-set-match-display): Don't match toolkit
25677 options on terminal frames.
25679 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25681 * progmodes/pascal.el: Use lexical binding.
25682 (pascal-mode-map): Remove author preferences.
25684 * pcomplete.el (pcomplete-std-complete): Don't abuse
25685 completion-at-point.
25687 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25689 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25690 removing code that has been dead since 1991 or so.
25692 * startup.el (command-line): When warning about "_emacs", use a
25693 delayed warning to allow the user to filter it out.
25695 2011-04-28 Deniz Dogan <deniz@dogan.se>
25697 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25698 user has not joined.
25700 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25702 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25703 aren't any completions at point.
25705 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25707 * subr.el (display-delayed-warnings): New function.
25708 (delayed-warnings-hook): New variable.
25710 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25712 * minibuffer.el (completion-at-point, completion-help-at-point):
25713 Don't presume that a given completion-at-point-function will always
25714 use the same calling convention.
25716 * pcomplete.el (pcomplete-completions-at-point):
25717 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25718 pcomplete-seen is non-nil.
25719 (pcomplete-comint-setup): Also recognize the new comint/shell
25720 completion functions.
25721 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25722 pcomplete-seen is non-nil.
25724 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25726 * calendar/icalendar.el (diary-lib): Add require statement.
25727 (icalendar--create-uid): Read out a uid from a text-property on
25728 the first character in the entry. This allows for code to add its
25729 own uid to the entry.
25730 (icalendar--convert-float-to-ical): Add export of
25731 `diary-float'-entries save for those with the optional DAY
25734 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25736 * subr.el (shell-quote-argument): Use alternate escaping strategy
25737 when we spot a variable reference in a string.
25739 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25741 * cus-start.el (all): Define customization for debug-on-event.
25743 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25745 * subr.el (shell-quote-argument): Escape correctly under Windows.
25747 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25749 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25751 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25753 * net/tramp.el (tramp-process-actions): Add POS argument.
25754 Delete region between POS and (pos).
25756 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25757 Use `nil' position in `tramp-process-actions' call.
25758 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25760 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25761 position in `tramp-process-actions' call.
25763 * net/trampver.el: Update release number.
25765 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25767 * custom.el (defcustom): Obey lexical-binding.
25769 Fix octave-inf completion problems reported by Alexander Klimov.
25770 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25771 Inherit from octave-mode-syntax-table.
25772 (inferior-octave-mode): Set info-lookup-mode.
25773 (inferior-octave-completion-at-point): New function.
25774 (inferior-octave-complete): Use it and completion-in-region.
25775 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25776 comint-filename-completion.
25777 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25778 symbol elements which shouldn't be word elements.
25779 (octave-font-lock-keywords, octave-beginning-of-defun)
25780 (octave-function-header-regexp): Adjust regexps accordingly.
25781 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25783 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25785 * net/gnutls.el (gnutls-errorp): Declare before first use.
25787 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25789 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25790 verify-error, and verify-hostname-error parameters. Check whether
25791 default trustfile exists before going to use it. Add missing
25792 argument to gnutls-message-maybe call. Return value.
25793 Reported by Claudio Bley <claudio.bley@gmail.com>.
25794 (open-gnutls-stream): Add usage example.
25796 * net/network-stream.el (network-stream-open-starttls): Give host
25797 parameter to `gnutls-negotiate'.
25798 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25799 * subr.el (shell-quote-argument): Escape correctly under Windows.
25801 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25803 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25804 Use correct match group (bug#8438).
25806 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25808 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25809 (package-menu--generate): New arg specifying packages to show.
25810 (package-menu-refresh, package-menu-execute, list-packages):
25812 (package-show-package-list): New function, replacing deleted
25813 package--list-packages (renamed because it is non-internal).
25815 * finder.el (finder-list-matches): Use package-show-package-list
25816 instead of deleted package--list-packages.
25818 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25819 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25820 (vc-annotate-mode-map): Bind it to RET.
25822 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25824 * progmodes/etags.el (next-file): Don't use set-buffer to change
25825 buffers (Bug#8478).
25827 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25829 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25831 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25832 (apropos-accumulator): Doc fix.
25833 (apropos-function, apropos-macro, apropos-command)
25834 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25835 (apropos-plist): Add face property.
25836 (apropos-symbols-internal): Fix indentation.
25837 (apropos-print): Simplify help, and recognize apropos-multi-type.
25838 (apropos-print-doc): Use button-type-get to extract the button's
25839 face property. Fill docstring (Bug#8352).
25841 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25843 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25845 * play/mpuz.el (mpuz-silent): Doc fix.
25846 (mpuz-mode-map): Use mapc.
25847 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25848 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25849 Fix typos in docstrings.
25851 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25852 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25854 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25856 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25858 * minibuffer.el (completion--do-completion): Avoid the "Next char
25859 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25861 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25862 mouse-2 into unread-command-events, it is interpreted correctly.
25864 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25865 (image-toggle-display): Doc fix.
25867 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25869 * textmodes/page.el (what-page): Use line-number-at-pos to
25870 calculate line number (Bug#6825).
25872 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25874 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25875 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25876 Pass argument NO-DEFAULT to `find-tag-interactive'.
25878 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25880 Lexical-binding cleanup.
25882 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25883 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25884 * progmodes/ada-prj.el (ada-prj-initialize-values)
25885 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25886 (ada-prj-show-value):
25887 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25888 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25889 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25890 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25891 * progmodes/bug-reference.el (bug-reference-push-button):
25892 * progmodes/fortran.el (fortran-line-length):
25893 * progmodes/glasses.el (glasses-change):
25894 * progmodes/octave-mod.el (octave-fill-paragraph):
25895 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25896 (python-pdbtrack-grub-for-buffer, python-sentinel):
25897 * progmodes/sql.el (sql-save-connection):
25898 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25899 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25900 Mark unused parameters.
25902 * progmodes/compile.el (compilation--flush-directory-cache)
25903 (compilation--flush-parse, compile-internal): Mark unused parameters.
25904 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25905 (compilation-next-error-function): Remove unused variable `timestamp'.
25907 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25908 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25910 * progmodes/dcl-mode.el (dcl-end-of-command):
25911 Remove unused variable `start'.
25912 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25913 (dcl-option-value-basic, dcl-option-value-offset)
25914 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25915 Mark unused parameters.
25916 (dcl-save-local-variable): Remove unused variable `val'.
25919 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25920 Mark unused parameters.
25921 (delphi-ignore-changes): Move before first use.
25922 (delphi-charset-token-at): Remove unused variable `start'.
25923 (delphi-else-start): Remove unused variable `if-count'.
25924 (delphi-comment-block-start, delphi-comment-block-end):
25925 Remove unused variable `kind'.
25926 (delphi-indent-line): Remove unused variable `new-point'.
25928 * progmodes/ebrowse.el (ebrowse-files-list)
25929 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25930 Mark unused parameters. Don't quote `lambda'.
25931 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25932 Don't quote `lambda'.
25933 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25934 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25935 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25936 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25937 Use `ignore-errors'.
25938 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25939 (ebrowse-view/find-file-and-search-pattern)
25940 (ebrowse-view/find-member-declaration/definition):
25941 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25942 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25943 Rename parameter PREFIX-ARG to PREFIX.
25944 (ebrowse-tags-read-name): Remove unused variables `start' and
25946 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25949 * progmodes/etags.el (local-find-tag-hook): Declare.
25950 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25951 Mark unused parameters.
25953 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25954 (executable-interpret): Mark unused parameter.
25956 * progmodes/flymake.el (flymake-process-sentinel)
25957 (flymake-after-change-function)
25958 (flymake-create-temp-with-folder-structure)
25959 (flymake-get-include-dirs-dot): Mark unused parameters.
25960 (flymake-safe-delete-directory): Remove unused variable `err'.
25962 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25963 (speedbar-timer-fn, speedbar-line-text)
25964 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25965 (speedbar-center-buffer-smartly): Declare functions.
25966 (gdb-find-watch-expression): Remove unused variable `array'.
25967 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25968 (gdb-starting): Mark unused parameters.
25969 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25970 (gdb-table-string): Remove unused variable `res'.
25971 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25972 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25973 (gdb-display-buffer): Remove unused variable `cur-size'.
25975 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25976 allow lexical-binding compilation.
25977 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25978 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25979 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25980 Mark unused parameters.
25981 (gud-gdb-marker-filter): Remove unused variable `match'.
25982 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25983 lambda expressions and funcall them, instead of using `fset'.
25985 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25986 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25988 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25989 variable `header-beg'; use `let'.
25991 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25992 `restart', `last-sexp' and `at-do'.
25994 * progmodes/js.el (js--debug): Mark unused parameter.
25995 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25996 (js--splice-into-items): Remove unused variable `item'.
25997 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25999 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26000 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26001 (makefile-complete): Remove unused variable `try'.
26002 (makefile-fill-paragraph, makefile-match-function-end):
26003 Mark unused parameters.
26005 * progmodes/octave-inf.el (inferior-octave-complete):
26006 Remove unused variable `proc'.
26007 (inferior-octave-output-digest): Mark unused parameter.
26009 * progmodes/perl-mode.el (perl-calculate-indent):
26010 Remove unused variable `err'.
26012 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26013 (prolog-indent-line): Mark unused parameters.
26014 (prolog-indent-line): Remove unused variable `beg'.
26016 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26017 (reporter-dont-compact-list): Declare.
26019 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26020 Remove unused variable `char'.
26021 (sh-debug): Mark unused parameter.
26022 (sh-get-indent-info): Remove unused variable `start'.
26023 (sh-calculate-indent): Remove unused variable `var'.
26025 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26026 (simula-electric-keyword): Remove unused variable `null'.
26027 (simula-search-backward, simula-search-forward): Remove unused
26028 variables `begin' and `end'.
26030 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26031 Remove unused variable `pos'.
26032 (vera-electric-tab, vera-comment-uncomment-region):
26033 Mark unused parameters.
26034 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26036 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26038 * emacs-lisp/package.el (package--builtins, package-alist)
26039 (package-load-descriptor, package-built-in-p, package-activate)
26040 (define-package, package-installed-p)
26041 (package-compute-transaction, package-buffer-info)
26042 (package--push): Doc fix. Distinguish more clearly between
26043 version strings and version lists.
26045 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26047 Lexical-binding cleanup.
26049 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26050 (5x5-make-mutate-best):
26051 * play/fortune.el (fortune-in-buffer):
26052 * play/gomoku.el (gomoku-init-display):
26053 * play/solitaire.el (solitaire, solitaire-do-check):
26054 * play/tetris.el (tetris-default-update-speed-function):
26055 Mark unused parameters.
26057 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26058 (bubbles--shift): Remove unused variable `char-org'.
26059 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26060 (bubbles--show-images): Remove unused variable `char'.
26062 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26063 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26064 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26065 (decipher-analyze-buffer): Use ?\s.
26066 (decipher-make-checkpoint): Remove unused variable `mapping'.
26068 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26070 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26071 Remove unused variable `result'; use `let'.
26073 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26074 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26075 (gametree-children-shown-p, gametree-compute-reduced-score):
26076 Use `ignore-errors'.
26078 * play/handwrite.el (ps-lpr-switches): Declare.
26079 (handwrite): Remove unused variables `pmin' and `lastp'.
26081 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26083 * play/landmark.el (landmark-init-display)
26084 (landmark-update-naught-weights): Mark unused parameters.
26085 (landmark-y): Remove unused variable `noise'. Simplify.
26086 (landmark-human-plays): Remove unused variable `score'.
26088 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26089 (mpuz-try-proposal): Remove unused variable `game'.
26091 * play/zone.el (life-patterns): Declare.
26093 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26095 * vc/vc.el (ediff-vc-internal): Declare function.
26097 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26099 * shell.el: Use lexical-binding and std completion UI.
26100 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26101 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26102 comint-preoutput-filter-functions rather than on
26103 comint-output-filter-functions.
26104 (shell-command-completion, shell--command-completion-data)
26105 (shell-filename-completion, shell-environment-variable-completion)
26106 (shell-c-a-p-replace-by-expanded-directory): New functions.
26107 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26108 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26109 (shell-dynamic-complete-environment-variable): Use them.
26110 (shell-dynamic-complete-as-environment-variable)
26111 (shell-dynamic-complete-as-command): Remove.
26112 (shell-match-partial-variable): Match past point.
26113 * comint.el: Clean up use of completion-at-point-functions.
26114 (comint-completion-at-point): New function.
26115 (comint-mode): Use it completion-at-point-functions.
26116 (comint-dynamic-complete): Make it obsolete.
26117 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26118 (comint-c-a-p-replace-by-expanded-history): New function.
26119 (comint-dynamic-complete-functions)
26120 (comint-replace-by-expanded-history): Use it.
26121 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26122 termination strings. Try harder to avoid second try-completion.
26123 (completion-in-region-mode-map): Disable bindings that don't work yet.
26125 * comint.el: Use lexical-binding. Require CL.
26126 (comint-dynamic-complete-functions): Use comint-filename-completion.
26127 (comint-completion-addsuffix): Tweak custom type.
26128 (comint-filename-completion, comint--common-suffix)
26129 (comint--common-quoted-suffix, comint--table-subvert)
26130 (comint--complete-file-name-data): New functions.
26131 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26132 (comint-dynamic-list-filename-completions): Use them.
26133 (comint-dynamic-simple-complete): Make obsolete.
26135 * minibuffer.el (completion-in-region-mode):
26136 Keep completion-in-region-mode--predicate global.
26137 (completion-in-region--postch):
26138 Assume completion-in-region-mode--predicate is not null.
26140 * progmodes/flymake.el (flymake-start-syntax-check-process):
26141 Obey `dir'. Simplify.
26143 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26144 we're in VC after all.
26146 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26148 * vc/vc.el (vc-diff-build-argument-list-internal)
26149 (vc-version-ediff, vc-ediff): New commands.
26150 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26152 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26154 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26157 * obsolete/erc-hecomplete.el: Make obsolete.
26158 * obsolete/: Standardize obsolescence info in the header.
26160 2011-04-20 Glenn Morris <rgm@gnu.org>
26162 * calendar/solar.el (solar-horizontal-coordinates):
26163 Use the longitude argument rather than `calendar-longitude'.
26164 (solar-date-next-longitude): Remove unused locals.
26166 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26168 * whitespace.el: New version 13.2.1.
26170 2011-04-20 felix <EmacsWiki> (tiny change)
26172 * whitespace.el (global-whitespace-mode): Keep highlight when
26173 switching between major modes on a file.
26175 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26177 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26178 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26179 multi-line comments as well.
26181 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26183 Lexical-binding cleanup.
26185 * arc-mode.el (archive-mode-revert):
26186 * cmuscheme.el (scheme-interactively-start-process):
26187 * custom.el (custom-initialize-delay):
26188 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26189 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26190 * emacs-lock.el (emacs-lock-clear-sentinel):
26191 * ezimage.el (defezimage):
26192 * follow.el (follow-avoid-tail-recenter):
26193 * fringe.el (set-fringe-mode-1):
26194 * generic-x.el (bat-generic-mode-compile):
26195 * help-mode.el (help-info-variable, help-do-xref)
26196 (help-mode-revert-buffer):
26197 * help.el (view-emacs-todo):
26198 * iswitchb.el (iswitchb-completion-help):
26199 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26200 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26201 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26202 * locate.el (locate-update):
26203 * longlines.el (longlines-encode-region)
26204 (longlines-after-change-function):
26205 * outline.el (outline-isearch-open-invisible):
26206 * ps-def.el (declare-function, charset-dimension, char-width)
26208 * ps-mule.el (ps-mule-plot-string):
26209 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26210 (recentf-edit-list-select, recentf-edit-list-validate)
26211 (recentf-open-files-action):
26212 * rect.el (delete-whitespace-rectangle-line)
26213 (rectangle-number-line-callback):
26214 * register.el (window-configuration-to-register)
26215 (frame-configuration-to-register):
26216 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26217 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26218 (xselect-convert-to-targets, xselect-convert-to-delete)
26219 (xselect-convert-to-filename, xselect-convert-to-charpos)
26220 (xselect-convert-to-lineno, xselect-convert-to-colno)
26221 (xselect-convert-to-os, xselect-convert-to-host)
26222 (xselect-convert-to-user, xselect-convert-to-class)
26223 (xselect-convert-to-name, xselect-convert-to-integer)
26224 (xselect-convert-to-atom, xselect-convert-to-identity):
26225 * subr.el (declare, ignore, process-kill-without-query)
26226 (text-clone-maintain):
26227 * terminal.el (te-get-char, te-tic-sentinel):
26228 * tool-bar.el (tool-bar-make-keymap):
26229 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26230 * type-break.el (type-break-mode, type-break-noninteractive-query):
26231 * view.el (View-back-to-mark):
26232 * wid-browse.el (widget-browse-action, widget-browse-widget)
26233 (widget-browse-widgets, widget-browse-sexp):
26234 * widget.el (define-widget-keywords):
26235 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26236 Mark unused parameters.
26238 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26239 (align-areas): Remove unused variable `look'.
26240 (align-region): Remove unused variables `real-end' and `pos-list'.
26242 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26244 * bindings.el (mode-line-modified, mode-line-remote):
26245 Mark unused parameters.
26246 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26248 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26249 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26251 * comint.el (comint-history-isearch-pop-state)
26252 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26253 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26254 (comint-substitute-in-file-name): Doc fix.
26256 * completion.el (cmpl-statistics-block): Mark unused parameter.
26257 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26258 (save-completions-to-file, load-completions-from-file):
26259 Remove unused local variable `e'.
26261 * composite.el (compose-chars): Remove unused variable `len'.
26262 (lgstring-insert-glyph): Remove unused variable `g'.
26263 (compose-glyph-string): Remove unused variables `ascent',
26264 `descent', `lbearing' and `rbearing'.
26265 (compose-glyph-string-relative): Remove unused variables
26266 `lbearing', `rbearing' and `wadjust'.
26267 (compose-gstring-for-graphic): Remove unused variables `header',
26268 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26269 (compose-gstring-for-terminal): Remove unused variables `header'
26270 and `nchars'. Use `let', not `let*'.
26272 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26273 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26274 (Custom-buffer-done, custom-buffer-create-internal)
26275 (custom-browse-visibility-action, custom-browse-group-tag-action)
26276 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26277 (widget-magic-mouse-down-action, custom-toggle-parent)
26278 (custom-add-parent-links, custom-toggle-hide-variable)
26279 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26280 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26281 (custom-face-menu-create, custom-variable-menu-create, get)
26282 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26283 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26284 (customize-apropos): Remove unused variable `tests'.
26285 (custom-group-value-create): Remove unused variable `hidden-p'.
26286 (sort-fold-case): Declare.
26288 * cus-theme.el (custom-reset-standard-faces-list)
26289 (custom-reset-standard-variables-list): Declare.
26290 (customize-create-theme, custom-theme-revert, custom-theme-write)
26291 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26292 Mark unused parameters.
26294 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26296 * delim-col.el (delimit-columns-max): Move defvar before first use.
26298 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26299 (describe-char): Don't quote `lambda'. Mark unused parameter.
26301 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26302 (auto-insert): Declare.
26303 (desktop-restore-file-buffer): Rename desktop-* parameters;
26305 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26306 (desktop-buffer): Rename desktop-* parameters.
26308 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26309 (dframe-reposition-frame-xemacs, dframe-help-echo)
26310 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26311 Mark unused parameters.
26313 * dired-aux.el (backup-extract-version-start, overwrite-query)
26314 (overwrite-backup-query, rename-regexp-query)
26315 (rename-non-directory-query): Declare.
26316 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26317 (dired-add-entry): Remove unused variable `orig-file-name'.
26318 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26319 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26320 `dired-copy-preserve-time' directly.
26321 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26322 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26324 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26325 (dired-virtual-revert, dired-make-relative-symlink):
26326 Mark unused parameters.
26327 (manual-program): Declare.
26328 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26329 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26330 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26332 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26334 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26336 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26339 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26341 * electric.el (Electric-command-loop): Rename parameter
26342 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26344 * expand.el (expand-in-literal): Remove unused variable `here'.
26346 * facemenu.el (facemenu-add-new-color):
26347 Remove unused variable `docstring'.
26349 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26350 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26351 (face-attr-construct): Mark unused parameter. Doc fix.
26352 (read-color): Remove unused variable `hex-string'.
26354 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26355 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26356 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26357 (display-buffer-other-frame): Remove unused variable `old-window'.
26358 (kill-buffer-hook): Declare.
26359 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26360 Mark unused parameters.
26361 (after-find-file): Pass 1 to `auto-save-mode', not t.
26363 * files-x.el (auto-insert): Declare.
26364 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26366 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26367 variable `buf'. Mark unused parameter.
26368 (find-lisp-insert-directory): Mark unused parameter.
26370 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26371 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26372 (format-common-tail): Remove, unused.
26373 (format-deannotate-region): Remove unused variable `loc'.
26374 (format-annotate-region): Remove unused variable `p'.
26375 (format-annotate-single-property-change): Remove unused variables
26376 `default' and `tail'.
26378 * forms.el (read-file-filter): Declare.
26379 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26381 * frame.el (frame-creation-function-alist): Mark unused parameter.
26382 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26384 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26385 Remove unused parameters.
26386 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26387 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26389 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26390 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26391 (hfy-prepare-tag-map): Mark unused parameters.
26392 (htmlfontify-buffer): Use `called-interactively-p'.
26394 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26395 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26396 (ibuffer-do-occur): Mark unused parameters.
26397 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26398 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26400 * ibuffer.el: Don't quote `lambda'.
26401 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26402 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26403 Mark unused parameters.
26405 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26406 (ido-completing-read): Mark unused parameters.
26407 (ido-copy-current-word): Mark unused parameters;
26408 remove unused variable `name'.
26409 (ido-sort-merged-list): Remove unused parameter `dirs'.
26411 * ielm.el (ielm-input-sender): Mark unused parameter.
26412 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26413 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26414 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26415 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26416 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26418 * image-dired.el (image-dired-display-thumbs): Remove unused
26419 variables `curr-file' and `count'.
26420 (image-dired-remove-tag): Remove unused variable `start'.
26421 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26422 variable `curr-file'
26423 (image-dired-rotate-original): Remove unused variable `temp-file'.
26424 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26425 Remove unused variable `file'.
26426 (image-dired-gallery-generate): Remove unused variable `curr'.
26427 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26429 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26431 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26433 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26435 * isearch.el (minibuffer-history-symbol): Declare.
26436 (isearch-edit-string): Remove unused variable `err'.
26437 (isearch-message-prefix, isearch-message-suffix):
26438 Mark unused parameters.
26440 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26442 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26444 * makesum.el (double-column): Remove unused variable `cnt'.
26446 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26447 (ido-ignore-item-temp-list): Declare.
26449 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26450 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26451 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26452 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26455 * mouse-sel.el (mouse-extend-internal):
26456 Remove unused variable `orig-window-frame'.
26458 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26459 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26460 Move declarations before first use.
26461 (pcomplete-opt): Mark unused parameters; doc fix.
26463 * proced.el (proced-revert): Mark unused parameter.
26464 (proced-send-signal): Remove unused variable `err'.
26466 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26467 Rename parameter PREFIX-ARG to ARG.
26468 (ps-basic-plot-string, ps-basic-plot-whitespace):
26469 Mark unused parameters.
26471 * replace.el (replace-count): Define.
26472 (occur-revert-function): Mark unused parameters.
26473 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26474 (isearch-case-fold-search, isearch-string): Declare.
26475 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26476 bind `case-fold-search'. Remove unused variables `beg' and `end',
26478 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26479 COUNT and bind `replace-count'.
26480 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26483 * savehist.el (print-readably, print-string-length): Declare.
26485 * shadowfile.el (shadow-expand-cluster-in-file-name):
26486 Remove unused variable `cluster'.
26487 (shadow-copy-file): Remove unused variable `i'.
26488 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26489 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26490 (shadow-define-literal-group, shadow-define-regexp-group)
26491 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26493 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26494 (shell): Use `called-interactively-p'.
26495 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26497 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26498 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26499 (delete-backward-char): Remove unused variable `ocol'.
26500 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26501 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26502 (event-apply-hyper-modifier, event-apply-shift-modifier)
26503 (event-apply-control-modifier, event-apply-meta-modifier):
26504 Mark unused parameters.
26505 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26506 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26508 * speedbar.el (speedbar-ignored-directory-expressions)
26509 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26510 (speedbar-find-file, speedbar-dir-follow)
26511 (speedbar-directory-buttons-follow, speedbar-tag-find)
26512 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26513 (speedbar-buffers-line-directory, speedbar-buffer-click):
26514 Mark unused parameters.
26515 (speedbar-tag-file): Remove unused variable `mode'.
26516 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26518 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26520 * talk.el (talk): Remove unused variable `display'.
26522 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26523 (tar-write-region-annotate): Mark unused parameter.
26525 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26526 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26527 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26528 warning by another.
26530 * time-stamp.el (time-stamp-string-preprocess):
26531 Remove unused variable `require-padding'.
26533 * tree-widget.el (widget-glyph-enable): Declare.
26534 (tree-widget-action): Mark unused parameter.
26536 * w32-fns.el (x-get-selection): Mark unused parameter.
26537 (autoload-make-program, generated-autoload-file): Declare.
26539 * wdired.el (wdired-revert): Mark unused parameters.
26540 (wdired-xcase-word): Remove unused variable `err'.
26542 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26543 (whitespace-help-scroll): Remove unused variable `data-help'.
26545 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26546 (widget-image-insert, widget-after-change, default)
26547 (widget-default-format-handler, widget-default-notify)
26548 (widget-default-prompt-value, widget-info-link-action)
26549 (widget-url-link-action, widget-function-link-action)
26550 (widget-variable-link-action, widget-file-link-action)
26551 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26552 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26553 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26554 (widget-insert-button-action, widget-delete-button-action, visibility)
26555 (widget-documentation-link-action, widget-documentation-string-action)
26556 (widget-const-prompt-value, widget-regexp-match, symbol)
26557 (widget-coding-system-prompt-value)
26558 (widget-key-sequence-value-to-external, sexp)
26559 (widget-sexp-value-to-internal, character, vector, cons)
26560 (widget-choice-prompt-value, widget-boolean-prompt-value)
26561 (widget-color--choose-action): Mark unused parameters.
26562 (widget-item-match-inline, widget-choice-match-inline)
26563 (widget-checklist-match, widget-checklist-match-inline)
26564 (widget-group-match): Rename parameter VALUES to VALS.
26565 (widget-field-value-set): Remove unused variable `size'.
26566 (widget-color-action): Remove unused variables `value' and `start'.
26568 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26569 variable `dir'. Doc fix.
26570 (windmove-find-other-window): Don't pass it.
26572 * window.el (count-windows): Mark unused parameter.
26573 (bw-adjust-window): Remove unused variable `err'.
26575 * woman.el (woman-file-name): Remove unused variable `default'.
26576 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26577 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26578 (global-font-lock-mode): Declare.
26579 (woman-decode-region): Mark unused parameter.
26580 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26582 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26583 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26584 (x-dnd-handle-moz-url): Remove unused variable `title'.
26585 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26587 * xml.el (xml-parse-tag, xml-parse-attlist):
26588 Remove unused variable `pos'.
26590 2011-04-19 Glenn Morris <rgm@gnu.org>
26592 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26593 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26594 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26595 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26596 * calendar/cal-html.el (cal-html-insert-minical):
26597 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26598 (calendar-mark-date-pattern):
26599 Prefix "unused" locals.
26601 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26602 optional argument `style'.
26604 * calendar/appt.el (appt-make-list):
26605 * calendar/cal-china.el (calendar-chinese-date-string):
26606 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26607 (diary-hebrew-yahrzeit):
26608 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26609 * calendar/calendar.el (calendar-generate-window):
26610 * calendar/time-date.el (time-to-days):
26611 Remove unused local variables.
26613 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26615 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26616 glyphless-char-display table.
26617 (tabulated-list-glyphless-char-display): New var.
26619 2011-04-18 Sam Steingold <sds@gnu.org>
26621 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26622 to acknowledgments.
26624 2011-04-17 Glenn Morris <rgm@gnu.org>
26626 * calendar/diary-lib.el (diary-sexp-entry):
26627 * calendar/holidays.el (holiday-sexp):
26628 Set debug-on-error rather than the removed stack-trace-on-error.
26630 2011-04-16 Glenn Morris <rgm@gnu.org>
26632 * progmodes/f90.el: Use lexical-binding.
26633 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26635 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26637 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26638 (mail-mode): Setup mailalias completion here instead.
26639 * mail/mailalias.el: Use lexical-binding.
26640 (pattern, mailalias-done): Declare dynamic.
26641 (mail-completion-at-point-function): New function, from mail-complete.
26642 (mail-complete): Use it.
26643 (mail-completion-expand): New function.
26644 (mail-get-names): Use it.
26645 (mail-directory, mail-directory-process, mail-directory-stream):
26646 Don't use `pattern' for lexically bound arg.
26648 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26650 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26651 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26652 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26654 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26655 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26656 (byte-interactive-p): Define them again, for use when inlining
26659 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26661 * loadup.el: Use `string-to-number', not `string-to-int'.
26663 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26665 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26666 gud-gdb-complete-command.
26667 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26668 (gud-gdb-completion-at-point): New function.
26669 (gud-gdb-completions): Remove.
26671 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26673 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26674 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26675 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26676 whether `executable-find' is bound.
26678 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26680 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26682 * minibuffer.el (completion-in-region-mode-predicate)
26683 (completion-in-region-mode--predicate): New vars.
26684 (completion-in-region, completion-in-region--postch)
26685 (completion-in-region-mode): Use them.
26686 (completion--capf-wrapper): Also return the hook function.
26687 (completion-at-point, completion-help-at-point):
26688 Adjust and provide a predicate.
26690 Preserve arg names for advice of subr and lexical functions (bug#8457).
26691 * help-fns.el (help-function-arglist): Consolidate the subr and
26692 new-byte-code cases. Add argument `preserve-names' to extract names
26693 from the docstring when needed.
26694 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26695 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26696 (ad-arglist): Use help-function-arglist's new arg.
26697 (ad-definition-type): Use cond.
26699 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26701 * autorevert.el (auto-revert-handler):
26702 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26703 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26704 Don't quote lambda.
26706 * image-mode.el (image-transform-set-scale):
26707 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26709 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26711 * net/network-stream.el (network-stream-open-starttls): Only do
26712 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26713 Upgrades via gnutls-cli are too slow to be done opportunistically.
26715 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26717 * dframe.el (dframe-current-frame): Remove spurious quote.
26719 2011-04-12 Glenn Morris <rgm@gnu.org>
26721 * calendar/cal-tex.el (cal-tex-end-document):
26722 Try to automatically use latin1 input if needed.
26724 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26725 Don't try to cons a mark onto an empty element.
26727 2011-04-11 Leo Liu <sdl.web@gmail.com>
26729 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26731 (ido-kill-buffer-at-head): Support killing virtual buffers.
26733 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26735 * minibuffer.el (completion-show-inline-help): New var.
26736 (completion--do-completion, minibuffer-complete)
26737 (minibuffer-force-complete, minibuffer-complete-word):
26738 Inhibit minibuffer messages if completion-show-inline-help is nil.
26740 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26741 to avoid interference from inline help (Bug#5849).
26743 2011-04-10 Leo Liu <sdl.web@gmail.com>
26745 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26748 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26750 * image-mode.el (image-toggle-display-image): Signal an error if
26752 (image-transform-mode, image-transform-resize)
26753 (image-transform-set-rotation): Doc fix.
26754 (image-transform-set-resize): Delete.
26755 (image-transform-set-scale, image-transform-fit-to-height)
26756 (image-transform-fit-to-width): Handle image-toggle-display-image
26757 and image-transform-resize directly.
26759 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26761 * doc-view.el (doc-view-fit-width-to-window)
26762 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26763 New functions for fitting the shown image to the Emacs window size.
26764 (doc-view-mode-map): Add bindings for the new functions.
26766 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26768 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26769 Fix typo in docstring.
26771 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26773 * files.el (file-size-human-readable): Produce one digit after
26774 decimal, like "ls -lh" does.
26776 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26777 the file size representation.
26779 * simple.el (list-processes): If async subprocesses are not
26780 available, error out with a clear error message.
26782 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26784 * help.el (help-form-show): New function, to be called from C.
26785 Put help-form output in a buffer named differently than *Help*.
26787 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26789 * files.el (file-size-human-readable): New function.
26791 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26792 computing the representation inline. Don't require `cl'.
26794 2011-04-08 Glenn Morris <rgm@gnu.org>
26796 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26798 * net/browse-url.el (browse-url-firefox):
26799 Test system-type, not system-configuration.
26801 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26802 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26803 Use log-edit-empty-buffer-p. (Bug#7598)
26805 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26806 (rlogin-mode-map): Initialize in the defvar.
26807 (rlogin): Use ignore-errors.
26809 * replace.el (occur-mode-map): Some fixes for menu items.
26811 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26813 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26815 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26817 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26818 issuing unused warnings.
26820 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26823 * simple.el: Lisp reimplement of list-processes. Based on an
26824 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26825 (process-menu-mode): New major mode.
26826 (list-processes--refresh, list-processes):
26827 (process-menu-visit-buffer): New functions.
26829 * files.el (save-buffers-kill-emacs): Don't assume any return
26830 value of list-processes, which is undocumented anyway.
26832 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26834 * emacs-lisp/tabulated-list.el: New file.
26836 * emacs-lisp/package.el: Use Tabulated List mode.
26837 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26838 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26839 table format using Tabulated List mode variables.
26840 (package--push): New macro, replacing package-list-maybe-add.
26841 (package-menu--generate): Use package--push. Renamed from
26842 package--generate-package-list.
26843 (package-menu-refresh, list-packages): Use it.
26844 (package-menu--print-info): Rename from package-print-package.
26845 Return insertion data instead of inserting it directly.
26846 (package-menu-describe-package, package-menu-execute):
26847 Use tabulated-list-get-id.
26848 (package-menu-mark-delete, package-menu-mark-install)
26849 (package-menu-mark-unmark, package-menu-backup-unmark)
26850 (package-menu-mark-obsolete-for-deletion):
26851 Use tabulated-list-put-tag.
26852 (package--list-packages, package-menu-revert)
26853 (package-menu-get-package, package-menu-get-version)
26854 (package-menu-sort-by-column): Functions deleted.
26855 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26856 (package-menu--status-predicate, package-menu--version-predicate)
26857 (package-menu--name-predicate)
26858 (package-menu--description-predicate): Handle arguments in the
26859 Tabulated List format.
26860 (package-list-packages-no-fetch): Call list-packages.
26862 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26864 * files.el (after-find-file-from-revert-buffer): Remove variable.
26865 (after-find-file): Don't bind it.
26866 (revert-buffer-in-progress-p): New variable.
26867 (revert-buffer): Bind it.
26868 Pass nil for `after-find-file-from-revert-buffer'.
26870 * saveplace.el (save-place-find-file-hook): Use new variable
26871 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26873 2011-04-06 Glenn Morris <rgm@gnu.org>
26875 * Makefile.in (AUTOGEN_VCS): New variable.
26876 (autoloads): Use $AUTOGEN_VCS.
26878 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26879 * calendar/calendar.el (calendar-mode-map):
26880 Check for toolkit scroll bars. (Bug#8305)
26882 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26884 * minibuffer.el (completion-in-region--postch)
26885 (completion-in-region-mode): Remove unnecessary messages.
26887 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26889 * font-lock.el (font-lock-refresh-defaults):
26890 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26891 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26893 * info.el (Info-directory-list, Info-read-node-name-2)
26894 (Info-split-parameter-string): Doc fixes.
26895 (Info-virtual-nodes): Reflow docstring.
26896 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26897 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26898 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26899 Fix typos in docstrings.
26900 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26901 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26902 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26903 (Info-restore-desktop-buffer): Mark unused parameters.
26904 (Info-directory-find-file, Info-directory-find-node)
26905 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26906 (Info-virtual-index-find-node, Info-apropos-find-file)
26907 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26908 Mark unused parameters; fix typos in docstrings.
26909 (Info-virtual-index): Remove unused local variable `nodename'.
26911 2011-04-05 Deniz Dogan <deniz@dogan.se>
26913 * net/rcirc.el: Update my e-mail address.
26914 (rcirc-mode-map): Remove M-o binding.
26916 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26918 * startup.el (command-line): Save the cursor's theme-face
26919 directly, instead of using face-override-spec.
26921 * custom.el (load-theme): Minor optimization in assigning faces.
26923 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26925 * help-fns.el (describe-variable): Complete all variables having
26926 documentation, including keywords.
26927 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26929 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26931 Convert to lexical-binding.
26933 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26934 (bs--get-marked-string, bs--get-modified-string)
26935 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26936 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26937 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26939 * ehelp.el (electric-help-execute-extended)
26940 (electric-help-ctrl-x-prefix):
26941 * hexl.el (hexl-revert-buffer-function):
26942 * linum.el (linum-after-change, linum-after-scroll):
26943 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26945 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26947 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26954 * epg.el: Use lexical binding.
26956 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26958 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26960 * textmodes/flyspell.el (flyspell-word): Recognize default
26961 dictionary case for flyspell-mark-duplications-exceptions.
26962 Use regexp matching for languages.
26963 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26964 default dictionary (Bug#7926).
26966 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26968 * emacs-lisp/package.el (package--with-work-buffer):
26969 Recognize https URLs.
26971 * net/network-stream.el: Move from gnus/proto-stream.el.
26972 Change prefix to network-stream throughout.
26973 (open-protocol-stream): Merge into open-network-stream, leaving
26974 open-protocol-stream as an alias. Handle nil BUFFER args.
26976 * subr.el (open-network-stream): Move to net/network-stream.el.
26978 2011-04-02 Glenn Morris <rgm@gnu.org>
26980 * find-dired.el (find-exec-terminator): New option.
26981 (find-ls-option): Test for -ls support.
26982 (find-ls-subdir-switches): Test for -b in find-ls-option.
26983 (find-dired, find-grep-dired): Doc fixes.
26984 (find-dired): Use find-exec-terminator.
26986 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26987 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26988 (find-name-arg): Remove purecopy.
26990 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26991 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26992 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26993 accordingly. Don't add the null-device if not needed.
26995 * files.el (save-some-buffers): Doc fix.
26997 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26999 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27001 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27003 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27004 Use `dolist' rather than `mapcar'.
27006 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27008 Add lexical binding.
27010 * subr.el (apply-partially): Use new closures rather than CL.
27011 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27012 (dolist, dotimes): Use slightly different expansion for lexical code.
27013 (functionp): Move to C.
27014 (letrec): New macro.
27015 (with-wrapper-hook): Use it and apply-partially instead of CL.
27016 (eval-after-load): Preserve lexical-binding.
27017 (save-window-excursion, with-output-to-temp-buffer): Turn them
27020 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27022 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27024 (help-add-fundoc-usage): Don't add `Not documented'.
27025 (help-function-arglist): Handle closures, subroutines, and new
27026 byte-code-functions.
27027 (help-make-usage): Remove leading underscores.
27028 (describe-function-1): Handle closures.
27029 (describe-variable): Use special-variable-p for completion.
27031 * files.el (lexical-binding): Declare safe.
27033 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27034 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27035 (pcase): Add `let' pattern.
27036 Change memoization so it actually works.
27037 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27038 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27041 * emacs-lisp/macroexp.el: Use lexical binding.
27042 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27043 Don't convert ' to #' without checking that it's indeed quoting
27046 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27047 Use eval-sexp-add-defvars.
27048 (eval-sexp-add-defvars): New fun.
27050 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27052 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27054 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27055 than the internal `byte-compile-lambda'.
27056 (defmethod): Don't hide code under quotes.
27057 (eieio-defmethod): New `code' argument.
27059 * emacs-lisp/eieio-comp.el: Remove.
27061 * emacs-lisp/edebug.el (edebug-eval-defun)
27062 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27063 (edebug-toggle): Avoid `eval'.
27065 * emacs-lisp/disass.el (disassemble-internal): Handle new
27067 (disassemble-1): Handle new byte codes.
27069 * emacs-lisp/cl.el (pushnew): Silence warning.
27071 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27072 (cl-byte-compile-throw): Remove.
27073 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27075 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27078 * emacs-lisp/cconv.el: New file.
27080 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27081 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27082 (byte-compile-initial-macro-environment):
27083 Handle declare-function here.
27084 (byte-compile--lexical-environment): New var.
27085 (byte-stack-ref, byte-stack-set, byte-discardN)
27086 (byte-discardN-preserve-tos): New lap codes.
27087 (byte-interactive-p): Don't use any more.
27088 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27090 (byte-compile-lapcode): Use them and handle new lap codes.
27091 (byte-compile-obsolete): Remove.
27092 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27093 (byte-compile-arglist-warn): Check late def of inlinable funs.
27094 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27095 since they should have been expanded by now.
27096 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27097 (byte-compile-from-buffer): Remove unused second arg.
27098 (byte-compile-preprocess): New function.
27099 (byte-compile-toplevel-file-form): New function to distinguish
27100 file-form calls from outside from file-form calls from hunk-handlers.
27101 (byte-compile-file-form): Simplify.
27102 (byte-compile-file-form-defsubst): Remove.
27103 (byte-compile-file-form-defmumble): Simplify now that
27104 byte-compile-lambda always returns a byte-code-function.
27105 (byte-compile): Preprocess.
27106 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27107 Remove, not used any more.
27108 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27109 (byte-compile-make-args-desc): New funs.
27110 (byte-compile-lambda): Handle lexical functions. Always return
27111 a byte-code-function.
27112 (byte-compile-reserved-constants): New var, to make up room for
27113 closed-over variables.
27114 (byte-compile-constants-vector): Obey it.
27115 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27116 (byte-compile-macroexpand-declare-function): New function.
27117 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27118 byte-code-functions.
27119 (byte-compile-form): Check obsolescence here.
27120 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27121 (byte-compile-variable-ref): Remove.
27122 (byte-compile-dynamic-variable-op): New fun.
27123 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27124 (byte-compile-variable-set): New funs.
27125 (byte-compile-discard): Add 2 args.
27126 (byte-compile-stack-ref, byte-compile-stack-set)
27127 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27128 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27129 macroexpand-all instead.
27130 (byte-compile-quote-form): Remove.
27131 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27132 (byte-compile-bind, byte-compile-unbind): New funs.
27133 (byte-compile-let): Handle let* and lexical binding.
27134 (byte-compile-let*): Remove.
27135 (byte-compile-catch, byte-compile-unwind-protect)
27136 (byte-compile-track-mouse, byte-compile-condition-case):
27137 Handle a new :fun-body form, used for lexical scoping.
27138 (byte-compile-save-window-excursion)
27139 (byte-compile-with-output-to-temp-buffer): Remove.
27140 (byte-compile-defun): Simplify.
27141 (byte-compile-stack-adjustment): New fun.
27142 (byte-compile-out): Use it.
27143 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27145 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27148 * emacs-lisp/byte-opt.el: Use lexical binding.
27149 (byte-inline-lapcode): Remove (to bytecomp).
27150 (byte-compile-inline-expand): Pay attention to inlining to/from
27151 lexically bound code.
27152 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27154 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27155 any more and don't call compiler-macros.
27156 (byte-compile-splice-in-already-compiled-code): Remove.
27157 (byte-code): Don't inline any more.
27158 (disassemble-offset): Receive `bytes' as argument rather than via
27160 (byte-compile-tag-number): Declare before first use.
27161 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27162 `return' even if make-spliceable.
27163 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27164 obsolete interactive-p.
27165 (byte-optimize-lapcode): Optimize new lap-codes.
27166 Don't trip up on new form of `byte-constant' lap code.
27168 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27170 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27172 * custom.el (custom-initialize-default, custom-declare-variable):
27175 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27177 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27178 (COMPILE_FIRST): Add macroexp and cconv.
27179 * makefile.w32-in: Mirror changes in Makefile.in.
27181 * vc/cvs-status.el:
27185 * vc/smerge-mode.el:
27186 * textmodes/bibtex-style.el:
27187 * textmodes/css-mode.el:
27195 * emacs-lisp/smie.el:
27198 * abbrev.el: Use lexical binding.
27200 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27202 * info.el (info-display-manual): New function.
27204 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27206 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27208 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27210 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27211 an entry for that server in rcirc-authinfo. (Bug#8385)
27213 2011-03-31 Glenn Morris <rgm@gnu.org>
27215 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27217 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27219 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27221 * progmodes/python.el (python-default-interpreter)
27222 (python-python-command-args, python-jython-command-args)
27223 (python-which-shell, python-which-args, python-which-bufname)
27224 (python-file-queue, python-comint-output-filter-function)
27225 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27226 variables and functions.
27228 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27230 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27231 (completion-in-region-mode): New minor mode.
27232 (completion-in-region): Use it.
27233 (completion-in-region--data, completion-in-region-mode-map): New vars.
27234 (completion-in-region--postch): New function.
27235 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27237 (completion--capf-wrapper): New function.
27238 (completion-at-point): Use it to track well-behavedness of
27240 (completion-help-at-point): New command.
27242 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27244 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27245 syntax class to search for whitespace on a single line
27246 (Message-ID: <4D938140.4030905@redhat.com>).
27248 2011-03-30 Leo Liu <sdl.web@gmail.com>
27250 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27252 (edit-abbrevs-map): Bind them here.
27253 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27255 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27257 * allout.el (allout-hide-by-annotation, allout-flag-region):
27258 Reduce possibility of overlay leakage by making them volatile.
27260 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27261 hash is not shared between buffers. Mode initialization is
27262 responsible for giving it a useful starting value.
27263 (allout-item-span): Reduce possibility of overlay leakage by
27264 making them volatile.
27265 (allout-widgets-count-buttons-in-region): Add diagnostic function
27266 for tracking down button overlay leaks.
27268 2011-03-29 Leo Liu <sdl.web@gmail.com>
27270 * ido.el (ido-read-internal): Use the default history var
27271 minibuffer-history if no HISTORY is specified.
27273 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27275 * net/imap.el (imap-shell-open, imap-process-connection-type):
27276 Use imap-process-connection-type for 'shell' streams as well as
27277 Kerberos, SSL, other subprocesses.
27279 2011-03-28 Leo Liu <sdl.web@gmail.com>
27281 * abbrev.el (abbrev-table-empty-p): New function.
27282 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27283 nonempty ones. (Bug#5937)
27285 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27287 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27289 2011-03-27 Leo Liu <sdl.web@gmail.com>
27291 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27292 for foreground and background colors.
27293 (ansi-color-make-color-map): Adapt.
27295 2011-03-25 Leo Liu <sdl.web@gmail.com>
27297 * midnight.el (midnight-time-float): Remove. Note it calculates
27298 the microsecond component incorrectly and seconds-to-time does the
27300 Remove redundant (require 'timer).
27302 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27303 (ido-completions): Remove unused arguments. (Bug#8329)
27305 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27307 * minibuffer.el (completion--flush-all-sorted-completions):
27308 Remove itself from hook.
27309 (completion-at-point): Let the functions perform the completion
27310 immediately and return nil or t.
27311 * comint.el (comint-dynamic-complete-functions): Now identical to
27312 completion-at-point-functions.
27313 (comint-dynamic-list-input-ring): Remove unused var `index'.
27314 (comint--match-partial-filename, comint--unquote&expand-filename):
27315 New funs, split from comint-match-partial-filename.
27316 (comint-dynamic-complete): Use completion-at-point.
27317 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27319 2011-03-24 Drew Adams <drew.adams@oracle.com>
27321 * thingatpt.el: Support `defun'.
27323 2011-03-23 Leo Liu <sdl.web@gmail.com>
27325 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27327 * help-mode.el (help-mode-finish): Tweak regexp.
27329 2011-03-23 Glenn Morris <rgm@gnu.org>
27331 * eshell/esh-opt.el (eshell-eval-using-options):
27332 Do not bind unused local variable `eshell-option-stub'.
27334 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27336 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27338 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27339 keymap variable in `with-no-warnings' to avoid a warning when the
27340 keymap has been already `defconst'ed.
27342 2011-03-22 Leo Liu <sdl.web@gmail.com>
27344 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27345 encode all chars in abbrevs; otherwise use emacs-mule or
27346 utf-8-emacs. (Bug#8308)
27348 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27350 * simple.el (backward-delete-char-untabify):
27351 Avoid warning about using `delete-backward-char'.
27353 * image.el (image-type-file-name-regexps): Make it variable.
27354 `imagemagick-register-types' modifies it, and the user may want
27355 to add new extensions for known image types.
27356 (imagemagick-register-types): Throw error if not using ImageMagick.
27358 2011-03-22 Leo Liu <sdl.web@gmail.com>
27360 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27361 located before rcirc-prompt-end-marker.
27362 (rcirc-complete): Error if point is not after rcirc prompt.
27363 Handle the case when table is nil.
27364 (rcirc-user-authenticated): Define to fix compiler warning.
27366 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27368 * custom.el (custom--inhibit-theme-enable): Make it affect only
27369 custom-theme-set-variables and custom-theme-set-faces.
27370 (provide-theme): Ignore custom--inhibit-theme-enable.
27371 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27372 (custom-enabling-themes): Delete variable.
27373 (enable-theme): Accept only loaded themes as arguments.
27374 Ignore the special custom-enabled-themes variable.
27375 (custom-enabled-themes): Forbid themes from setting this.
27376 Eliminate use of custom-enabling-themes.
27377 (custom-push-theme): Quote "changed" custom var entry.
27379 2011-03-21 Leo Liu <sdl.web@gmail.com>
27381 * ido.el (ido-read-internal): Add ido-selected to history instead
27384 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27386 * subr.el (deferred-action-list, deferred-action-function):
27389 2011-03-21 Leo Liu <sdl.web@gmail.com>
27391 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27392 change on 2011-02-13 (bug#8309).
27394 * minibuffer.el (read-file-name-function): Change default value.
27395 (read-file-name--defaults): Rename from read-file-name-defaults.
27396 (read-file-name-default): Rename from read-file-name.
27397 (read-file-name): Call read-file-name-function.
27399 2011-03-21 Glenn Morris <rgm@gnu.org>
27401 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27404 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27406 * cus-theme.el: Add missing provide statement.
27407 (customize-create-theme): Extract theme value correctly.
27408 (custom-theme-visit-theme): Autoload.
27409 (customize-create-theme): Prompt before inserting default faces.
27411 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27413 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27414 units and musical notes.
27416 2011-03-20 Leo Liu <sdl.web@gmail.com>
27418 * ido.el (ido-read-internal): Use completing-read-default.
27419 (ido-completing-read): Fix compatibility with completing-read.
27421 2011-03-20 Christian Ohler <ohler@gnu.org>
27423 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27424 (ert-delete-all-tests): Use `called-interactively-p' rather than
27426 (ert--make-xrefs-region): Respect END.
27428 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27430 * dired-aux.el (dired-create-directory): Signal an error if the
27431 directory already exists (Bug#8246).
27433 * facemenu.el (list-colors-display): Call list-faces-display
27434 inside with-help-window.
27435 (list-colors-print): Use display property to align the final
27436 column, instead of checking window-width.
27438 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27440 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27441 windows-nt systems.
27442 (emerge-protect-metachars): Quote correctly for ms-dos and
27443 windows-nt systems.
27445 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27447 * info.el (info-initialize): Replace all uses of `:' with
27448 path-separator for compatibility with non-Unix systems.
27449 Cache quoting of path-separator. (Bug#8258)
27451 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27453 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27454 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27455 (mouse-avoidance-mode): Fix typos in docstrings.
27457 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27459 * startup.el (package-subdirectory-regexp): Move from package.el.
27460 Omit \\` and \\', and let callers add them.
27462 * emacs-lisp/package.el (package-strip-version)
27463 (package-load-all-descriptors): Add \\` and \\' to
27464 package-subdirectory-regexp before using it.
27465 (package-untar-buffer): New arg DIR; ensure that file untars only
27466 into this expected directory. Remove superfluous delete-region.
27467 (package-unpack): Caller changed.
27468 (package-tar-file-info): Use package-subdirectory-regexp.
27470 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27472 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27473 diff-mode-shared-map (bug#8284).
27474 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27476 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27478 * calendar/time-date.el (format-seconds): Use assoc instead of
27479 assoc-string, since assoc-string doesn't exist in XEmacs.
27481 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27483 * custom.el (custom-known-themes): Reflow docstring.
27484 (custom-theme-load-path): Fix typo in docstring.
27485 (load-theme): Fix typo in error message.
27486 (custom-available-themes, custom-variable-theme-value):
27487 Use `let', not `let*'.
27489 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27491 * calc/README: Mention inclusion of musical notes.
27493 * calc/calc-units.el (calc-lu-quant): Rename from
27494 `calc-logunits-quantity'.
27495 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27496 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27497 (calc-db): Rename from `calc-dblevel'.
27498 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27499 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27500 (calc-np): Rename from `calc-nplevel'.
27501 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27502 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27503 (calc-lu-plus): Rename from `calc-logunits-add'.
27504 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27505 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27506 (calc-lu-minus): Rename from `calc-logunits-sub'.
27507 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27508 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27509 (calc-lu-times): Rename from `calc-logunits-mul'.
27510 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27511 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27512 (calc-lu-divide): Rename from `calc-logunits-div'.
27513 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27514 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27516 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27517 functions being autoloaded.
27519 * calc/calc.el (calc-lu-power-reference): Rename from
27520 `calc-logunits-power-reference'.
27521 (calc-lu-field-reference): Rename from
27522 `calc-logunits-field-reference'.
27524 * calc/calc-help.el (calc-l-prefix-help):
27525 Mention musical note functions.
27527 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27529 * minibuffer.el (completion-all-sorted-completions):
27530 Use :completion-cycle-penalty text property if present.
27532 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27534 * allout.el (allout-yank-processing): Adjust for new rebulleting
27535 regime so bullet being yanked is used without prompting the user
27538 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27540 * startup.el (command-line): Warn the user that _emacs is deprecated.
27542 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27544 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27545 (delphi-verbose, delphi-comment-face, delphi-string-face)
27546 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27547 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27548 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27549 (delphi-new-comment-line, delphi-font-lock-defaults)
27550 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27551 Fix typos in docstrings.
27553 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27555 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27556 Invert the roles of character and string values for INSTEAD, so a
27557 string is used for the more common case of a defaulting prompt.
27559 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27561 * progmodes/ruby-mode.el (ruby-backward-sexp):
27562 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27563 * play/gamegrid.el (gamegrid-make-face):
27564 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27565 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27566 * notifications.el (notifications-notify):
27567 * net/xesam.el (xesam-search-engines):
27568 * net/quickurl.el (quickurl-list-insert):
27569 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27571 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27573 * startup.el (command-line): Update package subdirectory regexp.
27575 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27577 * allout.el (allout-abbreviate-flattened-numbering)
27578 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27580 * subr.el (read-char-choice): Only show the cursor after the prompt,
27581 not after the answer.
27583 2011-03-15 Kevin Ryde <user42@zip.com.au>
27585 * help-fns.el (variable-at-point): Skip leading quotes, if any
27588 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27590 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27593 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27595 * shell.el (shell): When called interactively, offer to change the
27596 shell file name on remote hosts.
27598 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27600 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27601 integration for LDAP parameters. The host, base, user or binddn,
27602 and secret tokens can be specified in a netrc file, for instance.
27603 This is optional because an `auth-source' parameter must be
27604 specified in the search attributes.
27606 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27608 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27610 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27612 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27613 into declaration. Remove redundant and harmful binding.
27615 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27617 * files.el (file-ownership-preserved-p): Pass `integer' as an
27618 explicit 2nd argument to `file-attributes'. If the file's owner
27619 is the Administrators group on Windows, and the current user is
27620 Administrator, consider that a match.
27622 * server.el (server-ensure-safe-dir): Consider server directory
27623 safe on MS-Windows if its owner is the Administrators group while
27624 the current Emacs user is Administrator. Use `=' to compare
27625 numerical UIDs, since they could be integers or floats.
27627 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27629 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27631 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27633 Sync with Tramp 2.2.1.
27635 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27637 * net/trampver.el: Update release number.
27639 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27641 * progmodes/compile.el (compilation--previous-directory): Fix up
27642 various nil/dead-marker mismatches (bug#8014).
27643 (compilation-directory-properties, compilation-error-properties):
27644 Don't call it at a position past the one we're about to change.
27646 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27647 Disable obsolescence warnings in the file that declares it.
27649 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27651 * allout-widgets.el (allout-widgets-tally):
27652 Initialize allout-widgets-tally as a hash table rather than nil to
27653 prevent mode-line redisplay warnings. Also, clarify the module
27654 description and fix a comment typo.
27656 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27658 * help-fns.el (describe-variable): Don't complete keywords.
27659 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27661 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27663 * emacs-lisp/package.el (package-version-join): Impose a standard
27664 string representation for pre/alpha/beta version lists.
27665 (package-unpack-single): Standardize the directory name by passing
27666 it through package-version-join.
27667 (package-strip-rcs-id): Accept any version string that does not
27668 signal an error in version-to-list.
27670 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27672 * simple.el (delete-trailing-whitespace): Return nil for the
27673 benefit of `write-file-functions'.
27675 2011-03-10 Glenn Morris <rgm@gnu.org>
27677 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27679 * vc/vc-git.el (vc-git-program): New option.
27680 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27681 (vc-git--call): Use it.
27683 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27685 * cus-edit.el (Custom-newline): If no button at point, look
27686 for a subgroup button at start-of-line. (Bug#2298)
27688 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27690 2011-03-10 Julien Danjou <julien@danjou.info>
27692 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27693 `cursor-type' is nil.
27695 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27697 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27699 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27701 * allout.el: Change so yank of distinctive-bullet items
27702 preserves the existing header prefix, rebulleting it if necessary,
27703 rather than replacing it. This is necessary for proper operation
27704 of cooperative addons like allout-widgets.
27705 (allout-make-topic-prefix, allout-rebullet-heading):
27706 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27707 value as alternate bullet to be used, instead of prompting the user
27708 for a bullet character.
27710 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27712 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27713 Do not use `tramp-file-name-port', because this returns also
27714 `tramp-default-port'.
27716 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27718 * net/rcirc.el (rcirc-handler-001): Remove useless
27719 with-rcirc-process-buffer.
27720 (rcirc-check-auth-status): Swap arguments to string-match.
27722 2011-03-09 Glenn Morris <rgm@gnu.org>
27724 * shell.el (shell-mode):
27725 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27727 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27728 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27730 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27732 * emacs-lisp/package.el (package-refresh-contents)
27733 (package-menu-execute): Use condition-case-no-debug.
27735 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27737 * simple.el (shell-command-to-string): Use `process-file'.
27739 * emacs-lisp/package.el (package-tar-file-info): Handle also
27742 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27743 Use `equal' for upload base check.
27745 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27747 * textmodes/texinfo.el (texinfo-environments):
27748 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27750 2011-03-08 Glenn Morris <rgm@gnu.org>
27752 * cus-start.el (cursor-in-non-selected-windows):
27753 Fix :set quoting oddness. (Bug#8192)
27755 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27756 in some setf expressions. (Bug#2159)
27758 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27760 * custom.el (custom-available-themes): Return themes in
27761 alphabetical order.
27763 See ChangeLog.15 for earlier changes.
27765 ;; Local Variables:
27769 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27771 This file is part of GNU Emacs.
27773 GNU Emacs is free software: you can redistribute it and/or modify
27774 it under the terms of the GNU General Public License as published by
27775 the Free Software Foundation, either version 3 of the License, or
27776 (at your option) any later version.
27778 GNU Emacs is distributed in the hope that it will be useful,
27779 but WITHOUT ANY WARRANTY; without even the implied warranty of
27780 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27781 GNU General Public License for more details.
27783 You should have received a copy of the GNU General Public License
27784 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.