1 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3 * eshell/esh-ext.el (eshell-external-command): Pass args to
4 `eshell-find-interpreter'.
5 (eshell-find-interpreter): Add new second parameter ARGS.
7 * eshell/em-script.el (eshell-script-initialize): Add second arg
8 to the function added as MATCH to `eshell-interpreter-alist'
10 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11 the function added as MATCH to `eshell-interpreter-alist'
13 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14 (eshell-visual-options): New defcustom.
15 (eshell-escape-control-x): Adapt docstring.
16 (eshell-term-initialize): Test `eshell-visual-subcommands' and
17 `eshell-visual-options' in addition to `eshell-visual-commands'.
18 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
20 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22 * progmodes/python.el (python-indent-block-enders): Add break,
23 continue and raise keywords.
25 2013-06-01 Glenn Morris <rgm@gnu.org>
27 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
29 Plain (f)boundp silences compilation warnings since Emacs 22.1.
30 * progmodes/cc-cmds.el (delete-forward-p):
31 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
32 * progmodes/cc-engine.el (buffer-syntactic-context):
33 * progmodes/cc-fonts.el (face-property-instance):
34 * progmodes/cc-mode.el (set-keymap-parents):
35 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
36 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
37 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
38 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
39 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
41 * progmodes/cc-vars.el (other): Emacs has this widget since
42 at least 21.1, so don't (re)define it.
44 * eshell/em-cmpl.el (eshell-cmpl-initialize):
45 Replace the obsolete alias pcomplete-arg-quote-list.
47 2013-06-01 Leo Liu <sdl.web@gmail.com>
49 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
51 (inferior-octave-minimal-columns)
52 (inferior-octave-last-column-width): New variables.
53 (inferior-octave-track-window-width-change): New function.
54 (inferior-octave-mode): Adjust column width so that Octave output,
55 for example from 'ls', can fit into the window nicely.
57 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
59 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
60 Highlight expansions inside regexp literals.
62 2013-05-31 Glenn Morris <rgm@gnu.org>
64 * obsolete/sym-comp.el (symbol-complete):
65 Replace obsolete completion-annotate-function.
67 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
69 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
71 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
72 function, checks if point is inside a literal that allows
74 (ruby-syntax-propertize-expansion): Use it.
75 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
78 2013-05-30 Juri Linkov <juri@jurta.org>
80 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
82 (isearch-invisible): New variable.
83 (isearch-forward): Doc fix.
84 (isearch-mode): Set `isearch-invisible'
85 to the value of `search-invisible'.
86 (isearch-toggle-case-fold): Doc fix.
87 (isearch-toggle-invisible): New command.
88 (isearch-query-replace): Let-bind `search-invisible'
89 to the value of `isearch-invisible'.
90 (isearch-search): Use `isearch-invisible' instead of
91 `search-invisible'. Let-bind `search-invisible'
92 to the value of `isearch-invisible'. (Bug#11378)
94 2013-05-30 Juri Linkov <juri@jurta.org>
96 * replace.el (perform-replace): Avoid `isearch-range-invisible'
97 call when `query-flag' is nil and `search-invisible' is non-nil.
100 2013-05-30 Glenn Morris <rgm@gnu.org>
102 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
104 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
105 (cc-require): Suppress spurious "noruntime" warnings.
106 (cc-require-when-compile): Use fboundp, for sake of compiler.
108 * progmodes/cc-mode.el: Move load of cc-vars before that of
109 cc-langs (which in turn loads cc-vars), to quieten compiler.
111 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
113 * paren.el: Simplify the code.
114 (show-paren-mode): Always start the timer.
115 (show-paren--idle-timer): Rename from show-paren-idle-timer.
116 (show-paren--overlay, show-paren--overlay-1): Rename from
117 show-paren-overlay and show-paren-overlay-1, and initialize to an
118 overlay rather than to nil.
119 (show-paren-function): Misc cleanup and simplifications.
121 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
123 * paren.el (show-paren-data-function): New hook.
124 (show-paren--default): New function, extracted from show-paren-function.
125 (show-paren-function): Use show-paren-data-function.
127 2013-05-30 Glenn Morris <rgm@gnu.org>
129 * ielm.el (ielm-map, ielm-complete-symbol):
130 Use completion-at-point rather than obsolete functions.
131 (inferior-emacs-lisp-mode): Doc fix.
132 Set completion-at-point-functions, rather than
133 comint-dynamic-complete-functions.
135 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
136 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
137 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
139 * image.el (image-animated-p): Tweak definition.
141 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
142 (rlogin-process-connection-type): Tweak default. Add set-after.
143 (rlogin-host): Doc fix.
144 (rlogin): Tweak prompt.
145 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
147 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
148 * progmodes/tcl.el (inferior-tcl-mode-map):
149 Use completion-at-point rather than obsolete alias.
151 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
153 * minibuffer.el (read-file-name-completion-ignore-case):
154 Move before completion--in-region, for eager macro expansion.
156 2013-05-29 Juri Linkov <juri@jurta.org>
158 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
159 for total count of matching lines. Add `global-matches' for total
160 count of matches. Rename `matches' to `lines' for count of
161 matching lines. Add `matches' for count of matches.
162 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
163 to `prev-line' for line number of prev match endpt.
164 Increment `matches' for every match. Print the number of
165 matching lines in the header.
166 (occur-context-lines): Rename `lines' to `curr-line'.
167 Rename `prev-lines' to `prev-line'. (Bug#14017)
169 2013-05-29 Juri Linkov <juri@jurta.org>
171 * replace.el (perform-replace): Add `skip-read-only-count',
172 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
173 Increment them for corresponding conditions and report the number
174 of skipped occurrences in the final message. (Bug#11746)
175 (query-replace, query-replace-regexp, query-replace-regexp-eval)
176 (replace-string, replace-regexp): Doc fix.
178 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
180 * emacs-lisp/trace.el (trace--read-args): Provide a default.
182 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
185 2013-05-29 Leo Liu <sdl.web@gmail.com>
187 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
188 (octave-help): Small simplification.
190 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
191 off the highlight first.
193 2013-05-29 Glenn Morris <rgm@gnu.org>
195 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
196 Handle idlwave-last-system-routine-info-cons-cell being nil.
198 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
199 (idlwave-write-paths): Simplify via with-temp-buffer.
201 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
202 * emulation/cua-rect.el: Also load cua-base at run time.
204 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
205 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
206 (cperl-imenu-on-info): Require imenu.
208 2013-05-28 Alan Mackenzie <acm@muc.de>
210 Handle "capitalised keywords" correctly.
211 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
213 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
215 * eshell/em-unix.el: Added -r option to cp
217 2013-05-28 Glenn Morris <rgm@gnu.org>
219 * vc/vc-arch.el (vc-exec-after): Declare.
220 (vc-switches): Autoload.
221 * vc/vc-bzr.el: No need to require vc when compiling.
222 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
223 (vc-resynch-buffer, vc-dir-refresh): Declare.
224 (vc-setup-buffer, vc-switches): Autoload.
225 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
226 (vc-resynch-buffer): Declare.
227 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
228 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
229 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
230 (grep-read-regexp, grep-read-files, grep-expand-template)
231 (vc-dir-refresh): Declare.
232 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
233 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
234 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
235 * vc/vc-mtn.el (vc-exec-after): Declare.
236 (vc-switches): Autoload.
237 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
238 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
239 (vc-file-tree-walk): Declare.
240 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
241 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
242 (vc-tag-precondition, vc-rename-master): Autoload.
243 * vc/vc-svn.el (vc-exec-after): Declare.
244 (vc-switches, vc-setup-buffer): Autoload.
245 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
247 (vc-resynch-buffer): Declare.
249 * obsolete/fast-lock.el (byte-compile-warnings):
250 Don't warn about obsolete features in this obsolete file.
252 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
253 Move definition before use.
255 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
256 (dun-unix-verbs): Remove dun-zippy.
257 (dun-zippy): Remove function.
259 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
261 2013-05-27 Juri Linkov <juri@jurta.org>
263 * replace.el (replace-search): New function with code moved out
264 from `perform-replace'.
265 (replace-highlight, replace-dehighlight): Move function definitions
266 up closer to `replace-search'. (Bug#11746)
268 2013-05-27 Juri Linkov <juri@jurta.org>
270 * replace.el (perform-replace): Ignore invisible matches.
271 In addition to checking `query-replace-skip-read-only', also
272 filter out matches by calling `run-hook-with-args-until-failure'
273 on `isearch-filter-predicates', and also check `search-invisible'
274 for t or call `isearch-range-invisible'.
275 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
277 2013-05-27 Juri Linkov <juri@jurta.org>
279 * isearch.el (isearch-filter-predicates): Rename from
280 `isearch-filter-predicate'. Doc fix. (Bug#11378)
281 (isearch-message-prefix): Display text from the property
282 `isearch-message-prefix' of the currently active filters.
283 (isearch-search): Don't compare `isearch-filter-predicate' with
284 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
285 on `isearch-filter-predicates'. Also check `search-invisible' for t
286 or call `isearch-range-invisible'.
287 (isearch-filter-visible): Make obsolete.
288 (isearch-lazy-highlight-search):
289 Call `run-hook-with-args-until-failure' on
290 `isearch-filter-predicates' and use `isearch-range-invisible'.
292 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
293 `isearch-filter-predicates' instead of `funcall'ing
294 `isearch-filter-predicate'.
295 (Info-mode): Set `Info-isearch-filter' to
296 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
298 * dired-aux.el (dired-isearch-filter-predicate-orig):
300 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
301 (dired-isearch-filenames-end): Add and remove
302 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
303 instead of changing the value of `isearch-filter-predicate'.
304 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
305 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
306 Put property `isearch-message-prefix' to "filename " on
307 `dired-isearch-filter-filenames'.
309 * wdired.el (wdired-change-to-wdired-mode):
310 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
311 locally instead of changing `isearch-filter-predicate'.
312 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
314 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
316 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
317 return the commit hash (Bug#14459). Also set the
318 `vc-git-detached' property.
319 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
320 (vc-git-mode-line-string): Use the same help-echo format whether
321 in detached mode or not, because we know the actual revision now.
322 When in detached mode, shorten the revision to 7 chars.
324 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
326 * emacs-lisp/easy-mmode.el (define-minor-mode):
327 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
328 mode hook and provide a docstring.
330 2013-05-27 Alan Mackenzie <acm@muc.de>
332 Remove spurious syntax-table text properties inserted by C-y.
333 * progmodes/cc-mode.el (c-after-change): Also clear hard
334 syntax-table property with value nil.
336 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
338 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
339 when reading the events; the buffer layout shall not be changed.
341 2013-05-27 Leo Liu <sdl.web@gmail.com>
343 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
345 (inferior-octave-directory-tracker): Automatically re-sync
347 (octave-help): Improve handling of 'See also'.
349 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
351 * doc-view.el: Minor naming convention tweaks.
352 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
354 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
355 even if there's no `display' property yet (bug#14435).
357 2013-05-25 Eli Zaretskii <eliz@gnu.org>
359 * subr.el (unmsys--file-name): Rename from reveal-filename.
361 * Makefile.in (custom-deps, finder-data, autoloads)
362 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
363 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
364 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
366 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
368 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
369 error-completion on the first 2 args of condition-case (bug#14446).
372 2013-05-25 Leo Liu <sdl.web@gmail.com>
374 * comint.el (comint-previous-matching-input): Do not flood the
375 *Messages* buffer with trivial messages.
377 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
379 * progmodes/flymake.el (flymake-nop): Don't return a string.
380 (flymake-set-at): Fix typo.
382 * simple.el (read--expression): New function, extracted from
383 eval-expression. Set completion-at-point-functions (bug#14465).
384 (eval-expression, eval-minibuffer): Use it.
386 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
388 * progmodes/flymake.el (flymake-save-buffer-in-file)
389 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
390 (flymake-selected-frame, flymake-log, flymake-ins-after)
391 (flymake-set-at, flymake-get-buildfile-from-cache)
392 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
393 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
394 Refine the doc string.
395 (flymake-get-file-name-mode-and-masks): Reformat.
396 (flymake-get-real-file-name-function): Fix a minor bug.
398 2013-05-24 Juri Linkov <juri@jurta.org>
400 * progmodes/grep.el (grep-mode-font-lock-keywords):
401 Support =linenumber= format used by git-grep for lines with
402 function names. (Bug#13549)
404 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
406 * progmodes/octave.el (octave-smie-rules): Return nil rather than
407 0 after a semi-colon; it works better for smie-auto-fill.
408 (octave--indent-new-comment-line): New function.
409 (octave-indent-new-comment-line): Use it (indirectly).
410 (octave-mode): Don't disable smie-auto-fill. Use add-function to
411 modify comment-line-break-function.
413 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
414 (smie-setup): Use add-function to set it.
416 2013-05-24 Sam Steingold <sds@gnu.org>
418 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
419 argument (before the `interactive' argument).
421 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
423 * image-mode.el (image-mode-winprops): Add winprops to
424 image-mode-winprops-alist before running
425 image-mode-new-window-functions.
426 * doc-view.el (doc-view-new-window-function): Don't delay
427 doc-view-goto-page via timers (bug#14435).
429 2013-05-24 Tassilo Horn <tsdh@gnu.org>
431 * doc-view.el: Integrate with desktop.el. (Bug#14435)
432 (doc-view-desktop-save-buffer): New function.
433 (doc-view-restore-desktop-buffer): New function.
434 (desktop-buffer-mode-handlers):
435 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
437 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
438 `desktop-save-buffer' function.
440 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
442 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
443 (tramp-gvfs-file-name-handler): Raise a user error when
444 `tramp-gvfs-enabled' is nil.
445 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
446 Do not raise a user error when loading package. (Bug#14447)
448 * net/xesam.el: Move to obsolete/.
450 2013-05-24 Glenn Morris <rgm@gnu.org>
452 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
454 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
456 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
457 (Info-find-node, Man-getpage-in-background): Declare.
459 * mail/unrmail.el (unrmail):
460 Replace obsolete detect-coding-with-priority.
462 * net/socks.el (socks-split-string): Use this rather than split-string.
463 (socks-nslookup-host): Update for above change.
464 (dynamic-choice, s5-dynamic-choice-match)
465 (s5-dynamic-choice-match-inline, s5-widget-value-create):
466 Comment out unused code.
468 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
469 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
470 (gud-tooltip-echo-area): Make obsolete.
471 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
473 * progmodes/js.el (js--optimize-arglist): Declare.
475 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
477 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
478 (ediff-window-C): Declare.
480 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
481 Tweak requires to silence compiler.
483 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
484 (he-search-string, he-tried-table, he-expand-list)
485 (he-init-string, he-string-member, he-substitute-string)
486 (he-reset-string): Declare.
488 * obsolete/options.el (list-options): Use custom-variable-p,
489 rather than obsolete alias.
491 2013-05-23 Sam Steingold <sds@gnu.org>
493 * simple.el (shell-command-on-region): Pass the `replace' argument
494 down to `call-process-region' to comply with the doc as reported on
495 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
497 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
499 * emacs-lisp/smie.el (smie-indent-forward-token)
500 (smie-indent-backward-token): Handle string tokens (bug#14381).
502 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
504 * ielm.el (ielm-menu): New menu.
505 (inferior-emacs-lisp-mode): Set comment-start.
507 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
509 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
510 Fix deactivate action.
512 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
515 * lisp/textmodes/reftex-parse.el
516 (reftex-locate-bibliography-files): Accept options for
517 bibliography commands.
518 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
519 Add addbibresource. Basic Biblatex support.
521 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
523 * net/tramp-gvfs.el (top):
524 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
525 when loading package. (Bug#14447)
527 2013-05-23 Glenn Morris <rgm@gnu.org>
529 * progmodes/js.el: No need to load comint when compiling.
530 (ring-insert, comint-send-string, comint-send-input)
531 (comint-last-input-end, ido-chop): Declare.
533 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
534 * vc/ediff-mult.el: Adjust requires.
535 (ediff-directories-internal, ediff-directory-revisions-internal)
536 (ediff-patch-file-internal): Declare.
537 * vc/ediff-ptch.el: Adjust requires.
538 (ediff-use-last-dir, ediff-buffers-internal): Declare.
539 (ediff-find-file): Autoload.
540 * vc/ediff-util.el: No need to load ediff when compiling.
541 (ediff-regions-internal): Declare.
542 * vc/ediff-wind.el: Adjust requires.
543 (ediff-compute-toolbar-width): Define when compiling.
544 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
545 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
546 (dired-get-filename, dired-get-marked-files)
547 (ediff-last-dir-patch, ediff-patch-default-directory)
548 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
549 (ediff-patch-buffer-internal): Declare.
551 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
552 (ispell-process, ispell-buffer-local-words, lm-summary)
553 (lm-section-start, lm-section-end): Declare.
554 (checkdoc-ispell-init): Simplify.
556 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
557 (he-string-member, he-reset-string, he-substitute-string): Declare.
559 * eshell/em-ls.el: Adjust requires.
560 (eshell-glob-regexp): Declare.
561 * eshell/em-tramp.el: Adjust requires.
562 (eshell-parse-command): Autoload.
563 * eshell/em-xtra.el: Adjust requires.
564 (eshell-parse-command): Autoload.
565 * eshell/esh-ext.el: Adjust requires.
566 (eshell-parse-command, eshell-close-handles): Autoload.
567 * eshell/esh-io.el: Adjust requires.
568 (eshell-output-filter): Autoload.
569 * eshell/esh-util.el: No need to load tramp when compiling.
570 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
572 (eshell-parse-ange-ls): Require ange-ftp and tramp.
573 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
574 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
575 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
576 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
577 * eshell/esh-opt.el, eshell/esh-proc.el:
578 * eshell/esh-var.el: Adjust requires.
579 * eshell/eshell.el: Do not require esh-util twice.
580 (eshell-add-input-to-history): Declare.
581 (eshell-command): Check history module is active before using it.
583 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
585 2013-05-22 Leo Liu <sdl.web@gmail.com>
587 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
589 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
591 * autorevert.el (auto-revert-notify-add-watch)
592 (auto-revert-notify-handler): Add `attrib' for the inotify case,
593 it indicates changes in file modification time.
595 2013-05-22 Glenn Morris <rgm@gnu.org>
597 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
598 Always delete the autoloaded function from the noruntime and
599 unresolved functions lists.
601 * allout.el: No need to load epa, epg, overlay when compiling.
602 (epg-context-set-passphrase-callback, epg-list-keys)
603 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
604 (epg-key-user-id-list): Declare.
606 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
607 (viper-set-parsing-style-toggling-macro)
608 (viper-set-emacs-state-searchstyle-macros):
609 Use called-interactively-p on Emacs.
610 (viper-looking-back): Make it an obsolete alias. Update callers.
611 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
612 Use looking-back rather than viper-looking-back.
613 (viper-tmp-insert-at-eob, viper-enlarge-region)
614 (viper-read-string-with-history, viper-register-to-point)
615 (viper-append-to-register, viper-change-state-to-vi)
616 (viper-backward-char-carefully, viper-forward-char-carefully)
617 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
618 (viper-change-state-to-emacs): Declare.
619 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
620 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
621 * emulation/viper-mous.el: Do not load viper-cmd.
622 (viper-backward-char-carefully, viper-forward-char-carefully)
623 (viper-forward-word, viper-adjust-window): Declare.
625 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
627 * progmodes/idlw-help.el (idlwave-help-fontify):
628 Use called-interactively-p.
630 * term/w32console.el (w32-get-console-codepage)
631 (w32-get-console-output-codepage): Declare.
633 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
634 Remove unnecessary declarations.
635 (dframe-message): Doc fix.
637 * info.el (dframe-select-attached-frame, dframe-current-frame):
640 * speedbar.el (speedbar-message): Make it an obsolete alias.
642 (speedbar-with-attached-buffer)
643 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
644 (speedbar-with-writable): Use backquote.
645 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
646 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
647 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
648 rather than speedbar- aliases.
649 * mail/rmail.el: Load dframe rather than speedbar when compiling.
650 (speedbar-make-specialized-keymap, speedbar-insert-button)
651 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
652 (speedbar-do-function-pointer): Declare.
653 (rmail-speedbar-button, rmail-speedbar-find-file)
654 (rmail-speedbar-move-message):
655 Use dframe-with-attached-buffer rather than speedbar- alias.
656 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
657 (dframe-message, speedbar-make-specialized-keymap)
658 (speedbar-add-expansion-list, speedbar-mode-functions-list)
659 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
660 (speedbar-insert-button, dframe-select-attached-frame)
661 (dframe-maybee-jump-to-attached-frame)
662 (speedbar-change-initial-expansion-list)
663 (speedbar-previously-used-expansion-list-name): Declare.
664 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
665 Use dframe-message, dframe-with-attached-buffer rather than
667 (gud-sentinel): Silence compiler.
668 * progmodes/vhdl-mode.el (speedbar-refresh)
669 (speedbar-do-function-pointer, speedbar-add-supported-extension)
670 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
671 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
672 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
673 (speedbar-file-lists, speedbar-make-tag-line)
674 (speedbar-line-directory, speedbar-goto-this-file)
675 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
676 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
677 (speedbar-make-button, speedbar-reset-scanners)
678 (speedbar-files-item-info, speedbar-line-text)
679 (speedbar-find-file-in-frame, speedbar-set-timer)
680 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
681 (speedbar-with-writable): Do not (re)define it.
682 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
683 rather than speedbar- alias.
685 2013-05-21 Leo Liu <sdl.web@gmail.com>
687 * progmodes/octave.el (octave-mode-menu): Update and re-organize
689 (octave-mode): Tweak fill-nobreak-predicate.
690 (inferior-octave-startup): Check process to avoid infinite loop.
691 (inferior-octave): Pop to buffer first to show abornmal process
694 2013-05-21 Glenn Morris <rgm@gnu.org>
696 * printing.el (pr-menu-bar): Define when compiling.
698 2013-05-21 Leo Liu <sdl.web@gmail.com>
700 * progmodes/octave.el (octave-auto-fill): Remove.
701 (octave-indent-new-comment-line): Improve.
702 (octave-mode): Use auto fill mode through
703 comment-line-break-function and fill-nobreak-predicate
704 (octave-goto-function-definition): Support DEFUN_DLD.
705 (octave-beginning-of-defun): Small Tweak
706 (octave-help): Show parent directory.
708 2013-05-21 Glenn Morris <rgm@gnu.org>
710 * files.el (dired-unmark):
711 * progmodes/gud.el (gdb-input): Update declarations.
713 * calculator.el (electric, ehelp): No need to load when compiling.
714 (Electric-command-loop, electric-describe-mode): Declare.
716 * doc-view.el (doc-view-current-converter-processes): Move before use.
718 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
719 Move MODE-set-explicitly definition before use.
721 * international/mule-diag.el (mule-diag):
722 Don't use obsolete window-system-version.
724 * mail/feedmail.el (smtpmail): No need to load when compiling.
725 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
727 * mail/mail-utils.el (rfc822): No need to load when compiling.
728 (rfc822-addresses): Autoload it.
729 (mail-strip-quoted-names): Trivial simplification.
731 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
732 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
734 * net/snmp-mode.el (tempo): Don't duplicate requires.
736 * progmodes/prolog.el (info): No need to load when compiling.
737 (comint): Require before shell requires it.
738 (Info-goto-node): Autoload it.
739 (Info-follow-nearest-node): Declare.
740 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
742 * textmodes/artist.el (picture-mode-exit): Declare.
744 * textmodes/reftex-parse.el (reftex-parse-from-file):
745 Trivial rewrite so the compiler can parse it better.
747 2013-05-20 Leo Liu <sdl.web@gmail.com>
749 * progmodes/octave.el (octave-help-mode-map)
750 (octave-help-mode-finish-hook): New variables.
751 (octave-help-mode, octave-help-mode-finish): New functions.
752 (octave-help): Use octave-help-mode.
754 2013-05-20 Glenn Morris <rgm@gnu.org>
756 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
758 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
760 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
761 start at point, so that expansion starting right after opening
762 slash in a regexp is recognized.
763 (ruby-syntax-before-regexp-re): New defvar, extracted from
764 ruby-syntax-propertize-function. Since the value of this regexp
765 is looked up at runtime now, we should be able to turn
766 `ruby-syntax-methods-before-regexp' into a defcustom later.
767 (ruby-syntax-propertize-function): Split regexp matching into two
768 parts, for opening and closing slashes. That allows us to skip
769 over string interpolations and support multiline regexps.
770 Don't call `ruby-syntax-propertize-expansions', instead use another rule
771 for them, which calls `ruby-syntax-propertize-expansion'.
772 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
773 call to `ruby-syntax-propertize-function'.
774 (ruby-syntax-propertize-expansion): Extracted from
775 `ruby-syntax-propertize-expansions'. Handles one expansion.
776 (ruby-syntax-propertize-percent-literal): Leave point right after
777 the percent symbol, so that the expression expansion rule can
778 propertize the contents.
779 (ruby-syntax-propertize-heredoc): Leave point at bol following the
781 (ruby-syntax-propertize-expansions): Remove.
783 2013-05-18 Juri Linkov <juri@jurta.org>
785 * man.el (Man-default-man-entry): Remove `-' from the end
786 of the default value. (Bug#14400)
788 2013-05-18 Glenn Morris <rgm@gnu.org>
790 * comint.el (comint-password-prompt-regexp):
791 Allow "password for XXX" where XXX contains colons (eg https://...).
793 2013-05-18 Leo Liu <sdl.web@gmail.com>
795 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
796 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
797 (octave-source-directories): Don't check process.
798 (octave-source-directories, octave-find-definition): Doc fix.
800 2013-05-18 Glenn Morris <rgm@gnu.org>
802 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
803 Remove backspace/delete bindings. (Bug#14392)
805 * cus-dep.el (custom-make-dependencies): Sort the output.
806 (custom-versions-load-alist): Convert comment to doc.
808 2013-05-17 Leo Liu <sdl.web@gmail.com>
810 * newcomment.el (comment-search-backward): Stricter in finding
811 comment start. (Bug#14303)
813 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
814 (octave-comment-start-skip): Properly anchored.
816 2013-05-17 Leo Liu <sdl.web@gmail.com>
818 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
819 Clean up when turned off. (Bug#14395)
820 (smie--highlight-matching-block-overlay): No longer buffer-local.
821 (smie-highlight-matching-block): Adjust.
823 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
825 Doc string fix for "nanoseconds" (Bug#14406).
826 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
827 Fix doc string typo that had "nanoseconds" instead of "microseconds".
829 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
831 * calc/calc-units.el (math-extract-units): Preserve powers
834 2013-05-17 Leo Liu <sdl.web@gmail.com>
836 * subr.el (delete-consecutive-dups): New function.
837 * ido.el (ido-set-matches-1): Use it.
838 * progmodes/octave.el (inferior-octave-completion-table): Use it.
839 * ido.el (ido-remove-consecutive-dups): Remove.
841 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
843 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
844 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
845 regexp-opt's `words'.
847 2013-05-16 Leo Liu <sdl.web@gmail.com>
849 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
850 (smie--highlight-matching-block-overlay)
851 (smie--highlight-matching-block-lastpos)
852 (smie--highlight-matching-block-timer): New variables.
853 (smie-highlight-matching-block): New function.
854 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
855 (smie-setup): Conditionally enable smie-blink-matching-open.
857 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
859 Sync with upstream verilog-mode r840.
860 * progmodes/verilog-mode.el (verilog-mode-version)
861 (verilog-mode-release-date): Update.
862 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
863 (verilog-sig-tieoff): Fix string error on
864 AUTORESET with colon define, bug594. Reported by Andrew Hou.
865 (verilog-read-decls): Fix parameters confusing
866 AUTOINST interfaces, bug565. Reported by Leith Johnson.
868 2013-05-16 Eli Zaretskii <eliz@gnu.org>
870 * subr.el (reveal-filename): New function.
872 * loadup.el: Compute Emacs executable versions on MS-Windows,
873 where executables have the .exe extension. Add a hard link
874 emacs-XX.YY.ZZ.exe on MS-Windows.
876 * Makefile.in (XARGS_LIMIT): New variable.
877 (custom-deps, finder-data, autoloads)
878 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
879 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
880 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
881 (compile-main): Limit xargs according to $(XARGS_LIMIT).
883 2013-05-16 Leo Liu <sdl.web@gmail.com>
885 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
886 (octave-mode-menu, octave-mode-map): Remove its uses.
888 2013-05-16 Reto Zimmermann <reto@gnu.org>
890 Sync with upstream vhdl mode v3.34.2.
891 * progmodes/vhdl-mode.el: Use `push' throughout.
892 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
893 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
894 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
895 (vhdl-actual-generic-name): New option to derive actual generic name.
896 (vhdl-port-paste-signals): Replace formal by actual generics.
897 (vhdl-beautify): New name for old group vhdl-align. Update users.
898 (vhdl-beautify-options): New option.
899 (vhdl-last-input-event): New compat alias. Use throughout.
900 (vhdl-goto-line): Replace user level function `goto-line'.
901 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
902 vhdl-fix-statement-buffer.
903 (vhdl-create-mode-menu): Add some entries.
904 (vhdl-align-region-groups): Respect vhdl-beautify-options.
905 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
906 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
907 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
908 to force statements on one line.
909 (vhdl-remove-trailing-spaces-region):
910 New, split from vhdl-remove-trailing-spaces.
911 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
912 Respect vhdl-beautify-options.
913 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
914 (vhdl-update-sensitivity-list): Not add with index if exists without.
915 Not include array index with signal. Ignore keywords in comments.
916 (vhdl-get-visible-signals): Regexp tweaks.
917 (vhdl-template-component-inst): Handle empty library.
918 (vhdl-template-type): Add template for 'enum' type.
919 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
920 Use vhdl-replace-string.
921 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
922 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
923 (vhdl-speedbar-initialize): Update for above name change.
924 (vhdl-compose-wire-components): Fix in handling of constants.
925 (vhdl-error-regexp-emacs-alist): New variable.
926 (vhdl-error-regexp-add-emacs): New function;
927 adds support for new compile.el (Emacs 22+)
928 (vhdl-generate-makefile-1): Change target order for single lib. units.
929 Allow use of absolute file names.
931 2013-05-16 Leo Liu <sdl.web@gmail.com>
933 * simple.el (prog-indent-sexp): Indent enclosing defun.
935 2013-05-15 Glenn Morris <rgm@gnu.org>
937 * cus-start.el (show-trailing-whitespace): Move to editing basics.
938 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
939 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
940 (whitespace-highlight): Move to whitespace group.
942 * comint.el (comint-source):
943 * pcmpl-linux.el (pcmpl-linux):
944 * shell.el (shell-faces):
945 * eshell/esh-opt.el (eshell-opt):
946 * international/ccl.el (ccl): Remove empty custom groups.
948 * completion.el (dynamic-completion-mode):
949 * jit-lock.el (jit-lock-debug-mode):
950 * minibuffer.el (completion-in-region-mode):
951 * type-break.el (type-break-mode-line-message-mode)
952 (type-break-query-mode):
953 * emulation/tpu-edt.el (tpu-edt-mode):
954 * progmodes/subword.el (global-subword-mode, global-superword-mode):
955 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
956 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
958 * term/xterm.el (xterm): Change parent group to terminals.
960 * master.el (master): Remove empty custom group.
961 (master-mode): Remove unused :group argument.
962 * textmodes/refill.el (refill): Remove empty custom group.
963 (refill-mode): Remove unused :group argument.
965 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
967 * cus-dep.el: Provide a feature.
968 (custom-make-dependencies): Ignore dotfiles (dir-locals).
969 Don't mistakenly ignore files whose basenames match a basename
970 from preloaded-file-list (eg cedet/ede/simple.el).
971 Add a fallback method for getting :group.
973 2013-05-15 Juri Linkov <juri@jurta.org>
975 * isearch.el (isearch-char-by-name): Rename from
976 `isearch-insert-char-by-name'. Doc fix.
977 (isearch-forward): Mention `isearch-char-by-name' in
978 the docstring. (Bug#13348)
980 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
981 `exit-minibuffer' instead of
982 `isearch-nonincremental-exit-minibuffer'.
983 (isearch-edit-string): Remove mention of
984 `isearch-nonincremental-exit-minibuffer' from docstring.
985 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
986 (isearch-forward-exit-minibuffer)
987 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
989 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
991 * loadup.el: Just use unversioned DOC.
993 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
994 literals as extending to EOB.
995 (nxml-last-fontify-end): Remove unused variable.
996 (nxml-after-change1): Use with-silent-modifications.
997 (nxml-extend-after-change-region): Simplify.
998 (nxml-extend-after-change-region1): Remove function.
999 (nxml-after-change1): Don't adjust for dependent regions.
1000 (nxml-fontify-matcher): Simplify.
1001 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
1002 (xmltok-add-dependent): Remove function.
1003 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
1004 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
1005 (xmltok-scan-prolog-after-processing-instruction-open): Treat
1006 unclosed <[[, <?, comment, and other literals as extending to EOB.
1007 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
1008 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
1010 (rng-do-some-validation-1): Don't mark dependent regions.
1011 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
1012 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
1013 (nxml-clear-dependent-regions): Remove functions.
1014 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
1015 (nxml-ensure-scan-up-to-date):
1016 Don't clear&mark dependent regions.
1018 2013-05-15 Leo Liu <sdl.web@gmail.com>
1020 * progmodes/octave.el (octave-goto-function-definition):
1021 Improve and fix callers.
1023 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
1026 the setter (bug#14387).
1028 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
1029 surrounding group (bug#14402).
1031 2013-05-14 Juri Linkov <juri@jurta.org>
1033 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
1036 2013-05-14 Glenn Morris <rgm@gnu.org>
1038 * progmodes/f90.el (f90-imenu-generic-expression):
1039 Fix typo in 2013-05-08 change. (Bug#14402)
1041 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1043 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1044 Remove signals for which replies are never received.
1046 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1048 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1049 (gdb-handler-alist, gdb-handler-number): Remove variables.
1050 (gdb-handler-list): New variable.
1051 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1052 (gdb-pending-handler-p, gdb-handle-reply)
1053 (gdb-remove-all-pending-triggers): New functions.
1054 (gdb-discard-unordered-replies): New defcustom.
1055 (gdb-handler): New defstruct.
1056 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
1057 instead of gdb-pending-triggers. Update docstring.
1058 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
1059 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1060 (gdb-var-update-handler, def-gdb-auto-update-trigger)
1061 (def-gdb-auto-update-handler, gdb-get-changed-registers)
1062 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1063 (gdb-frame-handler): Pending triggers are now automatically managed.
1064 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1066 (gdb-input): Automatically handles pending triggers. Update docstring.
1067 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1068 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1070 (gdb-done-or-error): Now use gdb-handle-reply.
1072 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
1074 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1077 2013-05-14 Glenn Morris <rgm@gnu.org>
1079 * subr.el (user-emacs-directory-warning): New option.
1080 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
1082 2013-05-14 Leo Liu <sdl.web@gmail.com>
1084 * progmodes/octave.el (octave-font-lock-keywords): Fix error
1086 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1087 (octave-font-lock-texinfo-comment): Fix invalid search bound
1088 error: wrong side of point.
1090 2013-05-14 Glenn Morris <rgm@gnu.org>
1092 * progmodes/flymake.el (flymake-xml-program): New option.
1093 (flymake-xml-init): Use it.
1095 * term/xterm.el: Provide a feature.
1097 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
1099 2013-05-13 Glenn Morris <rgm@gnu.org>
1101 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1102 Add compat aliases as a hack workaround. (Bug#14384)
1104 2013-05-13 Leo Liu <sdl.web@gmail.com>
1106 * progmodes/octave.el (octave-indent-comment): Fix indentation for
1108 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1110 (octave-comment-start-skip): Include %!.
1111 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1113 2013-05-12 Leo Liu <sdl.web@gmail.com>
1115 * progmodes/octave.el (inferior-octave-startup): Store the value
1116 of __octave_srcdir__ for octave-source-directories.
1117 (inferior-octave-check-process): New function refactored out of
1118 inferior-octave-send-list-and-digest.
1119 (octave-source-directories)
1120 (octave-find-definition-filename-function): New variables.
1121 (octave-source-directories)
1122 (octave-find-definition-default-filename): New functions.
1123 (octave-find-definition): Improve to find functions implemented in C++.
1125 2013-05-12 Glenn Morris <rgm@gnu.org>
1127 * calendar/diary-lib.el (diary-outlook-format-1):
1128 Don't include dayname in the output. (Bug#14349)
1130 2013-05-11 Glenn Morris <rgm@gnu.org>
1132 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1134 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1135 Treat cc-provide like provide.
1137 2013-05-11 Kevin Ryde <user42@zip.com.au>
1139 * cus-dep.el (custom-make-dependencies):
1140 Use generated-autoload-load-name for the sake of files such
1141 such cedet/semantic/bovine/c.el, where the base file name
1142 is not in load-path. (Bug#5277)
1144 2013-05-11 Glenn Morris <rgm@gnu.org>
1146 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1149 2013-05-11 Leo Liu <sdl.web@gmail.com>
1151 * progmodes/octave.el (octave-indent-comment): Improve.
1152 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1153 (octave-eldoc-function-signatures, octave-eldoc-function):
1155 (octave-mode, inferior-octave-mode): Add eldoc support.
1157 2013-05-11 Richard Stallman <rms@gnu.org>
1159 * epa.el (epa-decrypt-file): Take output file name as argument
1160 and read it using `interactive'.
1162 2013-05-11 Leo Liu <sdl.web@gmail.com>
1164 * progmodes/octave.el (octave-beginning-of-line)
1165 (octave-end-of-line): Check before using up-list because it jumps
1166 out of more syntactic contructs since moving to smie.
1167 (octave-indent-comment): New function.
1168 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
1169 (octave-begin-keywords, octave-end-keywords)
1170 (octave-reserved-words, octave-smie-bnf-table)
1171 (octave-smie-rules): Add new keywords from Octave 3.6.4.
1173 2013-05-11 Glenn Morris <rgm@gnu.org>
1175 * faces.el (internal-face-x-get-resource):
1176 * frame.el (ns-display-monitor-attributes-list):
1177 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1179 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1181 * calc/calc-menu.el: Make it loadable in isolation.
1183 * net/eudcb-bbdb.el: Make it loadable without bbdb.
1184 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1185 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1186 (eudc-bbdb-query-internal): Require 'bbdb.
1188 * lpr.el (lpr-headers-switches):
1189 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1191 * progmodes/sql.el (sql-login-params): Fix and improve :type.
1193 * emulation/edt-mapper.el: In batch mode, error rather than hang.
1195 * term.el (term-set-escape-char): Make it idempotent.
1197 2013-05-10 Leo Liu <sdl.web@gmail.com>
1199 * progmodes/octave.el (inferior-octave-completion-table):
1200 No longer a function and all uses changed. Use cache to speed up
1201 completion due to bug#11906.
1202 (octave-beginning-of-defun): Re-write to be more general.
1204 2013-05-10 Glenn Morris <rgm@gnu.org>
1206 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1208 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1210 * comint.el (comint-redirect-send-command-to-process): Use :around
1211 rather than :override for comint-redirect-filter.
1212 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1213 Call it instead of comint-redirect-original-filter-function (which
1214 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
1216 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
1218 * frame.el (display-monitor-attributes-list): Add NS case.
1219 (ns-display-monitor-attributes-list): Declare.
1221 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
1223 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
1225 2013-05-09 Glenn Morris <rgm@gnu.org>
1227 * international/fontset.el (vertical-centering-font-regexp):
1230 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1232 * bookmark.el (bookmark-search-delay):
1233 * cus-start.el (vertical-centering-font-regexp):
1234 * ps-mule.el (ps-mule-font-info-database-default):
1235 * ps-print.el (ps-default-fg, ps-default-bg):
1236 * type-break.el (type-break-good-break-interval):
1237 * whitespace.el (whitespace-indentation-regexp)
1238 (whitespace-space-after-tab-regexp):
1239 * emacs-lisp/testcover.el (testcover-1value-functions)
1240 (testcover-noreturn-functions, testcover-progn-functions)
1241 (testcover-prog1-functions):
1242 * emulation/viper-init.el (viper-emacs-state-cursor-color):
1243 * eshell/em-glob.el (eshell-glob-translate-alist):
1244 * play/tetris.el (tetris-tty-colors):
1245 * progmodes/cpp.el (cpp-face-default-list):
1246 * progmodes/flymake.el (flymake-allowed-file-name-masks):
1247 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1248 (idlwave-help-browser-generic-args):
1249 * progmodes/make-mode.el (makefile-special-targets-list):
1250 * progmodes/python.el (python-shell-virtualenv-path):
1251 * progmodes/verilog-mode.el (verilog-active-low-regexp)
1252 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1253 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1254 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1255 * textmodes/reftex-vars.el (reftex-format-label-function):
1256 * textmodes/remember.el (remember-diary-file): Fix custom types.
1258 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1261 2013-05-09 Leo Liu <sdl.web@gmail.com>
1263 * progmodes/octave.el (inferior-octave-completion-at-point):
1264 Restore file completion. (Bug#14300)
1265 (inferior-octave-startup): Fix incorrect highlighting for the
1268 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * progmodes/ruby-mode.el: First cut at SMIE support.
1271 (ruby-use-smie): New var.
1272 (ruby-smie-grammar): New constant.
1273 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1274 (ruby-smie--forward-token, ruby-smie--backward-token)
1275 (ruby-smie-rules): New functions.
1276 (ruby-mode-variables): Setup SMIE if applicable.
1278 2013-05-08 Eli Zaretskii <eliz@gnu.org>
1280 * simple.el (line-move-visual): Signal beginning/end of buffer
1281 only if vertical-motion moved less than it was requested. Avoids
1282 silly incorrect error messages when there are display strings with
1283 multiple newlines at EOL.
1285 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1288 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1289 (prolog-char-quote-workaround):
1290 * progmodes/cperl-mode.el (cperl-under-as-char):
1291 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1293 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1295 (vhdl-mode-syntax-table-init): Remove.
1297 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1300 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1302 (ld-script-font-lock-keywords):
1303 Change regexps to use things like \_< and \_>.
1305 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1306 Change all regexps to use things like \_< and \_>.
1308 * progmodes/autoconf.el (autoconf-definition-regexp)
1309 (autoconf-font-lock-keywords, autoconf-current-defun-function):
1310 Handle a _ with symbol syntax.
1311 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1313 * progmodes/ada-mode.el (ada-mode-abbrev-table):
1314 Consolidate declaration.
1315 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1317 (ada-create-syntax-table): Remove.
1318 (ada-capitalize-word): Don't mess with the syntax of "_" since it
1319 already has the right syntax nowadays.
1320 (ada-goto-next-word): Don't change the syntax of "_".
1322 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1325 2013-05-08 Sam Steingold <sds@gnu.org>
1327 * thingatpt.el (thing-at-point): Accept optional second argument
1328 NO-PROPERTIES to strip the text properties from the return value.
1329 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1330 to `thing-at-point' instead of stripping the properties ourselves.
1331 Also, when `thing-at-point' fails to find a url, prepend "http://"
1332 to the filename at point on the assumption that the user is
1333 pointing at something like gnu.org/gnu.
1335 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
1337 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1338 * faces.el (crm-separator):
1339 Silence byte-compiler.
1341 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1342 (tool-bar-map): Remove unneeded defvars.
1344 2013-05-08 Leo Liu <sdl.web@gmail.com>
1346 Re-work a fix for bug#10994 based on Le Wang's patch.
1347 * ido.el (ido-remove-consecutive-dups): New helper.
1348 (ido-completing-read): Use it.
1349 (ido-chop): Revert fix for bug#10994.
1351 2013-05-08 Adam Spiers <emacs@adamspiers.org>
1353 * cus-edit.el (custom-save-variables):
1354 Pretty-print long values. (Bug#14187)
1356 2013-05-08 Glenn Morris <rgm@gnu.org>
1358 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1359 (m4-mode-syntax-table): Init in the defvar.
1360 (m4-mode-abbrev-table): Let define-derived-mode define it.
1362 2013-05-08 Tom Tromey <tromey@redhat.com>
1364 * progmodes/m4-mode.el (m4-mode-syntax-table):
1365 Do not treat "_" as word constituent. (Bug#14167)
1367 2013-05-07 Glenn Morris <rgm@gnu.org>
1369 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1370 Remove explicit eshell-isearch-cancel-map.
1372 * progmodes/f90.el (f90-smart-end-names): New option.
1373 (f90-smart-end): Doc fix.
1374 (f90-end-block-optional-name): New constant.
1375 (f90-block-match): Respect f90-smart-end-names.
1377 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * progmodes/octave.el (octave-smie-forward-token): Be more careful
1380 about implicit semi-colons (bug#14218).
1382 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1384 * frame.el (display-monitor-attributes-list)
1385 (frame-monitor-attributes): New functions.
1387 2013-05-06 Leo Liu <sdl.web@gmail.com>
1389 * progmodes/octave.el (octave-syntax-propertize-function): Change
1390 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
1391 (octave-font-lock-keywords): Use octave-operator-regexp.
1392 (octave-completion-at-point): Rename from
1393 octave-completion-at-point-function.
1394 (inferior-octave-directory-tracker): Robustify.
1395 (octave-text-functions): Remove and fix its uses. No such things
1398 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * emacs-lisp/trace.el (trace--display-buffer): New function.
1401 (trace-make-advice): Use it.
1403 2013-05-06 Juri Linkov <juri@jurta.org>
1405 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
1406 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1408 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1409 in the help string. (Bug#12985)
1411 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1413 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
1415 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * progmodes/perl-mode.el: Add support for here documents.
1418 (perl-syntax-propertize-function): Match here-doc markers.
1419 (perl-syntax-propertize-special-constructs): Find their end.
1420 (perl-imenu-generic-expression): Use [:alnum:].
1422 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1423 (advice--add-function): Refresh the advice if already present
1426 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
1428 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
1430 2013-05-06 Glenn Morris <rgm@gnu.org>
1432 * w32-fns.el (w32-charset-info-alist): Declare.
1434 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1435 of its defcustom properties.
1436 (eshell-cmpl-initialize): No need to load pcomplete.
1438 * generic-x.el: No need to require comint when compiling.
1440 * net/eudc-export.el: Make it loadable without bbdb.
1441 (top-level): Use require rather than load-library.
1442 (eudc-create-bbdb-record, eudc-bbdbify-phone)
1443 (eudc-batch-export-records-to-bbdb)
1444 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1447 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1449 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1450 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1451 some tweaks, instead.
1453 2013-05-05 Leo Liu <sdl.web@gmail.com>
1455 * progmodes/octave.el (octave-font-lock-keywords)
1456 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1457 (inferior-octave-send-list-and-digest): Improve error message.
1458 (octave-mode, inferior-octave-mode): Use setq-local.
1459 (octave-help): Set info-lookup-mode.
1461 2013-05-05 Richard Stallman <rms@gnu.org>
1463 * vc/compare-w.el (compare-windows-whitespace):
1464 Treat no-break space as whitespace.
1466 * mail/rmailsum.el (rmail-summary-rmail-update):
1467 Detect empty summary and don't change selected message.
1468 (rmail-summary-goto-msg): Likewise.
1470 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1471 Doc fixes, rename args.
1473 2013-05-05 Alan Mackenzie <acm@muc.de>
1475 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1477 2013-05-05 Juri Linkov <juri@jurta.org>
1479 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1480 to not add the length of the summary segment to the return value.
1483 2013-05-05 Leo Liu <sdl.web@gmail.com>
1485 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1486 (inferior-octave-output-filter): Remove.
1487 (octave-send-region, inferior-octave-startup): Fix callers.
1488 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1489 (octave-binary-file-extensions): New user variable.
1490 (octave-find-definition): Confirm if opening binary files.
1491 (octave-help-file): Use octave-find-definition to get the binary
1493 (octave-help): Adjust for octave-help-file change.
1495 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1497 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1498 Merge the two entries that handle function definitions.
1499 (pascal--syntax-propertize): New const.
1500 (pascal-mode): Use it. Use setq-local.
1502 2013-05-04 Glenn Morris <rgm@gnu.org>
1504 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1505 (diary-from-outlook): Respect diary-from-outlook-function.
1507 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1509 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1510 Move the declaration from C.
1511 (read-minibuffer, eval-minibuffer): Move from C.
1512 (completion-setup-function): Avoid minibuffer-completion-contents.
1514 2013-05-03 Leo Liu <sdl.web@gmail.com>
1516 * progmodes/octave.el (octave-font-lock-keywords): Do not
1517 dehighlight 'end' in comments or strings.
1518 (octave-completing-read, octave-goto-function-definition):
1520 (octave-help-buffer): New user variable.
1521 (octave-help-file, octave-help-function): New button types.
1522 (octave-help): New command and bind it to C-h ;.
1523 (octave-find-definition): New command and bind it to M-.
1524 (user-error): Alias to error if not defined.
1526 2013-05-02 Leo Liu <sdl.web@gmail.com>
1528 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1530 (octave-font-lock-keywords): Include [ and {.
1532 2013-05-02 Leo Liu <sdl.web@gmail.com>
1534 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1535 (inferior-octave): Remove calling comint-mode and return the buffer.
1536 (inferior-octave-startup): Cosmetic changes.
1538 2013-05-02 Leo Liu <sdl.web@gmail.com>
1540 * progmodes/octave.el (octave-syntax-propertize-function):
1541 Include the case when ' is at line beginning. (Bug#14336)
1543 2013-05-02 Glenn Morris <rgm@gnu.org>
1545 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1546 * desktop.el (vc-dir-mode): Just autoload it here.
1548 2013-05-02 Alan Mackenzie <acm@muc.de>
1550 Eliminate variable c-standard-font-lock-fontify-region-function.
1551 * progmodes/cc-mode.el
1552 (c-standard-font-lock-fontify-region-function): Remove.
1553 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1555 2013-05-01 Leo Liu <sdl.web@gmail.com>
1557 * progmodes/octave.el: Compatible with older emacs-24 releases.
1558 (inferior-octave-has-built-in-variables): Remove. Built-in
1559 variables were removed from Octave in 2007.
1560 (inferior-octave-startup): Fix uses.
1561 (comint-line-beginning-position): Remove compatibility code for
1564 2013-05-01 Juri Linkov <juri@jurta.org>
1566 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1568 2013-05-01 Juri Linkov <juri@jurta.org>
1570 * comint.el (comint-previous-matching-input): Don't print message
1571 "History item: %d" when `isearch-mode' is active.
1572 (comint-history-isearch-message): Print message "History item: %d"
1573 when `comint-input-ring-index' is not empty and this function is
1574 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1576 2013-05-01 Leo Liu <sdl.web@gmail.com>
1578 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1579 definitions. Use completion-at-point to insert keywords.
1580 (octave-abbrev-start): Remove.
1581 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1583 2013-04-30 Leo Liu <sdl.web@gmail.com>
1585 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1588 2013-04-30 Alan Mackenzie <acm@muc.de>
1590 Handle arbitrarily long C++ member initialisation lists.
1591 * progmodes/cc-engine.el (c-back-over-member-initializers):
1593 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1594 (most) member init lists.
1596 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1598 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1601 2013-04-30 Leo Liu <sdl.web@gmail.com>
1603 * progmodes/octave.el (octave-variables): Remove. No builtin
1604 variables any more. All converted to functions.
1605 (octave-font-lock-keywords, octave-completion-at-point-function):
1607 (octave-font-lock-texinfo-comment): New user variable.
1608 (octave-texinfo-font-lock-keywords): New variable for texinfo
1610 (octave-function-comment-block): New face.
1611 (octave-font-lock-texinfo-comment): New function.
1612 (octave-mode): Font lock texinfo comment block.
1614 2013-04-29 Leo Liu <sdl.web@gmail.com>
1616 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1617 indexing expression.
1618 (octave-continuation-string): Do not use \.
1619 (inferior-octave-complete-impossible): Remove.
1620 (inferior-octave-completion-table)
1621 (inferior-octave-completion-at-point): Remove its uses.
1622 (inferior-octave-startup): completion_matches was introduced to
1623 Octave in 1996 so safe to assume it.
1624 (octave-function-file-comment): Improve to follow how Octave does it.
1625 (octave-update-function-file-comment): Tweak.
1627 2013-04-29 Leo Liu <sdl.web@gmail.com>
1629 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1630 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1631 (octave-function-file-comment): Fix typo.
1632 (octave-sync-function-file-names): Use read-char-choice.
1634 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1636 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1637 to t for the less important warnings.
1639 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1641 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1643 2013-04-27 Glenn Morris <rgm@gnu.org>
1645 * vc/log-view.el (log-view-current-entry):
1646 Treat "---" separator lines as part of the following rev. (Bug#14169)
1648 2013-04-27 Juri Linkov <juri@jurta.org>
1650 * subr.el (read-number): Doc fix about using it by interactive
1651 code letter `n'. (Bug#14254)
1653 2013-04-27 Juri Linkov <juri@jurta.org>
1655 * desktop.el (desktop-auto-save-timeout): New option.
1656 (desktop-file-checksum): New variable.
1657 (desktop-save): Add optional arg `auto-save' and don't auto-save
1659 (desktop-auto-save-timer): New variable.
1660 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1661 (after-init-hook): Call `desktop-auto-save-set-timer'.
1662 Suggested by Reuben Thomas <rrt@sc3d.org> in
1663 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1665 2013-04-27 Leo Liu <sdl.web@gmail.com>
1667 * progmodes/octave.el (octave-function-file-p)
1668 (octave-skip-comment-forward, octave-function-file-comment)
1669 (octave-update-function-file-comment): New functions.
1670 (octave-mode-map): Bind C-c ; to
1671 octave-update-function-file-comment.
1672 (octave-mode-menu): Add octave-update-function-file-comment.
1673 (octave-mode, inferior-octave-mode): Fix doc-string.
1674 (octave-insert-defun): Conform to Octave's coding convention.
1677 * files.el (basic-save-buffer): Don't let errors in
1678 before-save-hook prevent saving buffer.
1680 2013-04-20 Roland Winkler <winkler@gnu.org>
1682 * faces.el (read-face-name): Use completing-read if arg multiple
1685 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1687 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1688 displayed, move point to after the totals line.
1689 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1692 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1695 Add current dir to the load-path.
1696 (package-generate-autoloads): Don't rely on
1697 autoload-ensure-default-file.
1699 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1701 * textmodes/remember.el (remember-store-in-files): Document that
1702 the file name format is passed to `format-time-string'.
1704 2013-04-26 Leo Liu <sdl.web@gmail.com>
1706 * progmodes/octave.el (octave-sync-function-file-names): New function.
1707 (octave-mode): Use it in before-save-hook.
1709 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1714 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1715 \n and comment, even if it's not an implicit ; (bug#14218).
1717 2013-04-26 Glenn Morris <rgm@gnu.org>
1719 * subr.el (read-number): Once more use `read' rather than
1720 `string-to-number', to trap non-numeric input. (Bug#14254)
1722 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1724 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1725 Use `syntax-multiline' text property consistently instead of
1726 `font-lock-multiline'. (Bug#14237)
1728 2013-04-26 Glenn Morris <rgm@gnu.org>
1730 * emacs-lisp/shadow.el (list-load-path-shadows):
1731 No longer necessary to check for duplicate simple.el, since
1732 2012-07-07 change to init_lread to not include installation lisp
1733 directories in load-path when running uninstalled. (Bug#14270)
1735 2013-04-26 Leo Liu <sdl.web@gmail.com>
1737 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1738 (octave-mode, inferior-octave-mode): Use setq-local.
1739 (octave-not-in-string-or-comment-p): Rename to
1740 octave-in-string-or-comment-p.
1741 (octave-in-comment-p, octave-in-string-p)
1742 (octave-in-string-or-comment-p): Replace defsubst with defun.
1744 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1746 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1748 2013-04-25 Bastien Guerry <bzg@gnu.org>
1750 * textmodes/remember.el (remember-data-directory)
1751 (remember-directory-file-name-format): Fix custom types.
1753 2013-04-25 Leo Liu <sdl.web@gmail.com>
1755 * progmodes/octave.el (octave-completion-at-point-function):
1756 Make use of inferior octave process.
1757 (octave-initialize-completions): Remove.
1758 (inferior-octave-completion-table): New function.
1759 (inferior-octave-completion-at-point): Use it.
1760 (octave-completion-alist): Remove.
1762 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1765 (opascal-mode-syntax-table): New var.
1766 (opascal-literal-kind, opascal-is-literal-end)
1767 (opascal-literal-token-at): Rewrite.
1768 (opascal--literal-start-re, opascal-font-lock-keywords)
1769 (opascal--syntax-propertize): New constants.
1770 (opascal-font-lock-defaults): Adjust.
1771 (opascal-mode): Use them. Set comment-<foo> variables as well.
1772 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1773 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1774 (delphi-other-face, opascal-other-face): Remove face variables.
1775 (opascal-save-state): Remove macro.
1776 (opascal-fontifying-progress-step): Remove constant.
1777 (opascal--ignore-changes): Remove var.
1778 (opascal-set-token-property, opascal-parse-next-literal)
1779 (opascal-is-stable-literal, opascal-complete-literal)
1780 (opascal-is-literal-start, opascal-face-of)
1781 (opascal-parse-region, opascal-parse-region-until-stable)
1782 (opascal-fontify-region, opascal-after-change)
1783 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1784 (opascal-debug-parse-region, opascal-debug-parse-window)
1785 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1786 (opascal-debug-fontify-buffer): Remove.
1787 (opascal-debug-mode-map): Adjust accordingly.
1789 2013-04-25 Leo Liu <sdl.web@gmail.com>
1791 Merge octave-mod.el and octave-inf.el into octave.el with some
1793 * progmodes/octave.el: New file renamed from octave-mod.el.
1794 * progmodes/octave-inf.el: Merged into octave.el.
1795 * progmodes/octave-mod.el: Renamed to octave.el.
1797 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1799 * textmodes/reftex-vars.el
1800 (reftex-label-ignored-macros-and-environments): New defcustom.
1802 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1804 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1806 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1807 (smie-indent-keyword): Improve the check to ensure that the next
1808 comment is really on the same line.
1809 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1811 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1812 semi-colons if the line is not otherwise empty (bug#14218).
1814 2013-04-25 Glenn Morris <rgm@gnu.org>
1816 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1818 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * progmodes/opascal.el (opascal-set-token-property): Rename from
1821 opascal-set-text-properties and only set `token' (bug#14134).
1822 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1823 (opascal-literal-text-properties): Remove.
1824 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1827 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1829 * textmodes/remember.el (remember-handler-functions): Add an
1830 option for a new handler `remember-store-in-files'.
1831 (remember-data-directory, remember-directory-file-name-format):
1833 (remember-store-in-files): New function to store remember notes
1834 as separate files within a directory.
1836 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1838 * progmodes/compile.el (compilation-next-error-function):
1839 Pass "formats" to compilation-find-file (bug#11777).
1841 2013-04-24 Glenn Morris <rgm@gnu.org>
1843 * vc/vc-bzr.el (vc-bzr-print-log):
1844 * vc/vc-hg.el (vc-hg-print-log):
1845 * vc/vc-svn.el (vc-svn-print-log):
1846 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1848 * vc/vc-bzr.el (vc-bzr-print-log):
1849 * vc/vc-cvs.el (vc-cvs-print-log):
1850 * vc/vc-git.el (vc-git-print-log):
1851 * vc/vc-hg.el (vc-hg-print-log):
1852 * vc/vc-mtn.el (vc-mtn-print-log):
1853 * vc/vc-rcs.el (vc-rcs-print-log):
1854 * vc/vc-sccs.el (vc-sccs-print-log):
1855 * vc/vc-svn.el (vc-svn-print-log):
1856 * vc/vc.el (vc-print-log-internal): Doc fixes.
1858 2013-04-23 Glenn Morris <rgm@gnu.org>
1860 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1861 Remove venerable code attempting to avoid substitute-command-keys.
1863 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1865 * textmodes/reftex-vars.el (reftex-label-regexps):
1866 Call `reftex-compile-variables' after changes to this variable.
1868 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1870 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1871 Use lexical-binding.
1872 (jit-lock-force-redisplay): Use markers, check buffer's continued
1873 existence and beware narrowed buffers.
1874 (jit-lock-fontify-now): Adjust call accordingly.
1876 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1879 to avoid misleading the user.
1881 2013-04-22 Leo Liu <sdl.web@gmail.com>
1883 * info-look.el: Prefer latex2e.info. (Bug#14240)
1885 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1887 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1889 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1890 * net/tramp.el (tramp-call-process): ... here
1891 (tramp-set-completion-function, tramp-parse-putty):
1892 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1893 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1894 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1895 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1896 (tramp-call-local-coding-command): Use `tramp-call-process'
1897 instead of `tramp-compat-call-process'.
1899 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1900 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1901 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1902 (tramp-find-inline-compress): Improve traces.
1903 (tramp-maybe-send-script): Check for Perl binary.
1904 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1906 2013-04-22 Daiki Ueno <ueno@gnu.org>
1908 * epg.el (epg-context-pinentry-mode): New function.
1909 (epg-context-set-pinentry-mode): New function.
1910 (epg--start): Pass --pinentry-mode option to gpg command.
1912 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1914 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
1915 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1916 `completion-at-point'. (Bug#13774)
1918 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1919 default key binding for `describe-distribution' has been moved to
1920 `C-h C-o'. (Bug#13970)
1922 2013-04-21 Glenn Morris <rgm@gnu.org>
1924 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1926 (vc-print-log): Clarify interactive prompt.
1928 2013-04-20 Glenn Morris <rgm@gnu.org>
1930 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1931 No longer include timestamp etc information.
1933 2013-04-20 Roland Winkler <winkler@gnu.org>
1935 * faces.el (read-face-name): Bug fix, return just one face if arg
1936 multiple is nil. (Bug#14209)
1938 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1941 (remove-function): Autoload.
1943 * comint.el (comint-redirect-original-filter-function): Remove.
1944 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1945 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1946 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1947 * progmodes/prolog.el (prolog-consult-compile):
1948 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1949 Use add/remove-function instead.
1950 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1951 (gud-tooltip-process-output, gud-tooltip-tips):
1952 Use add/remove-function instead.
1953 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1954 (scheme-interaction-mode, exit-scheme-interaction-mode):
1955 Use add/remove-function instead.
1957 * vc/vc-dispatcher.el: Use lexical-binding.
1958 (vc--process-sentinel): Rename from vc-process-sentinel.
1959 Change last arg to be the code to run. Don't use vc-previous-sentinel
1960 and vc-sentinel-commands any more.
1961 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1962 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1964 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1966 * progmodes/sh-script.el (sh-imenu-generic-expression):
1967 Handle function names with a single character. (Bug#14111)
1969 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1971 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1972 for subroutines defined in an eval (bug#14182).
1974 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1976 * bookmark.el (bookmark-completing-read): Improve handling of empty
1979 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1983 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1985 New faster Imenu implementation (bug#14058).
1986 * progmodes/python.el:
1987 (python-imenu-prev-index-position):
1988 (python-imenu-format-item-label-function)
1989 (python-imenu-format-parent-item-label-function)
1990 (python-imenu-format-parent-item-jump-label-function):
1992 (python-imenu-format-item-label)
1993 (python-imenu-format-parent-item-label)
1994 (python-imenu-format-parent-item-jump-label)
1995 (python-imenu--put-parent, python-imenu--build-tree)
1996 (python-imenu-create-index, python-imenu-create-flat-index)
1997 (python-util-popn): New functions.
1998 (python-mode): Set imenu-create-index-function to
1999 python-imenu-create-index.
2001 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2003 * winner.el (winner-active-region): Use region-active-p, activate-mark
2004 and deactivate-mark (bug#14225).
2006 * simple.el (deactivate-mark): Don't inline it.
2008 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
2010 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
2012 2013-04-18 Tassilo Horn <tsdh@gnu.org>
2014 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
2015 file extensions from the archive-mode entry in order to prefer
2016 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
2018 2013-04-18 Leo Liu <sdl.web@gmail.com>
2020 * bindings.el (help-event-list): Add ?\?.
2022 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
2024 * subr.el (with-wrapper-hook): Declare obsolete.
2025 * simple.el (filter-buffer-substring-function): New hook.
2026 (filter-buffer-substring): Use it.
2027 (filter-buffer-substring-functions): Mark obsolete.
2028 * minibuffer.el (completion-in-region-function): New hook.
2029 (completion-in-region): Use it.
2030 (completion-in-region-functions): Mark obsolete.
2031 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
2032 * abbrev.el (abbrev-expand-function): New hook.
2033 (expand-abbrev): Use it.
2034 (abbrev-expand-functions): Mark obsolete.
2035 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
2038 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2040 * progmodes/python.el (python-nav--syntactically): Fix cornercases
2041 and do not care about match data.
2043 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2045 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2046 completion tables when completing error conditions and
2047 `declare' arguments.
2048 (lisp-complete-symbol, field-complete): Mark as obsolete.
2049 (check-parens): Unmatched parens are user errors.
2050 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2052 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2054 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2055 command changed buffer (ie. `flyspell-pre-buffer' is not current
2056 buffer), which prevents making decisions based on invalid value of
2057 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
2058 cause an error when `flyspell-pre-point' was nil after switching
2060 (flyspell-post-command-hook): No longer needs to change buffers when
2061 checking pre-word. While at it remove unnecessary progn.
2063 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2065 * textmodes/ispell.el (ispell-add-per-file-word-list):
2066 Fix `flyspell-correct-word-before-point' error when accepting
2067 words and `coment-padding' is an integer by using
2068 `comment-normalize-vars' (Bug #14214).
2070 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2072 New defun movement commands.
2073 * progmodes/python.el (python-nav--syntactically)
2074 (python-nav--forward-defun, python-nav-backward-defun)
2075 (python-nav-forward-defun): New functions.
2077 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2079 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2080 (python-syntax-context): Use named compiler-macro for backwards
2081 compatibility with Emacs 24.x.
2083 2013-04-17 Leo Liu <sdl.web@gmail.com>
2085 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2086 octave-hide-process-buffer.
2088 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2093 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
2095 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2096 Fix adjustment of offset when receiving incomplete responses from GDB
2099 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2101 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2102 python-mode-abbrev-table.
2103 (python-skeleton-define): Adjust accordingly.
2104 (python-mode-abbrev-table): New table that inherits from it so that
2105 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2107 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2108 (abbrev-symbol): Use it.
2109 (abbrev--before-point): Use it since we already handle inheritance.
2111 2013-04-16 Leo Liu <sdl.web@gmail.com>
2113 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2114 binding to info-lookup-symbol.
2116 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
2118 * minibuffer.el (completion--twq-all):
2119 * term/ns-win.el (ns-initialize-window-system):
2120 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2122 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2127 * doc-view.el (doc-view-start-process): Handle url-handler directories.
2129 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
2131 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2132 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2134 (ruby-end-of-defun): Remove the unused arg, change the docstring
2135 to reflect that this function is only used as the value of
2136 `end-of-defun-function'.
2137 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2138 to reflect an earlier change that beginning/end-of-defun functions
2139 jump between methods in a class definition, as well as top-level
2142 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2144 * minibuffer.el (minibuffer-complete): Don't just scroll
2145 a *Completions* that's been iconified.
2146 (minibuffer-force-complete): Make sure repetitions do cycle when going
2147 through completion-in-region -> minibuffer-complete.
2149 2013-04-15 Alan Mackenzie <acm@muc.de>
2151 Correct the placement of c-cpp-delimiters when there're #s not at
2154 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2155 place a submatch around the #.
2156 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2157 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
2160 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * emacs-lisp/nadvice.el: Properly test names when adding advice.
2163 (advice--member-p): New arg `name'.
2164 (advice--add-function, advice-member-p): Use it (bug#14202).
2166 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
2168 Reformulate java imenu-generic-expression.
2169 The old expression contained ill formed regexps.
2171 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2172 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2173 (cc-imenu-java-method-arg-regexp): New defconsts.
2174 (cc-imenu-java-build-type-args-regex): New defun.
2175 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2176 handling of spaces in the regexp.
2178 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2180 * textmodes/ispell.el (ispell-command-loop): Remove
2181 flyspell highlight of a word when ispell accepts it (bug #14178).
2183 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
2185 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2186 uses code from the previous `ange-ftp-run-real-handler'.
2187 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2188 only in case that function exist. This is needed for proper
2191 2013-04-15 Tassilo Horn <tsdh@gnu.org>
2193 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2195 * textmodes/reftex.el (reftex-compile-variables): Use it.
2197 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * files.el (normal-mode): Only use default major-mode if no other mode
2202 * emacs-lisp/trace.el (trace-values): New function.
2204 * files.el: Allow : in local variables (bug#14089).
2205 (hack-local-variable-regexp): New var.
2206 (hack-local-variables-prop-line, hack-local-variables): Use it.
2208 2013-04-13 Roland Winkler <winkler@gnu.org>
2210 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
2211 data before it gets modified by bibtex-beginning-of-entry.
2213 2013-04-13 Roland Winkler <winkler@gnu.org>
2215 * textmodes/bibtex.el (bibtex-url): Doc fix.
2217 2013-04-13 Roland Winkler <winkler@gnu.org>
2219 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2220 does not visit a BibTeX file, exclude it from the list of buffers
2221 returned by bibtex-initialize.
2223 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
2225 * window.el (split-window): Remove interactive form, since as a
2226 command this function is a special case of split-window-below.
2229 2013-04-12 Roland Winkler <winkler@gnu.org>
2231 * faces.el (read-face-name): Do not override value of arg default.
2232 Allow single faces and strings as default values. Remove those
2233 elements from return value that are not faces.
2234 (describe-face): Simplify.
2235 (face-at-point): New optional args thing and multiple so that this
2236 function can provide the same functionality previously provided by
2238 (make-face-bold, make-face-unbold, make-face-italic)
2239 (make-face-unitalic, make-face-bold-italic, invert-face)
2240 (modify-face, read-face-and-attribute): Use face-at-point.
2242 * cus-edit.el (customize-face, customize-face-other-window)
2243 * cus-theme.el (custom-theme-add-face)
2244 * face-remap.el (buffer-face-set)
2245 * facemenu.el (facemenu-set-face): Use face-at-point.
2247 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
2249 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2251 2013-04-10 Tassilo Horn <tsdh@gnu.org>
2253 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2254 off leading { and trailing } from field values.
2256 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2258 * emacs-lisp/timer.el (timer--check): New function.
2259 (timer--time, timer-set-function, timer-event-handler): Use it.
2260 (timer-set-idle-time): Simplify.
2261 (timer--activate): CSE.
2262 (timer-event-handler): Give more info in error message.
2263 (internal-timer-start-idle): New function, moved from C.
2265 * mpc.el (mpc-proc): Add `restart' argument.
2266 (mpc-proc-cmd): Use it.
2267 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2268 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2271 2013-04-10 Masatake YAMATO <yamato@redhat.com>
2273 * progmodes/sh-script.el: Implement `sh-mode' own
2274 `add-log-current-defun-function' (bug#14112).
2275 (sh-current-defun-name): New function.
2276 (sh-mode): Use the function.
2278 2013-04-09 Bastien Guerry <bzg@gnu.org>
2280 * simple.el (choose-completion-string): Fix docstring (bug#14163).
2282 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2284 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2286 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2289 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
2291 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2294 2013-04-07 Leo Liu <sdl.web@gmail.com>
2296 * pcmpl-x.el: New file.
2298 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
2300 Do not set x-display-name until X connection is established.
2301 This is needed to prevent from weird situation described at
2302 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2303 * frame.el (make-frame): Set x-display-name after call to
2304 window system initialization function, not before.
2305 * term/x-win.el (x-initialize-window-system): Add optional
2306 display argument and use it.
2307 * term/w32-win.el (w32-initialize-window-system):
2308 * term/ns-win.el (ns-initialize-window-system):
2309 * term/pc-win.el (msdos-initialize-window-system):
2310 Add compatible optional display argument.
2312 2013-04-06 Eli Zaretskii <eliz@gnu.org>
2314 * files.el (normal-backup-enable-predicate): On MS-Windows and
2315 MS-DOS compare truenames of temporary-file-directory and of the
2316 file, so that 8+3 aliases (usually found in $TEMP on Windows)
2317 don't fail comparison by compare-strings. Also, compare file
2318 names case-insensitively on MS-Windows and MS-DOS.
2320 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2323 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2325 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
2327 * whitespace.el (whitespace-color-on, whitespace-color-off):
2328 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2330 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
2332 * ispell.el (ispell-set-spellchecker-params):
2333 Really set `ispell-args' for all equivs.
2335 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
2337 * ido.el (ido-completions): Use extra elements of ido-decorations
2339 (ido-decorations): Update docstring.
2341 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
2343 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2344 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2345 nil during initialization, in order not to miss changes since the
2346 file was opened. (Bug#14140)
2348 2013-04-05 Leo Liu <sdl.web@gmail.com>
2350 * kmacro.el (kmacro-call-macro): Fix bug#14135.
2352 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
2354 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2356 2013-04-04 Glenn Morris <rgm@gnu.org>
2358 * electric.el (electric-pair-inhibit-predicate): Add :version.
2360 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2362 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2363 when a package is required several times (bug#14082).
2365 2013-04-04 Roland Winkler <winkler@gnu.org>
2367 * faces.el (read-face-name): Behave as promised by the docstring.
2368 Assume that arg default is a list of faces.
2369 (describe-face): Call read-face-name with list of default faces.
2371 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2373 * bookmark.el: Fix deletion of bookmarks (bug#13972).
2374 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2375 (bookmark-bmenu-execute-deletions): Only skip first line if it's
2377 (bookmark-exit-hook-internal): Save even if list is empty.
2379 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
2381 * emacs-lisp/package.el (package-pinned-packages): New var.
2382 (package--add-to-archive-contents): Obey it (bug#14118).
2384 2013-04-03 Alan Mackenzie <acm@muc.de>
2386 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
2387 Also adapt to the new values of element 7 of a parse state.
2389 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2390 parameter `not-in-delimiter'. Handle being inside comment opener.
2391 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2392 character in case we're typing a '*' after a '/'.
2393 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2394 instead by passing the parameter to c-state-pp-to-literal.
2396 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2397 for elt. 7 of a parse state.
2399 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
2401 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2402 * international/latin1-disp.el, international/mule-util.el:
2403 * language/cyril-util.el, language/european.el, language/ind-util.el:
2404 * language/lao-util.el, language/thai.el, language/tibet-util.el:
2405 * language/tibetan.el, language/viet-util.el:
2406 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2408 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2411 (electric-pair-post-self-insert-function): Use it.
2412 (electric-pair-default-inhibit): New function, extracted from
2413 electric-pair-post-self-insert-function.
2415 2013-03-31 Roland Winkler <winkler@gnu.org>
2417 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2419 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2423 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
2425 Un-indent after "pass" and "return" statements (Bug#13888)
2426 * progmodes/python.el (python-indent-block-enders): New var.
2427 (python-indent-calculate-indentation): Use it.
2429 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
2431 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2432 defun. Defining it as defalias could introduce too eager
2433 byte-compiler optimization. (Bug#14030)
2435 2013-03-30 Chong Yidong <cyd@gnu.org>
2437 * iswitchb.el (iswitchb-read-buffer): Fix typo.
2439 2013-03-30 Leo Liu <sdl.web@gmail.com>
2441 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2442 (kmacro-execute-from-register): Pass the keyboard macro to
2443 kmacro-call-macro or repeating won't work correctly.
2445 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
2447 * progmodes/subword.el: Back to using `forward-symbol'.
2449 * subr.el (forward-whitespace, forward-symbol)
2450 (forward-same-syntax): Move from thingatpt.el.
2452 2013-03-29 Leo Liu <sdl.web@gmail.com>
2454 * kmacro.el (kmacro-to-register): New command.
2455 (kmacro-execute-from-register): New function.
2456 (kmacro-keymap): Bind to 'x'. (Bug#14071)
2458 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * mpc.el: Use defvar-local and setq-local.
2461 (mpc--proc-connect): Connection failures are not bugs.
2462 (mpc-mode-map): `follow-link' only applies to the buffer's content.
2463 (mpc-volume-map): Bind to the up-events.
2465 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
2467 * progmodes/subword.el (superword-mode): Use `forward-sexp'
2468 instead of `forward-symbol'.
2470 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2472 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2473 (edebug--recursive-edit): Use it.
2474 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2475 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2477 2013-03-28 Leo Liu <sdl.web@gmail.com>
2479 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2481 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2483 * facemenu.el (list-colors-callback): New defvar.
2484 (list-colors-redisplay): New function.
2485 (list-colors-display): Install list-colors-redisplay as the
2486 revert-buffer-function. (Bug#14063)
2488 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2491 and suffixes don't overlap (bug#14061).
2493 * case-table.el: Use lexical-binding.
2494 (case-table-get-table): New function.
2495 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2497 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2499 * progmodes/subword.el: Add `superword-mode' to do word motion
2500 over symbol_words (parallels and leverages `subword-mode' which
2501 does word motion inside MixedCaseWords).
2503 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2505 * eshell/em-unix.el: Move su and sudo to...
2506 * eshell/em-tramp.el: ...Eshell tramp module.
2508 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2511 Change return value to be a sexp. Delay `get-buffer' to after
2512 restoring the desktop (bug#13951).
2514 2013-03-26 Leo Liu <sdl.web@gmail.com>
2516 * register.el: Move semantic tag handling back to
2517 cedet/semantic/senator.el. (Bug#14052)
2519 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2521 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2522 into the prompt either (bug#13963).
2524 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2527 part of "(error-foo)".
2529 2013-03-24 Juri Linkov <juri@jurta.org>
2531 * replace.el (list-matching-lines-prefix-face): New defcustom.
2532 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2533 `occur-engine' if `face-differs-from-default-p' returns t.
2534 (occur-engine): Add `,' inside backquote construct to evaluate
2535 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2536 Pass `prefix-face' to the functions `occur-context-lines' and
2537 `occur-engine-add-prefix'.
2538 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2539 `prefix-face' and propertize the prefix with `prefix-face'.
2542 2013-03-24 Leo Liu <sdl.web@gmail.com>
2544 * nxml/rng-valid.el (rng-validate-while-idle)
2545 (rng-validate-quick-while-idle): Guard against deleted buffer.
2548 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2549 is the last entry in kill-buffer-hook.
2551 * files.el (kill-buffer-hook): Doc fix.
2553 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2555 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2558 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2560 2013-03-23 Leo Liu <sdl.web@gmail.com>
2562 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2565 * nxml/rng-valid.el (rng-validate-mode)
2566 (rng-after-change-function, rng-do-some-validation):
2567 * nxml/rng-maint.el (rng-validate-buffer):
2568 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2569 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2570 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2571 (nxml-extend-after-change-region): Use with-silent-modifications.
2573 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2576 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2577 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2578 timer-idle-list. (Bug#13999)
2580 2013-03-23 Juri Linkov <juri@jurta.org>
2582 * info.el (info-index-match): New face.
2583 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2584 main pattern and add text properties with the new face to matches
2585 in index entries relative to the beginning of the index entry.
2588 2013-03-21 Eric Ludlam <zappo@gnu.org>
2590 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2591 Inhibit read only while inserting objects.
2593 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2595 * progmodes/cfengine.el: Update docs to mention
2596 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2597 symbol motion. Remove "_" from the word syntax.
2599 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2601 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2602 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2604 2013-03-20 Juri Linkov <juri@jurta.org>
2606 * info.el (Info-next-reference-or-link)
2607 (Info-prev-reference-or-link): New functions.
2608 (Info-next-reference, Info-prev-reference): Use them.
2609 (Info-try-follow-nearest-node): Handle footnote navigation.
2610 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2612 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2614 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2615 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2617 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2619 Suppress unnecessary non-ASCII chatter during build process.
2620 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2621 (batch-skkdic-convert): Suppress most of the chatter.
2622 It's not needed so much now that machines are faster,
2623 and its non-ASCII component was confusing; see Dmitry Gutov in
2624 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2626 2013-03-20 Leo Liu <sdl.web@gmail.com>
2628 * ido.el (ido-chop): Fix bug#10994.
2630 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2632 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2634 (whitespace-color-on, whitespace-color-off):
2635 Use `font-lock-fontify-buffer' (Bug#13817).
2637 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2639 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2640 remapping in mode-line.
2641 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2643 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2645 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2646 value for `whitespace-line' face (Bug#13875).
2647 (whitespace-font-lock-keywords): Change description.
2648 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2649 the constructed keywords instead.
2650 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2652 2013-03-19 Leo Liu <sdl.web@gmail.com>
2654 * progmodes/compile.el (compilation-display-error): New command.
2655 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2658 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2660 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2662 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2664 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2666 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2668 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2670 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2671 * net/tramp-gvfs.el (top):
2672 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2673 (tramp-handle-shell-command): Use it.
2674 (tramp-dissect-file-name): Raise an error when hostname is a
2675 method name, and neither method nor user is specified.
2677 * net/trampver.el: Update release number.
2679 2013-03-18 Leo Liu <sdl.web@gmail.com>
2681 Make sure eldoc can be turned off properly.
2682 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2684 (eldoc-display-message-p): Revert last change.
2685 (eldoc-display-message-no-interference-p)
2686 (eldoc-print-current-symbol-info): Tweak.
2688 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2690 * doc-view.el (doc-view-new-window-function): Check the new window
2691 overlay's display property instead the char property of the
2692 buffer's first char. Use `with-selected-window' instead of
2693 `save-window-excursion' with `select-window'.
2694 (doc-view-document->bitmap): Check the current doc-view overlay's
2695 display property instead the char property of the buffer's first char.
2697 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2699 Automate the build of ja-dic.el (Bug#13984).
2700 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2701 from the input, rather than assume that it's been done for us by the
2702 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2703 the current date into a ja-dic.el comment, as that complicates
2706 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2708 * whitespace.el: Fix double evaluation.
2709 (whitespace-space, whitespace-hspace, whitespace-tab)
2710 (whitespace-newline, whitespace-trailing, whitespace-line)
2711 (whitespace-space-before-tab, whitespace-indentation)
2712 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2714 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2715 (whitespace-color-on): Use a single font-lock-add-keywords call.
2716 Fix double-evaluation of face variables.
2718 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2720 * net/tramp-adb.el (tramp-adb-parse-device-names):
2721 Use `start-process' instead of `call-process'. Otherwise, the
2722 function might be blocked under MS Windows. (Bug#13299)
2724 2013-03-17 Leo Liu <sdl.web@gmail.com>
2726 Extend eldoc to display info in the mode-line. (Bug#13978)
2727 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2728 (eldoc-mode-line-string): New variable.
2729 (eldoc-minibuffer-message): New function.
2730 (eldoc-message-function): New variable.
2731 (eldoc-message): Use it.
2732 (eldoc-display-message-p)
2733 (eldoc-display-message-no-interference-p):
2734 Support eldoc-post-insert-mode.
2736 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2737 (eval-expression): Run it.
2739 2013-03-17 Roland Winkler <winkler@gnu.org>
2741 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2742 strings in the list of return values.
2744 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2746 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2747 radix before checking for HMS forms.
2749 2013-03-16 Leo Liu <sdl.web@gmail.com>
2751 * progmodes/scheme.el: Add indentation and font-locking for λ.
2754 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2757 token before point (bug#13942).
2759 2013-03-16 Leo Liu <sdl.web@gmail.com>
2761 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2763 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2765 * startup.el (command-line-normalize-file-name): Fix handling of
2766 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2767 <xfq.free@gmail.com> in
2768 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2770 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2772 Sync with Tramp 2.2.7.
2774 * net/trampver.el: Update release number.
2776 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2778 * doc-view.el Fix bug#13887.
2779 (doc-view-insert-image): Don't modify overlay associated to
2780 non-live windows, and implement horizontal centering of image in
2781 case it's smaller than the window.
2782 (doc-view-new-window-function): Force redisplay of new windows on
2785 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2787 * saveplace.el (save-place-alist-to-file): Don't sort
2788 `save-place-alist', just pretty-print it (bug#13882).
2790 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2792 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2793 whether `default-file-name-coding-system' is bound. It isn't in
2796 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2798 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2799 backquotes for `obsolete' (bug#13929).
2801 * international/mule.el (find-auto-coding): Include file name in
2802 obsolescence warning (bug#13922).
2804 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2806 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2807 for CFEngine 3-specific indentation.
2808 (cfengine3-indent-line): Use it. Fix up category regex.
2809 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2811 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * type-break.el (type-break-file-name):
2814 * textmodes/remember.el (remember-data-file):
2815 * strokes.el (strokes-file):
2816 * shadowfile.el (shadow-initialize):
2817 * saveplace.el (save-place-file):
2818 * ps-bdf.el (bdf-cache-file):
2819 * progmodes/idlwave.el (idlwave-config-directory):
2820 * net/quickurl.el (quickurl-url-file):
2821 * international/kkc.el (kkc-init-file-name):
2822 * ido.el (ido-save-directory-list-file):
2823 * emulation/viper.el (viper-custom-file-name):
2824 * emulation/vip.el (vip-startup-file):
2825 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2826 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2828 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2830 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2831 * language/thai-word.el: Switch to UTF-8.
2833 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2835 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2837 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2839 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2840 Use with-current-buffer and don't move point.
2841 (net-utils-run-simple): Remove useless code.
2842 (net-utils-remove-ctl-m): Remove unused custom.
2844 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2846 * international/characters.el (glyphless-set-char-table-range): New fun.
2847 (update-glyphless-char-display): Use it (bug#13744).
2849 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2851 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2852 namespaces in the syntax, indent closer for hanging brace
2853 correctly, allow single-quote delimited 'strings', and make
2854 `cfengine3-mode' the default.
2856 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2858 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2859 Use lexical-binding. Fix up docstring according to conventions.
2860 (gdbmi-debug-mode): New var.
2861 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2862 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2863 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2864 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2865 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2866 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2867 (gdbmi-bnf-incomplete-record-result): New functions.
2868 (gdb-car<): Remove function.
2869 (gdbmi-record-list): Remove variable.
2870 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2871 (gdbmi-bnf-result-state-configs): New const.
2872 (gud-gdbmi-marker-filter): Rewrite.
2873 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2874 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2875 Add `token' argument.
2876 (gdb-done, gdb-error): New functions.
2877 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2879 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * term/xterm.el (xterm--report-background-handler): Don't burp
2883 (xterm--version-handler): Extract from terminal-init-xterm.
2884 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2885 Allow multiple handlers.
2886 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2888 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2889 (xterm--report-background-handler, xterm--query): New functions.
2890 (terminal-init-xterm): Use them.
2892 2013-03-11 Michael R. Mauger <michael@mauger.com>
2894 * progmodes/sql.el Version 3.2
2895 Please note that my address changed to <michael@mauger.com>;
2896 the <mmaug@yahoo.com> address remains active.
2897 (sql-connection-alist): Updates documentation to fix bug#13715.
2898 (sql-connect): Handle missing `sql-connection-alist' correctly.
2899 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2900 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2902 (sql-default-value): New function.
2903 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2904 values were not used.
2905 (sql-rename-buffer): Make sure alternate buffer name has no text
2907 (sql-input-sender, sql-execute-feature): Fetch variable with
2908 `buffer-local-value' rather than `with-current-buffer'.
2909 (sql-*): Use #' function syntax consistently.
2910 (sql-*): Use message/error/user-error consistently.
2912 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2914 * xt-mouse.el (xterm-mouse-event-read): Remove.
2915 (xterm-mouse--read-event-sequence-1000)
2916 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2918 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2920 * term/xterm.el (xterm-function-map): Support format used with
2921 formatOtherKeys=1 (bug#13839).
2923 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2924 (with-no-warnings): Use `declare'.
2926 * whitespace.el (whitespace-enable-predicate): New variable.
2927 (whitespace-enable-predicate): Use it.
2929 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2930 (comint-output-filter, comint-update-fence):
2931 Use with-silent-modifications.
2933 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2935 * replace.el (occur-read-regexp-defaults-function): New var.
2936 (occur-read-regexp-defaults): New defun.
2937 (occur-read-primary-args): Propagate above change (bug#13892).
2939 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2941 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2943 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2945 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2947 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2948 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2949 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2951 (tramp-gvfs-file-name-handler-alist) [directory-files]
2952 [directory-files-and-attributes, file-exists-p, file-modes]:
2953 Use Tramp default handler.
2954 [file-acl, file-selinux-context, process-file, set-file-acl]:
2955 [set-file-modes, set-file-selinux-context, shell-command]:
2956 [start-file-process]: Remove handler.
2957 [verify-visited-file-modtime]: New handler.
2958 (tramp-gvfs-dbus-string-to-byte-array)
2959 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2960 calls of `dbus-string-to-byte-array' and
2961 `tramp-gvfs-dbus-byte-array-to-string'.
2962 (tramp-gvfs-handle-copy-file)
2963 (tramp-gvfs-handle-delete-directory)
2964 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2965 (tramp-gvfs-handle-file-directory-p)
2966 (tramp-gvfs-handle-file-executable-p)
2967 (tramp-gvfs-handle-file-name-all-completions)
2968 (tramp-gvfs-handle-file-readable-p)
2969 (tramp-gvfs-handle-file-writable-p)
2970 (tramp-gvfs-handle-insert-directory)
2971 (tramp-gvfs-handle-insert-file-contents)
2972 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2973 (tramp-gvfs-handle-set-visited-file-modtime)
2974 (tramp-gvfs-handle-write-region): Rewrite.
2975 (tramp-gvfs-handle-file-acl)
2976 (tramp-gvfs-handle-file-selinux-context)
2977 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2978 (tramp-gvfs-handle-set-file-modes)
2979 (tramp-gvfs-handle-set-file-selinux-context)
2980 (tramp-gvfs-handle-shell-command)
2981 (tramp-gvfs-handle-start-file-process)
2982 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2983 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2984 over the symlinks. Fix user handling.
2985 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2986 of the D-Bus signals.
2987 (tramp-gvfs-connection-mounted-p): Handle different names of the
2989 (tramp-gvfs-mount-spec-entry): New defun.
2990 (tramp-gvfs-mount-spec): Use it.
2991 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2992 there is a share name. Handle different names of the D-Bus
2993 signals and methods. Set connection properties needed for
2994 `tramp-check-cached-permissions'.
2995 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2998 * net/tramp.el (tramp-backtrace): Move up.
2999 (tramp-error): Dump a backtrace into the debug buffer when
3001 (tramp-file-mode-type-map, tramp-file-mode-from-int)
3002 (tramp-file-mode-permissions, tramp-get-local-uid)
3003 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
3006 * net/tramp-sh.el (tramp-file-mode-type-map)
3007 (tramp-check-cached-permissions, tramp-file-mode-from-int)
3008 (tramp-file-mode-permissions, tramp-get-local-uid)
3009 (tramp-get-local-gid): Move to tramp.el.
3011 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
3013 Separate mouse-1-click-follows-link from mouse-drag-region.
3014 * mouse.el (mouse--down-1-maybe-follows-link): New function.
3015 (key-translation-map): Use it to implement mouse-1-click-follows-link.
3016 (mouse-drag-line, mouse-drag-track):
3017 Remove mouse-1-click-follows-link code.
3018 (mouse--remap-link-click-p): Remove.
3020 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
3022 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
3023 (hi-lock-read-regexp-defaults): New defun.
3024 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3025 (hi-lock-face-phrase-buffer): Propagate above change.
3026 Update docstring (bug#13892).
3028 * subr.el (find-tag-default-as-regexp): New defun.
3029 * replace.el (read-regexp): Propagate above change.
3031 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
3033 * calc/calc-units.el (calc-convert-units): Fix the way that default
3034 new units are stored.
3036 2013-03-07 Matthias Meulien <orontee@gmail.com>
3038 * bookmark.el: Define a face to highlight bookmark names in
3039 bookmark menu buffers, where the default is a bold face similarly
3040 to buffer names in buffer menu buffers.
3041 (bookmark-menu-bookmark): New face to highlight bookmark names.
3042 (bookmark-insert-location): Remove duplicated text property to
3043 conform to buffer list (see `list-buffers').
3044 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3045 `bookmark-menu-bookmark' to bookmark names.
3047 2013-03-07 Matthias Meulien <orontee@gmail.com>
3048 Karl Fogel <kfogel@red-bean.com>
3050 * bookmark.el: Display the bookmark list header similarly to the
3051 buffer list header (see `list-buffers'), where the default is now
3052 an immovable/immutable header line.
3053 (bookmark-bmenu-use-header-line): New variable.
3054 (bookmark-bmenu-inline-header-height): New name for
3055 `bookmark-bmenu-header-height', to avoid confusion with the code
3056 for the new immovable header. All references changed.
3057 (bookmark-bmenu-set-header): New function.
3058 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3059 Conditionalize header construction accordingly.
3060 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3061 the inline header height.
3062 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3063 Conditionalize the skipping of the inline header height.
3065 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
3067 * progmodes/js.el (js--multi-line-declaration-indentation):
3068 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3070 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
3072 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3073 Only propertize regexp when not inside a string (Bug#13885).
3075 2013-03-06 Alan Mackenzie <acm@muc.de>
3077 Correct the position of point in some line-up functions.
3078 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3079 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3080 point at column 0 rather than at a random place in the line.
3082 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
3084 * net/tramp-compat.el (tramp-compat-delete-directory):
3085 Implement TRASH argument.
3087 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
3089 Keep pre-existing highlighting in completion candidates (Bug#13250).
3090 * minibuffer.el (completions-first-difference): State that the
3091 face is "added" in the docstring.
3092 (completions-common-part): Same. And don't inherit from default.
3093 (completion-hilit-commonality): Prepend 'completions-common-part
3094 and 'completion-first-difference faces to the 'face property,
3095 instead of replacing the value(s).
3096 (completion--insert-strings): Same with 'completions-annotations face.
3097 (completion-hilit-commonality): Use 'face instead of
3098 'font-lock-face, because it gets priority if the completion
3099 strings already have 'face set.
3101 2013-03-04 Alan Mackenzie <acm@muc.de>
3103 Replace `last-command-event' by `last-command-char' in XEmacs.
3104 * progmodes/cc-defs.el (c-last-command-char): New macro.
3105 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3106 (c-semi&comma-no-newlines-before-nonblanks)
3107 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3108 in place of `last-command-event'.
3109 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3110 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3111 (c-electric-paren, c-electric-continued-statement): Use the new
3112 macro in place of `last-command-event'.
3114 2013-03-04 Glenn Morris <rgm@gnu.org>
3116 * files.el (inhibit-local-variables-regexps):
3117 Add .diff and .patch. (Bug#13862)
3119 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
3121 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3122 whether the "su" command is available on the device.
3124 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3126 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3127 (tramp-adb-handle-process-file): Remove superfluous setting.
3128 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3129 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3130 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3132 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3135 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
3136 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3137 Use dict-key rather than dict-name for the error message.
3139 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3141 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3142 when reverting (bug#13831).
3144 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3146 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3147 Always expand affix-file before storing to protect against changed
3148 `default-directory'.
3149 (ispell-print-if-debug): Make sure message is printed at the end
3150 of the debug buffer.
3152 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
3154 * net/tramp.el (tramp-obsolete-methods): New defconst.
3155 (tramp-warned-obsolete-methods): New defvar.
3156 (tramp-find-method): Check for obsolete methods. Map them to a
3157 replacement method if appropriate.
3159 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3161 (top): Remove completion functions for "scp1", "scp2", "ssh1",
3162 "ssh2" and "plink1".
3164 2013-02-28 Dale Sedivec <dale@codefu.org>
3166 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3167 Return valid syntax-table property value when converting
3168 quotes within text from string syntax to punctuation syntax (bug#13844).
3170 2013-02-28 Juri Linkov <juri@jurta.org>
3172 * dired-aux.el (dired-diff): If file at point is a backup file,
3173 use its original as the default value, and reverse the order
3174 of arguments to the `diff' call. Doc fix. (Bug#13772)
3176 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
3178 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
3179 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
3181 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3183 Initial support for hunspell dictionaries auto-detection (Bug#13639)
3185 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3186 Ask hunspell about available and default dictionaries.
3187 (ispell-parse-hunspell-affix-file): Extract relevant info from
3188 hunspell affix file.
3189 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3190 `ispell-dictionary-alist' entry for given dictionary after info
3191 provided by `ispell-parse-hunspell-affix-file'.
3192 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3193 of parsed hunspell dicts and associated affix files.
3194 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3195 of parsed hunspell dicts and associated parameters.
3196 (ispell-set-spellchecker-params):
3197 Call `ispell-find-hunspell-dictionaries' if hunspell and not
3199 (ispell-start-process):
3200 Call `ispell-hunspell-fill-dictionary-entry' for current
3201 dictionary if it is not initialized.
3203 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * imenu.el: Comment nitpicks.
3207 2013-02-28 Sam Steingold <sds@gnu.org>
3209 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3210 See <http://stackoverflow.com/questions/14720205>.
3212 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3214 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3215 (net-utils-mode): Use it.
3216 (net-utils--revert-cmd): New var.
3217 (net-utils-run-simple): Set it, and remove bogus interactive spec.
3218 (traceroute): Use net-utils-run-simple.
3220 2013-02-28 Glenn Morris <rgm@gnu.org>
3222 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3224 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3227 (doc-view-fallback-mode): Remove overlays here.
3228 (doc-view-toggle-display): Instead of here. Don't throw away
3229 image-mode-winprops-alist.
3230 (doc-view-goto-page): Don't mess with hscroll.
3232 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3234 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3235 &optional (bug#13819).
3237 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
3239 * net/tramp-adb.el (tramp-adb-parse-device-names)
3240 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
3242 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
3244 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3245 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3246 defined. POSIX environments fall back to the "C" locale then and
3247 emit a warning, which shall be suppressed.
3249 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3252 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3254 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3258 2013-02-25 Juri Linkov <juri@jurta.org>
3260 * replace.el (read-regexp): Let-bind `default' to the first
3261 element of `defaults' if it's a list, otherwise it should be
3262 a string or nil. Let-bind `suggestions' to `defaults' if it's
3263 a list, otherwise make a list with the string value. Doc fix.
3266 2013-02-25 Eli Zaretskii <eliz@gnu.org>
3268 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3269 that match "\`\.#", to avoid compiling lock files, even if they
3270 are readable (as they are on MS-Windows).
3272 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * files.el (basic-save-buffer): Remove redundant directory-creation.
3276 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
3278 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3279 Add option to force `pi' to remain symbolic.
3280 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3281 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3282 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3283 derivatives, when necessary.
3285 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
3287 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3288 (ps-mode-octal-region): Use string-make-unibyte.
3290 2013-02-23 Glenn Morris <rgm@gnu.org>
3292 * emulation/viper-cmd.el (viper-submit-report):
3293 * progmodes/ps-mode.el (ps-mode-maintainer-address):
3294 * progmodes/vera-mode.el (vera-mode-help-address):
3295 * textmodes/artist.el (artist-maintainer-address):
3296 * textmodes/reftex.el (reftex-report-bug):
3297 * vc/ediff-util.el (ediff-submit-report):
3298 Add bug-gnu-emacs to bug report address.
3300 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3301 Remove bug report entries.
3302 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3304 * emacs-lisp/bytecomp.el (byte-compile-level): New.
3305 (byte-compile-file, byte-compile-from-buffer):
3306 Use separate input/output buffers for each level of recursive
3307 byte-compile-file calls. (Bug#13787)
3309 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
3311 * net/tramp.el (tramp-methods): Fix docstring.
3312 (tramp-ssh-controlmaster-options): Rename it from
3313 `tramp-ssh-controlmaster-template'. Return a string.
3314 (tramp-default-method): Adapt check for
3315 `tramp-ssh-controlmaster-options'.
3317 * net/tramp-sh.el (tramp-methods):
3318 Replace `tramp-ssh-controlmaster-template' by "%c".
3319 (tramp-do-copy-or-rename-file-out-of-band)
3320 (tramp-maybe-open-connection): Use it in format spec. Ensure,
3321 that it is applied for the first hop only.
3323 2013-02-22 Juri Linkov <juri@jurta.org>
3325 * isearch.el (isearch-lazy-highlight-new-loop):
3326 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3327 to `isearch-other-end' if it is not nil. (Bug#13402)
3329 * replace.el (replace-highlight): Let-bind `isearch-other-end'
3332 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3333 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3334 and `isearch-error' to nil.
3336 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
3338 * progmodes/python.el (python-info-current-defun):
3339 Enhance match-data cluttering prevention.
3341 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
3343 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3345 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3346 Handle multibyte file names.
3348 2013-02-22 Glenn Morris <rgm@gnu.org>
3350 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3351 (sgml-transformation-function): Give it a :set function.
3352 (sgml-tag): Doc fix.
3354 * cmuscheme.el (scheme-buffer):
3355 * progmodes/inf-lisp.el (inferior-lisp-buffer):
3356 * progmodes/tcl.el (inferior-tcl-buffer):
3357 * textmodes/tex-mode.el (tex-command): Doc fixes.
3359 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3361 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
3363 2013-02-21 Bastien Guerry <bzg@gnu.org>
3365 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
3367 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3369 * progmodes/python.el (python-info-current-defun):
3370 Enhance match-data cluttering prevention.
3372 2013-02-21 Glenn Morris <rgm@gnu.org>
3374 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3375 loaded while outline-regexp is let bound. (Bug#9584)
3377 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
3379 * progmodes/python.el (python-info-current-defun): Fix failed
3380 defun name retrieval because of unwanted match-data cluttering.
3382 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
3384 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3385 defconst. Apply independent check for ControlPersist.
3387 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3388 temporarily, via "env".
3390 2013-02-21 Glenn Morris <rgm@gnu.org>
3392 * info.el (Info-enable-edit): Remove.
3393 (Info-edit): Disable it rather than using Info-enable.
3394 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3395 (Info-cease-edit): Make editing of Info files obsolete.
3397 * informat.el (Info-tagify):
3398 Handle buffers not visiting files. (Bug#13763)
3400 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
3402 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3404 2013-02-21 Glenn Morris <rgm@gnu.org>
3406 * files.el (basic-save-buffer): Move check for existing parent
3407 directory after hooks. (Bug#13773)
3409 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
3411 * simple.el (command-execute): Move from C. Add obsolete check.
3412 (extended-command-history): Move from C.
3414 2013-02-20 Ulrich Müller <ulm@gentoo.org>
3416 * jka-cmpr-hook.el (jka-compr-compression-info-list)
3417 (jka-compr-mode-alist-additions): Handle .txz suffix for
3418 XZ-compressed tar archives (bug#13770).
3420 2013-02-20 Bastien Guerry <bzg@gnu.org>
3422 * outline.el (outline-regexp, outline-heading-end-regexp):
3423 Make variables, not options (bug#13731).
3425 2013-02-20 Glenn Morris <rgm@gnu.org>
3427 * image.el (image-current-frame): Change from variable to function.
3428 (image-show-frame): Rename from image-nth-frame. Update callers.
3429 * image-mode.el (image-multi-frame): New variable.
3430 (image-mode-map, image-mode, image-goto-frame):
3431 Use image-multi-frame rather than image-current-frame.
3432 (image-mode, image-goto-frame): Use image-current-frame as
3433 function rather than as variable.
3435 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3436 * emacs-lisp/cl-macs.el (cl--make-type-test)
3437 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3439 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3441 * net/tramp-cache.el (tramp-get-hash-table): New defun.
3442 (tramp-get-file-property, tramp-set-file-property)
3443 (tramp-get-connection-property, tramp-set-connection-property): Use it.
3444 (tramp-flush-file-property, tramp-flush-directory-property):
3445 Rename argument to KEY.
3446 (tramp-flush-connection-property): Simplify a little bit.
3447 (tramp-connection-property-p): New defun.
3448 (top): Reapply saved values only if there isn't a corresponding
3449 entry in `tramp-connection-properties'.
3451 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
3453 * progmodes/python.el (python-indent-context):
3454 Fix python-info-line-ends-backslash-p call.
3455 (python-info-line-ends-backslash-p)
3456 (python-info-beginning-of-backslash): Respect line-number argument.
3457 (python-info-current-line-comment-p):
3458 Fix behavior when not at beginning-of-line.
3459 (python-util-position): Remove function.
3460 (python-util-goto-line): New function.
3462 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
3464 * eshell/em-unix.el (eshell/su): Require tramp.
3465 (eshell/sudo): Require tramp. Remove now unnecessary check.
3467 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3468 `tramp-current-connection' in order to avoid an error when several
3469 commands are invoked in a short time in eshell and friends.
3471 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3473 Cleanup some of EIEIO's namespace.
3474 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3475 Use it to define all the class-* and object-* field accessors (renamed
3476 to eieio--class-* and eieio--object-*). Update all uses.
3477 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3478 class-num-slots and object-num-slots.
3479 (eieio--check-type): New macro.
3480 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3481 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3482 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3483 (object-assoc-list-safe): Use it.
3484 (eieio-defclass): Tighten regexp.
3485 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3486 Remove unreachable code.
3487 (object-class-fast): Declare obsolete.
3488 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3489 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3490 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3491 Rename from class-name, object-name, object-set-name-string,
3492 object-class, object-class-name, class-parents, class-children,
3493 class-precedence-list, class-parent; with obsolete alias.
3494 (class-of, class-direct-superclasses, class-direct-subclasses):
3496 (eieio-defmethod): Use `memq'; remove unreachable code.
3497 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3498 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3499 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3501 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3503 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3506 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3508 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3509 Use font-lock-keyword-face for macros and special forms (bug#8345).
3511 2013-02-17 Didier Verna <didier@didierverna.net>
3513 * net/network-stream.el (network-stream-open-starttls):
3514 Check that response to the starttls-command is non-nil. (Bug#13706)
3516 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3519 Don't assume all identifier chars have syntax word.
3520 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3521 Remove bar-not-symbol. Adjust callers.
3522 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3524 2013-02-17 Leo Liu <sdl.web@gmail.com>
3526 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3528 2013-02-17 Glenn Morris <rgm@gnu.org>
3530 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3532 * image-mode.el (image-mode-map): Add image-dired menu entry.
3534 * image-dired.el (tumme): Make this alias obsolete.
3536 2013-02-16 Glenn Morris <rgm@gnu.org>
3538 * image.el (image-animated-types): Remove.
3539 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3540 (image-animated-p): Make obsolete alias.
3541 (image-animate, image-nth-frame, image-animate-timeout):
3542 Use image-multi-frame-p.
3543 (image-animate-timeout): If no delay, use image-default-frame-delay.
3544 * image-mode.el (image-mode, image-toggle-animation):
3545 Use image-multi-frame-p. (Bug#763, bug#10739)
3546 (image-mode): Adjust startup message for a multi-frame image.
3548 * image-mode.el (image-mode-map): Give it a menu.
3550 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3552 * net/tramp-cache.el (tramp-connection-properties): New customer
3554 (tramp-get-connection-property): Use it.
3556 * net/tramp-compat.el (top): Require 'trampver.
3558 * net/tramp-sh.el (tramp-remote-process-environment):
3559 Set tramp-autoload cookie.
3561 2013-02-16 Kevin Ryde <user42@zip.com.au>
3563 * info-look.el (info-lookup-select-mode): If major-mode has no
3564 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3566 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3568 * replace.el (read-regexp): Tighten the regexp that matches tag.
3569 When tag is retrieved with `find-tag-default', use regexp that
3570 matches tag at point. Also update docstring (Bug#13687).
3572 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3574 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3575 add watch for the file, not its parent directory, since w32notify
3576 sets up the watch for the directory internally. (Bug#13725)
3578 2013-02-16 Glenn Morris <rgm@gnu.org>
3580 * image.el (image-default-frame-delay): New variable.
3581 (image-animated-p): Use image-default-frame-delay.
3582 (image-minimum-frame-delay): New constant.
3583 (image-animate-timeout): Use image-minimum-frame-delay.
3585 * image.el (image-nth-frame): New, split from image-animate-timeout.
3586 (image-animate-timeout): Use image-nth-frame.
3587 * image-mode.el (image-goto-frame, image-next-frame)
3588 (image-previous-frame): New commands.
3589 (image-mode-map): Add new frame commands.
3591 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3593 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3594 If col-desc already has help-echo, use it. (Bug#13563)
3596 2013-02-16 Glenn Morris <rgm@gnu.org>
3598 * image.el (image-current-frame): New variable.
3599 (image-animate-timeout): Set image-current-frame.
3600 * image-mode.el (image-mode): For animated images,
3601 display a frame counter via mode-line-process.
3603 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3605 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3607 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3609 2013-02-15 Alan Mackenzie <acm@muc.de>
3611 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3612 global minor mode has been enabled, call the minor mode function
3613 for a new buffer once only, after the major mode hook, whilst
3614 allowing that hook explicitly to disable the minor mode.
3615 (MODE-disable-in-buffer): New (generated) function.
3616 (disable-MODE): New (generated) buffer local variable.
3618 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3620 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3621 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3622 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3623 `ido-next-match' and `ido-prev-match' resply.
3624 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3625 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3626 `icomplete-backward-completions' (Bug#13708).
3628 2013-02-15 Glenn Morris <rgm@gnu.org>
3630 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3632 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3635 (goto-address-fontify-region): Use them instead of narrowing, so
3636 syntax-ppss has access to the whole buffer.
3638 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3640 * progmodes/python.el: Explain how to restore "cc-mode"-like
3641 forward-sexp movement in header documentation (Bug#13642).
3642 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3643 comments and strings (GH bug 114).
3645 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3647 * progmodes/python.el (python-info-current-defun): Fix current
3648 defun detection (Bug#13618).
3650 2013-02-15 Chong Yidong <cyd@gnu.org>
3652 * xml.el (xml-parse-string): Fix typo in handling of bad character
3655 2013-02-15 Glenn Morris <rgm@gnu.org>
3657 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3659 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3661 * net/tramp.el (tramp-debug-message):
3662 Add `tramp-condition-case-unless-debug'.
3663 (tramp-debug-on-error): New defvar.
3664 (tramp-condition-case-unless-debug): New defun.
3665 (tramp-file-name-handler): Use it.
3667 2013-02-14 Juri Linkov <juri@jurta.org>
3669 * info.el (Info-isearch-filter): Treat non-nil values of
3670 `search-invisible' including its default value `open'
3671 like the value `t' to match hidden text. (Bug#13402)
3673 2013-02-14 Glenn Morris <rgm@gnu.org>
3675 * help-fns.el (find-lisp-object-file-name): Give special treatment
3676 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3678 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3680 * net/quickurl.el (quickurl-save-urls):
3681 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3683 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3685 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3686 depth for unfinished percent literal. Not using it in the caller.
3687 (ruby-move-to-block): Jump over multiline literals of all types,
3688 ignoring code-looking contents inside them.
3689 (ruby-add-log-current-method): Improve performance at the expense
3690 of accuracy. `ruby-block-contains-point' is relatively slow, so
3691 only use it for method and singleton class blocks.
3693 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3695 Use ControlMaster where applicable. (Bug#13677)
3697 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3698 replacing `tramp-detect-ssh-controlmaster'.
3699 (tramp-default-method): Use it.
3701 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3702 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3704 [scpc, rsyncc]: Remove methods.
3705 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3707 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3708 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3710 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * emacs-lisp/package.el (package--initialized): Move before first use.
3714 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3716 * icomplete.el (icomplete-hide-common-prefix): New user option.
3717 (icomplete-first-match): New face.
3718 (icomplete-completions): Correct handling of "complete but not
3719 unique" (Bug#12638).
3721 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3723 * descr-text.el (describe-char): Display the script (bug#13698).
3725 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * tmm.el: Use lexical-binding and current-active-maps.
3728 (tmm-menubar): Use map-keymap and pcase.
3729 (tmm--completion-table): New function.
3730 (tmm-prompt): Use it to fix the menu order.
3731 (tmm-get-keybind): Use current-active-maps.
3733 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3735 Add dired-hide-details-mode. (Bug#6799)
3737 * locate.el (locate-mode): Set parent mode property to dired-mode.
3739 * find-dired.el (find-dired): Call dired-insert-set-properties on
3740 initial information line. Set process mark on end of buffer.
3741 (find-dired-sentinel):
3742 Call dired-insert-set-properties on summary.
3744 * dired.el (dired-hide-details-hide-symlink-targets)
3745 (dired-hide-details-hide-information-lines): New options.
3746 (dired-insert-directory):
3747 Set properties after final treatment of output.
3748 (dired-insert-set-properties):
3749 Set dired-hide-details-* properties.
3750 (dired-mode-map): Bind dired-hide-details-mode.
3751 (dired-mode): Set buffer-invisibility-spec to a list.
3752 (dired-next-line): Skip hidden lines.
3753 (dired-previous-line): Use dired-next-line.
3754 (dired-hide-details-mode): New minor mode.
3755 (dired-hide-details-update-invisibility-spec): New function.
3757 2013-02-13 Glenn Morris <rgm@gnu.org>
3759 * play/yow.el: Move to obsolete/. (Bug#9384)
3761 2013-02-13 Juri Linkov <juri@jurta.org>
3763 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3764 to select `ediff-control-frame' and set input focus correctly on Xfce.
3767 2013-02-13 Juri Linkov <juri@jurta.org>
3769 * image-mode.el (image-mode-map):
3770 * doc-view.el (doc-view-mode-map):
3771 * vc/ediff-util.el (ediff-setup-keymap):
3772 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3774 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3776 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3777 performance. Instead of recalculating indentation fully for each
3778 line, sum up indentation depth based only on visited lines.
3779 (ruby-parse-partial): Increase the depth after "do" even when END
3781 (ruby-parse-partial): When END is in the middle of a percent
3782 literal, increase the depth if the delimiter chars belong to the
3785 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3787 * play/fortune.el (fortune-compile): Also make the compiled file
3788 if it does not exist at all, not just if it is old. (Bug#5338)
3790 2013-02-13 Glenn Morris <rgm@gnu.org>
3792 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3794 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3796 * lisp/emacs-lisp/package.el (package-menu-execute):
3797 Add optional noquery argument. (Bug#13625)
3799 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3801 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3802 if DIR exists and PARENTS is non-nil.
3804 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3806 * progmodes/js.el (js--multi-line-declaration-indentation):
3807 Silence byte-compiler warning.
3809 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3811 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3813 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3814 only if it doesn't exist.
3816 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3819 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3821 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3822 UserInstallation when calling soffice to work around LibreOffice
3825 2013-02-12 Glenn Morris <rgm@gnu.org>
3827 * files.el (basic-save-buffer):
3828 Offer to create a non-existing directory. (Bug#3016)
3830 * calc/calc-graph.el (calc-graph-show-dumb):
3831 * calendar/calendar.el (calendar-mode-map):
3832 * cus-edit.el (custom-mode-map):
3833 * ehelp.el (electric-help-map):
3834 * emulation/vip.el (vip-mode-map):
3835 * epa.el (epa-key-list-mode-map):
3836 * info.el (Info-mode-map):
3837 * mail/rmail.el (rmail-mode-map):
3838 * mail/rmailsum.el (rmail-summary-mode-map):
3839 * man.el (Man-mode-map):
3840 * net/newst-plainview.el (newsticker-mode-map):
3841 * progmodes/cpp.el (cpp-edit-mode-map):
3842 * progmodes/grep.el (grep-mode-map):
3843 * progmodes/idlw-help.el (idlwave-help-mode-map):
3844 * simple.el (special-mode-map):
3845 * startup.el (splash-screen-keymap):
3846 * view.el (view-mode-map):
3847 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3849 2013-02-11 Elias Pipping <pipping@lavabit.com>
3851 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3854 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3858 2013-02-11 Glenn Morris <rgm@gnu.org>
3860 * vc/diff.el (diff-use-labels): New variable.
3861 (diff-no-select): Use --label rather than -L, and first
3862 check that it is supported. (Bug#11067)
3864 * files.el (enable-dir-local-variables): New variable.
3865 (hack-dir-local-variables): Respect enable-dir-local-variables.
3866 * tutorial.el (help-with-tutorial):
3867 Ignore directory-local variables. (Bug#11127)
3869 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3870 (vc-svn-global-switches): ... to here. (Bug#13513)
3872 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3874 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3875 Handle "foo (bar, default: xxx): " prompts.
3877 2013-02-10 Chong Yidong <cyd@gnu.org>
3879 * files.el (basic-save-buffer-1): Do not set
3880 buffer-file-coding-system-explicit (Bug#4533).
3882 * mail/emacsbug.el (report-emacs-bug): Change binding of
3883 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3885 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3887 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3888 * calc/calc-units.el (calc-convert-units): Use new variable.
3890 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3892 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3894 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3897 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3898 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3899 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3900 coding-system-for-write instead.
3902 * jka-compr.el (jka-compr-write-region): Don't bind
3905 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3908 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3909 (insert-file-contents-literally): Remove reference to
3910 file-name-buffer-file-type-alist.
3912 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3914 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3915 (find-buffer-file-type-coding-system): Remove references to
3916 find-buffer-file-type-match, find-buffer-file-type, and
3918 Don't put find-buffer-file-type-coding-system into
3919 file-coding-system-alist.
3920 (find-file-binary, find-file-text): Bind coding-system-for-read
3921 instead of file-name-buffer-file-type-alist.
3923 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3925 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3926 converter (Bug#13622).
3927 (doc-view-unoconv-program): Make obsolete alias.
3928 (doc-view-odf->pdf-converter-program): New variable.
3929 (doc-view-odf->pdf-converter-function): New variable.
3930 (doc-view-mode-p): Use it.
3931 (doc-view-odf->pdf-converter-unoconv):
3932 Rename from `doc-view-odf->pdf-converter-unoconv'.
3933 (doc-view-odf->pdf-converter-soffice): New function.
3934 (doc-view-convert-current-doc):
3935 Use `doc-view-odf->pdf-converter-function'.
3937 2013-02-09 Chong Yidong <cyd@gnu.org>
3939 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3940 view-echo-area-messages (Bug#13340).
3942 * help.el (view-echo-area-messages): Use display-buffer.
3944 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3947 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3950 Eval body right away, now that we do eager macroexpansion (bug#13605).
3952 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3953 (fundamental-mode): Use run-mode-hooks.
3955 * eshell/esh-proc.el (eshell/kill): Fix last change.
3956 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3958 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3960 * eshell/esh-proc.el (eshell/kill): Rewrite.
3962 * eshell/em-ls.el (show-almost-all): Declare.
3963 (eshell-do-ls): Add support for -A argument.
3965 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3967 * icomplete.el (icomplete-forward-completions)
3968 (icomplete-backward-completions): Handle corner case (bug#13602).
3970 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3972 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3973 be nil. Handle this. (Bug#13636)
3975 2013-02-07 Richard Stallman <rms@gnu.org>
3977 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3978 `save-buffer-coding-system'.
3980 2013-02-07 Alan Mackenzie <acm@muc.de>
3982 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3983 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3984 (c-parse-state-get-strategy): Don't return 'BOD any more.
3985 (c-append-lower-brace-pair-to-state-cache):
3986 Extra parameter HERE instead of narrowing.
3987 Widen to top of buffer before searching backwards for a brace pair.
3988 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3989 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3990 Narrow to parameter HERE, in place of being called narrowed.
3991 (c-remove-stale-state-cache): Extra parameter HERE in place of
3992 narrowing. Check there's an open brace in the cache before
3993 searching for its match.
3994 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3995 (c-parse-state-1): Don't narrow here for 'forward strategy,
3996 instead passing extra parameter HERE to several functions.
3997 Remove 'BOD strategy.
3999 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4001 * emacs-lisp/package.el (describe-package-1): Tell what archive is
4002 used to install the package.
4004 2013-02-06 Glenn Morris <rgm@gnu.org>
4006 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
4007 if we can't get user input. (Bug#6567)
4009 * startup.el (command-line): If simple.el is missing,
4010 test and warn about for some possible causes.
4012 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
4014 * cus-start.el (all): Add ns-use-native-fullscreen.
4016 2013-02-05 Glenn Morris <rgm@gnu.org>
4018 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
4020 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4021 Fix directory creation in fallback case.
4023 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4025 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
4026 (vc-update-change-log): Use dolist.
4028 2013-02-04 Chong Yidong <cyd@gnu.org>
4030 * thingatpt.el: Rewrite the URL detection routines, absorbing some
4032 (thing-at-point-beginning-of-url-regexp): New var.
4033 (thing-at-point-uri-schemes): Update list of URI schemes.
4034 (thing-at-point-url-regexp): Variable deleted.
4035 (thing-at-point-markedup-url-regexp): Disallow newlines.
4036 (thing-at-point-newsgroup-regexp)
4037 (thing-at-point-newsgroup-heads)
4038 (thing-at-point-default-mail-uri-scheme): New variables.
4039 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
4040 method to find the possible bounds of the URI at point.
4041 New optional argument to find ill-formed URIs.
4042 (thing-at-point-url-at-point): Rewrite. New arguments for finding
4043 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
4044 the scheme-adding heuristics from ffap-url-at-point.
4045 (thing-at-point--bounds-of-well-formed-url): New function.
4046 Do parens matching to decide whether to include parens in the URI
4049 * ffap.el: Require thingatpt.
4050 (ffap-url-at-point): Delegate URI detection to thing-at-point.
4051 All URI-valid characters are now recognized (Bug#5673).
4052 (ffap-string-at-point): Use use-region-p.
4053 (ffap-url-regexp): Extra character is handled by thing-at-point.
4054 (ffap-string-at-point-mode-alist): Allow parentheses.
4055 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4056 Convert to aliases; code moved to thingatpt.el.
4057 (ffap-gnus-hook): Use setq-local.
4059 2013-02-04 Glenn Morris <rgm@gnu.org>
4061 * emacs-lisp/ert.el (ert--explain-format-atom):
4062 Don't try to print non-characters as characters. (Bug#13543)
4064 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
4066 * net/tramp.el (tramp-debug-message): Extend function exclude list.
4067 (tramp-backtrace): New defun.
4068 (tramp-handle-insert-file-contents): Use `visit' when inserting
4071 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4072 Use `remote-file-name-inhibit-cache'.
4074 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
4076 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4079 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4080 current-load-list (bug#13366).
4082 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
4084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4085 Identify g++ template instantiation trace. (Bug#12287)
4086 (compilation-mode-hook, compilation-start-hook)
4087 (compilation-window-height): Simplify docstrings. (Bug#13379)
4089 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4091 * mouse.el (mouse-drag-track): Always deactivate the mark before
4092 running the final event's command since that command is in charge of
4093 activating the mark if needed (bug#13523).
4095 2013-02-02 Juri Linkov <juri@jurta.org>
4097 * replace.el (perform-replace): Move let-bindings of isearch-*
4098 variables deeper to the loop that searches for the next match.
4099 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4100 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4103 * isearch.el (isearch-search-fun-default): Check for null
4104 first element of isearch-cmds as a precaution when it's used
4105 with inactive isearch.
4107 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
4109 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4110 error when buffer in question is narrowed so position 1 is out of
4113 2013-02-02 Glenn Morris <rgm@gnu.org>
4115 * textmodes/remember.el (remember-clipboard): Doc fix.
4117 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4119 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4120 properties (bug#13179).
4122 2013-02-02 Juri Linkov <juri@jurta.org>
4124 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4125 instead of hard-coded default face `match'. (Bug#9438)
4127 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
4129 * vc/vc-arch.el (vc-arch-registered):
4130 * vc/vc-bzr.el (vc-bzr-registered):
4131 * vc/vc-cvs.el (vc-cvs-registered):
4132 * vc/vc-git.el (vc-git-registered):
4133 * vc/vc-hg.el (vc-hg-registered):
4134 * vc/vc-mtn.el (vc-mtn-registered):
4135 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4138 * info.el (Info-next-reference, Info-prev-reference): Add numeric
4139 prefix argument. (Bug#11656)
4141 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4145 2013-02-01 Glenn Morris <rgm@gnu.org>
4147 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4148 if the backend is known not to support it.
4150 * imenu.el (imenu-default-create-index-function):
4151 Tweak infinite loop test to check for forward motion as well as none.
4153 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
4155 * net/soap-client.el (soap-invoke): Encode the string for
4156 `url-request-data' as UTF-8.
4157 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4159 2013-02-01 Glenn Morris <rgm@gnu.org>
4161 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4163 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4165 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
4167 * net/tramp.el (tramp-tramp-file-p): Comment check for
4168 `string-as-unibyte'. The function does not exist on XEmacs, and
4169 likely we need another approach.
4171 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4172 `tramp-gw-*' variables are bound.
4174 2013-01-31 Glenn Morris <rgm@gnu.org>
4176 * files.el (basic-save-buffer-2): Choose coding system for
4177 writing the file before backing it up, to reduce delay between
4178 backing up and writing the new version. (Bug#13522)
4180 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
4182 * simple.el (cycle-spacing): New command.
4183 (just-one-space): Use it.
4185 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
4188 (opascal-newline-always-indents): Remove custom.
4189 (opascal-tab, opascal-newline): Remove commands.
4190 (opascal-new-comment-line): Insert "\n" instead of calling newline.
4191 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4192 (opascal-save-match-data): Remove, use save-match-data instead.
4193 (opascal-save-state): Use with-silent-modifications.
4195 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4198 2013-01-30 Juri Linkov <juri@jurta.org>
4200 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4201 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
4202 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4204 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4207 column if we're just deleting the backslashes.
4208 (makefile-fill-paragraph): Use eolp.
4210 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4212 * autorevert.el (auto-revert-use-notify): Fix docstring.
4214 2013-01-30 Leo Liu <sdl.web@gmail.com>
4216 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4218 2013-01-30 Glenn Morris <rgm@gnu.org>
4220 * mouse.el (mouse-drag-line): Avoid pushing same event onto
4221 unread-command-events twice in some cases. This tries to implement
4222 the 2012-07-26 changes in a different way. (Bug#13560)
4224 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4226 * progmodes/python.el
4227 (python-pdbtrack-comint-output-filter-function): Enhancements on
4228 stacktrace detection. (thanks @gnovak)
4230 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4232 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4233 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4235 (jit-lock-register): Use setq-local.
4237 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
4239 * calc-units.el (math-default-units-table): Remove initial value.
4240 (calc-convert-units): Treat expressions where all the units cancel as
4241 if they didn't have units.
4243 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
4245 * net/tramp.el (tramp-process-connection-type): Fix docstring.
4246 (tramp-completion-reread-directory-timeout): Fix type.
4247 (tramp-connection-min-time-diff): New defcustom.
4249 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4251 2013-01-30 Glenn Morris <rgm@gnu.org>
4253 * imenu.el (imenu-default-create-index-function):
4254 Put back a version of the infinite loop test removed 2013-01-23.
4256 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
4258 * progmodes/python.el (python-shell-parse-command):
4259 Find python-shell-interpreter with modified environment.
4261 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4265 2013-01-29 Alan Mackenzie <acm@muc.de>
4267 Amend to fontify /regexp/s in actions correctly.
4268 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4269 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4270 are no longer included.
4271 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4272 What used to be these variables without "-line" in the name.
4273 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
4274 (c-awk-non-arith-op-bra-re): Now also matches {.
4275 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4276 "return", and "case".
4277 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4279 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4280 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4282 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
4284 * autorevert.el (auto-revert-use-notify):
4285 Use `custom-initialize-default' for initialization. (Bug#13583)
4287 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4289 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4290 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
4291 in `tramp-file-name-handler'.
4292 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4294 (tramp-compute-multi-hops): Check, whether
4295 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4297 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4302 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
4304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4305 checks made superfluous by the \_< operator.
4306 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4307 temporarily) broken indentation.
4308 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4309 Highlight nested constants, too. \_< broke that.
4311 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
4313 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4316 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
4318 * autorevert.el (auto-revert-handler): Notifications which result
4319 from a saved file shall not be taken into account. (Bug#13557)
4321 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
4323 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4324 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4325 (lisp-mode): Pass t for it. (Bug#13556)
4327 2013-01-25 Alan Mackenzie <acm@muc.de>
4329 AWK Mode: Fix indentation bug at top level. Bug #12274.
4331 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4332 just before CASE 5D.
4334 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
4336 * net/socks.el (socks-nslookup-host): Use string-to-number.
4338 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
4340 * autorevert.el (auto-revert-remote-files)
4341 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4342 (auto-revert-notify-enabled, auto-revert-use-notify)
4343 (auto-revert-notify-watch-descriptor-hash-list)
4344 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4345 (auto-revert-notify-event-descriptor)
4346 (auto-revert-notify-event-action)
4347 (auto-revert-notify-event-file-name): Doc fix.
4348 (global-auto-revert-mode): Reorder checks.
4349 (auto-revert-notify-rm-watch): Respect changed values of
4350 `auto-revert-notify-watch-descriptor-hash-list'.
4351 (auto-revert-notify-add-watch): Check for
4352 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
4353 `inotify-add-watch'. Watch `default-directory' instead of
4354 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
4355 has a changed meaning now. (Bug#13540)
4356 (auto-revert-notify-handler): Change implementation wrt events
4357 returning from a directory.
4358 (auto-revert-handler): Reorder implementation for checks of remote
4360 (auto-revert-buffers): Fix parentheses error.
4362 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
4364 * progmodes/python.el: Enhancements to header documentation about
4365 skeletons. (Bug#5716)
4367 * imenu.el (imenu-default-create-index-function): Remove useless
4368 infinite loop check. (Bug#13438)
4370 2013-01-25 Alan Mackenzie <acm@muc.de>
4372 Fix a bug in the state cache mechanism. Refactor this a bit.
4374 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4375 `cache-pos' element from the return value.
4376 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4377 buffer to enable proper searching from beyond HERE. Amend the
4378 test for detecting the sought brace pair. Amend the value written
4379 to the "brace desert cache" when the brace isn't found.
4380 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4381 and several other variables analogously.
4382 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4383 parameter to a locally calculated variable.
4384 (c-parse-state-1): Change the calling conventions to the two
4385 defuns involving `cache-pos'.
4387 2013-01-25 Chong Yidong <cyd@gnu.org>
4389 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4391 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
4393 * paren.el (show-paren-function): Make sure to set 'priority and
4394 'face only if the overlay does exist.
4396 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
4398 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4400 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4402 (tramp-sh-handle-set-file-acl): Improve error checking.
4404 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
4406 * doc-view.el (doc-view-display): Force mode line update until all
4407 document is converted. Suggested by Stefan Monnier (Bug#13164).
4409 2013-01-23 Bastien Guerry <bzg@gnu.org>
4411 * paren.el (show-paren-function): Make sure an overlay exists
4412 before trying to delete it. Also use `pos' as a position only
4413 when it is an integer.
4415 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
4417 * play/gametree.el (gametree-break-line-here): Use point-marker.
4419 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
4421 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4422 Mark descriptive parts with `display' property.
4424 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4426 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4427 New variable to map standard dict names to hunspell ones.
4428 (ispell-set-spellchecker-params): Make sure specific dict names
4429 are used for standard dicts with hunspell.
4431 2013-01-21 Tassilo Horn <tsdh@gnu.org>
4433 * textmodes/reftex-cite.el (reftex-format-citation): Add format
4434 chars for note (%N) and url (%U).
4435 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4437 2013-01-21 Juri Linkov <juri@jurta.org>
4439 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4440 in addition to existing separate binding `meta f10' in `global-map'.
4443 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
4445 Improve XEmacs compatibility.
4447 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4449 * net/tramp-adb.el (top): Require `time-date'.
4450 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4451 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4452 Use `tramp-file-name-handler'.
4453 (tramp-adb-maybe-open-connection):
4454 Use `tramp-compat-set-process-query-on-exit-flag'.
4456 * net/tramp-sh.el (tramp-sh-handle-file-acl):
4457 Use `tramp-compat-funcall'.
4459 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4460 `tramp-compat-funcall'.
4462 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
4464 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4465 reimplementation using "adb shell command ..." instead of running
4466 remote shell interactively.
4468 2013-01-20 Glenn Morris <rgm@gnu.org>
4470 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4471 Add native profiler menu entries.
4473 * profiler.el (profiler-running-p): New function.
4474 (profiler-cpu-profile): Use profiler-running-p.
4475 (profiler-report-mode-map): Add some more menu entries.
4477 2013-01-19 Glenn Morris <rgm@gnu.org>
4479 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4480 fixes 2012-12-07 change. (Bug#13499)
4482 2013-01-19 Leo Liu <sdl.web@gmail.com>
4484 * dired.el (dired-get-marked-files): Prune erroneous values due to
4485 last change. (Bug#13152)
4487 2013-01-19 Glenn Morris <rgm@gnu.org>
4489 * progmodes/etags.el (tags-table-check-computed-list):
4490 Preserve point in tags buffer. (Bug#13412)
4492 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4494 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4495 Chong Yidong <cyd@gnu.org>
4497 * image-mode.el (image-next-file, image-previous-file):
4498 New commands (Bug#8453).
4499 (image-mode-map): Bind them to n and p.
4500 (image-mode--images-in-directory): New helper function.
4502 2013-01-19 Chong Yidong <cyd@gnu.org>
4504 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4505 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4506 save and restore the old window configuration.
4508 2013-01-18 Leo Liu <sdl.web@gmail.com>
4510 * progmodes/js.el: Tweak autoload cookie for alias.
4512 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4514 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4515 buffer local, again. This was lost with the fix on 2013-01-12.
4517 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
4519 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4520 order to support several eshell buffers in parallel.
4522 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4524 * autorevert.el (auto-revert-use-notify): In the :set function, do
4525 not modify `kill-buffer-hook'.
4526 (auto-revert-notify-rm-watch):
4527 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4528 (auto-revert-notify-add-watch): Do not call
4529 `auto-revert-notify-rm-watch', but add it to a buffer local
4532 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4535 call to `eval' rather than a backquoted lambda.
4537 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4539 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4540 to return an explicit nil.
4541 (advice--remove-function): Change accordingly.
4543 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4544 the use of nadvice.el.
4546 * progmodes/which-func.el (which-function): Silence imenu errors
4549 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4551 * progmodes/sql.el (sql-imenu-generic-expression):
4552 (sql-mode-font-lock-object-name): Match schema qualified names.
4553 (sql-connect): Use string keys.
4554 (sql-product-interactive): Wait for interpreter prompt.
4555 (sql-comint-oracle): Set process coding based on NLS_LANG.
4557 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4559 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4560 (sql-interactive-remove-continuation-prompt):
4561 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4563 2013-01-14 Leo Liu <sdl.web@gmail.com>
4565 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4568 2013-01-14 Glenn Morris <rgm@gnu.org>
4570 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4571 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4573 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
4575 * progmodes/python.el (python-nav-end-of-statement):
4576 Fix cornercase when handling multiline strings.
4578 2013-01-13 Richard Stallman <rms@gnu.org>
4580 * mail/sendmail.el (mail-position-on-field): Add doc string.
4582 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4583 Get current message boundaries and pass them to
4584 message-forward-make-body-mime. Minor style changes.
4586 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4588 * cus-start.el (all): Avoid warnings about
4589 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4591 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4593 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4595 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4597 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4598 (jit-lock--debug-fontifying): New var.
4599 (jit-lock--debug-fontify): New function.
4600 * subr.el (condition-case-unless-debug): Don't prevent catching the
4601 error, just let the debbugger run.
4602 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4603 timer code and don't drop errors silently.
4605 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4607 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4608 `permanent-local' property.
4609 (auto-revert-notify-handler): Use `file-equal-p'.
4611 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4613 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4614 file notification by ACTION. For filtering by file name, compare
4615 only the non-directory part of the file name.
4617 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * autorevert.el: Use cl-lib instead of cl.
4621 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4622 (vc-bzr-checkin): Use it.
4623 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4624 will preserve match-data.
4626 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4628 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4629 (js--declaration-keyword-re): New var.
4630 (js--multi-line-declaration-indentation): New function.
4631 (js--proper-indentation): Use it.
4633 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4635 * calc/calc.el (calc-highlight-selections-with-faces)
4637 * comint.el (comint-history-isearch-message):
4638 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4639 * ffap.el (ffap-string-at-point-region, ffap-next)
4640 (ffap-string-at-point, ffap-string-around)
4641 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4643 * font-lock.el (font-lock-keywords-alist)
4644 (font-lock-removed-keywords-alist):
4645 * help-mode.el (help-xref-symbol-regexp):
4646 * info.el (Info-find-emacs-command-nodes):
4647 * international/mule.el (add-to-coding-system-list):
4648 * isearch.el (isearch-message-function, isearch-fail-pos):
4649 * misearch.el (multi-isearch-next-buffer-function):
4650 * newcomment.el (comment-box):
4651 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4652 (pr-setting-database):
4653 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4654 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4655 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4656 (pike-font-lock-keywords-3):
4657 * progmodes/compile.el (compile):
4658 * progmodes/etags.el (tags-table-files)
4659 (tags-table-files-function, tags-included-tables-function):
4660 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4661 (gdb-restore-windows):
4662 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4663 (ps-n-up-filling-database):
4664 * server.el (server-buffer, server-log):
4665 * simple.el (newline, delete-backward-char, delete-forward-char)
4666 (minibuffer-history-isearch-message, kill-line, track-eol)
4667 (temporary-goal-column):
4668 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4669 (flyspell-default-deplacement-commands):
4670 * textmodes/ispell.el (ispell-accept-output):
4671 * textmodes/sgml-mode.el (html-tag-help):
4672 * vc/compare-w.el (compare-ignore-whitespace)
4673 (compare-ignore-case, compare-windows-dehighlight):
4674 * vc/diff.el (diff):
4675 * whitespace.el (whitespace-point)
4676 (whitespace-font-lock-refontify, whitespace-bob-marker)
4677 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4679 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4681 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4682 (auto-revert-notify-rm-watch): Ignore errors.
4683 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4684 inotify, and '(size last-write-time) for w32notify.
4685 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4686 watch fails - this is a fallback to the file modification check.
4687 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4688 (auto-revert-notify-event-action)
4689 (auto-revert-notify-event-file-name): New defuns.
4690 (auto-revert-notify-handler): Use them. Implement first
4691 plausibility checks.
4692 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4694 2013-01-11 Julien Danjou <julien@danjou.info>
4696 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4697 max are almost equal. Also return the correct value for V which is
4698 already between 0 and 1.
4700 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4702 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4704 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4706 * autorevert.el (auto-revert-notify-rm-watch)
4707 (auto-revert-notify-add-watch): Fix typos in w32notify function
4710 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4712 * autorevert.el (auto-revert-notify-enabled): Move up.
4713 (auto-revert-use-notify): New defcustom.
4714 (auto-revert-mode, global-auto-revert-mode)
4715 (auto-revert-notify-add-watch, auto-revert-handler)
4716 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4717 `auto-revert-notify-enabled'.
4719 2013-01-10 Elias Pipping <pipping@exherbo.org>
4721 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4722 * doc-view.el (doc-view-document->bitmap):
4723 Use doc-view-single-page-converter-function instead of
4724 single-page-converter arg; adjust callers.
4726 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4728 * progmodes/which-func.el (which-function): Understand Semantic's use
4729 of overlays in imenu--index-alist.
4731 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4733 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4734 (Man-man-k-use-anchor): New var.
4735 (Man-parse-man-k): New function.
4736 (Man-completion-table): Use it.
4737 (man): Flush the completion cache between uses.
4739 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4741 * autorevert.el: Add file watch support.
4742 (auto-revert-notify-enabled): New defconst.
4743 (auto-revert-notify-watch-descriptor-hash-list)
4744 (auto-revert-notify-watch-descriptor)
4745 (auto-revert-notify-modified-p): New defvars.
4746 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4747 (auto-revert-notify-handler): New defuns.
4748 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4749 when mode is disabled.
4750 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4751 (auto-revert-buffers): Add file watches for active buffers.
4753 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4755 * cus-start.el (toplevel): Only allow float values for
4756 scroll-up-aggressively and scroll-down-aggressively.
4757 Allow any number for line-spacing.
4759 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4762 (doc-view-pdf->png-converter-function): Use mupdf if available.
4763 (doc-view-djvu->png-converter-function)
4764 (doc-view-ps->png-converter-function): Remove.
4765 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4766 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4767 (doc-view-already-converted-p): Adjust accordingly.
4768 (doc-view-mode-p): Simplify.
4769 (doc-view-enlarge): Use setq-local.
4770 (doc-view-pdf->png-converter-ghostscript)
4771 (doc-view-djvu->png-converter-ddjvu)
4772 (doc-view-pdf->png-converter-mupdf): Rework to call
4773 doc-view-start-process directly.
4774 (doc-view-pdf/ps->png): Simplify accordingly.
4775 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4776 (doc-view-document->bitmap): Rename from doc-view-document->png.
4777 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4778 (doc-view-set-slice-from-bounding-box): Fix completion table.
4779 (doc-view-mode): Use add-hook for after-revert-hook.
4781 2013-01-10 Glenn Morris <rgm@gnu.org>
4783 * emacs-lisp/authors.el (authors-ignored-files)
4784 (authors-valid-file-names, authors-renamed-files-alist):
4785 Add some more entries.
4787 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4789 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4790 `t' pseudo-window entry.
4792 2013-01-10 Alan Mackenzie <acm@muc.de>
4794 Fix bugs in the c-parse-state mechanism. Reuse some markers
4795 instead of continually generating new ones.
4797 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4798 (c-state-old-cpp-end-marker): New variables.
4799 (c-append-lower-brace-pair-to-state-cache): Start a backward
4800 search for "}" definitively outside CPP constructs.
4801 (c-remove-stale-state-cache): Inform the caller of a need to
4802 search back for a brace pair in certain circumstances.
4803 (c-state-maybe-marker): New macro.
4804 (c-parse-state): Reuse markers when appropriate.
4806 2013-01-10 Glenn Morris <rgm@gnu.org>
4808 * simple.el (execute-extended-command): Doc fix.
4809 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4811 2013-01-10 Chong Yidong <cyd@gnu.org>
4813 * faces.el (read-face-name): Doc fix.
4815 2013-01-10 Roland Winkler <winkler@gnu.org>
4817 * emacs-lisp/crm.el: Allow any regexp for separators.
4818 (crm-default-separator): All spaces around the default comma separator.
4819 (crm--completion-command): New macro.
4820 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4821 (crm-complete-and-exit): Handle non-single-char separators.
4823 2013-01-09 Elias Pipping <pipping@lavabit.com>
4825 * doc-view.el: Add support for DjVu (bug#13164).
4826 (doc-view-djvu->png-converter-function): New config var.
4827 (doc-view-single-page-converter-function, doc-view--image-type)
4828 (doc-view--image-file-extension): New vars.
4829 (doc-view-mode): Initialize them.
4830 (doc-view-goto-page): Use them.
4831 (doc-view-mode-p): Add support for ddjvu.
4832 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4833 (doc-view-set-up-single-converter): New funs.
4834 (doc-view-pdf/ps->png): Extend for djvu.
4835 (doc-view-document->png): Rename from doc-view-pdf->png.
4836 (doc-view-convert-current-doc): Handle djvu.
4837 (doc-view-insert-image, doc-view-display)
4838 (doc-view-already-converted-p): Don't hardcode png.
4839 (doc-view-set-doc-type): Recognize djvu docs.
4841 2013-01-09 Elias Pipping <pipping@lavabit.com>
4843 * doc-view.el: Add support for mupdf converter (bug#13164).
4844 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4845 (doc-view-ps->png-converter-function): New config vars.
4846 (doc-view-pdf->png-converter-ghostscript)
4847 (doc-view-ps->png-converter-ghostscript)
4848 (doc-view-pdf->png-converter-mupdf): New functions.
4849 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4851 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4853 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4854 first in session cache: When `tramp-own-remote-path' is in
4855 `tramp-remote-path', the remote path is only set in the session
4858 2013-01-09 Glenn Morris <rgm@gnu.org>
4860 * emacs-lisp/trace.el (trace-function-foreground)
4861 (trace-function-background): Doc fix.
4863 2013-01-09 Juri Linkov <juri@jurta.org>
4865 * international/mule-cmds.el (read-char-by-name): Move let-binding
4866 of completion-ignore-case around completing-read to fix regression
4867 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4868 `string-match-p' using the nil value of `case-fold-search' and
4869 `completion-ignore-case' in `completion-pcm--all-completions'.
4872 2013-01-09 Glenn Morris <rgm@gnu.org>
4874 * progmodes/compile.el (compilation-parse-errors):
4875 Fix typo. (Bug#13369)
4877 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4879 * comint.el (comint-send-input): Check size of buffer before
4880 waiting for process output, in case already accepted. (Bug#13290)
4882 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4885 * net/tramp-adb.el (tramp-adb-get-toolbox):
4886 Fix misspelling of 'unknown'.
4888 2013-01-08 Juri Linkov <juri@jurta.org>
4890 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4891 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4892 Use underline style wave on terminals that support it. (Bug#13000)
4894 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4897 the predicate returns nil.
4899 * simple.el: Use lexical-binding.
4900 (primitive-undo): Use pcase.
4901 (minibuffer-history-isearch-push-state): Use a closure.
4903 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4905 * simple.el (primitive-undo): Move from undo.c.
4907 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4909 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4910 (cvs-mode-remove-handled): Use it (bug#13380).
4912 * emacs-lisp/nadvice.el (advice--tweak): New function.
4913 (advice--remove-function, advice--subst-main): Use it.
4915 * emacs-lisp/advice.el: Update commentary.
4917 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4919 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4920 Remove spurious entry.
4922 2013-01-08 Glenn Morris <rgm@gnu.org>
4924 * net/tramp.el (tramp-default-host-alist): Add :version.
4926 2013-01-08 Juri Linkov <juri@jurta.org>
4928 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4929 single completion. (Bug#12456)
4930 (info--manual-names): Expand node completions into an explicit list
4931 before appending it to another list. Filter out internal buffers
4932 with the leading space in the buffer name. (Bug#10771)
4934 2013-01-08 Juri Linkov <juri@jurta.org>
4936 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4937 that defaults to the Top node.
4938 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4939 the short format (FILENAME) goes to the Top node.
4940 (Info-build-node-completions): Rename arg `file' to `filename'.
4943 2013-01-07 Bastien Guerry <bzg@gnu.org>
4945 * menu-bar.el (menu-bar-search-documentation-menu):
4946 Use `apropos-user-option' and fix the help message.
4948 2013-01-07 Bastien Guerry <bzg@gnu.org>
4950 * apropos.el (apropos-do-all): Update docstring.
4951 (apropos-user-option-button): New face.
4952 (apropos-user-option): Rename from `apropos-variable' and update
4954 (apropos-variable): Rewrite, now show all variables by default.
4955 (apropos-print): Mention "User option" instead of "Variable" when
4956 printing doc for user options. (Bug#13276)
4958 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4960 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4961 Handle filename correctly, when parsing "source -> target" symlink
4963 (tramp-adb-handle-set-file-times): New defun.
4965 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4967 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4968 advice list when the interactive-spec of ad-Advice-* changes.
4970 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4972 * wid-edit.el (widget-default-get): Work for inlined elements.
4975 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4977 * net/tramp.el (tramp-default-host-alist): New defcustom.
4978 (tramp-find-host): Use it.
4979 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4980 `eshell-directory-change-hook'.
4982 * net/tramp-adb.el (top): Add adb specific entry in
4983 `tramp-default-host-alist'.
4984 (tramp-adb-file-name-host): Remove function.
4985 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4986 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4988 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4990 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4992 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4994 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4996 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4997 consist of more than one digit.
4998 (tramp-adb-file-name-handler-alist):
4999 Use `tramp-handle-file-exists-p' consistently.
5000 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
5001 (tramp-adb-handle-file-exists-p): Remove function.
5002 (tramp-adb-file-name-host): New defun.
5003 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
5005 (tramp-adb-maybe-open-connection): Set "remote-path" property.
5007 2013-01-06 Chong Yidong <cyd@gnu.org>
5009 * vc/vc.el (vc-next-action): Detect buffer modifications
5010 conflicting with locking VCS operation (Bug#11490).
5012 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
5014 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
5016 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
5017 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
5019 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
5021 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
5022 parsing of ls output using regular expression (handle filenames
5023 with spaces). Use virtual device number.
5024 (tramp-do-parse-file-attributes-with-ls): New defun (Code
5027 2013-01-04 Daiki Ueno <ueno@gnu.org>
5029 * epg.el: Silence byte-compiler warnings.
5030 (epg--start): Use delete-char instead of delete-backward-char.
5031 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
5033 2013-01-04 Daiki Ueno <ueno@gnu.org>
5035 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
5036 Suggested by Eli Zaretskii <eliz@gnu.org>.
5038 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
5040 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5041 non-negative integers. Otherwise, the default values are used.
5042 (tramp-convert-file-attributes): Convert uid and gid to integers.
5044 2013-01-04 Glenn Morris <rgm@gnu.org>
5046 * term.el (term-handle-colors-array): Ensure face attributes
5047 are fully specified, not nil. (Bug#13337)
5049 * term.el (term-default-fg-color, term-default-bg-color):
5052 * progmodes/etags.el (tags-compression-info-list): Doc fix.
5053 (tag-find-file-of-tag-noselect): Check auto-compression-mode
5054 rather than 'jka-compr being loaded. (Bug#13338)
5056 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
5058 * icomplete.el (icomplete-completions):
5059 Honor icomplete-prospects-height once more following
5060 2012-11-29 changes. (Bug#13224)
5062 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * subr.el (internal--called-interactively-p--get-frame): Find aliases
5065 of called-interactively-p as well (bug#13237).
5067 * view.el (view--enable, view--disable): Rename from view-mode-enable
5068 and view-mode-disable and assume it's called from view-mode.
5069 (view-mode-enable, view-mode-disable): Redefine as obsolete
5070 compatibility layer above view-mode.
5071 (view-mode-enter): Call `view-mode'.
5073 * files.el (after-find-file): Call `view-mode'.
5075 * doc-view.el (doc-view-scale-internally): New var.
5076 (doc-view-enlarge, doc-view-insert-image): Obey it.
5078 2013-01-03 Daiki Ueno <ueno@gnu.org>
5080 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5083 2013-01-03 Glenn Morris <rgm@gnu.org>
5085 * mail/rmail.el (rmail-set-header-1): Ignore case.
5086 Handle multi-line headers. (Bug#13330)
5088 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5089 Handle paragraph starting at beginning of buffer.
5091 * subr.el (eval-after-load): Don't purecopy the form, so that it
5092 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
5094 * emacs-lisp/byte-run.el (defun): Place cl declarations
5095 after any interactive spec. (Bug#13265)
5097 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5099 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5100 defun. Don't check for DECL if DOCSTRING isn't a string.
5103 2013-01-02 Glenn Morris <rgm@gnu.org>
5105 * eshell/em-cmpl.el (eshell-pcomplete):
5106 More thoroughly imitate pcomplete. (Bug#13293)
5108 * files.el (parse-colon-path): Doc fix. (Bug#12351)
5109 Return nil for empty path elements. (Bug#13296)
5111 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
5113 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5114 order to improve efficiency (Based on Daniel Colascione's
5115 <dancol@dancol.org> patch). (Bug#13182)
5117 2013-01-02 Glenn Morris <rgm@gnu.org>
5119 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5121 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5123 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5124 neither DOCSTRING nor DECL was given. (Bug#13316)
5126 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
5128 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5130 (tramp-do-copy-or-rename-file): Ignore errors when calling
5131 `set-file-extended-attributes'.
5133 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5134 Add handler for `file-acl'.
5135 (tramp-smb-handle-file-acl): New defun.
5137 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
5139 * calc/README: Mention ISO 8601 week-numbering dates.
5141 2013-01-01 Martin Rudalics <rudalics@gmx.at>
5143 * view.el (view-mode-enable): New argument run-view-mode-hook.
5144 Run view-mode-hook only when it's non-nil (Bug#13315).
5145 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5148 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
5150 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5151 (No device connected, invalid device name). (Bug #13299)
5153 2012-12-31 Martin Rudalics <rudalics@gmx.at>
5155 * window.el (window-resizable--p): Rename to window-resizable-p.
5156 (window-resize-no-error): New function.
5158 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5159 broken in fix from 2012-12-28.
5161 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * subr.el (special-form-p): Don't signal errors on undef aliases.
5165 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
5167 * calc/calc-forms.el (math-parse-date): Try using
5168 `math-parse-iso-date' when it looks like it might be needed.
5169 Allow times of 24:00.
5170 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5173 2012-12-30 Glenn Morris <rgm@gnu.org>
5175 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5176 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
5177 (rmail-summary-displayed, rmail-summary): Declare.
5178 (mairix-rmail-display): Just require rmail.
5180 2012-12-30 Chong Yidong <cyd@gnu.org>
5182 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5183 check for the tarball contents.
5185 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
5187 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5188 tarfile content listings (Bug#13136).
5190 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
5192 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5193 Insert the undecoded text of the message being forwarded. (Bug#9521)
5195 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
5197 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5198 integers, if they are real numbers. (Bug#13282)
5200 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5201 Return `t' on success.
5203 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5204 Add handler for `set-file-selinux-context'.
5206 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
5208 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5209 (tramp-sh-handle-set-file-acl): Return `t' on success.
5211 2012-12-29 Eli Zaretskii <eliz@gnu.org>
5213 * files.el (backup-buffer-copy, basic-save-buffer-2):
5214 If set-file-extended-attributes fails, fall back on set-file-modes
5215 instead of signaling an error. (Bug#13298)
5216 (basic-save-buffer): Likewise.
5218 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5220 * progmodes/python.el: Support other commands triggering
5221 python-indent-line so indentation cycling continues to work.
5222 (python-indent-trigger-commands): New defcustom.
5223 (python-indent-line): Use it.
5225 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5227 * progmodes/python.el (python-shell-send-region): Add blank lines
5228 for non sent code so backtraces remain correct.
5230 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
5232 * progmodes/python.el: Remove cl dependency.
5233 (python-syntax-count-quotes): Replace incf call.
5234 (python-fill-string): Replace setf call.
5236 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
5238 * info.el (info-other-window): New arg, for consistency with info.
5240 2012-12-28 Martin Rudalics <rudalics@gmx.at>
5242 * mail/rmail.el (rmail-maybe-display-summary):
5243 Rewrite (Bug#13066).
5245 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
5247 * epg.el (epg--start): Modify process-environment locally.
5249 2012-12-28 Daiki Ueno <ueno@gnu.org>
5251 * epg.el: Support pinentry-curses.
5252 Suggested by Werner Koch in
5253 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5254 (epg-agent-file, epg-agent-mtime): New variable.
5255 (epg--start): Record the modified time of gpg-agent socket file,
5256 to restore Emacs frame after pinentry-curses termination.
5257 (epg-wait-for-completion): Restore Emacs frame here.
5259 2012-12-27 Juri Linkov <juri@jurta.org>
5261 * info.el (Info-file-completions): New variable.
5262 (Info-read-node-name-1): Complete node names in the Info file
5263 when a file name is given. Call `Info-build-node-completions'
5265 (Info-build-node-completions): Add new arg `file'. When it is
5266 non-nil, visit it in a temporary buffer and cache its completions in
5267 `Info-current-file-completions'. Move most of the function body to
5268 `Info-build-node-completions-1'.
5269 (Info-build-node-completions-1): New function with the body from
5270 `Info-build-node-completions'. (Bug#12456)
5272 2012-12-27 Juri Linkov <juri@jurta.org>
5274 * frame.el (frame-maximization-style): Remove user option.
5275 (cycle-frame-maximized): Remove function.
5276 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5277 (toggle-frame-fullscreen): New command bound to <f11> instead of
5278 `toggle-frame-maximized'.
5279 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5281 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
5283 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5285 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5286 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5287 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5288 for `file-accessible-directory-p'. (Bug#13275)
5290 2012-12-27 Sam Steingold <sds@gnu.org>
5292 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5293 continuations, see <http://stackoverflow.com/questions/3582436>.
5295 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
5297 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5298 "module" and "def" to have indentation before them.
5299 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5301 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5303 2012-12-27 Alan Mackenzie <acm@muc.de>
5305 Speed up fontification where there's large brace blocks.
5306 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5307 to a call of c-beginning-of-decl-1.
5309 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
5311 * comint.el (comint-adjust-window-point): New function.
5312 (comint-postoutput-scroll-to-bottom):
5313 Call comint-adjust-window-point (Bug#13248).
5315 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
5317 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5319 (auto-mode-alist): Associate .gemspec files with ruby-mode
5320 (https://bugs.ruby-lang.org/issues/5453).
5322 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
5324 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5325 Suppress coloring, if possible (required for BusyBox based systems like
5327 (tramp-adb-handle-file-attributes)
5328 (tramp-adb-handle-insert-directory)
5329 (tramp-adb-handle-file-name-all-completions): Use it.
5330 (tramp-adb-get-toolbox): New defun. Check for remote shell
5331 implementation (BusyBox or Toolbox).
5333 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
5335 * startup.el (initial-buffer-choice): Allow function as value
5337 (command-line-1): Handle case where initial-buffer-choice
5338 specifies a function.
5339 * server.el (server-execute): Handle case where
5340 initial-buffer-choice specifies a function.
5342 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5344 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5346 (smtpmail-try-auth-methods): Forget the user name/password if the
5347 login is unsuccessful (bug#12424).
5349 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
5351 * notifications.el (notifications-notify): Protect body with
5352 `with-demoted-errors'.
5354 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5355 Check properties of remote device. Restart connection, if there is a
5358 2012-12-21 Chong Yidong <cyd@gnu.org>
5360 * sort.el (sort-subr): Doc fix (Bug#13056).
5362 2012-12-21 Bastien Guerry <bzg@gnu.org>
5364 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
5366 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
5368 * simple.el (process-file): Overwrite stderr file, if exists.
5370 2012-12-21 Daiki Ueno <ueno@gnu.org>
5372 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5373 (epg-error): Set `error-message' property.
5375 2012-12-21 Chong Yidong <cyd@gnu.org>
5377 * international/mule-cmds.el (read-char-by-name): Signal an error
5378 if the user does not supply a valid character (Bug#13177).
5380 * simple.el (transpose-subr-1): Preserve marker positions by
5381 changing the insertion sequence (Bug#13122).
5383 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5385 * simple.el (kill-region): Deactivate mark even for empty regions
5388 2012-12-21 Chong Yidong <cyd@gnu.org>
5390 * help-fns.el (describe-variable): Make sure we get the right
5391 buffer name (Bug#13105). Suggested by Kelly Dean.
5393 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
5395 * comint.el (comint-redirect-previous-input-string): New variable.
5396 (comint-redirect-setup, comint-redirect-cleanup)
5397 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
5398 (comint-redirect-preoutput-filter): Fix verbose message.
5400 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
5402 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
5403 is too long for Tramp. See discussion in
5404 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5406 * progmodes/compile.el (compilation-start): Remove line escape
5409 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
5411 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5414 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
5416 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5417 following non-comment text (bug#13207).
5418 (lm-header-multiline): Continuation lines need to be indented more than
5420 (lm-homepage): New function.
5421 (lm-with-file): Don't be confused if narrowing is in effect.
5423 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5426 very beginning of a hunk (e.g. killing the first line).
5428 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
5430 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5431 and text properties from returned ACL string.
5432 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5433 for "setfacl" command.
5435 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
5437 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5438 `tramp-cleanup-this-connection', when the process has died.
5441 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5443 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
5445 2012-12-17 Kevin Ryde <user42@zip.com.au>
5447 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5449 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
5451 Add support for preserving ACL entries of files.
5453 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5454 `set-file-acl' handlers.
5456 * net/tramp-adb.el (tramp-adb-handle-copy-file):
5457 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5459 * net/tramp-compat.el (tramp-compat-copy-file):
5460 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5462 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5463 Add `file-acl' and `set-file-acl' handlers.
5464 (tramp-gvfs-handle-copy-file):
5465 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5466 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5469 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5470 Add `file-acl' and `set-file-acl' handlers.
5471 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5472 (tramp-sh-handle-set-file-acl): New defuns.
5473 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5474 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5476 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5477 Add `file-acl' and `set-file-acl' handlers.
5478 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5480 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5482 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5483 use pop-to-buffer with NORECORD argument t. As buffer name, use
5484 *Metahelp* with a leading space (Bug#13190).
5486 2012-12-16 Romain Francoise <romain@orebokech.com>
5488 * files.el (file-extended-attributes)
5489 (set-file-extended-attributes): New functions.
5490 (backup-buffer): Use them to handle both SELinux context and ACL
5492 (backup-buffer-copy): Work with an alist of extended attributes,
5493 rather than an SELinux context.
5494 (basic-save-buffer-2): Ditto.
5496 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5498 * battery.el (battery-bsd-apm): New function.
5500 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5502 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5503 standard date formats.
5505 2012-12-15 Juri Linkov <juri@jurta.org>
5507 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5508 `isearch-insert-char-by-name'.
5509 (with-isearch-suspended): New defmacro with body mostly from
5510 `isearch-edit-string' except the part that sets
5511 `isearch-new-string' and `isearch-new-message'.
5512 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5513 body that sets `isearch-new-string' and `isearch-new-message'.
5514 (isearch-insert-char-by-name): New command.
5515 * international/mule-cmds.el (read-char-by-name): Let-bind
5516 `enable-recursive-minibuffers' to t.
5517 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5519 2012-12-15 Juri Linkov <juri@jurta.org>
5521 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5524 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5526 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5527 the prompt. (Bug#13045)
5529 2012-12-14 Glenn Morris <rgm@gnu.org>
5531 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5532 Try to include filename in non-bytecomp warning. (Bug#13132)
5534 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5536 Fix permissions bugs with setgid directories etc. (Bug#13125)
5537 * files.el (backup-buffer): Don't rely on 9th output of
5538 file-attributes, as it's now a placeholder. Instead, use the new
5539 optional arg of file-ownership-preserved-p.
5540 (file-ownership-preserved-p): New optional arg GROUP.
5541 Fix mishandling of setuid directories that would cause this
5542 function to return t when it should have returned nil.
5543 Document what happens if the file does not exist, and when
5544 it's not known whether the ownership will be preserved.
5545 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5547 (tramp-get-local-gid): Use group-gid for integer, as that's
5548 faster and more reliable.
5550 2012-12-14 Julien Danjou <julien@danjou.info>
5552 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5553 Update keywords list, data type and PL/pgSQL.
5555 2012-12-14 Dave Abrahams <dave@boostpro.com>
5557 * vc/ediff-util.el (ediff-buffer-type): New function.
5558 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5559 rather than taking it as as argument.
5560 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5562 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5564 * json.el: Add pretty-print option (bug#12634).
5565 (json-encoding-separator, json-encoding-default-indentation)
5566 (json--encoding-current-indentation, json-encoding-pretty-print)
5567 (json-encoding-lisp-style-closings): New vars.
5568 (json--with-indentation): New macro.
5569 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5570 (json-encode-array): Use it to obey json-encoding-pretty-print.
5571 (json-pretty-print-buffer, json-pretty-print): New commands.
5573 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5575 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5576 Extract `ruby-syntax-propertize-expansions'.
5577 (ruby-syntax-propertize-expansions): Only change syntax on
5578 certain string delimiters, to punctuation. This way the common
5579 functions like forward-word and thing-at-point still work.
5580 (ruby-match-expression-expansion): Improve readability.
5581 (ruby-block-contains-point): New function.
5582 (ruby-add-log-current-method): Handle several edge cases.
5584 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5586 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5587 unload-feature finishes even when aborting an ongoing edebug session.
5588 Also, do not worry about edebug-mode, unload-feature takes care of it.
5590 2012-12-13 Andreas Schwab <schwab@suse.de>
5592 * net/tls.el (tls-program): Update customize type.
5594 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5596 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5597 (edebug-setup-hook, cl-read-load-hooks): Use it.
5598 (edebug-unload-function): New function. (Bug#13163)
5600 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5602 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5603 Otherwise, there could be errors in autoloading. (Bug#13151)
5605 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5607 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5610 2012-12-13 Alan Mackenzie <acm@muc.de>
5612 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5613 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5614 around `forward-comment' not recognizing ^M as whitespace.
5616 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5618 * progmodes/python.el (python-skeleton-class)
5619 (python-skeleton-def): Do not add space after defun name.
5621 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5624 (cl--symbol-function): Remove (now that funbound is like nil).
5626 2012-12-12 Glenn Morris <rgm@gnu.org>
5628 * button.el (button--area-button-p): Fix typo.
5630 2012-12-12 Sam Steingold <sds@gnu.org>
5632 * frame.el (frame-maximization-style): New user option.
5633 (toggle-frame-maximized): Toggle frame maximization according to
5634 `frame-maximization-style', bound to <f11>.
5635 (cycle-frame-maximized): Cycle between all maximization styles and
5636 non-maximized frame, bound to shift-<f11>.
5638 2012-12-12 David Cadé <codename68@gmail.com>
5640 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5642 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5644 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5645 (eieio-override-prin1): Don't quote kewords and booleans.
5646 (object-write) <eieio-default-superclass>: Don't put closing parens
5647 on new line, avoid needless empty lines, align values that are objects
5648 with the slot keyword (instead of beginning on the same line).
5649 (eieio-list-prin1): Align value with slot keyword; increase
5650 eieio-print-depth before printing members of the list.
5652 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5655 a display text-property.
5656 (report-emacs-bug-hook): Don't bother deleting it any more.
5658 * hilit-chg.el (highlight-save-buffer-state): Delete.
5659 Use with-silent-modifications instead.
5660 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5662 * button.el: Handle buttons in display text-properties.
5663 (button--area-button-p, button--area-button-string):
5664 Use (STRING . STRING-POS) representation instead of just STRING.
5666 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5668 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5669 subdirectory be skipped.
5671 2012-12-11 Glenn Morris <rgm@gnu.org>
5673 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5675 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5676 Treat preprocessor lines embedded in continuations like comments.
5677 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5679 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5681 * calc/calc.el (calc-standard-date-formats): Add more date
5683 * calc/calc-forms.el (math-parse-iso-date): New function.
5684 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5685 (math-parse-iso-date-validate): Add extra error checking.
5686 (calc-date-notation): Add ability to access new date formats.
5688 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5690 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5691 font-lock as well as when there's no text-property.
5693 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5695 * hi-lock.el: Refine the choice of default face.
5696 (hi-lock-keyword->face): New function. Use it wherever we used
5698 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5699 (hi-lock--last-face): Remove var.
5700 (hi-lock--unused-faces): New var to replace it.
5701 (hi-lock-read-face-name): Use/maintain it.
5702 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5703 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5704 if it has another face.
5706 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5708 * subr.el (w32notify-handle-event): New function.
5709 (inotify-handle-event): Doc fix.
5711 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5713 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5715 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5717 * simple.el (just-one-space): Doc fix.
5719 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5721 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5723 2012-12-10 Le Wang <l26wang@gmail.com>
5725 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5726 narrowed buffer (bug#12361).
5728 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5730 * vc/vc-hooks.el (vc-state): Doc fix.
5732 2012-12-10 Glenn Morris <rgm@gnu.org>
5734 * mail/rmail.el (rmail-maybe-display-summary):
5735 Preserve buffer, in case select-window changes it. (Bug#13066)
5737 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5740 cl-load-hook where they belong.
5742 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5744 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5746 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5748 Parallelize byte compilation on MS-Windows.
5749 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5750 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5751 (WINS_BASIC): Define as concatenation of the above.
5752 (compile): Subdivide into 4 separate and independent jobs that can
5754 (compile0-CMD, compile0-SH): New targets for compiling
5755 COMPILE_FIRST files, which are prerequisites for the rest of the
5757 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5758 New targets for parallel compilation with cmd.exe.
5759 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5760 compiling under a Unixy shell.
5762 2012-12-09 Chong Yidong <cyd@gnu.org>
5764 * simple.el (set-mark-default-inactive): Delete this
5765 accidentally-introduced option.
5766 (set-mark-command, exchange-point-and-mark): Remove calls.
5768 2012-12-09 Glenn Morris <rgm@gnu.org>
5770 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5771 Respect a defcustom's :set function, if appropriate. (Bug#109)
5772 (eval-defun): Doc fix.
5774 2012-12-08 Juri Linkov <juri@jurta.org>
5776 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5777 (Info-fontify-node, Info-bookmark-make-record): Remove the
5778 file extension from Info-current-file (Bug#13016).
5780 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5783 point, still provide some default.
5784 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5785 names, since we don't use it right now. Actually return the list.
5786 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5788 2012-12-07 Chong Yidong <cyd@gnu.org>
5790 * novice.el (disabled-command-function): Remove a spurious help
5791 xref (Bug#13043). Suggested by Kelly Dean.
5793 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5794 syntax is specified (Bug#13025).
5796 * info.el (Info-set-mode-line): Remove the file extension from
5797 Info-current-file if there is one (Bug#13016).
5799 2012-12-07 Glenn Morris <rgm@gnu.org>
5801 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5802 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5803 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5804 and rmail-mime-decoded. (Bug#9841)
5806 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5807 (batch-unrmail, unrmail): Doc fixes.
5808 (unrmail): Respect unrmail-mbox-format.
5809 * mail/rmail.el (rmail-mbox-format): New option.
5810 (rmail-show-message-1): Respect rmail-mbox-format.
5812 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5814 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5816 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5818 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5819 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5820 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5821 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5822 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5823 (cl-progv): Don't rely on dynamic scoping to find the body.
5824 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5825 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5826 (cl-declaim): Use backquotes.
5827 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5828 Use "cl--" prefix for the object's tag.
5830 * ses.el: Use advice-add/remove.
5831 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5832 (copy-region-as-kill, yank): Use advice-add.
5833 (ses-unload-function): Use advice-remove.
5835 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5837 * button.el: Make them work in header-lines (bug#12817).
5838 (button-map): Add bindings for header-line and mode-line use.
5839 (button-get, button-put, button-label): `button' may now be a string.
5840 (button-activate): Don't make it a defsubst.
5841 (button--area-button-p, button--area-button-string): New functions.
5842 (make-text-button): Fix the return value when `beg' was a string.
5843 (push-button): Handle the mode-line case.
5845 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5848 (sql-signum): Remove. Use `cl-signum' instead.
5849 (sql-read-passwd): Remove; use read-passwd instread.
5850 (sql-get-login-ext): Use read-string.
5851 (sql-get-login): Use dolist and pcase.
5852 (sql--completion-table): Rename from sql-try-completion.
5853 Use complete-with-action.
5854 (sql-mode): Don't change abbrev-all-caps globally.
5855 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5856 (sql-postgres-completion-object): Initialize vars in their `let'.
5857 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5858 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5859 (sql-comint-interbase): Use a single append, without setq.
5860 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5862 * hi-lock.el: Rework the default face and the serialize regexp code.
5863 (hi-lock--auto-select-face-defaults): Remove.
5864 (hi-lock-string-serialize-serial): Remove.
5865 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5867 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5869 (hi-lock-set-pattern): Adjust accordingly.
5870 (hi-lock--regexps-at-point): Simplify accordingly.
5871 (hi-lock--auto-select-face-defaults): Remove.
5872 (hi-lock--last-face): New var to replace it.
5873 (hi-lock-read-face-name): Rewrite (bug#11095).
5874 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5876 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5878 * net/tramp.el (tramp-replace-environment-variables):
5879 Hide compiler warning.
5880 (tramp-file-name-for-operation): Remove `executable-find',
5881 `start-process', `call-process' and `call-process-region'.
5883 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5885 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5888 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5890 2012-12-06 Chong Yidong <cyd@gnu.org>
5892 * ffap.el (ffap-replace-file-component): Fix typo.
5894 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5897 fix open-paren-like token test (bug#12785).
5899 2012-12-06 Glenn Morris <rgm@gnu.org>
5901 * mail/rmailsum.el (rmail-new-summary): Tweak for
5902 rmail-maybe-display-summary changing buffer. (Bug#13066)
5904 2012-12-06 Juri Linkov <juri@jurta.org>
5906 * info.el (Info-fontify-node): Don't hide the last newline.
5909 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5911 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5912 so as to enable message-read-from-minibuffer to expand mail aliases.
5914 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5916 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5917 the `intangible' property.
5918 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5920 2012-12-05 Deniz Dogan <deniz@dogan.se>
5922 * net/rcirc.el (rcirc-urls): Update documentation.
5923 (rcirc-condition-filter): New function.
5924 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5925 and exclude consecutive duplicate URLs (Bug#6082).
5927 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5929 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5930 Check return code of copy command.
5932 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5933 Use group `tramp'. Add version.
5935 2012-12-05 Chong Yidong <cyd@gnu.org>
5937 * ffap.el (ffap-url-regexp): Don't require matching at front of
5939 (ffap-url-p): If only a substring matches, return that.
5940 (ffap-url-at-point): Use the return value of ffap-url-p.
5941 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5942 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5943 (ffap-guess-file-name-at-point): Likewise.
5944 (ffap-replace-file-component): Fix typo.
5946 * info.el (info-display-manual): Add existing Info buffers, whose
5947 files may not be in Info-directory-list, to the completion.
5948 (info--manual-names): New helper function.
5950 2012-12-05 Glenn Morris <rgm@gnu.org>
5952 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5953 New functions, for detecting and resolving conflicts. (Bug#10709)
5955 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5957 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5958 (hi-lock-auto-select-face-defaults): New buffer local variable.
5959 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5960 (hi-lock-unface-buffer): Prompt user with useful defaults.
5961 With prefix arg, unhighlight all hi-lock patterns in buffer.
5963 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5965 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5967 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5969 * Makefile.in (TRAMP_SRC):
5970 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5972 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5974 * net/tramp-adb.el: New package.
5976 2012-12-04 Chong Yidong <cyd@gnu.org>
5978 * terminal.el: Move to obsolete/.
5980 * longlines.el: Move to obsolete/.
5982 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5983 Remove code referring to longlines mode.
5985 2012-12-03 Juri Linkov <juri@jurta.org>
5987 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5989 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5991 * textmodes/ispell.el (ispell-init-process)
5992 (ispell-start-process, ispell-internal-change-dictionary):
5993 Make sure personal dictionary name is expanded after initial
5994 `default-directory' value. Use expanded strings for
5995 keep/restart checks and for value (Bug#13019).
5997 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5999 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
6001 2012-12-03 Leo Liu <sdl.web@gmail.com>
6003 * files.el (dir-locals-read-from-file): Check file non-empty
6004 before reading. (Bug#13038)
6006 2012-12-03 Glenn Morris <rgm@gnu.org>
6008 * jka-cmpr-hook.el (jka-compr-get-compression-info):
6009 Remove any version extension before checking filename. (Bug#13006)
6010 (jka-compr-compression-info-list): Belated :version bump.
6012 2012-12-03 Chong Yidong <cyd@gnu.org>
6014 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
6016 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
6017 (buffer-menu): Doc fix (Bug#12294).
6019 2012-12-03 Roland Winkler <winkler@gnu.org>
6021 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
6022 of diary-show-all-entries in the diary buffer (Bug#12994).
6024 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
6026 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
6027 "<STDIN>". This is binary safe.
6029 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
6031 * calc/calc-forms.el (math-absolute-from-iso-dt)
6032 (math-date-to-iso-dt, math-parse-iso-date-validate)
6033 (math-iso-dt-to-date): New functions.
6034 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
6035 (math-fd-isoweekday): New variables.
6036 (calc-date-notation, math-parse-standard-date, math-format-date)
6037 (math-format-date-part): Add support for more formatting codes.
6039 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
6041 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6042 current buffer's file name when called interactively (Bug#12488).
6044 2012-12-02 Juri Linkov <juri@jurta.org>
6046 * info.el (info-display-manual): Don't clobber an existing Info
6047 buffer (Bug#10770). Add completion (Bug#10771).
6049 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
6051 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6052 before using it for comparison (Bug#5297).
6054 2012-12-01 Jari Aalto <jari.aalto@cante.net>
6056 * textmodes/css-mode.el (css-current-defun-name): New function.
6059 * textmodes/sgml-mode.el (html-current-defun-name): New function.
6060 (html-mode): Use it.
6062 2012-12-01 Chong Yidong <cyd@gnu.org>
6064 Modularize add-log-current-defun (Bug#2224).
6065 Suggested by Jari Aalto.
6067 * vc/add-log.el (add-log-current-defun-function): Doc fix.
6068 (add-log-current-defun): Move mode-specific code to other files.
6069 (add-log-lisp-like-modes, add-log-c-like-modes)
6070 (add-log-tex-like-modes): Variables deleted.
6072 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6073 (lisp-mode-variables): Use it.
6075 * progmodes/cc-mode.el (c-common-init):
6076 * progmodes/cperl-mode.el (cperl-mode): Set a value for
6077 add-log-current-defun-function.
6079 * progmodes/m4-mode.el (m4-current-defun-name): New function.
6082 * progmodes/perl-mode.el (perl-current-defun-name): New.
6083 (perl-mode): Use it.
6085 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6086 Use lisp-current-defun-name.
6088 * textmodes/tex-mode.el (tex-current-defun-name): New.
6089 (tex-common-initialization): Use it.
6091 * textmodes/texinfo.el (texinfo-current-defun-name): New.
6092 (texinfo-mode): Use it.
6094 2012-12-01 Chong Yidong <cyd@gnu.org>
6096 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6097 * progmodes/autoconf.el (autoconf-mode):
6098 * progmodes/js.el (js-mode):
6099 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6100 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6101 * progmodes/perl-mode.el (perl-mode):
6102 * progmodes/sh-script.el (sh-mode, sh-set-shell):
6103 * textmodes/css-mode.el (css-mode):
6104 * textmodes/sgml-mode.el (html-mode, sgml-mode)
6105 (sgml-tags-invisible, sgml-guess-indent):
6106 * textmodes/tex-mode.el (tex-common-initialization)
6107 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6108 (doctex-mode, plain-tex-mode, latex-mode):
6109 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6111 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
6113 * vc/vc-hg.el (vc-hg-next-revision):
6114 Ensure use of default "tip" output format. (Bug#6968)
6116 2012-12-01 Kim F. Storm <storm@cua.dk>
6118 * startup.el (fancy-startup-tail): Add a clickable link
6121 2012-12-01 Chong Yidong <cyd@gnu.org>
6123 * startup.el (fancy-startup-tail): Improve the message about
6124 auto-save files (Bug#2176).
6126 * files.el (recover-session): Improve the descriptive message, and
6127 use substitute-command-keys.
6129 2012-12-01 Glenn Morris <rgm@gnu.org>
6131 * ido.el (ido-file-internal):
6132 Handle other-window, other-frame for dired. (Bug#13036)
6134 2012-11-30 Glenn Morris <rgm@gnu.org>
6136 * icomplete.el (icomplete-separator): Fix :version.
6138 2012-11-30 Chong Yidong <cyd@gnu.org>
6140 * shell.el (shell): For C-u M-x shell, use an inactive shell
6141 buffer as the default (Bug#1975).
6142 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6143 (shell-mode): Use them to reapply ansi colorization if Shell mode
6146 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
6148 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6150 2012-11-30 Samuel Bronson <naesten@gmail.com>
6152 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6153 flag to xargs, for compatibility with BSD xargs (Bug#11703).
6155 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6157 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6158 by move-to-column (Bug#3234).
6160 2012-11-30 Chong Yidong <cyd@gnu.org>
6162 * longlines.el (longlines-wrap-line, longlines-encode-region):
6163 Preserve text properties (Bug#1425).
6165 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6167 * vc/vc.el (vc-register): Allow registering a file which is
6168 already registered with a different backend (Bug#10589).
6170 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
6171 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * icomplete.el: Change separator; add ido-style commands.
6174 (icomplete-show-key-bindings): Remove custom var.
6175 (icomplete-get-keys): Remove function.
6176 (icomplete-forward-completions, icomplete-backward-completions):
6178 (icomplete-minibuffer-map): New var.
6179 (icomplete-minibuffer-setup): Use it.
6180 (icomplete-exhibit): Don't delay if the list of completions is known.
6181 (icomplete-separator): New custom.
6182 (icomplete-completions): Use it.
6183 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6184 (minibuffer-force-complete-and-exit): New command.
6185 (minibuffer--complete-and-exit): New function extracted from
6186 minibuffer-complete-and-exit.
6187 (minibuffer-complete-and-exit): Use it.
6189 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6190 error message when the file doesn't exist (bug#12974).
6192 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6194 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6196 2012-11-29 Glenn Morris <rgm@gnu.org>
6198 * files.el (hack-dir-local-variables): Warn if try to set
6199 coding via dir-locals, since it doesn't work. (Bug#7169)
6201 Add desktop support for restoring vc-dir buffers. (Bug#10606)
6202 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6203 Set buffer-local value of desktop-save-buffer.
6204 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6206 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6207 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6209 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
6210 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6212 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6215 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
6217 * calc/calc-forms.el (calc-date-notation): Fix regexp
6218 used to find time codes. Fix symbol for seconds.
6220 2012-11-27 Glenn Morris <rgm@gnu.org>
6222 * emacs-lisp/derived.el (derived-mode-make-docstring):
6223 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
6225 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6227 * textmodes/table.el (table-insert): Don't use `symbol-name' on
6228 lexically scoped variables (bug#13005).
6230 2012-11-27 Glenn Morris <rgm@gnu.org>
6232 * vc/vc-hooks.el (vc-mistrust-permissions):
6233 Default to t, to avoid data-loss. (Bug#11490)
6235 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
6237 * progmodes/python.el (python-indent-guess-indent-offset):
6238 If indentation is guessed make python-indent-offset buffer-local.
6240 Fix Imenu regression.
6241 * progmodes/python.el (python-nav-beginning-of-defun):
6242 Fix forward movement when statement(s) separates point from defun.
6243 (python-imenu-prev-index-position): New function.
6245 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6247 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
6249 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6250 Don't set buffer-file-type. Return nil. (Bug#12989)
6252 2012-11-27 Glenn Morris <rgm@gnu.org>
6254 * hippie-exp.el (hippie-expand-try-functions-list):
6255 Re-autoload it. (Bug#12982)
6257 2012-11-27 Eli Zaretskii <eliz@gnu.org>
6259 * descr-text.el (describe-char-padded-string):
6260 Call internal-char-font only on GUI frames. (Bug#11964)
6262 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
6264 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6265 and obsoletion message.
6267 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
6269 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6270 the constructs to keep outside of the `cl-block' (bug#12977).
6272 2012-11-27 Chong Yidong <cyd@gnu.org>
6274 * mouse.el (mouse-drag-line): Even if the line is not draggable,
6275 keep reading until we get the up-event anyway, in order to process
6276 the up-event for mouse-1-click-follows-link (Bug#12971).
6278 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6281 base function is not yet defined (bug#12965).
6282 (ad-activate-advised-definition): Use ad-compile-function.
6283 (ad-activate): Use cond.
6285 2012-11-25 Leo Liu <sdl.web@gmail.com>
6287 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6290 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6292 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6293 reftex-section-info-function in order to be compatible with
6294 Texinfo integration.
6296 * textmodes/reftex.el (reftex-section-pre-regexp)
6297 (reftex-section-post-regexp, reftex-section-info-function):
6299 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6300 reftex-section-post-regexp, and reftex-section-info-function in order
6301 to be compatible with Texinfo integration.
6303 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6304 use reftex-section-pre-regexp variable in order to be compatible with
6305 Texinfo integration.
6307 2012-11-25 Chong Yidong <cyd@gnu.org>
6309 * faces.el: Make face-spec-set more analogous to setq.
6310 (face-spec-set): Change the third arg to specify whether this
6311 function is being called via defface, customize, or a third party.
6312 Set the appropriate symbol properties. Clear the override spec if
6313 setting via Custom. Initialize face if necessary. (Bug#4988)
6314 (face-spec-recalc): Allow theme faces to completely replace the
6315 defface spec, in the same way as custom faces (Bug#8454).
6317 * cus-face.el (custom-declare-face): Move face initialization to
6319 (custom-theme-set-faces): Don't initialize the face name here, as
6320 that is now done in face-spec-set.
6322 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6323 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6324 Simplify by using the new arg to face-spec-set.
6326 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6327 reset face-override-spec too, and use custom-declare-face.
6329 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
6331 * term/ns-win.el (ns-initialize-window-system): Move creation of
6332 fontsets here (Bug#11964).
6334 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6336 * ses.el (ses-rename-cell): Correct bug on mode-line update after
6339 2012-11-24 Chong Yidong <cyd@gnu.org>
6341 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6344 * custom.el (custom-theme-set-variables): Use a topological sort
6345 for ordering by custom dependencies (Bug#12952).
6346 (custom--sort-vars, custom--sort-vars-1): New functions.
6348 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
6350 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6351 lexical-binding (bug#12938).
6353 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
6355 * image-mode.el (image-transform-check-size): Use assertions only
6356 for images of type imagemagick.
6358 Otherwise no error, image-transform-fit-to-{width,height} is
6359 silently ignored, as before. Doc fix.
6361 2012-11-24 Chong Yidong <cyd@gnu.org>
6363 * faces.el (color-defined-p): Doc fix (Bug#12853).
6365 2012-11-24 Juri Linkov <juri@jurta.org>
6367 * dired.el (dired-mark): Add optional arg `interactive'.
6368 Check for `use-region-p' if `interactive' is non-nil.
6369 (dired-unmark, dired-flag-file-deletion): Add optional arg
6370 `interactive'. Call `dired-mark' with the arg `interactive'.
6373 * wdired.el: Revert 2012-10-17 change partly and replace it with
6374 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6375 (wdired-finish-edit): Add marks for new file names to
6376 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
6377 after `revert-buffer'.
6378 (wdired-do-renames): Remove calls to `dired-remove-file',
6379 `dired-add-file', `dired-add-entry'. (Bug#11795)
6381 2012-11-24 Alan Mackenzie <acm@muc.de>
6383 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6385 Fix bugs in the state cache. Enhance a debugging mechanism.
6386 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6387 "brace at column zero" strategy for C++.
6388 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6389 (c-parse-state-point): New variable.
6390 (c-record-parse-state-state): Record old parse state with
6391 `copy-tree'. Record previous value of point.
6392 (c-debug-parse-state-double-cons): New debugging function.
6393 (c-debug-parse-state): Call the above new function.
6394 (c-toggle-parse-state-debug): Output a confirmatory message.
6396 * progmodes/cc-mode.el (c-before-change, c-after-change):
6397 Call c-invalidate-state-cache from `c-before-change' instead of
6400 2012-11-23 Chong Yidong <cyd@gnu.org>
6402 * find-cmd.el (find-constituents): Add executable, ipath,
6403 readable, samefile, writable, daystart, regextype (Bug#12856).
6405 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6409 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
6411 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6412 definition. This fixes a bootstrap failure.
6413 (calc-gregorian-switch): In menu, put dates before regions.
6414 This is easier to follow, lines up better in the menu, and lets us
6415 coalesce regions that switch at the same time. Give country
6416 names, not "Vatican", as that's better for non-expert users.
6417 Use names that are stable between the date of switch and now, e.g.,
6418 Bohemia and Moravia (which existed then and now) and not
6419 Czechoslovakia (which didn't exist then and doesn't exist now).
6420 What is now the U.S. mostly did not switch at the same time as
6421 Britain, so omit the U.S. Correct spelling of "Britain".
6422 Catholic Switzerland was too much of a mess, so omit it.
6424 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
6426 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6427 after the variable is changed.
6429 2012-11-21 Daniel Colascione <dancol@dancol.org>
6431 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6432 in SQL declarations for font-lock.
6433 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6435 2012-11-21 Glenn Morris <rgm@gnu.org>
6437 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6438 (face-italic-p): Add optional argument "inherit".
6440 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6441 Remove -p suffix from names, for consistency with other set-face-*.
6442 (set-face-inverse-video): Fix interactive spec.
6443 * play/gamegrid.el (gamegrid-make-mono-tty-face):
6444 * textmodes/table.el (table--update-cell-face):
6445 Use set-face-inverse-video rather than now obsolete alias.
6447 2012-11-21 Eli Zaretskii <eliz@gnu.org>
6449 * simple.el (line-move): Don't call line-move-partial if
6450 scroll-conservatively is in effect. (Bug#12927)
6452 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6454 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6455 Fallback on completion-at-point rather than
6456 pcomplete-expand-and-complete, and only if pcomplete actually failed.
6457 (eshell-cmpl-initialize): Setup completion-at-point.
6459 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6461 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6463 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
6465 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6466 are remote, check out-of-band property for both.
6468 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6470 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6473 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6475 More minor time fixes.
6476 * calendar/time-date.el: Commentary fix.
6477 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6478 too much other code depends on (0 0) time stamps.
6479 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6480 Add a couple of FIXME comments.
6482 Minor cleanup for times as lists of four integers.
6483 * files.el (dir-locals-directory-cache):
6484 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6486 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6487 * ps-bdf.el (bdf-file-newer-than-time):
6488 Process four-integers time stamps, not two. Doc fixes.
6490 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6492 * uniquify.el (uniquify-managed): Use defvar-local.
6493 (rename-buffer, create-file-buffer): Advise with advice-add.
6494 (uniquify-unload-function): Unadvise accordingly.
6496 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6497 (trace-buffer): Don't purecopy.
6498 (trace-entry-message, trace-exit-message): Add `context' arg.
6499 (trace--timer): New var.
6500 (trace-make-advice): Adjust for use in nadvice.
6501 Add `context' argument. Delay `display-buffer' via a timer.
6502 (trace-function-internal): Use advice-add.
6503 (trace--read-args): New function.
6504 (trace-function-foreground, trace-function-background): Use it.
6505 (trace-function): Rename to trace-function-foreground and redefine as
6506 an alias to that new name.
6507 (untrace-function, untrace-all): Adjust to the use of nadvice.
6509 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6511 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6513 * subr.el (called-interactively-p-functions): New var.
6514 (internal--called-interactively-p--get-frame): New macro.
6515 (called-interactively-p, interactive-p): Rewrite in Lisp.
6516 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6517 (called-interactively-p-functions): Use it.
6518 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6519 (called-interactively-p-functions): Use it.
6520 * allout.el (allout-called-interactively-p): Don't assume
6521 called-interactively-p is a subr.
6523 2012-11-20 Glenn Morris <rgm@gnu.org>
6525 * profiler.el (profiler-report-mode-map): Add a menu.
6526 No need to bind `q' because we derive from special-mode.
6527 (profiler-report-find-entry): Handle calls from the menu-bar.
6529 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * emacs-lisp/byte-run.el (defun-declarations-alist):
6532 Allow a compiler-macro to be a lambda expression.
6534 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6536 (python-syntax-context): Add compiler-macro.
6537 (python-font-lock-keywords): Simplify with De Morgan.
6539 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6541 * files.el (load-file): Require match in minibuffer selection, as was
6542 the case in Emacs-20 before we changed the spec to allow .elc files
6545 * json.el: Don't require cl since we don't use it.
6546 * color.el: Don't require cl.
6547 (color-complement): `caddr' -> `nth 2'.
6549 * calendar/time-date.el (time-to-seconds): De-obsolete.
6551 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6553 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6555 (math-date-to-julian-dt): Adjust the initial approximation for the
6556 year to deal with the new definition of the DATE.
6558 2012-11-19 Daniel Colascione <dancol@dancol.org>
6560 * term/w32-win.el (cygwin-convert-path-from-windows):
6561 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6563 2012-11-18 Chong Yidong <cyd@gnu.org>
6565 * filecache.el (file-cache--read-list): New function.
6566 (file-cache-add-directory-list, file-cache-add-file-list)
6567 (file-cache-delete-file-list, file-cache-delete-directory-list):
6568 Use it to read a list of files or directories (Bug#12846).
6569 (file-cache-add-file, file-cache-add-directory)
6570 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6571 (file-cache-delete-directory): Print an message.
6573 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6575 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6576 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6578 2012-11-18 Glenn Morris <rgm@gnu.org>
6580 * image.el (insert-image, insert-sliced-image): Doc fix.
6582 2012-11-18 Chong Yidong <cyd@gnu.org>
6584 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6587 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6589 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6590 response when the target file is in a subdirectory (Bug#12757).
6592 2012-11-18 Chong Yidong <cyd@gnu.org>
6594 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6596 2012-11-18 Glenn Morris <rgm@gnu.org>
6598 * emacs-lisp/cl-lib.el (face-underline-p):
6599 Use set-face-underline rather than the alias set-face-underline-p.
6601 * window.el (with-temp-buffer-window): Doc fix.
6602 * subr.el (with-output-to-temp-buffer):
6603 Add doc xref to with-temp-buffer-window.
6605 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6607 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6608 * calc/calc.el (math-format-date-cache): Declare.
6610 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6612 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6613 It also uses January 1, 1 AD as its day number 1.
6614 * calc/calc-forms.el (math-julian-date-beginning)
6615 (math-julian-date-beginning-int): Implement this.
6617 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6619 * descr-text.el (quail-find-key):
6620 * dired.el (desktop-file-name):
6621 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6622 * generic-x.el (comint-mode, comint-exec):
6623 * image-dired.el (widget-forward):
6624 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6625 (speedbar-change-expand-button-char)
6626 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6627 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6628 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6629 (widget-field-action, widget-value-set):
6630 * speedbar.el (imenu--make-index-alist):
6631 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6632 (ring-length, ring-insert):
6633 * vcursor.el (compare-windows-skip-whitespace):
6634 * woman.el (dired-get-filename):
6637 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6639 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6641 * calc/calc.el (calc-gregorian-switch): New variable.
6643 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6644 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6645 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6646 (math-leap-year-p): Add option to distinguish between Julian
6647 and Gregorian calendars.
6648 (math-day-number): Use `math-day-in-year' to do the computations.
6649 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6650 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6651 to do the computations.
6652 (math-date-to-dt): Use `math-date-to-julian-dt' and
6653 `math-date-to-gregorian-dt' to do the computations.
6654 (calcFunc-weekday, math-format-date-part): Use the new version of
6655 the DATE to determine the weekday.
6656 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6659 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6661 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6662 Cygwin; otherwise use 'file:'. (Bug#12914)
6663 (cygwin-convert-path-from-windows): Declare, to avoid
6664 byte-compiler warnings.
6666 2012-11-17 Andreas Politz <politza@fh-trier.de>
6668 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6669 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6670 prefix and negative numeric prefix args (Bug#12795).
6672 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6674 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6675 Don't signal an error with a score that is too low to add to the
6676 list of top scores. (Bug#12779)
6678 2012-11-17 Chong Yidong <cyd@gnu.org>
6680 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6682 * filecache.el (file-cache-add-file): Handle relative file name in
6683 the argument (Bug#12694).
6685 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6687 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6689 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6693 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6695 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6697 * window.el (enlarge-window, shrink-window): Don't mention return
6698 value in doc-string (Bug#12896).
6699 (window--display-buffer): Don't resize frames - it won't work
6700 with all window managers and defeat pop-up-frame-alist.
6701 (display-buffer-alist): In doc-string explain that CONDITION can
6702 be a function and which arguments are passed to it (Bug#12854).
6703 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6704 expressions (Bug#12854).
6705 (display-buffer): Pass ACTION argument to
6706 display-buffer-assq-regexp.
6708 2012-11-16 Glenn Morris <rgm@gnu.org>
6710 * window.el (fit-frame-to-buffer-bottom-margin)
6711 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6713 * faces.el (face-underline-p): Use face-attribute-specified-or.
6715 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6717 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6719 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6723 2012-11-16 Glenn Morris <rgm@gnu.org>
6725 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6726 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6728 * faces.el (face-underline-p): Doc fix. Handle :underline being
6729 things other than `t' (a string, a list).
6730 (face-inverse-video-p): Doc fix.
6731 (set-face-underline): Rename it back from set-face-underline-p.
6732 Doc fix. Allow interactive input of values other than t.
6733 (read-face-attribute): Apply formatting to :underline,
6734 since like :box and :stipple it can take list values.
6736 * term.el (ansi-term): Don't let C-x escape-char binding
6737 clobber the more standard C-c binding. (Bug#12842)
6739 * subr.el (set-temporary-overlay-map): Doc fix.
6741 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6743 * window.el (record-window-buffer)
6744 (display-buffer-record-window): When copying the markers to
6745 window-point preserve window-point-insertion-type. (Bug#12588)
6747 2012-11-16 Glenn Morris <rgm@gnu.org>
6749 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6750 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6751 Use new names for hooks rather than obsolete aliases.
6753 2012-11-15 Daniel Colascione <dancol@dancol.org>
6755 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6756 prefix instead of "file:" so that when FILE-NAME begins with "//",
6757 as it does when the target file is on a network share, url-handler
6760 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6763 a preactivated advice from an old advice.el; they're not compatible!
6765 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6767 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6768 Fix string-spec case.
6770 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6772 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6775 (advice--buffer-local-function-sample): New var.
6776 (advice--set-buffer-local, advice--buffer-local): New functions.
6777 (add-function, remove-function): Use them.
6779 2012-11-15 Drew Adams <drew.adams@oracle.com>
6781 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6783 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6786 potential binding of print-gensym to t, and prettify (back)quotes in
6787 case they appear in args's default values (bug#12884).
6789 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6791 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6792 (advice-eval-interactive-spec): New function.
6793 (advice--make-interactive-form): Support around advice (bug#12844).
6795 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6797 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6798 more strict. Add docstring.
6799 (ruby-expression-expansion-re): Extract from
6800 `ruby-match-expression-expansion'.
6801 (ruby-syntax-propertize-function): After everything else, search
6802 for expansions in string literals, mark their insides as
6803 whitespace syntax and save match data for font-lock.
6804 (ruby-font-lock-keywords): Use the 2nd group from expression
6806 (ruby-match-expression-expansion): Use the match data saved to the
6807 text property in ruby-syntax-propertize-function.
6809 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6814 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6816 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6817 start/end keyword a bit harder. Works with different values of N.
6819 (ruby-end-of-block): Update accordingly.
6821 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * woman.el (woman-file-name): Don't mess with unread-command-events
6826 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6827 Remove out of date self-require hack.
6828 (ad-do-advised-functions): Use simple `dolist'.
6829 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6830 (ad-advice-definition): Redefine as functions.
6831 (ad-advice-classes): Move before first use.
6832 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6833 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6834 (ad--defalias-fset): Remove functions.
6835 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6836 (ad-get-orig-definition): Rewrite.
6837 (ad-make-advised-definition-docstring): Change base docstring.
6838 (ad-real-orig-definition): Rewrite.
6839 (ad-map-arglists): Change name of called function.
6840 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6841 (ad-make-advised-definition): Simplify.
6842 (ad-assemble-advised-definition): Tweak for new calling context.
6843 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6844 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6845 function and call ad-activate if needed.
6846 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6847 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6848 (ad-compile-function): Compile ad-Advice-*.
6849 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6850 (ad-start-advice, ad-stop-advice): Remove.
6852 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6854 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6855 period before class method names, not after. Remove handling of
6856 one impossible case. Add comments.
6858 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * emacs-lisp/advice.el: Remove support for freezing.
6861 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6862 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6863 Remove support for `freeze'.
6865 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6866 override the default.
6867 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6869 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6872 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6874 (advice--strip-macro): New function.
6875 (advice--defalias-fset): Use them to handle macros.
6876 (advice-add): Use them.
6877 (advice-member-p): Correctly handle macros.
6879 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6881 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6882 Never font-lock the beginning of singleton class as heredoc.
6884 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6888 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6890 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6891 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6892 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6894 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6896 Fix end-of-defun misbehavior.
6897 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6898 python-beginning-of-defun-function. Handle nested defuns
6900 (python-nav-end-of-defun): Rename from
6901 python-end-of-defun-function. Ensure forward movement.
6902 (python-info-current-defun): Reimplement to work as intended
6903 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6904 parent defuns as soon as possible.
6906 2012-11-13 Glenn Morris <rgm@gnu.org>
6908 * progmodes/flymake.el (flymake-error-bitmap)
6909 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6910 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6912 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6914 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6915 backward, always stop at indentation. Reverts the change from
6916 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6918 2012-11-13 Glenn Morris <rgm@gnu.org>
6920 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6921 Add ibuffer-filter-by-derived-mode.
6923 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6924 the same name shadowing each other.
6926 * window.el (with-temp-buffer-window): Doc tweak.
6928 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6930 * help.el (temp-buffer-max-height):
6931 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6932 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6934 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6936 * emacs-lisp/nadvice.el: New package.
6937 * subr.el (special-form-p): New function.
6938 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6939 (elp-all-instrumented-list): Remove var.
6940 (elp-not-profilable): Remove elp-wrapper.
6941 (elp-profilable-p): Use autoloadp and special-form-p.
6942 (elp--advice-name): New const.
6943 (elp-instrument-function): Use advice-add.
6944 (elp--instrumented-p): New predicate.
6945 (elp-restore-function): Use advice-remove.
6946 (elp-restore-all, elp-reset-all): Use mapatoms.
6947 (elp-set-master): Use elp--instrumented-p.
6948 (elp--make-wrapper): Rename from elp-wrapper, return a function
6949 suitable for advice-add. Use cl-inf.
6950 (elp-results): Use mapatoms+elp--instrumented-p.
6951 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6952 (debug-function-list): Remove var.
6953 (debug): Rename arg, and then let-bind it explicitly inside.
6954 (debugger-setup-buffer): Rename arg.
6955 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6956 (debugger-frame-number): Adjust to new debug-on-entry setup.
6957 (debug--implement-debug-on-entry): Rename from
6958 implement-debug-on-entry, add argument.
6959 (debugger-special-form-p): Remove, use special-form-p instead.
6960 (debug-on-entry): Use advice-add.
6961 (debug--function-list): New function.
6962 (cancel-debug-on-entry): Use it, along with advice-remove.
6963 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6964 (debugger-list-functions): Use debug--function-list instead of
6965 debug-function-list.
6966 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6967 (ad-special-form-p): Remove, use special-form-p instead.
6968 (ad-set-advice-info): Use add-function and remove-function.
6969 (ad--defalias-fset): Adjust accordingly.
6971 2012-11-10 Glenn Morris <rgm@gnu.org>
6973 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6974 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6975 (report-emacs-bug-create-existing-bugs-buffer)
6976 (report-emacs-bug-parse-query-results)
6977 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6979 * term.el (term-default-fg-color, term-default-bg-color):
6980 Make obsolete, rather than just saying "deprecated" in the doc.
6982 * term.el (term): Rename from `term-face'.
6983 (term-current-face, ansi-term-color-vector)
6984 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6987 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6989 * server.el (server-create-window-system-frame): Handle Nextstep
6990 specially (Bug#12780).
6992 2012-11-10 Glenn Morris <rgm@gnu.org>
6994 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6995 Unautoload, and make obsolete. (Bug#7449)
6997 2012-11-10 Chong Yidong <cyd@gnu.org>
6999 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
7000 rename from diff-remove-trailing-whitespace (Bug#12831).
7002 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
7005 miscompilation of trace.el.
7007 2012-11-10 Glenn Morris <rgm@gnu.org>
7009 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
7011 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7013 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
7016 2012-11-10 Chong Yidong <cyd@gnu.org>
7018 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
7019 a defcustom with an appropriate :set function.
7020 (minibuffer-default--in-prompt-regexps): New function.
7022 2012-11-10 Glenn Morris <rgm@gnu.org>
7024 * emacs-lisp/cl.el (define-setf-expander, defsetf)
7025 (define-modify-macro): Doc fixes.
7027 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
7028 (gv-define-simple-setter): Update doc of `fix-return'.
7030 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
7032 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
7033 twice when `fix-return' is set (bug#12813).
7035 * emacs-lisp/cl.el (defsetf): Pass the third arg to
7036 gv-define-simple-setter (bug#12812).
7038 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
7041 2012-11-10 Glenn Morris <rgm@gnu.org>
7043 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7045 * emacs-lisp/cl-extra.el (cl-prettyexpand):
7046 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7047 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7048 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7050 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7052 2012-11-10 Leo Liu <sdl.web@gmail.com>
7054 * ido.el (ido-set-matches-1): Improve flex matching performance by
7055 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
7057 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7060 (ad--defalias-fset): New function.
7061 (ad-safe-fset): Remove.
7062 (ad-make-freeze-definition): Use cl-letf*.
7064 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7066 * subr.el (dolist): Don't bind VAR in RESULT.
7068 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
7069 (fset, documentation): Don't save real def since we don't advise.
7070 (ad-do-advised-functions): Remove problematic `result-form'.
7071 (ad-safe-fset): `ad-real-fset' => `fset'.
7072 (ad-read-advised-function): Don't assume that ad-do-advised-functions
7073 uses CL's dolist internally.
7074 (ad-arglist): Remove unused arg `name'.
7075 (ad-docstring, ad-make-advised-docstring):
7076 `ad-real-documentation' => `documentation'.
7077 (warning-suppress-types): Declare.
7078 (ad-set-arguments): Simple CSE.
7079 (ad-recover-normality): Sanity check.
7081 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7082 (funcall '(lambda ..) ..) into ((lambda ..) ..).
7084 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
7086 * ses.el: symbol to coordinate mapping is made by symbol property
7087 `ses-cell'. This means that the same mapping is done for all SES
7088 sheets. That is good enough for cells with standard A1 names, but
7089 not for named cell. So a hash map is added for the latter.
7090 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7091 (ses-sym-rowcol): Use hashmap for named cell.
7092 (ses-is-cell-sym-p): New defun.
7093 (ses-decode-cell-symbol): New defun.
7094 (ses-create-cell-variable): Add cell to hashmap when name is not
7096 (ses-rename-cell): Check that cell new name is not already in
7097 spreadsheet with the use of ses-is-cell-sym-p
7098 (ses-rename-cell): Use hash map for named cells, but accept also
7099 renaming back to A1-like.
7101 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7103 * emacs-lisp/advice.el: Use new dynamic docstrings.
7104 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7105 Use dynamic-docstring-function instead of ad-advice-info.
7106 (ad--make-advised-docstring): New function extracted from
7107 ad-make-advised-docstring.
7108 (ad-make-advised-docstring): Use it.
7109 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7111 (sql-help): Use it with dynamic-docstring-function.
7113 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7115 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7117 * files.el (hack-one-local-variable--obsolete): New function.
7118 (hack-one-local-variable): Use it for obsolete settings.
7120 * subr.el (locate-user-emacs-file): If both old and new name exist, use
7123 * progmodes/js.el (js--filling-paragraph): New var.
7124 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7125 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7128 2012-11-08 Julien Danjou <julien@danjou.info>
7130 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7131 `auto-mode-alist' (Bug#12835).
7133 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7136 (perl--prettify-symbols-alist): New const.
7137 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7139 (perl-font-lock-keywords-2): Use them.
7140 (perl-electric-noindent-p): New function.
7141 (perl-mode): Use it to set up electric-indent-mode.
7142 (perl-electric-terminator, perl-indent-command): Mark obsolete.
7143 (perl-mode-map): Remove bindings for them.
7144 (perl-imenu-generic-expression, perl-outline-level):
7145 Match functions&packages in column>0.
7147 * env.el (env--substitute-vars-regexp): New const.
7148 (substitute-env-vars): Use it. Add `only-defined' arg.
7149 * net/tramp.el (tramp-replace-environment-variables): Use it.
7151 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7152 Byte-compile *before* eval in eval-and-compile.
7153 (byte-compile-log-warning): Remove redundant inhibit-read-only.
7154 (byte-compile-file-form-autoload): Don't hide actual definition.
7155 (byte-compile-maybe-guarded): Accept `functionp' as well.
7157 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7159 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
7161 * notifications.el (notifications-get-server-information-method):
7163 (notifications-get-capabilities): Fix docstring.
7164 (notifications-get-server-information): New defun.
7166 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7168 * textmodes/ispell.el (ispell-region): Standard re-indent for better
7171 * textmodes/ispell.el: Experimental support for support debugging.
7172 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7174 (ispell-print-if-debug): New function to print stuff to
7175 `ispell-debug-buffer' if debugging is enabled.
7176 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7177 show some debugging info.
7178 (ispell-buffer-with-debug): New function that creates a debugging
7179 buffer and calls `ispell-buffer' with debugging enabled.
7181 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7182 comment in autoconf mode. (Bug#12768)
7184 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
7186 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7187 frame-first-window, frame-root-window, frame-selected-window,
7188 minibuffer-selected-window, minibuffer-window,
7189 window-absolute-pixel-edges, window-at, window-body-height,
7190 window-body-width, window-display-table, window-combination-limit,
7191 window-frame, window-fringes, window-inside-absolute-pixel-edges,
7192 window-inside-edges, window-inside-pixel-edges, window-left-child,
7193 window-left-column, window-margins, window-next-buffers,
7194 window-next-sibling, window-new-normal, window-new-total,
7195 window-normal-size, window-parameter, window-parameters, window-parent,
7196 window-pixel-edges, window-point, window-prev-buffers,
7197 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7198 window-start, window-text-height, window-top-child, window-top-line,
7199 window-total-height, window-total-width and window-use-time to the list
7200 of functions without side-effects.
7201 (toplevel): Add window-valid-p to the list of error-free functions
7202 without side-effects.
7204 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7206 * textmodes/ispell.el (ispell-program-name):
7207 Update spellchecker parameters when customized.
7209 2012-11-04 Glenn Morris <rgm@gnu.org>
7211 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
7213 2012-11-04 Chong Yidong <cyd@gnu.org>
7215 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7216 same-window-* variables.
7218 2012-11-04 Juri Linkov <juri@jurta.org>
7220 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7221 (isearch-describe-key, isearch-describe-mode): Use a display
7222 action instead of binding same-window-* variables (Bug#10040).
7224 2012-11-03 Glenn Morris <rgm@gnu.org>
7226 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7227 Rename handler properties back from cl-- to cl-. (Bug#12788)
7229 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7231 2012-11-03 Eli Zaretskii <eliz@gnu.org>
7233 * term/pc-win.el: Don't load term/internal from here.
7235 * loadup.el: Load term/internal from here.
7237 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
7239 * progmodes/python.el (inferior-python-mode): Fix hang in
7240 jit-lock (Bug#12645).
7242 2012-11-03 Martin Rudalics <rudalics@gmx.at>
7244 * window.el (switch-to-visible-buffer)
7245 (switch-to-buffer-preserve-window-point): Fix doc-strings.
7247 2012-11-03 Glenn Morris <rgm@gnu.org>
7249 * emacs-lisp/cl-lib.el (cl--random-time):
7250 Rename from cl-random-time. (Bug#12773)
7251 (cl--gensym-counter, cl--random-state): Update callers.
7252 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7254 2012-11-03 Chong Yidong <cyd@gnu.org>
7256 * cus-start.el: Make cursor-type customizable (Bug#11633).
7258 2012-11-02 Glenn Morris <rgm@gnu.org>
7260 * filecache.el: No need to load find-lisp when compiling.
7261 (find-lisp-find-files): Autoload it.
7262 (file-cache-add-directory-recursively): Don't require find-lisp.
7264 * image.el (image-type-from-file-name): Trivial simplification.
7266 * emacs-lisp/bytecomp.el (byte-compile-eval):
7267 Decouple "noruntime" and "cl-functions" warnings.
7269 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
7271 * play/gomoku.el (gomoku-display-statistics): Update mode line
7272 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7274 2012-10-31 Martin Rudalics <rudalics@gmx.at>
7276 * window.el (quit-restore-window): If the window has been
7277 created on an existing frame and ended up as the sole window on
7278 that frame, do not delete it (Bug#12764).
7280 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7282 * progmodes/sh-script.el (sh--inside-noncommand-expression):
7283 Rename from sh--inside-arithmetic-expression, handle more cases
7286 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7287 (sh-font-lock-open-heredoc): Use it (bug#12770).
7289 2012-10-30 Glenn Morris <rgm@gnu.org>
7291 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
7293 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
7295 2012-10-29 Chong Yidong <cyd@gnu.org>
7297 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7298 function key is stored in a keyboard macro (Bug#4894).
7300 * thingatpt.el (number-at-point): Apply a thing-at-point property.
7302 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7304 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7306 (diff-unified->context, diff-context->unified)
7307 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7309 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7311 * files.el (find-alternate-file): Only ask one question (bug#12487).
7313 2012-10-29 Chong Yidong <cyd@gnu.org>
7315 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7316 Suggested by Dan Nicolaescu (Bug#6326).
7318 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7320 * startup.el (fancy-about-screen): Don't message (Bug#12680).
7322 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7324 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7326 * face-remap.el (face-remap-add-relative): Handle the case where a
7327 face-remapping-alist entry is a cons cell (Bug#12762).
7329 2012-10-29 Kevin Ryde <user42@zip.com.au>
7331 * woman.el (woman-parse-numeric-value): Handle picas correctly
7334 2012-10-29 Glenn Morris <rgm@gnu.org>
7336 * emacs-lisp/cl.el (defsetf): Doc fix.
7338 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7340 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7341 syntax to the matching opener, if any (bug#12547).
7342 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7343 matching open as a "case-(".
7344 (sh-smie-rc-grammar): Add a corresponding rule for it.
7346 2012-10-28 Daniel Hackney <dan@haxney.org>
7348 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7349 "PKGNAME-autoloads.el" in case we created it.
7351 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7354 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7355 (completion--twq-all): Disable too-strict assertions.
7357 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7359 2012-10-27 Eli Zaretskii <eliz@gnu.org>
7361 * profiler.el (profiler-report-make-entry-part): Fix help-echo
7362 text to match the real keybindings.
7364 2012-10-27 Juri Linkov <juri@jurta.org>
7366 * wdired.el (wdired-keep-marker-rename): New defcustom.
7367 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7370 * dired.el (dired-keep-marker-rename): Add reference to
7371 `wdired-keep-marker-rename' in the docstring.
7372 Add default character value ?R to display initially in
7373 Customization UI instead of ?@.
7375 2012-10-27 Martin Rudalics <rudalics@gmx.at>
7377 * window.el (display-buffer): In doc-string describe
7378 window-height and window-width alist entries.
7380 * time.el (display-time-world): Restore fit-window-to-buffer
7383 2012-10-27 Chong Yidong <cyd@gnu.org>
7385 * subr.el (insert-buffer-substring-as-yank): Doc fix.
7387 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
7389 * minibuffer.el (completion-category-overrides): New completion
7390 category `bookmark' (bug#11131).
7392 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7394 * emacs-lisp/advice.el (ad-assemble-advised-definition):
7395 Silence bogus compiler warnings for ad-do-it.
7397 * bookmark.el (bookmark-completing-read): Set the completion category
7398 to `bookmark' (bug#11131).
7400 2012-10-26 Bastien <bzg@altern.org>
7401 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * face-remap.el: Use lexical-binding.
7404 (text-scale-adjust): Improve docstring. Use itself for the temporary
7405 overlay-map bindings, so as to repeat the "Use..." message each time.
7407 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * emacs-lisp/macroexp.el (macroexp--expand-all):
7410 Obey byte-compile-warning-enabled-p (bug#12486).
7412 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7413 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7415 2012-10-26 Martin Rudalics <rudalics@gmx.at>
7417 * mouse.el (mouse-drag-line): Move last form into preceding when
7420 * help.el (resize-temp-buffer-window): Fix doc-string.
7422 2012-10-25 David Engster <deng@randomsample.de>
7424 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7425 Remove. This feature is already integrated in imenu.
7427 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7428 always loaded. Require `speedbar' unconditionally.
7430 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7434 * minibuffer.el (minibuffer-force-complete): Fix thinko.
7436 * net/ldap.el (ldap-search-internal): The official ldif format starts
7437 with a "version: 1" header (bug#12724).
7439 * emacs-lisp/package.el (package-installed-p): Warn if not ready
7442 2012-10-25 Glenn Morris <rgm@gnu.org>
7444 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7446 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7448 * minibuffer.el (minibuffer-force-complete): Use one more marker
7449 for the temporary-overlay-map command (bug#12619).
7451 2012-10-24 Chong Yidong <cyd@gnu.org>
7453 * time.el (display-time-world-mode): Derive from special-mode.
7454 (display-time-world): Use display-buffer (Bug#12708).
7455 (display-time-world-mode-map): Variable deleted.
7456 (display-time-world-display): Wrap the final delete-char inside
7459 2012-10-24 Chong Yidong <cyd@gnu.org>
7461 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7464 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7466 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7468 * minibuffer.el (completion--all-sorted-completions-location): New var.
7469 (completion--cache-all-sorted-completions)
7470 (completion--flush-all-sorted-completions): Use it.
7471 (completion-in-region, completion-in-region--postch)
7472 (completion-at-point, completion-help-at-point): Use markers in
7473 completion-in-region--data (bug#12619).
7475 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * progmodes/compile.el (compilation-start): Try to handle common
7478 quoting of `cd' argument (bug#12640).
7480 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7483 2012-10-23 Glenn Morris <rgm@gnu.org>
7485 * progmodes/gud.el (gud-menu-map):
7486 Check gdb-active-process is bound. (Bug#12358)
7488 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7490 * repeat.el (repeat): Set real-this-command (bug#12232).
7492 * htmlfontify.el (hfy-post-html-hook):
7493 * filesets.el (filesets-cache-fill-content-hook):
7494 * arc-mode.el (archive-extract-hook):
7495 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7496 * net/rcirc.el (rcirc-sentinel-functions)
7497 (rcirc-receive-message-functions, rcirc-activity-functions)
7498 (rcirc-print-functions):
7499 * net/dbus.el (dbus-event-error-functions):
7500 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7501 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7502 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7503 * term/sun.el (sun-raw-prefix-hooks):
7504 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7506 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7508 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7509 Set `tramp-chunksize' to 1. This improves the performance.
7510 (tramp-smb-wait-for-output): Add timeout to
7511 `tramp-accept-process-output' calls.
7513 2012-10-23 Chong Yidong <cyd@gnu.org>
7515 * faces.el (font-list-limit): Define as an obsolete variable.
7517 * startup.el (command-line):
7518 * cus-start.el: Don't refer to font-list-limit.
7520 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7522 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7524 * subr.el (internal-temp-output-buffer-show): Rename from
7525 temp-output-buffer-show, since previously compiled files expect this name.
7527 2012-10-23 Glenn Morris <rgm@gnu.org>
7529 * image.el (image-type-from-file-name): If multiple types match,
7530 return the first one that is supported. (Bug#9045)
7532 2012-10-22 Glenn Morris <rgm@gnu.org>
7534 * image.el (imagemagick-enabled-types): Doc fix.
7536 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7538 * progmodes/which-func.el (which-func-current): The hash-table may have
7539 an explicit nil (bug#12338).
7541 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * electric.el (electric-pair-delete-selection-self-insert-function):
7544 Rename to electric-pair-will-use-region, return a boolean.
7545 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7547 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7548 (delete-selection-pre-hook): Use use-region-p.
7549 (delete-selection-self-insert-function): Remove.
7550 (self-insert-command): Obey self-insert-uses-region-functions.
7551 (self-insert-iso): Revert to previous setting, since we don't actually
7552 know what that command does.
7553 (delete-selection-self-insert-hooks): Remove.
7555 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7557 * delsel.el (delete-selection-helper): New function, extracted from
7558 delete-selection-pre-hook.
7559 (delete-selection-pre-hook): Use it.
7560 (delete-selection-self-insert-function): New function.
7561 (delete-selection-self-insert-hooks): New hook.
7562 (self-insert-command, self-insert-iso): Use it.
7563 * electric.el (electric-pair-syntax): New function, extracted from
7564 electric-pair-post-self-insert-function.
7565 (electric-pair-post-self-insert-function): Use it.
7566 (electric-pair-delete-selection-self-insert-function): New function.
7567 (electric-pair-mode): Require delsel and setup
7568 delete-selection-self-insert-hooks (bug#11520).
7570 2012-10-20 Chong Yidong <cyd@gnu.org>
7572 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7573 no changes to show (Bug#12586).
7575 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7576 list explicitly (Bug#12571).
7578 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7580 * progmodes/flymake.el (flymake-create-temp-inplace):
7583 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7585 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7587 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7589 * calc/calc-units.el (math-extract-units): Properly extract powers
7592 2012-10-20 Daniel Colascione <dancol@dancol.org>
7594 * frame.el (make-frame): Set x-display-name as we used to in order
7595 to unbreak creating an X11 frame from an Emacs daemon started
7598 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7600 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7601 the same completion-field (bug#12221).
7603 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7605 * emacs-lisp/debug.el (debug): Record height of debugger window
7606 also when debugger will be back (Bug#8789).
7608 2012-10-18 Chong Yidong <cyd@gnu.org>
7610 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7611 Convert to defcustom.
7612 (gdb-get-source-file): Don't bind pop-up-windows.
7614 * progmodes/gud.el (gud-display-line): Don't specially re-use
7615 other frames for the gdb-mi case (Bug#12648).
7617 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * emacs-lisp/advice.el: Clean up commentary a bit.
7620 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7621 (byte-code-function-p): Never redefine.
7623 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7625 2012-10-18 Glenn Morris <rgm@gnu.org>
7627 * dired.el (dired-sort-toggle): Some ls implementations only allow
7628 a single option string. (Bug#12666)
7630 * minibuffer.el (completion-cycle-threshold): Doc fix.
7632 2012-10-17 Kenichi Handa <handa@gnu.org>
7634 * international/mule.el (set-keyboard-coding-system):
7635 Recover input meta mode when the new coding system doesn not use 8-bit.
7636 Supply TERMINAL arg to set-input-meta-mode.
7638 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7640 * wdired.el (wdired-old-marks): New variable.
7641 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7642 (wdired-do-renames): Move point with renamed file and don't lose
7643 mark status (Bug#11795).
7645 2012-10-16 Juri Linkov <juri@jurta.org>
7647 * replace.el (query-replace-help): Mention multi-buffer replacement
7648 keys in the Help message. (Bug#12655)
7650 2012-10-15 Chong Yidong <cyd@gnu.org>
7652 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7654 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7656 * window.el (display-buffer): Doc fix.
7658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7659 Adjust the msft regexp to the output of Studio 2010, and move msft
7660 before edg-1. See the discussion on emacs-devel,
7661 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7664 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7667 (oset): Move uses of object-class-fast macro after its definition.
7669 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7671 2012-10-13 Chong Yidong <cyd@gnu.org>
7673 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7674 enabled, re-enable it (Bug#11963).
7676 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7678 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7679 non-nil, restore window configuration (Bug#12623).
7681 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * help-fns.el (describe-variable, describe-function-1):
7684 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7686 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7688 2012-10-12 Glenn Morris <rgm@gnu.org>
7690 * mail/rmailsum.el (rmail-header-summary):
7691 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7693 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7695 * progmodes/python.el (python-mode-map):
7696 Replace subtitute-key-definition with proper command remapping.
7697 (python-nav--up-list): Fix behavior for blocks on the same level.
7699 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7701 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7703 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7704 changes to the format of load-history.
7706 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7707 completion-ignore-case in case that var is buffer-local (bug#12615).
7709 2012-10-11 Kenichi Handa <handa@gnu.org>
7711 * international/eucjp-ms.el: Re-generated.
7713 2012-10-10 Kenichi Handa <handa@gnu.org>
7715 * select.el (xselect--encode-string): If a coding is specified for
7716 selection, and that is compatible with COMPOUND_TEXT, use it.
7718 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7720 * window.el (switch-to-buffer-preserve-window-point): New option.
7722 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7724 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7726 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7727 Don't document nil as a useful value (bug#12583).
7729 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7731 * net/tramp.el (tramp-debug-message):
7732 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7733 (with-tramp-progress-reporter): Rename from
7734 `tramp-with-progress-reporter'.
7735 (with-tramp-file-property, with-tramp-connection-property):
7736 Move from tramp-cache.el, rename from `with-file-property' and
7737 `with-connection-property', respectively.
7739 * net/tramp-cache.el: Remove `with-file-property' and
7740 `with-connection-property'.
7743 * net/tramp-gvfs.el:
7745 * net/tramp-smb.el: Adapt callees.
7747 * net/trampver.el: Update release number.
7749 2012-10-09 Glenn Morris <rgm@gnu.org>
7751 * w32-fns.el (set-message-beep):
7752 * term/w32-win.el (set-message-beep): Update declarations.
7754 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7756 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7757 (mode-line-widen, mode-line-input-method-map)
7758 (mode-line-coding-system-map, mode-line-remote)
7759 (mode-line-unbury-buffer, mode-line-bury-buffer)
7760 (mode-line-next-buffer, mode-line-previous-buffer):
7761 Replace save-selected-window+select-window => with-selected-window.
7763 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7764 * progmodes/cc-vars.el (bq-process): Remove, unused.
7766 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7768 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7770 Implemented `backward-up-list'-like navigation.
7771 * progmodes/python.el (python-nav-up-list)
7772 (python-nav-backward-up-list): New functions.
7773 (python-mode-map): Define substitute key for backward-up-list to
7774 python-nav-backward-up-list.
7776 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7778 * progmodes/python.el (python-fill-paragraph): Rename from
7779 python-fill-paragraph-function. Fixed fill-paragraph for
7780 decorators (Bug#12605).
7782 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7784 * progmodes/python.el (python-shell-output-filter): Handle extra
7785 carriage return in OSX (Bug#12409).
7787 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7789 Fix shell handling of unbalanced quotes and parens in output.
7790 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7791 (python-syntax-propertize-function): Use it.
7792 (python-shell-output-syntax-table): New var.
7793 (inferior-python-mode): Prevent unbalanced parens/quotes from
7794 previous output mess with current input context.
7796 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7798 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7799 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7801 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7803 * ffap.el (ffap-replace-file-component): Support Tramp file name
7804 syntax, not only ange-ftp's one.
7806 2012-10-08 Glenn Morris <rgm@gnu.org>
7808 * cus-start.el (message-log-max): Set :version.
7810 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7812 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7814 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7815 the minibuffer window (Bug#10851).
7817 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7819 Enhancements on forward-sexp movement.
7820 * progmodes/python.el (python-nav-beginning-of-statement)
7821 (python-nav-end-of-statement): Return point-marker.
7822 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7823 (python-info-current-symbol)
7824 (python-info-statement-starts-block-p): Rename from
7825 python-info-beginning-of-block-p.
7826 (python-info-statement-ends-block-p): Rename from
7827 python-info-end-of-block-p.
7828 (python-info-beginning-of-statement-p)
7829 (python-info-end-of-statement-p)
7830 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7833 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7835 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7836 frame-selected-windows.
7838 2012-10-08 Daniel Colascione <dancol@dancol.org>
7840 * battery.el (battery-status-function): Check for
7841 w32-battery-status itself, not system-time windows-nt.
7843 * frame.el: Require cl-lib.
7844 (display-format-alist): New variable mapping frame types to
7845 functions that initialize them.
7846 (window-system-for-display): New function: interprets
7847 display-format-alist.
7848 (make-frame-on-display): Remove existing display-selection logic
7849 and just forward to make-frame, which will now DTRT.
7850 (make-frame): Restructure to use window-system-for-display to
7851 figure out how to create a frame on a given display.
7852 (display-mouse-p): Look for frame-type w32, not a particular
7855 * loadup.el: Load w32 lisp code when we have the w32 feature.
7857 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7858 system-type windows-nt.
7860 * server.el (server-create-window-system-frame): Look for window
7862 (server-proces-filter): Only force a window system when windows-nt
7863 _and_ w32. Explain why.
7865 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7866 of window systems we configure for the mode.
7868 * startup.el (command-line): Mark window system is initialized
7869 after we've done it.
7871 * common-win.el (x-select-text): Look for w32, not windows-nt.
7873 * ns-win.el: Require cl-lib. Add ourselves to
7874 display-format-alist.
7875 (ns-initialize-window-system): Assert we're not initialized twice.
7877 * w32-win.el: Enable lexical binding; require cl-lib; add
7878 ourselves to display-format-alist.
7879 (w32-handle-dropped-file): Convert incoming dropped files from
7880 Windows paths to Cygwin ones before passing them on to the rest of
7882 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7883 (w32-initialize-window-system): Assert we're not initialized twice.
7885 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7886 (x-initialize-window-system): Assert we're not initialized twice.
7888 * w32-common-fns.el: New File.
7889 (w32-version, w32-using-nt, w32-get-clipboard-data)
7890 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7891 (w32-charset-info-alist, x-last-selected, text)
7892 (x-get-selection-value, x-selection-value): Move here.
7894 * w32-fns.el: Require w32-common-fns.
7895 (w32-version, w32-using-nt, w32-get-clipboard-data)
7896 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7897 (w32-charset-info-alist, x-last-selected, text)
7898 (x-get-selection-value, x-selection-value): Move to
7902 (w32-allow-system-shell, w32-system-shells): Define only in
7905 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7908 (read-passwd): Remove a few more potential sources of leaks.
7910 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7912 * progmodes/python.el (inferior-python-mode)
7913 (python-shell-make-comint): Fix initialization of local
7914 variables copied from parent buffer.
7916 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7918 * term/ns-win.el (ns-read-file-name): Update declaration to match
7920 (ns-respond-to-change-font): Change fontsize separately so we are sure
7921 it is set when font is acted upon.
7923 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7925 Enhancements to indentation.
7926 * progmodes/python.el (python-indent-context): Give priority to
7927 inside-string context. Make comments indentation markers.
7928 (python-indent-region): Do not mess with strings, unless it's the
7929 enclosing set of quotes.
7931 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * window.el (internal--before-save-selected-window)
7934 (internal--after-save-selected-window): New functions extracted from
7935 save-selected-window. Make sure we return the `alist' we construct.
7936 (save-selected-window): Use them.
7938 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7939 Use with-selected-window.
7941 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7942 forms that define macros (bug#12593).
7944 2012-10-07 Kenichi Handa <handa@gnu.org>
7946 * international/mule-conf.el (compound-text-with-extensions):
7947 Add :mime-charset property as x-ctext.
7949 2012-10-07 Stefan Merten <smerten@oekonux.de>
7951 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7952 (rst-indent-literal-normal, rst-indent-literal-minimized)
7953 (rst-indent-comment): Correct :version tag.
7954 (rst-official-cvs-rev): Correct version string.
7956 2012-10-07 Glenn Morris <rgm@gnu.org>
7958 * mail/rmailmm.el (rmail-mime-process-multipart):
7959 Do not confuse a multipart message with an epilogue
7960 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7962 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7964 Fix shell output retrieval and comint-prompt-regexp init.
7965 * progmodes/python.el (inferior-python-mode):
7966 (python-shell-make-comint): Fix initialization of
7967 comint-prompt-regexp from copied file local variables.
7968 (python-shell-fetched-lines): Remove var.
7969 (python-shell-output-filter-in-progress): Rename from
7970 python-shell-fetch-lines-in-progress.
7971 (python-shell-output-filter-buffer): Rename from
7972 python-shell-fetch-lines-string.
7973 (python-shell-fetch-lines-filter): Delete function.
7974 (python-shell-output-filter): New function.
7975 (python-shell-send-string-no-output): Use them.
7977 2012-10-07 Glenn Morris <rgm@gnu.org>
7979 * hi-lock.el (hi-lock-process-phrase):
7980 Try to make it less fragile. (Bug#7161)
7982 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7984 2012-10-06 Glenn Morris <rgm@gnu.org>
7986 * ehelp.el (electric-help-mode): Use help-mode rather than
7987 non-existent mode `help'.
7988 (electric-help-map): Use button-buffer-map. (Bug#10917)
7990 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7991 (reftex-create-bibtex-footer): Fix custom types.
7993 * progmodes/sh-script.el (sh-indent-after-continuation):
7994 Add explicit :group.
7996 * textmodes/rst.el (rst-preferred-decorations)
7997 (rst-shift-basic-offset): Clarify obsolescence versions.
7999 * profiler.el (profiler): Add missing group :version tag.
8000 * avoid.el (mouse-avoidance-banish-position):
8001 * proced.el (proced-renice-command):
8002 * calc/calc.el (calc-ensure-consistent-units):
8003 * calendar/icalendar.el (icalendar-import-format-uid):
8004 * net/tramp.el (tramp-save-ad-hoc-proxies):
8005 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8006 * progmodes/flymake.el (flymake-error-bitmap)
8007 (flymake-warning-bitmap, flymake-fringe-indicator-position):
8008 * progmodes/sh-script.el (sh-indent-after-continuation):
8009 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
8010 (verilog-before-save-font-hook, verilog-after-save-font-hook):
8011 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
8012 (vhdl-array-index-record-field-in-sensitivity-list)
8013 (vhdl-indent-comment-like-next-code-line):
8014 * textmodes/reftex-vars.el (reftex-ref-style-alist)
8015 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
8016 (reftex-cite-key-separator, reftex-create-bibtex-header)
8017 (reftex-create-bibtex-footer):
8018 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
8019 (rst-indent-literal-normal, rst-indent-literal-minimized)
8020 (rst-indent-comment): Add missing custom :version tags.
8022 * calendar/timeclock.el (timeclock-modeline-display):
8023 Add missing obsolete alias for renamed user option.
8025 * strokes.el (strokes-modeline-string):
8026 * emulation/crisp.el (crisp-mode-modeline-string):
8027 * eshell/esh-mode.el (eshell-status-in-modeline):
8028 Aliases to defcustoms must come before the defcustom.
8030 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
8031 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8032 (cal-tex-cursor-week-monday): Doc fixes.
8033 (cal-tex-cursor-week2-summary): Doc fix.
8034 Rename from cal-tex-cursor-week-at-a-glance.
8036 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
8037 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
8039 * calendar/calendar.el (calendar-mode-map):
8040 Add cal-tex-cursor-week2-summary.
8042 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8046 * subr.el (read-passwd-map): New var.
8047 (read-passwd): Use `read-string' again.
8048 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8050 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
8052 * register.el (append-to-register, prepend-to-register):
8053 Deactivate mark, as does `copy-to-register' (bug#12389).
8055 2012-10-06 Chong Yidong <cyd@gnu.org>
8057 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8059 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
8061 * international/characters.el: Fix simple mistake ((car chars) ->
8062 elt), delete duplicated code.
8064 2012-10-06 Glenn Morris <rgm@gnu.org>
8066 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
8068 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
8070 * color.el (color-hsl-to-rgb): Fix incorrect results for
8071 small and large hue values. (Bug#12559)
8073 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
8075 Enhancements to docstring formatting when filling paragraphs.
8076 * progmodes/python.el (python-fill-docstring-style): Rename from
8077 python-fill-string-style. Added new style.
8078 (python-fill-string): Use new style. Better checks for
8081 2012-10-05 Glenn Morris <rgm@gnu.org>
8083 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8085 * color.el (color-name-to-rgb, color-rgb-to-hex)
8086 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8087 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8088 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8089 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8091 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
8093 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
8095 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8096 to get the correct size across symlinks.
8098 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8100 2012-10-04 Juri Linkov <juri@jurta.org>
8102 * replace.el (query-replace-interactive): Declare obsolete.
8103 (query-replace-read-from): Add the last incremental search string
8104 to the list of default values accessible via M-n.
8105 (map-query-replace-regexp): Use `read-regexp'.
8106 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8107 (map-query-replace-regexp, replace-string, replace-regexp):
8108 Fix docstrings to replace mentions of `query-replace-interactive'
8109 with alternatives. (Bug#12526)
8111 2012-10-04 Juri Linkov <juri@jurta.org>
8113 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
8114 (dired-pop-to-buffer): Declare obsolete.
8115 (dired-mark-pop-up): Doc fix.
8117 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
8119 Allow user to set docstring style for fill-paragraph.
8120 * progmodes/python.el
8121 (python-fill-comment-function, python-fill-string-function)
8122 (python-fill-decorator-function, python-fill-paren-function):
8123 Remove :safe for defcustoms.
8124 (python-fill-string-style): New defcustom
8125 (python-fill-paragraph-function): Enhance context detection.
8126 (python-fill-string): Honor python-fill-string-style settings.
8128 2012-10-04 Martin Rudalics <rudalics@gmx.at>
8130 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8131 after setting its buffer (Bug#10805).
8133 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
8135 Fix cornercase for string syntax.
8136 * progmodes/python.el (python-syntax-propertize-function):
8137 Simplify and enhance the regexp for unescaped quotes. Now it also
8138 matches quotes in weird situations like the single quote in
8140 (python-syntax-stringify): Simplify num-quotes detecting code.
8142 2012-10-03 Glenn Morris <rgm@gnu.org>
8144 * help-macro.el (three-step-help):
8145 Revert 2012-09-29 change. (Bug#12567)
8147 2012-10-03 Martin Rudalics <rudalics@gmx.at>
8149 * menu-bar.el (kill-this-buffer): Don't do anything when
8150 `menu-frame' is not alive or visible (Bug#8184).
8152 * emacs-lisp/debug.el (debug): When quitting the debugger window
8153 restore current buffer (Bug#12502).
8155 2012-10-02 Chong Yidong <cyd@gnu.org>
8157 * progmodes/hideif.el (hif-lookup, hif-defined):
8158 Handle semantic-c-takeover-hideif.
8160 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
8162 Change sampling interval units from ms to ns.
8163 * profiler.el (profiler-sampling-interval): Change units
8164 from ms to ns, multiplying the default by 1000000 so that
8166 (profiler-report-cpu-line-format): Give enough room for
8167 the maximum counters on 64-bit hosts.
8168 (profiler-report-render-calltree-1): Call them "CPU samples",
8169 not "Time (ms)", since they are not milliseconds now (and
8172 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8174 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8175 Fix querying BBDB for entries without a last name (Bug#11580).
8177 2012-10-02 Chong Yidong <cyd@gnu.org>
8179 * emacs-lisp/eieio.el: Restore Version header.
8181 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8183 * vc/diff-mode.el (diff--auto-refine-data): New var.
8184 (diff-hunk): Use it to delay refinement.
8185 (diff-mode): Remove overlays when we turn off font-lock.
8187 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8188 (table-initialize-table-fixed-width-mode)
8189 (table-set-table-fixed-width-mode): Remove functions.
8190 (table-command-list): Move initialization into declaration.
8191 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8192 (table-with-cache-buffer): Use `declare'.
8193 (table-span-cell): Simplify via CSE.
8194 (table-fixed-width-mode): Use define-minor-mode.
8195 (table-call-interactively, table-funcall, table-apply): Remove.
8196 (table-function): New function, to replace them.
8198 * bookmark.el (bookmark-search-pattern): Remove var.
8199 (bookmark-read-search-input): Remove function.
8200 (bookmark-bmenu-search): Reimplement using a minibuffer.
8202 * faces.el (modeline): Remove obsolete face name.
8204 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8205 and give a non-nil default value.
8206 (add-change-log-entry): Simplify accordingly.
8208 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
8210 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8211 (vc-git-log-edit-toggle-amend): New function.
8212 (vc-git-log-edit-toggle-signoff): New function.
8213 (vc-git-log-edit-mode): New major mode.
8214 (vc-git-log-edit-mode-map): Keymap for it.
8215 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8217 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8219 (log-edit-toggle-header): New function.
8220 (log-edit-extract-headers): Accept function values in HEADERS alist.
8222 2012-10-01 David Engster <deng@randomsample.de>
8224 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8225 from symbol property and change message to be more consistent with
8227 (eieio-describe-generic): Add filename for each implementation.
8228 Fix indices for generic and normal methods.
8229 (eieio-method-def, eieio-class-def): New buttons.
8230 (eieio-help-find-method-definition)
8231 (eieio-help-find-class-definition): New functions.
8232 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8233 class, constructor and method definitions.
8235 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8236 information in symbol property.
8237 (scoped-class): Remove.
8238 (eieio-slot-name-index, call-next-method): Check if it is bound.
8240 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
8242 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8243 (eieio-custom-mode): New major mode.
8244 (eieio-customize-object): Use it.
8246 2012-10-01 Eric Ludlam <zappo@gnu.org>
8248 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8249 specifying the expected class, and whether subclassing is allowed.
8250 (eieio-persistent-convert-list-to-object):
8251 (eieio-persistent-validate/fix-slot-value)
8252 (eieio-persistent-slot-type-is-class-p): New functions.
8253 (eieio-named::slot-missing): Doc fix.
8255 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8256 Stop using unused publd variable.
8258 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8259 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8260 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8261 (eieio-speedbar-handle-click): Do not specify a class for the
8262 method. Fixes method invocation order problems with EDE.
8264 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8267 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8269 2012-10-01 Karl Fogel <kfogel@red-bean.com>
8271 * bookmark.el (bookmark-version-control): Give tags in the
8272 :type choices (Bug#12309), and improve doc string.
8273 (bookmark-write-file): Bind `print-circle' to `t' to allow
8274 circular custom bookmark types. (Bug#12503)
8276 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
8278 Revert the FOLLOW-SYMLINKS change for file-attributes.
8279 * files.el (remote-file-name-inhibit-cache, after-find-file):
8280 * time.el (display-time-file-nonempty-p): Undo last change.
8282 * profiler.el (profiler-sampling-interval): Change default back to 1.
8283 See Stefan Monnier in
8284 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8286 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
8288 Shell output catching a la gud-gdb.
8289 * progmodes/python.el (python-shell-fetch-lines-in-progress)
8290 (python-shell-fetch-lines-string, python-shell-fetched-lines):
8292 (python-shell-fetch-lines-filter): New function.
8293 (python-shell-send-string-no-output): Use them.
8295 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
8297 * profiler.el (profiler-sampling-interval): Rename from
8298 profiler-sample-interval.
8299 (profiler-sampling-interval): Default to 10.
8300 (profiler-find-profile): New command (was profiler-find-log).
8301 (profiler-find-profile-other-window): New command.
8302 (profiler-find-profile-other-frame): New command.
8303 (profiler-profile): Introduce API-level data structure.
8305 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
8307 file-attributes has a new optional arg FOLLOW-SYMLINKS.
8308 * files.el (remote-file-name-inhibit-cache):
8309 * time.el (display-time-file-nonempty-p): Use it.
8310 * files.el (after-find-file): Don't chase links before calling
8311 file-exists-p, as file-exists-p already does the right thing.
8313 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
8315 Merge from standalone RefTeX repository.
8317 The following ChangeLog entries are shortened versions of the
8318 original ones with file paths adapted. A not so strongly edited
8319 version of the original ChangeLog can be found in the commit log.
8321 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8322 (reftex-arg-cite): Use `reftex-cite-key-separator'.
8323 Correctly handle new value type returned by `reftex-citation'.
8325 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8326 that entries with whitespace at various places are found.
8327 Doc fix. Include entries that are cross-referenced from cited entries.
8328 Include @String definitions in the resulting bib file. Add header
8329 and footer defined in `reftex-create-bibtex-header' and
8330 `reftex-create-bibtex-footer'.
8331 (reftex-do-citation): Make it possible again to insert
8332 non-existent entries. Save match data when asking for optional
8333 arguments. Return all keys, not just the first one.
8334 (reftex-all-used-citation-keys): Fix regexp to correctly extract
8335 all citations in the same line.
8336 (reftex-parse-bibtex-entry): Accept additional optional argument
8337 `raw' and keep quotes or braces if it is non-nil. Match fields
8338 containing hyphens besides word constituents.
8339 (reftex-get-string-refs): New function.
8340 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8341 and ask if it should be reread in case it did.
8342 (reftex-pop-to-bibtex-entry)
8343 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8344 entries with spaces or tabs in front of arguments.
8345 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8346 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8347 Match entries containing numbers and symbol constituents.
8348 (reftex-do-citation, reftex-figure-out-cite-format):
8349 Use `reftex-cite-key-separator'.
8351 * textmodes/reftex-dcr.el: Move provide statement to end of file.
8352 (reftex-mouse-view-crossref): Explain why point is set.
8354 * textmodes/reftex-global.el: Whitespace changes.
8356 * textmodes/reftex-index.el: Move provide statement to end of
8358 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8359 (reftex-index-visit-phrases-buffer): Set marker when visiting
8360 buffer. This allows for returning from the phrases file to the
8361 file one was just editing instead of the file where the last
8362 phrases was added from.
8363 (reftex-index-phrases-syntax-table): New variable. Give ?\"
8364 punctuation syntax as it usually is not used as string quote in
8365 TeX-related modes and may occur unmatched. The change also
8366 prevents fontification of quoted content.
8367 (reftex-index-phrases-mode): Use it.
8369 * textmodes/reftex-parse.el (reftex-parse-from-file):
8370 Move backward one char if a `\' was matched after a section macro.
8371 (reftex-parse-from-file): Use beginning of match instead of end as
8374 * textmodes/reftex-ref.el: Adapt creation of
8375 `reftex-<package>-<macro>' functions to new structure of
8376 `reftex-ref-style-alist'.
8377 (reftex-reference): Use `reftex-ref-style-list' function.
8378 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
8379 reference macro if `reftex-ref-macro-prompt' is non-nil.
8380 (reftex-reference): Pass refstyle to `reftex-format-special'.
8381 Determine reference macro by looking at
8382 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8383 Use only one special format function.
8384 (reftex-varioref-vref, reftex-fancyref-fref)
8385 (reftex-fancyref-Fref): Remove definitions. The functions are now
8386 generated from `reftex-ref-style-alist'.
8387 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8389 (reftex-format-special): New function.
8391 * textmodes/reftex-sel.el
8392 (reftex-select-cycle-ref-style-internal): Adapt to new structure
8393 of `reftex-ref-style-alist'. Remove code for testing macro type.
8394 (reftex-select-toggle-varioref)
8395 (reftex-select-toggle-fancyref): Remove.
8396 (reftex-select-cycle-ref-style-internal)
8397 (reftex-select-cycle-ref-style-forward)
8398 (reftex-select-cycle-ref-style-backward): New functions.
8399 (reftex-select-label-map): Use `v' and `V' for general cycling
8400 through reference styles. Add `p' for switching between number
8401 and page reference types.
8403 * textmodes/reftex-toc.el (reftex-re-enlarge):
8404 Call `enlarge-window' only if there is something to do because in Emacs
8405 the horizontal version throws an error even if the parameter is 0.
8407 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8408 (reftex-plug-into-AUCTeX): Doc fix.
8409 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8410 string. Adapt to new name.
8411 (reftex-ref-style-alist): Change structure so that it is not
8412 possible to use multiple different package names within a style.
8413 Remove the symbols for symbols for macro type distinction.
8414 Add characters for macro selection.
8415 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8416 (reftex-create-bibtex-footer): New variables.
8417 (reftex-format-ref-function): Mention third argument of special
8419 (reftex-ref-style-alist, reftex-ref-style-default-list):
8421 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8422 to new implementation. Mark as obsolete. Add compatibility code
8423 for honoring the variable values in case they are set.
8424 (reftex-cite-format-builtin, reftex-bibliography-commands):
8425 Add support for ConTeXt.
8426 (reftex-format-ref-function, reftex-format-cite-function):
8428 (reftex-cite-key-separator): New variable.
8430 * textmodes/reftex.el (reftex-syntax-table-for-bib)
8431 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8432 `reftex-syntax-table' because parens have to retain their paren
8433 syntax in order for parsing of BibTeX entries like @book(...) to
8435 (reftex-in-comment): Do not error out if `comment-start-skip' is
8436 not set. Deal correctly with escaped comment characters.
8437 (reftex-tie-multifile-symbols): Add doc string.
8438 Initialize `reftex-ref-style-list'.
8439 (reftex-untie-multifile-symbols): Add doc string.
8440 (reftex-add-index-macros): Doc fix.
8441 (reftex-ref-style-activate, reftex-ref-style-toggle)
8442 (reftex-ref-style-list): New functions.
8443 (reftex-mode-menu): Use them. Adapt to new structure of
8444 `reftex-ref-style-alist'.
8445 (reftex-select-with-char): Kill the RefTeX Select buffer when
8447 (reftex-remove-if): New function.
8448 (reftex-erase-all-selection-and-index-buffers)
8449 (reftex-mode-menu): Reference styles are now computed from
8450 `reftex-ref-style-alist'. Fix typo.
8451 (reftex-report-bug): New function.
8452 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8453 algorithms with O(n log n). Introduce optional argument SORT (not
8456 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
8458 Enhancements for triple-quote string syntax.
8459 * progmodes/python.el (python-syntax-propertize-function):
8460 Match both quote cases in one regexp.
8461 (python-syntax-stringify): Handle matches properly.
8463 2012-09-30 Juri Linkov <juri@jurta.org>
8465 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8466 to nil around the call to `insert' to prevent
8467 directory time modification by lock_file. (Bug#2295)
8468 * tar-mode.el (tar-summarize-buffer): Idem.
8470 2012-09-30 Juri Linkov <juri@jurta.org>
8472 * facemenu.el (list-colors-sort): Add option "Luminance".
8473 (list-colors-sort-key): Implement it.
8475 * vc/diff-mode.el (diff-refine-removed):
8476 * vc/ediff-init.el (ediff-fine-diff-A):
8477 * vc/smerge-mode.el (smerge-refined-removed):
8478 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8480 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8482 * term/ns-win.el (x-file-dialog): New function.
8484 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8486 * ido.el (ido-max-directory-size): Default to nil; the current
8487 default is small for POSIX systems, and impractical on Windows 7
8488 now that lstat returns directory sizes for NTFS.
8490 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8492 In buffer display functions handle window-height/window-width
8493 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8494 * window.el (window--display-buffer): New argument ALIST.
8495 Obey window-height and window-width alist entries.
8496 (window--try-to-split-window): New argument ALIST.
8497 Bind window-combination-limit to t when the window's size shall be
8498 changed and window-combination-limit equals `window-size'.
8499 (display-buffer-in-atom-window)
8500 (display-buffer-in-major-side-window)
8501 (display-buffer-in-side-window, display-buffer-same-window)
8502 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8503 (display-buffer-pop-up-window, display-buffer-below-selected)
8504 (display-buffer-at-bottom, display-buffer-in-previous-window)
8505 (display-buffer-use-some-window): Adjust all callers of
8506 window--display-buffer and window--try-to-split-window.
8507 (fit-frame-to-buffer): New option.
8508 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8510 (display-buffer-in-major-side-window): Evaluate window-height /
8511 window-width alist entries.
8513 * help.el (temp-buffer-resize-frames)
8514 (temp-buffer-resize-regexps): Remove options.
8515 (temp-buffer-resize-mode): Adjust doc-string.
8516 (resize-temp-buffer-window): Don't consult
8517 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8518 temp-buffer-resize-frames.
8520 * dired.el (dired-mark-pop-up):
8521 Call display-buffer-below-selected with a fit-window-to-buffer alist
8524 2012-09-30 Chong Yidong <cyd@gnu.org>
8526 * server.el (server-host): Document the security implications.
8527 (server-auth-key): Doc fix.
8529 * startup.el (initial-buffer-choice): Doc fix.
8531 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8533 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8536 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8538 * help-fns.el (help-fns--obsolete): Fix last change.
8540 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8542 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8543 (minor-mode-map-alist): Remove redundant code.
8545 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8546 visited in a buffer.
8547 (cvs-insert-visited-file): New function.
8548 (find-file-hook): Use it.
8550 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8552 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8554 (log-edit-empty-buffer-p): Don't require a space after a header.
8556 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8558 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8560 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8561 a proper minor-mode.
8563 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8565 2012-09-29 Glenn Morris <rgm@gnu.org>
8567 * winner.el (winner-mode): Remove variable (let define-minor-mode
8569 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8571 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8572 (winner-mode): Use define-minor-mode.
8574 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8575 the full definition in loaddefs, rather than duplicating it.
8577 * help-macro.el (three-step-help): No need to autoload defcustom.
8579 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8580 (inferior-lisp-program, inferior-lisp-load-command)
8581 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8582 No need to autoload defcustoms.
8584 * hippie-exp.el (hippie-expand-try-functions-list)
8585 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8586 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8587 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8588 (hippie-expand-only-buffers): No need to autoload defcustoms.
8589 * progmodes/vhdl-mode.el (vhdl-line-expand):
8590 Explicitly load hippie-exp, so it does not get autoloaded
8591 while hippie-expand-try-functions-list is let-bound.
8593 2012-09-28 Glenn Morris <rgm@gnu.org>
8595 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8597 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8598 Only "cl.el" counts as cl these days.
8600 2012-09-28 Juri Linkov <juri@jurta.org>
8602 Display archive errors in the echo area instead of inserting
8605 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8606 to STDERR-TEST that can be a regexp matching a successful output.
8607 Create a temporary file and redirect stderr to it. Search for
8608 STDERR-TEST in the stderr output and display it in the echo area
8609 if no match is found.
8610 (archive-extract-by-file): New function like
8611 `archive-extract-by-stdout' but extracting archives to files
8612 and looking for successful matches in stdout. Function body is
8613 mostly copied from `archive-rar-extract'.
8614 (archive-rar-extract): Use `archive-extract-by-file'.
8615 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8617 2012-09-28 Leo Liu <sdl.web@gmail.com>
8619 * pcomplete.el (pcomplete-show-completions):
8620 Use minibuffer-message to make pcomplete usable in minibuffer.
8622 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8624 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8626 * type-break.el: Use lexical-binding.
8627 (type-break-mode): Use define-minor-mode.
8629 * emacs-lisp/pcase.el (pcase--mark-used): New.
8630 (pcase--u1): Use it (bug#12512).
8632 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8633 in load-history with the right file name.
8635 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8637 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8638 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8639 (doc-view-get-bounding-box): Make bounding box slicing work for
8640 ODF and DVI documents.
8642 2012-09-28 Glenn Morris <rgm@gnu.org>
8644 * type-break.el (type-break-mode, type-break-interval)
8645 (type-break-good-rest-interval, type-break-keystroke-threshold):
8646 No need to autoload.
8647 (type-break-good-rest-interval, type-break-keystroke-threshold):
8650 2012-09-28 Chong Yidong <cyd@gnu.org>
8652 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8655 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8657 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8659 2012-09-27 Glenn Morris <rgm@gnu.org>
8661 * faces.el (x-display-name): Declare (for without-x builds).
8663 * linum.el (linum-format): Don't autoload it. Improve :type.
8665 * progmodes/tcl.el: Don't require outline when compiling.
8666 (outline-regexp, outline-level): Declare.
8667 * textmodes/sgml-mode.el: Don't require outline when compiling.
8668 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8670 * term.el (term-ansi-reset):
8671 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8673 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8674 files for RCS and SCCS. (Bug#9781)
8676 2012-09-27 Chong Yidong <cyd@gnu.org>
8678 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8679 change; value should be t.
8681 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * image-mode.el: Use lexical-binding.
8684 (image-mode-winprops): Use t to stand for the window of
8685 a buffer that's not displayed.
8686 * doc-view.el (doc-view-new-window-function): Handle the new
8688 (doc-view-enlarge): Make it a real nop if the size is not changed.
8689 (doc-view-display): Handle the case where the buffer is not (yet?)
8690 displayed in any window.
8691 (doc-view-saved-settings): New var.
8692 (doc-view-mode): Use it.
8693 (doc-view-fallback-mode): Set it.
8695 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8696 Set lexical-binding.
8697 (minibuffer-eldef-shorten-default): New var.
8698 (minibuffer-default-in-prompt-regexps): Use it for new default.
8699 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8701 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8703 * international/uni-bidi.el:
8704 * international/uni-category.el:
8705 * international/uni-name.el:
8706 * international/uni-numeric.el: Regenerate.
8708 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8709 Stefan Monnier <monnier@iro.umontreal.ca>
8711 * profiler.el: New file.
8713 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8715 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8716 (testcover-reinstrument): Simplify with CSE.
8718 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8720 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8722 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8724 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8725 (verilog-auto-input, verilog-auto-insert-lisp)
8726 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8727 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8728 (verilog-auto-unused, verilog-auto-wire)
8729 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8730 newline. Reported by Andrew Jones.
8731 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8732 Reported by Brad Dobbie.
8733 (verilog-batch-delete-trailing-whitespace):
8734 Create verilog-batch-delete-trailing-whitespace.
8735 Reported by Brad Dobbie.
8736 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8737 parameters from another module. Reported by Dan Katz.
8738 (verilog-auto, verilog-auto-assign-modport)
8739 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8740 AUTOINOUTMODPORT for UVM interface module shell generation.
8741 Reported by Brad Dobbie.
8742 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8744 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8745 Reported by Matt Martin.
8747 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8749 * window.el (window--resize-child-windows): When resizing child
8750 windows proportionally, process them in reverse order to
8751 preserve the "when splitting a window the new one gets the odd
8753 (window--resize-root-window-vertically): When resizing the
8754 minibuffer window try to affect only windows at the bottom of the
8757 2012-09-25 Chong Yidong <cyd@gnu.org>
8759 * subr.el (declare): Doc fix.
8761 * help-fns.el (help-fns--obsolete): Handle macros properly.
8763 2012-09-25 Chong Yidong <cyd@gnu.org>
8765 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8766 this function obsolete.
8768 * calendar/cal-x.el (calendar-two-frame-setup)
8769 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8770 * calendar/calendar.el (american-calendar, european-calendar)
8771 (calendar-for-loop):
8772 * comint.el (comint-dynamic-simple-complete)
8773 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8774 * desktop.el (desktop-load-default):
8775 * dired-x.el (dired-omit-here-always)
8776 (dired-hack-local-variables, dired-default-directory):
8777 * emacs-lisp/derived.el (derived-mode-class):
8778 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8779 * emacs-lock.el (toggle-emacs-lock):
8780 * epa.el (epa-display-verify-result):
8781 * epg.el (epg-sign-keys, epg-start-sign-keys)
8782 (epg-passphrase-callback-function):
8783 * eshell/esh-util.el (eshell-for):
8784 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8785 (eshell-add-to-window-buffer-names):
8786 * files.el (locate-file-completion):
8787 * imenu.el (imenu-example--create-c-index)
8788 (imenu-example--create-lisp-index)
8789 (imenu-example--lisp-extract-index-name)
8790 (imenu-example--name-and-position):
8791 * international/mule-cmds.el (princ-list):
8792 * international/mule-diag.el (decode-codepage-char):
8793 * international/mule-util.el (detect-coding-with-priority):
8794 * iswitchb.el (iswitchb-read-buffer):
8795 * mail/mailalias.el (mail-complete):
8796 * mail/sendmail.el (mail-sent-via):
8797 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8798 (mouse-major-mode-menu):
8799 * password-cache.el (password-read-and-add):
8800 * pcomplete.el (pcomplete-parse-comint-arguments):
8801 * progmodes/sh-script.el (sh-maybe-here-document):
8802 * replace.el (query-replace-regexp-eval):
8803 * savehist.el (savehist-load):
8804 * simple.el (choose-completion-delete-max-match):
8805 * term.el (term-dynamic-simple-complete):
8806 * vc/ediff-init.el (ediff-check-version):
8807 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8808 * vc/vc.el (vc-diff-switches-list):
8809 * view.el (view-return-to-alist-update): Likewise.
8811 * subr.el (eval-next-after-load, makehash, insert-string)
8812 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8814 (mode-line-inverse-video): Variable deleted.
8816 * international/mule-util.el (string-to-sequence): Remove.
8818 * calendar/calendar.el (calendar-version):
8819 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8820 (icalendar-convert-diary-to-ical):
8821 * cus-edit.el (custom-mode):
8822 * ansi-color.el (ansi-color-unfontify-region):
8823 * international/latin1-disp.el (latin1-char-displayable-p):
8824 * progmodes/cwarn.el (turn-on-cwarn-mode):
8825 * progmodes/which-func.el (which-func-update-1):
8826 Use define-obsolete-function-alias.
8828 * net/newst-backend.el (newsticker-cache-filename):
8829 * net/newst-treeview.el (newsticker-groups-filename):
8830 Fix incorrect obsolescence declaration.
8832 * allout.el (allout-passphrase-hint-string): Likewise.
8833 (allout-init): Use a declare form to mark obsolete.
8835 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8836 this applies to functions.
8838 * iswitchb.el (iswitchb-read-buffer): Move code of
8839 iswitchb-define-mode-map here, and delete that obsolete function.
8841 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8842 font-lock-reference-face.
8844 2012-09-25 Glenn Morris <rgm@gnu.org>
8846 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8849 * eshell/em-term.el (eshell-term-name):
8850 Default to term-term-name. (Bug#12485)
8852 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8854 * progmodes/python.el (python-shell-send-buffer): Better handling
8855 of "if __name__ == '__main__':" conditionals when sending the buffer.
8857 2012-09-24 Glenn Morris <rgm@gnu.org>
8859 * eshell/esh-cmd.el (eshell-find-alias-function):
8860 Tighten up file-name regexp. (Bug#12499)
8862 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8864 Enhancements for triple-quote string syntax.
8865 * progmodes/python.el (python-quote-syntax): Remove.
8866 (python-syntax-propertize-function): New value.
8867 (python-syntax-count-quotes, python-syntax-stringify):
8870 2012-09-24 Chong Yidong <cyd@gnu.org>
8872 * mail/supercite.el (sc-version): Remove obsolete function.
8873 (sc-describe): Don't mark as obsolete, since it is bound.
8874 (sc-submit-bug-report): Remove.
8876 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8877 (cvs-commit-buffer-require-final-newline): Remove.
8878 (log-edit-require-final-newline)
8879 (log-edit-changelog-full-paragraphs): Default to t.
8881 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8882 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8883 * vc/vc.el (vc-checkout-carefully): Likewise.
8885 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8886 (emerge-version): Remove.
8888 * progmodes/compile.el (compile-internal): Remove.
8889 (compilation-parse-errors-function): Fix typo.
8891 * international/mule.el (set-char-table-default): Remove.
8892 (set-coding-priority, make-coding-system, generic-char-p)
8893 (charset-list, charset-bytes, charset-id): Use declare to mark
8894 functions as obsolete.
8896 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8897 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8898 * vc/vc-hooks.el (vc-default-registered): Don't use
8899 vc-master-templates.
8901 * font-lock.el (font-lock-reference-face):
8902 Use define-obsolete-variable-alias.
8904 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8905 * calendar/calendar.el (calendar-font-lock-keywords):
8906 * calendar/diary-lib.el (diary-font-lock-keywords)
8907 (diary-fancy-font-lock-keywords):
8908 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8909 * textmodes/reftex-index.el (reftex-insert-index):
8910 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8911 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8912 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8913 * progmodes/prolog.el (prolog-font-lock-keywords):
8914 * progmodes/idlwave.el (idlwave-idl-keywords):
8915 * progmodes/ada-mode.el (ada-font-lock-keywords):
8916 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8918 2012-09-24 Glenn Morris <rgm@gnu.org>
8920 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8922 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8924 * progmodes/python.el (python-indent-line): More consistent cursor
8927 2012-09-23 Stefan Merten <smerten@oekonux.de>
8929 * textmodes/rst.el: Fix compiler warning.
8931 2012-09-23 Roland Winkler <winkler@gnu.org>
8933 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8934 Transcribe also LaTeX hyphenation.
8935 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8936 bibtex-reformat-previous-options.
8938 2012-09-23 Roland Winkler <winkler@gnu.org>
8940 * proced.el (proced-renice-command): New variable.
8941 (proced-marked-processes): New function.
8942 (proced-with-processes-buffer): New macro.
8943 (proced-send-signal): Use them.
8944 (proced-renice): New command bound to r.
8946 2012-09-23 Roland Winkler <winkler@gnu.org>
8948 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8949 ibuffer-saved-filter-groups has one element, shortcut the call of
8950 completing-read. (Bug#12331)
8952 2012-09-23 Chong Yidong <cyd@gnu.org>
8954 * bindings.el (mode-line-toggle-read-only):
8955 * bs.el (bs-toggle-readonly):
8956 * buff-menu.el (Buffer-menu-toggle-read-only):
8957 * dired.el (dired-toggle-read-only):
8958 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8960 2012-09-23 Chong Yidong <cyd@gnu.org>
8962 * image.el (image-type-available-p): Adapt to init-image-library
8965 2012-09-22 Juri Linkov <juri@jurta.org>
8967 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8968 `dired-toggle-read-only'. (Bug#12462)
8970 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8972 * subr.el (temp-output-buffer-show): New function.
8973 (with-output-to-temp-buffer): Call temp-output-buffer-show
8974 instead of internal-temp-output-buffer-show.
8976 2012-09-22 Chong Yidong <cyd@gnu.org>
8978 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8981 * repeat.el (repeat): Doc fix (Bug#12348).
8983 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8986 * simple.el (shell-command-on-region): Doc fix.
8987 (read-only-mode): Doc fix.
8989 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8991 * emacs-lisp/timer.el (run-with-idle-timer)
8992 (timer-activate-when-idle): Warn against reinvoking an idle timer
8993 from within its own timer action. (Bug#12447)
8995 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8997 * cus-start.el (window-combination-limit): Add new optional
8999 * window.el (temp-buffer-window-show)
9000 (window--try-to-split-window): Handle new values of
9001 window-combination-limit (Bug#1806).
9002 (split-window): Test window-combination-limit for t instead of
9004 (display-buffer-at-bottom): New buffer display action function.
9005 * help.el (temp-buffer-resize-regexps): New option.
9006 (temp-buffer-resize-mode): Rewrite doc-string.
9007 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
9008 Don't resize reused window. Suggested by Glenn Morris.
9010 2012-09-22 Stefan Merten <smerten@oekonux.de>
9012 * textmodes/rst.el: Revamp section title faces.
9013 (rst-official-version)
9014 (rst-package-emacs-version-alist): Sync with official version
9016 (rst-faces-defaults, rst-set-level-default)
9017 (rst-level-face-max, rst-level-face-base-color)
9018 (rst-level-face-base-light, rst-level-face-format-light)
9019 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
9020 (rst-adornment-faces-alist): Match new setup.
9021 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
9022 (rst-level-5, rst-level-6): New faces.
9024 2012-09-22 Chong Yidong <cyd@gnu.org>
9026 * simple.el (undo): Handle indirect buffers (Bug#8207).
9028 2012-09-21 Leo Liu <sdl.web@gmail.com>
9030 IDO: Disable match re-ordering for buffer switching.
9031 * ido.el (ido-buffer-disable-smart-matches): New variable.
9032 (ido-set-matches-1): Use it. (Bug#2042)
9034 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
9036 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9037 Fix 2011-05-17 change. (Bug#12418)
9039 2012-09-21 Leo Liu <sdl.web@gmail.com>
9041 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9043 2012-09-21 Glenn Morris <rgm@gnu.org>
9045 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9046 Be more robust about locating simple.el.
9048 2012-09-21 Glenn Morris <rgm@gnu.org>
9050 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9052 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
9054 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
9056 2012-09-20 Juri Linkov <juri@jurta.org>
9058 * replace.el (query-replace-read-from): Use `read-regexp' instead
9059 of `read-from-minibuffer' when `regexp-flag' is non-nil.
9060 (occur-read-primary-args): Use `read-regexp' instead of
9062 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9063 `read-from-minibuffer'.
9064 * isearch.el (isearch-occur): Use `read-regexp' instead of
9066 * dired.el (dired-read-regexp): Use `read-regexp' instead of
9067 `read-from-minibuffer'.
9068 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9069 of `read-string'. (Bug#7567)
9071 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9072 and allow accepting a list of strings prepended to a list of
9073 standard default values. Doc fix. (Bug#12321)
9075 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
9077 * replace.el (read-regexp): Don't add ": " when PROMPT already
9078 ends with a colon and space. (Bug#12321)
9080 2012-09-20 Tassilo Horn <tsdh@gnu.org>
9082 * doc-view.el (doc-view-display): Better fix for the cl-assertion
9085 2012-09-20 Stefan Merten <smerten@oekonux.de>
9087 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9088 Fixes feature request bug#11711.
9089 (rst-mode): Create `imenu-create-index-function'.
9090 (rst-get-stripped-line): Delete after refactoring.
9091 (rst-section-tree, rst-section-tree-rec)
9092 (rst-section-tree-point): Refactor and document properly.
9093 (rst-imenu-find-adornments-for-position)
9094 (rst-imenu-convert-cell, rst-imenu-create-index):
9097 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9100 (macroexp--expand-all): Use it.
9101 (macroexp--funcall-and-return): Remove by folding it into its sole
9102 caller (macroexp--warn-and-return).
9103 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9104 Use macroexp--obsolete-warning.
9106 * calc/calc.el: Fix last change by removing the whole chunk, since it
9107 was only needed back when Calc was not bundled.
9109 2012-09-20 Martin Rudalics <rudalics@gmx.at>
9111 * emacs-lisp/debug.el (debug): Restore assignment to
9112 debugger-old-buffer removed on 2012-09-08.
9114 2012-09-20 Juri Linkov <juri@jurta.org>
9116 * dired-aux.el (dired-diff): Remove (require 'diff) since
9117 `diff-latest-backup-file' is now autoloaded.
9119 2012-09-20 Chong Yidong <cyd@gnu.org>
9121 * vc/diff.el (diff-latest-backup-file): Autoload.
9123 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9125 * calc/calc.el: Remove redundant autoload shape check.
9126 (sel-mode): Don't defvar.
9127 (calc-get-stack-element): Add `sel-mode' arg instead.
9128 (calc-top, calc-top-list): Pass it this additional argument.
9129 * calc/calc-store.el (calc-store-map):
9130 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9131 (calc-map-equation, calc-outer-product, calc-inner-product):
9132 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9134 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9136 2012-09-19 Juri Linkov <juri@jurta.org>
9138 * dired-aux.el (dired-diff): Add (require 'diff) because
9139 `diff-latest-backup-file' is not autoloaded.
9140 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9141 of `dired-get-filename' to t to not report error when there is
9142 no default file on the current line.
9144 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9146 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9147 macroexp--eval-if-compile.
9148 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9149 (macroexp--expand-all): Use them (bug#12371).
9151 * doc-view.el (doc-view-guess-paper-size)
9152 (doc-view-scale-bounding-box): Fix unbound `caddr'.
9154 2012-09-19 Tassilo Horn <tsdh@gnu.org>
9156 New feature: set optimal slice from BoundingBox information.
9157 * doc-view.el (doc-view-mode-map): Add keybinding.
9158 (doc-view-menu): Add menu entry.
9159 (doc-view-set-slice): Adapt docstring.
9160 (doc-view-get-bounding-box, doc-view-guess-paper-size)
9161 (doc-view-scale-bounding-box)
9162 (doc-view-set-slice-from-bounding-box): New functions.
9163 (doc-view-paper-sizes): New defvar.
9165 2012-09-19 Glenn Morris <rgm@gnu.org>
9167 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9168 (byte-compile-log-warning): Autoload. (Bug#12371)
9170 * calendar/calendar.el (calendar-american-month-header)
9171 (calendar-european-month-header, calendar-iso-month-header)
9172 (calendar-month-header): New options.
9173 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
9174 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
9176 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
9178 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9180 2012-09-18 Juri Linkov <juri@jurta.org>
9182 * dired-aux.el (dired-diff): Restore original functionality of
9183 getting the default value, but keep new feature of using the
9184 latest existing backup file (`diff-latest-backup-file').
9186 2012-09-18 Juri Linkov <juri@jurta.org>
9188 * dired.el (dired-mark): If the region is active in Transient Mark
9189 mode, mark all files in the active region. Doc fix.
9190 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9191 Doc fix. (Bug#10624)
9193 2012-09-18 Juri Linkov <juri@jurta.org>
9195 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9196 attributes for M-n are pulled from the file at point.
9197 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9198 Suggested by Drew Adams. (Bug#10624)
9200 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
9202 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9203 whitespace after "end".
9204 (ruby-do-end-to-brace): Collapse block to one line if it fits
9207 2012-09-18 Martin Rudalics <rudalics@gmx.at>
9209 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9211 (debug): Don't remove debugger window when debugger is expected
9214 2012-09-18 Chong Yidong <cyd@gnu.org>
9216 * custom.el (defface): Doc fix.
9218 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9220 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
9222 * progmodes/compile.el (compilation-start): Use compilation-always-kill
9223 to initialize query-on-exit; then test that instead (bug#12288).
9225 2012-09-17 Stefan Merten <smerten@oekonux.de>
9227 * textmodes/rst.el: Add support for `testcover'.
9228 (rst-defcustom-testcover, rst-testcover-add-compose)
9229 (rst-testcover-add-1value): New functions.
9230 (rst-portable-mark-active-p): Replace by `use-region-p'.
9231 (rst-update-section, rst-classify-adornment)
9232 (rst-find-title-line): Mark `1value' forms.
9233 (rst-classify-adornment): Remove superfluous form.
9234 (rst-update-section, rst-get-adornments-around)
9235 (rst-adornment-complete-p, rst-get-next-adornment)
9236 (rst-adjust, rst-promote-region)
9237 (rst-display-adornments-hierarchy, rst-straighten-adornments)
9238 (rst-find-pfx-in-region, rst-section-tree-rec)
9239 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9240 (rst-toc-node, rst-toc, rst-forward-section)
9241 (rst-iterate-leftmost-paragraphs)
9242 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9243 (rst-bullet-list-region)
9244 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9245 (rst-compile-find-conf, rst-compile)
9246 (rst-repeat-last-character): Fix style.
9248 2012-09-17 Chong Yidong <cyd@gnu.org>
9250 * comint.el (comint--complete-file-name-data): Don't add a space
9251 if the status is `sole'; that adds a gratuitous space in the
9252 completion-cycling case (Bug#12092).
9254 * pcomplete.el (pcomplete-completions-at-point): Likewise.
9256 2012-09-17 Richard Stallman <rms@gnu.org>
9258 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9259 only in the mime-shown mode, not in raw mode.
9260 (rmail-mime): Toggle off mime by displaying the message without
9261 mime processing. (Bug#12305)
9263 * mail/rmail.el (rmail-retry-failure):
9264 Turn off mime processing first. (Bug#12037)
9266 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9268 2012-09-17 Chong Yidong <cyd@gnu.org>
9270 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9271 (shell-dynamic-complete-functions): Convert to defcustom.
9272 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9274 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9275 * comint.el (comint-prompt-read-only):
9276 * custom.el (defcustom):
9277 * hi-lock.el (hi-lock-mode):
9278 * ibuffer.el (ibuffer-formats):
9279 * ielm.el (ielm-prompt-read-only):
9280 * novice.el (disable-command):
9281 * saveplace.el (toggle-save-place):
9282 * speedbar.el (speedbar-supported-extension-expressions):
9283 * startup.el (auto-save-list-file-prefix, init-file-user)
9284 (after-init-hook, inhibit-startup-echo-area-message):
9285 * strokes.el (strokes-help):
9286 * time-stamp.el (time-stamp):
9287 * calendar/calendar.el (calendar, diary-file):
9288 * calendar/diary-lib.el (diary-mail-entries, diary)
9289 (diary-list-entries-hook):
9290 * calendar/holidays.el (holidays, calendar-holidays):
9291 * calendar/lunar.el (lunar-phases):
9292 * calendar/solar.el (sunrise-sunset):
9293 * emulation/edt.el (edt-load-keys):
9294 * emulation/viper.el (viper-mode):
9295 * eshell/em-alias.el (eshell-command-aliases-list):
9296 * eshell/esh-util.el (eshell-convert-numeric-arguments):
9297 * international/ogonek.el (ogonek-information):
9298 * net/tramp-cmds.el (tramp-bug):
9299 * net/quickurl.el (quickurl-reread-hook-postfix):
9300 * play/decipher.el (decipher-font-lock-keywords):
9301 * progmodes/cc-styles.el (c-set-style):
9302 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9303 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9304 * progmodes/octave-mod.el (octave-mode):
9305 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9306 * progmodes/verilog-mode.el (verilog-read-defines):
9307 * textmodes/two-column.el (2C-mode): Likewise.
9309 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
9311 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9312 that holds many addresses.
9314 2012-09-16 Chong Yidong <cyd@gnu.org>
9316 * align.el (align-areas): Call the indication function with
9317 positions instead of markers for arguments (Bug#12343).
9319 * files.el (parse-colon-path): Use split-string (Bug#12351).
9321 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9322 (display-buffer-function): Mark as obsolete.
9324 * progmodes/compile.el (compilation-parse-errors): Accept list
9325 values similar to font-lock-keywords (Bug#12136).
9326 Suggested by Oleksandr Manzyuk.
9327 (compilation-error-regexp-alist): Doc fix.
9329 2012-09-15 Glenn Morris <rgm@gnu.org>
9331 * version.el (emacs-bzr-version-bzr): New function.
9332 (emacs-bzr-get-version): Add optional EXTERNAL argument.
9334 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9335 checkouts, check the parent dirstate matches the branch.
9336 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
9339 * version.el (emacs-bzr-version): Doc fix.
9340 (emacs-bzr-version-dirstate): New function.
9341 (emacs-bzr-get-version): For lightweight checkouts, if the parent
9342 is local try and check that it matches the branch. If not, just
9343 use dirstate information. (Bug#12441)
9345 2012-09-14 Juri Linkov <juri@jurta.org>
9347 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9350 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9352 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9354 * emacs-lisp/edebug.el: Miscellaneous cleanup.
9355 Remove obsolete byte-compiler hack that tried to silence some warnings.
9356 (edebug-submit-bug-report): Remove.
9357 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9358 Remove aliases, use the un-prefixed name instead.
9359 (edebug-pop-to-buffer): Consider other frames.
9360 (edebug-original-read):: Make it more obvious that it's always defined.
9361 (edebug--make-form-data-entry, edebug--form-data-name)
9362 (edebug--form-data-begin, edebug--form-data-end): Rename from the
9363 single-dashed name, and implement with cl-defstruct.
9364 (edebug-set-form-data-entry): Use the standard accessors.
9365 (edebug-make-top-form-data-entry): Use push.
9366 (edebug-no-match): Drop useless `funcall'.
9367 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9369 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9370 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9371 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9372 (easy-menu-define, with-custom-print): Remove redundant specs.
9373 (edebug-outside-overriding-local-map)
9374 (edebug-outside-overriding-terminal-local-map): Remove, unused.
9375 (edebug--display): Bind unread-command-events directly to nil rather
9376 than binding it to unread-command-events and later setting it to nil.
9377 (edebug--display): Kill edebug-eval-buffer here...
9378 (edebug--recursive-edit): ...rather than here.
9379 Bind standard-output and standard-input.
9380 (edebug-eval): Check cl-macroexpand-all is fboundp.
9381 (edebug-temp-display-freq-count): Fix last change.
9383 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9384 * subr.el (noreturn, 1value): Add `debug' spec.
9385 * emacs-lisp/advice.el: Require cl-lib.
9386 (ad-copy-tree): Remove, use copy-tree instead.
9387 (ad-dolist): Remove use dolist or cl-dolist instead.
9388 (ad-do-return): Remove, use cl-return instead.
9389 (defadvice): Add `debug' spec.
9391 2012-09-13 Juri Linkov <juri@jurta.org>
9393 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9396 2012-09-13 Glenn Morris <rgm@gnu.org>
9398 * calc/calc.el (math-compose-expr):
9399 * calc/calc-ext.el (math-compose-expr):
9400 * progmodes/cc-defs.el (cl-macroexpand-all):
9401 * progmodes/cc-langs.el (delete-duplicates, mapcan)
9402 (cl-macroexpand-all): Update declarations.
9404 * vc/vc.el: No need to require ediff.
9405 (ediff-load-version-control): Declare.
9406 (ediff-vc-internal): Fix declaration.
9407 (vc-version-ediff): Require ediff.
9409 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9411 Use a more backwards-compatible timer format (Bug#12430).
9412 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9413 being right after USECS, as that better supports old code that
9414 inadvisedly looked directly at the timer vector.
9416 2012-09-13 Kenichi Handa <handa@gnu.org>
9418 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9419 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9420 `coding-priority' property of these language environment.
9422 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
9424 Fix glitches caused by addition of psec to timers (Bug#12430).
9425 * image.el (image-animate-timer):
9426 * time.el (display-time-world-timer):
9427 Use timer--function and timer--args rather than raw access to
9430 2012-09-13 Glenn Morris <rgm@gnu.org>
9432 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9433 If not compiling a file, try using load-file-name.
9435 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9439 (edebug-update-eval-list): Use `push'.
9441 * emacs-lisp/edebug.el: Use lexical-binding.
9442 Remove the "edebug-" prefix from non-dynamically-scoped variables.
9443 Mark unused args with underscore.
9444 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9445 (edebug-form-data): Use defvar-local.
9446 (edebug-make-before-and-after-form, edebug-make-after-form):
9448 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9449 Not dynamically scoped any more.
9450 (edebug--enter-trace): Add arguments `function' and `args'.
9451 Rename from edebug-enter-trace.
9452 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
9453 (edebug--update-coverage): Add `after-index' and `value' args.
9454 Rename from edebug-update-coverage.
9455 (edebug-slow-after): Call it accordingly.
9456 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
9457 edebug-recursive-edit.
9458 (edebug--display): Call it accordingly. Add args `value',
9459 `offset-index', and `arg-mode'. Rename from edebug-display.
9460 (edebug-debugger, edebug): Call it accordingly.
9461 (edebug-eval-display-list): Use dolist.
9463 2012-09-12 Juri Linkov <juri@jurta.org>
9465 * info.el (Info-search): Don't check for isearch-mode and
9466 isearch-regexp before let-binding search-spaces-regexp to
9467 Info-search-whitespace-regexp.
9468 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9469 search-whitespace-regexp if isearch-lax-whitespace or
9470 isearch-regexp-lax-whitespace is non-nil.
9471 (Info-mode): Don't set local variable search-whitespace-regexp.
9472 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9474 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9476 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9477 (debugger-env-macro): Remove support for unread-command-char.
9479 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9480 the temporary map re-appearing on emulation-mode-map-alists.
9482 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9485 * ehelp.el (with-electric-help): Accept functions in
9486 electric-help-form-to-execute.
9487 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9488 And replace unread-command-char -> unread-command-events.
9490 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9492 Sync with Tramp 2.2.6.
9494 * net/tramp.el (tramp-accept-process-output): Don't use
9495 JUST-THIS-ONE in the XEmacs case.
9497 * net/trampver.el: Update release number.
9499 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9501 * emacs-lisp/debug.el (debugger-previous-window-height):
9503 (debug): When debugger-jumping-flag is non-nil try to restore
9504 height of debugger window. (Bug#8789)
9506 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9508 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9509 overriding-local-map and pre/post-command-hook here.
9510 (edebug-recursive-edit): Do it here instead (bug#12345).
9511 (edebug-outside-unread-command-char): Remove all uses of
9512 unread-command-char.
9514 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9515 inhibit-debugger is bound instead.
9517 2012-09-11 Bastien Guerry <bzg@gnu.org>
9519 * subr.el (set-temporary-overlay-map): Add a docstring.
9522 2012-09-11 Bastien Guerry <bzg@gnu.org>
9524 * minibuffer.el (completion-table-subvert): Fix docstring.
9527 2012-09-11 Bastien Guerry <bzg@gnu.org>
9529 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9531 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9533 * progmodes/sql.el: Version 3.1
9534 (sql-db2-escape-newlines): New variable.
9535 (sql-escape-newlines-filter): Use it.
9537 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9539 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9541 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9543 * vc/diff-mode.el (diff-mode-menu):
9544 Bind diff-remove-trailing-whitespace.
9546 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9549 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9550 (emacs-lisp-byte-code-mode): New functions.
9551 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9552 (eval-defun-2): Remove bogus interactive spec.
9553 (lisp-indent-line): Remove redundant whole-exp code, now done in
9554 indent-according-to-mode.
9555 (save-match-data): Remove redundant indent data.
9557 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9560 2012-09-09 Juri Linkov <juri@jurta.org>
9562 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9563 (replace-lax-whitespace, query-replace-regexp)
9564 (query-replace-regexp-eval, replace-regexp): Doc fix.
9565 (perform-replace, replace-highlight): Let-bind
9566 isearch-lax-whitespace to replace-lax-whitespace and
9567 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9569 * isearch.el (isearch-query-replace): Let-bind
9570 replace-lax-whitespace to isearch-lax-whitespace and
9571 replace-regexp-lax-whitespace to
9572 isearch-regexp-lax-whitespace. (Bug#10885)
9574 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9576 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9578 2012-09-09 Alan Mackenzie <acm@muc.de>
9580 * progmodes/cc-engine.el (c-state-cache-init):
9581 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9582 (c-record-parse-state-state):
9583 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9585 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9587 * register.el (register-separator): Rename from
9588 separator-register. All uses changed. Doc fix.
9589 (register): Fix version.
9591 2012-09-09 Chong Yidong <cyd@gnu.org>
9593 * replace.el (query-replace-map): Bind four new symbols for
9594 requesting window scrolling.
9596 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9597 query-replace-map (Bug#8948).
9599 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9601 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9602 since they are now in query-replace-map.
9604 * window.el (scroll-other-window-down): Make the arg optional.
9606 2012-09-09 Chong Yidong <cyd@gnu.org>
9608 * files.el (hack-local-variables-confirm): Use quit-window to kill
9609 the *Local Variables* buffer.
9611 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9613 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9614 not just expect to be at its beginning. Adjust callees.
9615 Succeed when do-end block has no space before the pipe character.
9616 (ruby-brace-to-do-end): When the original block is one-liner,
9617 convert to multiline. Reindent the result.
9619 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9621 * register.el (register): New group.
9622 (separator-register): New user option.
9623 (increment-register): Route it to `append-to-register', if
9624 register contains text. Implication is that `C-x r +' can now be
9625 used for appending to a text register (bug#12217).
9626 (append-to-register, prepend-to-register): Add separator based on
9627 `separator-register'.
9629 2012-09-08 Alan Mackenzie <acm@muc.de>
9631 AWK Mode: make auto-newline work when there's "==" in the pattern.
9632 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9634 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9635 Test more rigorously for "=" token.
9637 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9639 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9640 Only fail when reached LIMIT.
9642 2012-09-08 Chong Yidong <cyd@gnu.org>
9644 * dired.el (dired-mode-map): Don't bind M-=.
9646 * dired-aux.el (dired-diff): Use backup file as default.
9648 2012-09-08 Drew Adams <drew.adams@oracle.com>
9650 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9652 2012-09-08 Chong Yidong <cyd@gnu.org>
9654 * subr.el (syntax-after, syntax-class): Doc fix.
9656 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9658 * window.el (display-buffer-in-previous-window): New buffer
9659 display action function.
9661 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9662 (debugger-previous-window): New variable.
9663 (debug): Rewrite using display-buffer-in-previous-window,
9664 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9666 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9668 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9670 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9672 * progmodes/python.el (python-shell-send-string):
9673 When default-directory is remote, create temp file on remote
9675 (python-shell-send-file): When file is remote, pass local view of
9676 file paths to remote Python interpreter. (Bug#12340)
9678 2012-09-07 Chong Yidong <cyd@gnu.org>
9680 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9682 * files.el (after-find-file): Don't fail on a read-only buffer if
9683 require-final-newline is `visit' or `visit-save' (Bug#11156).
9685 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9687 * userlock.el (ask-user-about-supersession-threat):
9688 Use read-char-choice (Bug#12093).
9690 2012-09-07 Chong Yidong <cyd@gnu.org>
9692 * subr.el (buffer-narrowed-p): New function.
9694 * ses.el (ses-widen):
9695 * simple.el (count-words--buffer-message):
9696 * net/browse-url.el (browse-url-of-buffer): Use it.
9698 * simple.el (count-words-region): Don't signal an error if there
9699 is a non-nil prefix arg and the mark is not set.
9701 * help.el (describe-key-briefly): Allow the message to be seen
9702 when invoked from the minibuffer (Bug#7014).
9704 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9706 * progmodes/ruby-mode.el (ruby-end-of-defun)
9707 (ruby-beginning-of-defun): Simplify, allow indentation before
9708 block beginning and end keywords.
9709 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9710 (ruby-end-of-defun): Expect that the point is at the beginning of
9713 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9715 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9717 (cl--make-usage-args): Strip _ from argument names.
9719 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9721 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9722 obsolete alias speedbar-key-map.
9723 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9724 (vhdl-index-menu-init): Don't use obsolete variable
9725 font-lock-maximum-size.
9727 2012-09-06 Chong Yidong <cyd@gnu.org>
9729 * frame.el (window-system-version): Mark as obsolete.
9731 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9732 of obsolete variable speedbar-key-map.
9734 2012-09-06 Juri Linkov <juri@jurta.org>
9736 * replace.el (replace-lax-whitespace): New defcustom.
9737 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9738 (replace-string, replace-regexp): Mention it in docstrings.
9739 (perform-replace, replace-highlight): Let-bind
9740 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9741 to the values of replace-lax-whitespace and regexp-flag.
9742 Don't let-bind search-whitespace-regexp. (Bug#10885)
9744 * isearch.el (isearch-query-replace): Let-bind
9745 replace-lax-whitespace instead of let-binding
9746 replace-search-function and replace-re-search-function.
9747 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9748 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9749 (isearch-toggle-symbol): Set isearch-regexp to nil
9750 in isearch-word mode (like in isearch-toggle-word).
9752 2012-09-06 Juri Linkov <juri@jurta.org>
9754 * replace.el (replace-search-function)
9755 (replace-re-search-function): Set default values to nil.
9756 (perform-replace): Let-bind isearch-related variables based on
9757 replace-related values, call `isearch-search-fun' and let-bind
9758 the result to `search-function'. Remove code that sets
9759 `search-function' and `search-string' separately for
9761 (replace-highlight): Add new argument `delimited-flag' and
9762 rename other arguments to the names used in `perform-replace'.
9763 Let-bind `isearch-word' to the argument `delimited-flag'.
9764 (Bug#10885, bug#10887)
9766 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9768 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9769 ruby-beginning-of-indent, simplify, allow all keywords to have
9770 indentation before them.
9771 (ruby-beginning-of-indent): Adjust for above. Search until the
9772 found point is not inside a string or comment.
9773 (ruby-font-lock-keywords): Allow symbols to start with "@"
9774 character, give them higher priority than variables.
9775 (ruby-syntax-propertize-function)
9776 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9777 matchers. Expression expansions are not comments when inside a
9778 string, and there comment syntax status is irrelevant.
9779 (ruby-match-expression-expansion): New function. Check that
9780 expression expansion is inside a string, and it's not escaped.
9781 (ruby-font-lock-keywords): Use it.
9783 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9785 * help.el (temp-buffer-max-height): New default value.
9786 (temp-buffer-resize-frames): New option.
9787 (resize-temp-buffer-window): Optionally resize frame.
9789 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9790 (fit-frame-to-buffer): New function.
9792 2012-09-05 Glenn Morris <rgm@gnu.org>
9794 * emulation/cua-rect.el (cua--init-rectangles):
9795 * textmodes/picture.el (picture-mode-map):
9796 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9797 like forward-char and backward-char. (Bug#12317)
9799 2012-09-05 Leo Liu <sdl.web@gmail.com>
9801 * progmodes/flymake.el (flymake-warning-re): New variable.
9802 (flymake-parse-line): Use it.
9804 2012-09-05 Glenn Morris <rgm@gnu.org>
9806 * calendar/holidays.el (holiday-christian-holidays):
9807 Rename an entry. (Bug#12289)
9809 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9814 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9816 * loadup.el: Load macroexp. Remove hack.
9817 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9818 (macroexp--expand-all): Use it to get better warnings.
9819 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9820 (internal-macroexpand-for-load): New functions.
9821 (macroexp--pending-eager-loads): New var.
9822 (emacs-startup-hook): New hack to replace one in loadup.el.
9823 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9824 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9825 (cl-psetf): Simplify.
9826 (cl-defstruct): Add indent rule.
9828 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9830 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9831 over `user-mail-address' for the SMTP MAIL FROM envelope.
9832 (smtpmail-via-smtp): Ditto.
9834 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9836 * progmodes/ruby-mode.el: Clean up keybindings.
9837 (ruby-mode-map): Don't bind ruby-electric-brace,
9838 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9839 backward-kill-word, reindent-then-newline-and-indent.
9840 (ruby-mark-defun): Remove.
9841 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9842 (ruby-mode): Set local beginning-of-defun-function and
9843 end-of-defun-function values.
9845 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9847 * window.el (temp-buffer-window-setup-hook)
9848 (temp-buffer-window-show-hook): New hooks.
9849 (temp-buffer-window-setup, temp-buffer-window-show)
9850 (with-temp-buffer-window): New functions.
9851 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9852 (special-display-popup-frame): Make sure the window used shows BUFFER.
9854 * help.el (temp-buffer-resize-mode): Fix doc-string.
9855 (resize-temp-buffer-window): New optional argument WINDOW.
9857 * files.el (recover-file, save-buffers-kill-emacs):
9858 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9860 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9862 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9863 remote definition of `default-directory', ensure we can connect.
9865 2012-09-02 Juri Linkov <juri@jurta.org>
9867 Toggle whitespace matching mode with M-s SPC.
9868 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9870 * isearch.el (search-whitespace-regexp): Doc fix.
9871 Remove cons cell customization.
9872 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9873 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9875 (isearch-forward, isearch-forward-regexp): Doc fix.
9876 (isearch-toggle-lax-whitespace): New command.
9877 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9878 (re-search-forward-lax-whitespace)
9879 (re-search-backward-lax-whitespace): New functions.
9880 (isearch-whitespace-regexp): Remove function.
9881 (isearch-query-replace): Let-bind replace-search-function and
9882 replace-re-search-function.
9883 (isearch-occur): Let-bind search-spaces-regexp according to the
9884 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9885 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9886 condition for C-q SPC.
9887 (isearch-search-fun-default): Use new functions mentioned above.
9888 (isearch-search-forward, isearch-search-backward): Remove functions.
9889 (isearch-search): Don't let-bind search-spaces-regexp.
9890 (isearch-lazy-highlight-space-regexp): Remove variable.
9891 (isearch-lazy-highlight-lax-whitespace)
9892 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9893 (isearch-lazy-highlight-new-loop): Use them.
9894 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9896 2012-09-02 Chong Yidong <cyd@gnu.org>
9898 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9900 2012-09-02 Glenn Morris <rgm@gnu.org>
9902 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9904 2012-09-01 Glenn Morris <rgm@gnu.org>
9906 * term.el: Tidy up menu definitions.
9907 (term-mode-map): Use easymenu for In/Out, Complete menus.
9908 (term-pager-break-map): Initialize in the defvar.
9909 (term-terminal-menu, term-signals-menu): Define with easymenu.
9910 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9911 (term-pager-menu): New, extracted from term-process-pager.
9912 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9913 (term-update-mode-line): Propertize line/char and page items.
9914 (term-process-pager): Move keymap initialization elsewhere.
9916 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9918 * window.el (switch-to-prev-buffer): Handle additional values of
9919 BURY-OR-KILL argument. Don't switch in minibuffer window.
9920 (switch-to-next-buffer): Don't switch in minibuffer window.
9921 (quit-restore-window): New function based on quit-window.
9922 Handle additional values of former KILL argument.
9923 (quit-window): Call quit-restore-window with appropriate
9924 interpretation of KILL argument.
9925 (display-buffer-below-selected): New buffer display action
9928 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * minibuffer.el (completion-at-point-functions): Complete docstring
9933 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9935 Better seed support for (random).
9936 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9937 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9938 * play/mpuz.el, play/tetris.el, play/zone.el:
9939 * calc/calc-comb.el (math-init-random-base):
9940 * play/blackbox.el (bb-init-board):
9941 * play/life.el (life):
9942 * server.el (server-use-tcp):
9943 * type-break.el (type-break):
9944 Remove unnecessary call to (random t).
9945 * net/sasl.el (sasl-unique-id-function):
9946 Change (random t) to (random), now that the latter is more random.
9947 * play/life.el (life-initialized): Remove no-longer-needed var.
9949 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9951 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9952 Consider frame's buffer predicate when choosing the buffer.
9955 2012-08-30 Richard Stallman <rms@gnu.org>
9957 * simple.el (special-mode-map): Delete binding for `z'.
9959 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9961 * progmodes/compile.el (compilation-always-kill): Doc fix.
9963 2012-08-30 Chong Yidong <cyd@gnu.org>
9965 * window.el (display-buffer-reuse-frames): Make the obsolescence
9966 message more informative.
9968 2012-08-30 Glenn Morris <rgm@gnu.org>
9970 * paren.el (show-paren-delay):
9971 Add a :set function. Doc fix. (Bug#12297)
9973 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9975 * progmodes/compile.el (compilation-always-kill): New var.
9976 (compilation-start): Use it.
9978 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9981 * files.el (read-only-mode): Move to simple.el.
9983 * files.el (read-only-mode): New minor mode.
9984 (toggle-read-only): Use it and mark obsolete.
9985 (find-file--read-only):
9986 * vc/vc.el (vc-next-action, vc-checkout):
9987 * vc/vc-cvs.el (vc-cvs-checkout):
9988 * obsolete/vc-mcvs.el (vc-mcvs-update):
9989 * ffap.el (ffap--toggle-read-only): Update callers.
9991 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9993 * eshell/esh-ext.el (eshell-external-command): Do not examine
9994 remote shell scripts.
9995 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9997 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
10000 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10002 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
10004 2012-08-28 Leo Liu <sdl.web@gmail.com>
10006 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
10007 completion-at-point. (Bug#12220)
10009 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
10011 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
10013 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
10016 be buffer-local; add delete-trailing-whitespace (bug#12259).
10018 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
10020 * progmodes/hideif.el (hif-compress-define-list):
10021 Fix typo. (Bug#11951)
10023 2012-08-28 Dan Nicolaescu <dann@gnu.org>
10025 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
10026 buffer local setting.
10028 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
10029 rcirc-encode-coding-system.
10031 2012-08-28 Leo Liu <sdl.web@gmail.com>
10033 * net/rcirc.el (rcirc-split-message): New function.
10034 (rcirc-send-message): Use it. (Bug#12051)
10036 2012-08-28 Juri Linkov <juri@jurta.org>
10038 * info.el (Info-fontify-node): Hide empty lines at the end of
10039 the node. (Bug#12272)
10041 2012-08-27 Drew Adams <drew.adams@oracle.com>
10043 * dired.el (dired-pop-to-buffer): Make window start at beginning
10044 of buffer (Bug#12281).
10046 2012-08-26 Chong Yidong <cyd@gnu.org>
10048 * window.el (special-display-regexps, special-display-frame-alist)
10049 (special-display-buffer-names, special-display-function)
10050 (display-buffer-reuse-frames): Mark as obsolete.
10052 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10054 * help.el (help-print-return-message): Don't treat
10055 display-buffer-reuse-frames specially.
10057 2012-08-26 Chong Yidong <cyd@gnu.org>
10059 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10060 New variable, replacing gdb-frame-parameters.
10061 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10062 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10063 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10064 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10065 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
10066 the functions directly with gdb-display-buffer-other-frame-action.
10067 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10068 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10069 (gdb-display-stack-buffer, gdb-display-locals-buffer)
10070 (gdb-display-registers-buffer): Define directly.
10071 (def-gdb-display-buffer): Macro deleted.
10072 (gdb-display-buffer): Remove second and third args, callers don't
10073 use them. Defer to the default display-buffer behavior, apart
10074 from making windows dedicated.
10075 (gdb-setup-windows): Don't call display-buffer unnecessarily.
10077 * progmodes/gud.el (gud-display-line): Just use display-buffer.
10079 * window.el (display-buffer-pop-up-frame): Handle a
10080 pop-up-frame-parameters alist entry.
10081 (display-buffer): Document it.
10083 2012-08-26 Chong Yidong <cyd@gnu.org>
10085 * isearch.el (search-whitespace-regexp): Make string and nil
10086 values apply to both ordinary and regexp search. Allow a cons
10087 cell value to distinguish between the two.
10088 (isearch-whitespace-regexp, isearch-search-forward)
10089 (isearch-search-backward): New functions.
10090 (isearch-occur, isearch-search-fun-default, isearch-search)
10091 (isearch-lazy-highlight-new-loop): Use them.
10092 (isearch-forward, isearch-forward-regexp): Doc fix.
10094 2012-08-26 Chong Yidong <cyd@gnu.org>
10096 * faces.el (help-argument-name): Always inherit from italic
10099 2012-08-25 Martin Rudalics <rudalics@gmx.at>
10101 * window.el (window--even-window-heights): Even heights when
10102 WINDOW and the selected window form a vertical combination.
10103 (display-buffer-use-some-window): Provide that window used gets
10104 sized back by quit-window. (Bug#11880) and (Bug#12091)
10106 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
10108 Fix file time stamp problem with bzr and CVS (Bug#12001).
10109 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10110 in the file's time stamp, since the version control system loses
10113 2012-08-22 Juri Linkov <juri@jurta.org>
10115 * info.el (Info-fontify-node): Hide the suffix of the
10116 Info file name in the header line. (Bug#12187)
10118 2012-08-22 Glenn Morris <rgm@gnu.org>
10120 * calendar/cal-tex.el (cal-tex-weekly-common):
10121 Restore leading blank page.
10123 2012-08-22 Le Wang <l26wang@gmail.com>
10125 * misc.el (forward-to-word, backward-to-word): Activate or extend
10126 the region under `shift-select-mode'. (Bug#12231)
10128 2012-08-22 Bastien Guerry <bzg@gnu.org>
10130 * progmodes/executable.el (executable-prefix): Set to "#!" instead
10131 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
10132 gives details on why the space is never needed.
10134 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10136 * window.el (walk-window-tree, window-with-parameter):
10137 New optional argument MINIBUF to control whether these functions
10138 should run on the minibuffer window.
10139 (window-at-side-list): Don't operate on minibuffer window.
10140 (window-in-direction): Simplify and rewrite doc-string.
10141 (window--size-ignore): Rename to window--size-ignore-p.
10143 (display-buffer-in-atom-window, window--major-non-side-window)
10144 (window--major-side-window, display-buffer-in-major-side-window)
10145 (delete-side-window, display-buffer-in-side-window):
10147 (window--side-check, window-deletable-p, delete-window)
10148 (delete-other-windows, split-window): Handle side windows and
10149 atomic windows appropriately.
10150 (window--display-buffer): Call display-buffer-record-window also
10151 when the window buffer did not change.
10153 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
10155 * help-fns.el (help-fns--key-bindings):
10156 Abbreviate non-symbol remap targets. (Bug#12174)
10158 2012-08-22 Martin Rudalics <rudalics@gmx.at>
10160 * dired.el (dired-mark-remembered): Don't clobber point.
10163 2012-08-22 Glenn Morris <rgm@gnu.org>
10165 * progmodes/bug-reference.el (bug-reference): New custom group.
10166 (bug-reference-bug-regexp): Make it a defcustom.
10168 2012-08-22 Daiki Ueno <ueno@unixuser.org>
10170 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10171 (js-paren-indent-offset, js-square-indent-offset)
10172 (js-curly-indent-offset): Add :safe (Bug#12257).
10174 2012-08-22 Edward O'Connor <hober0@gmail.com>
10176 * json.el (json-key-format): Add error properties.
10177 (json-encode-key): New function.
10178 (json-encode-hash-table, json-encode-alist, json-encode-plist):
10179 Use json-encode-key.
10181 2012-08-22 Glenn Morris <rgm@gnu.org>
10183 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10184 (cal-tex-leftday, cal-tex-rightday): Remove functions.
10185 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10186 Update for above change.
10188 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
10190 * cus-face.el (custom-face-attributes): Fix customize type for the
10191 :underline attribute. (Bug#11805)
10193 2012-08-21 Martin Rudalics <rudalics@gmx.at>
10195 * window.el (window-point-1, set-window-point-1): Remove.
10196 (window-in-direction, record-window-buffer)
10197 (set-window-buffer-start-and-point, split-window-below)
10198 (window--state-get-1, display-buffer-record-window):
10199 Replace calls to window-point-1 and set-window-point-1 by calls to
10200 window-point and set-window-point respectively.
10202 2012-08-21 Glenn Morris <rgm@gnu.org>
10204 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10205 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10208 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10209 (cal-tex-shortday): New function.
10210 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10211 (cal-tex-cursor-filofax-daily): Use the above.
10213 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10215 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10216 (cal-tex-cursor-filofax-week): Use them.
10218 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10220 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10221 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10223 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10224 (cal-tex-end-document): Don't rely on buffer name.
10226 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10227 Use cal-tex-vspace.
10228 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10229 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10230 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10233 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10234 (cal-tex-cursor-week, cal-tex-cursor-week2)
10235 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10236 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10237 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10238 (cal-tex-insert-preamble, cal-tex-b-document)
10239 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10240 Improve cal-tex-cmd usage.
10242 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10243 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10244 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10245 (cal-tex-weekly-paper): New function.
10246 (cal-tex-cursor-week, cal-tex-cursor-week2)
10247 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10248 (cal-tex-cursor-day): Use it.
10250 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10251 (cal-tex-cursor-filofax-week): Remove leading blank page.
10253 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10254 Add autoload cookie. For now at least, don't use color, since
10255 no other cal-tex function does.
10257 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10258 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10259 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10261 2012-08-21 Juri Linkov <juri@jurta.org>
10263 * info.el (Info-file-attributes): New variable.
10264 (info-insert-file-contents): Add file attributes to
10265 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
10266 `Info-toc-nodes' when previous modtime of the Info file is less
10268 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10269 of info.el. (Bug#12230)
10271 2012-08-20 Glenn Morris <rgm@gnu.org>
10273 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10274 * calendar/holidays.el (calendar-holiday-list):
10275 Report errors with display-warning rather than beep'n'sleep.
10277 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
10279 * net/tramp.el (tramp-accept-process-output): Accept only output
10280 from PROC. Otherwise, process filters and sentinels might be
10281 confused. (Bug#12145)
10283 2012-08-20 Chong Yidong <cyd@gnu.org>
10285 * descr-text.el (describe-text-properties-1): Use overlays-in to
10286 report on empty overlays (Bug#3322).
10288 2012-08-20 Glenn Morris <rgm@gnu.org>
10290 * mail/rmailout.el (rmail-output-read-file-name):
10291 Trap and report errors in rmail-output-file-alist elements.
10293 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10294 since most non-font-lock faces are not also variables).
10296 2012-08-20 Edward Reingold <reingold@iit.edu>
10298 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10299 New function. (Bug12160)
10301 2012-08-19 Glenn Morris <rgm@gnu.org>
10303 * mail/rmailout.el (rmail-output-read-file-name):
10304 Fix previous change (when the alist is nil or does not match).
10306 2012-08-19 Chong Yidong <cyd@gnu.org>
10308 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10311 2012-08-18 Chong Yidong <cyd@gnu.org>
10313 * simple.el (yank-handled-properties): New defcustom.
10314 (yank-excluded-properties): Add font-lock-face and category.
10317 * subr.el (remove-yank-excluded-properties):
10318 Obey yank-handled-properties. The special handling of font-lock-face
10319 and category is now done this way, instead of being hard-coded.
10320 (insert-for-yank-1): Remove font-lock-face handling.
10321 (yank-handle-font-lock-face-property)
10322 (yank-handle-category-property): New function.
10324 2012-08-17 Glenn Morris <rgm@gnu.org>
10326 * mail/rmailout.el (rmail-output-read-file-name):
10327 Check rmail-output-file-alist against the full message body
10328 in the correct rmail buffer. (Bug#12214)
10330 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
10332 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10333 Eliminate superfluous prompt. (Bug#12203)
10335 2012-08-17 Chong Yidong <cyd@gnu.org>
10337 * mouse.el (mouse-appearance-menu): If x-select-font returns a
10338 font spec, set the font directly (Bug#3228).
10340 2012-08-17 Martin Rudalics <rudalics@gmx.at>
10342 * window.el (delete-window): Fix last fix.
10344 2012-08-16 Martin Rudalics <rudalics@gmx.at>
10346 * window.el (window-valid-p): Move to window.c.
10347 (window-child, window-child-count, window-last-child)
10348 (window-normalize-window, window-combined-p)
10349 (window-combinations, window-atom-root, window-min-size)
10350 (window-sizable, window-sizable-p, window-size-fixed-p)
10351 (window-min-delta, window-max-delta, window--resizable)
10352 (window--resizable-p, window-resizable, window-total-size)
10353 (window-full-height-p, window-full-width-p, window-body-size)
10354 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10355 (minimize-window, window-deletable-p, delete-window)
10356 (delete-other-windows, set-window-buffer-start-and-point)
10357 (next-buffer, previous-buffer, split-window, balance-windows-2)
10358 (set-window-text-height, window-buffer-height)
10359 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10360 (truncated-partial-width-window-p): Minor code adjustments.
10361 In doc-strings state whether the argument window has to denote a
10362 live, valid or any window.
10364 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
10366 * progmodes/subword.el (subword-forward-function)
10367 (subword-backward-function, subword-forward-regexp)
10368 (subword-backward-regexp): New variables.
10369 (subword-forward, subword-forward-internal, subword-backward-internal):
10370 Use new variables, eg so that different "word" definitions
10371 can be easily used. (Bug#11411)
10373 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10376 for composite selectors.
10377 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10378 operation just because we can't find a previous revision.
10380 2012-08-15 Chong Yidong <cyd@gnu.org>
10382 * frame.el (set-frame-font): Accept font objects.
10384 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10386 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10388 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10390 * man.el (Man-overstrike-face, Man-underline-face)
10391 (Man-reverse-face): Remove variables.
10392 (Man-overstrike, Man-underline, Man-reverse): New faces.
10393 (Man-fontify-manpage): Use them instead of the variables.
10394 (Man-cleanup-manpage): Comment change.
10395 (Man-ansi-color-map): New variable.
10396 (Man-fontify-manpage): Use it.
10397 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10399 Implement ANSI SGR parameters 22-27 (bug#12146).
10400 * ansi-color.el (ansi-colors): Doc fix.
10401 (ansi-color-context, ansi-color-context-region): Doc fix.
10402 (ansi-color--find-face): New function.
10403 (ansi-color-apply, ansi-color-apply-on-region): Use it.
10404 Rename the local variable `face' to `codes' since it is now a list of
10405 ansi codes. Doc fix.
10406 (ansi-color-get-face): Remove.
10407 (ansi-color-parse-sequence): New function, derived from
10408 ansi-color-get-face.
10409 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
10412 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
10414 * subr.el (read-passwd): Allow use from a minibuffer.
10416 2012-08-14 Eli Zaretskii <eliz@gnu.org>
10418 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10419 inside comments and strings as identifiers.
10421 * progmodes/gud.el (gud-tooltip-print-command): Quote the
10422 expression to evaluate. This allows to evaluate expressions with
10423 embedded whitespace.
10424 (gud-tooltip-tips): Add a blank before the newline in the
10425 message-box text, for the benefit of message-box emulation on
10428 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10429 messages from GDB, pop them up in a tooltip to give feedback to
10431 (gdb-tooltip-print-1): Quote the expression to evaluate.
10432 This allows to evaluate expressions with embedded whitespace.
10433 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10434 if the TTY name is nil or empty (which happens when communicating
10435 with the inferior via pipes, e.g. on MS-Windows).
10436 (gdb-internals): If GDB sends a "&\n" empty debugging message,
10437 don't send that to the GUD buffer.
10439 2012-08-14 Glenn Morris <rgm@gnu.org>
10441 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10442 Optimize away setq-default with no args, as for setq. (Bug#12195)
10444 2012-08-14 Chong Yidong <cyd@gnu.org>
10446 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10448 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10451 2012-08-14 Glenn Morris <rgm@gnu.org>
10453 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10455 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
10457 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10458 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10459 Use cached shell name.
10461 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10463 * progmodes/python.el (python-shell-send-string):
10464 (python-shell-send-setup-code): Do not use `format' with `message'.
10466 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
10468 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10469 (ruby-percent-literal-beg-re): New constant.
10470 (ruby-syntax-general-delimiters-goto-beg): Rename to
10471 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10472 (ruby-syntax-propertize-general-delimiters): Rename to
10473 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10474 popular term. Adjust comments everywhere.
10475 (ruby-syntax-propertize-percent-literal): Only propertize when not
10476 inside a simple string or comment. When the literal is unclosed,
10477 leave the text after it unpropertized.
10478 (ruby-syntax-methods-before-regexp): New constant.
10479 (ruby-syntax-propertize-function): Use it to recognize regexps.
10480 Don't look at the text after regexp, just use the whitelist.
10482 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10484 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10485 non-nil always load the compiled file if it exists. (Bug#12197)
10487 2012-08-14 Chong Yidong <cyd@gnu.org>
10489 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10490 (hi-lock-set-pattern): When deciding whether to use font lock or
10491 overlays, look at font-lock-mode instead of font-lock-fontified
10493 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10494 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10496 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10498 * subr.el (internal--after-with-selected-window): Fix typo
10501 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
10503 Use `completion-table-dynamic' for completion functions.
10504 * progmodes/python.el
10505 (python-shell-completion--do-completion-at-point)
10506 (python-shell-completion--get-completions):
10508 (python-shell-completion-complete-at-point): New function.
10509 (python-completion-complete-at-point): Use it.
10511 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10513 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10514 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10516 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * subr.el (function-get): Refine `autoload' arg so it can also
10519 autoload functions for gv.el (bug#12191).
10520 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10523 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10524 Prefer pcase-let over destructuring-bind.
10525 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10526 Also, remove whitespace as we go, rather than after accumulating the
10529 * subr.el (internal--before-with-selected-window)
10530 (internal--after-with-selected-window): Fix typo seleted->selected.
10531 (with-selected-window): Adjust callers.
10532 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10534 2012-08-13 Bastien Guerry <bzg@gnu.org>
10536 * window.el (special-display-popup-frame): Minor docstring
10537 enhancement. (Bug#12172)
10539 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10541 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10543 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10546 * files.el (hack-local-variables-filter): Remove useless eval.
10548 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10550 * subr.el (with-selected-window): Fix last change.
10552 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10554 * subr.el (internal--before-with-seleted-window)
10555 (internal--after-with-seleted-window): New functions.
10556 (with-selected-window): Use them, to replace dependency on
10559 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10561 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10562 binding for `newline'.
10563 (ruby-move-to-block): When moving backward, stop at block opening,
10565 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10566 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10567 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10568 `ruby-toggle-block'.
10570 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10572 * ibuffer.el (ibuffer-do-toggle-read-only):
10573 * dired.el (dired-toggle-read-only):
10574 * buff-menu.el (Buffer-menu-toggle-read-only):
10575 * bindings.el (mode-line-toggle-read-only):
10576 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10578 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10580 * descr-text.el (describe-char): Put the overlays over the
10581 "displayed as" character.
10583 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10585 * calc/calc-units.el (math-default-units-table): Give an
10587 (math-put-default-units): Add options to put composite units and
10588 unit systems in the default units table.
10589 (calc-convert-units): Send composite units to
10590 `math-put-default-units' when appropriate.
10592 2012-08-11 Glenn Morris <rgm@gnu.org>
10594 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10596 * tutorial.el (help-with-tutorial):
10597 * emacs-lisp/copyright.el (copyright-update-directory):
10598 * emacs-lisp/autoload.el (autoload-find-generated-file)
10599 (autoload-find-file): Disable local eval: (for insurance).
10601 * files.el (hack-local-variables-filter): If an eval: form is not
10602 known to be safe, and enable-local-variables is :safe, then ignore
10603 the form totally, as is done for non-eval forms. (Bug#12155)
10604 This is CVE-2012-3479.
10606 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10608 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10609 (rx-form): Simplify.
10611 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10613 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10614 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10615 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10616 (ruby-syntax-propertize-function): Adjust for changes in
10617 `ruby-syntax-propertize-heredoc'.
10619 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10621 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10622 binding (use `M-;' instead).
10623 (ruby-singleton-class-p): New function.
10624 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10626 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10628 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10630 2012-08-10 Chong Yidong <cyd@gnu.org>
10632 * progmodes/python.el (python-shell-get-process-name): Don't mess
10633 with same-window-buffer-names.
10635 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10636 (eshell-remove-from-window-buffer-names): Make obsolete.
10637 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10638 (eshell): Just use pop-to-buffer-same-window instead.
10640 2012-08-10 Chong Yidong <cyd@gnu.org>
10642 * bindings.el: Bind M-= back to count-words-region.
10644 * simple.el (count-words-region): Accept a prefix arg for acting
10645 on the entire buffer.
10646 (count-words--buffer-message): New helper function.
10648 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10651 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10652 (event-start, event-end): Use posn-at-point to return a more
10654 (posnp): New function.
10655 * mouse.el (popup-menu-normalize-position): Use it.
10657 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10659 * mouse.el (popup-menu-normalize-position): New function.
10660 (popup-menu): Use `popup-menu-normalize-position' to normalize
10661 the form for POSITION argument.
10663 * term/x-win.el (x-menu-bar-open):
10664 Use the value returend from (posn-at-point) as position
10665 passed to `popup-menu'.
10667 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10669 * calc/calccomp.el (math-compose-expr): Add extra argument
10670 indicating that parentheses should be put around products in
10671 denominators. Give multiplication precedence over division during
10674 2012-08-09 Chong Yidong <cyd@gnu.org>
10676 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10677 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10678 (Man-untabify-command, manual-program): Convert to defcustom
10681 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10683 * descr-text.el (describe-char): Don't insert extra newlines
10686 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10687 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10689 * align.el (align-region): Delete temporary markers (Bug#10047).
10690 Plus some code cleanups.
10692 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10694 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10695 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10696 (python-shell-internal-last-output): Use make-local-variable
10697 instead of make-variable-buffer-local.
10699 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10701 * progmodes/python.el: Enhancements to forward-sexp.
10702 (python-nav-forward-sexp): Rename from
10703 python-nav-forward-sexp-function.
10704 (python-nav--forward-sexp, python-nav--backward-sexp):
10707 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10709 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10710 modes and simplification modes.
10712 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * delsel.el (delete-selection-pre-hook): Don't propagate the
10715 file-supersession signals (bug#12161).
10717 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10720 (cl-map-extents): Add compatibility aliases (bug#12135).
10722 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10724 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10725 tests by `ignore-error'.
10726 (tramp-find-shell): Open also a new shell, when cache is already
10727 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10729 2012-08-08 Juri Linkov <juri@jurta.org>
10731 * bookmark.el: Add `defaults' property to the bookmark record.
10732 (bookmark-current-buffer): Doc fix.
10733 (bookmark-make-record): Add `defaults' property with default values
10734 to the bookmark record.
10735 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10736 with `bookmark-insert-current-bookmark'.
10737 (bookmark-set): Get `defaults' property from the bookmark record
10738 and use it in `read-from-minibuffer'.
10739 (bookmark-insert-current-bookmark): Remove function.
10741 * info.el (Info-bookmark-make-record): Add `defaults' property
10742 with values of canonical Info node name, the current Info file
10743 name and the current Info node name. (Bug#12107)
10745 2012-08-08 Juri Linkov <juri@jurta.org>
10747 * files.el (basic-save-buffer): Use `buffer-name' as the default
10748 of `read-file-name' when buffer is not visiting a file (bug#12128).
10750 2012-08-08 Juri Linkov <juri@jurta.org>
10752 * info.el (Info-isearch-search): Doc fix.
10753 (Info-search): Change search-failed message from "initial node" to
10754 "end of node" (bug#12078).
10755 (Info-isearch-search): Change `isearch-string-state' to
10756 `isearch--state-string'.
10758 2012-08-08 Glenn Morris <rgm@gnu.org>
10760 * language/persian.el: Remove file.
10761 * language/misc-lang.el: Move unique part of persian.el here.
10762 * loadup.el: Remove language/persian.
10764 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10766 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10768 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10770 * progmodes/python.el: Fix defsubst warning.
10771 (python-syntax-context) Rename from python-info-ppss-context.
10772 (python-syntax-context-type): Rename from
10773 python-info-ppss-context-type.
10774 (python-syntax-comment-or-string-p): Rename from
10775 python-info-ppss-comment-or-string-p.
10777 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10779 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10781 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10783 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10784 a defcustom that is quoted with backquote.
10786 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10787 Fix handling of interactive spec when the body uses return.
10788 (math-do-arg-check, math-define-function-body): Use backquote forms.
10789 * calc/calc-ext.el (math-defcache): Likewise.
10790 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10791 * allout.el (allout-new-exposure): Likewise.
10792 * calc/calcalg2.el (math-tracing-integral): Likewise.
10793 * info.el (Info-last-menu-item): Likewise.
10794 * emulation/vip.el (vip-loop): Likewise.
10795 * textmodes/artist.el (artist-funcall): Likewise.
10796 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10797 Construct menu-item directly.
10799 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10802 2012-08-07 Chong Yidong <cyd@gnu.org>
10804 * simple.el (deactivate-mark): Preserve text properties when
10805 saving the primary selection (Bug#8384).
10807 2012-08-07 Kevin Ryde <user42@zip.com.au>
10809 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10810 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10811 and continue processing (Bug#12110).
10813 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10816 syntax-propertize-function (bug#10095).
10818 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10820 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10821 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10822 describe-function-1.
10823 (describe-function-1): Use them. Move compiler macro after sig.
10824 (help-fns--compiler-macro): Use function-get. Assume we're already in
10825 standard-output. Adjust layout to new call order.
10827 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10828 re-binding a symbol that has a symbol-macro (bug#12119).
10830 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10832 * language/persian.el: New file. (Bug#11812)
10833 * loadup.el: Add language/persian.el.
10835 2012-08-06 Chong Yidong <cyd@gnu.org>
10837 * window.el (window--maybe-raise-frame): New function.
10838 (window--display-buffer): Split off from here.
10839 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10840 (display-buffer-pop-up-window, display-buffer-use-some-window):
10841 Obey an inhibit-switch-frame action alist entry.
10842 (display-buffer): Update doc.
10844 * replace.el (occur-after-change-function): Avoid losing focus by
10845 using the inhibit-switch-frame display parameter (Bug#12139).
10847 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10849 Make internal shell process buffer names start with space.
10850 * progmodes/python.el (python-shell-make-comint): Add optional
10852 (run-python-internal): Use it.
10853 (python-shell-internal-get-or-create-process): Check for new
10854 internal buffer names.
10856 2012-08-06 Glenn Morris <rgm@gnu.org>
10858 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10859 Do less getting and setting of environment variables.
10861 2012-08-05 Chong Yidong <cyd@gnu.org>
10863 * proced.el (proced): Add substitution string to docstring to
10864 trigger autoloading of the proced library on C-h f (Bug#1768).
10866 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10867 Don't show defvars which have no second argument (Bug#8638).
10869 * imenu.el (imenu-generic-expression): Move documentation here
10870 from imenu--generic-function.
10871 (imenu--generic-function): Refer to imenu-generic-expression.
10873 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10875 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10876 indentation declaration.
10877 (viper-loop): Add indentation declaration (Bug#7025).
10879 2012-08-05 Chong Yidong <cyd@gnu.org>
10881 * help-fns.el (describe-variable): Add hyperlink for
10882 directory-local variables files. Improve buffer-local and
10883 permanent-local reporting; suggested by MON KEY (Bug#6644).
10885 * help-mode.el (help-dir-local-var-def): New button type.
10887 * files.el (kill-buffer-hook): Provide a defvar.
10889 2012-08-05 Glenn Morris <rgm@gnu.org>
10891 * eshell/esh-ext.el (eshell/addpath):
10892 Also update eshell-path-env. (Bug#12013)
10894 2012-08-05 Chong Yidong <cyd@gnu.org>
10896 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10898 * fringe.el (fringe-styles): Add docstring.
10899 (fringe--check-mode): New function.
10900 (set-fringe-mode, set-fringe-style): Use it.
10901 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10903 * files.el (set-auto-mode): Fix invalid setq call.
10905 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * isearch.el: Misc simplification; use defstruct.
10908 (isearch-mode-map): Dense maps now work like sparse ones.
10909 (isearch--state): New defstruct.
10910 (isearch-string-state, isearch-message-state, isearch-point-state)
10911 (isearch-success-state, isearch-forward-state)
10912 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10913 (isearch-wrapped-state, isearch-barrier-state)
10914 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10915 replaced by defstruct's accessors.
10916 (isearch--set-state): Rename from isearch-top-state and change
10917 calling convention.
10918 (isearch-push-state): Use new isearch--get-state.
10919 (isearch-toggle-word): Disable regexp when enabling word.
10920 (isearch-message-prefix): Remove unused arg _c-q-hack.
10921 (isearch-message-suffix): Remove unused arg _ellipsis.
10923 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10925 * simple.el (list-processes--refresh): For a server use :host or
10926 :local as the address.
10927 (list-processes): Doc fix.
10929 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10931 * lisp/mpc.el: Support password in host argument.
10932 (mpc--proc-connect): Parse and use new password element.
10933 Set mpc-proc variable instead of returning process.
10934 (mpc-proc): Adjust accordingly.
10936 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10938 * whitespace.el (whitespace-display-mappings): Use Unicode
10939 codepoints, instead of emacs-mule codepoints. See
10940 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10943 * files.el (file-truename): Don't skip symlink-chasing part on
10944 windows-nt. Incorporate the resolution of 8+3 short aliases on
10945 Windows into the loop that recursively chases symlinks.
10946 Compare directory and its parent case-insensitively on MS-Windows and
10949 2012-08-03 Chong Yidong <cyd@gnu.org>
10951 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10953 * sort.el (sort-regexp-fields): Doc fix.
10955 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10957 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10958 labels regex position point at the expected place.
10960 2012-08-03 MON KEY <monkey@sandpframing.com>
10962 * net/imap.el (imap-interactive-login, imap-authenticate)
10963 (imap-mailbox-lsub, imap-mailbox-list)
10964 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10965 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10966 (imap-parse-response): Doc fix.
10968 2012-08-03 João Távora <joaotavora@gmail.com>
10970 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10971 if sexp scanning does not move point (Bug#5734).
10973 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10975 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10976 Add listings, minted, and ctable packages.
10977 (reftex-label-alist-builtin): Move listings, minted, and ctable
10978 entries before LaTeX.
10979 (reftex-label-alist): Docfix.
10981 2012-08-02 Bastien Guerry <bzg@gnu.org>
10983 * replace.el (occur): Fix docstring (bug#12122).
10985 2012-08-02 Glenn Morris <rgm@gnu.org>
10987 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10989 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10991 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10992 * international/mule-cmds.el: Create
10993 inactivate-current-input-method-function as an obsolete alias for
10994 deactivate-current-input-method-function. See Katsumi Yamaoka in
10995 <http://bugs.gnu.org/10150#46>.
10997 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10999 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
11002 2012-08-01 Glenn Morris <rgm@gnu.org>
11004 * progmodes/autoconf.el (autoconf-definition-regexp):
11005 Add AH_TEMPLATE, adjust submatch numbering.
11006 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
11007 (autoconf-current-defun-function): Update for above change.
11008 (autoconf-current-defun-function): First skip to end of current word.
11010 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
11012 * calendar/cal-html.el (cal-html-insert-agenda-days):
11013 Fix typo. (Bug#12018)
11015 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11017 Shell processes: enhancements to startup and CEDET compatibility.
11018 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
11019 (python-shell-make-comint): accept-process-output at startup.
11020 (run-python-internal): Set inferior-python-mode-hook to nil.
11021 (python-shell-internal-get-or-create-process): call sit-for.
11022 (python-preoutput-result): Add obsolete alias.
11023 (python-shell-internal-send-string): Use it.
11024 (python-shell-send-setup-code): Remove call to
11025 accept-process-output.
11027 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
11029 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
11032 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
11034 * calc-mode.el (calc-basic-simplification-mode): Rename from
11035 `calc-limited-simplification-mode'.
11036 (calc-alg-simplification-mode): New function.
11037 (calc-set-simplify-mode): Adjust message.
11039 * calc.el (calc-set-mode-line): Adjust mode line display for
11040 basic simplification mode.
11042 * calc-help.el (calc-m-prefix-help): Update help message.
11044 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11045 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11047 2012-07-31 Bastien Guerry <bzg@gnu.org>
11049 * man.el (man): Fix comment. (bug#12101)
11051 2012-07-31 Martin Rudalics <rudalics@gmx.at>
11053 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11054 Don't return a non-nil value when no suitable buffer was found.
11056 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
11058 * progmodes/python.el (run-python-internal): Disable font lock for
11061 2012-07-30 Stefan Merten <smerten@oekonux.de>
11063 * textmodes/rst.el: Silence `checkdoc-ispell'.
11064 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11065 (rst-official-version, rst-official-cvs-rev)
11066 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11067 (rst-mode-map): New key binding.
11069 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
11071 Update .PHONY listings in makefiles.
11072 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11073 autoloads, update-subdirs, updates, bzr-update, update-authors,
11074 compile-onefile, compile-calc, backup-compiled-files,
11075 compile-after-backup, compile-one-process, mh-autoloads,
11076 bootstrap-clean, distclean, maintainer-clean.
11078 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11080 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11081 (calc-set-mode-line): Don't display "AlgSimp ".
11083 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11084 (calc-lim-simplify-mode): New function.
11085 (calc-set-simplify-mode): Default to 'alg.
11086 (calc-default-simplify-mode): Make algebraic simplifications
11089 * calc/calc-ext.el (calc-init-extensions): Remove binding for
11090 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
11092 * calc/calc-help.el (calc-m-prefix-help): Change messages to
11093 indicate new simplification modes.
11095 * calc/README: Mention new default simplification mode.
11097 * calc/calc.el (math-normalize-error): New variable.
11098 (math-normalize): Set `math-normalize-error' to t
11099 when there's an error.
11101 * calc/calc-alg.el (math-simplify): Don't simplify when
11102 `math-normalize' returns an error.
11104 2012-07-29 Eli Zaretskii <eliz@gnu.org>
11106 * international/mule-cmds.el (set-locale-environment): Revert last
11107 change, since display-graphic-p returns nil when this function is
11108 called during startup. Instead...
11110 * term/w32console.el (terminal-init-w32console): ...setup the
11111 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
11113 2012-07-29 Juri Linkov <juri@jurta.org>
11115 * simple.el (goto-line): Don't display default line number in the
11116 prompt because it should be displayed by `read-number' (bug#9952).
11117 Add the current line number to the defaults of `goto-line' to
11118 allow its easier modification by users with `M-n' (bug#9201).
11120 * subr.el (read-number): Support multiple default values like in
11121 other minibuffer reading functions. Replace `read' with
11122 `string-to-number' for consistency with `number-to-string'.
11124 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
11126 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11127 * emulation/viper-init.el (viper-deactivate-input-method-action):
11128 Rename from viper-inactivate-input-method-action.
11129 (viper-deactivate-input-method):
11130 Rename from viper-inactivate-input-method.
11131 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11132 * international/mule-cmds.el (deactivate-input-method):
11133 Rename from inactivate-input-method.
11134 Also run input-method-deactivate-hook.
11135 (deactivate-current-input-method-function):
11136 Rename from inactivate-current-input-method-function.
11137 (input-method-deactivate-hook): New hook.
11138 (input-method-inactivate-hook): Mark obsolete.
11139 (inactivate-input-method): Mark obsolete.
11141 * international/quail.el (quail-activate):
11142 Also run quail-deactivate-hook.
11143 (quail-deactivate): Rename from quail-inactivate.
11144 * international/robin.el (robin-activate):
11145 Also run robin-deactivate-hook.
11146 (robin-deactivate): Rename from robin-inactivate.
11148 2012-07-29 Chong Yidong <cyd@gnu.org>
11150 * simple.el (indicate-copied-region): New function.
11151 (kill-ring-save): Split off from here.
11153 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11154 (kill-rectangle): Set deactivate-mark to t on read-only error.
11156 * register.el (copy-to-register, copy-rectangle-to-register):
11157 Deactivate the mark, and use indicate-copied-region (Bug#10056).
11158 (append-to-register, prepend-to-register): Call indicate-copied-region.
11160 2012-07-29 Juri Linkov <juri@jurta.org>
11162 * simple.el (async-shell-command-buffer): New defcustom.
11163 (shell-command): Use it. (Bug#4719)
11165 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11167 * international/mule-cmds.el (set-locale-environment): In a
11168 console session on MS-Windows, set up keyboard and terminal
11169 encoding from the OEM codepage, not the ANSI codepage.
11172 2012-07-28 Chong Yidong <cyd@gnu.org>
11174 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11177 2012-07-28 Leo Liu <sdl.web@gmail.com>
11179 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11180 the alist (bug#12029).
11182 2012-07-28 Eli Zaretskii <eliz@gnu.org>
11184 * makefile.w32-in (custom-deps, finder-data, updates, compile)
11185 (compile-always, compile-first)
11186 ($(lisp)/calendar/cal-loaddefs.el)
11187 ($(lisp)/calendar/diary-loaddefs.el)
11188 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11189 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11190 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11191 instead of on update-subdirs.
11192 (bootstrap-clean): Delete $(lisp)/subdirs.el.
11194 2012-07-28 Chong Yidong <cyd@gnu.org>
11196 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11197 directory if vc-deduce-backend returns nil (Bug#7350).
11199 * simple.el (delete-trailing-lines): New option.
11200 (delete-trailing-whitespace): Obey it (Bug#11879).
11202 2012-07-28 David Engster <deng@randomsample.de>
11204 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11205 Explanation of new 'symbol-qnames feature in doc-strings.
11206 (xml-maybe-do-ns): Return expanded names as plain symbols if
11207 'symbol-qnames was provided in XML-NS argument (Bug#11916).
11208 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11210 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11212 Consistent completion in inferior python with emacs -nw.
11213 * progmodes/python.el (inferior-python-mode): replace "<tab>"
11214 binding in inferior-python-mode-map with "\t".
11215 (python-shell-completion-complete-at-point)
11216 (python-completion-complete-at-point): Remove interactive spec.
11218 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11220 * calc/calccomp.el (math-compose-expr): Undo previous change.
11222 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
11224 * progmodes/python.el (python-mode-map): Add keybinding for
11226 (python-shell-make-comint): Fix pop-to-buffer call.
11227 (run-python): Autoload. New arg SHOW.
11228 (python-shell-get-or-create-process): Do not pop python process
11231 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
11233 * notifications.el (notifications-on-action-signal)
11234 (notifications-on-closed-signal): Use also the bus address for the map.
11235 (notifications-notify, notifications-close-notification)
11236 (notifications-get-capabilities): Add optional argument BUS.
11238 2012-07-27 Tassilo Horn <tsdh@gnu.org>
11240 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11241 Add support for the lstlisting and minted environments, and for the
11243 * textmodes/reftex.el (reftex-compile-variables): Also recognize
11244 labels written in keyvals syntax.
11246 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
11248 * calc/calccomp.el (math-compose-expr): Use parentheses when
11249 there is a product in the denominator of a fraction.
11251 2012-07-26 Eli Zaretskii <eliz@gnu.org>
11253 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11254 ($(lisp)/calendar/diary-loaddefs.el)
11255 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11256 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11257 Fixes failures in parallel bootstrap because subdirs.el is being
11258 rewritten while the autoload files are built at the same time,
11259 which needs to load subdirs.el.
11261 2012-07-26 Martin Rudalics <rudalics@gmx.at>
11263 * mouse.el (popup-menu): Fix doc-string and re-indent code.
11264 (mouse-drag-line): Don't exit tracking when a switch-frame or
11265 switch-window event occurs (Bug#12006).
11267 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11269 * mouse.el (popup-menu): Fix last change.
11271 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11273 Autoload from Lisp with more care. Follow aliases when looking for
11274 function properties.
11275 * subr.el (autoloadp): New function.
11276 (symbol-file): Use it.
11277 (function-get): New function.
11278 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11280 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11281 (lisp-indent-function):
11282 * emacs-lisp/gv.el (gv-get):
11283 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11284 * emacs-lisp/byte-opt.el (byte-optimize-form):
11285 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11286 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11288 * emacs-lisp/cl.el: Don't propagate function properties any more.
11290 * speedbar.el (speedbar-add-localized-speedbar-support):
11291 * emacs-lisp/disass.el (disassemble-internal):
11292 * desktop.el (desktop-load-file):
11293 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11294 (describe-function-1):
11295 * emacs-lisp/find-func.el (find-function-noselect):
11296 * emacs-lisp/elp.el (elp-instrument-function):
11297 * emacs-lisp/advice.el (ad-has-proper-definition):
11298 * apropos.el (apropos-safe-documentation, apropos-macrop):
11299 * emacs-lisp/debug.el (debug-on-entry):
11300 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11301 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11302 * calc/calc.el (name): Use autoloadp & autoload-do-load.
11304 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
11306 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11307 function, not an obsolete variable (Bug#12046).
11309 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11311 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
11313 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
11315 * emacs-lisp/pp.el (pp-display-expression): Select old selected
11316 window only if it is still live (Bug#12034).
11318 2012-07-25 Martin Rudalics <rudalics@gmx.at>
11320 * subr.el (redirect-frame-focus): Add advertised calling
11321 convention (Bug#12030).
11323 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
11325 Prefer typical American spelling for "acknowledgment".
11326 * vc/add-log.el (change-log-acknowledgment): Rename from
11327 change-log-acknowledgement, with an alias for the old name.
11329 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
11331 * calc-alg.el (math-simplify-divide): Don't cross multiply
11332 in an equation when the lhs is a variable.
11334 2012-07-24 Julien Danjou <julien@danjou.info>
11336 * net/netrc.el (netrc-find-service-number, netrc-store-data):
11339 2012-07-23 Eli Zaretskii <eliz@gnu.org>
11341 * startup.el (command-line): Don't display an empty user name in
11342 the error message about non-existent home directory, when
11343 init-file-user was set to an empty string. See
11344 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11345 for the details and context.
11347 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
11349 * ses.el (ses-cell-formula-aset): New macro.
11350 (ses-cell-references-aset): New macro.
11351 (ses-cell-p): New function.
11352 (ses-rename-cell): Do no longer rely on complex operations like
11353 ses-cell-set-formula or ses-set-cell to change the cell and handle
11354 the undo at the same time, but rather use lower level new macros
11355 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11356 the undo directly. Refresh the mode line.
11358 2012-07-21 Leo Liu <sdl.web@gmail.com>
11360 * progmodes/cc-cmds.el (c-defun-name):
11361 Use match-string-no-properties instead for consistency.
11363 2012-07-20 Leo Liu <sdl.web@gmail.com>
11365 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11368 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11370 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
11372 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11373 * progmodes/bug-reference.el, misearch.el: Provide themselves
11376 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11377 of narrowed buffer (bug#11966).
11379 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
11381 * ses.el (ses-rename-cell): Set new name also in reference list of
11382 cells of which the renamed cell depends.
11384 2012-07-20 Masatake YAMATO <yamato@redhat.com>
11386 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11387 to check whether menu-bar is shown or not. If not shown,
11388 show the menu-bar as a popup menu instead of using tmm.
11389 * mouse.el (popup-menu): Accept `point' as `position' argument.
11391 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
11393 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11394 up inside string symbol literal (bug#11923).
11396 2012-07-20 Eli Zaretskii <eliz@gnu.org>
11398 * startup.el (fancy-startup-text): Read the whole tutorial, not
11399 just its first 256 bytes. Prevents gibberish in display of the
11402 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
11404 Drop idle buffer compaction due to an absence of the
11406 * compact.el: Remove.
11408 2012-07-19 Sam Steingold <sds@gnu.org>
11410 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11411 vc-bzr-pull & vc-bzr-merge-branch.
11412 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11413 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11414 for consistency with compilation-error-regexp-alist.
11415 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11416 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11417 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11418 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11420 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11422 * emacs-lisp/chart.el: Use lexical-binding.
11423 (chart-emacs-storage): Don't hardcode the list of entries.
11425 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11427 Next round of tweaks caused by Fgarbage_collect changes.
11428 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11430 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
11432 Compact buffers when idle.
11433 * compact.el: New file.
11435 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
11437 * subr.el (eventp): Presume that if it looks vaguely like an event,
11438 it's an event (bug#10190).
11440 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
11442 Enhancements to ppss related code (thanks Stefan).
11443 * progmodes/python.el (python-indent-context)
11444 (python-indent-calculate-indentation, python-indent-dedent-line)
11445 (python-indent-electric-colon, python-nav-forward-block)
11446 (python-mode-abbrev-table)
11447 (python-info-assignment-continuation-line-p): Simplify checks
11449 (python-info-continuation-line-p): Cleanup.
11450 (python-info-ppss-context): Do not catch 'quote.
11451 (python-info-ppss-context-type)
11452 (python-info-ppss-comment-or-string-p): Simplify.
11454 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
11456 * progmodes/python.el: Enhancements to eldoc support.
11457 (python-info-current-symbol): New function.
11458 (python-eldoc-at-point): Use python-info-current-symbol.
11459 (python-info-current-defun): Fix cornercase on first defun scan.
11460 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11461 and signal error when no inferior python process is available.
11463 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
11465 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11466 assume it's always t.
11467 (vc-git-registered): Remove caching, the function is only called
11469 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11471 2012-07-18 Chong Yidong <cyd@gnu.org>
11473 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11475 * simple.el (count-words): Report on narrowing (Bug#9959).
11477 * bindings.el: Bind M-= to count-words.
11479 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11481 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11483 * progmodes/sh-script.el (sh-imenu-generic-expression):
11484 Capture a function with `function' keyword and without parentheses
11485 like "function FOO" (bug#11856).
11487 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11489 * window.el (split-window-sensibly): Make WINDOW argument
11492 2012-07-18 Chong Yidong <cyd@gnu.org>
11494 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11496 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11497 and make C-x 8 RET exit isearch (Bug#11439).
11499 * international/iso-transl.el: Move isearch-mode-map key
11500 definitions to isearch.el.
11502 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11505 (eieio-defclass): Use gv-define-setter when possible.
11507 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11509 Reflect recent changes in Fgarbage_collect.
11510 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11511 reflect new format of data returned by Fgarbage_collect.
11513 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11515 New utility functions + python-info-ppss-context fix (Bug#11910).
11516 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11517 (python-info-ppss-comment-or-string-p): New functions.
11518 (python-info-ppss-context): Small fix for string check.
11520 2012-07-17 Juri Linkov <juri@jurta.org>
11522 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11523 (dired-do-async-shell-command): Don't add `*' at the end of the
11524 command (Bug#11815).
11525 (dired-do-shell-command): Doc fix.
11526 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11527 Join the individual commands using either "&" or ";" as the
11528 separator depending on the values of these trailing characters.
11529 At the end re-add the trailing "&". (Bug#10598)
11531 * simple.el (async-shell-command): Sync the interactive spec with
11532 `shell-command'. Doc fix.
11533 (shell-command): Doc fix.
11535 2012-07-17 Juri Linkov <juri@jurta.org>
11537 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11539 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11541 Final renames and doc fixes for movement commands (bug#11899).
11542 * progmodes/python.el (python-nav-beginning-of-statement):
11543 Rename from python-nav-statement-start.
11544 (python-nav-end-of-statement): Rename from
11545 python-nav-statement-end.
11546 (python-nav-beginning-of-block): Rename from
11547 python-nav-block-start.
11548 (python-nav-end-of-block): Rename from python-nav-block-end.
11550 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
11552 * progmodes/python.el (python-shell-send-string-no-output):
11553 Allow accept-process-output to quit, keeping shell process ready for
11554 future interactions (Bug#11868).
11556 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11558 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11560 * emacs-lisp/elint.el (elint-find-args-in-code):
11561 Use help-function-arglist, so as to handle lexical byte-code.
11563 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11564 change (bug#11826).
11566 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11568 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11569 Avoid spuriously marking the buffer as modified because of c-is-sws.
11571 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11572 as not-a-comment (bug#11946).
11574 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11575 for uninterned vars.
11577 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11578 Use read-event since we don't really want to read chars but bytes.
11580 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11581 $$..$$ but also $..$ using regexps (bug#11953).
11582 Use tex-verbatim for \url and \path.
11583 (tex-font-lock-keywords): Define as defconst like the others.
11584 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11586 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11588 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11589 alias for insert-char.
11591 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11593 * progmodes/python.el: Simplified imenu implementation.
11594 (python-nav-jump-to-defun): Remove command.
11595 (python-mode-map): Use `imenu' instead.
11596 (python-nav-list-defun-positions-cache)
11597 (python-imenu-include-defun-type, python-imenu-make-tree)
11598 (python-imenu-subtree-root-label, python-imenu-index-alist):
11600 (python-nav-list-defun-positions, python-nav-read-defun)
11601 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11602 (python-imenu-make-tree, python-imenu-create-index):
11604 (python-mode): Update to interact with imenu by setting
11605 `imenu-extract-index-name-function' only.
11607 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11609 * progmodes/python.el: Enhancements to navigation commands.
11610 (python-nav-backward-sentence)
11611 (python-nav-forward-sentence): Remove.
11612 (python-nav-backward-statement, python-nav-forward-statement)
11613 (python-nav-statement-start, python-nav-statement-end)
11614 (python-nav-backward-block, python-nav-forward-block)
11615 (python-nav-block-start, python-nav-block-end)
11616 (python-nav-forward-sexp-function)
11617 (python-info-current-line-comment-p)
11618 (python-info-current-line-empty-p): New functions.
11619 (python-indent-context): Use `python-nav-statement-start'.
11621 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11623 * eshell/em-ls.el (eshell/ls): Use `apply'.
11625 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11626 multi-hops, instead of Tramp internals.
11628 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11630 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11631 when F1 and F2 are located on different hosts.
11633 2012-07-14 Chong Yidong <cyd@gnu.org>
11635 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11636 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11637 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11638 (xterm-mouse--read-event-sequence-1000)
11639 (xterm-mouse--read-event-sequence-1006): New functions. For old
11640 mouse protocol, handle M-mouse-X events correctly.
11641 (xterm-mouse-event): New arg specifying mouse protocol.
11642 (turn-on-xterm-mouse-tracking-on-terminal)
11643 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11644 sequence to toggle extended coordinates on newer XTerms.
11645 This appears to be harmless on terminals which do not support this.
11647 2012-07-14 Leo Liu <sdl.web@gmail.com>
11649 Add fringe bitmap indicators for flymake. (Bug#11253)
11650 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11651 (flymake-make-overlay): New arg BITMAP.
11652 (flymake-error-bitmap, flymake-warning-bitmap)
11653 (flymake-fringe-indicator-position): New user variables.
11655 * fringe.el: New bitmap exclamation-mark.
11657 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11659 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11662 2012-07-14 Chong Yidong <cyd@gnu.org>
11664 * electric.el (electric-pair-post-self-insert-function): Fix pair
11665 insertion in empty-region case (Bug#11520).
11667 2012-07-14 Chong Yidong <cyd@gnu.org>
11669 * bindings.el: Consolidate ctl-x-r-map bindings.
11670 Bind copy-rectangle-as-kill to C-x r w.
11672 * rect.el, register.el: Move bindings to bindings.el.
11674 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11676 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11678 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11680 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11682 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11684 * bindings.el (top): Use `mapc' instead of `mapcar'.
11686 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11688 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11690 * progmodes/sql.el (sql-comint): Suppress the check for program on
11691 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11694 2012-07-13 Chong Yidong <cyd@gnu.org>
11696 * bindings.el: Assign a non-nil permanent-local property to
11697 per-buffer variables which lack a default value (Bug#11930).
11699 * help-fns.el (describe-variable): In the "automatically becomes
11700 local" notice, take note of permanent-local variables.
11702 2012-07-13 Chong Yidong <cyd@gnu.org>
11704 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11705 to allow printing the message when called from Lisp.
11707 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11708 Remove toggle-read-only.
11710 * bs.el (bs-toggle-readonly):
11711 * buff-menu.el (Buffer-menu-toggle-read-only):
11712 Remove with-no-warnings around toggle-read-only.
11714 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11715 Remove with-no-warnings around toggle-read-only.
11716 (ffap-read-only, ffap-read-only-other-window)
11717 (ffap-read-only-other-frame): Callers changed.
11719 * help-mode.el: Don't require view package.
11720 (help-mode-finish): Set buffer-read-only instead of calling
11723 * bindings.el (mode-line-toggle-read-only):
11724 * dired.el (dired-toggle-read-only):
11725 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11726 with non-nil second arg.
11728 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11729 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11732 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11734 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11737 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11739 More CL cleanups and reduction of use of cl.el.
11740 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11741 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11742 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11743 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11744 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11745 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11746 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11747 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11748 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11749 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11750 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11751 * eshell/em-cmpl.el, eshell/em-banner.el:
11752 * calendar/parse-time.el: Use cl-lib.
11753 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11754 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11755 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11756 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11757 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11758 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11759 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11760 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11761 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11762 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11763 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11764 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11765 `lambda' rather than with `quote'.
11766 (eshell-do-opt): Adjust accordingly.
11767 (eshell-process-option): Simplify.
11768 * eshell/esh-var.el:
11769 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11770 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11771 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11772 to `pcase--dontcare'.
11773 * emacs-lisp/cl.el (labels): Mark obsolete.
11774 (cl--letf, letf): Move to cl-lib.
11775 (cl--letf*, letf*): Remove.
11776 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11777 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11778 (cl-progv): Rewrite.
11779 (cl--letf, cl-letf): Move from cl.el.
11780 (cl-letf*): New macro.
11781 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11783 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11785 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11787 2012-07-11 Chong Yidong <cyd@gnu.org>
11789 * vc/log-edit.el (log-edit-vc-backend): New variable.
11790 (log-edit): Doc fix.
11792 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11793 argument of log-edit to set up all local variables.
11794 (vc-start-logentry): New optional arg specifying VC backend.
11796 * vc/vc.el (vc-checkin): Use it.
11797 (vc-deduce-fileset): Handle Log Edit buffers.
11798 (vc-diff): Make first argument optional too.
11800 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11802 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11804 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11805 command, just in case. The function is not needed anymore.
11806 (eshell-external-command): Do not call `eshell-remote-command'.
11808 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11810 Reduce use of (require 'cl).
11811 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11812 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11813 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11814 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11815 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11816 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11817 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11818 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11819 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11820 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11821 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11822 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11823 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11824 (byte-compile-unfold-bcf, byte-compile-check-variable):
11825 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11826 (byte-compile-nilconstp):
11827 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11828 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11830 * emacs-lisp/gv.el (cond): Make it a valid place.
11831 (if): Simplify slightly.
11833 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11834 (pcase--self-quoting-p): New function.
11835 (pcase--u1): Use it.
11837 2012-07-10 Glenn Morris <rgm@gnu.org>
11839 * emacs-lisp/authors.el (authors-fixed-entries):
11840 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11842 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11844 Rename configure.in to configure.ac (Bug#11603).
11845 * emacs-lisp/authors.el (authors-canonical-file-name):
11846 * progmodes/autoconf.el (autoconf-mode):
11847 Prefer configure.ac to configure.in.
11849 2012-07-08 Chong Yidong <cyd@gnu.org>
11851 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11852 Implement the mouse-1-click-follows-link handling properly.
11854 * info.el (Info-link-keymap): Use follow-link mechanism for
11855 header-line links (Bug#374).
11857 * simple.el (deactivate-mark): Do not set the primary selection
11858 if another program has acquired it (Bug#11772).
11860 2012-07-07 Kevin Ryde <user42@zip.com.au>
11862 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11863 (woman-decode-region): Replace escaped-escapes without destroying
11864 bold or underline (Bug#11552).
11865 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11867 2012-07-07 Chong Yidong <cyd@gnu.org>
11869 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11870 (interprogram-cut-function, interprogram-paste-function):
11871 Mention that we typically mean the clipboard.
11873 2012-07-06 Glenn Morris <rgm@gnu.org>
11875 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11877 * files.el (toggle-read-only): Restrict message to interactive use.
11879 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11881 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11883 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11885 2012-07-06 Glenn Morris <rgm@gnu.org>
11887 * Makefile.in (compile-one-process): Rename from "recompile".
11889 * Makefile.in (bzr-update): "compile" is the same as "recompile
11890 autoloads", but parallelizable, so use that instead.
11892 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11894 * window.el (quit-window): Always restore window height when
11895 it's saved in quit-restore parameter (Bug#11810).
11897 2012-07-06 Glenn Morris <rgm@gnu.org>
11899 * simple.el (kill-whole-line): Doc tweak.
11901 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11903 * files.el (file-relative-name): Compare file names
11904 case-insensitively if on MS-Windows or MS-DOS, or if
11905 read-file-name-completion-ignore-case is non-nil. Don't use
11906 case-fold-search for this purpose. (Bug#11827)
11908 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11910 * calendar/cal-dst.el (calendar-current-time-zone):
11911 Return calendar-current-time-zone-cache if non-nil.
11913 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11914 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11916 * calendar/cal-dst.el (calendar-current-time-zone):
11917 Return calendar-current-time-zone-cache if non-nil.
11919 2012-07-06 Glenn Morris <rgm@gnu.org>
11921 * Makefile.in (cvs-update): Remove old alias.
11923 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11925 Sync with Tramp 2.2.6-pre.
11927 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11928 compatible declaration.
11930 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11931 Protect `list-load-path-shadows' call.
11933 * net/tramp-compat.el (top): Require packages, which aren't
11934 autoloaded anymore for XEmacs. Protect call of
11935 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11936 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11937 it hurts at least for SXEmacs.
11938 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11939 standard-value for `temporary-file-directory'.
11941 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11942 Redirect stderr to /dev/null.
11943 (tramp-sh-handle-write-region): uid and gid can be floats.
11944 Reported by Russell Sim <russell.sim@gmail.com>.
11945 (tramp-sh-handle-vc-registered): Hide errors.
11946 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11947 and `start-file-process'.
11948 (tramp-maybe-open-connection): Check also whether `non-essential'
11951 2012-07-04 Chong Yidong <cyd@gnu.org>
11953 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11954 (xml-parse-tag): Likewise, and avoid changing entity tables.
11955 (xml-syntax-table): Define from scratch, making sure not to give
11956 x2000 and other Unicode spaces whitespace syntax, since those are
11958 (xml-parse-fragment): Delete unused function.
11959 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11960 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11961 (xml-entity-ref, xml-pe-reference-re)
11962 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11963 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11964 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11965 (xml-entity-value-re): Use syntax references in regexps where
11966 possible; no need to define inside a let-binding.
11967 (xml-parse-dtd): Use xml-pe-reference-re.
11968 (xml-entity-or-char-ref-re): New defconst.
11969 (xml-parse-string, xml-substitute-special): Use it.
11971 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11973 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11974 (find-file--read-only): New function.
11975 (find-file-read-only, find-file-read-only-other-window)
11976 (find-file-read-only-other-frame): Use it.
11977 (insert-file-contents-literally): Don't `fset'.
11978 (get-free-disk-space): Use locate-dominating-file.
11980 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11981 function is already compiled.
11983 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11985 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11987 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11988 files on the same host.
11990 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11992 * help-fns.el (describe-function-1): Only call
11993 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11995 2012-07-03 Chong Yidong <cyd@gnu.org>
11997 * xml.el: Protect parser against XML bombs.
11998 (xml-entity-expansion-limit): New variable.
11999 (xml-parse-string, xml-substitute-special): Use it.
12000 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
12002 2012-07-03 Glenn Morris <rgm@gnu.org>
12004 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12005 Allow linking to specific messages in debbugs reports (eg 123#5).
12007 2012-07-02 Chong Yidong <cyd@gnu.org>
12009 * xml.el: Fix entity and character reference expansion, allowing
12010 them to expand into markup as per XML spec.
12011 (xml-default-ns): New variable.
12012 (xml-entity-alist): Use XML spec definitions for lt and amp.
12013 (xml-parse-region): Make first two arguments optional.
12014 Discard text properties.
12015 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
12016 All callers changed.
12017 (xml-parse-tag): Call xml-parse-tag-1. For backward
12018 compatibility, this function should not modify buffer contents.
12019 (xml-parse-tag-1): Fix opening-tag regexp.
12020 (xml-parse-string): Rewrite, handling entity and character
12021 references properly.
12022 (xml--entity-replacement-text): Signal an error if a parameter
12023 entity is undefined.
12025 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12027 * comint.el (comint-output-filter): Filter out repeated prompts.
12029 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
12030 and file-name-absolute-p.
12031 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
12034 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
12037 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
12038 Rename from byte-compile--refiy-function. All uses changed.
12040 2012-07-01 Chong Yidong <cyd@gnu.org>
12042 * xml.el (xml--parse-buffer): New function. Move most of
12043 xml-parse-region here.
12044 (xml-parse-region): Copy region into a temporary buffer, since
12045 parameter entity substitution requires changing buffer contents.
12046 Use xml--parse-buffer.
12047 (xml-parse-file): Use xml--parse-buffer.
12048 (xml-parse-dtd): Make parameter entity substitution work right.
12049 Use proper regexps for ELEMENT declarations (Bug#7172).
12051 2012-06-30 Glenn Morris <rgm@gnu.org>
12053 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12055 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12056 Remove outdated and unnecessary dbus declarations.
12058 2012-06-30 Eli Zaretskii <eliz@gnu.org>
12060 * emacs-lisp/timer.el (timer-until): Subtract results of
12061 float-time, instead of taking float-time of the result of
12062 time-subtract, since float-time signals an error for negative time
12065 2012-06-30 Chong Yidong <cyd@gnu.org>
12067 * xml.el (xml-*-re): Convert defvars into defconsts, and
12068 eval-and-compile them so eval-and-compile works on derivatives.
12069 (xml--entity-replacement-text): Use eval-and-comple.
12071 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
12073 * vc/vc-git.el (vc-git-registered): Use cache property
12075 (vc-git-mode-line-string): Call `vc-working-revision' instead of
12076 `vc-git-working-revision' in order to benefit from the cache.
12077 (vc-git-root): Use cache property `git-root'. (Bug#11757)
12079 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
12081 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12082 removed (likely outside Emacs). (Bug#11757)
12084 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12086 * emacs-lisp/cl-lib.el: Require macroexp.
12088 2012-06-30 Chong Yidong <cyd@gnu.org>
12090 * xml.el: Implement XML parameter entities.
12091 (xml-parameter-entity-alist): New variable.
12092 (xml-parse-region, xml-parse-fragment): Preserve previous values
12093 of xml-entity-alist and xml-parameter-entity-alist, so that
12094 repeated calls on different documents do not change them.
12095 (xml-parse-tag): Fix doctype regexp.
12096 (xml--entity-replacement-text): New function.
12097 (xml-parse-dtd): Use it. Don't handle system entities; doing that
12098 properly requires url retrieval which is unimplemented.
12099 (xml-escape-string): Doc fix.
12101 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
12103 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12105 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
12107 * fringe.el (fringe-mode): Doc fix.
12109 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
12111 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12113 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12114 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
12116 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
12118 * calendar/cal-dst.el (calendar-current-time-zone):
12119 Return calendar-current-time-zone-cache if non-nil.
12121 2012-06-29 Masatake YAMATO <yamato@redhat.com>
12123 * progmodes/which-func.el (which-func-format):
12124 Add mouse-face. (Bug#11698)
12126 2012-06-29 Leo Liu <sdl.web@gmail.com>
12128 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12130 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * minibuffer.el (minibuffer-confirm-exit-commands):
12133 Add completion-at-point (bug#11725).
12135 2012-06-29 Glenn Morris <rgm@gnu.org>
12137 * progmodes/f90.el (f90-font-lock-keywords-2):
12138 Add some preprocessor elements. (Bug#10499)
12140 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
12142 * progmodes/cperl-mode.el (cperl-update-syntaxification):
12143 Use syntax-propertize (bug#11739).
12145 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
12147 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12149 2012-06-28 Julien Danjou <julien@danjou.info>
12151 * term.el (term-handle-colors-array): Use a set of new faces to
12152 color the terminal. Also uses :inverse-video property.
12153 (term-default-fg-color): Set to nil by default, deprecate in favor
12155 (term-default-bg-color): Set to nil by default, deprecate in favor
12157 (term-current-face): Use `term-face' by default.
12158 (term-bold-attribute): Variable deleted.
12160 2012-06-28 Glenn Morris <rgm@gnu.org>
12162 * simple.el (completion-list-mode-finish):
12163 Don't use toggle-read-only. (Since completion-list-mode has
12164 a special mode-class, it wasn't doing anything extra anyway.)
12166 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
12168 Make inlining of other-mode interpreted functions work (bug#11799).
12169 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12170 (byte-compile): Use it to fix compilation of lexical-binding closures.
12171 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12172 function, if needed.
12174 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12176 * help-mode.el (help-make-xrefs): Don't just withstand
12177 cyclic-variable-indirection but any error in documentation-property.
12179 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12181 * bindings.el (bindings--define-key): New function.
12182 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12183 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12184 * bindings.el: Use it to purecopy define-key bindings.
12186 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12188 * emacs-lisp/cl.el (flet): Mark obsolete.
12189 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12190 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12191 * progmodes/js.el (js-c-fill-paragraph):
12192 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12193 (ebrowse-switch-member-buffer-to-derived-class):
12194 * play/5x5.el (5x5-solver): Use cl-flet.
12196 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
12197 (cl--symbol-function): New macro.
12198 (cl--letf, cl--letf*): Use it.
12200 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12201 Strip "toggle-" if any.
12203 2012-06-27 Glenn Morris <rgm@gnu.org>
12205 * info.el (Info-default-directory-list): Move here from paths.el.
12206 * paths.el: Remove file, which is now empty.
12207 * loadup.el: No longer load "paths".
12209 * custom.el (custom-initialize-delay): Doc fix.
12211 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12212 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12213 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12214 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12215 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12216 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12217 * eshell/eshell.el (eshell-defgroup): Remove alias.
12219 2012-06-27 Chong Yidong <cyd@gnu.org>
12221 * help.el (help-enable-auto-load): New variable.
12223 * help-fns.el (help-fns--autoloaded-p): New function.
12224 (describe-function-1): Refer to a function as "autoloaded" if it
12225 was autoloaded at any time in the past. Perform autoloading if
12226 help-enable-auto-load is non-nil.
12228 2012-06-26 Eli Zaretskii <eliz@gnu.org>
12230 * makefile.w32-in (compile, compile-always): Depend on
12231 update-subdirs, not on subdirs.el. Otherwise, several different
12232 sub-targets of 'bootstrap' running in parallel could
12233 simultaneously write to subdirs.el, producing a garbled file.
12235 2012-06-26 Sam Steingold <sds@gnu.org>
12237 * files.el (file-name-base): New convenience function.
12238 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12239 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12240 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12241 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12242 * textmodes/ispell.el, textmodes/reftex-ref.el:
12243 * textmodes/tex-mode.el: Use it.
12244 Did not touch cedet and org because they are maintained elsewhere.
12246 2012-06-26 Martin Rudalics <rudalics@gmx.at>
12248 * calendar/calendar.el (calendar-exit): Don't try to delete or
12249 iconify last frame. See:
12250 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12252 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
12254 * server.el (server-process-filter): Remember dir in the
12255 process's `server-client-directory' properties.
12257 2012-06-24 Chong Yidong <cyd@gnu.org>
12259 * xml.el (xml-parse-tag): Correctly handle comment embedded in
12262 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
12264 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12266 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12268 * help-fns.el (describe-variable): Don't croak when doc is not found.
12269 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12270 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12271 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12272 * emacs-lisp/smie.el (smie-next-sexp): CSE.
12273 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12275 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12277 2012-06-23 Chong Yidong <cyd@gnu.org>
12279 * info.el (Info-mouse-follow-link): Accept symbol values of
12280 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
12281 (Info-fontify-node): Use Info-link-keymap for all navigation
12282 buttons, with link-args property to perform the desired action.
12283 (Info-link-keymap): Doc fix.
12284 (Info-next-link-keymap, Info-prev-link-keymap)
12285 (Info-up-link-keymap): Delete now-unused keymaps.
12287 2012-06-23 Chong Yidong <cyd@gnu.org>
12289 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12291 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12294 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12296 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12298 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12301 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12302 the requote function doesn't work properly (bug#11714).
12304 2012-06-23 Glenn Morris <rgm@gnu.org>
12306 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12308 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12310 Further GV/CL cleanups.
12311 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12313 (gv--defun-declaration): New function.
12314 (defun-declarations-alist): Use it.
12315 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12316 (gv-place): Autoload.
12317 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12318 original definition of dotimes and dolist.
12319 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12320 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12321 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12322 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12323 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12324 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12325 to the function's definition.
12326 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12330 * env.el: Don't use CL.
12332 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
12334 Support higher-resolution time stamps (Bug#9000).
12336 * calendar/time-date.el (with-decoded-time-value): New arg
12337 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
12338 (encode-time-value): New optional arg PICO. New type 3.
12339 (time-to-seconds) [!float-time]: Support the new picoseconds
12340 component if it's used.
12341 (seconds-to-time, time-subtract, time-add):
12342 Support ps-resolution time stamps as well.
12344 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
12345 (timerp): Timer vectors now have length 9, not 8.
12346 (timer--time): Support new-style (4-part) time stamps.
12347 (timer-next-integral-multiple-of-time): Time stamps now have
12348 picosecond resolution, so take a bit more care about rounding.
12349 (timer-relative-time, timer-inc-time): New optional arg psecs.
12350 (timer-set-time-with-usecs): Set psecs to 0.
12351 (timer--activate): Check psecs component, too.
12353 * proced.el (proced-time-lessp): Support ps-resolution stamps.
12355 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12357 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12358 Move the non-essential binding to the post/pre-command-hook where it is
12359 more obviously correct.
12361 * subr.el (read-passwd): Don't use a history at all.
12362 * savehist.el (savehist-save): Remove password saved accidentally
12363 because of the above bug.
12365 2012-06-22 Bastien Guerry <bzg@gnu.org>
12367 * files.el (toggle-read-only): Display a message telling whether
12368 the buffer is read-only or not (bug#11726).
12370 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12372 * emacs-lisp/gv.el: New file.
12373 * subr.el (push, pop): Extend to generalized variables.
12374 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12375 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12376 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
12377 gv-define-simple-setter, and gv-define-expander.
12378 Remove setf-methods defined in gv. Rename cl-setf -> setf.
12379 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12380 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12381 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12382 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12384 (cl-defstruct): Don't define setf-method any more.
12385 * emacs-lisp/cl.el (flet): Don't autoload.
12386 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12387 (define-setf-expander, defsetf, define-modify-macro)
12388 (cl-struct-setf-expander): Move from cl-lib.el.
12389 * emacs-lisp/syntax.el:
12390 * emacs-lisp/ewoc.el:
12391 * emacs-lisp/smie.el:
12392 * emacs-lisp/cconv.el:
12393 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12394 (timer--time): Use gv-define-simple-setter.
12395 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12396 to avoid coding-system problems in subr.el. Adjust all users.
12397 (macroexp--maxsize, macroexp-small-p): New functions.
12398 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12399 * scroll-bar.el (scroll-bar-mode):
12400 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12401 (normal-erase-is-backspace-mode): Don't use the `eq' place.
12402 * winner.el (winner-configuration, winner-make-point-alist)
12403 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12404 * files.el (locate-file-completion-table): Avoid list*.
12406 2012-06-22 Chong Yidong <cyd@gnu.org>
12408 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12409 (dired-create-files): Doc fix (Bug#11329).
12410 (dired-do-copy): Doc fix (Bug#11334).
12411 (dired-mark-read-string): Doc fix (Bug#11553).
12413 * dired.el (dired-recursive-copies, dired-recursive-deletes):
12414 Doc fix (Bug#11326).
12415 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
12416 (dired-dwim-target): Doc fix.
12418 * wdired.el (wdired-mode): Doc fix.
12420 2012-06-22 Glenn Morris <rgm@gnu.org>
12422 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12423 (pcmpl-rpm-cache-stamp-file): New constant.
12424 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12425 (pcmpl-rpm-packages): Optionally cache list of packages.
12427 * pcmpl-rpm.el (pcmpl-rpm): New group.
12428 (pcmpl-rpm-query-options): New option.
12429 (pcmpl-rpm-packages): No need to inline it.
12430 Use pcmpl-rpm-query-options.
12432 * calendar/calendar.el (calendar-in-read-only-buffer):
12433 Avoid some needless mode changes.
12435 2012-06-21 Chong Yidong <cyd@gnu.org>
12437 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12438 (desktop-path): Remove . from the default value (Bug#10977).
12439 (desktop-read): Use user-emacs-directory if desktop-path is nil.
12441 2012-06-20 Chong Yidong <cyd@gnu.org>
12443 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12445 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
12447 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12450 2012-06-20 Chong Yidong <cyd@gnu.org>
12452 * term.el (term-window-width): Handle the case of a missing right
12454 (term-check-size): Use window-text-height (Bug#5445).
12455 (term-mode): Use define-derived-mode. Minor cleanups.
12456 Set font-lock-defaults (Bug#7692).
12457 (term-move-columns, term-insert-char, term-emulate-terminal)
12458 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12460 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
12462 * net/ange-ftp.el (ange-ftp-get-passwd):
12463 Bind `enable-recursive-minibuffers'.
12464 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12466 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
12468 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12470 2012-06-19 Glenn Morris <rgm@gnu.org>
12472 * progmodes/python.el (python-mode): Derive from prog-mode.
12474 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12476 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12477 (edt-user-menu-bar-update-buffers): New functions.
12478 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12480 2012-06-19 Chong Yidong <cyd@gnu.org>
12482 * subr.el (with-selected-window): Preserve the selected window's
12483 terminal's top-frame (Bug#4702).
12485 * window.el (save-selected-window): Likewise.
12487 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * progmodes/python.el (python-rx-constituents): Move backquote.
12490 (python-skeleton-define, python-define-auxiliary-skeleton):
12493 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12495 * minibuffer.el (read-file-name-default): Revert the patch from
12498 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12500 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12501 (pcase--u1, pcase--q1): Don't use apply-partially.
12503 2012-06-18 Glenn Morris <rgm@gnu.org>
12505 * progmodes/python.el (python-proc, python-buffer)
12506 (python-send-receive, python-send-string): Fix obsolete versions.
12508 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12510 * window.el (special-display-p): Completely remove stringp
12511 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12513 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12515 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12517 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12519 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12520 * net/tramp-sh.el (tramp-maybe-open-connection):
12521 Throw if `non-essential' is non-nil.
12523 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12525 * window.el (special-display-p): Signal an error if BUFFER-NAME
12526 is not a string (Bug#11713).
12528 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12530 * progmodes/python.el (python-info-beginning-of-backslash):
12531 Rename from python-info-beginning-of-backlash, as a spelling fix.
12533 2012-06-17 Chong Yidong <cyd@gnu.org>
12535 * term.el (term-emulate-terminal): If term-check-size is called,
12536 move point to the process mark without resetting point (Bug#4635).
12538 2012-06-17 Glenn Morris <rgm@gnu.org>
12540 * international/mule-cmds.el (mule-menu-keymap)
12541 (set-language-environment, set-locale-environment): Doc tweaks.
12543 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12545 * cus-face.el (custom-face-attributes): Add wave-style underline
12547 * faces.el (set-face-attribute): Update docstring to describe
12548 wave-style underline attribute.
12550 2012-06-16 Chong Yidong <cyd@gnu.org>
12552 * term/xterm.el (terminal-init-xterm): Discard input before
12553 querying background mode (Bug#10959).
12555 2012-06-16 Stefan Merten <smerten@oekonux.de>
12557 * textmodes/rst.el: Added and corrected some comments.
12558 (rst-re-alist-def): Improve symbol syntax.
12559 (rst-mode-syntax-table): Correct syntax entries.
12560 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12561 (rst-official-version, rst-official-cvs-rev): Update version
12564 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12566 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12567 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12569 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
12571 * progmodes/python.el: New python.el merge.
12572 (python-guess-indent): Obsolete var.
12573 (python-indent-guess-indent-offset): New defcustom.
12574 (python-indent): Obsolete var.
12575 (python-indent-offset): New defcustom.
12576 (python-python-command, python-jython-command): Delete var.
12577 (python-shell-interpreter): New defcustom.
12578 (python-pdbtrack-do-tracking-p): Delete var.
12579 (python-pdbtrack-activate): New defcustom.
12580 (python-use-skeletons): Obsolete var.
12581 (python-skeleton-autoinsert): New defcustom.
12582 (inferior-python-filter-regexp, python-continuation-offset)
12583 (python-honour-comment-indentation, python-indent-string-contents)
12584 (python-jython-packages, python-mode-hook)
12585 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12586 (python-shell-prompt-alist)
12587 (python-source-modes): Delete defcustoms.
12588 (python-check-buffer-name, python-eldoc-setup-code)
12589 (python-eldoc-string-code, python-ffap-setup-code)
12590 (python-ffap-string-code, python-fill-comment-function)
12591 (python-fill-decorator-function, python-fill-paren-function)
12592 (python-fill-string-function, python-imenu-include-defun-type)
12593 (python-imenu-make-tree, python-imenu-subtree-root-label)
12594 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12595 (python-shell-compilation-regexp-alist)
12596 (python-shell-completion-module-string-code)
12597 (python-shell-completion-pdb-string-code)
12598 (python-shell-completion-setup-code)
12599 (python-shell-completion-string-code)
12600 (python-shell-enable-font-lock, python-shell-exec-path)
12601 (python-shell-extra-pythonpaths)
12602 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12603 (python-shell-process-environment)
12604 (python-shell-prompt-block-regexp)
12605 (python-shell-prompt-output-regexp)
12606 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12607 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12608 (python-shell-virtualenv-path): New defcustoms.
12609 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12610 (inferior-python-mode-syntax-table, python--prompt-regexp)
12611 (python-buffer, python-command python-python-command)
12612 (python-default-template, python-imports, python-indent-index)
12613 (python-indent-list, python-indent-list-length)
12614 (python-mode-running, python-pdbtrack-is-tracking-p)
12615 (python-preoutput-continuation, python-preoutput-leftover)
12616 (python-preoutput-result, python-preoutput-skip-next-prompt)
12617 (python-prev-dir/file, python-recursing)
12618 (python-saved-check-command, python-version-checked)
12619 (python-which-func-length-limit)
12620 (view-return-to-alist): Delete vars.
12621 (python-check-custom-command, python-dotty-syntax-table)
12622 (python-imenu-index-alist, python-indent-current-level)
12623 (python-indent-dedenters, python-indent-levels)
12624 (python-nav-beginning-of-defun-regexp)
12625 (python-nav-list-defun-positions-cache)
12626 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12627 (python-shell-internal-buffer)
12628 (python-skeleton-available): New vars.
12629 (def-python-skeleton): Delete macro.
12630 (python-skeleton-define): New macro.
12631 (python-define-auxiliary-skeleton, python-rx): New macros.
12632 (python-insert-class): Delete command.
12633 (python-skeleton-class): New command.
12634 (python-insert-def): Delete command.
12635 (python-skeleton-def): New command.
12636 (python-insert-for): Delete command.
12637 (python-skeleton-for): New command.
12638 (python-insert-if): Delete command.
12639 (python-skeleton-if): New command.
12640 (python-insert-try/except, python-insert-try/finally): Delete commands.
12641 (python-skeleton-try): New command.
12642 (python-insert-while): Delete command.
12643 (python-skeleton-while): New command.
12644 (python-backspace): Delete command.
12645 (python-indent-dedent-line-backspace): New command.
12646 (python-electric-colon): Delete command.
12647 (python-indent-electric-colon): New command.
12648 (python-guess-indent): Delete command.
12649 (python-indent-guess-indent-offset): New command.
12650 (python-shift-left): Delete command.
12651 (python-indent-shift-left): New command.
12652 (python-shift-right): Delete command.
12653 (python-indent-shift-right): New command.
12654 (python-find-function): Delete command.
12655 (python-nav-jump-to-defun): New command.
12656 (python-next-statement): Delete command.
12657 (python-nav-forward-sentence): New command.
12658 (python-previous-statement): Delete command.
12659 (python-nav-backward-sentence): New command.
12660 (python-fill-paragraph): Delete command.
12661 (python-fill-paragraph-function): New command.
12662 (python-send-buffer): Delete command.
12663 (python-shell-send-buffer): New command.
12664 (python-send-defun): Delete command.
12665 (python-shell-send-defun): New command.
12666 (python-send-region, python-send-region-and-go): Delete commands.
12667 (python-shell-send-region)
12668 (python-shell-switch-to-shell): New commands.
12669 (python-send-string): Delete command.
12670 (python-shell-send-string): New command.
12671 (python-switch-to-python): Delete command.
12672 (python-shell-switch-to-shell): New command.
12673 (python-describe-symbol): Delete command.
12674 (python-eldoc-at-point): New command.
12675 (python--set-prompt-regexp, python-args-to-list)
12676 (python-after-info-look, python-check-version)
12677 (python-check-comint-prompt, python-find-imports)
12678 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12679 (python-unload-function, python-expand-template)
12680 (python-maybe-jython, python-preoutput-filter)
12681 (python-pdbtrack-get-source-buffer)
12682 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12683 (python-pdbtrack-toggle-stack-tracking)
12684 (python-pdbtrack-track-stack-file, python-initial-text)
12685 (python-first-word, python-comment-line-p, python-send-command)
12686 (python-setup-brm, python-sentinel, python-set-proc)
12687 (python-skip-out, python-input-filter, python-outdent-p)
12688 (python-outline-level, python-backslash-continuation-line-p)
12689 (python-end-of-block, python-end-of-statement, python-mark-block)
12690 (python-beginning-of-block, python-beginning-of-statement)
12691 (python-blank-line-p, python-beginning-of-string)
12692 (python-open-block-statement-p): Delete functions.
12693 (python-indent-line, python-indent-line-1): Delete functions.
12694 (python-indent-line): New function.
12695 (python-indentation-levels): Delete function.
12696 (python-indent-calculate-levels): New function.
12697 (python-proc): Delete function.
12698 (python-shell-get-process): New function.
12699 (python-send-receive): Delete function.
12700 (python-shell-send-string-no-output): New function.
12701 (python-module-path): Delete function.
12702 (python-ffap-module-path): New function.
12703 (python-completion-at-point)
12704 (python-symbol-completions): Delete functions.
12705 (python-completion-complete-at-point): New function.
12706 (python-load-file): Delete function.
12707 (python-shell-send-file): New function.
12708 (python-calculate-indentation): Delete function.
12709 (python-indent-calculate-indentation): New function.
12710 (python-skip-comments/blanks): Delete function.
12711 (python-util-forward-comment): New function.
12712 (python-continuation-line-p): Delete function.
12713 (python-info-continuation-line-p): New function.
12714 (python-which-func, python-current-defun): Delete function.
12715 (python-info-current-defun): New function.
12716 (python-beginning-of-defun): Delete function.
12717 (python-nav-beginning-of-defun): New function.
12718 (python-close-block-statement-p)
12719 (python-block-end-p): Delete function.
12720 (python-info-closing-block): New function.
12721 (python-comint-output-filter-function)
12722 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12723 (python-fill-comment, python-fill-decorator, python-fill-paren)
12724 (python-fill-string, python-imenu-make-element-tree)
12725 (python-imenu-make-tree, python-imenu-tree-assoc)
12726 (python-indent-context, python-indent-dedent-line)
12727 (python-indent-line-function)
12728 (python-indent-post-self-insert-function)
12729 (python-indent-toggle-levels)
12730 (python-info-assignment-continuation-line-p)
12731 (python-info-beginning-of-backlash)
12732 (python-info-block-continuation-line-p)
12733 (python-info-closing-block-message)
12734 (python-info-line-ends-backslash-p)
12735 (python-info-looking-at-beginning-of-defun)
12736 (python-info-ppss-context, python-info-ppss-context-type)
12737 (python-nav-list-defun-positions, python-nav-read-defun)
12738 (python-nav-sentence-end, python-nav-sentence-start)
12739 (python-pdbtrack-comint-output-filter-function)
12740 (python-pdbtrack-set-tracked-buffer)
12741 (python-shell-calculate-exec-path)
12742 (python-shell-calculate-process-environment)
12743 (python-shell-completion--do-completion-at-point)
12744 (python-shell-completion--get-completions)
12745 (python-shell-completion-complete-at-point)
12746 (python-shell-completion-complete-or-indent)
12747 (python-shell-get-or-create-process)
12748 (python-shell-get-process-name)
12749 (python-shell-internal-get-or-create-process)
12750 (python-shell-internal-get-process-name)
12751 (python-shell-internal-send-string, python-shell-make-comint)
12752 (python-shell-parse-command, python-shell-send-setup-code)
12753 (python-skeleton-add-menu-items)
12754 (python-util-clone-local-variables, python-util-position)
12755 (run-python-internal, python-indentation-levels)
12756 (python-nav-beginning-of-defun)
12757 (python-completion-complete-at-point): New functions.
12758 (run-python): Change arguments. New API requirements.
12760 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12762 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12765 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12766 (macroexp--expand-all): Use it.
12768 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12769 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12770 Use `cl-function' instead.
12772 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12774 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12775 Suggested by Stefan Monnier while discussing bug#11657.
12777 2012-06-14 Sam Steingold <sds@gnu.org>
12779 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12781 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12783 * play/doctor.el (doctor-doc): Remove parameter and use
12784 doctor-sent instead of sent.
12785 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12787 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12789 * files.el: Require cl-lib.
12790 (file-name-non-special): Replace case -> cl-case.
12792 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12794 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12795 mapping from #' to function*.
12797 2012-06-13 Chong Yidong <cyd@gnu.org>
12799 * mouse.el (mouse-drag-track): Do not set the mark if the user
12800 releases the mouse without selecting anything (Bug#11588).
12802 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12804 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12805 as well (bug#11646).
12807 * loadup.el: Count byte-code functions as well.
12809 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12810 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12812 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12813 (bug#11649). Add cl-defun and cl-defmacro.
12815 2012-06-13 Drew Adams <drew.adams@oracle.com>
12817 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12820 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12822 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12823 Otherwise, it blocks in batch mode.
12825 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12827 * help-mode.el (bookmark-make-record-default): Declare.
12829 2012-06-13 Chong Yidong <cyd@gnu.org>
12831 * emacs-lisp/package.el (list-packages): Compute a list of
12832 packages that are newly-available since the last list-packages
12834 (package-menu--new-package-list): New var.
12835 (package-menu--generate, package-menu--print-info)
12836 (package-menu--status-predicate, package-menu-mark-install):
12837 Handle new status label "new".
12839 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12841 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12842 conversion to backquotes.
12844 2012-06-12 Chong Yidong <cyd@gnu.org>
12846 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12847 Rename from gud-inhibit-global-bindings.
12849 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12851 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12852 hook from nxml-glyph-set-hook.
12854 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12857 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12859 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12860 Convert to defcustom.
12862 2012-06-12 Drew Adams <drew.adams@oracle.com>
12864 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12866 (help-mode): Use them.
12868 2012-06-11 Glenn Morris <rgm@gnu.org>
12870 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12871 Use preprocessor face for directives.
12872 (fortran-directive-re): Doc fix.
12874 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12876 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12877 conversion to backquotes (bug#11652).
12879 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12880 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12881 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12882 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12883 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12884 (cl-ninth, cl-tenth): Mark them as inlinable.
12885 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12886 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12887 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12888 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12889 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12890 (cl-list*, cl-adjoin): Don't put an autoload manually.
12891 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12892 (cl--compiler-macro-list*): Add autoload cookie.
12893 (cl--compiler-macro-cXXr): New function.
12895 * help-fns.el (help-fns--compiler-macro): New function extracted from
12896 describe-function-1; follow aliases and use `compiler-macro' property.
12897 (describe-function-1): Use it.
12899 2012-06-11 Chong Yidong <cyd@gnu.org>
12901 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12902 is uninstalled, if imagemagick is installed.
12904 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * emacs-lisp/cl-lib.el: Use lexical-binding.
12907 (cl-map-extents, cl-maclisp-member): Remove.
12908 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12909 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12910 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12911 * emacs-lisp/cl-extra.el: Use lexical-binding.
12912 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12913 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12914 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12915 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12916 * emacs-lisp/cl-seq.el: Use lexical-binding.
12917 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12918 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12919 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12920 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12921 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12924 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12926 Sync with Tramp 2.2.6-pre.
12928 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12929 `print-length' and `print-level' to nil, in order to avoid
12930 truncation. Reported by Christopher Schmidt
12931 <christopher@ristopher.com>.
12933 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12935 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12937 (tramp-compat-copy-directory): Add optional argument
12938 COPY-CONTENTS. It is not handled yet.
12940 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12941 (tramp-ftp-file-name-p): Simplify.
12943 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12944 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12947 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12948 (tramp-methods): Do not use `tramp-password-end-of-line'.
12949 (tramp-completion-function-alist-putty): Handle UNIX case.
12950 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12951 (tramp-do-file-attributes-with-stat)
12952 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12953 gid as real numbers. They could run out of integer range on cygwin.
12954 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12955 (tramp-sh-handle-expand-file-name): Handle hops.
12956 (tramp-open-connection-setup-interactive-shell):
12957 Use `tramp-cleanup'. Move check for busyboxes ...
12958 (tramp-find-shell): ... here. Simplify implementation.
12959 Set "remote-shell" property also for alternative shells.
12960 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12961 If failing, a regular file would be written otherwise.
12962 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12963 (tramp-find-inline-encoding): Cache the coding commands in the
12964 process cache. Apply test command on the remote side, if defined.
12965 (tramp-find-inline-compress): Cache the compress commands in the
12967 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12968 when requested. Handle hops.
12969 (tramp-current-connection): New defvar.
12970 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12971 Throw `suppress', if there was a failed connection shortly before.
12972 Handle user interrupt. (Bug#10187)
12973 (tramp-get-inline-compress, tramp-get-inline-coding):
12974 Read connection properties from the process cache.
12976 * net/tramp-smb.el (tramp-smb-server-version)
12977 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12979 (tramp-smb-prompt): Extend for powershell prompt.
12980 (tramp-smb-file-name-handler-alist): Add handlers for
12981 `process-file', `shell-command' and `start-file-process'.
12982 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12983 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12984 (tramp-smb-file-name-p): Simplify.
12985 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12986 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12987 (tramp-smb-shell-quote-argument): New defuns.
12988 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12989 Implement using "tar". By this, time-stamps are preserved.
12990 (tramp-smb-handle-copy-file): Handle also the case of directories.
12991 (tramp-smb-do-file-attributes-with-stat)
12992 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12993 Use `tramp-get-connection-buffer').
12994 (tramp-smb-handle-rename-file): Use "rename", when source and
12995 target are on the same share.
12996 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12997 Use `tramp-smb-server-version'.
12998 (tramp-smb-wait-for-output): Remove prompt.
13000 * net/tramp.el (top): Require 'cl.
13001 (tramp-methods, tramp-rsh-end-of-line):
13002 Remove `tramp-password-end-of-line' from docstring.
13003 (tramp-save-ad-hoc-proxies): New defcustom.
13004 (tramp-completion-function-alist): Adapt docstring.
13005 (tramp-default-password-end-of-line): Remove defcustom.
13006 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
13007 (tramp-user-regexp, tramp-file-name-regexp-unified)
13008 (tramp-file-name-regexp-url): Extend regexp by hop separator.
13009 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
13010 (tramp-remote-file-name-spec-regexp): New defconst.
13011 (tramp-file-name-structure): Extend structure for hops.
13012 (tramp-get-method-parameter): Move up.
13013 (tramp-file-name-p, tramp-dissect-file-name)
13014 (with-parsed-tramp-file-name): Handle hops.
13015 (tramp-file-name-hop): New defun.
13016 (tramp-make-tramp-file-name): New optional arg HOP.
13017 (tramp-message-show-progress-reporter-message): New defvar.
13018 (tramp-with-progress-reporter): Use it. We cannot use
13019 `tramp-message-show-message' here, because this suppresses also
13021 (tramp-error-with-buffer): Suppress buffer view, if
13022 `tramp-message-show-message' is nil.
13023 Use `tramp-get-connection-buffer'.
13024 (tramp-cleanup): New defun.
13025 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
13026 (tramp-file-name-handler): If `debug-on-error' is set, propagate
13027 an error unchanged.
13028 (tramp-completion-handle-file-name-all-completions): Handle hops.
13029 Fix an error when called from ido.
13030 (tramp-completion-dissect-file-name): Use better local variable
13031 name. Add hop to the vector.
13032 (tramp-handle-insert-file-contents): Use progress-reporter for the
13034 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
13036 (tramp-check-for-regexp): Simplify search.
13037 (tramp-enter-password): Remove it. Move implementation ...
13038 (tramp-action-password): ... here.
13039 (tramp-mode-string-to-int, tramp-local-host-p)
13040 (tramp-make-tramp-temp-file, tramp-read-passwd)
13041 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13042 Set tramp-autoload cookie.
13044 * net/trampver.el: Update release number.
13046 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13047 Michael Albinus <michael.albinus@gmx.de>
13049 * net/tramp.el (tramp-set-completion-function): Fix docstring.
13050 (tramp-parse-group, tramp-parse-file)
13051 (tramp-parse-shostkeys-sknownhosts): New defuns.
13052 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13053 (tramp-parse-shosts-group, tramp-parse-sconfig)
13054 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13055 (tramp-parse-sknownhosts, tramp-parse-hosts)
13056 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13058 (tramp-parse-passwd-group, tramp-parse-netrc-group)
13059 (tramp-parse-putty-group): Don't narrow.
13060 (tramp-parse-putty): Make a loop.
13061 (tramp-file-name-handler): Catch the `suppress' signal.
13063 2012-06-11 Chong Yidong <cyd@gnu.org>
13065 * image.el (imagemagick-register-types): Put the ImageMagick entry
13066 at the end of image-type-file-name-regexps.
13068 2012-06-11 Johan Bockgård <bojohan@gnu.org>
13070 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13071 (pcase, pcase-let*, pcase-dolist): Use them.
13073 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13075 * emacs-lisp/pcase.el (pcase--let*): New function.
13076 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
13077 (pcase--expand): Use macroexp-let².
13079 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
13081 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13082 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13083 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13084 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13085 * emacs-lisp/derived.el: Use pcase instead of `cl'.
13086 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13088 2012-06-10 Glenn Morris <rgm@gnu.org>
13090 * mail/rmail.el (rmail-yank-current-message): Leave point at
13091 correct position. (Bug#11660)
13093 2012-06-10 Chong Yidong <cyd@gnu.org>
13095 * allout-widgets.el: Fix code header.
13097 2012-06-10 Chong Yidong <cyd@gnu.org>
13099 * cus-edit.el (customize-changed-options-previous-release):
13102 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
13104 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13106 2012-06-09 Chong Yidong <cyd@gnu.org>
13108 * ebuff-menu.el (electric-buffer-list): Preserve header line.
13110 2012-06-09 Martin Rudalics <rudalics@gmx.at>
13112 * window.el (special-display-popup-frame): Don't use
13113 window--display-buffer (Bug#11651).
13115 2012-06-09 Eli Zaretskii <eliz@gnu.org>
13117 Fix parallel builds: make sure loaddefs.el is not being written
13118 while Lisp files are compiled.
13119 (compile): Don't depend on 'mh-autoloads'.
13120 (compile-CMD, compile-SH): Depend on 'autoloads'.
13121 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13123 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
13125 2012-06-09 Chong Yidong <cyd@gnu.org>
13127 * face-remap.el (face-remap-add-relative, face-remap-set-base)
13128 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13129 Doc fixes (Bug#11225).
13131 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
13133 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13134 a function if there's a clear indication that it has a compiler-macro.
13135 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13136 (macro-declarations-alist): Add arglist to declaration functions.
13137 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13138 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13139 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13140 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13141 Also add autoload to find the compiler macro.
13142 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13143 (cl--compiler-macro-member, cl--compiler-macro-assoc)
13144 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13145 (cl--compiler-macro-get): New functions, replacing calls to
13146 cl-define-compiler-macro.
13147 (cl-typep) [compiler-macro]: Use macroexp-let².
13149 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
13151 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13152 string properly, fixes Bug#11473.
13154 2012-06-08 Chong Yidong <cyd@gnu.org>
13156 * faces.el (set-face-attribute): Doc fix.
13157 (modify-face): Don't use :bold and :italic.
13158 (error, warning, success): Tweak definitions.
13160 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13161 (custom-modified, custom-set, custom-changed, custom-themed)
13162 (custom-saved, custom-button, custom-button-mouse)
13163 (custom-button-pressed, custom-state, custom-comment-tag)
13164 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13165 (custom-group-subtitle): Use new-style face specs.
13166 (custom-invalid-face, custom-rogue-face, custom-modified-face)
13167 (custom-set-face, custom-changed-face, custom-saved-face)
13168 (custom-button-face, custom-button-pressed-face)
13169 (custom-documentation-face, custom-state-face)
13170 (custom-comment-face, custom-comment-tag-face)
13171 (custom-variable-tag-face, custom-variable-button-face)
13172 (custom-face-tag-face, custom-group-tag-face-1)
13173 (custom-group-tag-face): Remove obsolete face alias.
13175 * epa.el (epa-validity-high, epa-validity-medium)
13176 (epa-validity-low, epa-mark, epa-field-name, epa-string)
13177 (epa-field-name, epa-field-body):
13178 * font-lock.el (font-lock-comment-face, font-lock-string-face)
13179 (font-lock-keyword-face, font-lock-builtin-face)
13180 (font-lock-function-name-face, font-lock-variable-name-face)
13181 (font-lock-type-face, font-lock-constant-face):
13182 * ido.el (ido-first-match, ido-only-match, ido-subdir)
13183 (ido-virtual, ido-indicator, ido-incomplete-regexp):
13184 * speedbar.el (speedbar-button-face, speedbar-file-face)
13185 (speedbar-directory-face, speedbar-tag-face)
13186 (speedbar-selected-face, speedbar-highlight-face)
13187 (speedbar-separator-face):
13188 * whitespace.el (whitespace-newline, whitespace-space)
13189 (whitespace-hspace, whitespace-tab, whitespace-trailing)
13190 (whitespace-line, whitespace-space-before-tab)
13191 (whitespace-space-after-tab, whitespace-indentation)
13192 (whitespace-empty):
13193 * emulation/cua-base.el (cua-global-mark):
13194 * eshell/em-prompt.el (eshell-prompt):
13195 * net/newst-plainview.el (newsticker-new-item-face)
13196 (newsticker-old-item-face, newsticker-immortal-item-face)
13197 (newsticker-obsolete-item-face, newsticker-date-face)
13198 (newsticker-statistics-face, newsticker-default-face):
13199 * net/newst-reader.el (newsticker-feed-face)
13200 (newsticker-extra-face, newsticker-enclosure-face):
13201 * net/newst-treeview.el (newsticker-treeview-face)
13202 (newsticker-treeview-new-face, newsticker-treeview-old-face)
13203 (newsticker-treeview-immortal-face)
13204 (newsticker-treeview-obsolete-face)
13205 (newsticker-treeview-selection-face):
13206 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13207 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13208 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13209 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13210 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13211 (nxml-outline-active-indicator, nxml-outline-ellipsis):
13212 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13214 * progmodes/vera-mode.el (vera-font-lock-number)
13215 (vera-font-lock-function, vera-font-lock-interface):
13216 * textmodes/table.el (table-cell): Use new-style face specs, and
13217 don't use the old :bold and :italic attributes.
13219 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13220 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13221 (ebrowse-member-class, ebrowse-progress): Likewise.
13222 (ebrowse-tree-mark-face, ebrowse-root-class-face)
13223 (ebrowse-file-name-face, ebrowse-default-face)
13224 (ebrowse-member-attribute-face, ebrowse-member-class-face)
13225 (ebrowse-progress-face): Remove obsolete faces.
13227 * progmodes/flymake.el (flymake-errline, flymake-warnline):
13228 Inherit from error and warning faces respectively.
13230 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13232 (flyspell-incorrect-face, flyspell-duplicate-face):
13233 Remove obsolete aliases.
13235 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
13237 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13240 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13242 * startup.el (argv, argi): Make lexically scoped.
13243 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13244 * emacs-lisp/cl-macs.el: Use lexical-binding.
13245 Rename cl-bind-* to cl--bind-*.
13246 * files.el: Don't require `cl' since it doesn't use it.
13247 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13249 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
13251 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13252 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13253 instead of calling external sort utility.
13254 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13256 2012-06-08 Eli Zaretskii <eliz@gnu.org>
13258 * descr-text.el (describe-char): Mention how to insert the
13259 character, if the current input method doesn't support it.
13260 See the discussion in this thread for the details:
13261 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13263 2012-06-08 Sam Steingold <sds@gnu.org>
13265 * bindings.el (global-map): Bind XF86Forward to next-buffer and
13266 XF86Back to previous-buffer.
13267 (minibuffer-local-map): Bind them to next-history-element and
13268 previous-history-element respectively.
13269 * help-mode.el (help-mode-map): Bind them to help-go-forward and
13270 help-go-back respectively.
13271 * info.el (Info-mode-map): Bind them to Info-history-forward and
13272 Info-history-back respectively.
13273 These are the keys next to Up on the ThinkPad keyboard.
13275 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
13277 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13278 * emacs-lisp/cl-macs.el: Provide itself.
13279 (cl--labels-convert-cache): New var.
13280 (cl--labels-convert): New function.
13281 (cl-flet, cl-labels): New implementation with new semantics, relying on
13283 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13284 (cl-closure-vars, cl--function-convert-cache)
13285 (cl--function-convert): Move from cl-macs.el.
13286 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13287 rename by removing the "cl-" prefix.
13288 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13290 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13292 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13293 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13294 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13295 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13296 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13297 (cl-hash-table-count): Add old compatibility aliases.
13299 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13300 Use macroexpand-all-environment instead.
13301 (cl--old-macroexpand): New var.
13302 (cl--sm-macroexpand): New function.
13303 (cl-symbol-macrolet): Use it during macro expansion.
13304 (cl--function-convert-cache): New var.
13305 (cl--function-convert): New function, extracted from
13306 cl-macroexpand-all.
13307 (cl-lexical-let): Use it.
13309 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13310 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13311 (cl-member): Remove old alias.
13313 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13314 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13315 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13316 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13317 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13318 (cl-macroexpand-cmacs): Remove var.
13319 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13320 Use macroexpand-all instead.
13322 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13324 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13325 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13326 (macroexp-copyable-p): New functions and macros.
13327 * emacs-lisp/edebug.el (edebug-unwrap):
13328 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13329 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13330 (pcase--let*): Remove.
13331 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13332 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
13333 macroexp-const-p instead.
13334 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13336 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13337 instead of "cl-" for internal definitions. Use macroexp-const-p.
13338 (cl-old-bc-file-form): Remove var.
13339 (cl-const-exprs-p): Remove fun.
13340 (cl-labels, cl-macrolet): Use backquote.
13341 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
13342 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13343 (cl-define-setf-expander): Rename from cl-define-setf-method.
13344 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13346 * international/mule-cmds.el: Don't require CL.
13347 (view-hello-file): Don't use `letf'.
13349 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13351 * tmm.el (tmm-prompt): Use string-prefix-p.
13352 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13353 (tmm-add-prompt): Use minibuffer-completion-help.
13354 (tmm-delete-map): Remove.
13356 * subr.el (kbd): Make it its own function.
13358 2012-06-07 Stefan Merten <smerten@oekonux.de>
13360 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13361 Silence compiler warnings. Fix versions.
13362 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13363 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13364 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13365 (rst-package-emacs-version-alist): Correct Emacs version to
13366 represent major merge with upstream.
13367 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13369 2012-06-06 Glenn Morris <rgm@gnu.org>
13371 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13372 Only print environment variables if set.
13374 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13376 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13377 (macroexp--cons): Rename from maybe-cons.
13378 (macroexp--accumulate): Rename from macroexp-accumulate.
13379 (macroexp--all-forms): Rename from macroexpand-all-forms.
13380 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13381 (macroexp--expand-all): Rename from macroexpand-all-1.
13383 2012-06-06 Sam Steingold <sds@gnu.org>
13385 * calendar/calendar.el (calendar-in-read-only-buffer):
13386 Call `special-mode' to enable the standard read-only keybindings.
13388 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
13390 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13391 with "loading" messages (bug#11635).
13393 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
13395 * files.el (enable-remote-dir-locals): New option.
13396 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
13398 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13399 Ensure, that the temp directory is local.
13401 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13402 `temporary-file-directory'.
13404 * progmodes/python.el (python-send-region): Ensure, that the
13405 temporary file is created also in the remote case.
13407 2012-06-06 Glenn Morris <rgm@gnu.org>
13409 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13410 (vc-rcs-update-changelog): Use it.
13412 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13414 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13415 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13416 (vc-sccs-diff): Replace use of the external vcdiff script.
13418 2012-06-05 Glenn Morris <rgm@gnu.org>
13420 * ledit.el: Move to obsolete/.
13422 2012-06-05 Sam Steingold <sds@gnu.org>
13424 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13427 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13429 * emacs-lisp/cust-print.el: Move to obsolete.
13431 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13432 compiler-macro expansion.
13434 Add native compiler-macro support.
13435 * emacs-lisp/macroexp.el (macroexpand-all-1):
13436 Support compiler-macros directly. Properly follow aliases and apply
13437 the compiler macros more thoroughly.
13438 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13439 macroexpand now properly follows aliases.
13440 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13441 (cl-compiler-macroexpand): Use new prop.
13442 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13444 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13446 2012-06-05 Martin Rudalics <rudalics@gmx.at>
13448 * window.el (get-lru-window, get-mru-window, get-largest-window):
13449 New argument NOT-SELECTED to avoid picking the selected window.
13450 (window--display-buffer-1, window--display-buffer-2): Replace by
13451 new function window--display-buffer
13452 (display-buffer-same-window, display-buffer-reuse-window)
13453 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13454 Use window--display-buffer.
13455 (display-buffer-use-some-window): Remove temporary dedication
13456 hack by calling get-lru-window and get-largest-window with
13457 NOT-SELECTED argument non-nil. Call window--display-buffer.
13459 2012-06-05 Glenn Morris <rgm@gnu.org>
13461 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13462 Replace external vcdiff script.
13464 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13466 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13468 2012-06-04 Chong Yidong <cyd@gnu.org>
13470 * image.el (imagemagick-types-inhibit): Revert last change.
13472 (imagemagick-enabled-types): Remove CIN and EPS*.
13474 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13476 * emacs-lisp/cl-lib.el: Rename from cl.el.
13477 * emacs-lisp/cl.el: New compatibility file.
13478 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13479 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13480 to obey the "cl-" prefix.
13481 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13483 2012-06-03 Glenn Morris <rgm@gnu.org>
13485 * emacs-lisp/authors.el (authors-aliases): Addition.
13487 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13490 2012-06-03 Stefan Merten <smerten@oekonux.de>
13492 * textmodes/rst.el: Add comments.
13493 (rst-transition, rst-adornment): New faces.
13494 (rst-adornment-faces-alist): Make default safe to reevaluate.
13496 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13497 Improve customization tags.
13498 (rst-define-level-faces): Clarify meaning.
13500 2012-06-03 Chong Yidong <cyd@gnu.org>
13502 * progmodes/compile.el (compilation-mode-line-fail)
13503 (compilation-mode-line-run, compilation-mode-line-exit):
13505 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13507 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13509 * progmodes/which-func.el (which-func-update-ediff-windows):
13510 New function. Use it in ediff-select-hook (Bug#11478).
13512 2012-06-03 Chong Yidong <cyd@gnu.org>
13514 * bindings.el: Remove explicit help text from format-mode-line.
13515 It is now supplied by mode-line-default-help-echo.
13516 (mode-line-front-space, mode-line-end-spaces)
13517 (mode-line-misc-info): New variables.
13518 (mode-line-modes, mode-line-position): Move the default value to
13519 the variable definition.
13520 (mode-line-default-help-echo): New defcustom.
13521 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13522 (mode-line-modified-help-echo): New functions.
13523 (mode-line-mule-info, mode-line-modified): Use them.
13524 (mode-line-eol-desc, propertized-buffer-identification):
13525 Consistency fixes for help text.
13526 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13527 set-buffer-file-coding-system (Bug#289).
13528 (mode-line-mule-info-help-echo): Update help text.
13530 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13532 * simple.el (execute-extended-command): Set real-this-command
13535 2012-06-02 Chong Yidong <cyd@gnu.org>
13537 Remove incorrect uses of "modeline" in comments, docstrings, and
13538 function/variable names (Bug#10329).
13540 * cus-edit.el (mode-line):
13541 * dframe.el (dframe-mouse-hscroll):
13542 * emacs-lisp/re-builder.el:
13543 * emacs-lisp/easy-mmode.el (define-minor-mode):
13544 * frame.el (set-frame-name):
13545 * help.el (lookup-minor-mode-from-indicator):
13546 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13547 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13548 (c-toggle-hungry-state):
13549 * progmodes/antlr-mode.el (antlr-language-alist):
13550 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13551 * progmodes/vhdl-mode.el (vhdl-mode):
13552 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13553 * term/ns-win.el (ns-face-at-pos):
13554 * term/sup-mouse.el (sup-mouse-report):
13555 * textmodes/flyspell.el (flyspell-mode-line-string):
13556 * textmodes/ispell.el (ispell-highlight-face):
13557 * textmodes/reftex-global.el:
13558 * vc/vc-arch.el (vc-arch-mode-line-string):
13559 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13560 * vc/vc-git.el (vc-git-mode-line-string):
13561 * vc/vc-hooks.el (vc-display-status)
13562 (vc-default-mode-line-string):
13563 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13565 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13567 * dired.el (dired-sort-set-mode-line): Rename from
13568 dired-sort-set-modeline. All callers changed.
13570 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13571 eshell-status-in-modeline.
13573 * foldout.el (foldout-mode-line-string): Rename from
13574 foldout-modeline-string. All callers changed.
13575 (foldout-update-mode-line): Rename from foldout-update-modeline.
13577 * subr.el (redraw-modeline): Make into obsolete alias.
13579 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13580 timeclock-modeline-display. Make old name an alias.
13581 (timeclock-update-mode-line): Likewise. All callers changed.
13582 (timeclock-mode-line-display): No need to check before using
13584 (timeclock-relative, timeclock-day-over-hook)
13585 (timeclock-use-elapsed, timeclock-mode-string)
13586 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13588 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13589 crisp-mode-modeline-string.
13591 * play/solitaire.el (solitaire-build-mode-line): Rename from
13592 solitaire-build-modeline. All callers changed.
13594 * play/zone.el (zone-hiding-mode-line): Rename from
13595 zone-hiding-modeline. All callers changed.
13596 (zone): Remove unusued `modeline-hidden-level' property.
13598 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13599 xscheme-modeline-initialize. All callers changed.
13601 * strokes.el (strokes-lighter): Rename from
13602 strokes-modeline-string.
13604 * textmodes/sgml-mode.el (html-face-tag-alist)
13605 (html-tag-face-alist): Use mode-line face instead of obsolete
13608 2012-06-02 Stefan Merten <smerten@oekonux.de>
13610 * textmodes/rst.el: Always require `cl'.
13611 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13613 2012-06-02 Chong Yidong <cyd@gnu.org>
13615 * image.el (imagemagick-enabled-types): Rename from
13616 imagemagick-types-enable. Add many more types.
13617 (imagemagick-types-inhibit): Change default to nil.
13618 (imagemagick-filter-types): Caller changed.
13620 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13622 * emacs-lisp/cl-macs.el: Use backquotes.
13623 (cl-transform-function-property): Use eval-and-compile rather than
13625 (defstruct): Use declare-function instead of with-no-warnings.
13627 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13628 (byte-compile-output-docform): Re-add the print-circle bindings.
13629 (byte-compile-fix-header): Use #$ just because it's shorter.
13630 (byte-compile-output-file-form): Remove defun/defmacro.
13632 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13634 * simple.el (choose-completion): Remove now obsolete binding for
13637 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13639 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13640 in order to avoid "Stack overflow in regexp matcher".
13642 2012-05-31 Glenn Morris <rgm@gnu.org>
13644 * image.el: For clarity, call imagemagick-register-types at
13645 top-level, rather than relying on a custom :initialize.
13646 (imagemagick-types-enable): New option. (Bug#11557)
13647 (imagemagick-filter-types): New function. (Bug#7406)
13648 (imagemagick-register-types): Use imagemagick-filter-types.
13649 If disabling support, remove elements altogether rather
13650 than using an impossible regexp.
13651 (imagemagick-types-inhibit): Give it the default init function.
13653 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13655 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13656 Handle arbitrary file name lengths (Bug#11585).
13658 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13660 * desktop.el (desktop-read): Clear previous and next buffers for
13661 all windows and bury *Messages* buffer (bug#11556).
13663 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13665 Add `declare' for `defun'. Align `defmacro's with it.
13666 * emacs-lisp/easy-mmode.el (define-minor-mode)
13667 (define-globalized-minor-mode): Don't autoload the var definitions.
13668 * emacs-lisp/byte-run.el: Use lexical-binding.
13669 (defun-declarations-alist, macro-declarations-alist): New vars.
13670 (defmacro, defun): Use them.
13671 (make-obsolete, define-obsolete-function-alias)
13672 (make-obsolete-variable, define-obsolete-variable-alias):
13674 (macro-declaration-function): Mark obsolete.
13675 * emacs-lisp/autoload.el: Use lexical-binding.
13676 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13678 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13680 * textmodes/ispell.el (ispell-with-no-warnings):
13682 (ispell-kill-ispell, ispell-change-dictionary):
13683 Use `called-interactively-p' for Emacs instead of obsolete
13686 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13688 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13689 (macro-declaration-function): Move var from C code.
13690 (macro-declaration-function): Define function with defalias.
13691 * emacs-lisp/macroexp.el (macroexpand-all-1):
13692 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13693 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13694 defun/defmacro any more.
13695 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13696 Provide fallback for unknown arglist.
13697 (byte-compile-arglist-warn): Change calling convention.
13698 (byte-compile-output-file-form): Move print-vars binding.
13699 (byte-compile-output-docform): Simplify accordingly.
13700 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13701 (byte-compile-defmacro-declaration): Remove.
13702 (byte-compile-file-form-defmumble): Generalize to defalias.
13703 (byte-compile-output-as-comment): Return byte-positions.
13704 Simplify callers accordingly.
13705 (byte-compile-lambda): Use `assert'.
13706 (byte-compile-defun, byte-compile-defmacro): Remove.
13707 (byte-compile-file-form-defalias):
13708 Use byte-compile-file-form-defmumble.
13709 (byte-compile-defalias-warn): Remove.
13711 2012-05-29 Stefan Merten <smerten@oekonux.de>
13713 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13714 possible. Fix authors. Improve comments. Improve loading of `cl'.
13716 (rst-mode-abbrev-table): Merge definition.
13717 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13718 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13720 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13722 * calendar/icalendar.el
13723 (icalendar-export-region): Export UID properly.
13725 2012-05-29 Leo Liu <sdl.web@gmail.com>
13726 * calendar/icalendar.el (icalendar-import-format):
13727 Add `icalendar-import-format-uid' (Bug#11525).
13728 (icalendar-import-format-uid): New.
13729 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13732 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13734 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13735 different alternative patterns.
13736 (pcase-codegen): Be more careful to preserve identity.
13737 (pcase--u1): Don't forget to mark vars as used.
13739 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13740 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13741 (byte-compile-from-buffer): ...rather than here.
13743 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13744 functions from byte-compile-function-environment.
13746 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13748 * window.el (window-deletable-p): Avoid deleting the root window
13749 of a frame with an active minibuffer.
13751 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13753 * simple.el (choose-completion): Use quit-window (Bug#11567).
13755 2012-05-29 Chong Yidong <cyd@gnu.org>
13757 * whitespace.el (whitespace-cleanup): Fix usage of
13758 whitespace-empty-at-bob-regexp (Bug#11492).
13760 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13762 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13763 revert (Bug#11488).
13765 2012-05-29 Juri Linkov <juri@jurta.org>
13767 * isearch.el (isearch-mode-map): Bind `M-s _' to
13768 `isearch-toggle-symbol'. Bind `M-s c' to
13769 `isearch-toggle-case-fold'.
13770 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13771 (isearch-forward): Add `M-s _' to the docstring.
13772 (isearch-forward-symbol, isearch-toggle-case-fold)
13773 (isearch-symbol-regexp): New functions. (Bug#11381)
13775 2012-05-29 Juri Linkov <juri@jurta.org>
13777 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13778 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13779 a function, call it to get the regexp.
13780 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13781 property `isearch-message-prefix' instead of the string "word ".
13782 (isearch-search-fun-default): For the case of `isearch-word',
13783 return a lambda that calls re-search-forward/re-search-backward
13784 with a regexp returned by `word-search-regexp' or by the function
13787 2012-05-29 Juri Linkov <juri@jurta.org>
13789 * isearch.el (isearch-search-fun-default): New function.
13790 (isearch-search-fun): Move default part to the new function
13791 `isearch-search-fun-default'.
13792 (isearch-search-fun-function): Set the default value to
13793 `isearch-search-fun-default'. (Bug#11381)
13795 * comint.el (comint-history-isearch-end):
13796 Use `isearch-search-fun-default'.
13797 (comint-history-isearch-search): Use `isearch-search-fun-default'
13798 and remove spacial case for `isearch-word'.
13799 (comint-history-isearch-wrap): Remove spacial case for
13802 * hexl.el (hexl-isearch-search-function):
13803 Use `isearch-search-fun-default'.
13805 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13806 Use `word-search-regexp' for `isearch-word'.
13808 * misearch.el (multi-isearch-search-fun):
13809 Use `isearch-search-fun-default'.
13811 * simple.el (minibuffer-history-isearch-search):
13812 Use `isearch-search-fun-default' and remove spacial case for
13814 (minibuffer-history-isearch-wrap): Remove spacial case for
13817 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13818 Remove spacial case for `isearch-word'.
13819 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13821 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13823 Decrease XEmacs incompatibilities.
13824 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13825 Use `string-match'.
13826 (flyspell-delete-region-overlays): Use alternative definition for
13828 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13829 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13830 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13831 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13832 `define-obsolete-face-alias' under XEmacs, but old method.
13834 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13835 `with-no-warnings' definition or Emacs alias.
13836 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13837 (ispell-word): Do not use `region-p' if XEmacs.
13839 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13841 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13842 Check for `ispell-dictionary-base-alist' instead of full
13843 `ispell-dictionary-alist'.
13844 (ispell-init-process): Show spellchecker when starting new Ispell
13847 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13849 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13850 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13852 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13854 * version.el (motif-version-string, gtk-version-string)
13855 (ns-version-string): Declare.
13857 2012-05-27 Juri Linkov <juri@jurta.org>
13859 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13860 after the `eval-defun-1' specialcaseing
13861 like in `edebug-eval-defun' (bug#10181).
13863 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13864 like in `eval-defun-1'.
13866 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13868 * mail/sendmail.el (mail-yank-region):
13869 Recognize rmail-yank-current-message in addition to insert-buffer.
13870 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13871 a *mail* buffer created through rmail-start-mail with sendmail as
13874 2012-05-27 Chong Yidong <cyd@gnu.org>
13876 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13877 Default to 256 (Bug#11267).
13879 * help.el (describe-mode): Doc fix.
13881 2012-05-26 Glenn Morris <rgm@gnu.org>
13883 * w32-fns.el (w32-init-info): Remove.
13884 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13886 * info.el (info-initialize): For self-contained NS builds, put the
13887 included info/ directory at the front. (Bug#2791)
13889 * paths.el (Info-default-directory-list): Make it a defcustom,
13890 mainly so that we can use custom-initialize-delay.
13892 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13894 * subr.el (buffer-has-markers-at): Mark obsolete.
13896 * subr.el (lambda): Use declare.
13898 * emacs-lisp/lisp-mode.el (lambda):
13899 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13901 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13903 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13905 2012-05-26 Glenn Morris <rgm@gnu.org>
13907 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13909 2012-05-25 Glenn Morris <rgm@gnu.org>
13911 * paths.el: Remove no-byte-compile.
13912 * loadup.el: No need to load paths.el uncompiled.
13914 * image.el (imagemagick-types-inhibit): Doc fix.
13916 * version.el: Remove no-byte-compile and associated formatting.
13917 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13918 is ancient code from when there was an "inc-vers.el".
13920 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13922 * progmodes/gdb-mi.el: Minor style changes.
13923 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13924 Turn into minor modes.
13925 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13926 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13927 (gdb-shell): Remove unneeded let-binding.
13928 (gdb-get-many-fields): Eliminate O(n²) behavior.
13930 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13932 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13933 platforms that don't link in fontset.c.
13935 2012-05-25 Juri Linkov <juri@jurta.org>
13937 Use the same diff color scheme as in modern VCSes (bug#10181).
13939 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13940 to avoid confusion with `diff-added' that now uses green colors.
13941 (diff-removed): Use shades of red.
13942 (diff-added): Use shades of green.
13943 (diff-changed): Leave just the yellow color.
13944 (diff-use-changed-face): New variable.
13945 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13946 how to highlight context diff changes.
13947 (diff-refine-change): Use shades of yellow.
13948 (diff-refine-removed): New face that uses shades of red.
13949 (diff-refine-added): New face that uses shades of green.
13950 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13951 `diff-refine-removed' in the call to `smerge-refine-subst'
13952 depending on the value of `diff-use-changed-face'.
13954 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13955 (smerge-other): Use shades of green.
13956 (smerge-base): Use shades of yellow.
13957 (smerge-refined-change): Empty face.
13958 (smerge-refined-removed): New face that uses shades of red.
13959 (smerge-refined-added): New face that uses shades of green.
13960 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13961 args `props-r' and `props-a', and use them. Doc fix.
13962 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13963 on its value use different faces `smerge-refined-change',
13964 `smerge-refined-removed', `smerge-refined-added' in the call to
13965 `smerge-refine-subst'.
13967 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13968 Add face condition `min-colors 88' with shades of red.
13969 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13970 `min-colors 88' with shades of green.
13971 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13972 `min-colors 88' with shades of yellow.
13974 2012-05-24 Glenn Morris <rgm@gnu.org>
13976 * paths.el (prune-directory-list, remote-shell-program): Move to...
13977 * files.el (prune-directory-list, remote-shell-program): ...here.
13978 For the latter, delay initialization, prefer ssh, just search PATH.
13980 * paths.el (term-file-prefix): Move to faces.el (the only user).
13981 * faces.el (term-file-prefix): Move here, make it a defcustom.
13983 * paths.el (news-directory, news-path, news-inews-program):
13984 Move to gnus/nnspool.el.
13986 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13988 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13989 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13990 Make the latter a defcustom, with a delayed initialization.
13992 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13993 These were deleted from Gnus itself late 2010.
13995 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13997 * progmodes/which-func.el (which-func-ff-hook):
13998 Check against user-error, not error.
14000 * emacs-lisp/edebug.el (top): Do not load or set up loading of
14001 cl-specs.el, which no longer exists.
14003 2012-05-22 Glenn Morris <rgm@gnu.org>
14005 * info.el (info-emacs-bug): New command.
14006 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
14007 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
14009 2012-05-21 Glenn Morris <rgm@gnu.org>
14011 * makefile.w32-in (update-subdirs-SH):
14012 * Makefile.in (update-subdirs): Update for moved update-subdirs.
14014 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14016 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
14018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14019 Simplify Maven regexp, and make sure the file can't start with a space
14022 2012-05-21 Glenn Morris <rgm@gnu.org>
14024 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
14025 Scrap superfluous subshells.
14027 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
14029 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
14030 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
14032 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
14034 * calc/calc.el (calc-ensure-consistent-units): New variable.
14036 * calc/calc-units.el (math-consistent-units-p)
14037 (math-check-unit-consistency): New functions.
14038 (calc-quick-units, calc-convert-units):
14039 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14041 (calc-extract-units): Fix typo.
14043 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14045 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14047 * textmodes/flyspell.el: Commenting style, plus code simplifications.
14048 (flyspell-default-deplacement-commands): Don't spell check after
14049 repeated window/frame switches (e.g. triggered by mouse-movement).
14050 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14051 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14052 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14053 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14054 Remove unused vars.
14055 (flyspell-get-casechars, flyspell-get-not-casechars):
14056 Simplify; Don't bother removing a ] just to add it back.
14057 * textmodes/ispell.el (ispell-program-name): Use executable-find.
14059 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14061 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14063 (math-function-table): Add support for more C functions.
14065 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14067 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14068 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14069 Protect delay handling for otherchars against empty otherchars.
14071 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
14073 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14074 their respective macro declarations.
14075 * skeleton.el (define-skeleton):
14076 * progmodes/compile.el (define-compilation-mode):
14077 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14078 (define-ibuffer-filter):
14079 * emacs-lisp/generic.el (define-generic-mode):
14080 * emacs-lisp/easy-mmode.el (define-minor-mode)
14081 (define-globalized-minor-mode):
14082 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14083 * emacs-lisp/byte-run.el (defsubst):
14084 * custom.el (deftheme): Add doc-string metadata.
14086 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14088 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14090 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14092 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14094 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14095 * emacs-lisp/cl-macs.el: Idem.
14096 * emacs-lisp/cl-specs.el: Remove.
14098 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14100 Minor renaming of internal CL functions and variables.
14101 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14102 (cl--position): Rename from cl-position.
14103 (cl--delete-duplicates): Rename from cl-delete-duplicates.
14104 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14105 (cl--random-state): Rename from *random-state*.
14107 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14109 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14110 parens around the arg list (bug#11499).
14112 2012-05-17 Juri Linkov <juri@jurta.org>
14114 * isearch.el (word-search-regexp, word-search-backward)
14115 (word-search-forward, word-search-backward-lax)
14116 (word-search-forward-lax): Move functions from search.c
14117 (bug#10145, bug#11381).
14119 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14121 * textmodes/flyspell.el (flyspell-check-pre-word-p)
14122 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14123 Delay for otherchars as for normal word components.
14125 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14127 * minibuffer.el (completion--sifn-requote): Fix last change.
14128 (minibuffer-local-must-match-filename-map):
14129 Move define-obsolete-variable-alias before its var.
14131 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14133 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14135 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14137 (completion--string-equal-p): New function.
14138 (completion--twq-all): Use it to get better assertion failure data.
14140 Only handle ".." and '..' quoting in shell-mode (bug#11466).
14141 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14142 (shell--requote-argument): New functions.
14143 (shell-completion-vars): Use them.
14144 (shell--parse-pcomplete-arguments): Rename from
14145 shell-parse-pcomplete-arguments.
14146 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
14147 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14148 Obey comint-file-name-quote-list.
14150 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14151 (smie-indent-keyword): Use it.
14153 2012-05-14 Stefan Merten <smerten@oekonux.de>
14155 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14157 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14159 * net/rlogin.el (rlogin-mode-map): Fix last change.
14161 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
14163 * mail/smtpmail.el (smtpmail-send-command): Send the command and
14164 the following \r\n using a single `process-send-string', since the
14165 Lotus SMTP server refuses to accept any commands if they are sent
14166 with two `process-send-string's (Bug#11444).
14168 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
14170 * shell.el (shell-parse-pcomplete-arguments):
14171 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14173 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14175 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14176 (image-transform-scale, image-transform-right-angle-fudge): New vars.
14177 (image-transform-width, image-transform-fit-width): New functions.
14178 (image-transform-properties): Use them.
14179 (image-transform-check-size): New function.
14180 (image-toggle-display-image): Use it (for testing).
14181 (image-transform-set-rotation): Reduce angle mod 360.
14182 Delete obsolete comment.
14184 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
14186 * image-mode.el: Fix scaling (bug#11399).
14187 (image-transform-resize): Doc fix.
14188 (image-transform-properties): Default scale is 1 and height should
14191 2012-05-13 Johan Bockgård <bojohan@gnu.org>
14193 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14194 than hard-coding `car', to fix misbehavior when moving forward.
14196 2012-05-13 Chong Yidong <cyd@gnu.org>
14198 * emacs-lisp/tabulated-list.el (tabulated-list-format)
14199 (tabulated-list-entries, tabulated-list-padding)
14200 (tabulated-list-sort-key): Make permanent-local.
14202 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14203 (electric-buffer-list): Put electric buffer menu
14204 command descriptions in this docstring, instead of the docstring
14205 of electric-buffer-menu-mode. Code cleanups.
14206 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
14207 Electric-buffer-menu-mode.
14208 (electric-buffer-update-highlight): Minor code cleanup.
14210 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
14212 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14215 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14217 Move define-obsolete-variable-alias before the var's definition.
14218 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14219 * tooltip.el (tooltip-hook):
14220 * textmodes/reftex-toc.el (reftex-toc-map):
14221 * textmodes/reftex-sel.el (reftex-select-label-map)
14222 (reftex-select-bib-map):
14223 * textmodes/reftex-index.el (reftex-index-map)
14224 (reftex-index-phrases-map):
14225 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14226 * progmodes/meta-mode.el (meta-mode-map):
14227 * novice.el (disabled-command-hook):
14228 * loadhist.el (unload-hook-features-list):
14229 * frame.el (blink-cursor):
14230 * files.el (find-file-not-found-hooks, write-file-hooks)
14231 (write-contents-hooks):
14232 * emulation/tpu-edt.el (GOLD-map):
14233 * emacs-lock.el (emacs-lock-from-exiting):
14234 * emacs-lisp/generic.el (generic-font-lock-defaults):
14235 * emacs-lisp/chart.el (chart-map):
14236 * dos-fns.el (register-name-alist):
14237 * dired-x.el (dired-omit-files-p):
14238 * desktop.el (desktop-enable):
14239 * cus-edit.el (custom-mode-hook):
14240 * buff-menu.el (buffer-menu-mode-hook):
14241 * bookmark.el (bookmark-read-annotation-text-func)
14242 (bookmark-exit-hooks):
14243 * allout.el (allout-mode-deactivate-hook)
14244 (allout-exposure-change-hook, allout-structure-added-hook)
14245 (allout-structure-deleted-hook, allout-structure-shifted-hook):
14246 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14247 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14248 comes before the corresponding variable's definition.
14250 2012-05-12 Chong Yidong <cyd@gnu.org>
14252 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14253 (Buffer-menu-mouse-select): Restore function (Bug#11459).
14254 (Buffer-menu-mode-map): Bind it.
14255 (Buffer-menu--pretty-name): Add a mouse-face property.
14257 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
14259 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
14260 (prolog-upper-case-string, prolog-lower-case-string)
14261 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14262 (prolog-use-smie, prolog-smie-grammar): New vars.
14263 (prolog-smie-forward-token, prolog-smie-backward-token)
14264 (prolog-smie-rules): New funs.
14265 (prolog-comment-indent): Remove.
14266 (prolog-mode-variables): Use default comment indentation instead.
14268 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14269 (prolog-mode): Don't call them any more.
14270 (prolog-electric-colon, prolog-electric-dash)
14271 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14273 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14275 * minibuffer.el (completion--twq-all): Again, allow case differences.
14277 * term.el: Move keymap initialization code to be more idiomatic.
14278 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14279 (term-terminal-menu): Move initialization into declaration.
14280 (term-escape-char): Let the user set it in her .emacs.
14282 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14283 Provide SMIE-based indentation (not enabled by default yet).
14284 (sh-mode-map): Don't bind electric keys.
14285 Use electric-pair-mode instead of skeleton-pair.
14286 (sh-assignment-regexp): Fit within 80 columns.
14287 (sh-indent-supported): Specify actual shell name instead of boolean.
14288 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14289 (sh-maybe-here-document): Use it. Make obsolete.
14290 (sh-electric-here-document-mode) New minor mode.
14291 (sh-mode): Use it. Don't set sh-indent-supported-here here.
14292 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14293 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14294 (sh-smie-rc-grammar, sh-use-smie): New vars.
14295 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14296 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14297 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14298 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14299 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14300 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14301 (sh-set-shell): Use smie-setup if requested.
14303 * term.el (term-set-escape-char): Properly set term-escape-char.
14304 See http://stackoverflow.com/questions/10524656.
14306 2012-05-10 Chong Yidong <cyd@gnu.org>
14308 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14309 Use url-generic-parse-url, and handle host names and Windows
14310 filenames properly.
14311 (ffap-url-unwrap-remote): Use url-generic-parse-url.
14312 (ffap-url-unwrap-remote): Accept list values, specifying a list of
14313 URL schemes to work on.
14314 (ffap--toggle-read-only): New function.
14315 (ffap-read-only, ffap-read-only-other-window)
14316 (ffap-read-only-other-frame): Use it.
14317 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14318 necessary for ffap-url-unwrap-remote.
14320 2012-05-10 Dave Abrahams <dave@boostpro.com>
14322 * cus-start.el (create-lockfiles): Add it.
14324 2012-05-09 Chong Yidong <cyd@gnu.org>
14326 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14327 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14329 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14331 * shell.el (shell-completion-vars): Fix last change (bug#11348).
14333 2012-05-09 Chong Yidong <cyd@gnu.org>
14335 * ansi-color.el (ansi-color-process-output): Check for validity of
14336 comint-last-output-start before using it. This avoids a bad
14337 interaction with gdb-mi's input/output buffer.
14339 2012-05-09 Glenn Morris <rgm@gnu.org>
14341 * files.el (dir-locals-read-from-file):
14342 Mention dir-locals in any error message.
14344 2012-05-09 Chong Yidong <cyd@gnu.org>
14346 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14347 package (Bug#11410).
14349 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14350 variables into description.
14352 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14354 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14355 shell-delimiter-argument-list (bug#11348).
14356 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14358 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
14360 * textmodes/rst.el: Silence byte-compiler warnings.
14361 (rst-re-alist, rst-reset-section-caches): Move around.
14362 (rst-re): Use `characterp', not `char-valid-p'.
14363 (font-lock-beg, font-lock-end): Declare.
14365 * progmodes/idlw-shell.el (specs): Remove reference to deleted
14366 variable `idlwave-shell-activate-alt-keybindings' and simplify.
14368 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14370 2012-05-08 Glenn Morris <rgm@gnu.org>
14372 * files.el (auto-mode-alist): Treat ".make" like ".mk".
14374 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14376 * vc/log-edit.el: Add GNU coding standards highlighting.
14377 (log-edit-font-lock-gnu-style)
14378 (log-edit-font-lock-gnu-keywords): New vars.
14379 (log-edit-font-lock-keywords): New fun.
14380 (log-edit-mode): Don't fold case in font-lock.
14381 (log-edit-font-lock-keywords): Do not assume case-folding.
14383 * imenu.el: Misc cleanup. Make docstrings out of comments.
14384 Use lexical-binding.
14385 (imenu--index-alist, imenu--last-menubar-index-alist)
14386 (imenu-menubar-modified-tick): Use defvar-local.
14387 (imenu--split-menu): Remove unused var.
14388 (imenu--cleanup-seen): Declare as global.
14389 (imenu--cleanup): Use dolist.
14391 * subr.el (defvar-local): Add debug spec and doc-string position.
14393 2012-05-08 Glenn Morris <rgm@gnu.org>
14395 * language/burmese.el, language/cham.el, language/czech.el:
14396 * language/english.el, language/georgian.el, language/greek.el:
14397 * language/japanese.el, language/khmer.el, language/korean.el:
14398 * language/lao.el, language/misc-lang.el, language/romanian.el:
14399 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14400 * language/thai.el, language/utf-8-lang.el:
14401 Remove no-byte-compile setting.
14403 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
14405 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14407 * progmodes/make-mode.el (makefile-browse):
14408 Remove unnecessary interactive. (Bug#11324)
14410 2012-05-07 Glenn Morris <rgm@gnu.org>
14412 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14414 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14416 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14418 * loadup.el: Preload newcomment.el.
14419 * newcomment.el: Move autoload-only code to toplevel.
14421 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14422 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14423 Handle new :right-align column property.
14424 (tabulated-list-print-col): Idem, plus use `display' text-property to
14425 try and preserve alignment for variable pitch fonts.
14427 2012-05-07 Chong Yidong <cyd@gnu.org>
14429 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14430 (tabulated-list-use-header-line): New var.
14431 (tabulated-list-init-header): Use it.
14432 (tabulated-list-print-fake-header): New function.
14433 (tabulated-list-print): Use it.
14434 (tabulated-list-sort-button-map): Add non-header-line commands.
14435 (tabulated-list-init-header): Add column name property to basic
14437 (tabulated-list-col-sort): Handle non-header-line button case.
14438 (tabulated-list--sort-by-column-name): Fix a corner case.
14440 * buff-menu.el (list-buffers--refresh):
14441 Handle Buffer-menu-use-header-line.
14443 2012-05-06 Chong Yidong <cyd@gnu.org>
14445 * buff-menu.el: Convert to Tabulated List mode.
14446 (Buffer-menu-buffer+size-width): Make obsolete.
14447 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14448 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14449 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
14450 documentation into docstring of buffer-menu.
14451 (Buffer-menu-toggle-files-only): Add an informative message.
14452 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14453 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14454 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14455 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14456 (Buffer-menu-execute, Buffer-menu-select)
14457 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14458 (Buffer-menu-bury): Use Tabulated List machinery.
14459 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14460 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14462 (list-buffers--refresh): New function.
14463 (list-buffers-noselect): Use it.
14464 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14465 (Buffer-menu--pretty-file-name): New helper functions.
14467 * loadup.el: Preload tabulated-list.
14469 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14470 tabulated-list-sort-column.
14471 (tabulated-list-init-header): Add the initial aligning space even
14472 if tabulated-list-padding is zero.
14474 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14476 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14477 whose cdr is not a cons cell correctly (bug#11038).
14479 2012-05-06 Chong Yidong <cyd@gnu.org>
14481 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14482 Accept additional plist in column descriptors.
14483 (tabulated-list-init-header): Obey it.
14484 (tabulated-list-get-entry): New function.
14485 (tabulated-list-put-tag): Use it. Use string-width instead of
14487 (tabulated-list--column-number): New function.
14488 (tabulated-list-print): Use it.
14489 (tabulated-list-print-col): New function.
14490 Set `tabulated-list-column-name' property on each column's text.
14491 (tabulated-list-print-entry): Use it.
14492 (tabulated-list-delete-entry, tabulated-list-set-col):
14494 (tabulated-list-sort-column): New command (Bug#11337).
14496 * buff-menu.el (list-buffers): Move C-x C-b binding from
14497 buff-menu.el to bindings.el.
14499 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14500 :advertised-binding feature.
14502 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14504 * progmodes/compile.el (compilation-internal-error-properties):
14505 Calculate start position correctly when end-col is set but
14506 end-line is not (Bug#11382).
14508 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14510 * man.el (Man-unindent): Use text-property-default-nonsticky to
14511 prevent untabify from inheriting face properties (Bug#11408).
14513 2012-05-05 Stefan Merten <smerten@oekonux.de>
14515 * textmodes/rst.el: Major merge with upstream development up to
14516 Docutils SVN r7399 / rst.el V1.2.1.
14518 Clarify maintainership and authors.
14520 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14521 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14522 (rst-official-version, rst-official-cvs-rev, rst-version)
14523 (rst-package-emacs-version-alist): New functions and variables
14524 for version information.
14526 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14527 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14528 (rst-mode-syntax-table, rst-mode): New and corrected functions
14529 and variables representing reStructuredText features.
14531 (rst-re): New function for reStructuredText regexes. Use in
14534 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14535 (rst-mode-map): Rebind keys.
14537 (rst-mode-lazy, rst-font-lock-keywords)
14538 (rst-font-lock-extend-region)
14539 (rst-font-lock-extend-region-internal)
14540 (rst-font-lock-extend-region-extend)
14541 (rst-font-lock-find-unindented-line-limit)
14542 (rst-font-lock-find-unindented-line-match)
14543 (rst-adornment-level, rst-font-lock-adornment-level)
14544 (rst-font-lock-adornment-match)
14545 (rst-font-lock-handle-adornment-pre-match-form)
14546 (rst-font-lock-handle-adornment-matcher): Major revision of
14547 font-locking. Integrate with other code. Use `jit-lock-mode'.
14549 (rst-preferred-adornments, rst-adjust-hook)
14550 (rst-new-adornment-down, rst-preferred-bullets)
14551 (rst-preferred-bullets, rst-indent, rst-indent-width)
14552 (rst-indent-field, rst-indent-literal-normal)
14553 (rst-indent-literal-minimized, rst-indent-comment): Change,
14554 extend and improve customization.
14556 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14557 (rst-normalize-cursor-position, rst-get-decoration)
14558 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14559 (rst-rstrip, rst-toc-insert-find-delete-contents)
14560 (rst-shift-fill-region, rst-compute-bullet-tabs)
14561 (rst-debug-print-tabs, rst-debug-mark-found)
14562 (rst-shift-region-guts, rst-shift-region-right)
14563 (rst-shift-region-left, rst-use-char-classes)
14564 (rst-font-lock-keywords-function)
14565 (rst-font-lock-indentation-point)
14566 (rst-font-lock-find-unindented-line-begin)
14567 (rst-font-lock-find-unindented-line-end)
14568 (rst-font-lock-find-unindented-line)
14569 (rst-font-lock-adornment-point, rst-font-lock-level)
14570 (rst-adornment-level-alist): Remove functions and variables.
14572 (rst-compare-adornments, rst-get-adornment-match)
14573 (rst-suggest-new-adornment, rst-get-adornments-around)
14574 (rst-adornment-complete-p, rst-get-next-adornment)
14575 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14576 (rst-straighten-adornments): Standardize function names to
14577 use "adornment" instead of "decoration". Correct callers.
14578 Similar standardizing in many places.
14580 (rst-update-section, rst-adjust, rst-promote-region)
14581 (rst-enumerate-region, rst-bullet-list-region)
14582 (rst-repeat-last-character): Correct use of `interactive'.
14584 (rst-classify-adornment, rst-find-all-adornments)
14585 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14586 (rst-find-leftmost-column, rst-repeat-last-character):
14587 Refactor functions.
14589 (rst-find-title-line, rst-reset-section-caches)
14590 (rst-get-adornments-around, rst-adjust-adornment-work)
14591 (rst-arabic-to-roman, rst-roman-to-arabic)
14592 (rst-insert-list-pos, rst-insert-list-new-item)
14593 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14596 (rst-all-sections, rst-section-hierarchy)
14597 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14600 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14601 configuration instead of only buffer. Change where necessary.
14603 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14604 (rst-shift-region, rst-adaptive-fill): New functions for
14605 indentation and filling.
14607 (rst-comment-line-break, rst-comment-indent)
14608 (rst-comment-insert-comment, rst-comment-region)
14609 (rst-uncomment-region): New functions for handling comments.
14611 (rst-compile): Quote shell arguments.
14613 (rst-compile-pdf-preview, rst-compile-slides-preview):
14614 Delete temporary files after use.
14616 2012-05-05 Glenn Morris <rgm@gnu.org>
14618 * calendar/cal-html.el: Optionally include holidays in the output.
14619 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14620 (cal-html-holidays): New option.
14621 (cal-html-css-default): Add holiday entry.
14622 (holiday-in-range): Autoload it.
14623 (cal-html-htmlify-entry): Add optional class argument.
14624 (cal-html-htmlify-list): Add optional holidays argument.
14625 (cal-html-insert-agenda-days): Include holidays in the output.
14626 (cal-html-one-month): Maybe include holidays.
14628 * calendar/holidays.el (holiday-in-range):
14629 Move here from cal-tex-list-holidays.
14630 * calendar/cal-tex.el (cal-tex-list-holidays):
14631 Make it an obsolete alias for holiday-in-range. Update all callers.
14633 2012-05-05 Chong Yidong <cyd@gnu.org>
14635 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14638 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14640 * files.el (file-auto-mode-skip): New var.
14641 (set-auto-mode-1): Use it.
14643 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14645 * repeat.el: Use lexical-binding.
14646 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14647 (repeat-undo-count): Remove.
14649 * progmodes/octave-mod.el (octave-abbrev-start):
14650 * progmodes/f90.el (f90-abbrev-start):
14651 * face-remap.el (text-scale-adjust):
14652 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14654 * emacs-lisp/pcase.el (pcase--let*): New function.
14655 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14657 (pcase--split-pred): Be more clever about ruling out overlap between
14658 a predicate and some constant pattern.
14659 (pcase--q1): Use `null' instead of (eq foo nil).
14661 * subr.el (setq-local, defvar-local): New macros.
14662 (kbd): Redefine as an alias.
14663 (with-selected-window): Leave unrelated frames alone.
14664 (set-temporary-overlay-map): New function.
14666 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14668 * subr.el (user-error): New function.
14669 * window.el (switch-to-buffer):
14670 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14671 (smerge-match-conflict):
14672 * simple.el (previous-matching-history-element)
14673 (next-matching-history-element, goto-history-element, undo-more)
14675 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14676 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14677 (next-file, tags-loop-scan, list-tags, complete-tag):
14678 * progmodes/compile.el (compilation-loop):
14679 * mouse.el (mouse-minibuffer-check):
14680 * man.el (Man-bgproc-sentinel, Man-goto-page):
14681 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14682 (Info-history-forward, Info-follow-reference, Info-menu)
14683 (Info-extract-menu-item, Info-extract-menu-counting)
14684 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14685 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14686 (Info-next-reference, Info-prev-reference, Info-index)
14687 (Info-index-next, Info-follow-nearest-node)
14688 (Info-copy-current-node-name):
14689 * imenu.el (imenu--make-index-alist)
14690 (imenu-default-create-index-function, imenu-add-to-menubar):
14691 * files.el (basic-save-buffer, recover-file):
14692 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14693 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14694 (checkdoc-message-text, checkdoc-defun):
14695 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14696 * cus-edit.el (customize-changed-options, customize-rogue)
14697 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14698 (custom-variable-mark-to-reset-standard)
14699 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14701 * completion.el (check-completion-length):
14702 * comint.el (comint-search-arg)
14703 (comint-previous-matching-input-string-position)
14704 (comint-previous-matching-input)
14705 (comint-replace-by-expanded-history-before-point, comint-send-input)
14706 (comint-copy-old-input, comint-backward-matching-input)
14707 (comint-goto-process-mark, comint-set-process-mark):
14708 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14709 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14711 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14713 * dabbrev.el (dabbrev--ignore-case-p): New function.
14714 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14717 * files.el (automount-dir-prefix): Mark as obsolete.
14719 2012-05-04 Glenn Morris <rgm@gnu.org>
14721 * patcomp.el, play/bruce.el: Move to obsolete/.
14723 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14725 Fix minor Y10k bugs.
14726 * arc-mode.el (archive-unixdate):
14727 * autoinsert.el (auto-insert-alist):
14728 * calc/calc-forms.el (math-this-year):
14729 * emacs-lisp/copyright.el (copyright-current-year)
14730 (copyright-update-year, copyright):
14731 * tar-mode.el (tar-clip-time-string):
14732 * time.el (display-time-update):
14733 Don't assume years have 4 digits.
14735 2012-05-04 Chong Yidong <cyd@gnu.org>
14737 * dos-w32.el (file-name-buffer-file-type-alist)
14738 (direct-print-region-use-command-dot-com):
14739 * ffap.el (ffap-menu-regexp):
14740 * find-file.el (ff-special-constructs):
14741 * follow.el (follow-debug):
14742 * forms.el (forms--debug):
14743 * iswitchb.el (iswitchb-all-frames):
14744 * ido.el (ido-all-frames):
14745 * emacs-lisp/timer.el (timer-max-repeats):
14746 * mail/feedmail.el (feedmail-mail-send-hook)
14747 (feedmail-mail-send-hook-queued):
14748 * mail/footnote.el (footnote-signature-separator):
14749 * mail/mailabbrev.el (mail-alias-separator-string)
14750 (mail-abbrev-mode-regexp):
14751 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14752 * progmodes/idlwave.el (idlwave-libinfo-file)
14753 (idlwave-default-completion-case-is-down)
14754 (idlwave-library-routines): Convert defvars to defcustoms.
14756 * mail/rmail.el (rmail-decode-mime-charset):
14757 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14758 (idlwave-shell-fix-inserted-breaks)
14759 (idlwave-shell-activate-alt-keybindings)
14760 (idlwave-shell-use-breakpoint-glyph):
14761 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14763 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14765 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14767 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14769 * progmodes/verilog-mode.el (font-lock-keywords):
14770 Fix mis-highligting auto. Reported by Craig Barner.
14771 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14772 defines from global name space. Reported by Dan Dever.
14773 (verilog-auto-reset, verilog-auto-reset-widths)
14774 (verilog-auto-tieoff): Support using unbased numbers for
14775 AUTORESET and AUTOTIEOFF.
14776 (verilog-submit-bug-report): Update variable list.
14777 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14778 parenthesis from not matching. Reported by Michael Rytting.
14779 (verilog-auto-template-lint): Fix hash error when linting modules
14780 with no used templates.
14781 (verilog-warn, verilog-warn-error)
14782 (verilog-warn-fatal): When non-interactive report multiple
14783 warnings before exiting. Suggested by Brad Dobbie.
14784 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14785 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14786 to report unused template errors. Reported by Brad Dobbie.
14787 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14788 nets, bug438. Reported by Vns Blore.
14789 (verilog-auto-inout-module, verilog-auto-reg)
14790 (verilog-read-decls, verilog-read-sub-decls-sig)
14791 (verilog-signals-edit-wire-reg, verilog-signals-with):
14792 Fix passing of Verilog data types in ANSI input/output ports
14793 such as "output logic" into the AUTOs. Special case "wire" and
14794 "reg" for backwards compatibility presuming Verilog 2001.
14795 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14796 (verilog-preprocess): Fix replication of preprocess output.
14797 Reported by Brad Dobbie.
14798 (verilog-auto-inst-interfaced-ports):
14799 Create verilog-auto-inst-interfaced-ports, bug429.
14800 Reported by Julian Gorfajn.
14801 (verilog-after-save-font-hook)
14802 (verilog-before-save-font-hook): New variable.
14803 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14804 (verilog-save-font-mods): Wrap disabling fontification, reported
14806 (verilog-do-indent, verilog-pretty-declarations-auto)
14807 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14808 Reported by Pierre-David Pfister.
14809 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14810 of class declarations, bug292. Reported by Kevin Heilman.
14811 (verilog-read-decls): Fix 'parameter type' not appearing in
14812 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14813 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14814 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14815 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14816 Reported by David Kravitz.
14818 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14820 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14821 assignment with tests in ifs and for loops.
14822 (verilog-extended-complete-re, verilog-complete-reg): Change so
14823 that DPI inport functions don't look like fuction declarations.
14824 (verilog-pretty-expr): Don't line up assignment
14825 operations to the test and increment in if and for loops
14826 (verilog-extended-complete-re, verilog-complete-reg): Change so
14827 that DPI inport functions don't look like fuction declarations.
14829 2012-05-03 Kenichi Handa <handa@m17n.org>
14831 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14832 decoding, and show a warning message without signaling an error
14835 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14837 * emacs-lisp/bytecomp.el
14838 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14839 since cconv.el might have introduced :fun-body, internal-make-closure,
14840 and friends for bytecomp to handle (bug#11391).
14841 * custom.el (defcustom): Avoid ((λ ..) ..).
14843 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14845 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14847 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14849 * notifications.el (dbus-debug):
14850 * term/linux.el (gpm-mouse-enable):
14851 * term/screen.el (xterm-register-default-colors): Declare.
14853 2012-05-02 Chong Yidong <cyd@gnu.org>
14855 * cus-start.el (gc-cons-percentage, exec-suffixes)
14856 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14857 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14858 (make-cursor-line-fully-visible, void-text-area-pointer)
14859 (font-list-limit): Add customization data.
14861 * allout.el (allout-exposure-change-functions)
14862 (allout-structure-added-functions)
14863 (allout-structure-deleted-functions)
14864 (allout-structure-shifted-functions): Rename abnormal hooks from
14865 *-hook, and convert to defcustoms.
14866 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14867 Convert to defcustoms.
14868 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14870 * allout-widgets.el: Hook callers changed.
14872 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14874 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14875 the yanked message in preference to the default value of
14876 buffer-file-coding-system.
14878 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14880 * window.el (display-buffer--action-function-custom-type):
14883 2012-05-02 Alan Mackenzie <acm@muc.de>
14885 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14887 2012-05-01 Glenn Morris <rgm@gnu.org>
14889 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14891 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14893 * cus-edit.el (custom-variable-documentation): Simplify with format.
14895 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14896 Stefan Monnier <monnier@iro.umontreal.ca>
14898 * simple.el (suggest-key-bindings, execute-extended-command):
14899 Move from keyboard.c.
14901 2012-05-01 Chong Yidong <cyd@gnu.org>
14903 * follow.el: Eliminate advice.
14904 (set-process-filter, process-filter, sit-for): Advice deleted.
14905 (follow-mode-off-hook): Obsolete hook removed.
14906 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14908 (follow-auto): Use a :set function.
14909 (follow-mode): Rewritten. Don't advise process filters.
14910 (follow-switch-to-current-buffer-all, follow-scroll-up)
14911 (follow-scroll-down): Assume follow-mode is bound.
14912 (follow-comint-scroll-to-bottom)
14913 (follow-align-compilation-windows): New functions.
14914 (follow--window-sorter): New function.
14915 (follow-all-followers): Use it to explicitly sort windows by their
14916 positions; don't make assumptions about next-window order.
14917 (follow-windows-start-end, follow-delete-other-windows-and-split)
14918 (follow-calc-win-start): Doc fix.
14919 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14920 vertical-motion unnecessarily.
14921 (follow-adjust-window): New function.
14922 (follow-post-command-hook): Use it.
14923 (follow-call-set-process-filter, follow-call-process-filter)
14924 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14925 (follow-stop-intercept-process-output, follow-generic-filter):
14927 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14928 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14929 New functions, replacing advice on scroll-bar-* commands.
14930 (follow-mwheel-scroll): New function (Bug#4112).
14932 * comint.el (comint-adjust-point): New function.
14933 (comint-postoutput-scroll-to-bottom): Use it.
14934 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14936 2012-05-01 Glenn Morris <rgm@gnu.org>
14938 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14939 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14940 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14941 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14942 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14943 Remove no-byte-compile setting.
14945 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14947 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14948 all-completions code to not return a number in the last cdr.
14950 2012-04-30 Leo Liu <sdl.web@gmail.com>
14952 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14955 2012-04-29 Chong Yidong <cyd@gnu.org>
14957 * follow.el (follow-calc-win-end): Rewrite to handle partial
14958 screen lines correctly (Bug#8390).
14959 (follow-avoid-tail-recenter): Minor cleanup.
14961 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14963 Avoid the obsolete `assoc' package.
14964 * speedbar.el (speedbar-refresh): Avoid adelete.
14965 (speedbar-file-lists): Simplify and avoid aput.
14966 * man.el (Man--sections, Man--refpages): New vars, replacing
14967 Man-sections-alist and Man-refpages-alist.
14968 (Man-build-section-alist, Man-build-references-alist):
14969 Use them; avoid aput.
14970 (Man--last-section, Man--last-refpage): New vars.
14971 (Man-follow-manual-reference): Use them.
14972 Use the `default' arg of completing-read.
14973 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14975 2012-04-27 Chong Yidong <cyd@gnu.org>
14977 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14979 * startup.el (x-apply-session-resources): New function.
14981 * term/ns-win.el (ns-initialize-window-system):
14982 * term/w32-win.el (w32-initialize-window-system):
14983 * term/x-win.el (x-initialize-window-system): Use it to properly
14984 set menu-bar-mode and other vars from X resources, even if the
14985 initial frame is not a window-system frame (Bug#2299).
14987 * subr.el (read-key): Avoid running filter function when setting
14988 up temporary tool bar entries (Bug#9922).
14990 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14992 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14995 2012-04-27 Chong Yidong <cyd@gnu.org>
14997 * select.el (xselect--encode-string): New function, split from
14998 xselect-convert-to-string.
14999 (xselect-convert-to-string): Use it.
15000 (xselect-convert-to-filename, xselect-convert-to-os)
15001 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
15002 returned strings are properly encoded (Bug#11315).
15004 2012-04-27 Chong Yidong <cyd@gnu.org>
15006 * simple.el (delete-active-region): Move to killing custom group.
15008 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
15010 * progmodes/which-func.el (which-func-current): Quote %
15011 characters for mode-line processing.
15013 2012-04-27 Chong Yidong <cyd@gnu.org>
15015 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
15016 reaching eob (Bug#11286).
15018 2012-04-27 Eli Zaretskii <eliz@gnu.org>
15020 * progmodes/gdb-mi.el (gdb-control-level): New variable.
15021 (gdb): Make it buffer-local and init to zero.
15022 (gdb-control-commands-regexp): New variable.
15023 (gdb-send): Don't wrap in "-interpreter-exec console" if
15024 gdb-control-level is positive. Increment gdb-control-level
15025 whenever the command matches gdb-control-commands-regexp, and
15026 decrement it each time the command is "end". (Bug#11279)
15028 2012-04-27 Martin Rudalics <rudalics@gmx.at>
15030 * window.el (adjust-window-trailing-edge, enlarge-window)
15031 (shrink-window, window-resize):
15032 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
15033 windows (Bug#11276).
15035 2012-04-27 Chong Yidong <cyd@gnu.org>
15037 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
15038 fix "missing prefix" warning. All callers changed.
15040 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15042 * emacs-lisp/assoc.el: Move to obsolete/.
15044 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15046 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15048 * term/ns-win.el (ns-define-service):
15049 * progmodes/pascal.el (pascal-goto-defun):
15050 * progmodes/js.el (js--read-tab):
15051 * progmodes/etags.el (tags-lazy-completion-table):
15052 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15053 * emacs-lisp/ewoc.el (ewoc--wrap):
15054 * emacs-lisp/assoc.el (aput, adelete, amake):
15055 * doc-view.el (doc-view-convert-current-doc):
15056 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15058 2012-04-26 Chong Yidong <cyd@gnu.org>
15060 * image.el (image-type-from-buffer): Only return supported image
15063 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15064 value, for symmetry with diff-end-of-hunk.
15065 (diff-split-hunk, diff-find-source-location)
15066 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15067 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15068 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15069 compute the relevant hunk or file properly (Bug#6005).
15070 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15072 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15081 * vc/vc.el: Replace lexical-let by lexical-binding.
15082 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15083 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15084 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15086 2012-04-26 Chong Yidong <cyd@gnu.org>
15088 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15089 (diff-mode-shared-map): Bind it to / and [remap undo].
15091 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15092 (ediff-window-setup-function): Use it as the default, to set up
15093 windows based on whether the current frame is graphical (Bug#2138).
15094 (ediff-choose-window-setup-function-automatically): Make obsolete.
15096 * vc/ediff-init.el: Always define ediff-pixel-width/height.
15098 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15100 * ffap.el: Remove old code for obsolete package.
15101 (ffap-complete-as-file-p): Remove.
15103 Use completion-table-with-quoting for comint and pcomplete.
15104 * comint.el (comint--unquote&requote-argument)
15105 (comint--unquote-argument, comint--requote-argument): New functions.
15106 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15107 (comint-quote-filename): Use regexp-opt-charset.
15108 (comint--common-suffix, comint--common-quoted-suffix)
15109 (comint--table-subvert): Remove.
15110 (comint-unquote-function, comint-requote-function): New vars.
15111 (comint--complete-file-name-data): Use them with
15112 completion-table-with-quoting.
15113 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15114 * pcomplete.el (pcomplete-arg-quote-list)
15115 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15116 (pcomplete-unquote-argument-function): Default to non-nil.
15117 (pcomplete-unquote-argument): Simplify.
15118 (pcomplete--common-quoted-suffix): Remove.
15119 (pcomplete-requote-argument-function): New var.
15120 (pcomplete--common-suffix): New function.
15121 (pcomplete-completions-at-point): Use completion-table-with-quoting
15122 and completion-table-subvert.
15124 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15125 (minibuffer--double-dollars): Preserve properties.
15126 (completion--sifn-requote): New function.
15127 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15129 * minibuffer.el: Add support for completion of quoted/escaped data.
15130 (completion-table-with-quoting, completion-table-subvert): New funs.
15131 (completion--twq-try, completion--twq-all): New functions.
15132 (completion--nth-completion): New function.
15133 (completion-try-completion, completion-all-completions): Use it.
15135 2012-04-25 Leo Liu <sdl.web@gmail.com>
15137 * progmodes/python.el (python-pdbtrack-get-source-buffer):
15138 Use compilation-message if available to find real filename.
15140 2012-04-25 Chong Yidong <cyd@gnu.org>
15142 * vc/diff-mode.el (diff-setup-whitespace): New function.
15143 (diff-mode): Use it.
15145 * vc/diff.el (diff-sentinel):
15146 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15147 Whitespace mode variables based on diff style (Bug#8612).
15149 2012-04-25 Leo Liu <sdl.web@gmail.com>
15151 * progmodes/python.el (python-send-region): Add suffix .py to the
15154 * files.el (auto-mode-alist): Use javascript-mode instead.
15156 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
15158 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
15160 * net/soap-client.el (soap-resolve-references-for-sequence-type)
15161 (soap-resolve-references-for-array-type): Hack to prevent self
15162 references, see Bug#9.
15163 (soap-parse-envelope): Report the contents of the 'detail' node
15164 when receiving a fault reply.
15165 (soap-parse-envelope): Report the contents of the entire 'detail' node.
15167 * net/soap-inspect.el (soap-sample-value-for-simple-type)
15168 (soap-inspect-simple-type): New function.
15170 * net/soap-client.el (soap-simple-type): New struct.
15171 (soap-default-xsd-types, soap-default-soapenc-types)
15172 (soap-decode-basic-type, soap-encode-basic-type):
15173 support unsignedInt and double basic types.
15174 (soap-resolve-references-for-simple-type)
15175 (soap-parse-simple-type, soap-encode-simple-type): New function.
15176 (soap-parse-schema): Parse xsd:simpleType declarations.
15178 * net/soap-client.el (soap-default-xsd-types)
15179 (soap-default-soapenc-types): Add integer, byte and anyURI types.
15180 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15181 the local name of "soapenc:Array".
15182 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15183 decoding integer, byte and anyURI xsd types.
15185 2012-04-25 Chong Yidong <cyd@gnu.org>
15187 * cus-edit.el (custom-buffer-create-internal): Update header text.
15189 2012-04-25 Eli Zaretskii <eliz@gnu.org>
15191 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15192 settings on 'system-type', not on 'window-system'. On MS-Windows,
15193 set interactive-mode on in GDB.
15195 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15197 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15198 (ruby-syntax-propertize-regexp): Remove.
15199 (ruby-syntax-propertize-function): Split regexp into chunks.
15200 Match following code directly.
15202 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
15204 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15205 (ruby-syntax-propertize-regexp): New function.
15206 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15207 by a special keyword.
15209 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15210 (ruby-syntax-general-delimiters-goto-beg)
15211 (ruby-syntax-propertize-general-delimiters): New functions.
15212 (ruby-syntax-propertize-function): Use them to handle GDL.
15213 (ruby-font-lock-keywords): Move old handling of GDL...
15214 (ruby-font-lock-syntactic-keywords): .. to here.
15215 (ruby-calculate-indent): Adjust indentation for GDL.
15217 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
15219 * notifications.el (top): Remove unneeded declarations.
15220 (notifications-specification-version): Change to "1.2".
15221 (notifications-interface, notifications-notify-method)
15222 (notifications-close-notification-method): Fix docstring.
15223 (notifications-get-capabilities-method): New defconst.
15224 (notifications-notify): Add :action-items, :resident and
15225 :transient hints. Change "image_data" to "image-data" and
15226 "image_path" to "image-path".
15227 (notifications-get-capabilities): New defun.
15229 2012-04-24 Leo Liu <sdl.web@gmail.com>
15231 * progmodes/python.el: Move hideshow setup to the end.
15233 2012-04-24 Martin Rudalics <rudalics@gmx.at>
15235 * window.el (handle-select-window): Clear echo area since this is
15236 no more done by read_char (Bug#11304).
15238 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15240 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15241 and `/ M' to filter-derived-mode.
15242 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15243 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15244 (ibuffer-mark-by-mode): Use default rather than initial-input.
15245 (ibuffer-filter-by-derived-mode): Autoload and require-match.
15247 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
15249 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15250 (ibuffer-filter-by-derived-mode): New filter.
15251 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15253 2012-04-23 Andreas Politz <politza@fh-trier.de>
15255 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15257 2012-04-23 Chong Yidong <cyd@gnu.org>
15259 * cus-edit.el (customize-apropos, customize-apropos-options):
15260 Disable matching of non-option variables (Bug#11176).
15261 (customize-option, customize-option-other-window)
15262 (customize-changed-options): Doc fix.
15263 (customize-apropos-options, customize-apropos-faces)
15264 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15266 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15267 Fix word list splitting (Bug#11132).
15268 (apropos-symbol, apropos-keybinding, apropos-label)
15269 (apropos-property, apropos-function-button)
15270 (apropos-variable-button, apropos-misc-button): New faces.
15271 (apropos-symbol-face, apropos-keybinding-face)
15272 (apropos-label-face, apropos-property-face, apropos-match-face):
15273 Variables removed (Bug#8396).
15274 (apropos-library-button, apropos-format-plist, apropos-print)
15275 (apropos-print-doc, apropos-describe-plist): Callers changed.
15277 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
15279 * net/xesam.el (xesam-mode-map): Use let-bound map in
15280 initialization. (Bug#11292)
15282 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15284 Preserve ispell session localwords when switching back to
15287 * textmodes/ispell.el (ispell-buffer-session-localwords):
15288 New buffer-local variable to hold buffer session localwords.
15289 (ispell-kill-ispell): Add option 'clear to delete session
15291 (ispell-command-loop, ispell-change-dictionary)
15292 (ispell-buffer-local-words): Preserve session localwords when
15295 * textmodes/flyspell.el (flyspell-process-localwords)
15296 (flyspell-do-correct): Preserve session localwords when needed.
15298 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15300 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15301 using obsolete `translation-table-for-input'.
15302 (ispell-word, ispell-process-line, ispell-complete-word):
15303 Use plain `insert' instead of removed `ispell-insert-word'.
15305 2012-04-22 Chong Yidong <cyd@gnu.org>
15307 * cus-edit.el (custom-variable-menu)
15308 (custom-variable-reset-saved, custom-face-menu)
15309 (custom-face-reset-saved): If there is no saved value, make the
15310 "reset-saved" operation bring back the default (Bug#9509).
15311 (custom-face-state): Properly detect themed faces.
15313 * faces.el (face-spec-set): Stop supporting deprecated form of
15316 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
15318 Move functions from C to Lisp. Make non-blocking method calls
15319 the default. Implement further D-Bus standard interfaces.
15321 * net/dbus.el (dbus-message-internal): Declare function.
15322 Remove unneeded function declarations.
15323 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15324 (dbus-message-type-method-return, dbus-message-type-error)
15325 (dbus-message-type-signal): Declare variables. Remove local
15327 (dbus-interface-dbus, dbus-interface-peer)
15328 (dbus-interface-introspectable, dbus-interface-properties)
15329 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15331 (dbus-interface-objectmanager): New defconst.
15332 (dbus-call-method, dbus-call-method-asynchronously)
15333 (dbus-send-signal, dbus-method-return-internal)
15334 (dbus-method-error-internal, dbus-register-service)
15335 (dbus-register-signal, dbus-register-method): New defuns, moved
15337 (dbus-call-method-handler, dbus-setenv)
15338 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15340 (dbus-call-method-non-blocking): Make it an obsolete function.
15341 (dbus-unregister-object, dbus-unregister-service)
15342 (dbus-handle-event, dbus-register-property)
15343 (dbus-property-handler): Obey the new structure of
15344 `bus-registered-objects'.
15345 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
15346 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15347 Use `dbus-call-method'.
15349 2012-04-22 Chong Yidong <cyd@gnu.org>
15351 * cus-edit.el (custom-commands, custom-reset-menu)
15352 (Custom-reset-standard): Tweak labels.
15353 (custom-reset-button-menu): Change default to t.
15354 (custom-buffer-create-internal): For the custom-reset-button-menu
15355 case, put the revert button first.
15356 (custom-group-subtitle): New face.
15357 (custom-group-value-create): Align docstring to a specific column.
15359 * wid-edit.el (widget-documentation-link-add): Don't handle
15360 indentation in this function.
15361 (widget-documentation-string-indent-to): New function.
15362 (widget-documentation-string-value-create): Use it.
15364 * autorevert.el (auto-revert):
15365 * epg-config.el (epg):
15366 * ibuffer.el (ibuffer):
15369 * eshell/eshell.el (eshell):
15370 * net/ange-ftp.el (ange-ftp):
15371 * progmodes/ebnf2ps.el (postscript):
15372 * progmodes/flymake.el (flymake):
15373 * progmodes/prolog.el (prolog):
15374 * progmodes/verilog-mode.el (verilog-mode):
15375 * progmodes/which-func.el (which-func):
15376 * term/xterm.el (xterm):
15377 * textmodes/picture.el (picture):
15378 * textmodes/tildify.el (tildify):
15379 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15380 customization buffers.
15382 2012-04-22 Alan Mackenzie <acm@muc.de>
15384 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15385 Adding a ) can hide the resulting (..) from searches. Fix it.
15386 Bound the backward search to the position of the existing (.
15388 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
15390 * progmodes/verilog-mode.el (verilog-mode): Check whether
15391 which-func-modes is t before adding verilog-mode.
15392 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15394 2012-04-21 Leo Liu <sdl.web@gmail.com>
15396 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15398 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
15400 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15401 filling of the last column of a table (Bug#5635).
15402 (woman-find-next-control-line): New arg, specifying an additional
15403 regexp component for the control line.
15404 (woman2-roff-buffer): Use it.
15405 (woman-break-table): New function.
15406 (woman2-TS): Use it.
15408 2012-04-21 Chong Yidong <cyd@gnu.org>
15410 * woman.el (woman-set-buffer-display-table, woman-decode-region)
15411 (woman-horizontal-escapes, woman-negative-vertical-space)
15412 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15413 (WoMan-warn-ignored): Use ?\s instead of ?\ .
15415 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15417 * minibuffer.el (completion-file-name-table): Complete user names.
15419 2012-04-20 Leo Liu <sdl.web@gmail.com>
15421 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15424 2012-04-20 Chong Yidong <cyd@gnu.org>
15426 * server.el (server-execute): Respect initial-buffer-choice if it
15427 is a string and there are no files to open (Bug#2825).
15428 (server-create-window-system-frame, server-create-tty-frame):
15429 Don't switch buffers here.
15430 (server-process-filter): Only try to open a window system frame if
15431 compiled with graphical support (Bug#8314).
15433 2012-04-20 Dan Nicolaescu <dann@gnu.org>
15435 * battery.el (battery-echo-area-format): Display remaining time
15436 for sysfs backend too (Bug#11269).
15437 (battery-linux-sysfs): Fix conditional for the charge.
15439 2012-04-20 Chong Yidong <cyd@gnu.org>
15441 * progmodes/gdb-mi.el (gdb): Revert previous change.
15442 (gdb-inferior-io--init-proc): New function.
15443 (gdb-init-1): Use it.
15444 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15445 responsible for allocating a new pty and hooking it to gdb when
15446 the old pty gets an EIO due to process exit.
15447 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
15448 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15449 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15451 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15453 * window.el (window-min-size, window-sizable, window-min-delta)
15454 (window-max-delta, window--resizable, window-resizable)
15455 (window-total-size, window-full-height-p, window-full-width-p)
15456 (window-in-direction, window--resize-mini-window, window-resize)
15457 (window--resize-child-windows-normal)
15458 (window--resize-child-windows, window--resize-siblings)
15459 (window--resize-this-window, adjust-window-trailing-edge)
15460 (enlarge-window, shrink-window): Doc fixes.
15462 2012-04-20 Chong Yidong <cyd@gnu.org>
15464 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15465 New function to call delete-process on the gdb-inferior buffer's pty.
15466 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15467 pty process (Bug#11273).
15468 (gdb-update): New arg to suppress talking to the gdb process.
15469 (gdb-done-or-error): Use it.
15470 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15471 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15472 sentinel not being called.
15474 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15476 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15478 2012-04-20 Glenn Morris <rgm@gnu.org>
15480 * net/network-stream.el (open-network-stream): Doc fix.
15482 2012-04-20 Chong Yidong <cyd@gnu.org>
15484 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15486 2012-04-20 Alan Mackenzie <acm@muc.de>
15488 Ensure searching for keywords is case sensitive.
15490 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15491 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15492 (c-defun-name, c-mark-function, c-cpp-define-name)
15493 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15494 (c-context-line-break): Bind case-fold-search to nil.
15496 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15497 Bind case-fold-search to nil.
15499 2012-04-20 Chong Yidong <cyd@gnu.org>
15501 * mail/sendmail.el (mail-bury): Call return action with the right
15502 Rmail buffer (Bug#11242).
15504 * server.el (server-process-filter): Handle corner case where both
15505 tty and nowait options are present (Bug#11102).
15507 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15509 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15510 (top level): Put into the executable the ident-style '$Id:' tag on
15511 windows-nt as well.
15513 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15515 * electric.el (electric-indent-post-self-insert-function): Check that
15516 electric-indent-mode is enabled in current buffer.
15518 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15520 * imenu.el (imenu-progress-message): Restore; it is "used" in
15521 erc/erc-imenu.el and net/snmp-mode.el.
15523 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15525 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15526 (mouse-avoidance-nudge-mouse): Remove unused binding.
15528 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15530 * descr-text.el (describe-char):
15531 * progmodes/python.el (python-describe-symbol):
15532 Don't call `toggle-read-only', set `buffer-read-only'.
15534 * imenu.el (imenu-default-goto-function): Mark unused args.
15535 (imenu-progress-message): Remove obsolete macro; all callers changed.
15537 * subr.el (keymap-canonicalize): Remove unused binding.
15538 (read-passwd): Mark unused arg.
15540 * tutorial.el (tutorial--display-changes): Remove unused binding.
15541 (tutorial--save-tutorial-to): Remove unused variable.
15543 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15544 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15545 (package-generate-autoloads, package-menu--generate)
15546 (package-menu--find-upgrades): Remove unused bindings.
15548 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15549 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15550 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15551 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15552 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15553 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15554 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15555 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15556 (cua-delete-char-rectangle): Mark unused args.
15557 (cua-align-rectangle): Remove unused binding.
15559 * mail/rmail.el (compilation--message->loc)
15560 (epa--find-coding-system-for-mime-charset): Declare.
15562 * net/dbus.el (dbus-register-service): Declare.
15563 (dbus-name-owner-changed-handler): Remove unused binding.
15565 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15566 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15567 (nxml-scan-backward-within): Mark unused arg.
15568 (nxml-dynamic-markup-word): Remove unused binding.
15570 * mouse.el (mouse-menu-major-mode-map):
15571 * emacs-lisp/authors.el (authors-scan-change-log)
15572 (authors-add-to-author-list):
15573 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15574 * emacs-lisp/smie.el (smie-auto-fill):
15575 * mail/sendmail.el (mail-bury):
15576 * mail/unrmail.el (unrmail):
15577 * net/tls.el (open-tls-stream):
15578 * textmodes/picture.el (picture-mouse-set-point):
15579 Remove unused bindings.
15581 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15583 * net/tramp.el (tramp-action-password): Let-bind
15584 `enable-recursive-minibuffers' to t.
15586 2012-04-18 Sam Steingold <sds@gnu.org>
15588 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15589 instead of 'string to accommodate values like [f11].
15590 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15591 * progmodes/gdb-mi.el: Likewise.
15593 2012-04-18 Leo Liu <sdl.web@gmail.com>
15595 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15597 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15600 2012-04-18 Chong Yidong <cyd@gnu.org>
15602 * simple.el (line-move): Use forward-line if in batch mode
15605 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15607 * files.el (after-find-file): Do not try to add a final newline if
15608 the buffer is read-only (Bug#11156).
15610 2012-04-17 Richard Stallman <rms@gnu.org>
15612 * mail/rmail.el (rmail-start-mail):
15613 Pass (rmail-mail-return...) for the return-action.
15614 Pass (rmail-yank-current-message...) for the yank-action.
15615 (rmail-yank-current-message): New function.
15616 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15617 (rmail-reply): Likewise.
15618 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15620 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15621 buffer, not the last. Reject temp buffers. Use the rmail-mode
15622 buffer, not newbuf.
15624 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15626 * server.el (server-ensure-safe-dir): Simplify.
15628 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15630 * emacs-lisp/smie.el: Provide smarter auto-filling.
15631 (smie-auto-fill): New function.
15632 (smie-setup): Use it.
15634 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15636 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15638 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15639 (comment-indent): Use it.
15641 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15643 * ses.el: The overall change is to add cell renaming, that is
15644 setting fancy names for cell symbols other than name matching
15645 "\\`[A-Z]+[0-9]+\\'" regexp .
15646 (ses-localvars): Add ses--renamed-cell-symb-list.
15647 (ses-create-cell-variable): New defun.
15648 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15649 (ses-relocate-formula): Relocate formulas only for cells the
15650 symbols of which are not renamed, i.e. symbols whose names do not
15651 match regexp "\\`[A-Z]+[0-9]+\\'".
15652 (ses-relocate-all): Relocate values only for cells the symbols of
15653 which are not renamed.
15654 (ses-load): Create cells variables as the (ses-cell ...) are read,
15655 in order to check row col consistency with cell symbol name only
15656 for cells that are not renamed.
15657 (ses-replace-name-in-formula): New defun.
15658 (ses-rename-cell): New defun.
15660 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15662 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15663 New option (bug#11118).
15664 (perl-calculate-indent): Respect it.
15666 2012-04-17 Glenn Morris <rgm@gnu.org>
15668 * dired-aux.el (dired-mark-read-string): Doc fix.
15670 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15672 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15673 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15675 2012-04-17 Glenn Morris <rgm@gnu.org>
15677 * mouse.el (mouse-drag-track):
15678 * speedbar.el (speedbar-frame-mode):
15679 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15681 2012-04-16 Leo Liu <sdl.web@gmail.com>
15683 * progmodes/python.el: Trivial cleanup.
15685 2012-04-16 Glenn Morris <rgm@gnu.org>
15687 * vc/vc.el (vc-string-prefix-p):
15688 * vc/pcvs-util.el (cvs-string-prefix-p):
15689 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15690 * mpc.el (mpc-string-prefix-p):
15691 Make all of these into obsolete aliases for string-prefix-p.
15693 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15695 * textmodes/two-column.el: Move custom options to the start.
15696 (frame-width): Remove compat definition.
15697 (2C-associate-buffer, 2C-dissociate):
15698 Use with-current-buffer rather than save-excursion.
15699 (2C-dissociate): Force a mode-line update.
15700 (2C-autoscroll): Use ignore-errors.
15702 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15705 * emacs-lisp/cl-extra.el (*random-state*):
15706 Remove unnecessary declaration.
15708 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15710 * play/cookie1.el (cookie-snarf):
15711 Give an explicit error if input file cannot be read.
15713 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15715 * progmodes/perl-mode.el (c-macro-expand):
15716 Remove unnecessary autoload (it is in loaddefs.el).
15718 * textmodes/picture.el (picture-desired-column)
15719 (picture-update-desired-column): Convert comments to doc-strings.
15720 (picture-substitute): Remove function.
15721 (picture-mode-map): Initialize in the defvar.
15723 * woman.el: Remove eval-after-load for tar-mode.
15724 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15725 (woman-tar-extract-file): Autoload it.
15727 * frame.el (automatic-hscrolling): Make this alias obsolete.
15729 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15731 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15732 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15733 (ispell-dictionary-base-alist): Revert to original XEmacs
15734 friendly version for default. [:alpha:] will be added in
15735 `ispell-set-spellchecker-params' if needed.
15737 2012-04-16 Chong Yidong <cyd@gnu.org>
15739 * image.el (imagemagick--file-regexp): New variable.
15740 (imagemagick-register-types): Use it.
15741 (imagemagick-types-inhibit): Add :set function. Allow new value
15742 of t to inhibit all types.
15744 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15745 so we can preload it.
15747 * loadup.el (fboundp): Preload regexp-opt, needed by
15748 imagemagick-register-types.
15750 2012-04-15 Chong Yidong <cyd@gnu.org>
15752 * frame.el (scrolling): Remove nearly unused customization group.
15754 * scroll-all.el (scroll-all-mode): Move to windows group.
15756 2012-04-15 Chong Yidong <cyd@gnu.org>
15758 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15760 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15762 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15763 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15765 2012-04-15 Glenn Morris <rgm@gnu.org>
15767 * simple.el (process-file-side-effects): Doc fix.
15769 2012-04-15 Glenn Morris <rgm@gnu.org>
15771 * international/mule-cmds.el (set-language-environment): Doc fix.
15773 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15775 * server.el (server-auth-key, server-generate-key): Doc fixes.
15776 (server-get-auth-key): Doc fix. Use `string-match-p'.
15777 (server-start): Reflow docstring.
15779 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15781 * server.el (server-generate-key): `called-interactively-p'
15782 requires a parameter.
15784 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15786 * server.el (server-auth-key): New variable.
15787 (server-generate-key, server-get-auth-key): New function.
15788 (server-start): Use the new variable and functions to allow
15789 setting a permanent server key (bug#9423).
15791 2012-04-14 Leo Liu <sdl.web@gmail.com>
15793 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15795 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15798 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15799 Emacs uses American spelling.
15801 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15803 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15804 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15805 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15806 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15808 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15810 * progmodes/which-func.el (which-func-modes): Change default.
15812 2012-04-14 Kim F. Storm <storm@cua.dk>
15814 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15815 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15817 2012-04-14 Chong Yidong <cyd@gnu.org>
15819 * custom.el (custom-theme-set-variables): Doc fix.
15821 2012-04-14 Glenn Morris <rgm@gnu.org>
15823 * international/mule.el (set-auto-coding-for-load): Doc fix.
15825 2012-04-14 Alan Mackenzie <acm@muc.de>
15827 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15828 imenu work again for Objective C Mode. Correct the *-index values,
15829 these having been disturbed by a previous change in 2011-08.
15831 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15832 Correct two search limits.
15834 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15838 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15840 * international/characters.el: Fix sorting.
15842 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15844 * international/characters.el: Add more missing Latin case pairs.
15846 2012-04-14 Glenn Morris <rgm@gnu.org>
15848 * files.el (dir-locals-set-class-variables): Doc fix.
15850 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15852 * international/characters.el: Add set-case-syntax-pair call for
15853 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15854 counterpart. (Bug#11209)
15856 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15858 2012-04-14 Glenn Morris <rgm@gnu.org>
15860 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15862 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15864 * textmodes/ispell.el (ispell-dictionary-base-alist):
15865 Add data for Hebrew.
15867 2012-04-14 Chong Yidong <cyd@gnu.org>
15869 * net/rcirc.el (rcirc-cmd-quit):
15870 Revert 2012-03-18 change (Bug#11192).
15872 2012-04-14 Glenn Morris <rgm@gnu.org>
15874 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15876 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15878 * minibuffer.el (completion-in-region-mode-map):
15879 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15881 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15883 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15885 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15887 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15888 to allow `C-M-f' and `C-M-b' to move to the nearest path
15889 separator (bug#9511).
15891 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15893 * avoid.el: Require cl when compiling. And also move the
15894 `provide' to the end.
15896 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15898 * avoid.el (mouse-avoidance-banish-position): New variable.
15899 (mouse-avoidance-banish-destination): Use it (bug#10165).
15901 2012-04-13 Leo Liu <sdl.web@gmail.com>
15903 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15905 2012-04-13 Ken Brown <kbrown@cornell.edu>
15907 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15908 this is no longer needed now that cygstart understands file:// URLs.
15909 (browse-url-filename-alist): For the same reason, don't modify
15910 file:// URLs on Cygwin.
15912 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15914 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15915 the region on shift if the binding is already shifted (bug#11221).
15917 2012-04-12 Glenn Morris <rgm@gnu.org>
15919 * mail/mailpost.el: Move to obsolete/.
15921 2012-04-12 Drew Adams <drew.adams@oracle.com>
15923 * imenu.el (imenu--generic-function): Ignore invisible definitions
15926 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15928 * hexl.el (hexl-bits): New variable.
15929 (hexl-options): Mention the variable in the doc string.
15930 (hexl-rulerise, hexl-line-displen): New functions.
15931 (hexl-mode): Mention the new variable.
15932 (hexl-mode, hexl-current-address, hexl-current-address):
15934 (hexl-ascii-start-column): New function.
15935 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15936 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15938 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15940 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15941 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15942 the encoding, as expected by hunspell.
15944 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15946 * battery.el (battery--linux-sysfs-regexp): New const.
15947 (battery-status-function): Use it. Remove yeeloong special case.
15948 (battery-yeeloong-sysfs): Remove.
15949 (battery-echo-area-format): Remove yeeloong special case.
15951 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15953 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15954 Reported by Noah Friedman.
15956 * subr.el (read-passwd): Use read-string.
15958 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15960 * vcursor.el (vcursor-move): Increase the priority of the overlay
15963 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15965 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15966 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15968 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15970 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15971 define-minor-mode (bug#10760).
15973 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15975 * progmodes/grep.el (rgrep): Tweak the find command line so
15976 that directories matching `grep-find-ignored-files' won't be
15977 pruned (bug#10351).
15979 2012-04-11 Chong Yidong <cyd@gnu.org>
15981 * startup.el (command-line): Remove support for long-obsolete
15982 variable font-lock-face-attributes.
15984 2012-04-11 Glenn Morris <rgm@gnu.org>
15986 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15988 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15990 * window.el (window--state-get-1): Obey window-point-insertion-type.
15992 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15994 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15995 to previous function when point is on the first character of a
15996 function. Take care of that in `narrow-to-defun' (bug#6157).
15998 2012-04-11 Glenn Morris <rgm@gnu.org>
16000 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
16001 not just file-errors.
16003 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
16004 (vc-bzr-sha1): Use internal sha1.
16006 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
16010 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
16012 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
16013 that start in the middle of the line (bug#10496).
16015 2012-04-10 Dan Nicolaescu <dann@gnu.org>
16017 * battery.el (battery-linux-proc-acpi): Only one battery is
16018 discharged at a time, but that seems to confuse battery.el when
16019 computing `rate-type' for the battery not being discharged
16022 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16024 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
16026 * international/quail.el: Use dolist and simplify.
16027 (quail-define-package, quail-update-keyboard-layout)
16028 (quail-define-rules): Use dolist.
16029 (quail-insert-kbd-layout, quail-get-translation): CSE.
16031 * tmm.el: Use dolist, remove left over hook.
16032 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
16034 (calendar-load-hook): Don't mess with it.
16036 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
16037 Use derived-mode-p. Run the diff asynchronously.
16039 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16041 * obsolete/mouse-sel.el: Add an Obsolete-since header.
16043 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
16045 * misc.el: Display absolute path of loaded DLLs (bug#10424).
16046 (list-dynamic-libraries--loaded): New function.
16047 (list-dynamic-libraries--refresh): Use it.
16049 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
16051 * progmodes/python.el (python-fill-paragraph):
16052 Make python-fill-region in a multiline string work when font-lock is
16053 disabled (bug#7018).
16055 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
16057 * language/european.el (cp775): Add oem/legacy (en)coding on
16058 DOS/MS Windows for the Baltic languages. There are still plenty
16059 of texts written in this encoding/codepage (bug#6519).
16061 2012-04-10 Glenn Morris <rgm@gnu.org>
16063 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16064 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16066 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
16068 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16069 next-line "n" and previous-line "p" in order to make recentf more
16070 consistent with ibuffer, dired or org-mode (bug#9387).
16072 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16074 * image.el (put-image): Return the overlay created instead of the
16075 optional input string (bug#7834). Note that this may break code
16076 that is (for some reason or other) depending on `put-image'
16077 returning the string.
16079 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16081 * simple.el (zap-to-char): Allow zapping using input methods
16084 * textmodes/fill.el (fill-region): Leave point and mark where they
16085 were before filling (bug#5399).
16087 2012-04-09 Glenn Morris <rgm@gnu.org>
16089 * version.el (emacs-bzr-get-version):
16090 Handle lightweight checkouts of local branches.
16092 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
16094 * international/characters.el: Recover lost case pairs. (Bug#11209)
16096 2012-04-09 Chong Yidong <cyd@gnu.org>
16098 * custom.el (custom-variable-p): Return nil for non-symbol
16099 arguments instead of signaling an error.
16100 (user-variable-p): Obsolete alias for custom-variable-p.
16102 * apropos.el (apropos-variable):
16103 * files-x.el (read-file-local-variable):
16104 * simple.el (set-variable):
16105 * woman.el (woman-mini-help):
16106 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16108 2012-04-09 Glenn Morris <rgm@gnu.org>
16110 * startup.el (normal-top-level): Don't look for leim-list.el
16111 in places where it will not be found. (Bug#910)
16113 * international/mule-cmds.el (set-default-coding-systems):
16114 * files.el (normal-mode):
16115 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
16116 This function was removed with ucs-tables.el in 2008.
16118 2012-04-08 Eli Zaretskii <eliz@gnu.org>
16120 * textmodes/ispell.el (ispell-check-version): For hunspell, set
16121 ispell-encoding8-command to "-i", without a trailing space.
16122 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16123 separate command-line arguments, to specify the encoding, since
16124 that's how hunspell expects it.
16126 2012-04-08 Glenn Morris <rgm@gnu.org>
16128 * loadup.el: Load bindings before cus-start.
16129 This reduces somewhat the number of "rogue" settings in emacs -Q.
16131 2012-04-07 Glenn Morris <rgm@gnu.org>
16133 * version.el (emacs-bzr-get-version): New function.
16134 (emacs-bzr-version): New variable.
16135 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
16136 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16138 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16140 * international/uni-bidi.el, international/uni-category.el:
16141 * international/uni-combining.el, international/uni-decimal.el:
16142 * international/uni-decomposition.el, international/uni-digit.el:
16143 * international/uni-lowercase.el, international/uni-mirrored.el:
16144 * international/uni-name.el, international/uni-numeric.el:
16145 * international/uni-titlecase.el, international/uni-uppercase.el:
16146 Update for Unicode 6.1.
16148 2012-04-07 Eli Zaretskii <eliz@gnu.org>
16150 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16152 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
16154 * window.el (shrink-window): Mention the `window-min-height'
16155 variable in the doc string.
16157 2012-04-05 Bastien Guerry <bzg@altern.org>
16159 * color.el (color-lighten-name): Fix typo.
16161 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16163 * server.el (server--on-display-p): New function.
16164 (server--on-display-p): Use it.
16166 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
16168 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16171 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16173 * comint.el (comint--common-quoted-suffix): Check string boundary
16174 before comparing (bug#11158).
16175 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16177 2012-04-04 Chong Yidong <cyd@gnu.org>
16179 * minibuffer.el (completion-extra-properties): Doc fix.
16181 * subr.el (delayed-warnings-hook): Doc fix.
16183 2012-04-04 Daiki Ueno <ueno@unixuser.org>
16185 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16186 selection (Bug#11159).
16187 (epa-insert-keys): Inform that the default public key will be
16188 exported if no key is selected.
16190 2012-04-04 Richard Stallman <rms@gnu.org>
16192 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16194 2012-04-03 Chong Yidong <cyd@gnu.org>
16196 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16197 mail-insert-file, not its obsolete alias mail-attach-file.
16199 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
16201 * notifications.el (notifications-notify): Fix docstring.
16203 2012-04-02 Glenn Morris <rgm@gnu.org>
16205 * emacs-lisp/authors.el (authors-aliases): Another addition.
16207 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
16209 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16210 `tramp-compat-call-process' instead of `tramp-local-call-process'.
16211 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16213 2012-04-01 Chong Yidong <cyd@gnu.org>
16215 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16216 Handle root directory properly.
16217 (copy-directory): Caller changed.
16219 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16220 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16222 2012-03-31 Glenn Morris <rgm@gnu.org>
16224 * term/xterm.el (xterm-extra-capabilities): Doc fix.
16226 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
16228 * calendar/calendar.el (calendar-window-list)
16229 (calendar-hide-window): Restore. (Bug#11140)
16230 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16232 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16234 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16236 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16237 Check if file is a symlink (Bug#10489).
16239 * files.el (copy-directory): Likewise.
16241 2012-03-30 Chong Yidong <cyd@gnu.org>
16243 * image.el (imagemagick-types-inhibit)
16244 (imagemagick-register-types): Doc fix.
16246 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16248 * textmodes/ispell.el (ispell-get-extended-character-mode):
16249 Disable extended-char-mode for hunspell. hunspell does not support it
16250 and treats ~word as ordinary words in pipe mode.
16252 2012-03-30 Glenn Morris <rgm@gnu.org>
16254 * tutorial.el (help-with-tutorial): Ensure local variables don't
16255 happen to make the buffer read-only. (Bug#11127)
16257 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16259 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16260 (perl-calculate-indent): Return `noindent' in strings.
16262 2012-03-28 Sam Steingold <sds@gnu.org>
16264 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16265 instead of the broken adhockery which does not prevent calendar
16266 buffers from being displayed at random after exit.
16267 (calendar-window-list, calendar-hide-window): Remove the broken
16270 2012-03-28 Glenn Morris <rgm@gnu.org>
16272 * replace.el (query-replace-map): Doc fix.
16274 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
16276 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16277 contents. (Bug#11109)
16279 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16281 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16283 (avl-tree--check, avl-tree--check-node): New funs.
16285 2012-03-27 Martin Rudalics <rudalics@gmx.at>
16287 * window.el (switch-to-visible-buffer): New option.
16288 (switch-to-prev-buffer, switch-to-next-buffer):
16289 Observe switch-to-visible-buffer. Make sure that checking for a window
16290 showing a buffer already is done on the same frame.
16292 2012-03-27 Glenn Morris <rgm@gnu.org>
16294 * startup.el (mail-host-address): Doc fix.
16296 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16298 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16299 than 197 variables.
16301 2012-03-26 Ami Fischman <ami@fischman.org>
16303 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16305 2012-03-26 Glenn Morris <rgm@gnu.org>
16307 * files.el (save-buffers-kill-emacs): Doc fix.
16309 * startup.el (normal-top-level, command-line, command-line-1):
16310 Give them doc strings.
16312 2012-03-25 Eli Zaretskii <eliz@gnu.org>
16314 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16315 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16317 2012-03-25 Chong Yidong <cyd@gnu.org>
16319 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16320 theme if it was previously enabled before (Bug#11031).
16322 * cus-theme.el (custom-theme-write-faces): Retrieve current face
16323 spec with custom-face-get-current-spec if its :shown-value is not
16324 determined yet (Bug#9337).
16325 (customize-create-theme, custom-theme-revert): Doc fixes.
16327 * button.el (button-at): Minor addition to docstring.
16329 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
16331 * vc/vc.el (vc-merge): Fix a prompt.
16333 2012-03-24 Chong Yidong <cyd@gnu.org>
16335 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16338 * button.el (button-at): Minor addition to docstring.
16340 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
16342 * newcomment.el (comment-choose-indent): No space after BOL.
16344 2012-03-22 Sam Steingold <sds@gnu.org>
16346 * window.el (switch-to-prev-buffer): Revert last patch because the
16347 bug turned out to be an advertised feature (Elisp manual 28.14).
16349 2012-03-22 Glenn Morris <rgm@gnu.org>
16351 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
16352 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16354 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16356 * net/network-stream.el (network-stream-open-starttls): Make error
16357 message under Windows be less misleading.
16359 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
16361 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16362 understands (bug#9942).
16364 2012-03-22 Chong Yidong <cyd@gnu.org>
16366 * simple.el (end-of-visible-line): Handle return value of
16367 next-single-property-change properly (Bug#9371).
16369 2012-03-22 Kenichi Handa <handa@m17n.org>
16371 * international/quail.el (quail-insert-kbd-layout): Fix previous
16372 change. To avoid unwanted bidi reordering, use
16373 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16375 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
16377 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16378 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16379 (ruby-beginning-of-indent): Be more careful with the difference
16380 between word-boundary and symbol boundary.
16381 (ruby-mode-syntax-table): Make : a symbol constituent.
16383 2012-03-21 Andreas Politz <politza@fh-trier.de>
16385 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16387 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16389 * progmodes/etags.el (tags-completion-at-point-function):
16392 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16394 2012-03-21 Sam Steingold <sds@gnu.org>
16396 * progmodes/etags.el (tags-completion-at-point-function):
16397 Avoid the error when point is inside the pattern.
16399 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
16401 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16404 2012-03-21 Drew Adams <drew.adams@oracle.com>
16406 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16408 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
16410 * ido.el (ido-set-current-directory, ido-read-internal)
16411 (ido-choose-completion-string, ido-completion-help): Handle nil
16412 value of ido-completion-buffer (Bug#11008).
16414 2012-03-21 Sam Steingold <sds@gnu.org>
16416 * window.el (switch-to-prev-buffer): Do not switch to a visible
16417 window previous buffer, just like with the frame previous buffers.
16419 2012-03-21 Chong Yidong <cyd@gnu.org>
16421 * faces.el (make-face, make-empty-face, copy-face):
16422 * face-remap.el (face-remap-add-relative, face-remap-set-base):
16425 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16427 * wid-edit.el (widget-complete-field): Remove (bug#11051).
16428 (widget-complete): Remove broken use of it.
16430 2012-03-20 Chong Yidong <cyd@gnu.org>
16432 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16433 Use string-width and truncate-string-width to handle arbitrary
16436 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
16438 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16439 to draw rectangles, not squares. (Regression introduced by revno
16440 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16442 2012-03-18 Chong Yidong <cyd@gnu.org>
16444 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16445 it is not yet defined (for temacs).
16447 2012-03-18 Leo Liu <sdl.web@gmail.com>
16449 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16452 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16454 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16455 (ispell-choices-win-default-height, ispell-silently-savep)
16456 (ispell-dictionary-alist, ispell-encoding8-command)
16457 (ispell-check-version, ispell-aspell-find-dictionary)
16458 (ispell-valid-dictionary-list, ispell-words-keyword)
16459 (ispell-get-word, ispell-internal-change-dictionary)
16460 (ispell-region, ispell-skip-region-list)
16461 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16462 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16463 (ispell-message-text-end, ispell-message)
16464 (ispell-buffer-local-parsing): Doc fix.
16466 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
16468 * htmlfontify.el: Add support for code block fontification for ODT
16469 export (Bug #9914).
16470 (hfy-optimisations): Define new option
16472 (hfy-fontify-buffer): Honor above setting.
16473 (hfy-begin-span, hfy-end-span): New routines factored out form
16474 `hfy-fontify-buffer'.
16475 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16476 that permit insertion of custom tags.
16477 (hfy-fontify-buffer): Use above handlers.
16478 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16479 (hfy-face-to-css): Re-defined to be a variable.
16480 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16481 over multiple runs. This is made possible by having the caller let
16482 bind a special variable `hfy-user-sheet-assoc'.
16483 (htmlfontify-string): New defun.
16484 (hfy-compile-face-map): Make sure that the last char in the
16485 buffer is correctly fontified.
16486 (hfy-face-resolve-face): Whitespace only change.
16488 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16490 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16491 message more clear.
16493 2012-03-16 Leo Liu <sdl.web@gmail.com>
16495 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16497 2012-03-16 Alan Mackenzie <acm@muc.de>
16499 Further optimize the handling of large macros.
16501 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16502 limit to a call of `c-literal-limits'.
16503 (c-determine-+ve-limit): New function.
16504 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16505 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16506 In CASE 5B, restrict a search limit to 500.
16507 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16509 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16510 Restrict macro bounds to +-500 from after-change's BEG END.
16512 2012-03-16 Leo Liu <sdl.web@gmail.com>
16514 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16516 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16518 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16519 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16521 2012-03-16 Glenn Morris <rgm@gnu.org>
16523 * view.el (view-buffer, view-buffer-other-window)
16524 (view-buffer-other-frame): Doc fixes re special mode-class.
16526 * subr.el (eval-after-load): If named feature is provided not from
16527 a file, run after-load forms. (Bug#10946)
16529 * calendar/calendar.el (calendar-insert-at-column):
16530 Handle non-unit-width characters a bit better. (Bug#10978)
16532 2012-03-15 Chong Yidong <cyd@gnu.org>
16534 * emacs-lisp/ring.el (ring-extend): New function.
16535 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16537 * comint.el (comint-read-input-ring)
16538 (comint-add-to-input-history): Grow comint-input-ring lazily.
16540 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16542 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16543 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16545 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16546 (imenu-add-to-menubar): Don't add a redundant index.
16547 (imenu-update-menubar): Handle a dynamically composed keymap.
16549 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16551 * mail/sendmail.el (mail-encode-header):
16552 Bind rfc2047-encode-encoded-words to nil.
16554 2012-03-13 Glenn Morris <rgm@gnu.org>
16556 * calendar/calendar.el (calendar-string-spread):
16557 Handle non-unit-width characters a bit better. (Bug#10978)
16559 2012-03-13 Leo Liu <sdl.web@gmail.com>
16561 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16562 directory and file as argument (Bug#10822).
16564 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16566 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16567 For dynamically generated code, follow $PC.
16568 (gdb-disassembly-handler-custom): Handle no function name case.
16570 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16572 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16573 * emulation/ws-mode.el (ws-query-replace):
16574 * sort.el (sort-regexp-fields):
16575 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16577 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16579 * dabbrev.el: Fix cycle completion order (bug#10963).
16580 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16581 (dabbrev-completion): Don't use an obarray; provide
16582 a cycle-sort-function.
16584 2012-03-12 Leo Liu <sdl.web@gmail.com>
16586 * simple.el (kill-new): Use equal-including-properties for comparison.
16587 (kill-do-not-save-duplicates): Doc fix.
16589 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16591 * dabbrev.el: Fix cycle completion (bug#10963).
16592 Use lexical binding and wrap to 80 columns.
16593 (dabbrev-completion): Delay computing the list of completions.
16595 2012-03-12 Kenichi Handa <handa@m17n.org>
16597 * international/quail.el (quail-insert-kbd-layout): Surround each
16598 row by LRO and PDF instead of inserting many LRMs. Pad the left
16599 and right of each non-spacing marks. Insert invisible space
16600 between lower and upper characters to prevent composition.
16602 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16604 * minibuffer.el (minibuffer-complete): Don't get confused when the
16605 function is run twice via different commands (bug#10958).
16606 (complete-with-action): Fix docstring.
16608 2012-03-12 Chong Yidong <cyd@gnu.org>
16610 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16611 (nxml-completion-at-point-function): New function.
16612 (nxml-mode): Use it.
16613 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16615 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16616 Load generated autoloads file before byte compiling (Bug#10970).
16617 (package--make-autoloads-and-compile): New helper fun.
16619 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16621 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16623 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16625 * autorevert.el (auto-revert-handler): Ensure, that
16626 file-readable-p is applied only for local files or in
16627 auto-revert-tail-mode.
16629 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16631 * server.el (server-eval-at): Handle non-tcp connections.
16632 Decode result string.
16634 * server.el (server-msg-size): New constant.
16635 (server-reply-print): New function.
16636 (server-eval-and-print): Use it.
16637 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16638 Handle -print-nonl.
16640 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16642 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16645 2012-03-11 Chong Yidong <cyd@gnu.org>
16647 * simple.el (goto-line): Doc fix (Bug#9938).
16649 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16651 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16652 when finished (Bug#10963).
16654 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16656 * window.el (split-window-below): Fix bug in case where
16657 split-window-keep-point is nil (Bug#10971).
16659 2012-03-11 Juri Linkov <juri@jurta.org>
16661 * replace.el (replace-highlight): Set isearch-word to nil
16662 unconditionally. (Bug#10887)
16664 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16666 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16667 mairix-replace-illegal-chars; all callers changed. Don't remove
16668 ^, ~, and = characters: they are meaningful in mairix search specs.
16669 (mairix-widget-create-query): Add usage information about mairix
16670 search forms: negating words, searching for substrings, etc.
16672 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16674 * international/fontset.el (font-encoding-alist): Add an entry for
16675 ksx1001 (Bug#5667).
16677 2012-03-10 Richard Stallman <rms@gnu.org>
16679 * mail/sendmail.el (mail-encode-header):
16680 Set rfc2047-encode-encoded-words.
16682 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16684 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16685 view buffer means not swapped.
16686 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16687 (rmail-write-region-annotate): Error if real text has disappeared.
16689 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16691 2012-03-10 Chong Yidong <cyd@gnu.org>
16693 * emulation/cua-rect.el (cua--init-rectangles):
16694 * emulation/cua-base.el (cua--init-keymaps):
16695 Add delete-forward-char to remappings (Bug#9666).
16697 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16699 * speedbar.el (speedbar-unhighlight-one-tag-line):
16700 Avoid unhighlighting due to frame switching (Bug#10275).
16702 2012-03-10 Chong Yidong <cyd@gnu.org>
16704 * minibuffer.el (completion-in-region, completion-help-at-point):
16705 Give the completion field overlay a high priority (Bug#6830).
16707 * dired.el (dired-goto-file): Recognize absolute file name
16708 listings (Bug#7126).
16709 (dired-goto-file-1): New helper function.
16710 (dired-toggle-read-only): Inhibit warnings.
16712 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16714 * net/dbus.el (dbus-property-handler): Return empty array if
16715 there are no properties.
16717 2012-03-09 Leo Liu <sdl.web@gmail.com>
16719 * savehist.el (savehist-printable): Stricter check for string
16722 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16724 * mail/smtpmail.el (smtpmail-send-it):
16725 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16728 2012-03-09 Glenn Morris <rgm@gnu.org>
16730 * files.el (dir-locals-find-file):
16731 Don't check result is regular, readable.
16732 (dir-locals-read-from-file): Demote errors.
16734 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16736 * international/quail.el (quail-insert-kbd-layout):
16737 Insert invisible LRM characters before each character in a keyboard
16738 layout cell, to prevent their reordering by bidi display engine.
16739 For details, see the discussion in
16740 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16742 2012-03-08 Alan Mackenzie <acm@muc.de>
16744 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16745 the starting position; make it extend the marked region when
16746 invoked repeatedly - all under appropriate circumstances.
16747 Fixes bugs #5525, #10906.
16749 2012-03-08 Glenn Morris <rgm@gnu.org>
16751 * files.el (locate-dominating-file, dir-locals-find-file):
16752 Undo 2012-03-06 change.
16754 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16756 * international/quail.el (quail-help):
16757 Force bidi-paragraph-direction be left-to-right. See discussion in
16758 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16761 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16763 Avoid superfluous registering of signals. (Bug#10807)
16765 * notifications.el (notifications-on-action-object)
16766 (notifications-on-close-object): New defvars.
16767 (notifications-on-action-signal, notifications-on-closed-signal):
16768 Unregister the signal if not needed any longer.
16769 (notifications-notify): Register `notifications-action-signal' or
16770 `notifications-closed-signal', if :on-action or :on-close has been
16771 passed as argument.
16773 2012-03-07 Chong Yidong <cyd@gnu.org>
16775 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16778 2012-03-06 Glenn Morris <rgm@gnu.org>
16780 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16781 (x-disown-selection-internal, x-get-selection-internal):
16782 Doc fix (add arglist signatures). (Bug#10783)
16784 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16786 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16787 Handle breakpoints with no "type".
16789 2012-03-06 Glenn Morris <rgm@gnu.org>
16791 * files.el (locate-dominating-file): Add optional predicate argument.
16792 (dir-locals-find-file): Make use of above change.
16794 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16796 * info.el (Info-insert-dir): Also try "dir.gz".
16798 2012-03-06 Glenn Morris <rgm@gnu.org>
16800 * files.el (dir-locals-find-file):
16801 Ignore non-readable or non-regular files. (Bug#10928)
16803 * files.el (locate-dominating-file): Doc fix.
16805 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16807 * calendar/calendar.el (calendar-set-mode-line):
16808 `getenv' returns a string. (Bug#10951)
16810 2012-03-05 Leo Liu <sdl.web@gmail.com>
16812 * simple.el (backward-delete-char-untabify): Constrain point to
16815 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16817 2012-03-05 Chong Yidong <cyd@gnu.org>
16819 * simple.el (count-words): If called from Lisp, return the word
16820 count, for symmetry with `count-lines'. Arglist changed.
16821 (count-words--message): Args changed. Consolidate counting code
16822 from count-words and count-words-region.
16823 (count-words-region): Caller changed.
16824 (count-lines-region): Make it an obsolete alias.
16826 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16828 * saveplace.el (save-place-to-alist)
16829 (save-place-ignore-files-regexp): Allow value nil to disable this
16832 2012-03-04 Chong Yidong <cyd@gnu.org>
16834 * faces.el (face-spec-reset-face): For the default face, reset the
16835 attributes to default values (Bug#10748).
16837 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16839 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16840 previous patch: Check `message-send-mail-function', and not the
16841 default function (bug#10897).
16843 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16845 * notifications.el (notifications-on-action-signal)
16846 (notifications-on-closed-signal): Check for unique service name of
16847 incoming event. Fix error in removing entry.
16848 (top): Register for signals with wildcard service name.
16849 (notifications-notify): Use daemon unique service name for map entries.
16851 2012-03-04 Chong Yidong <cyd@gnu.org>
16853 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16855 2012-03-04 Glenn Morris <rgm@gnu.org>
16857 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16858 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16859 (expand-abbrev, define-abbrev-table): Doc fixes.
16861 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16863 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16864 `message-default-send-mail-function' and not `send-mail-function'
16865 when doing the prompting for `sendmail-query-once' before sending
16866 in Message buffers (bug#10897).
16868 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16869 This is inconsistent with all the other stream functions, which leave
16870 the setting up to the higher levels (if so wanted) (bug#10931).
16872 2012-03-02 Alan Mackenzie <acm@muc.de>
16874 Depessimize the handling of very large macros.
16876 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16877 (c-macro-cache-syntactic): New variables to implement a one
16878 element macro cache.
16879 (c-invalidate-macro-cache): New function.
16880 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16881 Adapt to use the new cache.
16882 (c-state-safe-place): Use better the cache of safe positions.
16883 (c-state-semi-nonlit-pos-cache)
16884 (c-state-semi-nonlit-pos-cache-limit):
16885 New variables for...
16886 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16887 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16888 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16889 Use c-state-semi-safe-place.
16891 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16892 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16894 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16896 * jka-compr.el (jka-compr-call-process):
16897 Apply `file-accessible-directory-p' only when the default directory is
16900 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16902 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16903 access of FILE2, if FILE1 does not exist.
16905 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16906 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16908 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16909 Add "PAGER=" to `process-environment'.
16911 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16913 * progmodes/sql.el: Bug fix
16914 (sql-get-login-ext): Save login values in globals.
16915 (sql-get-login): Use new version of `sql-get-login-ext'.
16916 (sql-interactive-mode): Set global `sql-connection' to nil.
16917 (sql-connect): Set global values for connection.
16918 (sql-product-interactive): Save global values as buffer local.
16920 2012-02-29 Leo Liu <sdl.web@gmail.com>
16922 * abbrev.el (define-abbrevs): Reset sys to nil.
16924 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16926 * files.el (file-equal-p): Rename from `files-equal-p'.
16927 Return nil when one or both files don't exist.
16928 (file-subdir-of-p): Now only top directory must exists,
16929 return nil if it doesn't.
16930 (copy-directory): No need to test with `file-subdir-of-p' after
16932 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16935 2012-02-28 Glenn Morris <rgm@gnu.org>
16937 * shell.el (shell-mode):
16938 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16939 * play/landmark.el (landmark-font-lock-face-O):
16940 * play/handwrite.el (handwrite):
16941 * play/gomoku.el (gomoku-O):
16942 * net/browse-url.el (browse-url-browser-display):
16943 * international/mule.el (define-charset):
16944 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16945 * filesets.el (filesets-find-file-delay):
16946 * eshell/em-xtra.el (eshell-xtra):
16947 * eshell/em-unix.el (eshell-grep):
16948 * emulation/viper.el (viper-mode):
16949 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16950 * emacs-lisp/easymenu.el (easy-menu-define):
16951 * calendar/timeclock.el (timeclock-use-display-time):
16953 * bookmark.el (bookmark-save-flag):
16954 Doc fix (standardize possessive apostrophe usage).
16956 2012-02-27 Chong Yidong <cyd@gnu.org>
16958 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16959 Fix key-binding lookup for ESC key (Bug#9146).
16961 * font-lock.el (font-lock-specified-p): Rename from
16962 font-lock-spec-present. Callers changed.
16964 2012-02-27 Daniel Hackney <dan@haxney.org>
16966 * emacs-lisp/package.el (package-compute-transaction):
16967 Handle holding a package version to t in package-load-list.
16969 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16971 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16972 (tramp-get-inode, tramp-get-device): Use cached values.
16974 2012-02-26 Alan Mackenzie <acm@muc.de>
16976 Check there is a font-lock specification before doing initial
16979 * font-core.el (font-lock-mode): Move the conditional from
16980 :after-hook to font-lock-initial-fontify.
16981 (font-lock-default-function): Move the check for a specification
16982 to font-lock-spec-present.
16984 * font-lock.el (font-lock-initial-fontify): Call ...
16985 (font-lock-spec-present): New function.
16987 2012-02-26 Jim Blandy <jimb@red-bean.com>
16989 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16990 (gdb-send): Apply it to the operand of the '-interpreter-exec
16991 console' command, so that we can pass arguments with (say) quotes
16992 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16994 2012-02-26 Chong Yidong <cyd@gnu.org>
16996 * help-fns.el (describe-function-1): Clarify description of
16997 remapping (Bug#10844).
16999 * files.el (files-equal-p): Doc fix.
17000 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
17001 and quit the loop once a mismatch is found.
17003 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
17005 * bs.el (bs--show-with-configuration): Don't throw an error
17006 if the window cannot be split; otherwise, subsequent calls to
17007 bs-show fail, restoring a stale window config. (Bug#10882)
17009 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
17011 * term/ns-win.el (global-map): Bind ns-drag-file to
17012 ns-find-file (Bug#5855, Bug#10050).
17014 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
17016 * calendar/parse-time.el (parse-time-string): Allow extractor to
17019 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
17021 * net/tramp.el (tramp-file-name-for-operation):
17022 Add `files-equal-p' and `file-subdir-of-p'.
17024 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17025 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17026 Add COPY-CONTENTS argument.
17028 2012-02-25 Chong Yidong <cyd@gnu.org>
17030 Add custom groups for VC backends, for consistency with vc-bzr.
17032 * vc/vc-arch.el (vc-arch):
17033 * vc/vc-cvs.el (vc-cvs):
17034 * vc/vc-git.el (vc-git):
17035 * vc/vc-hg.el (vc-hg):
17036 * vc/vc-mtn.el (vc-mtn):
17037 * vc/vc-rcs.el (vc-rcs):
17038 * vc/vc-sccs.el (vc-sccs):
17039 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17040 All relevant defcustoms reassigned.
17042 2012-02-25 Chong Yidong <cyd@gnu.org>
17044 * newcomment.el (comment-styles): Add autoload (Bug#10868).
17046 * term/x-win.el (x-initialize-window-system): Reduce default for
17047 x-selection-timeout to 5 seconds (Bug#8869).
17049 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17051 * files.el (files-equal-p, file-subdir-of-p): New functions.
17052 (copy-directory): Error when trying to copy a directory on itself.
17053 Add missing copy-contents arg to tramp handler.
17054 * dired-aux.el (dired-copy-file-recursive): Same.
17055 (dired-create-files): Modify destination when source is equal to
17056 dest when copying files.
17057 Return also when dest is a subdir of source. (Bug#10489)
17059 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
17061 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17064 2012-02-23 Alan Mackenzie <acm@muc.de>
17066 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17067 parameter "after-hook:" to allow the expansion to run code after
17068 the execution of the mode hooks.
17070 * font-lock.el (font-lock-initial-fontify): New function extracted
17071 from font-lock-mode-internal.
17073 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17076 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17078 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17079 (completion--cache-all-sorted-completions): New function.
17080 (completion-all-sorted-completions): Use it.
17081 (completion--do-completion, minibuffer-force-complete):
17082 Use it to re-instate the flush hook.
17084 * icomplete.el (icomplete-completions): Replace last fix with a better
17087 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
17089 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17090 when it might call us back infinitely (bug#10797).
17092 2012-02-23 Glenn Morris <rgm@gnu.org>
17094 * minibuffer.el (completion-category-overrides): Doc fix.
17096 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * minibuffer.el (completion-table-with-context): Fix inf-loop.
17099 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17101 2012-02-23 Glenn Morris <rgm@gnu.org>
17103 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17104 (authors-obsolete-files-regexps, authors-ignored-files)
17105 (authors-ambiguous-files, authors-renamed-files-alist):
17108 2012-02-23 Juri Linkov <juri@jurta.org>
17110 * isearch.el (isearch-occur): Sync interactive spec with occur's
17111 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
17113 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17115 2012-02-22 Juri Linkov <juri@jurta.org>
17117 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17118 (ucs-insert): Doc fix. Check for hex digits in the string.
17119 Don't display `nil' in the error message. (Bug#10857)
17121 2012-02-22 Alan Mackenzie <acm@muc.de>
17123 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17125 2012-02-22 Glenn Morris <rgm@gnu.org>
17127 * ffap.el (ffap-c-path):
17128 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
17130 2012-02-22 Chong Yidong <cyd@gnu.org>
17132 * custom.el (load-theme): Doc fix.
17134 2012-02-22 Glenn Morris <rgm@gnu.org>
17136 * dired-x.el (dired-guess-shell-alist-default):
17137 Remove escape sequences from nroff output. (Bug#172)
17139 2012-02-21 Glenn Morris <rgm@gnu.org>
17141 * vc/emerge.el (emerge-defvar-local):
17142 Set `permanent-local' property rather than unused `preserved'.
17144 * textmodes/picture.el (picture-delete-char): New alias.
17145 (picture-mode-map): Use it. (Bug#10860)
17146 (picture-mode): Doc fix.
17148 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
17150 * newcomment.el (uncomment-region-default): Remove unused binding.
17152 2012-02-21 Glenn Morris <rgm@gnu.org>
17154 * textmodes/picture.el (picture-motion, picture-motion-reverse)
17155 (picture-self-insert, picture-tab-chars): Doc fix.
17156 (picture-mode-map): Fix C-a, C-e.
17158 2012-02-20 Glenn Morris <rgm@gnu.org>
17160 * emacs-lisp/authors.el (authors-aliases): Add another entry.
17162 2012-02-20 Leo Liu <sdl.web@gmail.com>
17164 * icomplete.el (icomplete-completions): Check FROM arg before
17165 passing to substring (Bug#10850).
17167 2012-02-19 Chong Yidong <cyd@gnu.org>
17169 * comint.el: Require ansi-color.
17170 (comint-output-filter-functions): Add ansi-color-process-output.
17172 * ansi-color.el: Don't set comint-output-filter-functions; it is
17173 now in the initial value defined in comint.el.
17174 (ansi-color-apply-face-function): New variable.
17175 (ansi-color-apply-on-region): Use it.
17176 (ansi-color-apply-overlay-face): New function.
17178 * shell.el (shell): No need to require ansi-color.
17179 (shell-mode): Use ansi-color-apply-face-function to highlight
17180 color escapes using font-lock-face property (Bug#10835).
17182 2012-02-19 Chong Yidong <cyd@gnu.org>
17184 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17185 mode-line formats (Bug#10839).
17187 2012-02-18 Glenn Morris <rgm@gnu.org>
17189 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17191 * mail/undigest.el (unforward-rmail-message): Doc fix.
17193 * saveplace.el (save-place-ignore-files-regexp): Add :version.
17195 2012-02-18 Eli Zaretskii <eliz@gnu.org>
17197 * international/characters.el (script-list): Sync with the latest
17198 Unicode Character Database.
17200 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
17202 * international/titdic-cnv.el: Remove duplicate coding tag.
17203 * language/cham.el: Likewise.
17204 * language/tai-viet.el: Likewise.
17206 2012-02-18 Glenn Morris <rgm@gnu.org>
17208 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17209 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17210 (calendar-bahai-all-holidays-flag, calendar-other-dates):
17211 * calendar/diary-lib.el (diary-abbreviated-year-flag):
17212 * calendar/holidays.el (holiday-bahai-holidays)
17213 (calendar-holidays, list-holidays):
17214 Use utf-8 Bahá'í in doc-strings, menus, etc.
17216 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
17218 * saveplace.el (save-place-ignore-files-regexp): New variable
17219 allowing for excluding files from saving their location of point.
17220 The default value matches the temporary commit message editing
17221 files from Git, SVN, Bazaar, and Mercurial.
17222 (save-place-to-alist): Use it.
17224 2012-02-17 Lawrence Mitchell <wence@gmx.li>
17225 Stefan Monnier <monnier@iro.umontreal.ca>
17227 * newcomment.el (uncomment-region-default): Don't leave extra space
17228 when an arg is provided (bug#8150).
17230 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
17232 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17234 2012-02-17 Glenn Morris <rgm@gnu.org>
17236 * net/socks.el: Require network-stream. (Bug#10599)
17238 2012-02-17 Kenichi Handa <handa@m17n.org>
17240 * international/charprop.el:
17241 * international/uni-name.el:
17242 * international/uni-old-name.el:
17243 * international/uni-comment.el: Regenerate.
17245 2012-02-16 Glenn Morris <rgm@gnu.org>
17247 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17248 Interactively in calendar buffer, give an error if not on a date.
17250 2012-02-15 Glenn Morris <rgm@gnu.org>
17252 * shell.el (shell-delimiter-argument-list):
17253 Revert 2011-02-17 change. (Bug#8027)
17255 2012-02-15 Chong Yidong <cyd@gnu.org>
17257 * minibuffer.el (completion-at-point-functions): Doc fix.
17259 * custom.el (defcustom): Doc fix; note use of defvar.
17261 2012-02-15 Glenn Morris <rgm@gnu.org>
17263 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17266 2012-02-14 Glenn Morris <rgm@gnu.org>
17268 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17270 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
17272 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17273 way the ports list is computed.
17274 (smtpmail-query-smtp-server): Prompt the user for a port number if
17275 we can't connect to any of the standard ports (bug#10810).
17277 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
17279 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17281 2012-02-13 Glenn Morris <rgm@gnu.org>
17283 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
17285 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
17287 * net/gnutls.el (gnutls-trustfiles): New variable.
17288 (gnutls-negotiate): Use it.
17290 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
17292 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17293 does its stuff if Gnus is running.
17295 2012-02-13 Alan Mackenzie <acm@muc.de>
17297 Fix a loop in c-set-fl-decl-start.
17299 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17300 c-backward-syntactic-ws actually moves backwards.
17302 2012-02-13 Leo Liu <sdl.web@gmail.com>
17304 * net/rcirc.el (rcirc-markup-attributes): Move point to the
17305 beginning so that all \C-o chars are removed.
17307 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
17309 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17311 2012-02-12 Alan Mackenzie <acm@muc.de>
17313 Fix infinite loop with long macros.
17314 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17316 2012-02-12 Chong Yidong <cyd@gnu.org>
17318 * window.el (display-buffer): Doc fix (Bug#10785).
17320 2012-02-12 Glenn Morris <rgm@gnu.org>
17322 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17323 (x-disown-selection-internal, x-get-selection-internal):
17324 Sync docs with the xselect.c versions.
17326 * allout-widgets.el: Add missing license notice.
17328 2012-02-11 Glenn Morris <rgm@gnu.org>
17330 * select.el (x-get-selection-internal, x-own-selection-internal)
17331 (x-disown-selection-internal):
17332 * x-dnd.el (x-get-selection-internal): Update declarations.
17334 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17336 * window.el (window-sides-slots):
17337 * tool-bar.el (tool-bar-position):
17338 * term/xterm.el (xterm-extra-capabilities):
17339 * ses.el (ses-self-reference-early-detection):
17340 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17341 (verilog-auto-wire-type)
17342 (verilog-auto-delete-trailing-whitespace)
17343 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17344 (verilog-auto-tieoff-declaration):
17345 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17346 (sql-oracle-statement-starters, sql-oracle-scan-on):
17347 * progmodes/prolog.el (prolog-align-comments-flag)
17348 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17349 (prolog-left-indent-regexp, prolog-paren-indent-p)
17350 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17351 (prolog-types, prolog-mode-specificators)
17352 (prolog-determinism-specificators, prolog-directives)
17353 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17354 (prolog-electric-dot-flag)
17355 (prolog-electric-dot-full-predicate-template)
17356 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17357 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17358 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17359 (prolog-program-switches, prolog-prompt-regexp)
17360 (prolog-debug-on-string, prolog-debug-off-string)
17361 (prolog-trace-on-string, prolog-trace-off-string)
17362 (prolog-zip-on-string, prolog-zip-off-string)
17363 (prolog-use-standard-consult-compile-method-flag)
17364 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17365 (prolog-imenu-max-lines, prolog-info-predicate-index)
17366 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17367 (prolog-char-quote-workaround):
17368 * progmodes/cc-vars.el (c-defun-tactic):
17369 * net/tramp.el (tramp-encoding-command-interactive)
17370 (tramp-local-end-of-line):
17371 * net/soap-client.el (soap-client):
17372 * net/netrc.el (netrc-file):
17373 * net/gnutls.el (gnutls):
17374 * minibuffer.el (completion-category-overrides)
17375 (completion-cycle-threshold)
17376 (completion-pcm-complete-word-inserts-delimiters):
17377 * man.el (Man-name-local-regexp):
17378 * mail/feedmail.el (feedmail-display-full-frame):
17379 * international/characters.el (glyphless-char-display-control):
17380 * eshell/em-ls.el (eshell-ls-date-format):
17381 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17382 (lisp-lambda-list-keyword-parameter-indentation)
17383 (lisp-lambda-list-keyword-parameter-alignment):
17384 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17385 * dired-x.el (dired-omit-verbose):
17386 * cus-theme.el (custom-theme-allow-multiple-selections):
17387 * calc/calc.el (calc-highlight-selections-with-faces)
17388 (calc-lu-field-reference, calc-lu-power-reference)
17389 (calc-note-threshold):
17390 * battery.el (battery-mode-line-limit):
17391 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17392 (archive-7z-update):
17393 * allout.el (allout-prefixed-keybindings)
17394 (allout-unprefixed-keybindings)
17395 (allout-inhibit-auto-fill-on-headline)
17396 (allout-flattened-numbering-abbreviation):
17397 * allout-widgets.el (allout-widgets-auto-activation)
17398 (allout-widgets-icons-dark-subdir)
17399 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17400 (allout-widgets-theme-dark-background)
17401 (allout-widgets-theme-light-background)
17402 (allout-widgets-item-image-properties-emacs)
17403 (allout-widgets-item-image-properties-xemacs)
17404 (allout-widgets-run-unit-tests-on-load)
17405 (allout-widgets-time-decoration-activity)
17406 (allout-widgets-hook-error-post-time)
17407 (allout-widgets-track-decoration):
17408 Add missing :version tags to new defcustoms and defgroups.
17410 * progmodes/sql.el (sql-ansi-statement-starters)
17411 (sql-oracle-statement-starters): Add custom type.
17413 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17414 (prolog-system-version): Give it a type.
17416 2012-02-11 Eli Zaretskii <eliz@gnu.org>
17418 * term/pc-win.el (x-select-text, x-selection-owner-p)
17419 (x-own-selection-internal, x-disown-selection-internal)
17420 (x-get-selection-internal): Sync doc strings and argument lists
17421 with xselect.c, common-win.el and x-win.el. (Bug#10783)
17423 2012-02-11 Leo Liu <sdl.web@gmail.com>
17425 * progmodes/python.el (python-end-of-statement): Fix infinite
17428 2012-02-10 Glenn Morris <rgm@gnu.org>
17430 * international/mule-cmds.el (unify-8859-on-encoding-mode)
17431 (unify-8859-on-decoding-mode): Properly mark as obsolete.
17433 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
17435 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17436 about SMTP before checking the From header.
17438 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17439 into own function for reuse by emacsbug.el.
17441 2012-02-10 Leo Liu <sdl.web@gmail.com>
17443 * subr.el (condition-case-unless-debug): Rename from
17444 condition-case-no-debug. All callers changed.
17445 (with-demoted-errors): Fix caller.
17447 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17448 * nxml/rng-valid.el (rng-do-some-validation):
17449 * emacs-lisp/package.el (package-refresh-contents)
17450 (package-menu-execute):
17451 * desktop.el (desktop-create-buffer):
17452 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17454 2012-02-10 Glenn Morris <rgm@gnu.org>
17456 * textmodes/bibtex.el:
17457 Add missing :version tags for new/changed defcustoms.
17459 * files.el (remote-file-name-inhibit-cache): Doc fixes.
17461 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
17463 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17464 (smtpmail-via-smtp): Use it, or fall back on the From address.
17465 (smtpmail-send-it): Ditto.
17467 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
17469 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17470 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17471 (byte-compile-tmp-var): New const.
17472 (byte-compile-defvar): Use it to minimize .elc size.
17473 Just use `defvar' rather than simulate it (bug#10761).
17475 2012-02-09 Glenn Morris <rgm@gnu.org>
17477 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17479 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17482 * progmodes/compile.el (compilation-error-screen-columns)
17483 (compilation-first-column, compilation-filter-start): Doc fixes.
17485 * vc/log-view.el (log-view-toggle-entry-display):
17486 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17488 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17489 (report-emacs-bug-can-use-xdg-email):
17490 (report-emacs-bug-insert-to-mailer): Doc fixes.
17491 (report-emacs-bug): Message fix.
17493 * net/browse-url.el (browse-url-can-use-xdg-open)
17494 (browse-url-xdg-open): Doc fixes.
17496 * electric.el (electric-indent-mode, electric-pair-mode)
17497 (electric-layout-rules, electric-layout-mode): Doc fixes.
17498 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17500 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17502 * server.el (server-unselect-display): Don't inadvertently kill
17503 the current buffer. (Bug#10729)
17505 2012-02-08 Glenn Morris <rgm@gnu.org>
17507 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17508 (sql-list-table): Doc fixes.
17510 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17511 Comment out (does nothing).
17513 * completion.el (dynamic-completion-mode):
17514 * dirtrack.el (dirtrack-debug-mode):
17515 * electric.el (electric-layout-mode):
17516 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17517 * face-remap.el (text-scale-mode, buffer-face-mode):
17518 * iimage.el (iimage-mode):
17519 * image-mode.el (image-transform-mode):
17520 * minibuffer.el (completion-in-region-mode):
17521 * scroll-lock.el (scroll-lock-mode):
17522 * simple.el (next-error-follow-minor-mode):
17523 * tar-mode.el (tar-subfile-mode):
17524 * tooltip.el (tooltip-mode):
17525 * vcursor.el (vcursor-use-vcursor-map):
17526 * wid-browse.el (widget-minor-mode):
17527 * emulation/tpu-edt.el (tpu-edt-mode):
17528 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17529 * international/iso-ascii.el (iso-ascii-mode):
17530 * language/thai-util.el (thai-word-mode):
17531 * mail/supercite.el (sc-minor-mode):
17532 * net/goto-addr.el (goto-address-mode):
17533 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17534 * progmodes/cwarn.el (cwarn-mode):
17535 * progmodes/flymake.el (flymake-mode):
17536 * progmodes/glasses.el (glasses-mode):
17537 * progmodes/hideshow.el (hs-minor-mode):
17538 * progmodes/pascal.el (pascal-outline-mode):
17539 * textmodes/enriched.el (enriched-mode):
17540 * vc/smerge-mode.el (smerge-mode):
17541 Doc fixes (minor mode argument).
17543 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17545 * ls-lisp.el (ls-lisp-sanitize): New function.
17546 (ls-lisp-insert-directory): Use it to fix or remove any elements
17547 in file-alist with missing attributes. (Bug#4673)
17549 2012-02-07 Alan Mackenzie <acm@muc.de>
17551 Fix spurious recognition of c-in-knr-argdecl.
17553 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17554 putative K&R region.
17556 2012-02-07 Alan Mackenzie <acm@muc.de>
17558 * progmodes/cc-engine.el (c-forward-objc-directive):
17559 Prevent looping in "#pragma mark @implementation".
17561 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17563 * notifications.el (notifications-on-closed-signal): Make `reason'
17564 optional. (Bug#10744)
17566 2012-02-07 Glenn Morris <rgm@gnu.org>
17568 * emacs-lisp/easy-mmode.el (define-minor-mode):
17569 Doc fixes for the macro and the mode it defines.
17571 * image.el (imagemagick-types-inhibit): Doc fix.
17573 * cus-start.el (imagemagick-render-type): Add it.
17575 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17577 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17578 Set the default at load time, too, so that `font-lock-fontify-buffer'
17579 can be called without setting up the entire mode first. This fixes
17580 a bug in `mm-inline-text' with C MIME parts.
17582 2012-02-06 Chong Yidong <cyd@gnu.org>
17584 * simple.el (list-processes--refresh): Delete exited processes
17587 * comint.el (comint-next-prompt): next-single-char-property-change
17588 and prev-single-char-property-change never return nil (Bug#8657).
17590 * custom.el (defcustom): Doc fix (Bug#9711).
17592 2012-02-05 Chong Yidong <cyd@gnu.org>
17594 * cus-edit.el (custom-variable-reset-backup): Quote the value
17595 before storing it in the customized-value property (Bug#6712).
17596 (custom-display): Add a customization type tag.
17597 (custom-buffer-create-internal): Improve tooltip message.
17599 * wid-edit.el (widget-field-value-get): New optional arg to
17600 suppress trailing whitespace truncation.
17601 (character): Use it (Bug#2689).
17603 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17605 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17606 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17608 2012-02-05 Chong Yidong <cyd@gnu.org>
17610 * cus-edit.el (custom-variable-value-create): For mismatched
17611 types, show the current value (Bug#7600).
17613 * custom.el (defcustom): Doc fix.
17615 2012-02-05 Glenn Morris <rgm@gnu.org>
17617 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17619 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17621 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17622 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17623 (pp-last-sexp): Use `looking-at-p'.
17625 2012-02-04 Glenn Morris <rgm@gnu.org>
17627 * files.el (revert-buffer):
17628 Doc fix (mention revert-buffer-in-progress-p).
17630 * emacs-lisp/ert-x.el (ert-simulate-command):
17631 Check deferred-action-list (which is obsolete) is bound.
17633 * subr.el (with-wrapper-hook): Doc fixes.
17635 * simple.el (filter-buffer-substring-functions)
17636 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17638 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17640 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17641 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17643 2012-02-04 Leo Liu <sdl.web@gmail.com>
17645 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17647 2012-02-04 Glenn Morris <rgm@gnu.org>
17649 * image.el (image-extension-data): Add obsolete alias.
17651 * isearch.el (isearch-update): Doc fix.
17653 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17655 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17657 2012-02-03 Glenn Morris <rgm@gnu.org>
17659 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17660 (image-animate-timeout): Doc fix.
17662 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17664 2012-02-02 Glenn Morris <rgm@gnu.org>
17666 * server.el (server-auth-dir): Doc fix.
17667 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17669 * subr.el (run-mode-hooks): Doc fix.
17671 2012-02-02 Juri Linkov <juri@jurta.org>
17673 * image-mode.el (image-toggle-display-image): Remove tautological
17674 `major-mode' from the `derived-mode-p' test.
17676 2012-02-02 Kenichi Handa <handa@m17n.org>
17678 * composite.el (compose-region): Cancel previous change.
17680 2012-02-02 Kenichi Handa <handa@m17n.org>
17682 * composite.el (compose-region, compose-string): Signal error for
17683 a null string component (Bug#6988).
17685 2012-02-01 Chong Yidong <cyd@gnu.org>
17687 * view.el (view-buffer-other-window, view-buffer-other-frame):
17688 Handle special modes like view-buffer (Bug#10650).
17689 (view-buffer): Simplify.
17691 * frame.el (set-frame-font): Tweak meaning of third argument.
17693 * dynamic-setting.el (font-setting-change-default-font):
17694 Use set-frame-font (Bug#9982).
17696 2012-02-01 Glenn Morris <rgm@gnu.org>
17698 * progmodes/compile.el (compilation-internal-error-properties):
17699 Respect compilation-first-column in the "*compilation*" buffer.
17701 * emacs-lisp/easy-mmode.el (define-minor-mode):
17702 Relax :variable's test for a named function.
17704 2012-01-31 Alan Mackenzie <acm@muc.de>
17706 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17709 2012-01-31 Chong Yidong <cyd@gnu.org>
17711 * frame.el (set-frame-font): New arg ALL-FRAMES.
17713 * menu-bar.el (menu-set-font): Use set-frame-font.
17715 * faces.el (face-spec-reset-face): Don't apply unspecified
17716 attribute values to the default face.
17718 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17720 * progmodes/cwarn.el (cwarn): Remove dead link.
17721 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17722 Remove * from defcustom docstrings.
17723 (turn-on-cwarn-mode): Make obsolete.
17724 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17725 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17727 2012-01-31 Glenn Morris <rgm@gnu.org>
17729 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17730 Fix :variable handling of mode a symbol not equal to modefun.
17731 Allow named functions to be used as the cdr of :variable.
17733 2012-01-30 Glenn Morris <rgm@gnu.org>
17735 * emacs-lisp/authors.el (authors-fixed-entries):
17736 Remove reference to deleted file rnewspost.el.
17738 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17740 * window.el (window-with-parameter): Remove unused variable `windows'.
17741 (window--side-check): Remove unused variable `code'.
17742 (window--resize-siblings): Remove unused variable `first'.
17743 (adjust-window-trailing-edge): Remove unused variable `failed'.
17744 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17745 Use `let', not `let*'.
17746 (balance-windows-2): Remove unused variable `found'.
17747 (window--state-put-2): Remove unused variable `splits'.
17748 (window-state-put): Remove unused variable `selected'.
17749 (same-window-p): Use `string-match-p'.
17750 (display-buffer-assq-regexp): Remove unused variable `value'.
17751 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17752 Mark argument ALIST as ignored.
17753 (pop-to-buffer): Remove unused variable `old-window'.
17755 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17757 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17758 and .lzma compressed files.
17760 2012-01-29 Chong Yidong <cyd@gnu.org>
17762 * frame.el (window-system-default-frame-alist): Doc fix.
17764 * dynamic-setting.el (font-setting-change-default-font): Don't
17765 change the default face if SET-FONT argument is non-nil (Bug#9982).
17767 2012-01-29 Samuel Bronson <naesten@gmail.com>
17769 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17771 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17773 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17774 breakpoints in files outside current directory (Bug#6098).
17776 2012-01-29 Chong Yidong <cyd@gnu.org>
17778 * progmodes/python.el: Require ansi-color at top-level.
17780 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17781 Define and use in Emacs Lisp mode (Bug#9360).
17782 (lisp-mode-abbrev-table): Add doc.
17783 (lisp-mode-variables): Don't set local-abbrev-table.
17784 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17786 2012-01-28 Roland Winkler <winkler@gnu.org>
17788 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17790 2012-01-28 Roland Winkler <winkler@gnu.org>
17792 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17793 (bibtex-set-dialect): Use it. Either set global values of
17794 dialect-dependent variables or bind these variables buffer-locally
17796 (bibtex-mode): Call bibtex-set-dialect via
17797 hack-local-variables-hook.
17798 (bibtex-dialect): Update docstring.
17799 Add safe-local-variable predicate.
17800 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17801 bibtex-set-dialect.
17802 (bibtex-mode-map): Define menu for each dialect.
17803 (bibtex-entry): Fix docstring.
17805 2012-01-28 Chong Yidong <cyd@gnu.org>
17807 * eshell/esh-arg.el (eshell-quote-argument): New function.
17809 * eshell/esh-ext.el (eshell-invoke-batch-file):
17810 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17811 first arg to eshell-parse-command (Bug#10523).
17813 2012-01-28 Drew Adams <drew.adams@oracle.com>
17815 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17816 `default-directory' is non-nil.
17818 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17820 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17821 line that displays system-configuration-options. (Bug#9924)
17823 2012-01-28 Drew Adams <drew.adams@oracle.com>
17825 * descr-text.el (describe-char): Show information about POS, in
17826 addition to information about the character at POS. Improve and
17827 update the doc string. Change "code point" to "code point in
17828 charset", to avoid confusion with the character's Unicode code
17829 point shown above that. (Bug#10129)
17831 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17833 * descr-text.el (describe-char): Show the raw character, not only
17834 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17835 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17838 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17840 * emacs-lisp/package.el (package-install):
17841 Run package-refresh-contents if there is no archive yet (Bug#9798).
17843 2012-01-28 Chong Yidong <cyd@gnu.org>
17845 * emacs-lisp/package.el (package-maybe-load-descriptor):
17846 New function, split from package-maybe-load-descriptor.
17847 (package-maybe-load-descriptor): Use it.
17848 (package-download-transaction): Fully load required packages
17849 inside the loop, so that `require' calls work (Bug#10593).
17850 (package-install): No need to call package-initialize now.
17852 2012-01-28 Chong Yidong <cyd@gnu.org>
17854 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17856 * tooltip.el (tooltip-mode): Doc fix.
17857 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17859 * frame.el (set-cursor-color): Doc fix (Bug#352).
17861 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17862 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17864 * cus-edit.el (custom-buffer-create-internal): Fix search button
17865 action (Bug#10542).
17866 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17868 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17870 * dired.el (dired-mark-files-regexp):
17871 Include any subdirectory components. (Bug#10445)
17873 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17875 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17876 Handle [host]:port syntax. (Bug#10533)
17878 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17880 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17882 2012-01-26 Glenn Morris <rgm@gnu.org>
17884 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17885 * term.el (term-raw-escape-map): Use Control-X-prefix.
17886 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17888 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17890 * window.el (window-state-get, window--state-get-1): Don't deal
17891 with fixed-sizeness of windows. Simplify code.
17893 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17895 * window.el (window--state-get-1, window--state-put-2):
17896 Don't save and restore the mark.
17898 2012-01-25 Chong Yidong <cyd@gnu.org>
17900 * custom.el (custom-variable-p): Doc fix.
17902 2012-01-25 Glenn Morris <rgm@gnu.org>
17904 * dired.el (dired-goto-file): Handle some of the more common
17905 characters that `ls -b' escapes. (Bug#10596)
17907 * progmodes/compile.el (compilation-next-error-function):
17908 Respect compilation-first-column in the "*compilation*" buffer.
17909 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17911 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17913 2012-01-24 Glenn Morris <rgm@gnu.org>
17915 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17917 2012-01-24 Julien Danjou <julien@danjou.info>
17919 * color.el (color-rgb-to-hsl): Fix value computing.
17920 (color-hue-to-rgb): New function.
17921 (color-hsl-to-rgb): New function.
17922 (color-clamp, color-saturate-hsl, color-saturate-name)
17923 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17924 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17926 2012-01-24 Glenn Morris <rgm@gnu.org>
17928 * vc/vc-rcs.el (vc-rcs-create-tag):
17929 * vc/vc-sccs.el (vc-sccs-create-tag):
17930 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17932 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17934 * eshell/esh-util.el (eshell-read-hosts-file):
17935 Skip comment lines. (Bug#10549)
17937 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17939 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17941 * subr.el (display-delayed-warnings): Doc fix.
17942 (collapse-delayed-warnings): New function to collapse identical
17944 (delayed-warnings-hook): Add it.
17946 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17948 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17950 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17951 (tramp-default-user-alist): Don't add "pscp".
17952 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17953 property "login-as", if set. (Bug#10530)
17955 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17957 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17958 "plink1" and "psftp". (Bug#10530)
17960 2012-01-21 Kenichi Handa <handa@m17n.org>
17962 * international/mule-cmds.el (prefer-coding-system): Show a
17963 warning message if the default value of file-name-coding-system
17966 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17968 * windmove.el (windmove-reference-loc):
17969 Fix windmove-reference-loc miscalculation.
17971 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17973 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17976 2012-01-21 Glenn Morris <rgm@gnu.org>
17978 * international/mule.el (auto-coding-alist): Add .tbz.
17980 * files.el (local-enable-local-variables): Doc fix.
17981 (inhibit-local-variables-regexps): Rename from
17982 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17983 Doc fix. Add some extensions from auto-coding-alist.
17984 (inhibit-local-variables-suffixes):
17985 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17986 (inhibit-local-variables-p):
17987 New function, extracted from set-auto-mode-1.
17988 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17989 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17990 (hack-local-variables): Doc fix. Make the mode-only case
17991 respect enable-local-variables and friends.
17992 Respect inhibit-local-variables-regexps for file-locals, but
17993 not for directory-locals.
17994 (set-visited-file-name):
17995 Take account of inhibit-local-variables-regexps.
17996 Whether it applies may change as the file name is changed.
17997 * jka-cmpr-hook.el (jka-compr-install):
17998 * jka-compr.el (jka-compr-uninstall):
17999 Update for inhibit-first-line-modes-suffixes name change.
18001 2012-01-20 Martin Rudalics <rudalics@gmx.at>
18003 * help-macro.el (make-help-screen): Temporarily restore original
18004 binding for minor-mode-map-alist (Bug#10454).
18006 2012-01-19 Julien Danjou <julien@danjou.info>
18008 * color.el (color-name-to-rgb): Use the white color to find the max
18009 color component value and return correctly computed values.
18010 (color-name-to-rgb): Add missing float conversion for max value.
18012 2012-01-19 Martin Rudalics <rudalics@gmx.at>
18014 * window.el (window--state-get-1, window-state-get): Do not use
18015 special state value for window-persistent-parameters.
18016 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
18017 (window--state-put-2): Reset all window parameters to nil before
18018 assigning values of persistent parameters.
18020 2012-01-18 Alan Mackenzie <acm@muc.de>
18022 Eliminate sluggishness and hangs in fontification of "semicolon
18025 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
18026 Change value 10000 -> 3000.
18027 (c-state-safe-place): Reformulate so it doesn't stack up an
18028 infinite number of wrong entries in c-state-nonlit-pos-cache.
18029 (c-determine-limit-get-base, c-determine-limit): New functions to
18030 determine backward search limits disregarding literals.
18031 (c-find-decl-spots): Amend commenting.
18032 (c-cheap-inside-bracelist-p): New function which detects "={".
18034 * progmodes/cc-fonts.el
18035 (c-make-font-lock-BO-decl-search-function): Give a limit to a
18037 (c-font-lock-declarations): Fix an occurrence of point being
18038 undefined. Check additionally for point being in a bracelist or
18039 near a macro invocation without a semicolon so as to avoid a
18040 fruitless time consuming search for a declarator. Give a more
18041 precise search limit for declarators using the new
18044 2012-01-18 Glenn Morris <rgm@gnu.org>
18046 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18047 (set-auto-mode): Doc fixes.
18049 2012-01-17 Glenn Morris <rgm@gnu.org>
18051 * isearch.el (search-nonincremental-instead): Fix doc typo.
18053 * dired.el (dired-insert-directory): Handle newlines in directory name.
18054 (dired-build-subdir-alist): Unescape newlines in directory name.
18056 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
18058 * net/tramp.el (tramp-local-end-of-line): New defcustom.
18059 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18060 (tramp-action-terminal): Use it. (Bug#10530)
18062 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
18064 * minibuffer.el (completion--replace): Strip properties (bug#10062).
18066 2012-01-16 Martin Rudalics <rudalics@gmx.at>
18068 * window.el (window-state-ignored-parameters): Remove variable.
18069 (window--state-get-1): Rename argument MARKERS to IGNORE.
18070 Handle persistent window parameters. Make copy of clone-of
18071 parameter only if requested. (Bug#10348)
18072 (window--state-put-2): Install a window parameter only if it has
18073 a non-nil value or an existing parameter shall be overwritten.
18075 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
18077 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18079 2012-01-14 Eli Zaretskii <eliz@gnu.org>
18081 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18082 don't pass the (nil) value of `upnode' to string-match.
18084 2012-01-14 Chong Yidong <cyd@gnu.org>
18086 * startup.el (command-line): Fix X resource class for cursorColor.
18087 Fix values recognized by the cursorBlink resource.
18089 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
18091 * epg.el (epg--make-temp-file): Avoid permission race condition
18092 when running on old Emacs versions (bug#10403).
18094 2012-01-14 Glenn Morris <rgm@gnu.org>
18096 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18098 2012-01-13 Alan Mackenzie <acm@muc.de>
18100 Fix filling for when filladapt mode is enabled.
18102 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18103 c-mask-paragraph, pass in `fill-paragraph' rather than
18104 `fill-region-as-paragraph'. (This is a reversion of a previous
18106 * progmodes/cc-mode.el (c-basic-common-init):
18107 Make fill-paragraph-handle-comment buffer local and set it to nil.
18109 2012-01-13 Glenn Morris <rgm@gnu.org>
18111 * dired.el (dired-switches-escape-p): New function.
18112 (dired-insert-directory): Use dired-switches-escape-p.
18113 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
18115 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
18117 2012-01-12 Glenn Morris <rgm@gnu.org>
18119 * mail/sendmail.el (mail-mode): Update paragraph-separate for
18120 changes in adaptive-fill-regexp. (Bug#10276)
18122 2012-01-11 Alan Mackenzie <acm@muc.de>
18124 Fix Emacs bug #10463 - put `widen's around the critical spots.
18126 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18127 widen around each invocation of c-state-pp-to-literal. Remove an
18128 unused let variable.
18130 2012-01-11 Glenn Morris <rgm@gnu.org>
18132 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
18135 2012-01-10 Chong Yidong <cyd@gnu.org>
18137 * net/network-stream.el (network-stream-open-starttls):
18138 Avoid emitting a confusing error message when the server gives a bad
18139 response to the capability command.
18141 2012-01-10 Glenn Morris <rgm@gnu.org>
18143 * mail/unrmail.el (unrmail): Tweak previous change.
18145 2012-01-09 Chong Yidong <cyd@gnu.org>
18147 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18149 2012-01-08 Alan Mackenzie <acm@muc.de>
18151 Optimize font locking in long enum definitions.
18153 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18154 arm to a cond form to handle enums.
18155 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18156 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18158 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
18160 * files.el (move-file-to-trash): Preserve default file modes on error.
18163 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18165 * faces.el (set-face-attribute): Clarify the meaning of the nil
18168 * subr.el (with-selected-frame): Mention that the selected frame
18169 is restored (bug#9980).
18171 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18174 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18175 (password-read): Don't autoload unused function.
18177 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
18179 * progmodes/which-func.el (which-func-mode): Turn into a
18180 non-interactive function and mark as obsolete (bug#10428).
18182 2012-01-06 Chong Yidong <cyd@gnu.org>
18184 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18185 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18186 functions, along with 1 and -1.
18188 2012-01-06 Eli Zaretskii <eliz@gnu.org>
18190 * time.el (display-time-load-average)
18191 (display-time-default-load-average): Doc fixes. See the thread
18193 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18196 2012-01-06 Glenn Morris <rgm@gnu.org>
18198 * mail/unrmail.el (unrmail): Give an explicit error if the input file
18199 has no messages. (Bug#10377)
18201 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18202 than Info-edit. (Bug#10385)
18204 * time.el (display-time-load-average, display-time-next-load-average):
18207 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18208 local setting of buffer-read-only to the input buffer. (Bug#10419)
18210 * calendar/calendar.el (calendar-mode):
18211 Locally set scroll-margin to 0. (Bug#10379)
18213 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
18215 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
18217 2012-01-05 Glenn Morris <rgm@gnu.org>
18219 * eshell/em-unix.el (diff-no-select): Autoload it.
18220 (eshell/diff): Use diff-no-select. (Bug#10420)
18222 2012-01-05 Chong Yidong <cyd@gnu.org>
18224 * shell.el (shell-dynamic-complete-functions): Revert last change.
18225 (shell-command-completion-function): New function.
18226 (shell-completion-vars): Use it to implement
18227 shell-completion-execonly (Bug#10417).
18229 * custom.el (enable-theme): Don't set custom-safe-themes.
18231 * cus-theme.el (custom-theme-merge-theme):
18232 Ignore custom-enabled-themes and custom-safe-themes.
18234 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
18236 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18237 first prompt in `sql-interacive-mode'.
18238 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18240 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18241 (sql-product-interactive): Bug fix: Set `sql-buffer' in
18242 context of original buffer. Invoke `sql-login-hook'.
18244 2012-01-04 Eli Zaretskii <eliz@gnu.org>
18246 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18247 letters in cite-prefix.
18249 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18251 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18253 2012-01-03 Chong Yidong <cyd@gnu.org>
18255 * shell.el (shell-dynamic-complete-functions):
18256 Put pcomplete-completions-at-point, so as to try
18257 comint-filename-completion first (Bug#10417).
18259 2012-01-02 Richard Stallman <rms@gnu.org>
18261 * battery.el (battery-status-function):
18262 Detect when to use battery-yeeloong-sysfs.
18263 (battery-echo-area-format): Add string for Yeeloong.
18264 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18265 (battery-yeeloong-sysfs): New function.
18267 2012-01-02 Chong Yidong <cyd@gnu.org>
18269 * dirtrack.el (dirtrack-list): Eliminate unused third element.
18270 (dirtrack): Merge code for handling relative filenames in prompt
18271 from shell-dir-cookie-watcher.
18272 (dirtrack-debug-message): New arg to avoid excess format calls.
18274 * shell.el (shell-dir-cookie-re): Variable deleted.
18275 (shell-dir-cookie-watcher): Function deleted.
18276 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18277 with dirtrack-mode.
18279 2012-01-01 Eli Zaretskii <eliz@gnu.org>
18281 * term/w32-win.el (dynamic-library-alist) <gnutls>:
18282 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18285 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
18287 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18289 2011-12-31 Eli Zaretskii <eliz@gnu.org>
18291 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18292 headers of non-MIME messages, when rmail-enable-mime is non-nil.
18294 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
18296 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18297 also for alternative shells.
18298 (tramp-open-connection-setup-interactive-shell): Check, whether
18299 the shell is a busybox.
18300 (tramp-send-command): Don't suppress multiple prompts for
18301 busyboxes, it hurts.
18303 2011-12-28 Chong Yidong <cyd@gnu.org>
18305 * progmodes/gdb-mi.el (gdb-get-source-file-list)
18306 (gdb-get-source-file): Move mode line update to
18307 gdb-get-source-file (Bug#10087).
18309 2011-12-25 Chong Yidong <cyd@gnu.org>
18311 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18312 gud-gdb-marker-filter without taking it as an argument.
18313 (gud-gdb-run-command-fetch-lines): Caller changed.
18314 (gud-gdb-completion-function): New variable.
18315 (gud-gdb-completion-at-point): Use it.
18316 (gud-gdb-completions-1): Split from gud-gdb-completions.
18318 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18319 function as separate arguments.
18320 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18321 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18322 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18323 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18324 (gdb-stopped, def-gdb-auto-update-trigger)
18325 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18326 (gdb-get-changed-registers, gdb-get-main-selected-frame):
18328 (gud-gdbmi-completions): New function.
18329 (gdb): Use it for generating the completion table.
18331 2011-12-24 Alan Mackenzie <acm@muc.de>
18333 Introduce a mechanism to widen the region used in context font
18334 locking. Use this to protect declarations from losing their contexts.
18336 * progmodes/cc-langs.el (c-before-font-lock-functions):
18337 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18338 (c-before-context-fontification-functions): New defvar, a list of
18339 functions to be run just before context (etc.) font locking.
18341 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18342 New, functionality extracted from
18343 c-neutralize-syntax-in-and-mark-CPP.
18344 (c-in-after-change-fontification): New variable.
18345 (c-after-change): Set c-in-after-change-fontification.
18346 (c-set-fl-decl-start): Rejig its interface, so it can be called
18347 from both after-change and context fontifying.
18348 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18350 (c-standard-font-lock-fontify-region-function): New variable.
18351 (c-font-lock-fontify-region): New function.
18353 2011-12-24 Juri Linkov <juri@jurta.org>
18355 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18358 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
18360 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18361 existence of source file. (Bug#10325)
18363 2011-12-23 Alan Mackenzie <acm@muc.de>
18365 Fix unstable fontification inside templates.
18367 * progmodes/cc-langs.el (c-before-font-lock-functions):
18368 Newly created from the singular version. The (c c++ objc) entry now
18369 additionally has c-set-fl-decl-start. The other languages (apart
18370 from AWK) have that as a single entry.
18372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18373 The functionality for "local" declarations has been extracted to
18374 c-set-fl-decl-start.
18376 * progmodes/cc-mode.el (c-common-init, c-after-change):
18377 Changes due to pluralisation of c-before-font-lock-functions.
18378 (c-set-fl-decl-start): New function, extracted from
18379 c-font-lock-enclosing-decls and enhanced.
18381 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
18383 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18385 2011-12-22 Juri Linkov <juri@jurta.org>
18387 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
18389 2011-12-22 Chong Yidong <cyd@gnu.org>
18391 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18393 2011-12-21 Drew Adams <drew.adams@oracle.com>
18395 * files.el (file-remote-p): Fix docstring. (Bug#10319)
18397 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
18399 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18401 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
18403 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
18404 highlighting and support. Fix up comments for capitalization.
18405 (cfengine-mode-debug): New var.
18406 (cfengine3-mode): Change the modeline indicator to "CFE3".
18407 (cfengine3-font-lock-keywords): Improve defun highlighting.
18408 (cfengine2-actions): Rename from `cfengine-actions'.
18409 (cfengine2-font-lock-keywords): Rename from
18410 `cfengine-font-lock-keywords'.
18411 (cfengine2-imenu-expression): Rename from
18412 `cfengine-imenu-expression'.
18413 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18414 (cfengine2-beginning-of-defun): Rename from
18415 `cfengine-beginning-of-defun'.
18416 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18417 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18418 (cfengine2-mode): Rename from `cfengine-mode'. Change the
18419 modeline indicator to "CFE2".
18420 (cfengine-mode): Defalias to `cfengine-auto-mode'.
18421 (cfengine-mode-abbrevs): Mark obsolete.
18423 2011-12-21 Chong Yidong <cyd@gnu.org>
18425 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18428 2011-12-20 Martin Rudalics <rudalics@gmx.at>
18430 * window.el (window-normalize-buffer-to-display): Remove.
18431 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18433 2011-12-19 Chong Yidong <cyd@gnu.org>
18435 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18436 Don't signal an error in a predicate function; return non-nil.
18437 (vc-dir-mark-file): Move the error here.
18438 (vc-dir-mark-unmark): If acting on the region, keep going if one
18439 of the entries cannot be marked/unmarked.
18440 (vc-dir-mark-all-files): If current entry is a directory, mark
18441 only child files, as documented.
18443 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
18445 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18446 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18449 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
18451 * term/ns-win.el (ns-get-selection-internal)
18452 (ns-store-selection-internal): Declare.
18453 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18454 Declare as obsolete.
18455 (ns-get-pasteboard, ns-paste-secondary):
18456 Use ns-get-selection-internal.
18457 (ns-set-pasteboard, ns-copy-including-secondary):
18458 Use ns-store-selection-internal.
18460 2011-12-17 Chong Yidong <cyd@gnu.org>
18462 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18463 (vc-deduce-fileset): Doc fix.
18465 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
18467 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18469 2011-12-13 Sam Steingold <sds@gnu.org>
18471 * man.el (Man-getpage-in-background): When running under a
18472 window-system, ignore $MANWIDTH and $COLUMNS.
18474 2011-12-15 Kenichi Handa <handa@m17n.org>
18476 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18477 (setup-ethiopic-environment-internal): Comment out key-binding for
18478 ethio-toggle-punctuation.
18480 2011-12-13 Alan Mackenzie <acm@muc.de>
18482 Add the switch statement to AWK Mode.
18484 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18485 "default" to the keywords regexp.
18487 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18488 expression as the rest.
18489 (c-nonlabel-token-key): Allow string literals for AWK.
18490 Refactor for the other modes.
18492 Large brace-block initialisation makes CC Mode slow: Fix.
18493 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18494 routines. Limit backward searching in c-font-lock-enclosing.decl.
18496 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18497 pp-state and literal type in addition to the limits.
18498 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18499 (c-state-literal-at): Use the above new defun.
18500 (c-slow-in-literal, c-fast-in-literal): Remove.
18501 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18503 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18504 being in a literal. Add a limit for backward searching.
18506 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18509 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18511 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18513 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18515 * window.el (delete-other-windows): Use correct frame in call to
18516 window-with-parameter.
18518 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18520 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18521 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18522 (makefile-gmake-statements, makefile-makepp-statements):
18523 Use it and add new makepp keywords.
18524 (makefile-makepp-font-lock-keywords): Add new patterns.
18525 (makefile-match-function-end): Match new [...] and [[...]].
18527 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18529 * ses.el (ses-call-printer-return, ses-cell-property-get)
18530 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18531 (ses-create-cell-variable, ses-reset-header-string)
18532 (ses-cell-set-formula, ses-repair-cell-reference-all)
18533 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18534 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18535 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18536 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18537 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18538 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18539 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18540 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18541 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18542 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18543 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18544 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18546 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
18548 * ses.el: The overall change is to add cell renaming, that is
18549 setting fancy names for cell symbols other than name matching
18550 "\\`[A-Z]+[0-9]+\\'" regexp .
18551 (ses-create-cell-variable): New defun.
18552 (ses-relocate-formula): Relocate formulas only for cells the
18553 symbols of which are not renamed, i.e. symbols whose names do not
18554 match regexp "\\`[A-Z]+[0-9]+\\'".
18555 (ses-relocate-all): Relocate values only for cells the symbols of
18556 which are not renamed.
18557 (ses-load): Create cells variables as the (ses-cell ...) are read,
18558 in order to check row col consistency with cell symbol name only
18559 for cells that are not renamed.
18560 (ses-replace-name-in-formula): New defun.
18561 (ses-rename-cell): New defun.
18563 2011-12-11 Chong Yidong <cyd@gnu.org>
18565 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18566 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18568 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18570 * window.el (other-window): Fix docstring.
18572 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18574 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18575 `from' or `to' address before taking its substring.
18576 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18577 encoded name is chopped in the middle of the encoded string, and
18578 thus displayed encoded.
18580 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18582 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18584 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18586 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18587 to use texinfo-update-node and commands that call it if the
18588 Texinfo file uses @node lines without next/prev/up pointers.
18589 Correct outdated description about texinfo-master-menu.
18590 (texinfo-all-menus-update, texinfo-master-menu)
18591 (texinfo-update-node, texinfo-every-node-update)
18592 (texinfo-multiple-files-update): Doc fix. Warn against updating
18593 all the @node lines.
18594 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18595 argument is numeric. Explain better in the doc string what the
18596 function really does.
18597 (texinfo-insert-master-menu-list): Improve the error message
18598 displayed if there's no menu in the Top node.
18599 (Bug#2975) See also this thread:
18600 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18602 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18604 * speedbar.el (speedbar-supported-extension-expressions):
18605 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18607 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18609 * printing.el (pr-mode-alist):
18610 * simple.el (filter-buffer-substring-functions)
18611 (completion-list-insert-choice-function):
18612 * window.el (window-with-parameter, window-atom-root)
18613 (window-sides-slots, window-size-fixed, window-min-delta)
18614 (window-max-delta, window--resize-mini-window)
18615 (window--resize-child-windows-normal, window-tree)
18616 (delete-other-windows, quit-window, split-window)
18617 (display-buffer-record-window, special-display-buffer-names)
18618 (special-display-regexps, special-display-popup-frame)
18619 (same-window-p, split-window-sensibly)
18620 (display-buffer-overriding-action, display-buffer-alist)
18621 (display-buffer-base-action, display-buffer, switch-to-buffer)
18622 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18623 (fit-window-to-buffer, recenter-positions)
18624 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18625 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18626 and remove unneeded backslashes in docstrings.
18628 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18630 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18632 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18633 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18635 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18636 when reading the makefile (bug#10116).
18638 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18640 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18643 2011-12-06 Glenn Morris <rgm@gnu.org>
18645 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18647 2011-12-06 Chong Yidong <cyd@gnu.org>
18649 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18651 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18653 * textmodes/table.el (table-shorten-cell): Fix typo.
18655 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18657 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18659 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18661 * descr-text.el (describe-char): Fix display of strong
18662 right-to-left characters and directional embeddings and overrides.
18664 * simple.el (what-cursor-position): Fix display of codepoints of
18665 strong right-to-left characters.
18667 2011-12-05 Chong Yidong <cyd@gnu.org>
18669 * faces.el (read-color): Doc fix.
18671 2011-12-05 Glenn Morris <rgm@gnu.org>
18673 * align.el (align--set-marker): Add doc-string.
18674 Don't try to move something that is not a marker. (Bug#10216)
18676 2011-12-04 Glenn Morris <rgm@gnu.org>
18678 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18679 overly zealous deletion of trailing whitespace.
18681 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18683 * server.el (server-delete-client): On Windows, do not try to delete
18685 (server-process-filter): On Windows, treat requests for a tty frame as
18686 if they were for a GUI frame if the running server is in GUI mode.
18688 2011-12-03 Glenn Morris <rgm@gnu.org>
18690 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18692 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18694 * electric.el: Streamline electric-indent's hook.
18695 (electric-indent-chars): Revert to simple list.
18696 (electric-indent-functions): New var.
18697 (electric-indent-post-self-insert-function): Use it.
18699 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18700 there's no inferior buffer (bug#10196).
18701 (prolog-consult-compile): Don't use toggle-read-only.
18703 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18705 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18706 interrupt. (Bug#10187)
18708 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18710 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18713 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18716 2011-12-02 Juri Linkov <juri@jurta.org>
18718 * info.el (Info-search): Display "end of manual" when Isearch
18719 reaches the end of single-file Info manual. (Bug#9918)
18721 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18723 * isearch.el (isearch-message-prefix): Run the input method part
18724 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18726 2011-12-02 Juri Linkov <juri@jurta.org>
18728 * isearch.el (isearch-occur): Use `word-search-regexp' for
18730 (isearch-search-and-update): Add condition for `isearch-word' and
18731 call `word-search-regexp'. (Bug#10145)
18733 2011-12-01 Glenn Morris <rgm@gnu.org>
18735 * eshell/em-hist.el (eshell-hist-initialize):
18736 Handle eshell-history-size nil and HISTSIZE set or unset.
18737 (eshell-history-file-name, eshell-history-size): Fix custom type.
18739 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18741 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18743 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18745 * progmodes/verilog-mode.el (verilog-pretty-expr):
18746 Rework verilog-pretty-expr to handle new assignment operators in system
18747 verilog, such as += *= and the like.
18748 (verilog-assignment-operator-re): Regular expression to find the
18749 assigment operator in a verilog assignment.
18750 (verilog-assignment-operation-re): Regular expression to find an
18751 assignment statement for pretty-expr.
18752 (verilog-in-attribute-p): Query returns true if point is in an
18753 attribute context; used to skip these for expression line up from
18755 (verilog-in-parameter-p): Query returns true if point is in an
18756 parameter definition context; used to skip these for expression
18757 line up from pretty-expr.
18758 (verilog-in-parenthesis-p): Query returns true if point is in a
18759 parenthetical expression, specifically ( ) but not [ ] or { };
18760 used by pretty-expr.
18761 (verilog-just-one-space): If there is no space, don't add one.
18762 (verilog-get-lineup-indent-2): Specifically skip just attribute
18763 contexts for expression lineup, rather than skipping all
18764 parenthetical expressions.
18765 (verilog-calculate-indent): Fix comment, and fix indent.
18766 (verilog-do-indent): Indent declarations in lists (suggested by
18768 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18770 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18773 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18775 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18776 parameters with embedded comments. Reported by Ray Stevens.
18777 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18778 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18779 Reported by Tim Holt.
18780 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18781 instantiated by upper module causing wrong expansion until AUTOed a
18782 second time. Reported by K C Buckenmaier.
18783 (verilog-diff-auto): Fix showing .* as a difference when
18784 `verilog-auto-star-save' off. Reported by Dan Dever.
18785 (verilog-auto-reset, verilog-read-always-signals)
18786 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18787 temporary signals in reset list if
18788 verilog-auto-reset-blocking-in-non is nil, and match assignment
18789 style to each signal's assignment type, bug381.
18790 Reported by Thomas Esposito.
18791 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18792 (verilog-uvm-statement-re): Support UVM indentation and
18793 highlighting, with old OVM keywords only.
18794 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18795 Support AUTOTIEOFF creating non-wire data types.
18796 Suggested by Jonathan Greenlaw.
18797 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18798 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18799 (verilog-inject-sense, verilog-read-inst-pins)
18800 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18801 Fix mismatching parenthesis inside commented out code when deleting
18802 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18803 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18804 non-numeric vector width. Reported by Alex Reed.
18805 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18806 detecting signals with parameter widths. Reported by Alex Reed.
18807 (verilog-auto-delete-trailing-whitespace):
18808 With `verilog-auto-delete-trailing-whitespace' remove trailing
18809 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18810 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18811 Fix verilog-scan-cache corruption when running user AUTO expansion
18812 hooks that call indentation routines.
18813 (verilog-simplify-range-expression): Fix typo ignoring lower case
18815 (verilog-delete-auto): Fix delete-autos to also remove user created
18816 automatics, as long as they start with AUTO.
18817 (verilog-batch-diff-auto, verilog-diff-auto)
18818 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18819 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18820 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18821 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18822 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18823 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18824 is disabled and its cache will get corrupt, causing AUTOS not to
18825 expand. Instead use only -quick functions.
18826 (verilog-scan-region): Fix scanning over escaped quotes.
18827 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18828 (verilog-re-search-backward-quick)
18829 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18830 related functions now ignore strings, to fix misparsing of strings
18831 with magic comments embedded in them.
18832 (verilog-read-auto-template):
18833 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18834 Reported by Brad Dobbie.
18835 (verilog-read-auto-template):
18836 Fix 'verilog-auto-inst-template-numbers' with comments.
18837 Reported by Brad Dobbie.
18838 (verilog-auto-inst, verilog-auto-inst-param)
18839 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18840 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18841 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18842 debugging templates without merge conflicts, bug357.
18843 Reported by Brad Dobbie.
18844 (verilog-read-auto-template):
18845 Fix verilog-auto-inst-template-numbers with multiple templates.
18846 Reported by Brad Dobbie.
18847 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18848 abbrevs so user won't be asked to save.
18849 (verilog-read-auto-lisp-present): Fix to start at beginning of
18850 buffer in case called outside of verilog-auto.
18851 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18852 to "X-2". Reported by Matthew Myers.
18853 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18854 all inputs from module templates. Reported by Leith Johnson.
18855 (verilog-module-inside-filename-p): Fix locating programs as with
18857 (verilog-auto-inst-port): Fix vl-width expressions when using
18858 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18859 (verilog-decls-get-regs, verilog-decls-get-signals,
18860 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18861 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18862 verilog-read-decls): Combine reg and wire structures into one var
18863 structure to represent SystemVerilog concepts.
18864 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18865 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18866 (verilog-auto-wire-type, verilog-insert-definition):
18867 Add verilog-auto-wire-type and AUTOLOGIC to support using
18868 SystemVerilog "logic" keyword instead of "wire"/"reg".
18869 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18870 to declares outputs that also have assignments (presumably in an
18871 ifdef or generate if so there's not a driver conflict).
18872 Reported by Matthew Myers.
18873 (verilog-auto-declare-nettype, verilog-insert-definition):
18874 Add verilog-auto-declare-nettype to fix declarations using
18875 `default_nettype none. Reported by Julian Gorfajn.
18876 (verilog-read-always-signals-recurse, verilog-read-decls)
18877 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18878 malformed end statement, bug325. Reported by Joshua Wise and
18880 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18881 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18882 when expanding .* in interfaces, bug320.
18883 Reported by Pierre-David Pfister.
18884 (verilog-read-module-name): Fix import statements between module
18885 name and open parenthesis, bug317.
18886 Reported by Pierre-David Pfister.
18887 (verilog-simplify-range-expression): Fix simplification of
18888 multiplications inside AUTOWIRE connections, bug303.
18889 (verilog-auto-inst-port): Support parameter expansion in
18890 multidimensional arrays.
18891 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18892 after "assert property". Reported by Julian Gorfajn.
18893 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18894 with multiplication, bug303.
18895 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18896 Reported by Jan Frode Lonnum.
18898 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18900 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18901 (hfy-shell-file-name, hfy-shell):
18902 * international/fontset.el (x-decompose-font-name): Fix typos.
18904 2011-11-29 Ken Brown <kbrown@cornell.edu>
18906 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18907 (gdb-version): Remove defvar.
18908 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18909 (gdb-gud-context-command, gdb-non-stop-handler)
18910 (gdb-current-context-command, gdb-stopped): Use it.
18911 (gdb-init-1): Enable pretty printing here.
18912 (gdb-non-stop-handler): Don't enable pretty-printing here.
18913 Check to see if the target supports non-stop mode; if not, turn off
18914 non-stop mode. Use the following.
18915 (gdb-check-target-async): New defun.
18916 (gud-watch, gdb-stopped): Fix whitespace.
18917 (gdb-get-source-file): Don't try to display the source file if
18918 `gdb-main-file' is nil.
18920 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18922 * align.el: Try to generate fewer markers (bug#10047).
18923 (align--set-marker): New macro.
18924 (align-region): Use it.
18926 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18928 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18930 2011-11-29 Chong Yidong <cyd@gnu.org>
18932 * indent.el (indent-for-tab-command, indent-according-to-mode):
18934 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18936 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18938 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18939 aware of remote file names. (Bug#10124)
18941 2011-11-29 Chong Yidong <cyd@gnu.org>
18943 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18945 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18947 * files.el (find-file): Don't use force-same-window (bug#10144).
18948 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18949 use pop-to-buffer if the selected window can't be used.
18950 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18952 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18954 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18957 2011-11-28 Chong Yidong <cyd@gnu.org>
18959 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18961 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18963 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18964 gdb-get-source-file-list on gdb-create-source-file-list.
18966 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18968 * whitespace.el (whitespace-newline): Use a different foreground
18969 color for 16-color light-background displays.
18971 2011-11-24 Chong Yidong <cyd@gnu.org>
18973 * window.el (display-buffer--special-action): Doc fix.
18975 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18977 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18978 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18979 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18980 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18981 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18982 (avl-tree-stack-first):
18983 * emacs-lisp/cconv.el (cconv--analyse-use):
18984 * net/gnutls.el (gnutls-negotiate): Fix typos.
18986 2011-11-24 Glenn Morris <rgm@gnu.org>
18988 * lpr.el (lpr-windows-system, lpr-lp-system):
18989 * mail/binhex.el (binhex-begin-line):
18990 * progmodes/grep.el (grep-history, grep-find-history):
18991 * textmodes/flyspell.el:
18992 * vc/pcvs-defs.el (cvs-global-menu):
18993 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18994 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18995 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18997 * net/tls.el: Fix case of "GnuTLS".
18999 * paths.el (rmail-file-name): Format doc-string for make-docfile.
19001 * version.el (emacs-build-system): Give it a doc-string.
19003 2011-11-24 Juri Linkov <juri@jurta.org>
19005 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
19007 2011-11-24 Glenn Morris <rgm@gnu.org>
19009 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
19010 if called on a non-mime message just toggle the headers. (Bug#8006)
19012 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
19014 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
19015 (allout-lead-with-comment-string, allout-structure-deleted-hook)
19016 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
19017 (allout-rebullet-heading, allout-open-sibtopic)
19018 (allout-toggle-current-subtree-encryption)
19019 (allout-toggle-subtree-encryption, allout-encrypt-string)
19020 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
19021 (allout-distinctive-bullets-string, allout-auto-activation):
19022 * window.el (window-normalize-buffer-to-display):
19023 * progmodes/verilog-mode.el (verilog-batch-indent):
19024 * textmodes/bibtex.el (bibtex-field-braces-opt)
19025 (bibtex-field-strings-opt):
19026 * vc/cvs-status.el (cvs-tree-merge):
19029 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
19031 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
19032 `non-essential' to t, in order to avoid remote connections.
19034 2011-11-23 Eli Zaretskii <eliz@gnu.org>
19036 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19037 On MS-DOS and MS-Windows, compare with loaddefs.el
19038 case-insensitively.
19040 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19042 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
19044 2011-11-23 Glenn Morris <rgm@gnu.org>
19046 * paths.el (rmail-file-name): Reformat the doc-string so that it
19049 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19050 (rmail-auto-file): Ignore case in the "special" field names,
19051 as mail-fetch-field does for all others.
19053 * mail/rmail.el (rmail-forward):
19054 * mail/rmailkwd.el (rmail-set-label):
19055 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19056 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
19058 * mail/rmail.el (rmail-current-message): Doc fix.
19060 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
19062 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
19064 * server.el (server-eval-and-print): Allow C-g (bug#6585).
19066 2011-11-22 Glenn Morris <rgm@gnu.org>
19068 * mail/rmailmm.el (test-rmail-mime-handler)
19069 (test-rmail-mime-bulk-handler)
19070 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19072 2011-11-21 Juri Linkov <juri@jurta.org>
19074 * calc/calc.el (calc-read-key-sequence):
19075 Let-bind `input-method-function' to nil. (Bug#10018)
19077 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19079 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19080 Tell the caller that the next line needs recomputation, even
19081 though it doesn't start a sexp (bug#10094).
19083 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
19085 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19087 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19089 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19090 Use force-same-window.
19092 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19094 * descr-text.el (describe-char-unicode-data):
19095 * json.el (json-string-escape):
19096 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19097 (Footnote-unicode, Footnote-style-p):
19098 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19100 2011-11-20 Chong Yidong <cyd@gnu.org>
19102 * window.el (replace-buffer-in-windows): Restore interactive spec.
19104 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
19106 * electric.el (electric-indent-mode): Fix last change (too optimistic).
19108 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19109 (byte-compile-global-not-obsolete-vars): New var.
19110 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19112 (byte-compile-warn-obsolete): Align text with the one in *Help*.
19114 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
19116 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19117 * progmodes/pascal.el (electric-pascal-equal):
19118 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19119 * xml.el (xml-substitute-special): Fix typos.
19121 2011-11-20 Glenn Morris <rgm@gnu.org>
19123 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19124 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19126 (rmail-decode-mime-charset): Mark as obsolete.
19128 * mail/rmailsum.el (rmail-message-regexp-p-1):
19129 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19130 Before using mime functions, check they are set. (Bug#10077)
19132 2011-11-19 Juri Linkov <juri@jurta.org>
19134 * info.el (Info-finder-find-node): Use `package--builtins' instead
19135 of `package-alist'. Use node names formed by the pattern "Keyword "
19136 and the keyword name.
19138 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19140 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19142 2011-11-19 Juri Linkov <juri@jurta.org>
19144 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19145 that calls `revert-buffer' on all Info buffers. (Bug#9915)
19146 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19147 `old-history', `old-history-forward'. Add let-binding
19148 `window-selected'. Remove calls to `kill-buffer',
19149 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
19150 before calling `Info-find-node', so `Info-find-node-2' will reread
19151 the Info file. Restore window positions only when `window-selected'
19154 2011-11-19 Juri Linkov <juri@jurta.org>
19156 * isearch.el (isearch-lazy-highlight-new-loop):
19157 Remove condition `(not isearch-error)'. (Bug#9918)
19159 * misearch.el (multi-isearch-search-fun): Add condition
19160 `(not bound)' to ignore lazy-highlighting search.
19161 Add the search-failed message "end of multi" when the end of
19162 multi-sequence is reached. Uncapitalize the search-failed
19163 message "Repeat for next buffer".
19165 * info.el (Info-search): Add the search-failed message
19166 "end of the manual" when the end of the manual is reached
19169 2011-11-19 Juri Linkov <juri@jurta.org>
19171 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19172 Use non-destructive `remove' instead of `delete' because
19173 `Info-history-list' stored to `Info-isearch-initial-history-list' in
19174 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19176 2011-11-19 Juri Linkov <juri@jurta.org>
19178 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19179 to nil instead of binding `search-ring' and `regexp-search-ring'.
19182 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19184 * simple.el (line-move): Force movement by logical lines for any
19185 hscrolled window, not only when auto-hscroll-mode is on.
19186 (line-move-visual): Update doc string to that effect. (Bug#10076)
19188 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
19190 * language/european.el (macintosh): Define as alias for mac-roman.
19192 2011-11-19 Eli Zaretskii <eliz@gnu.org>
19194 * mail/rmailmm.el (rmail-mime-display-header)
19195 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19196 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19197 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19198 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19199 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19201 (rmail-mime-entity-segment): To get past the tagline, move forward
19202 2 more lines, to account for the 2 empty lines that precede and
19203 follow the line with the buttons.
19204 (rmail-mime-update-tagline): Move one more line, to get past the
19205 empty line that follows the buttons in the tagline. (Bug#9520)
19207 2011-11-19 Martin Rudalics <rudalics@gmx.at>
19209 * window.el (window-max-delta-1, window-min-delta-1)
19210 (window-min-size-1, window-state-get-1, window-state-put-1)
19211 (window-state-put-2): Use "window--" prefix.
19213 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
19215 * emacs-lisp/smie.el: Improve warnings and conflict detection.
19216 (smie-warning-count): New var.
19217 (smie-set-prec2tab): Use it.
19218 (smie-bnf->prec2): Improve warnings. Add docstring.
19219 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19220 (smie-bnf--set-class): New function.
19221 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
19224 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19225 (compilation-error-properties, compilation-move-to-column):
19226 Handle compilation-first-column while in the target buffer.
19228 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19229 Don't hardcode point-min==1.
19231 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19232 (eshell-rewrite-for-command): Remove workaround.
19233 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19234 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19235 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19237 * files-x.el (modify-file-local-variable): Obey commenting conventions.
19239 2011-11-17 Glenn Morris <rgm@gnu.org>
19241 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19242 Ignore buffer-local generated-autoload-file if it is the same
19243 as the global value. (Bug#10049)
19245 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
19247 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19248 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19249 (reftex-toc-previous-heading, reftex-toc-max-level)
19250 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19251 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19252 (reftex-toc-do-promote, reftex-toc-promote-prepare)
19253 (reftex-toc-promote-action, reftex-toc-extract-section-number)
19254 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19255 (reftex-toc-rename-label, reftex-toc-visit-location)
19256 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19257 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19258 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19259 leaving "*toc*" only for references to the buffer.
19261 2011-11-17 Martin Rudalics <rudalics@gmx.at>
19263 * window.el (window-resize, delete-window, split-window):
19264 Replace window-splits by window-combination-resize.
19265 * cus-start.el (window-splits): Replace by window-combination-resize.
19267 2011-11-17 Glenn Morris <rgm@gnu.org>
19269 * progmodes/sh-script.el (sh-font-lock-keywords-var):
19270 Make bash entry derive from sh entry, not shell entry.
19272 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
19274 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19277 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19279 * menu-bar.el (menu-bar-file-menu):
19280 * printing.el (pr-ps-utility):
19281 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19282 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19283 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19284 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19285 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19286 (icalendar--convert-cyclic-to-ical)
19287 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19288 (icalendar--convert-ical-to-diary)
19289 (icalendar--convert-recurring-to-diary)
19290 (icalendar--convert-non-recurring-all-day-to-diary)
19291 (icalendar-import-format-sample):
19292 * progmodes/idlw-shell.el (idlwave-shell-mode):
19293 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19294 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19295 (vhdl-ps-print-init): Fix typos.
19297 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
19299 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19300 FSF and collapse date sequence, obscure author/maintainer email address
19301 better, remove extra version line, track relocation of author's webpage.
19303 * progmodes/python.el (python-pdbtrack-input-prompt)
19304 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19305 regular python pdb prompts. Adjustments shamelessly taken exactly as
19306 suggested in EmacsWiki page (tiny change):
19307 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19309 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
19311 * expand.el (expand-pos, expand-index, expand-point):
19312 Remove redundant info from docstring.
19313 (expand-add-abbrevs): Doc fix.
19314 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19315 (expand-sample-perl-mode-expand-list): Fix typos.
19317 * net/dbus.el (dbus-event-member-name):
19318 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19319 * term/pc-win.el (msdos-create-frame-with-faces):
19320 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19322 2011-11-16 Martin Rudalics <rudalics@gmx.at>
19324 * window.el (split-window, window-state-get-1)
19325 (window-state-put-1, window-state-put-2): Rename occurrences of
19326 window-nest to window-combination-limit.
19327 * cus-start.el (window-nest): Rename to window-combination-limit.
19329 2011-11-16 Chong Yidong <cyd@gnu.org>
19331 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19332 regexp (Bug#10033).
19334 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
19336 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19337 `completing-read' will remove *Completions* and will preserve
19338 current-buffer for us.
19339 (tmm-add-prompt): Users of *Completions* will always (re)set its
19341 (tmm-old-comp-map): Remove.
19343 2011-11-16 Glenn Morris <rgm@gnu.org>
19345 * mail/rmailedit.el: Require rmailmm when compiling.
19346 (rmail-old-mime-state): New declaration.
19347 (rmail-edit-current-message): If editing a mime message,
19348 edit the "raw" message from the mbox buffer.
19349 (rmail-cease-edit): Handle mime messages. (Bug#9840)
19351 2011-11-15 Glenn Morris <rgm@gnu.org>
19353 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19354 which wasn't being used. Add optional arg to force given state.
19355 (rmail-mime): Add optional arg to force given state.
19357 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19359 * allout.el (allout-encryption-plaintext-sanitization-regexps):
19360 * frame.el (display-mm-dimensions-alist):
19361 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19362 (outline-move-subtree-down):
19363 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19364 (newsticker--treeview-do-get-node):
19365 * net/quickurl.el (quickurl-list-buffer-name):
19366 * progmodes/dcl-mode.el (dcl-mode):
19367 * progmodes/gdb-mi.el (gdb-mapcar*):
19368 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19370 2011-11-15 Glenn Morris <rgm@gnu.org>
19372 * mail/rmail.el (rmail-file-coding-system): It's only ever used
19373 in a boolean sense, so just make it a boolean, and fix the doc.
19374 (rmail-show-mime-function, rmail-mime-feature)
19375 (rmail-require-mime-maybe): Doc fixes.
19376 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19378 * mail/rmailmm.el (rmail-show-mime): Doc fix.
19380 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
19382 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19383 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19384 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19385 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19387 2011-11-15 Glenn Morris <rgm@gnu.org>
19389 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19390 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19391 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19392 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19393 (rmail-mime, rmail-show-mime): Doc fixes.
19395 * term/ns-win.el (mode-line-frame-identification):
19396 Leave it alone. (Bug#10051)
19398 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
19400 * mail/rmailout.el (rmail-output-to-rmail-buffer):
19401 Handle empty buffers. (Bug#9978)
19403 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
19405 * international/mule.el (define-charset):
19406 * mail/rmailmm.el (rmail-mime-find-header-encoding):
19407 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19408 * progmodes/verilog-mode.el (verilog-backward-token):
19409 * textmodes/ispell.el (lookup-words):
19410 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19412 2011-11-14 Glenn Morris <rgm@gnu.org>
19414 * progmodes/executable.el
19415 (executable-make-buffer-file-executable-if-script-p):
19416 Handle file-modes returning nil.
19418 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19419 message - not necessary, and causes problems. (Bug#9831)
19421 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19423 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19425 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19426 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
19427 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19429 2011-11-12 Martin Rudalics <rudalics@gmx.at>
19431 * window.el (window-resize, delete-window): Use window-splits
19432 variable instead of function.
19433 (window-state-get-1, window-state-put-2, window-state-put):
19434 Don't deal with windows' splits status.
19436 2011-11-12 Glenn Morris <rgm@gnu.org>
19438 * apropos.el (apropos-do-all, apropos-library, apropos-value)
19439 (apropos-documentation): Doc fixes.
19441 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
19443 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19444 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19446 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
19448 * electric.el (electric-indent-post-self-insert-function): Make it
19449 possible for a char to only indent in some circumstances.
19450 (electric-indent-mode): Simplify.
19452 2011-11-11 Martin Rudalics <rudalics@gmx.at>
19454 * window.el (windows-with-parameter): Remove unused function.
19455 (windows-at-side): Rename to window-at-side-list.
19456 (window-check, window-atom-check, window-atom-check-1)
19457 (window-side-check, window-size-ignore, window-size-fixed-1)
19458 (window-in-direction-2): Prefix with "window--".
19459 (window-tree-1): Rename to window--subtree, fix doc-string.
19461 2011-11-11 Glenn Morris <rgm@gnu.org>
19463 * subr.el (eval-after-load): If FILE is already loaded,
19464 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
19466 2011-11-10 Glenn Morris <rgm@gnu.org>
19468 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19469 Call svn via vc-svn-command rather than vc-do-command.
19470 (vc-svn-command): Add --non-interactive. (Bug#9993)
19471 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19473 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19474 Add toggle-read-only. (Bug#7292)
19475 * files.el (toggle-read-only): Mention that it should only
19476 be used interactively. (Bug#10006)
19478 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19480 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19481 Adjust regexp for OCaml warnings.
19483 * electric.el (electric-pair-post-self-insert-function): Let user
19484 turn it off buffer-locally (bug#9932).
19486 * progmodes/python.el (python-beginning-of-statement):
19487 Rewrite (bug#2703).
19489 * progmodes/compile.el: Better handle TABs (bug#9749).
19490 (compilation-internal-error-properties)
19491 (compilation-next-error-function): Obey the target buffer's
19492 compilation-error-screen-columns.
19494 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19496 * progmodes/meta-mode.el: Remove obsolete comments.
19497 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19498 Fix typos in docstrings.
19500 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19502 * window.el (window-size-fixed-p): Rewrite doc-string.
19503 (window-resizable-p): Rename to window--resizable-p. Update callers.
19504 (window--resizable): New function. Make all callers of
19505 window-resizable call window--resizable instead.
19506 (window-resizable): Rewrite in terms of window--resizable.
19508 2011-11-08 Glenn Morris <rgm@gnu.org>
19510 * progmodes/delphi.el (delphi-mode-syntax-table):
19511 Let define-derived-mode define a proper syntax table. (Bug#9994)
19513 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19515 * window.el: Stay away from defsubst.
19516 (window-list-no-nils): Remove.
19517 (window-state-get-1, window-state-get): Use backquote instead.
19519 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19521 * emacs-lisp/find-func.el (find-function-read):
19522 Fix incorrect use of default argument in `completing-read'.
19524 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19526 * window.el (display-buffer-function, special-display-function):
19527 Mention display-buffer-record-window but do not mention
19528 help-setup parameter in doc-strings.
19529 (window-min-delta): Fix doc-string typo.
19531 2011-11-08 Chong Yidong <cyd@gnu.org>
19533 * window.el (window-total-height, window-total-width): Doc fix.
19534 (window-body-size): Move from C.
19535 (window-body-height, window-body-width): Move to C.
19537 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19539 * window.el: Make special-display like display-buffer-alist (bug#9532).
19540 (display-buffer--special-action): New function, morphed
19541 from display-buffer--special.
19542 (display-buffer): Use it to handle special-display-buffers at higher
19543 priority (just after display-buffer-alist).
19544 (display-buffer-fallback-action, display-buffer--other-frame-action)
19545 (pop-to-buffer-same-window): Remove display-buffer--special.
19547 2011-11-07 Glenn Morris <rgm@gnu.org>
19549 * calendar/cal-menu.el (cal-menu-set-date-title):
19550 Do nothing if not in a calendar. (Bug#9976)
19552 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19554 * files.el (find-file): Always use selected-window.
19556 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19558 * window.el (window-combinations): Make WINDOW argument
19559 mandatory. Rewrite doc-string.
19560 (walk-window-subtree, window-atom-check, window-min-delta)
19561 (window-max-delta, window--resize-this-window)
19562 (window--resize-root-window-vertically, window-tree)
19563 (balance-windows, window-state-put): Rewrite doc-strings as to
19564 not mention the term "subwindow".
19565 (window--resize-subwindows-skip-p): Rename to
19566 window--resize-child-windows-skip-p.
19567 (window--resize-subwindows-normal): Rename to
19568 window--resize-child-windows-normal.
19569 (window--resize-subwindows): Rename to
19570 window--resize-child-windows.
19571 (window-or-subwindow-p): Rename to window--in-subtree-p.
19573 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19575 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19576 Ensure that mbox format messages end in two newlines (Bug#9974).
19578 2011-11-06 Chong Yidong <cyd@gnu.org>
19580 * window.el (window-combination-p): Function deleted; its
19581 side-effect is not used in any existing code.
19582 (window-combinations, window-combined-p): Call window-*-child
19585 2011-11-05 Chong Yidong <cyd@gnu.org>
19587 * window.el (window-valid-p): Rename from window-any-p.
19588 (window-size-ignore, window-state-get): Callers changed.
19589 (window-normalize-window): Rename from window-normalize-any-window.
19590 New arg LIVE-ONLY, replacing window-normalize-live-window.
19591 (window-normalize-live-window): Delete.
19592 (window-combination-p, window-combined-p, window-combinations)
19593 (walk-window-subtree, window-atom-root, window-min-size)
19594 (window-sizable, window-sizable-p, window-size-fixed-p)
19595 (window-min-delta, window-max-delta, window-resizable)
19596 (window-resizable-p, window-full-height-p, window-full-width-p)
19597 (window-current-scroll-bars, window-point-1, set-window-point-1)
19598 (window-at-side-p, window-in-direction, window-resize)
19599 (adjust-window-trailing-edge, maximize-window, minimize-window)
19600 (window-deletable-p, delete-window, delete-other-windows)
19601 (record-window-buffer, unrecord-window-buffer)
19602 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19603 (quit-window, split-window, window-state-put)
19604 (set-window-text-height, fit-window-to-buffer)
19605 (shrink-window-if-larger-than-buffer): Callers changed.
19607 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19609 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19610 rfc2047-decode-string.
19611 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19614 * window.el (window-body-height, window-body-width): Mention in
19615 the doc string that the return values are in frame's canonical
19618 2011-11-03 Alan Mackenzie <acm@muc.de>
19620 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19621 change in cc-engine.el.
19623 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19625 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19627 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19629 * window.el (quit-window): Call unrecord-window-buffer after
19630 showing another buffer in the window. (Bug#9937)
19631 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19633 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19635 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19636 Accept status with more than 9 shelves. (Bug#9935)
19637 Reported by Colin D Bennett <colin@gibibit.com>.
19639 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19641 * help.el (with-help-window): Don't reference
19642 temp-buffer-show-specifiers in doc-string.
19644 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19646 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19649 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19651 * whitespace.el: New version 13.2.2.
19652 (whitespace-newline-mode): Disable properly. Reported by Sarah
19655 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19657 * net/newst-treeview.el: Remove "Time-stamp".
19658 (newsticker--group-manage-orphan-feeds): Do not call
19659 newsticker--treeview-tree-update.
19660 (newsticker-treeview-update, newsticker-treeview):
19661 Call newsticker--treeview-tree-update if necessary.
19663 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19665 * window.el (window-iso-combination-p, window-iso-combined-p)
19666 (window-iso-combinations): Remove "iso-" infix.
19667 Suggested by Chong Yidong.
19668 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19669 (window-max-delta-1, window-resize, window--resize-siblings)
19670 (window--resize-this-window, adjust-window-trailing-edge)
19671 (split-window, balance-windows-1)
19672 (shrink-window-if-larger-than-buffer):
19673 * calendar/calendar.el (calendar-generate-window):
19674 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19676 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19678 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19679 in place (bug#9907).
19680 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19681 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19682 (eshell-structure-basic-command, eshell-rewrite-while-command)
19683 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19684 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19685 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19686 (eshell-do-pipelines-synchronously, eshell-eval-command):
19687 Use backquotes and prefer setq to set.
19688 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19689 (eshell-macrop): Use functionp.
19690 (eshell-do-eval): Handle multiple expressions in `while' body.
19692 2011-10-30 Chong Yidong <cyd@gnu.org>
19694 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19695 instead of set-mark (Bug#9810).
19697 2011-10-30 Chong Yidong <cyd@gnu.org>
19699 * window.el (split-window-below, split-window-right): Rename from
19700 split-window-above-each-other and split-window-side-by-side
19701 respectively. All callers changed.
19702 (split-window-sensibly, split-window-sensibly): Use them.
19703 (split-window-keep-point): Doc fix.
19705 * isearch.el: Add isearch-scroll property to split-window-below
19706 and split-window-right.
19708 * follow.el (follow-mode):
19709 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19710 * progmodes/ada-xref.el (ada-gdb-application):
19711 * emulation/vip.el (vip-buffer-in-two-windows):
19712 * image-dired.el (image-dired-dired-with-window-configuration):
19713 * dired-x.el (dired-do-find-marked-files):
19714 * dired.el (dired-pop-to-buffer):
19715 * bs.el (bs--show-with-configuration):
19716 * vc/emerge.el (emerge-setup-windows):
19717 * textmodes/two-column.el (2C-two-columns):
19718 * textmodes/reftex-toc.el (reftex-toc):
19719 * progmodes/gdb-mi.el (gdb-setup-windows):
19720 * progmodes/fortran.el (fortran-window-create):
19721 * net/newst-treeview.el (newsticker--treeview-window-init):
19722 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19723 * emulation/tpu-edt.el (tpu-gold-map):
19724 * emulation/crisp.el (crisp-mode-map):
19725 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19727 2011-10-29 Chong Yidong <cyd@gnu.org>
19729 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19731 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19733 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19734 forged Ispell output (Bug#7904).
19736 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19738 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19740 * doc-view.el: Avoid ugly errors about not finding nil.
19741 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19742 (doc-view-dvipdf-program, doc-view-unoconv-program)
19743 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19744 Avoid nil or absolute file name as default value.
19745 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19747 2011-10-28 Alan Mackenzie <acm@muc.de>
19749 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19751 2011-10-28 Alan Mackenzie <acm@muc.de>
19753 Amend the handling of c-beginning/end-of-defun in nested declaration
19756 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19757 cc-langs.el. Change it to a defcustom.
19759 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19762 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19763 Prevent "class foo : bar" being spuriously recognized as a label.
19765 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19766 Add parameter `inclusive' (to include enclosing braces in the region).
19767 (c-widen-to-enclosing-decl-scope): New function.
19768 (c-while-widening-to-decl-block): New macro.
19769 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19770 outward for defun boundaries, and correspondingly change symbol
19771 `respect-enclosure' to `go-outward'.
19772 (c-declaration-limits): Change algorithm to report only the "innermost"
19773 defun's boundaries.
19775 2011-10-28 Deniz Dogan <deniz@dogan.se>
19777 * net/rcirc.el (rcirc-mode): Use hard newlines.
19779 2011-10-28 Alan Mackenzie <acm@muc.de>
19781 Amend to indent and fontify macros "which include their own semicolon"
19782 correctly, using the "virtual semicolon" mechanism.
19784 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19786 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19787 Recode to scan one line at a time rather than having \n and \r
19788 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19789 (c-forward-label): Amend for virtual semicolons.
19790 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19792 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19793 of the new C macros.
19795 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19796 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19797 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19798 (c-opt-cpp-macro-define): Make into a full language variable.
19799 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19800 AWK Mode (including \n, \r) removed, no longer needed.
19802 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19803 Invoke c-make-macro-with-semi-re.
19805 * progmodes/cc-vars.el (c-macro-with-semi-re):
19806 (c-macro-names-with-semicolon): New variables.
19807 (c-make-macro-with-semi-re): New function.
19809 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19811 * vc/log-edit.el: Fill empty field rather than adding new one.
19812 (log-edit-add-field): New function.
19813 (log-edit-insert-changelog): Use it.
19815 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19817 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19819 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19821 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19822 (gdb--check-interpreter): New function.
19825 2011-10-27 Glenn Morris <rgm@gnu.org>
19827 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19828 (least-positive-float, least-negative-float)
19829 (least-positive-normalized-float, least-negative-normalized-float)
19830 (float-epsilon, float-negative-epsilon):
19831 Remove unnecessary declarations.
19833 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19834 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19835 (least-positive-float, least-negative-float)
19836 (least-positive-normalized-float, least-negative-normalized-float)
19837 (float-epsilon, float-negative-epsilon): Add doc-strings,
19838 based on those in cl.texi.
19840 * files.el (set-visited-file-name): If the major-mode changed,
19841 reload the local variables. (Bug#9796)
19843 2011-10-27 Chong Yidong <cyd@gnu.org>
19845 * subr.el (change-major-mode-after-body-hook): New hook.
19846 (run-mode-hooks): Run it.
19848 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19849 Use change-major-mode-before-body-hook.
19851 * simple.el (fundamental-mode):
19852 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19853 change introducing fundamental-mode-hook.
19855 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19857 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19859 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19861 * ido.el (ido-file-name-all-completions-1): Do not require
19862 tramp.el explicitly. (Bug#7583)
19864 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19866 * progmodes/octave-mod.el:
19867 * progmodes/octave-inf.el: Update maintainer.
19869 2011-10-26 Chong Yidong <cyd@gnu.org>
19871 * subr.el (with-wrapper-hook): Rewrite doc.
19873 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19875 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19876 filenames "/method:foo:". (Bug#9793)
19878 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19880 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19883 2011-10-24 Glenn Morris <rgm@gnu.org>
19885 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19887 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19889 * notifications.el: Add the requirement of a running D-Bus session
19890 bus to the Commentary.
19892 2011-10-24 Juri Linkov <juri@jurta.org>
19894 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19895 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19898 2011-10-24 Juri Linkov <juri@jurta.org>
19900 * info.el (Info-following-node-name-re): Add newline to the list
19901 of allowed characters for leading space. (Bug#9824)
19903 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19905 * progmodes/octave-inf.el (inferior-octave-mode-map):
19906 Fix C-c C-h binding.
19907 * progmodes/octave-mod.el (octave-help): Remove.
19909 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19911 Sync with Tramp 2.2.3.
19913 * net/tramp-cache.el (top): Pacify byte-compiler using
19914 `init-file-user' and `site-run-file'.
19916 * net/trampver.el: Update release number.
19918 2011-10-23 Chong Yidong <cyd@gnu.org>
19920 * files.el (toggle-read-only): Remove obsolete comment about
19923 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19924 for toggle-read-only. Note that this hasn't called vc-next-action
19925 since 2008-05-02, though it wasn't documented at the time.
19927 * vc/ediff-init.el (ediff-toggle-read-only-function):
19928 Use toggle-read-only.
19930 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19932 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19935 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19936 correct faulty logical expression.
19937 (c-parse-state-state, c-record-parse-state-state):
19938 (c-replay-parse-state-state): New defvar/defuns.
19939 (c-debug-parse-state): Use new functions.
19941 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19943 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19944 last fix. Use window-in-direction correctly.
19946 2011-10-21 Chong Yidong <cyd@gnu.org>
19948 * progmodes/idlwave.el (idlwave-mode):
19949 * progmodes/vera-mode.el (vera-mode): No need to set
19950 require-final-newline; that's done in prog-mode.
19951 Suggested by Stefan Monnier.
19953 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19955 * mouse.el (mouse-drag-window-above)
19956 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19957 (mouse-drag-mode-line-1, mouse-drag-header-line)
19958 (mouse-drag-vertical-line-rightward-window): Remove.
19959 (mouse-drag-line): New function.
19960 (mouse-drag-mode-line, mouse-drag-header-line)
19961 (mouse-drag-vertical-line): Call mouse-drag-line.
19962 * window.el (window-at-side-p, windows-at-side): New functions.
19964 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19966 * tar-mode.el (tar-grind-file-mode):
19967 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19969 2011-10-21 Chong Yidong <cyd@gnu.org>
19971 * progmodes/idlwave.el (idlwave-mode):
19972 * progmodes/vera-mode.el (vera-mode):
19973 Use mode-require-final-newline.
19975 2011-10-20 Glenn Morris <rgm@gnu.org>
19977 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19979 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19981 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19983 2011-10-20 Chong Yidong <cyd@gnu.org>
19985 * emulation/cua-base.el (cua-mode):
19986 * mail/footnote.el (footnote-mode):
19987 * mail/mailabbrev.el (mail-abbrevs-mode):
19988 * net/xesam.el (xesam-minor-mode):
19989 * progmodes/bug-reference.el (bug-reference-mode):
19990 * progmodes/cap-words.el (capitalized-words-mode):
19991 * progmodes/compile.el (compilation-minor-mode)
19992 (compilation-shell-minor-mode):
19993 * progmodes/gud.el (gud-tooltip-mode):
19994 * progmodes/hideif.el (hide-ifdef-mode):
19995 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19996 * progmodes/subword.el (subword-mode):
19997 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19998 * progmodes/which-func.el (which-function-mode):
19999 * term/tvi970.el (tvi970-set-keypad-mode):
20000 * term/vt100.el (vt100-wide-mode):
20001 * textmodes/flyspell.el (flyspell-mode):
20002 * textmodes/ispell.el (ispell-minor-mode):
20003 * textmodes/nroff-mode.el (nroff-electric-mode):
20004 * textmodes/paragraphs.el (use-hard-newlines):
20005 * textmodes/refill.el (refill-mode):
20006 * textmodes/reftex.el (reftex-mode):
20007 * textmodes/rst.el (rst-minor-mode):
20008 * textmodes/sgml-mode.el (html-autoview-mode)
20009 (sgml-electric-tag-pair-mode):
20010 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
20011 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
20012 * emulation/crisp.el (crisp-mode):
20013 * emacs-lisp/eldoc.el (eldoc-mode):
20014 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
20015 minor mode behavior.
20017 2011-10-19 Juri Linkov <juri@jurta.org>
20019 * descr-text.el (describe-char): Add #x2010 and #x2011 to
20020 the list of hard-coded chars with escape-glyph face.
20022 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
20024 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
20026 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
20028 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
20031 2011-10-19 Glenn Morris <rgm@gnu.org>
20033 * vc/vc-bzr.el (vc-bzr-after-dir-status):
20034 Ignore ignored files. (Bug#9726)
20036 2011-10-19 Chong Yidong <cyd@gnu.org>
20038 Doc fix for minor modes, stating that an omitted argument enables
20039 the mode unconditionally when called from Lisp.
20041 * abbrev.el (abbrev-mode):
20042 * allout.el (allout-mode):
20043 * autoinsert.el (auto-insert-mode):
20044 * autoarg.el (autoarg-mode, autoarg-kp-mode):
20045 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20046 (global-auto-revert-mode):
20047 * battery.el (display-battery-mode):
20048 * composite.el (global-auto-composition-mode)
20049 (auto-composition-mode):
20050 * delsel.el (delete-selection-mode):
20051 * desktop.el (desktop-save-mode):
20052 * dired-x.el (dired-omit-mode):
20053 * dirtrack.el (dirtrack-mode):
20054 * doc-view.el (doc-view-minor-mode):
20055 * double.el (double-mode):
20056 * electric.el (electric-indent-mode, electric-pair-mode):
20057 * emacs-lock.el (emacs-lock-mode):
20058 * epa-hook.el (auto-encryption-mode):
20059 * follow.el (follow-mode):
20060 * font-core.el (font-lock-mode):
20061 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20062 * help.el (temp-buffer-resize-mode):
20063 * hilit-chg.el (highlight-changes-mode)
20064 (highlight-changes-visible-mode):
20065 * hi-lock.el (hi-lock-mode):
20066 * hl-line.el (hl-line-mode, global-hl-line-mode):
20067 * icomplete.el (icomplete-mode):
20068 * ido.el (ido-everywhere):
20069 * image-file.el (auto-image-file-mode):
20070 * image-mode.el (image-minor-mode):
20071 * iswitchb.el (iswitchb-mode):
20072 * jka-cmpr-hook.el (auto-compression-mode):
20073 * linum.el (linum-mode):
20074 * longlines.el (longlines-mode):
20075 * master.el (master-mode):
20076 * mb-depth.el (minibuffer-depth-indicate-mode):
20077 * menu-bar.el (menu-bar-mode):
20078 * minibuf-eldef.el (minibuffer-electric-default-mode):
20079 * mouse-sel.el (mouse-sel-mode):
20080 * msb.el (msb-mode):
20081 * mwheel.el (mouse-wheel-mode):
20082 * outline.el (outline-minor-mode):
20083 * paren.el (show-paren-mode):
20084 * recentf.el (recentf-mode):
20085 * reveal.el (reveal-mode, global-reveal-mode):
20086 * rfn-eshadow.el (file-name-shadow-mode):
20087 * ruler-mode.el (ruler-mode):
20088 * savehist.el (savehist-mode):
20089 * scroll-all.el (scroll-all-mode):
20090 * scroll-bar.el (scroll-bar-mode):
20091 * server.el (server-mode):
20092 * shell.el (shell-dirtrack-mode):
20093 * simple.el (auto-fill-mode, transient-mark-mode)
20094 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20095 (line-number-mode, column-number-mode, size-indication-mode)
20096 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20097 * strokes.el (strokes-mode):
20098 * time.el (display-time-mode):
20099 * t-mouse.el (gpm-mouse-mode):
20100 * tool-bar.el (tool-bar-mode):
20101 * tooltip.el (tooltip-mode):
20102 * type-break.el (type-break-mode-line-message-mode)
20103 (type-break-query-mode):
20104 * view.el (view-mode):
20105 * whitespace.el (whitespace-mode, whitespace-newline-mode)
20106 (global-whitespace-mode, global-whitespace-newline-mode):
20107 * xt-mouse.el (xterm-mouse-mode): Doc fix.
20109 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20110 Fix autogenerated docstring.
20112 2011-10-19 Juri Linkov <juri@jurta.org>
20114 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20115 by checking environment variables "DESKTOP_SESSION" and
20116 "XDG_CURRENT_DESKTOP". (Bug#9779)
20118 2011-10-19 Juri Linkov <juri@jurta.org>
20120 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20121 (browse-url-chromium-program, browse-url-chromium-arguments):
20123 (browse-url-default-browser): Check for `browse-url-chromium' and
20124 call `browse-url-chromium-program'.
20125 (browse-url-chromium): New command. (Bug#9779)
20127 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
20129 * facemenu.el (list-colors-duplicates): On Windows, detect more
20130 duplicates by assuming that only colors matching "^System" are
20131 special "system colors". (Bug#9722)
20133 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
20135 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20136 to distinguish the author from the committer.
20138 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
20140 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20142 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
20144 * international/mule.el (sgml-html-meta-auto-coding-function):
20145 Add support for detecting encoding in HTML5 specified only as
20146 <meta charset="UTF-8">. Implementation just makes http-equiv and
20147 content-type parts from HTML4 encoding string optional. (Bug#9716)
20149 2011-10-18 Glenn Morris <rgm@gnu.org>
20151 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
20153 2011-10-18 Chong Yidong <cyd@gnu.org>
20155 * faces.el (cursor): Doc fix.
20157 2011-10-17 Chong Yidong <cyd@gnu.org>
20159 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20161 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
20163 * dirtrack.el (dirtrack): Support shell buffers with path
20164 prefixes, e.g. tramp-based remote shells. (Bug#9647)
20166 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
20168 * json.el: Bump version to 1.3 and note change in History.
20169 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20171 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
20173 * comint.el (comint-insert-input, comint-send-input)
20174 (comint-get-old-input-default, comint-backward-matching-input)
20175 (comint-next-prompt): Use nil instead of `input' for field property of
20176 past user input (bug#114).
20178 * minibuffer.el (completion--replace): Inherit surrounding properties
20180 (minibuffer-complete-and-exit): Use it.
20182 * comint.el (comint--table-subvert): Quote the all-completions output
20185 2011-10-17 Martin Rudalics <rudalics@gmx.at>
20187 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20189 * menu-bar.el (menu-bar-file-menu): Add entry for making new
20190 window on right of selected. (Bug#9350) Reword other window
20191 entries and separate them from frame entries.
20193 2011-10-15 Glenn Morris <rgm@gnu.org>
20195 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20198 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
20200 * net/network-stream.el (network-stream-open-starttls):
20201 Improve detection of failure due to lack of TLS support.
20203 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20204 putting the input text in front and in bold.
20206 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
20208 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20210 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20213 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20214 unread-command-events rather than pushing yet-another event.
20216 2011-10-14 Eli Zaretskii <eliz@gnu.org>
20218 * mail/sendmail.el (sendmail-query-once): Improve the wording of
20219 the explanation of the possible choices. Make the options passed
20220 to completing-read shorter.
20222 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20224 * textmodes/flyspell.el (flyspell-large-region): Make sure
20225 extended character mode is used if defined (Bug#1339).
20227 2011-10-13 Eli Zaretskii <eliz@gnu.org>
20229 * simple.el (what-cursor-position): Fix the display of the
20230 character info for LRE, LRO, RLE, and RLO characters by appending
20233 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
20235 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20236 even in case of error; add debug spec; simplify data flow.
20237 (with-timeout-handler): Remove.
20239 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
20241 Fix Bug#6019, Bug#9315.
20243 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20244 complete `buffer-file-name', the local file name part could look
20245 remotely (for example on VMS).
20247 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20248 `tramp-run-real-handler'.
20249 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20250 already quoted by '"'.
20252 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20253 Let `file-name-handler-alist' be nil, the local file name part
20254 could look remotely (for example on VMS).
20256 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
20258 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20260 (flyspell-post-command-hook): ...to here.
20262 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20264 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20266 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
20267 using completion. Protect against "slow" callers.
20268 Remove the "message hack".
20270 2011-10-11 Juri Linkov <juri@jurta.org>
20272 * isearch.el (isearch-lazy-highlight-word): New variable.
20273 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20276 2011-10-11 Glenn Morris <rgm@gnu.org>
20278 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20279 like f90-previous-statement does.
20281 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20283 * eshell/eshell.el (eshell-command): History should be saved
20284 only in interactive use, to avoid error.
20286 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
20288 * minibuffer.el (completion-file-name-table): Fix last change,
20289 i.e. ignore normal errors but not the other ones.
20291 2011-10-10 Martin Rudalics <rudalics@gmx.at>
20293 * window.el (special-display-buffer-names)
20294 (special-display-regexps): Remove some remnants of earlier
20295 changes from doc-strings.
20296 (quit-windows-on): New function.
20298 * vc/vc.el (vc-revert, vc-rollback):
20299 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20300 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
20301 (Bug#6183) (Bug#7074) (Bug#7447)
20303 2011-10-09 Martin Rudalics <rudalics@gmx.at>
20305 * window.el (frame-auto-hide-function): Add version tag.
20308 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
20310 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20313 2011-10-09 Leo Liu <sdl.web@gmail.com>
20315 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20318 2011-10-08 Glenn Morris <rgm@gnu.org>
20320 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20321 before the first code statement zero indent. (Bug#9690)
20323 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
20325 * simple.el (count-words-region): Always count in the region.
20326 Report the number of lines and characters too.
20327 (count-words): New command, which counts in the buffer if the
20328 region is inactive, as count-words-region used to.
20329 (count-words--message): New function. Handle plurals.
20330 (count-lines-region): Make it an alias for count-words-region.
20332 * bindings.el (esc-map): Replace count-lines-region with
20333 count-words-region.
20335 2011-10-08 Martin Rudalics <rudalics@gmx.at>
20337 * window.el (window--delete): Delete dedicated frame
20338 unconditionally when argument KILL is non-nil. (Bug#9699)
20339 (switch-to-buffer): Fix doc-string typo.
20341 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20343 * eshell/eshell.el (eshell-command): Avoid using hooks.
20345 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
20347 * bindings.el ([M-left],[M-right]): Bind to left-word and
20348 right-word respectively.
20350 2011-10-07 Glenn Morris <rgm@gnu.org>
20352 * cus-start.el (debug-on-quit): Fix custom type.
20354 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20356 * subr.el (define-key-after): Clarify that the function is not
20357 useful for non-menu keymaps.
20359 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20361 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20363 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20364 in current minibuffer (Fix bug with recursive minibuffers).
20366 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
20368 * progmodes/gdb-mi.el (gdb): Doc fix.
20370 2011-10-05 Martin Rudalics <rudalics@gmx.at>
20372 * window.el (frame-auto-hide-function): New option replacing
20373 frame-auto-delete. Suggested by Stefan Monnier.
20374 (window--delete): Call frame-auto-hide-function instead of
20375 investigating frame-auto-delete.
20376 (window-point-1, set-window-point-1): New functions.
20377 (window-in-direction, record-window-buffer, window-state-get-1)
20378 (display-buffer-record-window): Use window-point-1 instead of
20380 (set-window-buffer-start-and-point): Use set-window-point-1.
20382 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20384 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20386 2011-10-05 Glenn Morris <rgm@gnu.org>
20388 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20389 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
20391 2011-10-05 Leo Liu <sdl.web@gmail.com>
20393 * subr.el (read-char-choice): Fix argument to buffer-live-p which
20394 works with buffer object.
20396 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
20398 * mpc.el (mpc-tool-bar-map): Add labels.
20400 2011-10-04 Glenn Morris <rgm@gnu.org>
20402 * calendar/holidays.el (calendar-check-holidays): Doc fix.
20404 2011-10-04 Martin Rudalics <rudalics@gmx.at>
20406 * window.el (window--delete): New function.
20407 (frame-auto-delete): Resuscitate option.
20408 (bury-buffer, replace-buffer-in-windows)
20409 (quit-window): Rewrite using window--delete.
20410 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20411 Pass display-buffer-mark-dedicated to window--display-buffer-2
20414 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20416 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20417 returns a list (bug#9554). Add remote file name completion.
20418 * comint.el (comint--table-subvert): Curry and get quote&unquote
20419 functions as arguments.
20420 (comint--complete-file-name-data): Adjust call accordingly.
20421 * pcomplete.el (pcomplete--table-subvert): Remove.
20422 (pcomplete-completions-at-point): Use comint--table-subvert instead.
20424 * minibuffer.el (completion-table-case-fold): Use currying.
20425 (completion--styles-type, completion--cycling-threshold-type):
20427 (completion-styles, completion-category-overrides)
20428 (completion-cycle-threshold): Use them.
20429 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20430 completion-table-case-fold.
20432 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
20434 * minibuffer.el (completion-category-overrides): Fix type of styles
20435 and add more user friendly tags (bug#9660).
20437 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
20439 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20440 (mule-input-method-string): New widget.
20441 (default-input-method, language-info-custom-alist): Use it.
20443 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
20445 * pcomplete.el: Require comint.
20446 (pcomplete--common-suffix): Remove.
20447 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20448 (pcomplete--table-subvert): Sync with comint--table-subvert.
20449 (pcomplete--entries): Use comint-completion-file-name-table.
20450 * comint.el (comint-unquote-filename): Simplify.
20451 (comint-completion-file-name-table): New function (bug#9616).
20452 (comint--complete-file-name-data): Use it.
20454 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20455 (pcmpl-gnu-tar-buffer): Remove.
20456 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20457 around. Make sure pcomplete-suffix-list is only changed temporarily.
20458 Don't look inside the tar's file if it's too large.
20460 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
20462 * cus-edit.el (custom-mode-map):
20463 * epa.el (epa-key-list-mode-map):
20464 * man.el (Man-mode-map):
20465 * startup.el (splash-screen-keymap):
20466 * simple.el (special-mode-map): Use scroll-up-command and
20467 scroll-down-command.
20469 * progmodes/idlw-help.el (idlwave-help-mode-map):
20470 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20471 * net/newst-plainview.el (newsticker-mode-map):
20472 * emulation/ws-mode.el (wordstar-mode-map):
20473 * emulation/vi.el (vi-com-map):
20474 * calc/calc-graph.el (calc-graph-show-dumb):
20475 * term/sun.el (terminal-init-sun):
20476 * term/ns-win.el (global-map):
20477 * progmodes/grep.el (grep-mode-map):
20478 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20479 * mail/rmail.el (rmail-mode-map):
20480 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20482 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20483 custom-safe-themes as special.
20485 2011-10-01 Julien Danjou <julien@danjou.info>
20487 * notifications.el (notifications-notify): Fix docstring.
20489 2011-10-01 Per Starbäck <per@starback.se>
20491 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20493 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20495 * startup.el (command-line-1): Fix last fix by inserting
20496 initial-scratch-message into *scratch* before displaying it.
20497 (Bug#9605) and (Bug#9636)
20499 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20501 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20502 window is hscrolled, move by logical lines. (Bug#9607)
20503 (line-move-visual): Update the doc string to the above effect.
20505 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20507 * window.el (display-buffer-record-window): When WINDOW is the
20508 selected window use `point' instead of `window-point'. (Bug#9626)
20510 * startup.el (command-line-1): Use insert-before-markers when
20511 inserting initial-scratch-message. (Bug#9605)
20513 * help.el (help-window): Remove variable.
20515 2011-09-29 Glenn Morris <rgm@gnu.org>
20517 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20519 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20521 * descr-text.el (describe-char-categories): Accept category
20522 descriptions more than one line long.
20524 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20526 * simple.el (delete-trailing-whitespace): Fix last change.
20528 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20529 Don't confuse "y => 3" as the beginning of a `y' operation.
20531 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20532 object has more than 4 slots (bug#9613).
20534 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20536 * subr.el (with-output-to-temp-buffer):
20537 * net/quickurl.el (quickurl, quickurl-browse-url):
20538 Fix typos in docstrings.
20540 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20542 * minibuffer.el (completion-styles)
20543 (completion-category-overrides): Cross reference each other in doc
20546 2011-09-27 Glenn Morris <rgm@gnu.org>
20548 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20549 to split-string. (Bug#9606)
20551 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20553 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20556 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20558 * emacs-lisp/package.el (list-packages): Fix echo area message.
20560 2011-09-27 Leo Liu <sdl.web@gmail.com>
20562 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20564 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20566 * net/dbus.el (dbus-unregister-object): Don't release services for
20567 registered signals. (Bug#9581)
20569 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20571 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20572 function that picks between cfengine 2 and 3 support
20573 automatically. Update docs accordingly.
20575 2011-09-22 Kenichi Handa <handa@m17n.org>
20577 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20579 (indian-itrans-v5-table-for-tamil): New variable.
20580 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20582 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20584 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20585 that's true if the current command involved collapsing of text.
20586 It's reset to false at the beginning of the next command.
20587 (allout-post-command-business): Move the cursor to the beginning
20588 of entry if the cursor is hidden and collapsing activity just
20591 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20593 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20594 tracking (Bug#9541).
20596 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20598 * net/newst-reader.el (newsticker-html-renderer)
20599 (newsticker-show-news): Automatically load html rendering package
20600 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20601 because w3m-fill-column is let-bound" and the error "Symbol's value
20602 as variable is void: w3m-fill-column".
20604 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20606 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20607 Release services only if they are defined. (Bug#9581)
20609 2011-09-23 Richard Stallman <rms@gnu.org>
20611 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20612 distinguish start of paragraph from start of its text.
20614 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20616 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20617 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20618 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20620 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20622 * international/mule-diag.el (mule-diag): Insert a newline after
20623 each fontset description.
20625 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20627 * simple.el (delete-trailing-whitespace):
20628 Document last change; simplify.
20630 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20632 * simple.el (delete-trailing-whitespace): Also delete
20633 extra newlines at the end of the buffer.
20635 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20636 (picture-newline): Use forward-line so as to ignore fields.
20638 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20640 * subr.el (with-wrapper-hook): Fix edebug spec.
20642 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20644 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20647 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20649 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20650 Fix nasty bug using wrong cached values.
20652 2011-09-23 Alan Mackenzie <acm@muc.de>
20654 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20656 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20658 * window.el (pop-to-buffer): Ensure right window is selected if we
20659 chose another frame.
20661 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20663 * simple.el (what-cursor-position): Use get-char-property-change
20664 and next-single-char-property-change, to be able to show display
20665 properties that come from overlays as well as text properties.
20667 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20669 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20671 * cmuscheme.el (run-scheme, switch-to-scheme):
20672 * cus-edit.el (customize-group, custom-buffer-create)
20673 (customize-browse):
20675 * shell.el (shell):
20676 * mail/sendmail.el (mail):
20677 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20679 2011-09-22 Richard Stallman <rms@gnu.org>
20681 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20682 move back only to line beg, don't move back over blank lines.
20684 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20686 * files.el (copy-directory): Set directory attributes only in case
20687 they could be retrieved from the source directory. (Bug#9565)
20689 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20691 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20692 (hs-find-block-beginning, hs-hide-level-recursive):
20693 Ignore strings as well as comments. (Bug#9502)
20695 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20697 * progmodes/sql.el (sql-comint-postgres):
20698 Convert port number to a string. (Bug#9566)
20700 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20702 * window.el (quit-window): Undedicate window when switching to
20703 previous buffer. Reported by Thierry Volpiatto
20704 <thierry.volpiatto@gmail.com>.
20705 (special-display-popup-frame): When popping up a new frame reset
20706 its previous buffers to nil. Simplify code.
20708 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20710 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20711 and process filter, as done also in `shell-command'.
20713 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20715 * window.el (set-window-buffer-start-and-point):
20716 Call set-window-start with NOFORCE argument t.
20717 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20718 (quit-window): Reword doc-string. Handle new format of
20719 quit-restore parameter. Don't delete window if it has a
20720 previous buffer we can show instead of the present one.
20721 (display-buffer-record-window): Rewrite using a new format for
20722 the quit-restore window parameter
20723 (special-display-popup-frame, display-buffer-same-window)
20724 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20725 (display-buffer-pop-up-window, display-buffer-use-some-window):
20726 Adapt symbol passed to display-buffer-record-window.
20727 * help.el (help-window-setup): Handle new format of quit-restore
20730 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20732 * faces.el (face-list): Fix docstring (bug#9564).
20734 * window.el (display-buffer--action-function-custom-type):
20735 Don't include internal functions in the Custom interface.
20737 2011-09-20 Juri Linkov <juri@jurta.org>
20739 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20740 (Info-forward-node, Info-backward-node, Info-next-preorder)
20741 (Info-last-preorder): Use it. (Bug#9528)
20743 2011-09-20 Juri Linkov <juri@jurta.org>
20745 * info.el (Info-last-preorder): Visit last menu item only when
20746 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20748 2011-09-20 Julien Danjou <julien@danjou.info>
20750 * password-cache.el (password-cache-remove): Remove entries even if the
20751 value is nil, so that password with a nil value (negative caching) is
20752 possible to invalidate.
20754 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20756 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20757 all whitespace around breakpoint. (Bug#9553)
20758 (f90-find-breakpoint): Only break at whitespace inside a comment.
20760 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20762 * minibuffer.el (completion-file-name-table): Keep track of errors.
20763 (completion-table-with-predicate): Handle the case where pred1 is nil.
20764 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20766 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20768 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20769 (debugger-return-value): Signal an error if the debugging context does
20770 not await any return value.
20772 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20773 * image-mode.el (image-toggle-display-text)
20774 (image-toggle-display-image): Stay away from evil `intangible'.
20776 2011-09-19 Leo Liu <sdl.web@gmail.com>
20778 * replace.el (occur-revert-arguments): Make it permanent-local.
20779 (occur-mode): Don't call font-lock-defontify.
20781 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20783 * net/ldap.el (ldap-search-internal): Don't push empty search
20786 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20788 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20790 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20792 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20793 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20795 2011-09-18 Juri Linkov <juri@jurta.org>
20797 * buff-menu.el (Buffer-menu-mode-map):
20798 * dired.el (dired-mode-map):
20799 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20800 (lisp-interaction-mode-map):
20801 * emacs-lisp/package.el (package-menu-mode-map):
20802 * epa.el (epa-key-list-mode-map):
20803 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20804 (menu-bar-options-menu):
20805 * outline.el (outline-mode-menu-bar-map):
20806 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20807 * vc/vc-dir.el (vc-dir-menu-map):
20808 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20809 Capitalize non-function content words in menu item strings.
20811 * dired.el (dired-mode-map): Add menu item for
20812 `image-dired-dired-toggle-marked-thumbs'.
20814 2011-09-18 Juri Linkov <juri@jurta.org>
20816 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20817 to `isearch-case-fold-search' and restore its original value
20818 after the `isearch-mode' call.
20820 2011-09-18 Juri Linkov <juri@jurta.org>
20822 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20823 because `zgrep' returns 1 for successful matches (bug#9226).
20825 2011-09-18 Juri Linkov <juri@jurta.org>
20827 * info.el (Info-extract-menu-node-name): Check the second match
20828 for empty string (second test-case of bug#9528).
20829 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20830 intermediate nodes to the history (first test-case of bug#9528).
20832 2011-09-18 Juri Linkov <juri@jurta.org>
20834 * info.el (Info-mode-syntax-table): New variable.
20835 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20837 2011-09-18 Juri Linkov <juri@jurta.org>
20839 * info.el (Info-file-supports-index-cookies):
20840 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20841 outputs one more line for long file names (bug#4142).
20843 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20845 * newcomment.el (comment-normalize-vars): If prompting for
20846 comment-start, set comment-start-skip too (Bug#8424).
20848 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20850 * icomplete.el: Fix previous fix of Bug#5849.
20851 (icomplete-mode): Don't set completion-show-inline-help.
20852 (icomplete-minibuffer-setup): Set completion-show-inline-help
20853 locally during icompletion.
20855 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20857 * woman.el (woman2-process-escapes): Don't delete unrecognized
20858 escapes (Bug#7843).
20860 * files.el (inhibit-first-line-modes-regexps): Add image files.
20861 (hack-local-variables-prop-line): Return nil for malformed
20862 prop-lines (Bug#9044).
20864 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20866 * net/tramp.el (top): Don't require 'shell.
20867 (tramp-methods): Fix docstring.
20868 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20869 Return complete remote file name. Handle "smb" case.
20870 Use `tramp-tmpdir', if defined for the respective method.
20871 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20873 * net/tramp-compat.el (top): Require 'shell.
20875 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20876 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20877 `tramp-current-host'.
20878 (tramp-get-remote-tmpdir): Remove.
20880 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20881 `tramp-tmpdir' entries.
20882 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20883 (tramp-smb-handle-file-attributes): Ignore errors.
20884 (tramp-smb-wait-for-output): Check also for process end.
20886 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20888 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20889 when sending QUIT (bug#9312).
20891 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20893 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20894 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20895 occur-mode-display-occurrence.
20896 (occur-edit-mode): Add usage message.
20897 (occur-cease-edit): New command.
20898 (occur-after-change-function): Use text properties to find the
20899 position of the prefix text.
20900 (occur-engine): Set stickiness of prefix text properties.
20902 2011-09-17 Glenn Morris <rgm@gnu.org>
20904 * progmodes/etags.el (complete-tag):
20905 Fix call to completion-in-region. (Bug#9526)
20907 2011-09-17 Juri Linkov <juri@jurta.org>
20909 * textmodes/ispell.el (ispell-word): Add to the error message
20910 the word, ispell program name and current dictionary (bug#9121).
20911 (ispell-tex-arg-end): Capitalize "error" in the error message.
20913 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20915 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20918 2011-09-17 Juri Linkov <juri@jurta.org>
20920 * window.el (window-safe-min-height, window-safe-min-width):
20921 Fix typos (followup to bug#9522).
20923 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20925 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20927 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20929 * simple.el (line-move): If goal-column is set, move by logical
20930 lines, not by display lines. (Bug#971)
20931 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20932 to reflect the above change.
20934 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20936 * image.el (imagemagick-register-types): Use regexp-opt.
20938 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20940 * window.el (display-buffer-base-action): Rename from
20941 display-buffer-default-action. Make default value empty.
20942 (display-buffer-overriding-action): Convert to defvar.
20943 (display-buffer-fallback-action): New var.
20945 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20947 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20949 (package--add-to-archive-contents): If there is a duplicate entry
20950 with an older version, remove it.
20951 (package-menu-mark-delete, package-menu-mark-install)
20952 (package-menu-mark-unmark): Make unused args optional.
20953 (package-menu-mark-obsolete-for-deletion):
20954 Use package-menu-get-status instead of a regexp search.
20955 (package-menu-get-status): Use tabulated-list-entry.
20956 (package-menu-mark-upgrades): New command.
20957 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20958 (package-menu-execute): Do installation before deletion.
20959 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20960 instead of checking major-mode.
20961 (package-menu--find-upgrades): New function.
20963 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20965 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20966 passwords in the log buffer.
20967 (smtpmail-process-filter): Update the process marker so that the
20968 "broken by peer" status message is inserted in the right place.
20970 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20972 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20973 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20974 bibtex-completion-at-point-function.
20975 (bibtex-completion-at-point-function): Use them.
20977 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20979 * mpc.el (mpc-constraints-tag-lookup): New function.
20980 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20981 also to browser "album|playlist".
20983 2011-09-14 Juri Linkov <juri@jurta.org>
20985 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20986 (isearch-edit-string): Use length of `isearch-string' when
20987 `isearch-fail-pos' returns nil.
20988 (isearch-message): Remove duplicate code and call
20989 `isearch-fail-pos' with arg `t'.
20991 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20993 * replace.el (occur-mode-goto-occurrence): Don't force using other
20996 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20998 2011-09-14 Martin Rudalics <rudalics@gmx.at>
21000 * window.el (display-buffer-window): Remove.
21001 (display-buffer-record-window): Use help-setup window parameter
21002 instead of variable display-buffer-window.
21003 (display-buffer-function, special-display-buffer-names)
21004 (special-display-function): Mention help-setup parameter instead
21005 of display-buffer-window in doc-string.
21006 * help.el (help-window-setup): New argument help-window.
21007 Use help-window-setup parameter instead of display-buffer-window.
21008 Reword some messages.
21009 (with-help-window): Pass window used for displaying the buffer
21010 to help-window-setup. Don't set display-buffer-window.
21012 2011-09-13 Glenn Morris <rgm@gnu.org>
21014 * emacs-lisp/debug.el (debugger-make-xrefs):
21015 Preserve point. (Bug#9462)
21017 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21019 * window.el (window-deletable-p): Use next-frame.
21021 2011-09-13 Martin Rudalics <rudalics@gmx.at>
21023 * window.el (window-auto-delete): Remove.
21024 (window-deletable-p): Remove argument FORCE. Don't deal with
21025 dedication and previous buffers.
21026 (switch-to-prev-buffer): Don't delete window.
21027 (delete-windows-on): Delete a window's frame if and only if the
21028 window is dedicated.
21029 (replace-buffer-in-windows): Delete buffer's window or frame if
21030 and only if window is dedicated.
21031 (quit-window): Handle quit-restore as before last change.
21032 (bury-buffer): Delete window only if window-deletable-p returns t.
21034 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
21036 * window.el (window-deletable-p): Never delete the last frame on a
21039 2011-09-13 Glenn Morris <rgm@gnu.org>
21041 * help.el (describe-key-briefly): Copy previous standard-output change.
21043 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
21045 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
21047 2011-09-13 Glenn Morris <rgm@gnu.org>
21049 * emacs-lisp/lisp-mode.el (lisp-indent-function):
21050 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21052 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
21054 * dired-aux.el (dired-mark-read-string): Don't return default
21055 value on empty input (Bug#9361).
21056 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21057 Omit initial minibuffer contents.
21058 (dired-do-chmod): Signal an error on empty input.
21059 (dired-mark-read-string): Don't return default on empty input.
21061 * files.el (file-modes-symbolic-to-number): Doc fix.
21063 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
21065 * international/mule-cmds.el (ucs-completions): Remove.
21066 (read-char-by-name): Use complete-with-action instead; add metadata.
21068 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21070 * window.el (display-buffer--action-function-custom-type)
21071 (display-buffer--action-custom-type): New vars.
21072 (display-buffer-alist, display-buffer-default-action)
21073 (display-buffer-overriding-action): Add defcustom types.
21075 * frame.el (delete-other-frames): Doc fix (Bug#276).
21077 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21079 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21081 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
21083 Change modes that used same-window-* vars to use switch-to-buffer.
21085 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21086 Use switch-to-buffer.
21088 * cus-edit.el (customize-group, custom-buffer-create)
21089 (customize-browse, custom-buffer-create-other-window):
21090 Use switch-to-buffer or switch-to-buffer-other-window.
21092 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21093 (Info-prev, Info-up, Info-speedbar-goto-node)
21094 (info-display-manual): Use switch-to-buffer.
21095 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21097 * mail/sendmail.el (mail): Use switch-to-buffer.
21098 (mail-recover): Use switch-to-buffer-other-window.
21100 * cmuscheme.el (run-scheme, switch-to-scheme):
21102 * shell.el (shell):
21103 * net/rlogin.el (rlogin):
21104 * net/telnet.el (telnet, rsh):
21105 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21107 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21109 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21111 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21113 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21114 so don't mention it (bug#9301).
21115 (dired-sort-toggle-or-edit): Clarify string further.
21117 * faces.el (face-spec-set-match-display): Make `(type graphic)'
21118 match `x', `w32' and `ns', like the manual says (bug#9029).
21120 * subr.el (eval-after-load): Doc string clarification (bug#9125).
21121 (process-kill-buffer-query-function): Mention the buffer name in
21124 * image-mode.el (image-next-line): The line parameter is mandatory
21127 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21128 which can be useful (bug#9301).
21130 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21132 * subr.el (match-string): Mention that the current buffer should
21133 be the same as the search was done in (bug#9282).
21135 * facemenu.el: Disable the remove-* commands if the mark isn't
21138 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21140 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21142 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21144 * replace.el (occur-mode-goto-occurrence)
21145 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21146 and display-buffer.
21148 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21151 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21152 special-display and same-window variables.
21153 (mail-other-window): Use switch-to-buffer-other-window.
21154 (mail-other-frame): USe switch-to-buffer-other-frame.
21156 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21157 Use display-buffer-other-frame.
21158 (gdb-display-gdb-buffer): Use pop-to-buffer.
21160 * progmodes/gud.el (gud-goto-info): Use info-other-window.
21162 * progmodes/python.el: Don't set same-window-buffer-names.
21164 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21166 * window.el (display-buffer-alist): Add *Python*.
21168 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
21170 * window.el (display-buffer-alist): Add entry for buffers
21171 previously handled same-window-*.
21172 (display-buffer-alist, display-buffer-default-action)
21173 (display-buffer-overriding-action): Mark as risky.
21174 (display-buffer-alist): Document action function changes.
21175 (display-buffer--same-window-action)
21176 (display-buffer--other-frame-action): New variables.
21177 (switch-to-buffer, display-buffer-other-frame): Use them.
21178 (display-buffer): Rename reuse-frame entry to reusable-frames.
21179 (display-buffer-reuse-selected-window): Function deleted.
21180 (display-buffer-reuse-window): Handle reusable-frames alist entry.
21181 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21182 (display-buffer-special): New function.
21183 (display-buffer--maybe-pop-up-frame-or-window): Rename from
21184 display-buffer-reuse-or-pop-window. Split off special-display
21185 part into display-buffer-special.
21186 (display-buffer-use-some-window): Don't perform any special
21187 pop-up-frames handling.
21188 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21189 (display-buffer--maybe-same-window): Rename from
21190 display-buffer-maybe-same-window.
21192 * info.el: Don't set same-window-regexps.
21193 (info-setup): New function.
21194 (info-other-window, info): Call it.
21196 * cus-edit.el: Don't set same-window-regexps.
21197 (customize-group): New argument.
21198 (customize-group-other-window): Use it.
21199 (customize-face, customize-face-other-window): Likewise.
21200 (custom-buffer-create-other-window): Use pop-to-buffer directly.
21204 * progmodes/gud.el: Don't set same-window-regexps.
21209 * mail/sendmail.el:
21210 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21212 2011-09-10 Juri Linkov <juri@jurta.org>
21214 * isearch.el (isearch-edit-string): Remove obsolete mention of
21215 `C-w' (`isearch-yank-word-or-char') from docstring.
21216 (isearch-query-replace): Fix typo in docstring (bug#9466).
21218 2011-09-10 Juri Linkov <juri@jurta.org>
21220 * paren.el (show-paren-function): Don't show escaped parens.
21221 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
21223 2011-09-10 Eli Zaretskii <eliz@gnu.org>
21225 * mail/sendmail.el (mml-to-mime, mml-attach-file)
21226 (mm-default-file-encoding): Remove autoload forms, they are
21227 replaced with autoload cookies in mml.el and mm-encode.el.
21228 (mail-add-attachment): New command.
21229 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21230 (mail-mode): Mention mail-insert-file and mail-add-attachment in
21232 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21234 2011-09-10 Reuben Thomas <rrt@sc3d.org>
21236 * simple.el (count-words-region): Use buffer if there's no region
21239 2011-09-09 Juri Linkov <juri@jurta.org>
21241 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21242 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21243 (wdired-isearch-filter-read-only): New function. (Bug#6362)
21245 2011-09-09 Alan Mackenzie <acm@muc.de>
21247 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21248 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
21250 2011-09-09 Eli Zaretskii <eliz@gnu.org>
21252 Fix for Savannah bug#9392.
21253 * simple.el (mail-encode-mml): New defvar.
21255 * mail/rmail.el (mail-encode-mml): Add a defvar.
21256 (rmail-enable-mime-composing): Default to t.
21257 (rmail-forward): Use MIME method of forwarding only if both
21258 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21259 Set mail-encode-mml non-nil if the MIME method was used.
21261 * mail/sendmail.el (mml-to-mime): Add autoload form.
21262 (mail-encode-mml): Add a defvar.
21263 (mail-mode): Make mail-encode-mml buffer-local and initialize it
21265 (mail-send): If mail-encode-mml is non-nil, run the outgoing
21266 message through mml-to-mime, and reset mail-encode-mml to nil.
21268 2011-09-09 Glenn Morris <rgm@gnu.org>
21270 * woman.el (woman-if-body): When processing an .el block,
21271 do not delete the next .el block as well. (Bug#9447)
21272 (woman-special-characters): Add oq, cq, and hy characters.
21274 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21276 * window.el (window-deletable-p): Make sure window is live before
21277 invoking window-prev-buffers.
21279 2011-09-08 Leo Liu <sdl.web@gmail.com>
21281 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
21283 2011-09-08 Juri Linkov <juri@jurta.org>
21285 * progmodes/compile.el (compilation-environment): Make it
21286 a defcustom (bug#8340).
21288 2011-09-08 Martin Rudalics <rudalics@gmx.at>
21290 * window.el (frame-auto-delete): Rename to window-auto-delete.
21291 Make it control auto-deletion of windows and/or frames.
21292 (window-deletable-p): New argument FORCE. Rewrite conditions
21293 for deleting window/frame. (Bug#9419)
21294 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21295 Rewrite handling of case when window/frame can be deleted.
21296 (delete-windows-on): Call window-deletable-p with new FORCE
21297 argument t. (Bug#9456)
21299 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
21301 * help-mode.el (help-mode): Restore autoload.
21303 2011-09-07 Juri Linkov <juri@jurta.org>
21305 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21306 `compilation-environment'. Set buffer-local
21307 `compilation-environment' to `thisenv' later after (funcall mode).
21310 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
21311 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21312 instead of replacing its value. (Bug#8340)
21314 2011-09-07 Juri Linkov <juri@jurta.org>
21316 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21317 based on text properties put by `grep-filter' instead of matching
21319 (grep-mode): Set buffer-local `compilation-error-screen-columns'
21320 to the value of `grep-error-screen-columns' (bug#9438).
21322 2011-09-07 Juri Linkov <juri@jurta.org>
21324 * simple.el (next-error-highlight, next-error-highlight-no-select):
21325 Doc fix (bug#9432).
21327 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21329 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21330 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
21332 2011-09-07 Leo Liu <sdl.web@gmail.com>
21334 * net/rcirc.el (rcirc-mode): Conditionally initialize
21337 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
21339 * emacs-lisp/find-func.el (find-function-C-source): Only set
21340 find-function-C-source-directory after checking that we found a source
21341 file there (bug#9440).
21343 2011-09-06 Alan Mackenzie <acm@muc.de>
21345 * isearch.el (isearch-other-meta-char): Wherever a key list is
21346 unread, "unread" the prefix arg, too. This fixes bug #8901.
21348 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
21350 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21352 2011-09-05 Juri Linkov <juri@jurta.org>
21354 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21356 2011-09-05 Juri Linkov <juri@jurta.org>
21358 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21359 keeping point where processing of grep matches begins, and
21360 continue to delete remaining escape sequences from the same point.
21361 (grep-filter): Make leading zero optional in "0?1;31m" because
21362 git-grep emits "\033[1;31m" escape sequences unlike expected
21363 "\033[01;31m" as GNU Grep does (bug#9408).
21364 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21366 2011-09-05 Juri Linkov <juri@jurta.org>
21368 * subr.el (y-or-n-p): Capitalize "yes".
21370 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
21372 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
21373 `tramp-cache-unload-hook' where appropriate.
21374 (tramp-methods): Rename `tramp-remote-sh' to
21375 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
21376 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21378 * net/tramp-sh.el (top): Don't require 'shell.
21379 (tramp-methods): Add `tramp-remote-shell' and
21380 `tramp-remote-shell-args' entries.
21381 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21382 (tramp-sh-handle-shell-command): Remove.
21383 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21384 Use `tramp-remote-shell'.
21386 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
21388 * mail/sendmail.el (sendmail-query-once-function): Delete.
21389 (sendmail-query-once): Save directly to send-mail-function.
21390 Update message-send-mail-function too.
21392 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21394 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21396 * progmodes/python.el (python-mode-map): Use correct function to
21397 start python interpreter from menu-bar (as reported by Geert
21399 (inferior-python-mode-map): Fix typo.
21400 (python-shell-map): Remove.
21402 2011-09-03 Deniz Dogan <deniz@dogan.se>
21404 * net/rcirc.el (rcirc-print): Simplify code for
21405 rcirc-scroll-show-maximum-output. There is no need to walk
21406 through all windows to find the right one.
21408 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
21410 * help.el (help-return-method): Doc fix.
21412 2011-09-03 Martin Rudalics <rudalics@gmx.at>
21414 * window.el (window-deletable-p): Don't return a non-nil value
21415 when there's a buffer that was shown in the window before.
21417 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21418 Set window's previous buffers to nil.
21420 2011-09-03 Eli Zaretskii <eliz@gnu.org>
21422 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21423 newline before and after the tag line, so it doesn't interfere
21424 with determining the paragraph direction of bidirectional text.
21426 2011-09-03 Leo Liu <sdl.web@gmail.com>
21428 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
21430 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21432 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21433 (pop-to-buffer): Change interactive spec. Pass second argument
21434 directly to display-buffer.
21435 (display-buffer): Fix interactive spec. Use functionp to
21436 distinguish between a function and a list of functions.
21438 * abbrev.el (edit-abbrevs):
21439 * arc-mode.el (archive-extract):
21440 * autoinsert.el (auto-insert):
21441 * bookmark.el (bookmark-bmenu-list):
21442 * files.el (find-file):
21443 * view.el (view-buffer):
21444 * progmodes/compile.el (compilation-goto-locus):
21445 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21447 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
21449 * window.el (display-buffer-alist): Doc fix.
21450 (display-buffer): Add docstring. Don't treat
21451 display-buffer-default specially.
21452 (display-buffer-reuse-selected-window)
21453 (display-buffer-same-window, display-buffer-maybe-same-window)
21454 (display-buffer-reuse-window, display-buffer-pop-up-frame)
21455 (display-buffer-pop-up-window)
21456 (display-buffer-reuse-or-pop-window)
21457 (display-buffer-use-some-window): New functions.
21458 (display-buffer-default-action): Use them.
21459 (display-buffer-default): Delete.
21460 (pop-to-buffer-1): Fix choice of actions.
21462 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
21464 * minibuffer.el (completion--insert-strings): Don't get confused by
21465 completion entries that end with an LF char.
21467 2011-09-01 Eli Zaretskii <eliz@gnu.org>
21469 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21471 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21473 * window.el (display-buffer): Restore interactive spec.
21474 (display-buffer-same-window, display-buffer-other-window):
21476 (pop-to-buffer-1): New function. Use the above.
21477 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21478 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21480 * view.el (view-buffer-other-window, view-buffer-other-frame):
21481 Just use pop-to-buffer.
21483 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21485 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21487 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21489 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21491 2011-08-31 Richard Stallman <rms@gnu.org>
21493 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21494 of the separation of rmail-view-buffer from rmail-buffer.
21495 If you say no to "replace original", the decrypt is in the
21496 view buffer. If you say yes, the decrypt goes into the
21499 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21501 * window.el (display-buffer-window): Rewrite doc-string.
21502 (display-buffer-record-window): New function.
21503 (display-buffer-macro-specifiers)
21504 (display-buffer-even-window-sizes, display-buffer-set-height)
21505 (display-buffer-set-width, display-buffer-in-window)
21506 (display-buffer-reuse-window, display-buffer-split-specifiers)
21507 (display-buffer-side-specifiers, display-buffer-split-window-1)
21508 (display-buffer-split-window, display-buffer-split-atom-window)
21509 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21510 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21511 (display-buffer-other-window-means-other-frame)
21512 (display-buffer-normalize-special)
21513 (display-buffer-normalize-default)
21514 (display-buffer-normalize-argument)
21515 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21516 (display-buffer-normalize-specifiers, display-buffer-frame)
21517 (display-buffer-same-window, display-buffer-same-frame)
21518 (display-buffer-other-window)
21519 (display-buffer-same-frame-other-window)
21520 (display-buffer-other-frame, pop-to-buffer-same-window)
21521 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21522 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21523 (switch-to-buffer-same-frame)
21524 (switch-to-buffer-other-window-same-frame)
21525 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21526 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21527 (display-buffer-alist-set): Remove.
21528 (display-buffer-function, special-display-buffer-names)
21529 (special-display-regexps, special-display-function):
21530 In doc-string refer to display-buffer-window and quit-restore
21532 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21533 (special-display-frame-alist, special-display-popup-frame)
21534 (same-window-buffer-names, same-window-regexps, same-window-p)
21535 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21536 (split-window-preferred-function, split-height-threshold)
21537 (split-width-threshold, window-splittable-p)
21538 (split-window-sensibly, window--try-to-split-window)
21539 (window--frame-usable-p, even-window-heights)
21540 (window--even-window-heights, window--display-buffer-1)
21541 (window--display-buffer-2, display-buffer-other-frame):
21542 Restore old Emacs 23 code, order and doc-strings where applicable.
21543 (display-buffer-default, display-buffer-assq-regexp): New functions.
21544 (display-buffer-alist): Rewrite doc-string.
21545 (display-buffer-default-action)
21546 (display-buffer-overriding-action): New variables.
21547 (display-buffer, switch-to-buffer): Rewrite.
21548 (pop-to-buffer): Restore Emacs 23 behavior but use
21549 window-normalize-buffer-to-display.
21550 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21551 Restore Emacs 23 behavior but use
21552 window-normalize-buffer-to-switch-to.
21553 (pop-to-buffer-same-window): Rewrite.
21554 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21555 Rewrite using Emacs 23 options.
21557 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21559 * net/tramp.el (tramp-root-regexp): Remove.
21560 (tramp-completion-file-name-regexp-unified)
21561 (tramp-completion-file-name-regexp-separate)
21562 (tramp-completion-file-name-regexp-url): Don't use leading volume
21563 letter on w32 systems. (Bug#5303, Bug#9311)
21564 (tramp-drop-volume-letter): Simplify definition.
21565 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21567 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21569 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21572 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21574 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21576 2011-08-29 Juri Linkov <juri@jurta.org>
21578 * isearch.el (isearch-done): Don't display message "Mark saved"
21579 when arg `edit' is non-nil to prevent its flicker in the echo area.
21581 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21583 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21584 obsolete packages for deletion.
21586 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21588 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21589 (help-mode): Derive help-mode from special-mode. Don't invoke
21590 view-mode from help-mode.
21591 (help-xref-override-view-map): Remove.
21592 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21593 view-mode is not used anymore.
21595 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21597 * server.el (server-port): Doc fix.
21599 * cus-theme.el (custom-theme-choose-mode): Inherit from
21600 special-mode (Bug#9124).
21601 (custom-theme-choose-mode-map): Add special-mode to parent.
21603 2011-08-28 Alan Mackenzie <acm@muc.de>
21605 * progmodes/cc-fonts.el
21606 (c-make-font-lock-BO-decl-search-function): New function.
21607 (c-basic-matchers-after - "Fontify the clauses after various
21608 keywords"): Extract the three keyword lists for the 3 erroneous
21609 constructs from the list of four, and use the new function above
21610 in place of an old one.
21612 2011-08-28 Deniz Dogan <deniz@dogan.se>
21614 * net/rcirc.el (rcirc-insert-prev-input)
21615 (rcirc-insert-next-input): Remove unused argument.
21617 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21619 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21621 2011-08-27 Alan Mackenzie <acm@muc.de>
21623 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21624 handle function pointer parameters properly.
21626 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21628 * window.el (display-buffer-reuse-window): Fix case where
21629 selected window was reused with non-nil OTHER-WINDOW argument.
21632 2011-08-27 Deniz Dogan <deniz@dogan.se>
21634 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21635 oftc's NickServ messages.
21637 2011-08-27 Glenn Morris <rgm@gnu.org>
21639 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21641 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21643 * emacs-lisp/package.el (package-install): Call package-initialize
21644 if called interactively.
21646 2011-08-26 Leo Liu <sdl.web@gmail.com>
21648 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21650 2011-08-25 Juri Linkov <juri@jurta.org>
21652 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21653 `search-whitespace-regexp' (bug#9364).
21655 2011-08-25 Juri Linkov <juri@jurta.org>
21657 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21658 `regexp-search-ring' to their global values to protect from
21659 updating by `read-from-minibuffer' (bug#9185).
21661 2011-08-25 Juri Linkov <juri@jurta.org>
21663 * textmodes/ispell.el (ispell-command-loop): Add newline
21664 at the end of the "Use option `i'..." line.
21666 2011-08-25 Juri Linkov <juri@jurta.org>
21668 * battery.el (display-battery-mode): If `battery-status-function'
21669 or `battery-mode-line-format' is nil, display the message and set
21670 `display-battery-mode' to nil (bug#9363).
21672 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21674 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21675 bidi-string-mark-left-to-right; they are unnecessary now.
21677 2011-08-25 Deniz Dogan <deniz@dogan.se>
21679 * net/quickurl.el: Documentation typo fixes.
21681 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21683 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21685 2011-08-25 Glenn Morris <rgm@gnu.org>
21687 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21689 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21690 (smtpmail-via-smtp): Handle nil response from smtp.
21692 2011-08-24 Juri Linkov <juri@jurta.org>
21694 * proced.el (proced-marked): Inherit from `error' instead of
21695 `font-lock-warning-face'.
21697 * ibuffer.el (ibuffer-marked-face): Change default face from
21698 `font-lock-warning-face' to `warning'.
21699 (ibuffer-deletion-face): Change default face from
21700 `font-lock-type-face' to `error'.
21702 * battery.el (battery-update): Use the face `error' instead of
21703 `font-lock-warning-face' (bug#6117).
21705 2011-08-24 Juri Linkov <juri@jurta.org>
21707 * faces.el (success): Change face color from "Green3" to
21708 "ForestGreen" on light background (bug#9353).
21710 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21712 * window.el (quit-window): Rename from quit-restore-window.
21713 Use same arglist as old quit-window.
21714 (frame-auto-delete): Doc fix.
21716 * view.el (view-mode-exit): Use quit-window.
21718 2011-08-24 Juri Linkov <juri@jurta.org>
21720 * isearch.el (isearch-ring-adjust1): Start visiting previous
21721 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21722 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21723 for empty search string (when the last search string is reused
21724 automatically) to adjust the isearch ring to the last element and
21725 prepare the correct index for further M-p commands (bug#9185).
21727 2011-08-24 Kenichi Handa <handa@m17n.org>
21729 * international/ucs-normalize.el: If decomposition property of
21730 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21732 (nfd, nfkd): Likewise.
21734 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21736 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21737 from process filters aren't reliably transmitted to the surrounding
21738 accept-process-output.
21739 (mpc-proc-check): New function.
21740 (mpc-proc-sync): Use it (bug#8293)
21742 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21744 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21745 Add compatibility functions (bug#9313).
21747 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21749 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21751 * international/uni-bidi.el: Regenerate.
21753 2011-08-23 Kenichi Handa <handa@m17n.org>
21755 * international/charprop.el:
21756 * international/uni-bidi.el:
21757 * international/uni-category.el:
21758 * international/uni-combining.el:
21759 * international/uni-comment.el:
21760 * international/uni-decimal.el:
21761 * international/uni-decomposition.el:
21762 * international/uni-digit.el:
21763 * international/uni-lowercase.el:
21764 * international/uni-mirrored.el:
21765 * international/uni-name.el:
21766 * international/uni-numeric.el:
21767 * international/uni-old-name.el:
21768 * international/uni-titlecase.el:
21769 * international/uni-uppercase.el: Regenerate.
21771 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21773 * help.el (help-window-setup): Fix message displayed when other
21774 window is reused. (Bug#9341)
21776 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21778 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21779 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21781 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21783 * shell.el (shell-parse-pcomplete-arguments): New function.
21784 (shell-completion-vars): Use it instead (bug#9160).
21786 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21788 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21789 strings and comments (bug#9333).
21791 * emacs-lisp/debug.el (debug-arglist): New function.
21792 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21793 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21795 2011-08-22 Juri Linkov <juri@jurta.org>
21797 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21798 Revert regexp that highlights output switches to its old
21799 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21801 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21802 to check for empty output (bug#9226).
21804 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21806 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21807 symbol-constituent as the default, as that stops font-lock from
21808 working properly (Bug#8843).
21810 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21812 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21813 `coding-system-for-*' around the process open call to avoid
21814 auth-source side effects.
21815 (smtpmail-try-auth-methods): Expand the secret password.
21816 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21819 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21821 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21823 * emacs-lisp/find-func.el (find-function-noselect): New arg
21826 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21827 signal an error for built-in functions (Bug#6664).
21829 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21831 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21832 (smtpmail-try-auth-methods): Use it.
21834 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21836 * font-lock.el (font-lock-fontify-region)
21837 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21838 (font-lock-default-unfontify-buffer)
21839 (font-lock-default-fontify-region)
21840 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21842 * progmodes/compile.el (compilation-error-properties):
21843 Fix confusion between file struct and message struct (Bug#9319).
21844 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21847 * net/browse-url.el (browse-url-firefox): Don't call
21848 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21850 2011-08-20 Glenn Morris <rgm@gnu.org>
21852 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21854 * tutorial.el (tutorial--default-keys): Update some default bindings.
21856 * files.el (hack-local-variables): Fully ignore case for "mode:".
21858 2011-08-20 Alan Mackenzie <acm@muc.de>
21860 Resolve invalid use of a regexp in regexp-opt.
21862 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21863 detection for a java annotation.
21865 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21866 detection for a java annotation.
21868 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21870 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21872 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21874 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21877 2011-08-20 Alan Mackenzie <acm@muc.de>
21879 Fontify CPP expressions correctly when starting in the middle of
21880 such a construct. Mainly for when jit-lock etc. starts a chunk
21883 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21885 (c-make-font-lock-search-form): New function, extracted from
21886 c-make-font-lock-search-function.
21887 (c-make-font-lock-search-function): Use the above function.
21888 (c-make-font-lock-context-search-function): New function.
21889 (c-cpp-matchers): Enhance the preprocessor expression case with
21891 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21892 which takes an expression.
21894 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21896 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21898 * window.el (display-buffer-reuse-window)
21899 (display-buffer-pop-up-window): Don't reuse or split a side
21902 2011-08-19 Glenn Morris <rgm@gnu.org>
21904 * files.el (hack-local-variables-prop-line, hack-local-variables):
21905 Downcase "Mode:". (Bug#9331)
21907 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21909 * international/characters.el: Add L and R categories.
21911 * subr.el (bidi-string-mark-left-to-right): Rename from
21912 string-mark-left-to-right. Use category search.
21914 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21916 2011-08-18 Juri Linkov <juri@jurta.org>
21918 * faces.el (error, warning, success): New faces with definitions
21919 copied from old default values of `font-lock-warning-face',
21920 `compilation-warning', `compilation-info' (bug#6117).
21922 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21924 * progmodes/compile.el (compilation-error): Inherit from `error'.
21925 (compilation-warning): Inherit from `warning'.
21926 (compilation-info): Inherit from `success'.
21928 * dired.el (dired-marked): Inherit from `warning'.
21929 (dired-flagged): Inherit from `error'.
21931 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21933 * mail/smtpmail.el (auth-source): Require to avoid problems with
21934 binding variables (bug#9298). Also clean up some unused
21937 * net/network-stream.el (network-stream-open-starttls):
21938 Support using starttls.el without using gnutls-cli.
21940 2011-08-17 Juri Linkov <juri@jurta.org>
21942 * progmodes/grep.el (rgrep): Handle the case when
21943 `grep-find-command' is a cons cell (bug#9278).
21945 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21947 * window.el (display-buffer-pop-up-frame): Run frame creation
21948 function with BUFFER current (as special-display-popup-frame
21949 does). Reported by Drew Adams.
21951 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21953 * epa-mail.el: Simplify GnuPG group expansion using
21955 (epa-mail-group-alist, epa-mail-group-modtime)
21956 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21957 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21958 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21961 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21963 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21965 2011-08-16 Alan Mackenzie <acm@muc.de>
21967 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21968 Correct, to avoid the inside of macros.
21970 2011-08-16 Richard Stallman <rms@gnu.org>
21972 * epa-mail.el: Handle GnuPG group definitions.
21973 (epa-mail-group-alist, epa-mail-group-modtime)
21974 (epa-mail-gnupg-conf-file): New variables.
21975 (epa-mail-parse-groups, epa-mail-sync-groups)
21976 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21977 (epa-mail-expand-recipients): New functions.
21978 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21980 * mail/rmail.el (rmail-epa-decrypt): New command.
21982 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21983 Don't bind buffer-read-only, just inhibit-read-only.
21984 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21985 (epa-decrypt-armor-in-region): Make error message clearer.
21987 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21989 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21990 and "a2b" to "ab" for `prefix'.
21992 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21994 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21996 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21997 Fourquet (Bug#8804).
21999 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
22001 * startup.el (argi): Declare as global variable (bug#9275).
22003 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
22005 * subr.el (string-mark-left-to-right): Search the entire string
22006 for RTL script, not just the terminating character. Doc fix.
22008 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
22010 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
22012 (js--regexp-literal, js-syntax-propertize-function): Remove.
22013 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
22014 (js-mode-map): Don't rebind electric keys.
22015 (js-insert-and-indent): Remove.
22016 (js-mode): Setup electric-layout and electric-indent instead.
22018 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
22020 2011-08-12 Daiki Ueno <ueno@unixuser.org>
22022 * epa.el (epa-progress-callback-function): Fix the logic of
22023 displaying progress.
22024 * epa-file.el (epa-file-insert-file-contents): Make progress
22025 display more user-friendly.
22026 (epa-file-write-region): Ditto.
22028 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
22030 * subr.el (string-mark-left-to-right): New function.
22032 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
22033 Use string-mark-left-to-right.
22034 (list-buffers-noselect): Caller changed.
22036 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22037 Use string-mark-left-to-right.
22038 (tabulated-list-print): Recenter after moving point.
22040 2011-08-10 Juri Linkov <juri@jurta.org>
22042 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22043 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22044 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22046 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
22048 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22051 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
22053 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22054 character. (Bug#6594)
22056 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
22058 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22059 (image-dired--with-db-file): New macro.
22060 (image-dired-write-tags, image-dired-remove-tag)
22061 (image-dired-create-gallery-lists, image-dired-write-comments)
22062 (image-dired-get-comment, image-dired-mark-tagged-files)
22063 (image-dired-list-tags, image-dired-gallery-generate): Use it.
22064 (image-dired-gallery-generate): Use insert-file-contents.
22066 * time.el (display-time-world-list, display-time-world-display):
22067 * time-stamp.el (time-stamp-string):
22068 * vc/add-log.el (add-change-log-entry): Use setenv instead of
22069 set-time-zone-rule (Bug#7337).
22071 2011-08-08 Daiki Ueno <ueno@unixuser.org>
22073 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22074 (epg-error-to-string, epg-errors-to-string): New function.
22075 (epg-wait-for-completion): Reverse errors list.
22076 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22077 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22078 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22079 (epg-sign-keys, epg-generate-key-from-file)
22080 (epg-generate-key-from-string): Format errors by using
22081 epg-errors-to-string (bug#9255).
22082 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22084 2011-08-07 Juri Linkov <juri@jurta.org>
22086 * faces.el (list-faces-display): Remove extra angle bracket
22087 from `help-mode-map'.
22089 * info.el (Info-history-toc-nodes): Doc fix.
22091 * longlines.el (longlines-mode): Doc fix.
22093 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
22095 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22096 of statements and in a few more cases (bug#9183).
22098 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22100 (cl-transform-lambda): Use them (bug#9239).
22102 2011-08-05 Martin Rudalics <rudalics@gmx.at>
22104 * window.el (display-buffer-same-window)
22105 (display-buffer-same-frame, display-buffer-other-window)
22106 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22107 (pop-to-buffer-other-window)
22108 (pop-to-buffer-same-frame-other-window)
22109 (pop-to-buffer-other-frame): Make them defuns.
22110 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22112 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22114 * subr.el (make-composed-keymap): Move from C. Change calling
22115 convention, and improve docstring to bring attention to a subtle point.
22116 * minibuffer.el (completing-read-default): Adjust accordingly.
22118 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
22120 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22121 (tramp-open-shell): Use `tramp-shell-quote-argument'.
22123 * net/trampver.el: Update release number.
22125 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
22127 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22130 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22132 * mail/sendmail.el (sendmail-query-once): Restore the current
22133 buffer after querying (bug#9074).
22135 * dired.el (dired-flagged): Use different faces for marked and
22136 flagged files (bug#6117).
22138 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22141 * ido.el (ido-mode): Switch off the message if called
22144 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22145 before 587, since it appears that that's more likely to work for
22148 * cus-edit.el (custom-file): When running under emacs -q, always
22149 refuse to save the customizations, even if the .emacs file doesn't
22152 * info.el: Remove the `Info-beginning-of-buffer' function
22155 * net/network-stream.el (network-stream-open-starttls):
22156 Use `starttls-available-p' to see whether starttls.el can be used.
22158 2011-08-01 Martin Rudalics <rudalics@gmx.at>
22160 * window.el (display-buffer-in-window): Don't set dedicated status
22161 of window here (Bug#9215).
22162 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22163 (display-buffer-pop-up-side-window)
22164 (display-buffer-in-side-window): Set dedicated status of window here.
22166 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
22168 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22169 before binding generated-autoload-file.
22171 2011-08-01 Deniz Dogan <deniz@dogan.se>
22173 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22175 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
22177 Sync with Tramp 2.2.2.
22179 * net/trampver.el: Update release number.
22181 2011-07-30 Juri Linkov <juri@jurta.org>
22183 * dired-aux.el (dired-touch-initial): Remove function.
22184 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22185 current time, and `default' to the last modification time of the
22186 current marked file (bug#6887).
22188 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
22190 * simple.el (goto-line): Use string-to-number to provide a
22191 numeric argument to read-number (bug#9163).
22193 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
22195 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22196 connection process, it could be nil.
22198 2011-07-27 Leo Liu <sdl.web@gmail.com>
22200 Simplify url handling in rcirc-mode.
22202 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22203 (rcirc-browse-url-at-mouse): Remove.
22204 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22206 2011-07-26 Alan Mackenzie <acm@muc.de>
22208 Fontify bitfield declarations properly.
22210 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22211 (c-symbol-chars): Now exported as a lang variable.
22212 (c-not-primitive-type-keywords): New lang variable.
22214 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22215 QT keyword "more" to prevent "more slots: ...." being spuriously
22216 parsed as a bitfield declaration.
22218 * progmodes/cc-engine.el (c-beginning-of-statement-1):
22219 Refactor and enhance to handle bitfield declarations.
22220 (c-punctuation-in): New function.
22221 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22222 declarations properly.
22224 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
22226 * calendar/icalendar.el (icalendar--all-events): Take care of
22227 multiple vcalendars in a single file.
22228 (icalendar--convert-float-to-ical): Checkdoc fixes.
22230 2011-07-25 Deniz Dogan <deniz@dogan.se>
22232 * image.el (insert-image): Clarifying docstring.
22234 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
22236 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22237 `tramp-send-command-and-check' if there is no error.
22238 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22240 2011-07-22 Alan Mackenzie <acm@muc.de>
22242 Prevent cc-langs.elc being loaded at run time.
22244 * progmodes/cc-mode.el: Remove two autoload forms which loaded
22247 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22248 "(require 'cc-langs)". Quote a form so it will evaluate at
22249 (cc-mode's) compilation time.
22251 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
22253 * net/tramp.el (tramp-file-name-handler): Avoid recursive
22254 loading. (Bug#9114)
22256 2011-07-21 Martin Rudalics <rudalics@gmx.at>
22258 * window.el (display-buffer-pop-up-window)
22259 (display-buffer-pop-up-side-window)
22260 (display-buffer-in-side-window): Call display-buffer-set-height
22261 and display-buffer-set-width after setting the new window's
22262 buffer so `fit-window-to-buffer' and friends work on the right buffer.
22264 2011-07-20 Sam Steingold <sds@gnu.org>
22266 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22267 (etags-tags-included-tables): Call `convert-standard-filename' on
22268 the file names contained in TAGS so that windows Emacs can handle
22269 TAGS files created by cygwin ctags.
22271 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
22273 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22274 which apparently didn't work.
22276 2011-07-19 Roland Winkler <winkler@gnu.org>
22278 * proced.el (proced-send-signal): For *Marked Processes* buffer
22279 put point at beginning of buffer.
22281 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
22283 * proced.el (proced-format): Make header lines align with the text
22286 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22288 * view.el (view-buffer): Allow running in `special' modes if we're
22289 visiting a file (bug#8615).
22291 2011-07-19 Martin Rudalics <rudalics@gmx.at>
22293 * window.el (display-buffer-alist-of-strings-p)
22294 (display-buffer-alist-set-1, display-buffer-alist-set-2):
22296 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22299 2011-07-18 Alan Mackenzie <acm@muc.de>
22301 Fontify declarators properly when, e.g., a jit-lock chunk begins
22302 inside a declaration.
22304 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22306 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22308 (c-complex-decl-matchers): Insert reference to
22309 c-font-lock-enclosing-decls.
22311 * progmodes/cc-engine.el (c-backward-single-comment):
22312 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22313 to nil around calls to (forward-comment -1).
22315 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22317 * image.el (put-image): Doc typo fix.
22319 * progmodes/etags.el (tags-search): Doc typo fix.
22321 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22322 password if we get errors 550 to 554.
22324 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
22326 * net/gnutls.el (gnutls-log-level): Remove.
22328 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22329 indentation character (bug#6380).
22331 * files.el (buffer-offer-save): Made permanently local (bug#6241).
22333 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22334 to clarify what the problem is (bug#4291).
22336 * simple.el (current-kill): Clarify what
22337 `interprogram-paste-function' does (bug#7500).
22338 (auto-fill-mode): Document `auto-fill-function' in relation to
22339 `auto-fill-mode' (bug#2470).
22341 2011-07-16 Lawrence Mitchell <wence@gmx.li>
22343 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22344 method if slot is read-only (bug#9035).
22346 2011-07-16 Martin Rudalics <rudalics@gmx.at>
22348 * frame.el (select-frame-set-input-focus): New argument NORECORD.
22349 * window.el (pop-to-buffer): Select window used even if it was
22350 selected before, see discussion of (Bug#8615), (Bug#6954).
22351 Pass argument NORECORD on to select-frame-set-input-focus.
22353 2011-07-15 Glenn Morris <rgm@gnu.org>
22355 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
22358 2011-07-09 Lawrence Mitchell <wence@gmx.li>
22360 * net/gnutls.el (gnutls-min-prime-bits): New variable.
22361 (gnutls-negotiate): Use it.
22363 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22365 * net/gnutls.el (gnutls-negotiate):
22366 Upcase `gnutls-algorithm-priority'.
22368 2011-07-15 Glenn Morris <rgm@gnu.org>
22370 * jka-compr.el (jka-compr-verbose): Move from here...
22371 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
22372 Add missing :version tag.
22373 * info.el: No need to require jka-compr when compiling.
22375 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22377 * net/gnutls.el (gnutls-algorithm-priority): New variable.
22378 (gnutls-negotiate): Use it.
22380 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22382 * info.el (Info-beginning-of-buffer): New command.
22383 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22384 announcing `b' as the key (bug#8325).
22385 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22387 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22389 * international/mule-cmds.el
22390 (describe-specified-language-support): Make the error message
22391 clearer (bug#8905).
22393 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22395 * isearch.el (isearch-barrier): Add a doc string, since it's
22396 mentioned in a function doc string (bug#8678).
22398 2011-07-15 Martin Rudalics <rudalics@gmx.at>
22400 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22401 buffer argument (Bug#9083) and self-identifying label argument.
22403 2011-07-15 Glenn Morris <rgm@gnu.org>
22405 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
22407 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22409 * man.el (Man-fontify-manpage): Fix message when formatting the
22410 man page (bug#7929).
22412 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22414 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22415 argument LRM; if non-nil, append an invisible LRM character to the
22417 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22418 last argument non-nil, when formatting buffer names.
22419 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22420 paragraph direction.
22422 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
22424 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22425 the man page name (bug#7929).
22427 * image.el (put-image): Mention the `put-image' overlay property
22430 * scroll-bar.el (set-scroll-bar-mode): Mention that
22431 `scroll-bar-mode' lists the values (bug#7772).
22433 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22434 command (bug#7729).
22436 * rect.el (apply-on-rectangle): Return the point after the last
22438 (string-rectangle): Go to the point after the last operation
22441 * printing.el (pr-toggle-region): Clarify the documentation
22442 slightly (bug#7493).
22444 * time.el (display-time-update):
22445 Allow `display-time-mail-function' to return nil (bug#7158).
22446 Fix suggested by Detlev Zundel.
22448 * vc/diff.el (diff): Clarify the order the file names are read
22451 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22452 the doc string (bug#7015).
22454 * font-lock.el (font-lock-maximum-decoration): Mention what
22455 numeric levels mean (bug#6935).
22457 * startup.el (initial-buffer-choice): Don't mention the `none'
22458 selection, which is against policy.
22460 2011-07-14 Martin Rudalics <rudalics@gmx.at>
22462 * window.el (display-buffer-normalize-special):
22463 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22465 2011-07-14 Eli Zaretskii <eliz@gnu.org>
22467 * subr.el (version<, version<=, version=): Mention "-CVS" and
22468 "-12345" alpha version numbers.
22470 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22472 * bindings.el: Add advertised binding for set-mark-command
22475 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22477 * bindings.el (mode-line-other-buffer):
22478 * bookmark.el (bookmark-bmenu-2-window):
22479 * bs.el (bs-cycle-next, bs-cycle-previous):
22480 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22483 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22486 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22488 * follow.el (follow-debug-message, follow-redisplay):
22489 * jka-cmpr-hook.el (with-auto-compression-mode):
22490 Fix typos in docstrings.
22492 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22494 * subr.el (with-silent-modifications): Clarify somewhat what the
22495 macro inhibits (bug#6525).
22497 * simple.el (eval-expression): Note what it does if called
22498 interactively (bug#6495).
22500 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22502 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22503 Use pop-to-buffer buffer-or-name if it is nil.
22505 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22506 Remove switch-to-buffer.
22508 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22510 * files.el (make-directory): Clarify that an error will be raised
22511 if there's an error (bug#6397).
22513 * startup.el (initial-buffer-choice): Add `none' as a choice
22516 * subr.el (add-hook): Clarify section about buffer-local hooks
22519 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22521 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22523 * tabify.el (untabify): Preserve the current column so that point
22524 doesn't move (bug#6032).
22526 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22528 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22529 Rewrite to avoid awkward possessive "s" (bug#5986).
22531 2011-07-13 Glenn Morris <rgm@gnu.org>
22533 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22534 (dired-insert-directory): Give a message the first time
22535 if ls is found not to support --dired.
22537 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22539 * simple.el (toggle-truncate-lines): Clarify what is toggled
22540 (bug#5580). Text by Drew Adams.
22542 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22544 * simple.el (blink-matching-open): Make the error message from the
22545 last change less verbose.
22547 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22549 * font-lock.el (font-lock-comment-face): Use the high contrast
22550 "yellow" color for font-lock-comment-face on low color terminals
22551 using a dark background color (bug#4221).
22553 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22555 * dired.el (dired-insert-set-properties): Make the doc string
22556 reflect what it does now (bug#5325).
22558 * simple.el (blink-matching-open): Say that we were unable to find
22559 the match within the limit, if we're limited (bug#5122).
22561 * international/mule-cmds.el (prefer-coding-system): Add an
22562 example (bug#4869).
22564 * progmodes/etags.el (tags-search): Document `file-list-form'
22567 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22569 * net/browse-url.el (browse-url-default-browser)
22570 (browse-url-browser-function): Make the default browser choice a
22571 bit more logical (bug#4300). Also clean up the doc string.
22573 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22575 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22576 binary endings (bug#4440).
22578 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22580 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22581 which can be pretty annoying (bug#8971).
22583 * jka-compr.el (jka-compr-verbose): New variable, and use
22584 throughout (bug#8971).
22586 * info.el (Info-find-file): Fall back on the installation
22587 directory if we can't find the info node anywhere else.
22589 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22591 * vc/vc.el (vc-revert-file):
22592 Don't set file time-stamp in the past. (Bug#5181)
22594 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22596 * files.el (after-find-file): Give a better error message when
22597 trying to find a symlink that points to a file that doesn't exist
22600 * progmodes/cc-vars.el: Remove (probably) misleading comment
22603 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22605 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22607 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22609 * mouse-sel.el: Hack restoring functionality, while keeping
22610 compatibility with 2010-07-03 changes to mouse selection.
22611 (mouse-sel-primary-overlay): New var.
22612 (mouse-sel-selection-alist): Use it.
22613 (mouse-sel-mode): Doc fix; remove points that are default features
22616 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22618 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22619 Fix previous fix (bug#2490).
22621 2011-07-12 Roland Winkler <winkler@gnu.org>
22623 * textmodes/bibtex.el (bibtex-initialize):
22624 Use pop-to-buffer-same-window.
22625 (bibtex-search-entries): Fix interactive call.
22627 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22629 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22630 Fontise bytecomp Error lines more correctly (bug#2490).
22631 Fix suggested by Johan Bockgård.
22633 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22635 * dired-x.el (dired-guess-default): Use `delete-dups'.
22637 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22639 * dired.el (dired-mark-prompt):
22640 * dired-aux.el (dired-read-shell-command): Doc fix.
22642 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22644 * mail/sendmail.el (sendmail-query-once):
22645 Use `customize-save-variable' unconditionally, now that it works under
22648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22650 * cus-edit.el (custom-file): Take an optional no-error variable.
22651 (customize-save-variable): Set the variable, and give a warning if
22652 running under "emacs -q".
22654 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22656 * loadhist.el (unload-feature-special-hooks):
22657 Add `auto-coding-functions', `fill-nobreak-predicate' and
22658 `find-directory-functions' (bug#5327).
22660 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22662 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22664 * cus-edit.el (custom-guess-name-alist): -alist variables should
22665 use the `alist' type (bug#3120). Suggested by Drew Adams.
22667 * printing.el: Add documentation to all the `pr-toggle-' commands.
22669 2011-07-11 Leo Liu <sdl.web@gmail.com>
22671 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22672 backends where it makes sense (bug#2623).
22674 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22676 * dired-x.el (dired-guess-default): Remove duplicate shell command
22677 entries (bug#2028).
22678 (dired-guess-default): Fix grammar in doc string (bug#2028).
22679 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22681 * subr.el (remove-duplicates): New conveniency function.
22683 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22685 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22688 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22690 * window.el (display-buffer-normalize-default): Don't invert
22691 meaning of even-window-heights. Reported by Eli Zaretskii
22694 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22696 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22698 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22700 * window.el (display-buffer): Fix arguments to
22701 display-buffer-reuse-window in last change.
22703 * faces.el (link): Use a less saturated blue on light backgrounds.
22705 * startup.el (fancy-startup-text, fancy-about-text)
22706 (fancy-startup-tail): Use font-lock faces, for background safety.
22708 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22710 * emulation/viper-cmd.el (viper-change-state-to-vi):
22711 Limit triggering of abbrev expansion (Bug#9038).
22713 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22715 * window.el (display-buffer-default-specifiers): Remove.
22716 (display-buffer-macro-specifiers): Remove default specifiers.
22717 (display-buffer-alist): Default to nil.
22718 (display-buffer-reuse-window): New optional argument other-window.
22719 (display-buffer-pop-up-window): Allow splitting internal
22720 windows. Check whether a live window was created.
22721 (display-buffer-other-window-means-other-frame)
22722 (display-buffer-normalize-arguments): Rename to
22723 display-buffer-normalize-argument and rewrite. Set the
22724 other-window specifier.
22725 (display-buffer-normalize-special): New function.
22726 (display-buffer-normalize-options): Rename to
22727 display-buffer-normalize-default and rewrite.
22728 (display-buffer-normalize-options-inhibit): Remove.
22729 (display-buffer-normalize-specifiers): Rewrite.
22730 (display-buffer): Process other-window specifier and call
22731 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22733 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22734 (display-buffer-alist-set): Don't handle 'unset default values.
22735 (display-buffer-in-window, display-buffer-alist-set):
22736 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22737 <tassilo@member.fsf.org>.
22739 2011-07-09 Leo Liu <sdl.web@gmail.com>
22741 * register.el (insert-register): Restore accidental change on
22742 2011-06-26. (Bug#9028)
22744 2011-07-09 Glenn Morris <rgm@gnu.org>
22746 * subr.el (remq): Handle the empty list. (Bug#9024)
22748 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22750 * mail/sendmail.el (send-mail-function): No longer delay custom
22752 * custom.el (custom-initialize-delay): Doc fix.
22754 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22756 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22758 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22760 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22761 human-friendly prompt.
22763 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22765 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22766 provided by a particular plugin.
22768 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22770 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22771 save customizations (with "emacs -Q"), just set the variable
22772 instead of erroring out.
22774 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22776 2011-07-08 Juri Linkov <juri@jurta.org>
22778 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22779 (archive-zip-update-case): Use 7z if found by `executable-find'.
22780 The order of searching the available programs is the same as in
22781 `archive-zip-extract' (bug#8968).
22783 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22785 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22786 (menu-bar-options-menu): Tweak descriptions.
22788 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22790 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22791 menu items into verb phrases (bug#1421). Also refill to fit under
22794 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22796 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22797 (Info-read-node-name): Doc fix (Bug#1084).
22799 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22800 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22801 (end-of-sexp, beginning-of-sexp)
22802 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22803 (forward-symbol, forward-same-syntax, word-at-point)
22804 (sentence-at-point): Doc fix (Bug#1144).
22806 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22808 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22809 should cover it (bug#1281).
22811 * cus-edit.el (custom-show): Mark as obsolete.
22813 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22814 negotiation fails, then possibly try again with a non-encrypted
22815 connection (bug#9017).
22817 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22820 2011-07-07 Richard Stallman <rms@gnu.org>
22822 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22823 property, and handle its changed format.
22824 Look for the correct line number.
22825 Use file's line contents (but not past first =) to find
22826 correct line in message.
22828 2011-07-07 Kenichi Handa <handa@m17n.org>
22830 * international/characters.el (build-unicode-category-table):
22832 (unicode-category-table): Set it by unicode-property-table-internal.
22834 * international/mule-cmds.el (char-code-property-alist): Move to
22836 (get-char-code-property): Call unicode-property-table-internal to
22837 load a file. Call get-unicode-property-internal where necessary.
22838 (put-char-code-property): Call unicode-property-table-internal to
22839 load a file. Call put-unicode-property-internal where necessary.
22840 put-unicode-property-internal where necessary.
22841 (char-code-property-description):
22842 Call unicode-property-table-internal to load a file.
22844 * international/charprop.el:
22845 * international/uni-bidi.el:
22846 * international/uni-category.el:
22847 * international/uni-combining.el:
22848 * international/uni-comment.el:
22849 * international/uni-decimal.el:
22850 * international/uni-decomposition.el:
22851 * international/uni-digit.el:
22852 * international/uni-lowercase.el:
22853 * international/uni-mirrored.el:
22854 * international/uni-name.el:
22855 * international/uni-numeric.el:
22856 * international/uni-old-name.el:
22857 * international/uni-titlecase.el:
22858 * international/uni-uppercase.el: Regenerate.
22860 * loadup.el: Load international/charprop.el before
22861 international/characters.
22863 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22865 * window.el (next-buffer, previous-buffer): Signal an error if
22866 called from a minibuffer window.
22868 * bindings.el: Revert 2011-07-04 change.
22870 2011-07-06 Richard Stallman <rms@gnu.org>
22872 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22873 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22874 Treat markers like ints.
22875 (rmail-mime-entity): Doc fix.
22877 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22879 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22880 defcustom again for backwards compatibility.
22882 * simple.el (shell-command-on-region): Fill.
22884 * dired-aux.el (dired-kill-line): Add a doc string.
22886 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22887 to "\\sw\\|\\s_" (bug#358).
22889 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22890 (dired-unmark-backward): Ditto.
22891 (dired-flag-backup-files): Ditto.
22893 * dired-x.el (dired-mark-sexp): Ditto.
22895 2011-07-06 Richard Stallman <rms@gnu.org>
22897 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22898 (rmail-mime-entity): New arg TRUNCATED.
22899 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22901 (rmail-mime-save): Warn if entity is truncated.
22902 (rmail-mime-toggle-hidden): Likewise, for showing.
22903 (rmail-mime-process-multipart): Record when an entity is truncated.
22905 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22906 if ENTITY is a string.
22908 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22910 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22911 of faces when `M-C-x'-ing their definitions (bug#8378).
22912 Also clean up the code slightly.
22914 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22915 because that makes the colors go away.
22917 * mail/sendmail.el (send-mail-function): Change the default to
22918 `sendmail-query-once'.
22919 (sendmail-query-once): Add an autoload cookie.
22921 * net/network-stream.el (network-stream-open-starttls): Try using
22922 a plain connection even if the server offered STARTTLS, and we
22923 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22924 capability. This should make smtpmail.el work in slightly more
22927 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22929 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22931 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22933 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22935 * progmodes/sql.el: Version 3.0
22936 (sql-product-alist): Add product :completion-object,
22937 :completion-column, and :statement attributes.
22938 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22939 (sql-mode-syntax-table): Mark all punctuation.
22940 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22942 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22943 (sql-mode-oracle-font-lock-keywords): Improve.
22944 (sql-oracle-show-reserved-words): New function for development.
22945 (sql-product-font-lock): Simplify for source code buffers.
22946 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22948 (sql-highlight-product): Set product specific syntax table.
22949 (sql-mode-map): Add statement movement functions.
22950 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22952 (sql-statement-regexp, sql-beginning-of-statement)
22953 (sql-end-of-statement, sql-signum): New functions.
22954 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22955 (sql-show-sqli-buffer): Bug fix.
22956 (sql-interactive-mode): Store connection data as buffer local.
22957 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22958 with sql-interactive-mode.
22959 (sql-save-connection): Save buffer local settings.
22960 (sql-connection-menu-filter): Change menu entry name.
22961 (sql-product-interactive): Bug fix.
22962 (sql-preoutput-hold): New variable.
22963 (sql-interactive-remove-continuation-prompt): Bug fixes.
22964 (sql-debug-redirect): New variable.
22965 (sql-str-literal): New function.
22966 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22968 (sql-oracle-save-settings, sql-oracle-restore-settings)
22969 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22970 (sql-completion-object, sql-completion-column)
22971 (sql-completion-sqlbuf): New variables.
22972 (sql-build-completions-1, sql-build-completions)
22973 (sql-try-completion): New functions.
22974 (sql-read-table-name): Use them.
22975 (sql-contains-names): New buffer local variable.
22976 (sql-list-all, sql-list-table): Use it.
22977 (sql-oracle-completion-types): New variable.
22978 (sql-oracle-completion-object, sql-sqlite-completion-object)
22979 (sql-postgres-completion-object): New functions.
22981 2011-07-06 Glenn Morris <rgm@gnu.org>
22983 * window.el (pop-to-buffer): Doc fix.
22985 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22987 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22989 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22991 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22993 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22995 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22997 * button.el (button): Inherit from link face. Suggested by Dan
23000 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23002 * progmodes/gdb-mi.el: Fit in 80 columns.
23003 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
23006 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
23007 if imenu is simply not configured (bug#8941).
23009 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
23011 * allout.el (allout-post-undo-hook): New allout outline-change
23012 event hook to signal undo activity.
23013 (allout-post-command-business): Run allout-post-undo-hook if an
23014 undo just occurred.
23015 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
23016 * allout-widgets.el (allout-widgets-after-undo-function):
23017 Ensure the integrity of the current item's decoration after it has been
23018 in the vicinity of an undo.
23019 (allout-widgets-mode): Include allout-widgets-after-undo-function
23020 on the new allout-post-undo-hook.
23022 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23024 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23025 Let define-derived-mode define it.
23026 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
23027 cycles of abbrev-table inheritance (bug#8998).
23029 2011-07-05 Roland Winkler <winkler@gnu.org>
23031 * textmodes/bibtex.el: Add support for biblatex.
23032 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
23033 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
23034 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
23035 (bibtex-entry-alist, bibtex-field-alist): New variables.
23036 (bibtex-entry-field-alist): Obsolete alias for
23037 bibtex-BibTeX-entry-alist.
23038 (bibtex-entry-alist, bibtex-field-alist): New widgets.
23039 (bibtex-set-dialect): New command.
23040 (bibtex-entry-type, bibtex-entry-head)
23041 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23042 Bind via bibtex-set-dialect.
23043 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23044 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23045 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23046 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23047 Define via bibtex-set-dialect.
23048 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23049 Obey bibtex-no-opt-remove-re.
23050 (bibtex-vec-push, bibtex-vec-incr): New functions.
23051 (bibtex-format-entry, bibtex-field-list)
23052 (bibtex-print-help-message, bibtex-validate)
23053 (bibtex-search-entries): Use new format of bibtex-entry-alist.
23055 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23057 * progmodes/compile.el (compilation-goto-locus):
23058 * net/tramp-cmds.el (tramp-append-tramp-buffers):
23059 * bs.el (bs-cycle-next, bs-cycle-previous):
23060 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23061 * bindings.el (mode-line-other-buffer):
23062 * autoinsert.el (auto-insert):
23063 * arc-mode.el (archive-extract):
23064 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23066 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23068 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23069 Fix check of `emacs-lock-unlockable-modes'.
23070 Coerce true values of `emacs-lock--try-unlocking' to t.
23072 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23074 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23075 * emacs-lock.el: New file.
23077 2011-07-05 Julien Danjou <julien@danjou.info>
23079 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23080 than `boundp' to check if face is set.
23082 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
23084 * register.el (registerv-make):
23085 * window.el (window-min-height): Fix typos in docstrings.
23087 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
23089 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23092 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23094 * server.el (server-execute): Catch quit and call
23095 `server-return-error' to pass the error back to emacsclient and
23096 close the connection (bug#8942).
23098 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
23100 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23101 insecure exception for current topic. Also note that auto-saves
23102 are handled differently.
23104 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23105 State variables for tracking auto-save inhibition situation.
23107 (allout-write-contents-hook-handler): Rename from
23108 'allout-write-file-hook-handler', and describe how it depends on
23109 write-contents-functions sensitivity to non-nil value to prevent
23112 (allout-auto-save-hook-handler): Remove. auto-save does not check
23113 this in individual buffers, only in the starting buffer, so this
23114 is not the right way for us to inhibit auto-save in a buffer
23115 according to its condition.
23117 (allout-mode): Use new allout-write-contents-hook-handler, and
23118 only with write-contents-functions. Remove auto-save provisions -
23119 they're implemented elsewhere.
23121 (allout-before-change-handler): If undo is in progress, note that
23122 for attention of allout-post-command-business.
23124 (allout-post-command-business): If the command we're following was
23125 an undo, check for change in the status of encrypted items and
23126 adjust auto-save inhibitions accordingly.
23128 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23129 according to whether there are or aren't any plain-text topics
23130 pending encryption.
23132 (allout-inhibit-auto-save-info-for-decryption):
23133 Adjust buffer-saved-size and some allout state to inhibit auto-saves
23134 if there are plain-text topics pending encryption.
23136 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23137 buffer-saved-size and some allout state to not inhibit auto-saves
23138 if there are no longer any plain-text topics pending encryption.
23140 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23141 No longer provide for exemption of the current topic.
23143 2011-07-04 Juri Linkov <juri@jurta.org>
23145 Add 7z operations to delete and save changed members (bug#8968).
23146 * arc-mode.el (archive-7z-expunge, archive-7z-update):
23148 (archive-7z-write-file-member): New function.
23149 (archive-7z-summarize): Fix the number of dashes in the
23152 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23154 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23157 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
23159 * bindings.el: Ignore next-buffer and previous-buffer in
23160 minibuffer-local-map.
23162 * font-lock.el (font-lock-builtin-face): Change light background
23163 color to dark slate blue (Bug#6693).
23165 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
23167 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23169 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
23171 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23173 Add switch-to-buffer.
23175 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23177 * isearch.el (isearch-search-fun-function): Clarify further the
23178 meaning of the function returned.
23180 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
23182 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23184 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23185 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23187 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
23188 `tramp-default-remote-path' does not exist.
23189 (tramp-send-command-and-read): New optional argument NOERROR.
23190 (tramp-open-connection-setup-interactive-shell)
23191 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23192 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23193 (tramp-process-sentinel): Flush also process' connection property.
23194 (tramp-sh-handle-start-file-process): Do not set process
23195 sentinel. It is done now ...
23196 (tramp-maybe-open-connection): ... here. (Bug#8929)
23198 2011-07-04 MON KEY <monkey@sandpframing.com>
23200 * play/animate.el (animate-string): Doc fixes and allow changing
23201 the buffer name (bug#5417).
23203 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
23205 * play/animate.el (animation-buffer-name): Rename from *animate*.
23207 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
23209 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23210 This is simpler and helps future-proof the code.
23211 (timer-until): Use time-subtract and float-time.
23212 (timer--time-less-p): Use time-less-p.
23214 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
23216 * type-break.el (timep): Use the value of `float-time' to avoid a
23217 byte-compiler warning.
23219 * server.el (server-eval-and-print): Return any result, even nil.
23221 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
23223 * type-break.el: Accept time formats that the builtins accept.
23224 (timep, type-break-time-difference): Accept any format that
23225 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23226 This is simpler and helps future-proof the code.
23227 (type-break-time-difference): Round rather than ignoring
23228 subseconds components.
23230 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23232 * info.el (Info-apropos-matches): Make non-interactive, since it
23233 doesn't seem to do anything useful as a command (bug#8829).
23235 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
23237 * frame.el (frame-background-mode, frame-set-background-mode):
23238 Move from faces.el.
23239 (frame-default-terminal-background): New function.
23241 * custom.el (custom-push-theme): Don't record faces in `changed'
23242 theme; this doesn't work correctly for per-frame face settings.
23243 (disable-theme): Use face-set-after-frame-default to reset faces.
23244 (custom--frame-color-default): New function.
23246 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23248 * dired.el (dired-flagging-regexp): Remove unused variable
23251 2011-03-29 Kevin Ryde <user42@zip.com.au>
23253 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23254 `perl-Test2' extend to match possible "fail #N" rep count
23257 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23259 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23260 `smtpmail-via-smtp' now returns the error instead of nil.
23262 * isearch.el (isearch-search-fun-function): Clarify the doc string
23265 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
23267 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23268 unnecessary spaces (bug#8987).
23270 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23272 * net/network-stream.el (open-network-stream): Use the
23273 :end-of-capability command thoughout.
23275 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
23277 * net/network-stream.el (open-network-stream): Add the
23278 :end-of-capability command parameter, used by pop3.el.
23280 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
23282 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23284 * fringe.el (fringe-query-style): Remove redundant text " (type ?
23285 for list)" (bug#6475).
23287 * files.el (file-expand-wildcards): Ignore non-readable
23288 sub-directories while trying to find matches instead of signaling
23289 an error (bug#6297).
23291 * man.el (Man-reference-regexp): Allow matching possible
23292 word-wrapped references (bug#6289).
23294 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23295 for consistency with the other vc buffers (bug#6197).
23296 (vc-checkin): Ditto.
23298 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23300 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23302 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23304 * custom.el (defcustom): Clarify that :set is only used in the
23305 Customize user interface (bug#6089).
23307 * progmodes/flymake.el (flymake-mode): If the buffer isn't
23308 associated with a file, refuse to run instead of erroring out
23311 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23312 the doc string, since it appears that using `fill-column' always
23313 controls the width (bug#7845).
23315 * simple.el (shell-command-on-region): Say where the error output
23316 went if `shell-command-default-error-buffer' is set (bug#6857).
23318 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
23320 * allout.el (allout-yank-processing): Adjust cursor position for
23321 backwards-deleted space.
23323 (allout-rebullet-heading): Register changes with
23324 allout-exposure-changed-hook, so the modified topic is properly
23327 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23329 * minibuffer.el (completion-in-region): Document PREDICATE
23332 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23333 of keyword/argument pairs (bug#6904).
23335 * replace.el (multi-occur):
23336 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23338 2011-07-02 Drew Adams <drew.adams@oracle.com>
23340 * dired.el (dired-mark-if): Make the message about whether it's
23341 marking or unmarking clearer (bug#8523).
23343 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23345 * disp-table.el (display-table-print-array): New function.
23346 (describe-display-table): Use it to print the vectors more pretty
23349 2011-07-02 Martin Rudalics <rudalics@gmx.at>
23351 * window.el (window-state-get-1): Don't assign clone numbers.
23352 Add clone-of item to list of window parameters.
23353 (window-state-put-2): Don't process clone numbers.
23354 (display-buffer-alist): Fix doc-string.
23356 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
23358 * subr.el (remq): Don't allocate if it's not needed.
23359 (keymap--menu-item-binding, keymap--menu-item-with-binding)
23360 (keymap--merge-bindings): New functions.
23361 (keymap-canonicalize): Use them to refine the canonicalization.
23362 * minibuffer.el (minibuffer-local-completion-map)
23363 (minibuffer-local-must-match-map): Move initialization from C.
23364 (minibuffer-local-filename-completion-map): Move initialization from C;
23365 don't inherit from anything here.
23366 (minibuffer-local-filename-must-match-map): Make obsolete.
23367 (completing-read-default): Use make-composed-keymap to combine
23368 minibuffer-local-filename-completion-map with either
23369 minibuffer-local-must-match-map or
23370 minibuffer-local-filename-completion-map.
23372 2011-07-01 Glenn Morris <rgm@gnu.org>
23374 * type-break.el (type-break-time-sum): Use dolist.
23376 * textmodes/flyspell.el (flyspell-word-search-backward):
23377 Replace CL function.
23379 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23381 * mouse.el (mouse--strip-first-event): New function.
23382 (function-key-map): Use it to map fringe clicks to normal clicks
23385 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23386 (vc-bzr-revision-completion-table): Add support for annotate and date.
23388 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23389 inherit from parent.
23391 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23393 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23394 (dired-show-file-type): Doc fixup (bug#8818).
23396 * dired.el (dired-mode): Fix up the doc string as suggested by
23397 Drew Adams (bug#8817).
23399 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23400 cookie, since the manual says that it should be possible to add
23401 this function to `find-file-hook' (bug#8709).
23403 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23405 * progmodes/cfengine.el: Moved all cfengine3.el functionality
23406 here. Noted Ted Zlatanov as the maintainer.
23407 (cfengine-common-settings, cfengine-common-syntax): New functions
23408 to set up common things between `cfengine-mode' and
23410 (cfengine3-mode): New mode.
23411 (cfengine3-defuns cfengine3-defuns-regex
23412 (cfengine3-class-selector-regex cfengine3-category-regex)
23413 (cfengine3-vartypes cfengine3-font-lock-keywords)
23414 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23415 (cfengine3-indent-line): Add from cfengine3.el.
23417 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
23419 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23421 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23423 2011-07-01 Martin Rudalics <rudalics@gmx.at>
23425 * window.el (same-window-buffer-names, same-window-regexps)
23426 (same-window-p, special-display-frame-alist)
23427 (special-display-popup-frame, special-display-function)
23428 (special-display-buffer-names, special-display-regexps)
23429 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23430 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23431 (split-window-preferred-function, split-height-threshold)
23432 (split-width-threshold, even-window-heights)
23433 (display-buffer-mark-dedicated, window-splittable-p)
23434 (split-window-sensibly, window-safely-shrinkable-p):
23436 (display-buffer): Don't spread args with function specifier
23437 because special-display-popup-frame won't like it.
23439 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
23441 Time-stamp simplifications and fixes.
23442 These improve accuracy slightly, and future-proof the code
23443 against some potential changes to current-time format.
23445 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23446 by using time-since and float-time.
23448 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23449 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
23450 + NNN microseconds".
23452 * type-break.el (type-break-time-sum): Rewrite using time-add.
23454 * play/hanoi.el (hanoi-current-time-float): Remove.
23455 All uses replaced by float-time.
23457 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23458 This yields a more-accurate answer.
23459 (rng-time-to-float): Remove; no longer needed.
23461 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23463 * calendar/timeclock.el (timeclock-seconds-to-time):
23464 Defalias to seconds-to-time, since they're the same thing.
23466 * emacs-lisp/elp.el (elp-elapsed-time):
23467 * emacs-lisp/benchmark.el (benchmark-elapse):
23468 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23470 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23472 * window.el (bury-buffer): Don't iconify the only frame.
23473 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23474 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23476 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23478 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23479 Add mouse-yank-primary.
23481 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23483 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23485 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23487 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23488 (find-library-name): Use it to find relative load names when provided
23489 absolute file name (bug#8803).
23491 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23493 * textmodes/flyspell.el (flyspell-word): Consider words that
23494 differ only in case as potential doublons (bug#5687).
23496 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23497 Remove two rather uninteresting debugging-like messages to make
23498 debbugs.el more silent.
23500 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23501 a password-like phrase.
23503 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23505 * progmodes/cc-guess.el: New file.
23507 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23509 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23510 derived from `c-basic-common-init'.
23512 * progmodes/cc-mode.el (top-level): Require cc-guess.
23513 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23515 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23517 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23519 2011-06-30 Alan Mackenzie <acm@muc.de>
23521 * progmodes/cc-engine.el (c-guess-continued-construct):
23522 Correct the handling of template-args-cont, particularly for when font
23523 lock is disabled. Name this case as "CASE G".
23525 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23527 * allout.el (allout-yank-processing): Fix injection of extra space
23528 between bullet and non-whitespace character in first topic when
23529 pasting, ensuring that the actual spacing in the pasted topic
23530 following the bullet char is preserved. This extra space was
23531 causing pasted encrypted topics to get a decrypted status even
23532 when the content was actually still encrypted. Now the decryption
23533 status from before the paste is preserved.
23535 (allout-flag-region): Set all allout overlays so they evaporate
23536 when reduced to zero length (evanescent), to prevent overlay
23539 2011-06-30 Glenn Morris <rgm@gnu.org>
23541 * w32-fns.el (w32-charset-info-alist): Declare.
23543 * find-dired.el (find-grep-options): Simplify.
23545 * term/ns-win.el (ns-set-resource): Declare.
23547 * ses.el (row, col): Declare dynamic variables honestly.
23549 * textmodes/reftex-parse.el (index-tags): Declare.
23551 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23553 * cus-edit.el (customize-push-and-save): New function.
23555 * files.el (hack-local-variables-confirm): Use it.
23557 * custom.el (load-theme): New arg NO-CONFIRM.
23558 Use customize-push-and-save (Bug#8720).
23559 (custom-enabled-themes): Doc fix.
23561 * cus-theme.el (customize-create-theme)
23562 (custom-theme-merge-theme): Callers to load-theme changed.
23564 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23566 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23567 short URLs have at least one dot in them (bug #7614).
23569 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23570 nil, because using a pty is apparently too slow (bug #895).
23572 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23574 * mail/sendmail.el (sendmail-query-once): New function.
23575 (sendmail-query-once-function): New variable.
23577 2011-06-29 Glenn Morris <rgm@gnu.org>
23579 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23581 * ses.el (top-level): Require cl when compiling.
23582 (ses-set-localvars): Fix error statement.
23583 Call it at compile time to silence a storm of warnings.
23585 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23587 * window.el (normalize-live-buffer): Rename to
23588 window-normalize-buffer.
23589 (normalize-live-frame): Rename to window-normalize-frame.
23590 (normalize-any-window): Rename to window-normalize-any-window.
23591 (normalize-live-window): Rename to window-normalize-live-window.
23592 (make-window-atom): Rename to window-make-atom.
23593 (window-resize-reset): Rename to window--resize-reset.
23594 (window-resize-reset-1): Rename to window--resize-reset-1.
23595 (resize-mini-window): Rename to window--resize-mini-window.
23596 (resize-subwindows-skip-p): Rename to
23597 window--resize-subwindows-skip-p.
23598 (resize-subwindows-normal): Rename to
23599 window--resize-subwindows-normal.
23600 (resize-subwindows): Rename to window--resize-subwindows.
23601 (resize-other-windows): Rename to window--resize-siblings.
23602 (resize-this-window): Rename to window--resize-this-window.
23603 (resize-root-window): Rename to window--resize-root-window.
23604 (resize-root-window-vertically): Rename to
23605 window--resize-root-window-vertically.
23606 (normalize-buffer-to-display): Rename to
23607 window-normalize-buffer-to-display.
23608 (normalize-buffer-to-switch-to): Rename to
23609 window-normalize-buffer-to-switch-to.
23610 Correspondingly update all callers of the functions listed
23612 (display-buffer-alist, display-buffer-normalize-arguments)
23613 (display-buffer-normalize-options, display-buffer)
23614 (display-buffer-alist-set): Use "function" instead of
23617 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23619 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23620 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23621 debbugs.gnu.org. Mention acknowledgment email.
23623 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23625 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23626 buffer multibyteness, since it shouldn't matter.
23628 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23630 * window.el (display-buffer-in-side-window): Handle dedicated
23631 windows as in display-buffer-reuse-window.
23632 (display-buffer-normalize-alist): Use value of override
23634 (display-buffer-normalize-specifiers): Use value of
23635 other-window-means-other-frame specifier.
23636 (display-buffer-alist): Rewrite some texts in widgets.
23637 (display-buffer): Spread arguments when calling function
23638 specified by fun-with-args.
23640 2011-06-28 Deniz Dogan <deniz@dogan.se>
23642 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23645 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23646 selectors (Bug#5732).
23647 (css-proprietary-nmstart-re): Use `regexp-opt'.
23649 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23651 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23652 (eshell-ls-date-format): New defcustom.
23653 (eshell-ls-file): Use it.
23655 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23657 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23659 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23661 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23662 (ange-ftp-make-tmp-name): New arg.
23663 (ange-ftp-file-local-copy): Use it.
23665 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23667 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23668 no-conversion (Bug#8870).
23670 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23672 * window.el (window-right, window-left, window-child)
23673 (window-child-count, window-last-child)
23674 (window-iso-combination-p, walk-window-tree-1)
23675 (window-atom-check-1, window-tree-1, delete-window)
23676 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23677 new naming conventions - window-vchild, window-hchild,
23678 window-next and window-prev are now called window-top-child,
23679 window-left-child, window-next-sibling and window-prev-sibling
23681 (resize-window-reset): Rename to window-resize-reset.
23682 (resize-window-reset-1): Rename to window-resize-reset-1.
23683 (resize-window): Rename to window-resize.
23684 (window-min-height, window-min-width)
23685 (resize-mini-window, resize-this-window, resize-root-window)
23686 (resize-root-window-vertically, adjust-window-trailing-edge)
23687 (enlarge-window, shrink-window, maximize-window)
23688 (minimize-window, delete-window, quit-restore-window)
23689 (split-window, balance-windows, balance-windows-area-adjust)
23690 (balance-windows-area, window-state-put-2)
23691 (display-buffer-even-window-sizes, display-buffer-set-height)
23692 (display-buffer-set-width, set-window-text-height)
23693 (fit-window-to-buffer): Rename all "resize-window" prefixed
23694 calls to use the "window-resize" prefix convention.
23695 (display-buffer-alist): Fix symbol for label specifier.
23696 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23697 corresponding specifier.
23698 Reported by Juanma Barranquero <lekktu@gmail.com>.
23700 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23702 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23704 (ses-call-printer): Does not pass an empty string to formatter when the
23705 cell is empty to keep from barking printer Calc math-format-value.
23707 2011-06-27 Richard Stallman <rms@gnu.org>
23709 * battery.el (battery-mode-line-limit): New variable.
23710 (battery-update): Handle it.
23712 * mail/rmailmm.el (rmail-mime-process-multipart):
23713 Handle truncated messages.
23715 2011-06-27 Glenn Morris <rgm@gnu.org>
23717 * progmodes/flymake.el (flymake-err-line-patterns):
23718 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23720 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23722 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23723 (ses--clean-!, ses--clean-_): New functions.
23724 (ses-range): Add configurability of readout order, and conversion
23727 * ses.el (ses-repair-cell-reference-all): New function.
23728 (ses-cell-symbol): Set macro as safe, so that it can be used in
23731 * ses.el: Update cycle detection algorithm.
23732 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23733 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23734 (ses-set-localvars): New function.
23735 (ses-make-cell): Add property-list as a cell element.
23736 (ses-cell-property-get-fun, ses-cell-property-get)
23737 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23738 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23740 (ses-cell-property-set, ses-cell-property-pop)
23741 (ses-cell-property-get-handle): New macro.
23742 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23743 New aliases, used for code readability.
23744 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23746 (ses-self-reference-early-detection): New defcustom.
23747 (ses-formula-references): Robustify against self-referring cells.
23748 (ses-mode): Use ses-set-localvars.
23749 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23750 before lauching the update processing.
23751 (ses-initialize-Dijkstra-attempt): New function.
23752 (ses-recalculate-cell): Update for cycle detection based on
23753 Dijkstra algorithm.
23755 * ses.el: Fix commenting and indenting convention.
23757 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23759 * bs.el (bs-cycle-next): Complete last change.
23761 2011-06-27 Drew Adams <drew.adams@oracle.com>
23763 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23765 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23767 * net/network-stream.el (network-stream-open-starttls):
23768 Don't re-get capabilities unless we've reestablished connection.
23769 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23771 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23772 to binary to possibly avoid line encoding issues on Windows (among
23775 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23777 * net/network-stream.el (open-network-stream): Return an :error
23778 saying what the problem was, if possible.
23780 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23783 * net/network-stream.el (network-stream-open-starttls): If we
23784 wanted to use STARTTLS, and the server offered it, but we weren't
23785 able to because we had no STARTTLS support, then close the connection.
23786 (open-network-stream): Return an :error element, if present.
23788 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23790 * hl-line.el (hl-line-sticky-flag): Doc fix.
23791 (global-hl-line-sticky-flag): New option (Bug#8323).
23792 (global-hl-line-highlight): Obey it.
23794 * vc/vc.el (vc-revert-show-diff): Default to t.
23796 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23798 * allout-widgets.el (allout-widgets-post-command-business):
23799 Stop decorating intermediate isearch matches. They're not being
23800 undecorated when an isearch is continued past, and isearch
23801 automatically collapses them. This leads to "widget leaks", where
23802 decorated items accumulate in collapsed areas. Lines with lots of
23803 hidden widgets can slow down cursor travel, substantially.
23804 Too much complicated machinery would be needed to ensure undecoration,
23805 so we're doing without this nicety.
23807 (allout-widgets-tally-string): Don't try to do a hash-table-count
23808 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23809 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23810 *Messages* when allout-widgets-maintain-tally is t.
23812 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23814 * window.el (display-buffer-normalize-argument): Rename to
23815 display-buffer-normalize-arguments. Handle special meaning of
23816 LABEL argument. Respect special-display-function when popping up
23817 a new frame. Fix code searching for a window showing the buffer
23819 (display-buffer-normalize-specifiers):
23820 Call display-buffer-normalize-arguments.
23821 (display-buffer-in-window): Don't undedicate the window if its
23822 buffer remains the same.
23823 Reported by Drew Adams <drew.adams@oracle.com>.
23824 (display-buffer-alist): Add choice for same-window macro
23826 (display-buffer): Mention special meaning of LABEL argument in
23827 doc-string. Fix quoting. Don't pop up a new frame even as
23830 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23832 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23833 avoid deleting the current window in some cases (bug#8911).
23835 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23837 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23840 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23842 * net/network-stream.el (network-stream-open-starttls):
23843 Use built-in TLS support if `gnutls-available-p' is true.
23844 (network-stream-open-tls): Ditto.
23846 2011-06-26 Leo Liu <sdl.web@gmail.com>
23848 * register.el (registerv): New struct.
23849 (registerv-make): New function.
23850 (jump-to-register, describe-register-1, insert-register):
23851 Support the jump-func, print-func and insert-func slot of a registerv
23854 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23856 * vc/vc.el (vc-revert-show-diff): New defcustom.
23857 (vc-diff-internal): New arg specifying diff buffer.
23858 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23859 reuse an existing *vc-diff* buffer (Bug#8927).
23861 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23863 2011-06-26 Glenn Morris <rgm@gnu.org>
23865 * progmodes/f90.el (f90-critical-indent): New option.
23866 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23867 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23868 (f90-mode): Doc fix.
23869 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23870 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23871 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23872 (f90-match-end): Handle block, critical.
23874 2011-06-25 Glenn Morris <rgm@gnu.org>
23876 * calendar/diary-lib.el (diary-included-files): Doc fix.
23877 (diary-include-files): New function, extracted from
23878 diary-include-other-diary-files and diary-mark-included-diary-files.
23879 (diary-include-other-diary-files, diary-mark-included-diary-files):
23880 Just call diary-include-files.
23881 (diary-mark-entries): Reset diary-included-files on first call.
23883 * calendar/diary-lib.el (diary-mark-entries)
23884 (diary-mark-included-diary-files):
23885 Visit included diary-files in temp buffers.
23887 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23888 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23889 (f90-start-block-re, f90-imenu-generic-expression)
23890 (f90-looking-at-program-block-start, f90-no-block-limit):
23891 Add support for submodules.
23893 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23894 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23896 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23898 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23899 buffer-file-type before setting its value, to avoid disastrous
23900 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23902 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23904 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23906 * ses.el (ses-unload-function):
23907 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23909 * proced.el (proced-unload-function):
23910 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23912 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23914 * server.el (server-create-window-system-frame): Add parameters arg.
23915 (server-process-filter): Doc fix. Handle frame-parameters.
23917 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23919 Fix bug#8730, bug#8781.
23921 * loadhist.el (unload--set-major-mode): New function.
23922 (unload-feature): Use it.
23924 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23925 (python-unload-function): New function.
23927 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23929 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23931 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23933 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23934 the candidates list.
23936 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23938 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23940 2011-06-23 Richard Stallman <rms@gnu.org>
23942 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23943 (rmail-variables): Set next-error-move-function.
23944 (rmail-what-message): Take argument POS.
23945 (rmail-next-error-move): New function.
23947 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23949 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23950 messages for adjacent non-terminals.
23952 2011-06-23 Richard Stallman <rms@gnu.org>
23954 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23955 (rmail-show-message-1): Preserve buffer modified flag.
23956 (rmail-start-mail): Don't specify use of rmail-mail-return;
23957 that's done by mail-bury now.
23958 (rmail-mail-return): Handle arg NEWBUF.
23960 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23962 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23965 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23967 * window.el (get-lru-window, get-mru-window)
23968 (get-largest-window): Never return a minibuffer window.
23969 (display-buffer-pop-up-window): Fix a bug that could lead to
23970 reusing the minibuffer window.
23971 (display-buffer): Pass original specifier argument to
23972 display-buffer-function instead of the normalized one.
23973 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23975 2011-06-22 Leo Liu <sdl.web@gmail.com>
23977 * minibuffer.el (completing-read-function)
23978 (completing-read-default): Move from minibuf.c.
23980 2011-06-22 Richard Stallman <rms@gnu.org>
23982 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23983 to Rmail even if not started by a special Rmail command.
23985 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23986 Copy the buffer currently showing just one message.
23988 2011-06-22 Roland Winkler <winkler@gnu.org>
23990 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23991 (bibtex-clean-entry): First delete the old key so that a
23992 customized algorithm for generating the new key does not get
23993 confused by the old key.
23994 (bibtex-url): Obey regexp of first step.
23995 (bibtex-search-entries): Do not use add-to-list with local
23998 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24000 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
24001 stored a user name, then query for the password first, instead of
24002 waiting for SMTP to give an error message and the trying again.
24004 2011-06-22 Lawrence Mitchell <wence@gmx.li>
24006 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
24007 BUFFER in call-process.
24009 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
24011 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
24013 (smtpmail-try-auth-methods): Require user name and password from
24016 2011-06-22 Martin Rudalics <rudalics@gmx.at>
24018 * window.el (display-buffer-default-specifiers)
24019 (display-buffer-alist): Remove entries for pop-up-frame-alist.
24020 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
24021 (split-window): Normalize SIDE argument (Bug#8916).
24023 * frame.el (pop-up-frame-alist, pop-up-frame-function)
24024 (special-display-frame-alist, special-display-popup-frame):
24025 Remove duplicate declarations. These are now in window.el.
24027 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24029 * mail/smtpmail.el (smtpmail-via-smtp):
24030 Set :use-starttls-if-possible so that we always use STARTTLS if the
24031 server supports it. SMTP servers that support STARTTLS commonly
24034 * net/network-stream.el (network-stream-open-starttls): Support
24035 upgrading to STARTTLS always, even if we don't have built-in support.
24036 (open-network-stream): Add the :always-query-capabilities keyword.
24038 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
24039 upgrades with `open-network-stream', and rely solely on
24040 auth-source for all credentials. Big changes throughout the file,
24042 (smtpmail-auth-credentials): Remove.
24043 (smtpmail-starttls-credentials): Remove.
24044 (smtpmail-via-smtp): Check for servers saying they want AUTH after
24047 * net/network-stream.el (network-stream-open-starttls):
24048 Provide support for client certificates both for external and built-in
24050 (auth-source): Require.
24051 (open-network-stream): Document the :client-certificate keyword.
24052 (network-stream-certificate): Change cert-cert to cert and
24055 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
24057 * net/tramp-cache.el (top): Don't load the persistency file when
24058 "emacs -Q" has been called.
24060 2011-06-21 Tim Harper <timcharper@gmail.com>
24062 * term/ns-win.el (ns-initialize-window-system):
24063 Set application-specific `ApplePressAndHoldEnabled' system
24064 resource to NO as it is not yet supported by the NS port.
24066 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
24068 * misc.el (list-dynamic-libraries--refresh): Compute header here...
24069 (list-dynamic-libraries): ...not here.
24071 2011-06-21 Leo Liu <sdl.web@gmail.com>
24073 * subr.el (sha1): Implement sha1 using secure-hash.
24075 2011-06-21 Martin Rudalics <rudalics@gmx.at>
24077 * window.el (display-buffer-alist): In default value do not
24078 enforce searching a window on any but the selected frame.
24079 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24080 (display-buffer-select-window): Remove function.
24081 (display-buffer-in-window): When a window on another frame gets
24082 reused, do not select it any more but just raise its frame if
24083 necessary (Bug#8851) and (Bug#8856).
24084 (display-buffer-normalize-options): Handle pop-up-frames related
24085 options more faithfully.
24086 (pop-to-buffer): Don't rely on `display-buffer' selecting the
24087 window if it is on another frame.
24088 (display-buffer-alist, display-buffer-default-specifiers):
24089 Don't make new frame unsplittable by default.
24090 (display-buffer-normalize-argument): Fix doc-string typo and use
24091 'same-frame-other-window instead of 'other-window when associating
24092 with display-buffer-macro-specifiers.
24094 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
24096 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24098 (5x5-mode-map, 5x5-mode-menu): Bind them.
24099 (5x5-draw-grid): Tweak the solver's rendering.
24101 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24103 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24104 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24106 2011-06-21 Drew Adams <drew.adams@oracle.com>
24108 * menu-bar.el: Use function variable instead of switch-to-buffer.
24109 (menu-bar-select-buffer-function): New variable.
24110 (menu-bar-update-buffers): Use it (bug#8876).
24112 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
24114 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24117 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
24119 * x-dnd.el (x-dnd-version-from-flags)
24120 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24121 and long as number (Bug#8899).
24122 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24124 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
24126 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24127 (completion-try-completion, completion-all-completions): Compute the
24128 metadata argument if it's missing; make it optional (bug#8795).
24130 * wid-edit.el: Use lex-bind and move towards completion-at-point.
24131 (widget-complete): Use new :completion-function property.
24132 (widget-completions-at-point): New function.
24133 (default): Use :completion-function instead of :complete.
24134 (widget-default-completions): Rename from widget-default-complete;
24136 (widget-string-complete, widget-file-complete, widget-color-complete):
24138 (file, symbol, function, variable, coding-system, color):
24139 * international/mule-cmds.el (default-input-method, charset)
24140 (language-info-custom-alist):
24141 * cus-edit.el (face): Use new property :completions.
24143 * progmodes/pascal.el (pascal-completions-at-point): New function.
24144 (pascal-mode): Use it.
24145 (pascal-mode-map): Use completion-at-point.
24146 (pascal-toggle-completions): Make obsolete.
24147 (pascal-complete-word, pascal-show-completions):
24148 * progmodes/octave-mod.el (octave-complete-symbol):
24149 Redefine as obsolete alias.
24150 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24151 Signal absence of completion info for old Octave,
24152 (inferior-octave-complete): Redefine as obsolete alias.
24153 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24154 (meta-completions-at-point): Rename from meta-complete-symbol and
24155 adapt it for use on completion-at-point-functions.
24156 (meta-common-mode): Use it.
24157 (meta-looking-at-backward, meta-match-buffer): Remove.
24158 (meta-complete-symbol): Redefine as obsolete alias.
24159 (meta-common-mode-map): Use completion-at-point.
24160 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24161 (makefile-mode-map): Use completion-at-point.
24162 (makefile-completions-at-point): Rename from makefile-complete and
24163 adapt it for use on completion-at-point-functions.
24164 (makefile-mode): Use it.
24165 (makefile-complete): Redefine as obsolete alias.
24167 2011-06-20 Deniz Dogan <deniz@dogan.se>
24169 * net/rcirc.el: Delete trailing whitespaces once and for all.
24171 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
24173 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24175 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
24177 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24179 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24181 2011-06-19 Martin Rudalics <rudalics@gmx.at>
24183 * window.el (display-buffer-other-window-means-other-frame):
24184 Call display-buffer-normalize-alist.
24185 (display-buffer-normalize-specifiers-1): Rename to
24186 display-buffer-normalize-argument. New argument other-frame.
24188 (display-buffer-normalize-specifiers-2): Rename to
24189 display-buffer-normalize-options.
24190 (display-buffer-normalize-alist-1): New function.
24191 (display-buffer-normalize-specifiers-3): Rename to
24192 display-buffer-normalize-alist.
24193 Call display-buffer-normalize-alist-1.
24194 (display-buffer-normalize-options-inhibit): New variable.
24195 (display-buffer-normalize-specifiers): Rewrite calling
24196 display-buffer-normalize-alist,
24197 display-buffer-normalize-argument, and
24198 display-buffer-normalize-options. Don't call the latter if
24199 display-buffer-normalize-options-inhibit is non-nil.
24200 (frame-auto-delete): New option.
24201 (window-deletable-p): Use frame-auto-delete.
24202 (window-list-no-nils, window-state-ignored-parameters)
24203 (window-state-get-1, window-state-get, window-state-put-list)
24204 (window-state-put-1, window-state-put-2, window-state-put):
24206 (display-buffer-normalize-options): Move special-display-p group
24207 after pop-up-frame group (Bug#8851) and (Bug#8856).
24209 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
24211 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24213 (rx-submatch-n): New function.
24216 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24219 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24221 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24223 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24224 anytime existing face settings are present (Bug#8889).
24226 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24227 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24228 Remove unused argument.
24230 2011-06-18 Martin Rudalics <rudalics@gmx.at>
24232 * window.el (display-buffer-default-specifiers):
24233 Remove pop-up-frame. Add pop-up-window-min-height,
24234 pop-up-window-min-width, and another reuse-window specifier
24235 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
24236 (display-buffer-normalize-specifiers-2):
24237 Handle split-height-threshold and split-width-threshold also when
24238 pop-up-windows is unset. Add a reuse-window specifier for the
24239 case popping up a new window fails.
24240 (special-display-popup-frame): Remove double quoting.
24241 (display-buffer-normalize-specifiers-1): Fix thinko.
24243 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
24245 * shell.el (shell-completion-vars): Set pcomplete-termination-string
24246 according to comint-completion-addsuffix.
24248 * pcomplete.el: Convert to lexical binding and fix bug#8819.
24249 (pcomplete-suffix-list): Mark as obsolete.
24250 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24251 pcomplete-seen in the closure.
24252 (pcomplete-comint-setup): Setup completion-at-point as well.
24253 (pcomplete--entries): New function.
24254 (pcomplete--env-regexp): New var.
24255 (pcomplete-entries): Rewrite to work with partial-completion and
24256 without relying on pcomplete-suffix-list.
24257 (pcomplete-pare-list): Remove, unused.
24259 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24261 * window.el (display-buffer-alist): Set pop-up-window-min-height
24262 and pop-up-window-min-width in default value. Reported by
24263 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
24264 other-window-means-other-frame.
24265 (display-buffer-macro-specifiers): Comment out entry for
24266 other-window specifier.
24267 (display-buffer-other-window-means-other-frame): New function.
24268 (display-buffer-normalize-specifiers-1): New arguments
24269 buffer-name and label. Treat other-window case specially.
24270 (display-buffer-normalize-specifiers-2): Treat other-window case
24272 (display-buffer-normalize-specifiers-3): New function.
24273 (display-buffer-normalize-specifiers):
24274 Call display-buffer-normalize-specifiers-3.
24276 2011-06-17 Martin Rudalics <rudalics@gmx.at>
24278 * window.el (same-window-p): Fix two typos introduced when
24279 adding with-no-warnings.
24280 (display-buffer-normalize-specifiers-1): Don't check
24281 pop-up-frames for 'unset initialization.
24282 (display-buffer-normalize-specifiers-2): Major rewrite using
24283 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24284 (pop-up-frames, display-buffer-reuse-frames)
24285 (display-buffer-mark-dedicated): Don't initialize to 'unset.
24286 Suggested by David Engster <deng@randomsample.de>.
24287 (even-window-heights): Initialize to 'unset.
24288 (display-buffer-alist-set): Handle new 'unset initializations.
24289 (display-buffer-macro-specifiers): Don't pop up a new frame in the
24292 2011-06-16 Martin Rudalics <rudalics@gmx.at>
24294 * window.el (display-buffer-normalize-specifiers-1):
24295 Respect current value of pop-up-frames for most reasonable values of
24296 second argument of display-buffer (Bug#8865).
24297 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24298 (switch-to-buffer-other-window-same-frame)
24299 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
24301 (display-buffer): Don't check noninteractive when calling
24302 display-buffer-pop-up-frame.
24303 (display-buffer-pop-up-frame): Never pop up a frame in
24304 noninteractive mode (Bug#8857).
24305 (enlarge-window, shrink-window): Don't report an error when the
24306 window can't be resized as requested (Bug#8862).
24308 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24310 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24312 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24314 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24316 2011-06-15 Alan Mackenzie <acm@muc.de>
24318 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24319 for declarators, disable knr checking to speed up for normal files.
24320 2: Refactor, replacing a sequence of nested if forms by a cond form.
24322 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
24324 * net/network-stream.el (open-network-stream): Add the keyword
24325 :always-query-capabilities for the case where you want to force a
24326 `plain' network connection, but the protocol still requires the
24327 capabilitiy command (i.e., SMTP and EHLO).
24329 * subr.el (process-live-p): Rename from `process-alive-p' for
24330 consistency with other `-live-p' functions.
24332 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
24334 * window.el (same-window-buffer-names, same-window-regexps)
24335 (special-display-frame-alist, special-display-popup-frame)
24336 (special-display-function, special-display-buffer-names)
24337 (special-display-regexps, pop-up-frame-alist)
24338 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24339 (pop-up-windows, split-window-preferred-function)
24340 (split-height-threshold, split-width-threshold, even-window-heights)
24341 (display-buffer-mark-dedicated): Don't encourage the use of
24342 display-buffer-alist from Elisp code.
24344 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
24346 * progmodes/python.el (python-mode): Derive from prog-mode.
24347 * progmodes/ps-mode.el (ps-mode):
24348 * progmodes/mixal-mode.el (mixal-mode):
24349 * progmodes/cfengine.el (cfengine-mode):
24350 * progmodes/ld-script.el (ld-script-mode): Likewise.
24352 2011-06-15 Martin Rudalics <rudalics@gmx.at>
24354 * window.el (display-buffer-alist): Trim default value to avoid
24355 popping up a new frame (Bug#8857) or reusing an arbitrary window
24357 (display-buffer): Do not fall back on popping up a new frame in
24358 batch mode (Bug#8857).
24360 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
24362 * cus-theme.el (describe-theme-1): Use custom-theme-p.
24363 (custom-theme-summary): New function.
24364 (customize-themes): Use it.
24366 2011-06-13 Glenn Morris <rgm@gnu.org>
24368 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24370 2011-06-13 Martin Rudalics <rudalics@gmx.at>
24372 * help.el (help-window): Remove variable.
24373 (help-window-point-marker, temp-buffer-max-height)
24374 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24375 (help-print-return-message): Don't set help-window.
24376 (resize-temp-buffer-window): Rewrite cod eand doc-string.
24377 (help-window-setup-finish): Remove.
24378 (help-window-display-message, help-window-setup)
24379 (with-help-window): Major rewrite based on new
24380 display-buffer-window variable.
24382 * help-mode.el (help-mode-finish): Remove help-window related
24385 * view.el (view-exits-all-viewing-windows): Remove reference to
24386 view-return-to-alist in doc-string.
24387 (view-return-to-alist): Make obsolete.
24388 (view-buffer): Call pop-to-buffer-same-window and remove
24390 (view-buffer-other-window): Call pop-to-buffer-other-window and
24391 simplify code. Ignore second argument.
24392 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24393 simplify code. Ignore second argument.
24394 (view-return-to-alist-update): Make obsolete.
24395 (view-mode-enter): Rename second argument to QUIT-RESTORE.
24396 Rewrite using quit-restore window parameters.
24397 (view-mode-exit): Rename second argument to EXIT-ONLY.
24398 Rewrite using quit-restore-window.
24399 (View-exit, View-exit-and-edit, View-leave, View-quit)
24400 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24401 appropriate arguments.
24402 (view-end-message): Use quit-restore window parameter.
24404 * window.el (display-buffer-function): Rewrite doc-string.
24405 (display-buffer-window, display-buffer-alist): New variables.
24406 (display-buffer-split-specifiers)
24407 (display-buffer-side-specifiers)
24408 (display-buffer-macro-specifiers): New constants.
24409 (display-buffer-even-window-sizes, display-buffer-set-height)
24410 (display-buffer-set-width, display-buffer-select-window)
24411 (display-buffer-in-window, display-buffer-reuse-window)
24412 (display-buffer-split-window-1, display-buffer-split-window)
24413 (display-buffer-split-atom-window, display-buffer-pop-up-window)
24414 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24415 (display-buffer-in-side-window, normalize-buffer-to-display)
24416 (display-buffer-normalize-specifiers-1)
24417 (display-buffer-normalize-specifiers-2)
24418 (display-buffer-normalize-specifiers, display-buffer-frame):
24420 (display-buffer): Major rewrite.
24421 (display-buffer-other-window, display-buffer-other-frame)
24422 (pop-to-buffer, switch-to-buffer-other-window)
24423 (switch-to-buffer-other-frame): Rewrite.
24424 (display-buffer-same-window, display-buffer-same-frame)
24425 (display-buffer-same-frame-other-window)
24426 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24427 (pop-to-buffer-other-window)
24428 (pop-to-buffer-same-frame-other-window)
24429 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24430 (switch-to-buffer-other-window-same-frame): New functions.
24431 (same-window-p, special-display-p): Rewrite disabling warnings.
24433 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24434 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24436 (same-window-buffer-names, same-window-regexps)
24437 (special-display-frame-alist, special-display-popup-frame)
24438 (special-display-function, special-display-buffer-names)
24439 (special-display-regexps, pop-up-frame-alist)
24440 (pop-up-frame-function, split-window-preferred-function)
24441 (split-height-threshold, split-width-threshold)
24442 (even-window-heights): Make obsolete.
24444 2011-06-12 Glenn Morris <rgm@gnu.org>
24446 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
24447 Misc simplifications.
24449 2011-06-12 Martin Rudalics <rudalics@gmx.at>
24451 * window.el (window-safely-shrinkable-p): Restore function which
24452 was inadvertently removed in change from 2011-06-11. Declare as
24455 * calendar/calendar.el (calendar-generate-window):
24456 Use window-iso-combined-p instead of combination of one-window-p and
24457 window-safely-shrinkable-p.
24459 2011-06-12 Glenn Morris <rgm@gnu.org>
24461 * progmodes/fortran.el (fortran-mode-syntax-table):
24462 * progmodes/f90.el (f90-mode-syntax-table):
24463 Set % to punctuation. (Bug#8820)
24464 (f90-find-tag-default): Remove, no longer needed.
24466 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
24468 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24470 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24472 * image.el (image-animated-p): Return animation delay in seconds.
24473 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24474 (image-animate-timeout): Remove DELAY argument. Don't assume
24475 every subimage has the same delay; get it from image-animated-p.
24476 (image-animate): Caller changed.
24478 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24480 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24481 to ignored backtrace functions.
24483 2011-06-11 Glenn Morris <rgm@gnu.org>
24485 * calendar/appt.el (appt-disp-window-function): Doc fix.
24486 (appt-check): Handle overlapping appointments. (Bug#8337)
24488 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24490 * window.el (window-tree-1, window-tree): New functions, moving
24491 the latter to window.el.
24492 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24493 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24494 (bw-refresh-edges): Remove.
24495 (balance-windows-1, balance-windows-2): New functions.
24496 (balance-windows): Rewrite in terms of window tree functions,
24497 balance-windows-1 and balance-windows-2.
24498 (bw-adjust-window): Remove.
24499 (balance-windows-area-adjust): New function with functionality of
24500 bw-adjust-window but using resize-window.
24501 (set-window-text-height): Rewrite doc-string.
24502 Use normalize-live-window and resize-window.
24503 (enlarge-window-horizontally, shrink-window-horizontally):
24504 Rename argument to DELTA.
24505 (window-buffer-height): New function.
24506 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24507 Rewrite using new window resize routines.
24508 (kill-buffer-and-window, mouse-autoselect-window-select):
24509 Use ignore-errors instead of condition-case.
24510 (quit-window): Call delete-frame instead of delete-windows-on
24511 for the only buffer on frame.
24513 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24515 * loadup.el (top-level): Load window before files for the sake
24516 of replace-buffer-in-windows.
24518 * files.el (read-buffer-to-switch)
24519 (switch-to-buffer-other-window)
24520 (switch-to-buffer-other-frame, display-buffer-other-frame):
24523 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24524 (previous-buffer): Move to window.el.
24526 * bindings.el (unbury-buffer): Move to window.el.
24528 * window.el (delete-other-windows-vertically): Move after
24529 definition of delete-other-windows.
24530 (other-window, delete-windows-on, replace-buffer-in-windows):
24531 Move here from window.c.
24532 (record-window-buffer, unrecord-window-buffer)
24533 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24534 (switch-to-next-buffer): New functions.
24535 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24536 from simple.el. Call switch-to-next-buffer.
24537 (previous-buffer): Move here from simple.el.
24538 Call switch-to-prev-buffer.
24539 (bury-buffer): Move here from buffer.c. Switch to previous
24540 buffer when window cannot be deleted.
24541 (unbury-buffer): Move here from bindings.el.
24542 (ctl-x-map): Move binding for other-window from window.c to
24544 (read-buffer-to-switch, switch-to-buffer-other-window)
24545 (switch-to-buffer-other-frame): Move here from files.el.
24546 (normalize-buffer-to-switch-to): New functions.
24547 (switch-to-buffer): Move here from buffer.c.
24548 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24550 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24552 * window.el (window-min-height, window-min-width): Move here
24553 from window.c. Add defcustoms and rewrite doc-strings.
24554 (resize-mini-window, resize-window): New functions.
24555 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24556 Move here from window.c.
24557 (maximize-window, minimize-window): New functions.
24558 (delete-window, delete-other-windows, split-window): Move here
24560 (window-split-min-size): New function.
24561 (split-window-keep-point): Mention split-window-above-each-other
24562 instead of split-window-vertically.
24563 (split-window-above-each-other, split-window-vertically):
24564 Rename split-window-vertically to split-window-above-each-other
24565 and provide defalias for old definition.
24566 (split-window-side-by-side, split-window-horizontally):
24567 Rename split-window-horizontally to split-window-side-by-side
24568 and provide defalias for the old definition.
24569 (ctl-x-map): Move bindings for delete-window,
24570 delete-other-windows and enlarge-window here from window.c.
24571 Replace bindings for split-window-vertically and
24572 split-window-horizontally by bindings for
24573 split-window-above-each-other and split-window-side-by-side.
24575 * cus-start.el (all): Remove entries for window-min-height and
24576 window-min-width. Add entries for window-splits and
24579 2011-06-09 Glenn Morris <rgm@gnu.org>
24581 * calendar/appt.el (appt-mode-line): New function.
24582 (appt-check, appt-disp-window): Use it.
24584 * files.el (hack-one-local-variable-eval-safep):
24585 Allow minor-modes with explicit +/-1 arguments.
24587 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24589 * term/xterm.el (xterm): Add defgroup.
24590 (xterm-extra-capabilities): Add defcustom to supply known xterm
24591 capabilities, skip querying them, or query them (default).
24592 (terminal-init-xterm): Use it.
24593 (terminal-init-xterm-modify-other-keys): New function to set up
24594 modifyOtherKeys support to simplify `terminal-init-xterm'.
24596 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24598 * window.el (resize-window-reset, resize-window-reset-1)
24599 (resize-subwindows-skip-p, resize-subwindows-normal)
24600 (resize-subwindows, resize-other-windows, resize-this-window)
24601 (resize-root-window, resize-root-window-vertically)
24602 (window-deletable-p, window-or-subwindow-p)
24603 (frame-root-window-p): New functions.
24605 2011-06-09 Glenn Morris <rgm@gnu.org>
24607 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24608 (ange-ftp-get-files): Use it.
24610 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24612 * mail/sendmail.el (mail-recover-1, mail-recover):
24613 * files.el (recover-file, recover-session):
24614 Handle dired-listing-switches not being just a single short option.
24616 2011-06-09 Glenn Morris <rgm@gnu.org>
24618 * calendar/appt.el (appt-display-message, appt-disp-window):
24619 Handle lists of appointments.
24621 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24623 * window.el (one-window-p): Move down in code.
24624 Rewrite doc-string.
24625 (window-current-scroll-bars): Rewrite doc-string.
24626 Normalize live window argument.
24627 (walk-windows, get-window-with-predicate, count-windows):
24628 Rewrite doc-string. Use window-list-1.
24629 (window-in-direction-2, window-in-direction, get-mru-window):
24632 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24634 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24635 Doc fix (Bug#8713).
24637 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24639 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24641 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24643 * loadhist.el (unload-feature-special-hooks):
24644 Add `comint-output-filter-functions'.
24646 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24648 * calendar/appt.el (appt-check): Move some initializations into the let.
24650 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24652 * window.el (window-height): Defalias to window-total-height.
24653 (window-width): Defalias to window-body-width.
24655 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24657 * image-mode.el (image-toggle-animation): New command.
24658 (image-mode-map): Bind it to RET.
24659 (image-mode): Update message.
24660 (image-toggle-display-image): Avoid a spurious cache flush.
24661 (image-transform-rotation): Doc fix.
24662 (image-transform-properties): Return quickly in the normal case.
24663 (image-animate-loop): Rename from image-animate-max-time.
24665 * image.el (image-animate-max-time): Move to image-mode.el.
24666 (create-animated-image): Remove unnecessary function.
24667 (image-animate): Rename from image-animate-start. New arg.
24668 (image-animate-stop): Remove; just use image-animate-timer.
24669 (image-animate-timer): Use car-safe.
24670 (image-animate-timeout): Rename argument.
24672 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24674 * window.el (get-lru-window, get-largest-window): Move here from
24675 window.c. Rename first argument to ALL-FRAMES.
24676 Rephrase doc-strings.
24677 (get-buffer-window-list): Rewrite using window-list-1.
24678 Rephrase doc-string.
24679 (window-safe-min-height, window-safe-min-width): New constants.
24680 (window-size-ignore, window-min-size, window-min-size-1)
24681 (window-sizable, window-sizable-p, window-size-fixed-1)
24682 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24683 (window-max-delta-1, window-max-delta, window-resizable)
24684 (window-resizable-p, window-total-height, window-total-width)
24685 (window-body-width): New functions.
24686 (window-full-height-p, window-full-width-p): Rewrite using
24688 (window-body-height): Rewrite using window-body-size.
24690 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24692 * window.el (window-right, window-left, window-child)
24693 (window-child-count, window-last-child, window-any-p)
24694 (normalize-live-buffer, normalize-live-frame)
24695 (normalize-any-window, normalize-live-window)
24696 (window-iso-combination-p, window-iso-combined-p)
24697 (window-iso-combinations)
24698 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24699 (windows-with-parameter, window-with-parameter)
24700 (window-atom-root, make-window-atom, window-atom-check-1)
24701 (window-atom-check, window-side-check, window-check):
24703 (ignore-window-parameters, window-sides, window-sides-vertical)
24704 (window-sides-slots): New variables.
24705 (window-size-fixed): Move down in code. Minor doc-string fix.
24707 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24709 * comint.el (comint-dynamic-complete-as-filename)
24710 (comint-dynamic-complete-filename): Correctly call
24711 completion-in-region.
24713 2011-06-05 Deniz Dogan <deniz@dogan.se>
24715 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24718 2011-06-05 Deniz Dogan <deniz@dogan.se>
24720 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24721 (rcirc): Use it to prompt for encryption.
24723 2011-06-05 Roland Winkler <winkler@gnu.org>
24725 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24726 (bibtex-search-entries): New command bound to C-c C-a.
24727 (bibtex-display-entries): New function.
24729 2011-06-05 Roland Winkler <winkler@gnu.org>
24731 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24732 (bibtex-insert-kill): After yanking insert newline if necessary.
24733 (bibtex-initialize): Call bibtex-string-files-init only once.
24734 (bibtex-mode): Do not call easy-menu-add.
24735 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24736 (bibtex-yank): Set arg properly if nil.
24738 2011-06-05 Roland Winkler <winkler@gnu.org>
24740 * textmodes/bibtex.el (bibtex-search-entry-globally):
24742 (bibtex-search-entry): Use it.
24744 2011-06-05 Roland Winkler <winkler@gnu.org>
24746 * textmodes/bibtex.el (bibtex-entry-format): New option
24748 (bibtex-format-entry, bibtex-reformat): Honor this option.
24749 (bibtex-parse-entry): Return fields in proper order.
24751 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24753 * doc-view.el (doc-view-remove-if): Move computation of result out
24754 of `dolist' to silence misleading lexical-binding warning.
24756 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24758 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24759 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24761 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24763 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24766 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24768 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24769 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24770 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24771 (tramp-parse-putty):
24772 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24773 (tramp-completion-function-alist-ssh)
24774 (tramp-completion-function-alist-telnet)
24775 (tramp-completion-function-alist-su)
24776 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24779 * net/tramp-ftp.el:
24781 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24782 load "tramp.el" `tramp-set-completion-function'.
24784 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24786 * shell.el: Require and use pcomplete.
24787 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24788 (shell-completion-vars): Set pcomplete-default-completion-function.
24790 2011-06-04 Deniz Dogan <deniz@dogan.se>
24792 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24795 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24797 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24799 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24801 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24802 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24803 * vc/log-view.el (log-view-beginning-of-defun):
24804 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24805 (smerge-refine-forward, smerge-refine-chopup-region):
24806 Silence warning for unused `dotimes' counter variables.
24808 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24810 * net/tramp.el (tramp-with-progress-reporter): Rename from
24811 with-progress-reporter. Use `declare'.
24812 * net/tramp-smb.el:
24814 * net/tramp-gvfs.el: Update all uses.
24816 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24818 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24819 buffer isn't killed before making it current.
24821 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24823 Silence various byte-compiler warnings.
24824 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24825 `access-type' and new obsolescence format.
24826 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24828 (byte-compile-check-variable): New `access-type' argument.
24829 Only warn if the access-type is obsolete.
24830 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24831 (byte-compile-variable-set): Adjust callers.
24832 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24833 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24834 setting it as obsolete.
24835 * simple.el (minibuffer-completing-symbol):
24836 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24837 access as obsolete.
24838 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24840 * international/quail.el (quail-mouse-choose-completion): Remove unused
24841 code referring to obsolete var.
24842 (quail-choose-completion-string): Remove.
24843 * server.el (server-clients-with, server-kill-buffer-query-function)
24844 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24845 * proced.el (proced-send-signal):
24846 * emacs-lisp/lisp.el (lisp-complete-symbol):
24847 Replace completion-annotate-function with completion-extra-properties.
24849 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24851 * simple.el (goto-line): Use read-number.
24852 (overriding-map-is-bound): Remove.
24853 (saved-overriding-map): Change default.
24854 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24855 Take the map as argument.
24856 (universal-argument, negative-argument, digit-argument): Use it.
24857 (restore-overriding-map): Adjust.
24858 (do-auto-fill): Use fill-forward-paragraph.
24859 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24861 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24862 (minibuffer-inactive-mode): New major mode.
24863 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24864 the *Messages* buffer" hack.
24865 (mouse-popup-menubar): Don't burp if the event is a normal key.
24867 Miscellaneous tweaks.
24868 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24869 lexical scoping as in subr.el's dolist and dotimes.
24870 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24871 Silence compiler warning.
24872 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24873 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24874 * international/ccl.el (ccl-compile): Trivial simplification.
24875 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24876 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24877 `printflag' argument.
24878 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24879 Purecopy the whole obsolescence data.
24881 2011-06-01 Leo Liu <sdl.web@gmail.com>
24883 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24884 improve doc-string as suggested by Marco Pessotto
24885 <melmothx@gmail.com>.
24886 (rcirc-print): Fix last change.
24888 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24890 * minibuffer.el (complete-with-action): Return nil for the metadata and
24891 boundaries of non-functional tables.
24892 (completion-table-dynamic): Return nil for the metadata.
24893 (completion-table-with-terminator): Add default case, using
24894 complete-with-action.
24895 (completion--metadata): New function.
24896 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24897 to try and avoid pathological performance problems.
24898 (completion--embedded-envvar-table): Return `category' metadata.
24900 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24902 * subr.el (process-alive-p): New tiny convenience function.
24904 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24906 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24907 content but also its previous major mode.
24909 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24911 * emacs-lisp/debug.el (debug): Restore the previous content of the
24912 *Backtrace* buffer when we exit with C-M-c.
24914 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24916 * minibuffer.el: Add metadata method to completion tables.
24917 (completion-category-overrides): New defcustom.
24918 (completion-metadata, completion--field-metadata)
24919 (completion-metadata-get, completion--styles)
24920 (completion--cycle-threshold): New functions.
24921 (completion-try-completion, completion-all-completions):
24922 Add `metadata' argument to choose completion-styles.
24923 (completion--do-completion): Use metadata to choose cycling.
24924 (completion-all-sorted-completions): Use metadata for sorting.
24925 Remove :completion-cycle-penalty which is not needed any more.
24926 (completion--try-word-completion): Add `metadata' argument.
24927 (minibuffer-completion-help): Check metadata for annotation function
24929 (completion-file-name-table): Return `category' metadata.
24930 (minibuffer-completing-file-name): Make obsolete.
24931 * simple.el (minibuffer-completing-symbol): Make obsolete.
24932 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24933 completion-try-completion.
24935 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24937 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24939 2011-05-30 Leo Liu <sdl.web@gmail.com>
24941 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24942 (rcirc-print): Decode all incoming messages (bug#8744).
24943 (rcirc-decode-coding-system): Allow value nil for automatic coding
24946 2011-06-01 Glenn Morris <rgm@gnu.org>
24948 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24950 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24952 * image.el (image-animate-max-time): Allow nil and t values.
24954 (create-animated-image): Doc fix.
24955 (image-animate-start): Remove second arg; just use
24956 image-animate-max-time.
24957 (image-animate-timeout): Doc fix. Args changed.
24959 * image-mode.el (image-toggle-display-image): Ensure that the
24960 image spec passed to the animate timer is the same object as in
24961 the buffer's display property (Bug#6981).
24962 (image-transform-properties): Doc fix.
24964 * image.el (image-animate-max-time): Default to nil.
24966 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24968 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24969 entire buffer list (Bug#8184).
24971 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24973 * image.el (imagemagick-types-inhibit)
24974 (imagemagick-register-types): Doc fix.
24976 2011-05-29 Deniz Dogan <deniz@dogan.se>
24978 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24981 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24983 * select.el: Don't perform clipboard-manager saving in hooks;
24984 leave the hooks empty.
24986 2011-05-28 Leo Liu <sdl.web@gmail.com>
24988 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24989 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24990 (occur-edit-mode): New major mode (Bug#8463).
24991 (occur-after-change-function): New function.
24992 (occur-engine): Give Occur tags a read-only property.
24994 2011-05-28 Kevin Ryde <user42@zip.com.au>
24996 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24998 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25000 * bindings.el (help-echo): Make the initial non-indicator dash
25001 empty on graphical terminals (Bug#7295).
25003 * files.el (auto-mode-alist): Move config rule after the
25004 in-stripping one (Bug#8547).
25006 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
25008 * startup.el (normal-splash-screen): Remove gratuitous mode-line
25009 setting (Bug#8740).
25011 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
25013 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
25014 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
25017 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25019 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
25021 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
25023 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
25024 (hs-hide-block-at-point, hs-find-block-beginning)
25025 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
25028 2011-05-28 Glenn Morris <rgm@gnu.org>
25030 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
25032 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
25034 * help-fns.el (describe-function-1): If the function is a derived
25035 major mode, print the parent mode.
25037 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
25038 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25040 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
25042 * minibuffer.el (completion--capf-wrapper): Check applicability before
25043 returning non-nil for non-exclusive completion data.
25044 * progmodes/etags.el (tags-completion-at-point-function):
25045 * info-look.el (info-lookup-completions-at-point): Mark as
25047 (info-complete): Adjust accordingly.
25049 * info-look.el: Convert to lexical-binding and completion-at-point.
25050 (info-lookup-completions-at-point): New function.
25051 (info-complete): Use it and completion-in-region.
25053 2011-05-28 Drew Adams <drew.adams@oracle.com>
25055 * isearch.el: Let M-e start with point at the first mismatched char.
25056 (isearch-fail-pos): New function.
25057 (isearch-edit-string): Use it.
25059 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25061 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25063 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
25065 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
25066 traversal functions for avl-trees.
25067 (avl-tree--stack): New struct.
25068 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25069 (avl-tree-enter): Add optional `updatefun' arg.
25070 (avl-tree--do-enter): Add optional `updatefun' arg.
25071 Change return value.
25072 (avl-tree-delete): Add optional `test' and `nilflag' args.
25073 (avl-tree--do-delete): Add `test' and `nilflag' args.
25074 Change return value.
25075 (avl-tree-member): Add optional `nilflag'
25076 (avl-tree-member-p): New function.
25077 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25078 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25079 (avl-tree-stack-empty-p): New functions.
25081 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25082 avl-tree--del-balance1 and make it work both ways.
25083 (avl-tree--del-balance2): Remove.
25084 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25085 make it work both ways.
25086 (avl-tree--enter-balance2): Remove.
25087 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25089 (avl-tree--mapc, avl-tree-map): Add direction argument.
25091 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
25093 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25095 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
25097 * select.el: Support clipboard managers with built-in function
25098 x-clipboard-manager-save, via delete-frame-functions and
25100 (xselect-convert-to-targets): Add MULTIPLE target to list.
25101 (xselect-convert-to-save-targets): New function.
25103 2011-05-27 Kenichi Handa <handa@m17n.org>
25105 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25106 let-binding rfc2047-encode-encoded-words to nil.
25108 2011-05-27 Glenn Morris <rgm@gnu.org>
25110 * mail/emacsbug.el: Don't require url-util.
25112 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
25114 * files.el (set-auto-mode):
25115 Also respect mode: entries at the end of the file. (Bug#8586)
25117 2011-05-26 Glenn Morris <rgm@gnu.org>
25119 * files.el (hack-local-variables-prop-line, hack-local-variables):
25120 Downcase mode names, as seems to be traditional.
25121 (hack-local-variables, hack-local-variables-apply): Doc fixes.
25123 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25124 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
25126 2011-05-25 Julien Danjou <julien@danjou.info>
25128 * textmodes/rst.el (rst-define-level-faces): Do not define face
25129 symbol if it is already defined.
25131 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
25133 * play/5x5.el (5x5-new-game, 5x5-randomize):
25134 Reset 5x5-solver-output to nil when a new grid is cast.
25135 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25136 these debugging traces, as defmacro breaks the compiled code.
25138 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
25140 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25142 2011-05-24 Leo Liu <sdl.web@gmail.com>
25144 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25145 (vc-bzr-sha1): Adapt.
25147 * sha1.el: Remove. Function `sha1' is now builtin.
25149 * bindings.el: Provide sha1 feature.
25151 2011-05-24 Kenichi Handa <handa@m17n.org>
25153 * mail/sendmail.el: Require `rfc2047'.
25154 (mail-insert-from-field): Do not perform RFC2047 encoding.
25155 (mail-encode-header): New function.
25156 (sendmail-send-it): Set buffer-file-coding-system of the work
25157 buffer to the return value of select-message-coding-system.
25158 Call mail-encode-header.
25160 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25162 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
25164 * mail/supercite.el (sc-default-cite-frame):
25165 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25167 2011-05-24 Glenn Morris <rgm@gnu.org>
25169 * progmodes/python.el (brm-menu): Declare.
25171 * emulation/viper.el (viper-set-hooks): Declare.
25173 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25174 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25175 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25176 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25177 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25178 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25180 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25182 Add an :exit-function for completion-at-point.
25184 * minibuffer.el (completion--done): New fun.
25185 (completion--do-completion): Use it. New arg `expect-exact'.
25186 (minibuffer-complete, minibuffer-complete-word): Don't output message,
25187 since completion--do-completion does it for us now.
25188 (minibuffer-force-complete): Use completion--done and
25189 completion--replace. Handle sole-completion case with more care.
25190 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25191 (completion-extra-properties): New var.
25192 (completion-annotate-function): Make obsolete.
25193 (minibuffer-completion-help): Adjust accordingly.
25194 Use completion-list-insert-choice-function.
25195 (completion-at-point, completion-help-at-point):
25196 Bind completion-extra-properties.
25197 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25198 * simple.el (completion-list-insert-choice-function): New var.
25199 (completion-setup-function): Preserve it.
25200 (choose-completion): Pay attention to it, shuffle the code a bit.
25201 (choose-completion-string): New arg `insert-function'.
25203 * textmodes/bibtex.el: Convert to lexical binding.
25204 (bibtex-mode-map): Use completion-at-point.
25205 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25206 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25207 (bibtex-complete): Define as obsolete alias.
25208 (bibtex-complete-internal): Remove.
25209 (bibtex-format-entry): Remove unused sub-group in regexp.
25210 * shell.el (shell--command-completion-data)
25211 (shell-environment-variable-completion):
25212 * pcomplete.el (pcomplete-completions-at-point):
25213 * comint.el (comint--complete-file-name-data): Use :exit-function
25214 instead of completion-table-with-terminator so it also works for
25217 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25219 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25221 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25224 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25226 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
25228 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25229 customization variable and implement: If non-nil, auto-fill will
25230 be inhibited while on topic's header line.
25232 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
25234 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25235 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
25236 always have a solution in grid size = 5 cases.
25237 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25238 (5x5-solver-output, 5x5-log-buffer): New vars.
25239 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25240 Make these variables buffer local to achieve 5x5 multi-session-ness.
25241 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25242 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25243 (5x5-solve-suggest): New funs.
25244 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25245 randomize a grid so that we ensure that there is always a solution.
25246 (5x5-make-random-grid): Allow other movement than flipping.
25248 2011-05-23 Kevin Ryde <user42@zip.com.au>
25250 * emacs-lisp/advice.el (ad-read-advised-function):
25251 Use `function-called-at-point' as the default, if it has
25252 advice and passes PREDICATE.
25254 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
25256 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25257 byte-compile-lambda if it's actually a lambda.
25259 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25260 Fix function quoting. Use backquote better.
25262 2011-05-22 Yuanle Song <sylecn@gmail.com>
25264 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25265 matching (Bug#8516).
25267 2011-05-22 Jari Aalto <jari.aalto@cante.net>
25269 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25270 different face (Bug#8178).
25272 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
25274 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25275 defface (Bug#8144).
25277 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
25279 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25280 funcall as well (bug#8712). Warn when performing those conversions.
25281 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25283 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25285 2011-05-22 Glenn Morris <rgm@gnu.org>
25287 * files.el (hack-local-variables-prop-line): Small simplifications.
25288 (hack-local-variables, hack-local-variables-prop-line):
25289 If MODE-ONLY, return the mode, rather than just `t'.
25291 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
25293 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25295 2011-05-21 Glenn Morris <rgm@gnu.org>
25297 * files.el (hack-local-variables-prop-line, hack-local-variables):
25298 If only interested in the mode, don't bother doing the other stuff.
25300 * image-mode.el (image-after-revert-hook):
25301 Redraw all frames on which the image is visible. (Bug#8567)
25303 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
25305 * wid-edit.el (widget-checklist-match-inline):
25306 Fix 2011-04-19 change. (Bug#8649)
25308 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
25310 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25311 Also allow singlespace after single-letter capitals followed by a dot.
25313 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25314 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25316 2011-05-20 Nix <nix@esperi.org.uk>
25318 * files.el (basic-save-buffer-2):
25319 Fix handling of break-hardlink-on-save with non-existent files.
25321 2011-05-19 Deniz Dogan <deniz@dogan.se>
25323 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25324 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25326 2011-05-19 Glenn Morris <rgm@gnu.org>
25328 * progmodes/f90.el (f90-type-def-re):
25329 Handle "type, bind(c)". (Bug#8691)
25331 * emacs-lisp/autoload.el (batch-update-autoloads):
25332 Set autoload-excludes by parsing loadup.el rather than Makefiles.
25334 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
25336 * net/tramp.el (tramp-process-actions): Set "first-password-request"
25337 property for the correct connection in case of multihops.
25339 2011-05-18 Glenn Morris <rgm@gnu.org>
25341 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25342 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25344 Rationalize calendar handling of day and month abbrev-arrays.
25345 * calendar/calendar.el (calendar-customized-p): New function.
25346 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25347 (calendar-day-name-array, calendar-month-name-array): Doc fix.
25349 (calendar-abbrev-length, calendar-day-abbrev-array)
25350 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25351 (calendar-day-abbrev-array, calendar-month-abbrev-array):
25352 Elements may no longer be nil.
25353 (calendar-day-name, calendar-month-name):
25354 Update for changed nature of abbrev arrays.
25355 * calendar/diary-lib.el (diary-name-pattern):
25356 Update for changed nature of abbrev arrays.
25357 (diary-mark-entries-1): Update calendar-make-alist calls.
25358 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25359 * calendar/cal-html.el (cal-html-day-abbrev-array):
25360 Simply inherit from calendar-day-abbrev-array.
25362 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25364 * progmodes/grep.el (grep-mode): Disable default
25365 compilation-directory-matcher setting (bug#8684).
25367 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
25369 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25370 instead of "head" and "tail". There were problems with SunOS 5.9,
25371 and it performs better.
25373 2011-05-17 Glenn Morris <rgm@gnu.org>
25375 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25377 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25378 Replace obsolete function.
25380 * shell.el (pcomplete-parse-arguments-function): Declare.
25382 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25383 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25384 (appt-check): Doc fixes.
25385 (appt-disp-window-function, appt-delete-window-function):
25386 Remove needless special case in custom :type.
25387 (appt-display-count): Default to 0, not nil.
25388 (appt-check): Reset appt-display-count to 0, not nil.
25390 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
25392 * progmodes/python.el (python-font-lock-keywords):
25393 Add the Python 3.X keyword "nonlocal" (bug#8639).
25395 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
25397 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25399 2011-05-16 Kevin Ryde <user42@zip.com.au>
25401 * info-look.el (makefile-automake-mode): New setups, looking in
25402 automake manual, then makefile-mode.
25403 (makefile-mode): Remove automake manual, have it just in
25404 makefile-automake-mode since there's various things different or
25405 not relevant to plain make.
25406 (makefile-mode): Remove "other-modes" non-existent automake-mode,
25407 believe a hypothetical automake-mode would go to makefile-mode,
25408 not the other way around.
25410 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
25412 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25413 hunk-end tags (Bug#8672).
25415 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25416 vc-annotate-show-diff-revision-at-line (Bug#8671).
25418 2011-05-14 Glenn Morris <rgm@gnu.org>
25420 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25421 in the middle of an existing one with multiple authors. (Bug#8645)
25422 (change-log-font-lock-keywords): Also handle multiple author lines
25423 with leading tabs. (Bug#8644)
25425 * calendar/appt.el (appt-check): Rename some local variables.
25426 Some simplification/reordering.
25428 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25429 (feedmail-sendmail-f-doesnt-sell-me-out)
25430 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25431 (feedmail-debug-sit-for, feedmail-queue-express-hook)
25432 (feedmail-queue-runner-message-sender): Set :version.
25433 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25434 (bbdb-dwim-net-address, vm-mail): Declare.
25435 (feedmail-binmail-gnulinuxish-template):
25436 Rename from feedmail-binmail-linuxish-template.
25437 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25438 Use insert-buffer-substring.
25440 2011-05-14 Bill Carpenter <bill@carpenter.org>
25442 * mail/feedmail.el (feedmail-patch-level): Increase.
25443 (feedmail-debug): New custom group.
25444 (feedmail-confirm-outgoing-timeout)
25445 (feedmail-sendmail-f-doesnt-sell-me-out)
25446 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25447 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25448 (feedmail-sender-line, feedmail-from-line)
25449 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25450 (feedmail-spray-this-address)
25451 (feedmail-spray-address-fiddle-plex-list)
25452 (feedmail-queue-use-send-time-for-date)
25453 (feedmail-queue-use-send-time-for-message-id)
25454 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25455 (feedmail-buffer-eating-function):
25457 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25458 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25459 (feedmail-message-action-scroll-down): New functions.
25460 (feedmail-queue-directory, feedmail-queue-draft-directory):
25461 Use expand-file-name.
25462 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25463 Remove C-v help entry.
25464 (feedmail-queue-buffer-file-name): New variable.
25465 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25466 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25467 (feedmail-message-action-send-strong, feedmail-message-action-edit)
25468 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25469 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25470 (feedmail-message-action-toggle-spray)
25471 (feedmail-run-the-queue-no-prompts)
25472 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25473 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25474 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25475 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25476 (feedmail-envelope-deducer, feedmail-fiddle-from)
25477 (feedmail-fiddle-sender, feedmail-default-date-generator)
25478 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25479 (feedmail-fiddle-spray-address)
25480 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25481 (feedmail-fiddle-list-of-fiddle-plexes)
25482 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25483 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25484 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25485 Change default. Doc fix.
25486 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25487 (feedmail-binmail-linuxish-template): New constant.
25488 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25489 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25490 (feedmail-send-it): Add debug call.
25491 Use feedmail-queue-buffer-file-name, and
25492 feedmail-send-it-immediately-wrapper.
25493 (feedmail-message-action-send): Add debug call.
25494 Use feedmail-send-it-immediately-wrapper.
25495 (feedmail-queue-express-to-queue): Add debug call.
25496 Run feedmail-queue-express-hook.
25497 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25498 (feedmail-message-action-help-blat):
25499 Rename from feedmail-queue-send-edit-prompt-help-first.
25500 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25501 Check line-endings. Handle errors better.
25502 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25503 Doc fix. Add debug call.
25504 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25505 Use feedmail-queue-send-edit-prompt-inner.
25506 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25507 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25508 from feedmail-queue-send-edit-prompt.
25509 (feedmail-queue-send-edit-prompt-help)
25510 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25511 (feedmail-tidy-up-slug): Add debug call.
25512 Respect feedmail-queue-slug-suspect-regexp.
25513 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25514 (feedmail-dump-message-to-queue): Add debug call.
25515 Expand queue-directory.
25516 (feedmail-dump-message-to-queue): Change message slightly.
25517 Use feedmail-say-chatter.
25518 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25519 (feedmail-send-it-immediately-wrapper): New function.
25520 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25521 Insert empty string rather than newline. Handle full-frame case.
25522 Use catch/throw. Use feedmail-say-chatter.
25523 (feedmail-fiddle-from): Try mail-host-address.
25524 (feedmail-default-message-id-generator): Doc fix.
25525 Bind system-time-locale. Handle missing end.
25526 (feedmail-fiddle-x-mailer): Add debug call.
25527 Handle feedmail-x-mailer-line being nil.
25528 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25529 Add debug call. Use buffer-substring-no-properties.
25530 (feedmail-say-debug, feedmail-say-chatter): New functions.
25531 (feedmail-find-eoh): Give an explicit error.
25533 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25535 * net/newst-treeview.el (newsticker-treeview-face): Change default
25536 family from helvetica to sans.
25537 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25538 etc/images/newsticker.
25540 * net/newst-reader.el (newsticker-feed-face): Change default
25541 family from helvetica to sans.
25543 * net/newst-plainview.el (newsticker-new-item-face)
25544 (newsticker-old-item-face, newsticker-immortal-item-face)
25545 (newsticker-obsolete-item-face, newsticker-date-face)
25546 (newsticker-statistics-face): Change default family from
25548 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25549 etc/images/newsticker.
25551 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25552 (newsticker--process-auto-mark-filter-match): Tell user about
25555 2011-05-13 Didier Verna <didier@xemacs.org>
25557 Common Lisp indentation improvements on defmethod and lambda-lists.
25558 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25560 (lisp-lambda-list-keyword-parameter-indentation)
25561 (lisp-lambda-list-keyword-parameter-alignment)
25562 (lisp-lambda-list-keyword-alignment): New customizable user options.
25563 (lisp-indent-defun-method): Improve docstring.
25564 (extended-loop-p): Fix comment.
25565 (lisp-indent-lambda-list-keywords-regexp): New variable.
25566 (lisp-indent-lambda-list): New function.
25567 (lisp-indent-259): Use it.
25568 (lisp-indent-defmethod): Support for more than one
25569 method qualifier and properly indent methods lambda-lists.
25570 (defgeneric): Provide a missing common-lisp-indent-function property.
25572 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25574 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25575 bounds for the empty string (bug#8667).
25577 2011-05-13 Glenn Morris <rgm@gnu.org>
25579 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25581 * mail/sendmail.el (sendmail-program): Try executable-find first.
25582 (sendmail-send-it): `sendmail-program' cannot be unbound.
25584 * calendar/appt.el (appt-make-list): Simplify.
25585 (appt-time-msg-list): Doc fix.
25586 (appt-check): Change mode-line message at the time of the appointment.
25588 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25590 * progmodes/ld-script.el (ld-script-keywords)
25591 (ld-script-builtins): Update keywords list.
25593 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25595 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25597 * shell.el (shell-completion-vars): New function.
25599 * simple.el (read-shell-command): Use it.
25600 (blink-matching-open): No need for " [...]" in minibuffer-message.
25602 2011-05-12 Glenn Morris <rgm@gnu.org>
25604 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25605 (appt-check): Simplify.
25607 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25609 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25610 literal "/dev/null".
25612 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25614 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25617 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25619 * progmodes/which-func.el (which-function):
25620 Use add-log-current-defun instead of add-log-current-defun-function,
25621 which might not be defined (Bug#8260).
25623 2011-05-12 Glenn Morris <rgm@gnu.org>
25625 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25626 Let byte-compile-initial-macro-environment always take precedence.
25628 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25630 * net/rcirc.el: Add support for SSL/TLS connections.
25631 (rcirc-server-alist): New field `encryption'.
25632 (rcirc): Check `encryption' settings.
25633 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25634 Merge make-local-variable into `set'.
25635 (rcirc--connection-open-p): New function.
25636 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25637 the process is not a network process (e.g. running gnutls-cli).
25638 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25639 Make rcirc-(en|de)code-coding-system local here.
25640 (rcirc-mode): Merge make-local-variable into `set'.
25641 (rcirc-parent-buffer): Make permanent buffer-local.
25642 (rcirc-multiline-minor-mode): Don't do it here.
25643 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25644 there's no server buffer.
25646 2011-05-11 Glenn Morris <rgm@gnu.org>
25648 * newcomment.el (comment-kill): Prefix "unused" local.
25650 * term/w32console.el (get-screen-color): Declare.
25652 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25653 Handle symbol elements of byte-compile-initial-macro-environment.
25655 2011-05-10 Leo Liu <sdl.web@gmail.com>
25657 * bookmark.el (bookmark-bmenu-mode-map):
25658 Bind bookmark-bmenu-search to `/'.
25660 * mail/footnote.el: Convert to utf-8 encoding.
25661 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25662 (Footnote-unicode): New function.
25663 (footnote-style-alist): Add unicode style to the list.
25664 (footnote-style): Doc fix.
25666 2011-05-10 Jim Meyering <meyering@redhat.com>
25668 Fix doubled-word typos.
25669 * international/quail.el (quail-insert-kbd-layout): and and -> and
25670 * kermit.el: and and -> and
25671 * net/ldap.el (ldap-search-internal): to to -> to
25672 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25673 * progmodes/js.el (js-mode): and and -> and
25674 * textmodes/artist.el (artist-move-to-xy): at at -> at
25675 (artist-draw-region-trim-line-endings): if if -> if
25676 And Safetyc -> Safety.
25677 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25679 2011-05-10 Glenn Morris <rgm@gnu.org>
25680 Stefan Monnier <monnier@iro.umontreal.ca>
25682 * files.el (hack-one-local-variable-eval-safep):
25683 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25685 2011-05-10 Glenn Morris <rgm@gnu.org>
25687 * calendar/diary-lib.el (diary-list-entries-hook)
25688 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25689 (diary-nongregorian-marking-hook, diary-list-entries)
25690 (diary-include-other-diary-files, diary-mark-entries)
25691 (diary-mark-included-diary-files): Doc fixes.
25693 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25695 * misc.el: Require tabulated-list.el during compilation.
25697 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25699 * progmodes/compile.el (compilation-start):
25700 Run compilation-filter-hook for the async case too.
25701 (compilation-filter-hook): Doc fix.
25703 2011-05-09 Deniz Dogan <deniz@dogan.se>
25705 * wdired.el: Remove outdated installation comment. Fix usage
25708 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25710 * misc.el: Implement new command `list-dynamic-libraries'.
25711 (list-dynamic-libraries--loaded-only-p): New variable.
25712 (list-dynamic-libraries--refresh): New function.
25713 (list-dynamic-libraries): New command.
25715 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25718 Fix the ant regexp to handle end-line and end-column info from jikes.
25719 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25720 higher priority to avoid clobbering by gnu.
25722 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25724 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25725 if the face has existing theme settings (Bug#8454).
25727 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25729 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25730 Only match variables declared via `my' or `our' (Bug#8261).
25732 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25733 special file names `.' and `..' (Bug#8259).
25735 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25737 * progmodes/grep.el (grep-mode-font-lock-keywords):
25738 Remove buffer-changing entries.
25739 (grep-filter): New function.
25740 (grep-mode): Add it to compilation-filter-hook.
25742 * progmodes/compile.el (compilation-filter-hook)
25743 (compilation-filter-start): New defvars.
25744 (compilation-filter): Call compilation-filter-hook prior to
25745 updating the process mark.
25747 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25749 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25751 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25753 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25754 mailclient-send-it even if window-system is nil. (Bug#8595)
25756 * term/w32console.el (terminal-init-w32console):
25757 Call get-screen-color and use its output to set the frame
25758 background-mode. (Bug#8597)
25760 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25762 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25763 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25765 (defgeneric, eieio--defmethod): Use them.
25766 (eieio-defgeneric): Remove.
25767 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25769 2011-05-07 Glenn Morris <rgm@gnu.org>
25771 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25772 Use let rather than let*.
25773 (timeclock-find-discrep): Remove unused local.
25775 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25777 * calendar/appt.el (appt-time-msg-list): Doc fix.
25779 2011-05-06 Noah Friedman <friedman@splode.com>
25781 * apropos.el (apropos-print-doc): Only use
25782 emacs-lisp-docstring-fill-column when it is bound to an integer,
25783 per that variable's documentation.
25785 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25787 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25788 and warnings are not silently discarded (e.g. use -d instead of -P).
25790 2011-05-06 Glenn Morris <rgm@gnu.org>
25792 * calendar/appt.el (appt-message-warning-time): Doc fix.
25793 (appt-warning-time-regexp): New option.
25794 (appt-make-list): Respect appt-message-warning-time.
25796 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25798 (diary-add-to-list): Strip comments from the displayed string.
25799 (diary-mode): Set comment-start and comment-end.
25801 * vc/diff-mode.el (smerge-refine-subst): Declare.
25802 (diff-refine-hunk): Don't require smerge-mode when compiling.
25804 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25806 * simple.el (list-processes): Return nil as the docstring says.
25808 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25810 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25812 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25813 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25814 determining of binary transfer. (Bug#7383)
25816 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25819 Fix port computation bug. (Bug#8618)
25821 2011-05-05 Glenn Morris <rgm@gnu.org>
25823 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25825 * simple.el (shell-dynamic-complete-functions)
25826 (comint-dynamic-complete-functions): Declare.
25828 * net/network-stream.el (gnutls-negotiate):
25829 * simple.el (tabulated-list-print): Fix declarations.
25831 * progmodes/gud.el (syntax-symbol, syntax-point):
25832 Remove unnecessary and incorrect declarations.
25834 * emacs-lisp/check-declare.el (check-declare-scan):
25835 Handle byte-compile-initial-macro-environment in bytecomp.el.
25837 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25839 Fix earlier half-done eieio-defmethod change (bug#8338).
25840 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25841 Streamline and change calling convention.
25842 (defmethod): Adjust accordingly and simplify.
25843 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25844 new eieio--defmethod.
25845 (slot-boundp): Minor CSE simplification.
25847 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25849 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25850 (glasses-make-readable): Use glasses-separate-capital-groups.
25852 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25854 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25855 (warning-series): Doc fix.
25856 (display-warning): Don't try to create the buffer if we just found it.
25858 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25860 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25861 (autoload-find-generated-file): New function.
25862 (generate-file-autoloads): Bind generated-autoload-file to
25864 (update-file-autoloads, update-directory-autoloads):
25865 Use autoload-find-generated-file. If called interactively, prompt for
25866 output file (Bug#7989).
25867 (batch-update-autoloads): Doc fix.
25869 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25871 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25873 2011-05-04 Glenn Morris <rgm@gnu.org>
25875 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25876 function, so it follows changes in calendar-date-style.
25877 (diary-fancy-date-matcher): New function.
25878 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25879 (diary-fancy-font-lock-fontify-region-function):
25880 Use diary-fancy-date-pattern as a function.
25882 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25883 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25885 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25887 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25888 instead of positional arguments. Allow :keylist and :crlfiles
25890 (open-gnutls-stream): Call it.
25892 * net/network-stream.el (network-stream-open-starttls): Adjust to
25893 call `gnutls-negotiate' with :process and :hostname arguments.
25895 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25897 * minibuffer.el (completion--message): New function.
25898 (completion--do-completion, minibuffer-complete)
25899 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25900 (completion--do-completion): Don't ignore completion-auto-help when in
25903 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25904 internal encoding (e.g. tibetan zero is not whitespace).
25905 (global-whitespace-mode): Prefer save-current-buffer.
25906 (whitespace-trailing-regexp): Remove useless save-match-data.
25907 (whitespace-empty-at-bob-regexp): Minor simplification.
25909 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25911 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25913 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25915 * textmodes/ispell.el (ispell-add-per-file-word-list):
25916 Use `concat' to create string for insertion.
25918 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25920 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25921 Avoid open-line which runs post-self-insert-hook.
25922 (bibtex-fill-entry): Remove unused `end' var.
25924 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25926 * textmodes/ispell.el (ispell-add-per-file-word-list):
25927 Protect against `nil' value of `comment-start' (Bug#8579).
25929 2011-05-03 Leo Liu <sdl.web@gmail.com>
25931 * isearch.el (isearch-yank-pop): New command.
25932 (isearch-mode-map): Bind it to `M-y'.
25933 (isearch-forward): Mention it.
25935 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25937 * simple.el (minibuffer-complete-shell-command): Remove.
25938 (minibuffer-local-shell-command-map): Use completion-at-point.
25939 (read-shell-command): Setup completion vars here instead.
25940 (read-expression-map): Bind TAB to symbol completion.
25942 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25943 error directly rather via storing it into `results'.
25945 2011-05-02 Leo Liu <sdl.web@gmail.com>
25947 * vc/diff.el: Fix description.
25949 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25951 * server.el (server-eval-at): New function.
25953 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25955 * net/network-stream.el (open-network-stream): Take a :nowait
25956 parameter and pass it on to `make-network-process'.
25957 (network-stream-open-plain): Ditto.
25959 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25961 * faces.el (face-spec-set-match-display): Don't match toolkit
25962 options on terminal frames.
25964 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25966 * progmodes/pascal.el: Use lexical binding.
25967 (pascal-mode-map): Remove author preferences.
25969 * pcomplete.el (pcomplete-std-complete): Don't abuse
25970 completion-at-point.
25972 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25974 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25975 removing code that has been dead since 1991 or so.
25977 * startup.el (command-line): When warning about "_emacs", use a
25978 delayed warning to allow the user to filter it out.
25980 2011-04-28 Deniz Dogan <deniz@dogan.se>
25982 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25983 user has not joined.
25985 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25987 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25988 aren't any completions at point.
25990 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25992 * subr.el (display-delayed-warnings): New function.
25993 (delayed-warnings-hook): New variable.
25995 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25997 * minibuffer.el (completion-at-point, completion-help-at-point):
25998 Don't presume that a given completion-at-point-function will always
25999 use the same calling convention.
26001 * pcomplete.el (pcomplete-completions-at-point):
26002 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
26003 pcomplete-seen is non-nil.
26004 (pcomplete-comint-setup): Also recognize the new comint/shell
26005 completion functions.
26006 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
26007 pcomplete-seen is non-nil.
26009 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
26011 * calendar/icalendar.el (diary-lib): Add require statement.
26012 (icalendar--create-uid): Read out a uid from a text-property on
26013 the first character in the entry. This allows for code to add its
26014 own uid to the entry.
26015 (icalendar--convert-float-to-ical): Add export of
26016 `diary-float'-entries save for those with the optional DAY
26019 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
26021 * subr.el (shell-quote-argument): Use alternate escaping strategy
26022 when we spot a variable reference in a string.
26024 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26026 * cus-start.el (all): Define customization for debug-on-event.
26028 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
26030 * subr.el (shell-quote-argument): Escape correctly under Windows.
26032 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26034 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
26036 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
26038 * net/tramp.el (tramp-process-actions): Add POS argument.
26039 Delete region between POS and (pos).
26041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26042 Use `nil' position in `tramp-process-actions' call.
26043 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26045 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26046 position in `tramp-process-actions' call.
26048 * net/trampver.el: Update release number.
26050 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
26052 * custom.el (defcustom): Obey lexical-binding.
26054 Fix octave-inf completion problems reported by Alexander Klimov.
26055 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26056 Inherit from octave-mode-syntax-table.
26057 (inferior-octave-mode): Set info-lookup-mode.
26058 (inferior-octave-completion-at-point): New function.
26059 (inferior-octave-complete): Use it and completion-in-region.
26060 (inferior-octave-dynamic-complete-functions): Use it as well, and use
26061 comint-filename-completion.
26062 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26063 symbol elements which shouldn't be word elements.
26064 (octave-font-lock-keywords, octave-beginning-of-defun)
26065 (octave-function-header-regexp): Adjust regexps accordingly.
26066 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26068 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
26070 * net/gnutls.el (gnutls-errorp): Declare before first use.
26072 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
26074 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26075 verify-error, and verify-hostname-error parameters. Check whether
26076 default trustfile exists before going to use it. Add missing
26077 argument to gnutls-message-maybe call. Return value.
26078 Reported by Claudio Bley <claudio.bley@gmail.com>.
26079 (open-gnutls-stream): Add usage example.
26081 * net/network-stream.el (network-stream-open-starttls): Give host
26082 parameter to `gnutls-negotiate'.
26083 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26084 * subr.el (shell-quote-argument): Escape correctly under Windows.
26086 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
26088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26089 Use correct match group (bug#8438).
26091 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26093 * emacs-lisp/package.el (package-built-in-p): Fix typo.
26094 (package-menu--generate): New arg specifying packages to show.
26095 (package-menu-refresh, package-menu-execute, list-packages):
26097 (package-show-package-list): New function, replacing deleted
26098 package--list-packages (renamed because it is non-internal).
26100 * finder.el (finder-list-matches): Use package-show-package-list
26101 instead of deleted package--list-packages.
26103 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26104 Based on a previous implementation by Juanma Barranquero (Bug#8366).
26105 (vc-annotate-mode-map): Bind it to RET.
26107 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
26109 * progmodes/etags.el (next-file): Don't use set-buffer to change
26110 buffers (Bug#8478).
26112 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
26114 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26116 * apropos.el (apropos-label-face): Avoid variable-pitch face.
26117 (apropos-accumulator): Doc fix.
26118 (apropos-function, apropos-macro, apropos-command)
26119 (apropos-variable, apropos-face, apropos-group, apropos-widget)
26120 (apropos-plist): Add face property.
26121 (apropos-symbols-internal): Fix indentation.
26122 (apropos-print): Simplify help, and recognize apropos-multi-type.
26123 (apropos-print-doc): Use button-type-get to extract the button's
26124 face property. Fill docstring (Bug#8352).
26126 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
26128 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26130 * play/mpuz.el (mpuz-silent): Doc fix.
26131 (mpuz-mode-map): Use mapc.
26132 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26133 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26134 Fix typos in docstrings.
26136 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26137 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26139 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26141 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
26143 * minibuffer.el (completion--do-completion): Avoid the "Next char
26144 not unique" prompt if icomplete-mode is enabled (Bug#5849).
26146 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26147 mouse-2 into unread-command-events, it is interpreted correctly.
26149 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26150 (image-toggle-display): Doc fix.
26152 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
26154 * textmodes/page.el (what-page): Use line-number-at-pos to
26155 calculate line number (Bug#6825).
26157 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26159 * eshell/esh-mode.el (find-tag-interactive): Declare function.
26160 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26161 Pass argument NO-DEFAULT to `find-tag-interactive'.
26163 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
26165 Lexical-binding cleanup.
26167 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26168 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26169 * progmodes/ada-prj.el (ada-prj-initialize-values)
26170 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26171 (ada-prj-show-value):
26172 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26173 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26174 (antlr-invalidate-context-cache, antlr-options-menu-filter)
26175 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26176 * progmodes/bug-reference.el (bug-reference-push-button):
26177 * progmodes/fortran.el (fortran-line-length):
26178 * progmodes/glasses.el (glasses-change):
26179 * progmodes/octave-mod.el (octave-fill-paragraph):
26180 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26181 (python-pdbtrack-grub-for-buffer, python-sentinel):
26182 * progmodes/sql.el (sql-save-connection):
26183 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26184 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26185 Mark unused parameters.
26187 * progmodes/compile.el (compilation--flush-directory-cache)
26188 (compilation--flush-parse, compile-internal): Mark unused parameters.
26189 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26190 (compilation-next-error-function): Remove unused variable `timestamp'.
26192 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26193 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26195 * progmodes/dcl-mode.el (dcl-end-of-command):
26196 Remove unused variable `start'.
26197 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26198 (dcl-option-value-basic, dcl-option-value-offset)
26199 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26200 Mark unused parameters.
26201 (dcl-save-local-variable): Remove unused variable `val'.
26204 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26205 Mark unused parameters.
26206 (delphi-ignore-changes): Move before first use.
26207 (delphi-charset-token-at): Remove unused variable `start'.
26208 (delphi-else-start): Remove unused variable `if-count'.
26209 (delphi-comment-block-start, delphi-comment-block-end):
26210 Remove unused variable `kind'.
26211 (delphi-indent-line): Remove unused variable `new-point'.
26213 * progmodes/ebrowse.el (ebrowse-files-list)
26214 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26215 Mark unused parameters. Don't quote `lambda'.
26216 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26217 Don't quote `lambda'.
26218 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26219 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26220 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26221 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26222 Use `ignore-errors'.
26223 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26224 (ebrowse-view/find-file-and-search-pattern)
26225 (ebrowse-view/find-member-declaration/definition):
26226 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26227 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26228 Rename parameter PREFIX-ARG to PREFIX.
26229 (ebrowse-tags-read-name): Remove unused variables `start' and
26231 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26234 * progmodes/etags.el (local-find-tag-hook): Declare.
26235 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26236 Mark unused parameters.
26238 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26239 (executable-interpret): Mark unused parameter.
26241 * progmodes/flymake.el (flymake-process-sentinel)
26242 (flymake-after-change-function)
26243 (flymake-create-temp-with-folder-structure)
26244 (flymake-get-include-dirs-dot): Mark unused parameters.
26245 (flymake-safe-delete-directory): Remove unused variable `err'.
26247 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26248 (speedbar-timer-fn, speedbar-line-text)
26249 (speedbar-change-expand-button-char, speedbar-delete-subblock)
26250 (speedbar-center-buffer-smartly): Declare functions.
26251 (gdb-find-watch-expression): Remove unused variable `array'.
26252 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26253 (gdb-starting): Mark unused parameters.
26254 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26255 (gdb-table-string): Remove unused variable `res'.
26256 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26257 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26258 (gdb-display-buffer): Remove unused variable `cur-size'.
26260 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26261 allow lexical-binding compilation.
26262 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26263 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26264 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26265 Mark unused parameters.
26266 (gud-gdb-marker-filter): Remove unused variable `match'.
26267 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26268 lambda expressions and funcall them, instead of using `fset'.
26270 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26271 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26273 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26274 variable `header-beg'; use `let'.
26276 * progmodes/icon.el (indent-icon-exp): Remove unused variables
26277 `restart', `last-sexp' and `at-do'.
26279 * progmodes/js.el (js--debug): Mark unused parameter.
26280 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26281 (js--splice-into-items): Remove unused variable `item'.
26282 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26284 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26285 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26286 (makefile-complete): Remove unused variable `try'.
26287 (makefile-fill-paragraph, makefile-match-function-end):
26288 Mark unused parameters.
26290 * progmodes/octave-inf.el (inferior-octave-complete):
26291 Remove unused variable `proc'.
26292 (inferior-octave-output-digest): Mark unused parameter.
26294 * progmodes/perl-mode.el (perl-calculate-indent):
26295 Remove unused variable `err'.
26297 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26298 (prolog-indent-line): Mark unused parameters.
26299 (prolog-indent-line): Remove unused variable `beg'.
26301 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26302 (reporter-dont-compact-list): Declare.
26304 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26305 Remove unused variable `char'.
26306 (sh-debug): Mark unused parameter.
26307 (sh-get-indent-info): Remove unused variable `start'.
26308 (sh-calculate-indent): Remove unused variable `var'.
26310 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26311 (simula-electric-keyword): Remove unused variable `null'.
26312 (simula-search-backward, simula-search-forward): Remove unused
26313 variables `begin' and `end'.
26315 * progmodes/vera-mode.el (vera-guess-basic-syntax):
26316 Remove unused variable `pos'.
26317 (vera-electric-tab, vera-comment-uncomment-region):
26318 Mark unused parameters.
26319 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26321 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
26323 * emacs-lisp/package.el (package--builtins, package-alist)
26324 (package-load-descriptor, package-built-in-p, package-activate)
26325 (define-package, package-installed-p)
26326 (package-compute-transaction, package-buffer-info)
26327 (package--push): Doc fix. Distinguish more clearly between
26328 version strings and version lists.
26330 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
26332 Lexical-binding cleanup.
26334 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26335 (5x5-make-mutate-best):
26336 * play/fortune.el (fortune-in-buffer):
26337 * play/gomoku.el (gomoku-init-display):
26338 * play/solitaire.el (solitaire, solitaire-do-check):
26339 * play/tetris.el (tetris-default-update-speed-function):
26340 Mark unused parameters.
26342 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26343 (bubbles--shift): Remove unused variable `char-org'.
26344 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
26345 (bubbles--show-images): Remove unused variable `char'.
26347 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26348 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26349 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26350 (decipher-analyze-buffer): Use ?\s.
26351 (decipher-make-checkpoint): Remove unused variable `mapping'.
26353 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26355 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26356 Remove unused variable `result'; use `let'.
26358 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26359 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26360 (gametree-children-shown-p, gametree-compute-reduced-score):
26361 Use `ignore-errors'.
26363 * play/handwrite.el (ps-lpr-switches): Declare.
26364 (handwrite): Remove unused variables `pmin' and `lastp'.
26366 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26368 * play/landmark.el (landmark-init-display)
26369 (landmark-update-naught-weights): Mark unused parameters.
26370 (landmark-y): Remove unused variable `noise'. Simplify.
26371 (landmark-human-plays): Remove unused variable `score'.
26373 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26374 (mpuz-try-proposal): Remove unused variable `game'.
26376 * play/zone.el (life-patterns): Declare.
26378 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
26380 * vc/vc.el (ediff-vc-internal): Declare function.
26382 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26384 * shell.el: Use lexical-binding and std completion UI.
26385 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26386 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26387 comint-preoutput-filter-functions rather than on
26388 comint-output-filter-functions.
26389 (shell-command-completion, shell--command-completion-data)
26390 (shell-filename-completion, shell-environment-variable-completion)
26391 (shell-c-a-p-replace-by-expanded-directory): New functions.
26392 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26393 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26394 (shell-dynamic-complete-environment-variable): Use them.
26395 (shell-dynamic-complete-as-environment-variable)
26396 (shell-dynamic-complete-as-command): Remove.
26397 (shell-match-partial-variable): Match past point.
26398 * comint.el: Clean up use of completion-at-point-functions.
26399 (comint-completion-at-point): New function.
26400 (comint-mode): Use it completion-at-point-functions.
26401 (comint-dynamic-complete): Make it obsolete.
26402 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26403 (comint-c-a-p-replace-by-expanded-history): New function.
26404 (comint-dynamic-complete-functions)
26405 (comint-replace-by-expanded-history): Use it.
26406 * minibuffer.el (completion-table-with-terminator): Allow dynamic
26407 termination strings. Try harder to avoid second try-completion.
26408 (completion-in-region-mode-map): Disable bindings that don't work yet.
26410 * comint.el: Use lexical-binding. Require CL.
26411 (comint-dynamic-complete-functions): Use comint-filename-completion.
26412 (comint-completion-addsuffix): Tweak custom type.
26413 (comint-filename-completion, comint--common-suffix)
26414 (comint--common-quoted-suffix, comint--table-subvert)
26415 (comint--complete-file-name-data): New functions.
26416 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26417 (comint-dynamic-list-filename-completions): Use them.
26418 (comint-dynamic-simple-complete): Make obsolete.
26420 * minibuffer.el (completion-in-region-mode):
26421 Keep completion-in-region-mode--predicate global.
26422 (completion-in-region--postch):
26423 Assume completion-in-region-mode--predicate is not null.
26425 * progmodes/flymake.el (flymake-start-syntax-check-process):
26426 Obey `dir'. Simplify.
26428 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26429 we're in VC after all.
26431 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
26433 * vc/vc.el (vc-diff-build-argument-list-internal)
26434 (vc-version-ediff, vc-ediff): New commands.
26435 (vc-version-diff): Use vc-diff-build-argument-list-internal.
26437 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
26439 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26442 * obsolete/erc-hecomplete.el: Make obsolete.
26443 * obsolete/: Standardize obsolescence info in the header.
26445 2011-04-20 Glenn Morris <rgm@gnu.org>
26447 * calendar/solar.el (solar-horizontal-coordinates):
26448 Use the longitude argument rather than `calendar-longitude'.
26449 (solar-date-next-longitude): Remove unused locals.
26451 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
26453 * whitespace.el: New version 13.2.1.
26455 2011-04-20 felix <EmacsWiki> (tiny change)
26457 * whitespace.el (global-whitespace-mode): Keep highlight when
26458 switching between major modes on a file.
26460 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
26462 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26463 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26464 multi-line comments as well.
26466 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
26468 Lexical-binding cleanup.
26470 * arc-mode.el (archive-mode-revert):
26471 * cmuscheme.el (scheme-interactively-start-process):
26472 * custom.el (custom-initialize-delay):
26473 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26474 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26475 * emacs-lock.el (emacs-lock-clear-sentinel):
26476 * ezimage.el (defezimage):
26477 * follow.el (follow-avoid-tail-recenter):
26478 * fringe.el (set-fringe-mode-1):
26479 * generic-x.el (bat-generic-mode-compile):
26480 * help-mode.el (help-info-variable, help-do-xref)
26481 (help-mode-revert-buffer):
26482 * help.el (view-emacs-todo):
26483 * iswitchb.el (iswitchb-completion-help):
26484 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26485 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26486 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26487 * locate.el (locate-update):
26488 * longlines.el (longlines-encode-region)
26489 (longlines-after-change-function):
26490 * outline.el (outline-isearch-open-invisible):
26491 * ps-def.el (declare-function, charset-dimension, char-width)
26493 * ps-mule.el (ps-mule-plot-string):
26494 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26495 (recentf-edit-list-select, recentf-edit-list-validate)
26496 (recentf-open-files-action):
26497 * rect.el (delete-whitespace-rectangle-line)
26498 (rectangle-number-line-callback):
26499 * register.el (window-configuration-to-register)
26500 (frame-configuration-to-register):
26501 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26502 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26503 (xselect-convert-to-targets, xselect-convert-to-delete)
26504 (xselect-convert-to-filename, xselect-convert-to-charpos)
26505 (xselect-convert-to-lineno, xselect-convert-to-colno)
26506 (xselect-convert-to-os, xselect-convert-to-host)
26507 (xselect-convert-to-user, xselect-convert-to-class)
26508 (xselect-convert-to-name, xselect-convert-to-integer)
26509 (xselect-convert-to-atom, xselect-convert-to-identity):
26510 * subr.el (declare, ignore, process-kill-without-query)
26511 (text-clone-maintain):
26512 * terminal.el (te-get-char, te-tic-sentinel):
26513 * tool-bar.el (tool-bar-make-keymap):
26514 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26515 * type-break.el (type-break-mode, type-break-noninteractive-query):
26516 * view.el (View-back-to-mark):
26517 * wid-browse.el (widget-browse-action, widget-browse-widget)
26518 (widget-browse-widgets, widget-browse-sexp):
26519 * widget.el (define-widget-keywords):
26520 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26521 Mark unused parameters.
26523 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26524 (align-areas): Remove unused variable `look'.
26525 (align-region): Remove unused variables `real-end' and `pos-list'.
26527 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26529 * bindings.el (mode-line-modified, mode-line-remote):
26530 Mark unused parameters.
26531 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26533 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26534 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26536 * comint.el (comint-history-isearch-pop-state)
26537 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26538 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26539 (comint-substitute-in-file-name): Doc fix.
26541 * completion.el (cmpl-statistics-block): Mark unused parameter.
26542 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26543 (save-completions-to-file, load-completions-from-file):
26544 Remove unused local variable `e'.
26546 * composite.el (compose-chars): Remove unused variable `len'.
26547 (lgstring-insert-glyph): Remove unused variable `g'.
26548 (compose-glyph-string): Remove unused variables `ascent',
26549 `descent', `lbearing' and `rbearing'.
26550 (compose-glyph-string-relative): Remove unused variables
26551 `lbearing', `rbearing' and `wadjust'.
26552 (compose-gstring-for-graphic): Remove unused variables `header',
26553 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26554 (compose-gstring-for-terminal): Remove unused variables `header'
26555 and `nchars'. Use `let', not `let*'.
26557 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26558 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26559 (Custom-buffer-done, custom-buffer-create-internal)
26560 (custom-browse-visibility-action, custom-browse-group-tag-action)
26561 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26562 (widget-magic-mouse-down-action, custom-toggle-parent)
26563 (custom-add-parent-links, custom-toggle-hide-variable)
26564 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26565 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26566 (custom-face-menu-create, custom-variable-menu-create, get)
26567 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26568 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26569 (customize-apropos): Remove unused variable `tests'.
26570 (custom-group-value-create): Remove unused variable `hidden-p'.
26571 (sort-fold-case): Declare.
26573 * cus-theme.el (custom-reset-standard-faces-list)
26574 (custom-reset-standard-variables-list): Declare.
26575 (customize-create-theme, custom-theme-revert, custom-theme-write)
26576 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26577 Mark unused parameters.
26579 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26581 * delim-col.el (delimit-columns-max): Move defvar before first use.
26583 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26584 (describe-char): Don't quote `lambda'. Mark unused parameter.
26586 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26587 (auto-insert): Declare.
26588 (desktop-restore-file-buffer): Rename desktop-* parameters;
26590 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26591 (desktop-buffer): Rename desktop-* parameters.
26593 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26594 (dframe-reposition-frame-xemacs, dframe-help-echo)
26595 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26596 Mark unused parameters.
26598 * dired-aux.el (backup-extract-version-start, overwrite-query)
26599 (overwrite-backup-query, rename-regexp-query)
26600 (rename-non-directory-query): Declare.
26601 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26602 (dired-add-entry): Remove unused variable `orig-file-name'.
26603 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26604 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26605 `dired-copy-preserve-time' directly.
26606 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26607 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26609 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26610 (dired-virtual-revert, dired-make-relative-symlink):
26611 Mark unused parameters.
26612 (manual-program): Declare.
26613 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26614 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26615 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26617 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26619 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26621 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26624 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26626 * electric.el (Electric-command-loop): Rename parameter
26627 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26629 * expand.el (expand-in-literal): Remove unused variable `here'.
26631 * facemenu.el (facemenu-add-new-color):
26632 Remove unused variable `docstring'.
26634 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26635 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26636 (face-attr-construct): Mark unused parameter. Doc fix.
26637 (read-color): Remove unused variable `hex-string'.
26639 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26640 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26641 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26642 (display-buffer-other-frame): Remove unused variable `old-window'.
26643 (kill-buffer-hook): Declare.
26644 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26645 Mark unused parameters.
26646 (after-find-file): Pass 1 to `auto-save-mode', not t.
26648 * files-x.el (auto-insert): Declare.
26649 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26651 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26652 variable `buf'. Mark unused parameter.
26653 (find-lisp-insert-directory): Mark unused parameter.
26655 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26656 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26657 (format-common-tail): Remove, unused.
26658 (format-deannotate-region): Remove unused variable `loc'.
26659 (format-annotate-region): Remove unused variable `p'.
26660 (format-annotate-single-property-change): Remove unused variables
26661 `default' and `tail'.
26663 * forms.el (read-file-filter): Declare.
26664 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26666 * frame.el (frame-creation-function-alist): Mark unused parameter.
26667 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26669 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26670 Remove unused parameters.
26671 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26672 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26674 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26675 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26676 (hfy-prepare-tag-map): Mark unused parameters.
26677 (htmlfontify-buffer): Use `called-interactively-p'.
26679 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26680 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26681 (ibuffer-do-occur): Mark unused parameters.
26682 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26683 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26685 * ibuffer.el: Don't quote `lambda'.
26686 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26687 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26688 Mark unused parameters.
26690 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26691 (ido-completing-read): Mark unused parameters.
26692 (ido-copy-current-word): Mark unused parameters;
26693 remove unused variable `name'.
26694 (ido-sort-merged-list): Remove unused parameter `dirs'.
26696 * ielm.el (ielm-input-sender): Mark unused parameter.
26697 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26698 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26699 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26700 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26701 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26703 * image-dired.el (image-dired-display-thumbs): Remove unused
26704 variables `curr-file' and `count'.
26705 (image-dired-remove-tag): Remove unused variable `start'.
26706 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26707 variable `curr-file'
26708 (image-dired-rotate-original): Remove unused variable `temp-file'.
26709 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26710 Remove unused variable `file'.
26711 (image-dired-gallery-generate): Remove unused variable `curr'.
26712 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26714 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26716 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26718 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26720 * isearch.el (minibuffer-history-symbol): Declare.
26721 (isearch-edit-string): Remove unused variable `err'.
26722 (isearch-message-prefix, isearch-message-suffix):
26723 Mark unused parameters.
26725 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26727 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26729 * makesum.el (double-column): Remove unused variable `cnt'.
26731 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26732 (ido-ignore-item-temp-list): Declare.
26734 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26735 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26736 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26737 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26740 * mouse-sel.el (mouse-extend-internal):
26741 Remove unused variable `orig-window-frame'.
26743 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26744 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26745 Move declarations before first use.
26746 (pcomplete-opt): Mark unused parameters; doc fix.
26748 * proced.el (proced-revert): Mark unused parameter.
26749 (proced-send-signal): Remove unused variable `err'.
26751 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26752 Rename parameter PREFIX-ARG to ARG.
26753 (ps-basic-plot-string, ps-basic-plot-whitespace):
26754 Mark unused parameters.
26756 * replace.el (replace-count): Define.
26757 (occur-revert-function): Mark unused parameters.
26758 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26759 (isearch-case-fold-search, isearch-string): Declare.
26760 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26761 bind `case-fold-search'. Remove unused variables `beg' and `end',
26763 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26764 COUNT and bind `replace-count'.
26765 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26768 * savehist.el (print-readably, print-string-length): Declare.
26770 * shadowfile.el (shadow-expand-cluster-in-file-name):
26771 Remove unused variable `cluster'.
26772 (shadow-copy-file): Remove unused variable `i'.
26773 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26774 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26775 (shadow-define-literal-group, shadow-define-regexp-group)
26776 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26778 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26779 (shell): Use `called-interactively-p'.
26780 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26782 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26783 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26784 (delete-backward-char): Remove unused variable `ocol'.
26785 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26786 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26787 (event-apply-hyper-modifier, event-apply-shift-modifier)
26788 (event-apply-control-modifier, event-apply-meta-modifier):
26789 Mark unused parameters.
26790 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26791 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26793 * speedbar.el (speedbar-ignored-directory-expressions)
26794 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26795 (speedbar-find-file, speedbar-dir-follow)
26796 (speedbar-directory-buttons-follow, speedbar-tag-find)
26797 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26798 (speedbar-buffers-line-directory, speedbar-buffer-click):
26799 Mark unused parameters.
26800 (speedbar-tag-file): Remove unused variable `mode'.
26801 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26803 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26805 * talk.el (talk): Remove unused variable `display'.
26807 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26808 (tar-write-region-annotate): Mark unused parameter.
26810 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26811 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26812 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26813 warning by another.
26815 * time-stamp.el (time-stamp-string-preprocess):
26816 Remove unused variable `require-padding'.
26818 * tree-widget.el (widget-glyph-enable): Declare.
26819 (tree-widget-action): Mark unused parameter.
26821 * w32-fns.el (x-get-selection): Mark unused parameter.
26822 (autoload-make-program, generated-autoload-file): Declare.
26824 * wdired.el (wdired-revert): Mark unused parameters.
26825 (wdired-xcase-word): Remove unused variable `err'.
26827 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26828 (whitespace-help-scroll): Remove unused variable `data-help'.
26830 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26831 (widget-image-insert, widget-after-change, default)
26832 (widget-default-format-handler, widget-default-notify)
26833 (widget-default-prompt-value, widget-info-link-action)
26834 (widget-url-link-action, widget-function-link-action)
26835 (widget-variable-link-action, widget-file-link-action)
26836 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26837 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26838 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26839 (widget-insert-button-action, widget-delete-button-action, visibility)
26840 (widget-documentation-link-action, widget-documentation-string-action)
26841 (widget-const-prompt-value, widget-regexp-match, symbol)
26842 (widget-coding-system-prompt-value)
26843 (widget-key-sequence-value-to-external, sexp)
26844 (widget-sexp-value-to-internal, character, vector, cons)
26845 (widget-choice-prompt-value, widget-boolean-prompt-value)
26846 (widget-color--choose-action): Mark unused parameters.
26847 (widget-item-match-inline, widget-choice-match-inline)
26848 (widget-checklist-match, widget-checklist-match-inline)
26849 (widget-group-match): Rename parameter VALUES to VALS.
26850 (widget-field-value-set): Remove unused variable `size'.
26851 (widget-color-action): Remove unused variables `value' and `start'.
26853 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26854 variable `dir'. Doc fix.
26855 (windmove-find-other-window): Don't pass it.
26857 * window.el (count-windows): Mark unused parameter.
26858 (bw-adjust-window): Remove unused variable `err'.
26860 * woman.el (woman-file-name): Remove unused variable `default'.
26861 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26862 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26863 (global-font-lock-mode): Declare.
26864 (woman-decode-region): Mark unused parameter.
26865 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26867 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26868 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26869 (x-dnd-handle-moz-url): Remove unused variable `title'.
26870 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26872 * xml.el (xml-parse-tag, xml-parse-attlist):
26873 Remove unused variable `pos'.
26875 2011-04-19 Glenn Morris <rgm@gnu.org>
26877 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26878 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26879 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26880 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26881 * calendar/cal-html.el (cal-html-insert-minical):
26882 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26883 (calendar-mark-date-pattern):
26884 Prefix "unused" locals.
26886 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26887 optional argument `style'.
26889 * calendar/appt.el (appt-make-list):
26890 * calendar/cal-china.el (calendar-chinese-date-string):
26891 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26892 (diary-hebrew-yahrzeit):
26893 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26894 * calendar/calendar.el (calendar-generate-window):
26895 * calendar/time-date.el (time-to-days):
26896 Remove unused local variables.
26898 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26900 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26901 glyphless-char-display table.
26902 (tabulated-list-glyphless-char-display): New var.
26904 2011-04-18 Sam Steingold <sds@gnu.org>
26906 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26907 to acknowledgments.
26909 2011-04-17 Glenn Morris <rgm@gnu.org>
26911 * calendar/diary-lib.el (diary-sexp-entry):
26912 * calendar/holidays.el (holiday-sexp):
26913 Set debug-on-error rather than the removed stack-trace-on-error.
26915 2011-04-16 Glenn Morris <rgm@gnu.org>
26917 * progmodes/f90.el: Use lexical-binding.
26918 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26920 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26922 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26923 (mail-mode): Setup mailalias completion here instead.
26924 * mail/mailalias.el: Use lexical-binding.
26925 (pattern, mailalias-done): Declare dynamic.
26926 (mail-completion-at-point-function): New function, from mail-complete.
26927 (mail-complete): Use it.
26928 (mail-completion-expand): New function.
26929 (mail-get-names): Use it.
26930 (mail-directory, mail-directory-process, mail-directory-stream):
26931 Don't use `pattern' for lexically bound arg.
26933 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26935 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26936 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26937 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26939 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26940 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26941 (byte-interactive-p): Define them again, for use when inlining
26944 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26946 * loadup.el: Use `string-to-number', not `string-to-int'.
26948 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26950 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26951 gud-gdb-complete-command.
26952 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26953 (gud-gdb-completion-at-point): New function.
26954 (gud-gdb-completions): Remove.
26956 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26958 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26959 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26960 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26961 whether `executable-find' is bound.
26963 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26965 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26967 * minibuffer.el (completion-in-region-mode-predicate)
26968 (completion-in-region-mode--predicate): New vars.
26969 (completion-in-region, completion-in-region--postch)
26970 (completion-in-region-mode): Use them.
26971 (completion--capf-wrapper): Also return the hook function.
26972 (completion-at-point, completion-help-at-point):
26973 Adjust and provide a predicate.
26975 Preserve arg names for advice of subr and lexical functions (bug#8457).
26976 * help-fns.el (help-function-arglist): Consolidate the subr and
26977 new-byte-code cases. Add argument `preserve-names' to extract names
26978 from the docstring when needed.
26979 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26980 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26981 (ad-arglist): Use help-function-arglist's new arg.
26982 (ad-definition-type): Use cond.
26984 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26986 * autorevert.el (auto-revert-handler):
26987 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26988 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26989 Don't quote lambda.
26991 * image-mode.el (image-transform-set-scale):
26992 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26994 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26996 * net/network-stream.el (network-stream-open-starttls): Only do
26997 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26998 Upgrades via gnutls-cli are too slow to be done opportunistically.
27000 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
27002 * dframe.el (dframe-current-frame): Remove spurious quote.
27004 2011-04-12 Glenn Morris <rgm@gnu.org>
27006 * calendar/cal-tex.el (cal-tex-end-document):
27007 Try to automatically use latin1 input if needed.
27009 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27010 Don't try to cons a mark onto an empty element.
27012 2011-04-11 Leo Liu <sdl.web@gmail.com>
27014 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
27016 (ido-kill-buffer-at-head): Support killing virtual buffers.
27018 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
27020 * minibuffer.el (completion-show-inline-help): New var.
27021 (completion--do-completion, minibuffer-complete)
27022 (minibuffer-force-complete, minibuffer-complete-word):
27023 Inhibit minibuffer messages if completion-show-inline-help is nil.
27025 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
27026 to avoid interference from inline help (Bug#5849).
27028 2011-04-10 Leo Liu <sdl.web@gmail.com>
27030 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
27033 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
27035 * image-mode.el (image-toggle-display-image): Signal an error if
27037 (image-transform-mode, image-transform-resize)
27038 (image-transform-set-rotation): Doc fix.
27039 (image-transform-set-resize): Delete.
27040 (image-transform-set-scale, image-transform-fit-to-height)
27041 (image-transform-fit-to-width): Handle image-toggle-display-image
27042 and image-transform-resize directly.
27044 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
27046 * doc-view.el (doc-view-fit-width-to-window)
27047 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27048 New functions for fitting the shown image to the Emacs window size.
27049 (doc-view-mode-map): Add bindings for the new functions.
27051 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
27053 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27054 Fix typo in docstring.
27056 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27058 * files.el (file-size-human-readable): Produce one digit after
27059 decimal, like "ls -lh" does.
27061 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27062 the file size representation.
27064 * simple.el (list-processes): If async subprocesses are not
27065 available, error out with a clear error message.
27067 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
27069 * help.el (help-form-show): New function, to be called from C.
27070 Put help-form output in a buffer named differently than *Help*.
27072 2011-04-08 Eli Zaretskii <eliz@gnu.org>
27074 * files.el (file-size-human-readable): New function.
27076 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27077 computing the representation inline. Don't require `cl'.
27079 2011-04-08 Glenn Morris <rgm@gnu.org>
27081 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27083 * net/browse-url.el (browse-url-firefox):
27084 Test system-type, not system-configuration.
27086 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27087 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27088 Use log-edit-empty-buffer-p. (Bug#7598)
27090 * net/rlogin.el (rlogin-process-connection-type): Simplify.
27091 (rlogin-mode-map): Initialize in the defvar.
27092 (rlogin): Use ignore-errors.
27094 * replace.el (occur-mode-map): Some fixes for menu items.
27096 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
27098 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
27100 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27102 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27103 issuing unused warnings.
27105 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27108 * simple.el: Lisp reimplement of list-processes. Based on an
27109 earlier reimplementation by Leo Liu, but using tabulated-list.el.
27110 (process-menu-mode): New major mode.
27111 (list-processes--refresh, list-processes):
27112 (process-menu-visit-buffer): New functions.
27114 * files.el (save-buffers-kill-emacs): Don't assume any return
27115 value of list-processes, which is undocumented anyway.
27117 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
27119 * emacs-lisp/tabulated-list.el: New file.
27121 * emacs-lisp/package.el: Use Tabulated List mode.
27122 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27123 (package-menu-mode): Derive from tabulated-list-mode. Set up the
27124 table format using Tabulated List mode variables.
27125 (package--push): New macro, replacing package-list-maybe-add.
27126 (package-menu--generate): Use package--push. Renamed from
27127 package--generate-package-list.
27128 (package-menu-refresh, list-packages): Use it.
27129 (package-menu--print-info): Rename from package-print-package.
27130 Return insertion data instead of inserting it directly.
27131 (package-menu-describe-package, package-menu-execute):
27132 Use tabulated-list-get-id.
27133 (package-menu-mark-delete, package-menu-mark-install)
27134 (package-menu-mark-unmark, package-menu-backup-unmark)
27135 (package-menu-mark-obsolete-for-deletion):
27136 Use tabulated-list-put-tag.
27137 (package--list-packages, package-menu-revert)
27138 (package-menu-get-package, package-menu-get-version)
27139 (package-menu-sort-by-column): Functions deleted.
27140 (package-menu-package-list, package-menu-sort-key): Vars deleted.
27141 (package-menu--status-predicate, package-menu--version-predicate)
27142 (package-menu--name-predicate)
27143 (package-menu--description-predicate): Handle arguments in the
27144 Tabulated List format.
27145 (package-list-packages-no-fetch): Call list-packages.
27147 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
27149 * files.el (after-find-file-from-revert-buffer): Remove variable.
27150 (after-find-file): Don't bind it.
27151 (revert-buffer-in-progress-p): New variable.
27152 (revert-buffer): Bind it.
27153 Pass nil for `after-find-file-from-revert-buffer'.
27155 * saveplace.el (save-place-find-file-hook): Use new variable
27156 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27158 2011-04-06 Glenn Morris <rgm@gnu.org>
27160 * Makefile.in (AUTOGEN_VCS): New variable.
27161 (autoloads): Use $AUTOGEN_VCS.
27163 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27164 * calendar/calendar.el (calendar-mode-map):
27165 Check for toolkit scroll bars. (Bug#8305)
27167 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27169 * minibuffer.el (completion-in-region--postch)
27170 (completion-in-region-mode): Remove unnecessary messages.
27172 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
27174 * font-lock.el (font-lock-refresh-defaults):
27175 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27176 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27178 * info.el (Info-directory-list, Info-read-node-name-2)
27179 (Info-split-parameter-string): Doc fixes.
27180 (Info-virtual-nodes): Reflow docstring.
27181 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27182 (Info-apropos-toc-nodes, info-finder, Info-get-token)
27183 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27184 Fix typos in docstrings.
27185 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27186 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27187 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27188 (Info-restore-desktop-buffer): Mark unused parameters.
27189 (Info-directory-find-file, Info-directory-find-node)
27190 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27191 (Info-virtual-index-find-node, Info-apropos-find-file)
27192 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27193 Mark unused parameters; fix typos in docstrings.
27194 (Info-virtual-index): Remove unused local variable `nodename'.
27196 2011-04-05 Deniz Dogan <deniz@dogan.se>
27198 * net/rcirc.el: Update my e-mail address.
27199 (rcirc-mode-map): Remove M-o binding.
27201 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
27203 * startup.el (command-line): Save the cursor's theme-face
27204 directly, instead of using face-override-spec.
27206 * custom.el (load-theme): Minor optimization in assigning faces.
27208 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27210 * help-fns.el (describe-variable): Complete all variables having
27211 documentation, including keywords.
27212 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27214 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
27216 Convert to lexical-binding.
27218 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27219 (bs--get-marked-string, bs--get-modified-string)
27220 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27221 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27222 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27224 * ehelp.el (electric-help-execute-extended)
27225 (electric-help-ctrl-x-prefix):
27226 * hexl.el (hexl-revert-buffer-function):
27227 * linum.el (linum-after-change, linum-after-scroll):
27228 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27230 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27232 2011-04-04 Daiki Ueno <ueno@unixuser.org>
27239 * epg.el: Use lexical binding.
27241 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
27243 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27245 * textmodes/flyspell.el (flyspell-word): Recognize default
27246 dictionary case for flyspell-mark-duplications-exceptions.
27247 Use regexp matching for languages.
27248 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27249 default dictionary (Bug#7926).
27251 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
27253 * emacs-lisp/package.el (package--with-work-buffer):
27254 Recognize https URLs.
27256 * net/network-stream.el: Move from gnus/proto-stream.el.
27257 Change prefix to network-stream throughout.
27258 (open-protocol-stream): Merge into open-network-stream, leaving
27259 open-protocol-stream as an alias. Handle nil BUFFER args.
27261 * subr.el (open-network-stream): Move to net/network-stream.el.
27263 2011-04-02 Glenn Morris <rgm@gnu.org>
27265 * find-dired.el (find-exec-terminator): New option.
27266 (find-ls-option): Test for -ls support.
27267 (find-ls-subdir-switches): Test for -b in find-ls-option.
27268 (find-dired, find-grep-dired): Doc fixes.
27269 (find-dired): Use find-exec-terminator.
27271 * find-dired.el (find-ls-option, find-ls-subdir-switches)
27272 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27273 (find-name-arg): Remove purecopy.
27275 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27276 (grep-compute-defaults): Check for `-exec COMMAND +' support.
27277 Set grep-find-use-xargs, grep-find-command, and grep-find-template
27278 accordingly. Don't add the null-device if not needed.
27280 * files.el (save-some-buffers): Doc fix.
27282 2011-04-02 Eli Zaretskii <eliz@gnu.org>
27284 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27286 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
27288 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27289 Use `dolist' rather than `mapcar'.
27291 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
27293 Add lexical binding.
27295 * subr.el (apply-partially): Use new closures rather than CL.
27296 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27297 (dolist, dotimes): Use slightly different expansion for lexical code.
27298 (functionp): Move to C.
27299 (letrec): New macro.
27300 (with-wrapper-hook): Use it and apply-partially instead of CL.
27301 (eval-after-load): Preserve lexical-binding.
27302 (save-window-excursion, with-output-to-temp-buffer): Turn them
27305 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27307 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27309 (help-add-fundoc-usage): Don't add `Not documented'.
27310 (help-function-arglist): Handle closures, subroutines, and new
27311 byte-code-functions.
27312 (help-make-usage): Remove leading underscores.
27313 (describe-function-1): Handle closures.
27314 (describe-variable): Use special-variable-p for completion.
27316 * files.el (lexical-binding): Declare safe.
27318 * emacs-lisp/pcase.el: Don't use destructuring-bind.
27319 (pcase--memoize): Rename from pcase-memoize. Change weakness.
27320 (pcase): Add `let' pattern.
27321 Change memoization so it actually works.
27322 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27323 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27326 * emacs-lisp/macroexp.el: Use lexical binding.
27327 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
27328 Don't convert ' to #' without checking that it's indeed quoting
27331 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27332 Use eval-sexp-add-defvars.
27333 (eval-sexp-add-defvars): New fun.
27335 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27337 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27339 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27340 than the internal `byte-compile-lambda'.
27341 (defmethod): Don't hide code under quotes.
27342 (eieio-defmethod): New `code' argument.
27344 * emacs-lisp/eieio-comp.el: Remove.
27346 * emacs-lisp/edebug.el (edebug-eval-defun)
27347 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27348 (edebug-toggle): Avoid `eval'.
27350 * emacs-lisp/disass.el (disassemble-internal): Handle new
27352 (disassemble-1): Handle new byte codes.
27354 * emacs-lisp/cl.el (pushnew): Silence warning.
27356 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27357 (cl-byte-compile-throw): Remove.
27358 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27360 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27363 * emacs-lisp/cconv.el: New file.
27365 * emacs-lisp/bytecomp.el: Use lexical binding instead of
27366 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
27367 (byte-compile-initial-macro-environment):
27368 Handle declare-function here.
27369 (byte-compile--lexical-environment): New var.
27370 (byte-stack-ref, byte-stack-set, byte-discardN)
27371 (byte-discardN-preserve-tos): New lap codes.
27372 (byte-interactive-p): Don't use any more.
27373 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27375 (byte-compile-lapcode): Use them and handle new lap codes.
27376 (byte-compile-obsolete): Remove.
27377 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27378 (byte-compile-arglist-warn): Check late def of inlinable funs.
27379 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27380 since they should have been expanded by now.
27381 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27382 (byte-compile-from-buffer): Remove unused second arg.
27383 (byte-compile-preprocess): New function.
27384 (byte-compile-toplevel-file-form): New function to distinguish
27385 file-form calls from outside from file-form calls from hunk-handlers.
27386 (byte-compile-file-form): Simplify.
27387 (byte-compile-file-form-defsubst): Remove.
27388 (byte-compile-file-form-defmumble): Simplify now that
27389 byte-compile-lambda always returns a byte-code-function.
27390 (byte-compile): Preprocess.
27391 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27392 Remove, not used any more.
27393 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27394 (byte-compile-make-args-desc): New funs.
27395 (byte-compile-lambda): Handle lexical functions. Always return
27396 a byte-code-function.
27397 (byte-compile-reserved-constants): New var, to make up room for
27398 closed-over variables.
27399 (byte-compile-constants-vector): Obey it.
27400 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27401 (byte-compile-macroexpand-declare-function): New function.
27402 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27403 byte-code-functions.
27404 (byte-compile-form): Check obsolescence here.
27405 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27406 (byte-compile-variable-ref): Remove.
27407 (byte-compile-dynamic-variable-op): New fun.
27408 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27409 (byte-compile-variable-set): New funs.
27410 (byte-compile-discard): Add 2 args.
27411 (byte-compile-stack-ref, byte-compile-stack-set)
27412 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27413 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27414 macroexpand-all instead.
27415 (byte-compile-quote-form): Remove.
27416 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27417 (byte-compile-bind, byte-compile-unbind): New funs.
27418 (byte-compile-let): Handle let* and lexical binding.
27419 (byte-compile-let*): Remove.
27420 (byte-compile-catch, byte-compile-unwind-protect)
27421 (byte-compile-track-mouse, byte-compile-condition-case):
27422 Handle a new :fun-body form, used for lexical scoping.
27423 (byte-compile-save-window-excursion)
27424 (byte-compile-with-output-to-temp-buffer): Remove.
27425 (byte-compile-defun): Simplify.
27426 (byte-compile-stack-adjustment): New fun.
27427 (byte-compile-out): Use it.
27428 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27430 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27433 * emacs-lisp/byte-opt.el: Use lexical binding.
27434 (byte-inline-lapcode): Remove (to bytecomp).
27435 (byte-compile-inline-expand): Pay attention to inlining to/from
27436 lexically bound code.
27437 (byte-compile-unfold-lambda): Don't handle byte-code-functions
27439 (byte-optimize-form-code-walker): Don't handle save-window-excursion
27440 any more and don't call compiler-macros.
27441 (byte-compile-splice-in-already-compiled-code): Remove.
27442 (byte-code): Don't inline any more.
27443 (disassemble-offset): Receive `bytes' as argument rather than via
27445 (byte-compile-tag-number): Declare before first use.
27446 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27447 `return' even if make-spliceable.
27448 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27449 obsolete interactive-p.
27450 (byte-optimize-lapcode): Optimize new lap-codes.
27451 Don't trip up on new form of `byte-constant' lap code.
27453 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27455 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27457 * custom.el (custom-initialize-default, custom-declare-variable):
27460 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27462 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27463 (COMPILE_FIRST): Add macroexp and cconv.
27464 * makefile.w32-in: Mirror changes in Makefile.in.
27466 * vc/cvs-status.el:
27470 * vc/smerge-mode.el:
27471 * textmodes/bibtex-style.el:
27472 * textmodes/css-mode.el:
27480 * emacs-lisp/smie.el:
27483 * abbrev.el: Use lexical binding.
27485 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27487 * info.el (info-display-manual): New function.
27489 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27491 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27493 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27495 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27496 an entry for that server in rcirc-authinfo. (Bug#8385)
27498 2011-03-31 Glenn Morris <rgm@gnu.org>
27500 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27502 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27504 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27506 * progmodes/python.el (python-default-interpreter)
27507 (python-python-command-args, python-jython-command-args)
27508 (python-which-shell, python-which-args, python-which-bufname)
27509 (python-file-queue, python-comint-output-filter-function)
27510 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27511 variables and functions.
27513 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27515 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27516 (completion-in-region-mode): New minor mode.
27517 (completion-in-region): Use it.
27518 (completion-in-region--data, completion-in-region-mode-map): New vars.
27519 (completion-in-region--postch): New function.
27520 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27522 (completion--capf-wrapper): New function.
27523 (completion-at-point): Use it to track well-behavedness of
27525 (completion-help-at-point): New command.
27527 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27529 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27530 syntax class to search for whitespace on a single line
27531 (Message-ID: <4D938140.4030905@redhat.com>).
27533 2011-03-30 Leo Liu <sdl.web@gmail.com>
27535 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27537 (edit-abbrevs-map): Bind them here.
27538 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27540 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27542 * allout.el (allout-hide-by-annotation, allout-flag-region):
27543 Reduce possibility of overlay leakage by making them volatile.
27545 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27546 hash is not shared between buffers. Mode initialization is
27547 responsible for giving it a useful starting value.
27548 (allout-item-span): Reduce possibility of overlay leakage by
27549 making them volatile.
27550 (allout-widgets-count-buttons-in-region): Add diagnostic function
27551 for tracking down button overlay leaks.
27553 2011-03-29 Leo Liu <sdl.web@gmail.com>
27555 * ido.el (ido-read-internal): Use the default history var
27556 minibuffer-history if no HISTORY is specified.
27558 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27560 * net/imap.el (imap-shell-open, imap-process-connection-type):
27561 Use imap-process-connection-type for 'shell' streams as well as
27562 Kerberos, SSL, other subprocesses.
27564 2011-03-28 Leo Liu <sdl.web@gmail.com>
27566 * abbrev.el (abbrev-table-empty-p): New function.
27567 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27568 nonempty ones. (Bug#5937)
27570 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27572 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27574 2011-03-27 Leo Liu <sdl.web@gmail.com>
27576 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27577 for foreground and background colors.
27578 (ansi-color-make-color-map): Adapt.
27580 2011-03-25 Leo Liu <sdl.web@gmail.com>
27582 * midnight.el (midnight-time-float): Remove. Note it calculates
27583 the microsecond component incorrectly and seconds-to-time does the
27585 Remove redundant (require 'timer).
27587 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27588 (ido-completions): Remove unused arguments. (Bug#8329)
27590 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27592 * minibuffer.el (completion--flush-all-sorted-completions):
27593 Remove itself from hook.
27594 (completion-at-point): Let the functions perform the completion
27595 immediately and return nil or t.
27596 * comint.el (comint-dynamic-complete-functions): Now identical to
27597 completion-at-point-functions.
27598 (comint-dynamic-list-input-ring): Remove unused var `index'.
27599 (comint--match-partial-filename, comint--unquote&expand-filename):
27600 New funs, split from comint-match-partial-filename.
27601 (comint-dynamic-complete): Use completion-at-point.
27602 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27604 2011-03-24 Drew Adams <drew.adams@oracle.com>
27606 * thingatpt.el: Support `defun'.
27608 2011-03-23 Leo Liu <sdl.web@gmail.com>
27610 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27612 * help-mode.el (help-mode-finish): Tweak regexp.
27614 2011-03-23 Glenn Morris <rgm@gnu.org>
27616 * eshell/esh-opt.el (eshell-eval-using-options):
27617 Do not bind unused local variable `eshell-option-stub'.
27619 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27621 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27623 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27624 keymap variable in `with-no-warnings' to avoid a warning when the
27625 keymap has been already `defconst'ed.
27627 2011-03-22 Leo Liu <sdl.web@gmail.com>
27629 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27630 encode all chars in abbrevs; otherwise use emacs-mule or
27631 utf-8-emacs. (Bug#8308)
27633 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27635 * simple.el (backward-delete-char-untabify):
27636 Avoid warning about using `delete-backward-char'.
27638 * image.el (image-type-file-name-regexps): Make it variable.
27639 `imagemagick-register-types' modifies it, and the user may want
27640 to add new extensions for known image types.
27641 (imagemagick-register-types): Throw error if not using ImageMagick.
27643 2011-03-22 Leo Liu <sdl.web@gmail.com>
27645 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27646 located before rcirc-prompt-end-marker.
27647 (rcirc-complete): Error if point is not after rcirc prompt.
27648 Handle the case when table is nil.
27649 (rcirc-user-authenticated): Define to fix compiler warning.
27651 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27653 * custom.el (custom--inhibit-theme-enable): Make it affect only
27654 custom-theme-set-variables and custom-theme-set-faces.
27655 (provide-theme): Ignore custom--inhibit-theme-enable.
27656 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27657 (custom-enabling-themes): Delete variable.
27658 (enable-theme): Accept only loaded themes as arguments.
27659 Ignore the special custom-enabled-themes variable.
27660 (custom-enabled-themes): Forbid themes from setting this.
27661 Eliminate use of custom-enabling-themes.
27662 (custom-push-theme): Quote "changed" custom var entry.
27664 2011-03-21 Leo Liu <sdl.web@gmail.com>
27666 * ido.el (ido-read-internal): Add ido-selected to history instead
27669 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27671 * subr.el (deferred-action-list, deferred-action-function):
27674 2011-03-21 Leo Liu <sdl.web@gmail.com>
27676 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27677 change on 2011-02-13 (bug#8309).
27679 * minibuffer.el (read-file-name-function): Change default value.
27680 (read-file-name--defaults): Rename from read-file-name-defaults.
27681 (read-file-name-default): Rename from read-file-name.
27682 (read-file-name): Call read-file-name-function.
27684 2011-03-21 Glenn Morris <rgm@gnu.org>
27686 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27689 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27691 * cus-theme.el: Add missing provide statement.
27692 (customize-create-theme): Extract theme value correctly.
27693 (custom-theme-visit-theme): Autoload.
27694 (customize-create-theme): Prompt before inserting default faces.
27696 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27698 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27699 units and musical notes.
27701 2011-03-20 Leo Liu <sdl.web@gmail.com>
27703 * ido.el (ido-read-internal): Use completing-read-default.
27704 (ido-completing-read): Fix compatibility with completing-read.
27706 2011-03-20 Christian Ohler <ohler@gnu.org>
27708 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27709 (ert-delete-all-tests): Use `called-interactively-p' rather than
27711 (ert--make-xrefs-region): Respect END.
27713 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27715 * dired-aux.el (dired-create-directory): Signal an error if the
27716 directory already exists (Bug#8246).
27718 * facemenu.el (list-colors-display): Call list-faces-display
27719 inside with-help-window.
27720 (list-colors-print): Use display property to align the final
27721 column, instead of checking window-width.
27723 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27725 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27726 windows-nt systems.
27727 (emerge-protect-metachars): Quote correctly for ms-dos and
27728 windows-nt systems.
27730 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27732 * info.el (info-initialize): Replace all uses of `:' with
27733 path-separator for compatibility with non-Unix systems.
27734 Cache quoting of path-separator. (Bug#8258)
27736 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27738 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27739 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27740 (mouse-avoidance-mode): Fix typos in docstrings.
27742 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27744 * startup.el (package-subdirectory-regexp): Move from package.el.
27745 Omit \\` and \\', and let callers add them.
27747 * emacs-lisp/package.el (package-strip-version)
27748 (package-load-all-descriptors): Add \\` and \\' to
27749 package-subdirectory-regexp before using it.
27750 (package-untar-buffer): New arg DIR; ensure that file untars only
27751 into this expected directory. Remove superfluous delete-region.
27752 (package-unpack): Caller changed.
27753 (package-tar-file-info): Use package-subdirectory-regexp.
27755 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27757 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27758 diff-mode-shared-map (bug#8284).
27759 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27761 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27763 * calendar/time-date.el (format-seconds): Use assoc instead of
27764 assoc-string, since assoc-string doesn't exist in XEmacs.
27766 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27768 * custom.el (custom-known-themes): Reflow docstring.
27769 (custom-theme-load-path): Fix typo in docstring.
27770 (load-theme): Fix typo in error message.
27771 (custom-available-themes, custom-variable-theme-value):
27772 Use `let', not `let*'.
27774 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27776 * calc/README: Mention inclusion of musical notes.
27778 * calc/calc-units.el (calc-lu-quant): Rename from
27779 `calc-logunits-quantity'.
27780 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27781 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27782 (calc-db): Rename from `calc-dblevel'.
27783 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27784 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27785 (calc-np): Rename from `calc-nplevel'.
27786 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27787 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27788 (calc-lu-plus): Rename from `calc-logunits-add'.
27789 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27790 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27791 (calc-lu-minus): Rename from `calc-logunits-sub'.
27792 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27793 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27794 (calc-lu-times): Rename from `calc-logunits-mul'.
27795 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27796 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27797 (calc-lu-divide): Rename from `calc-logunits-div'.
27798 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27799 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27801 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27802 functions being autoloaded.
27804 * calc/calc.el (calc-lu-power-reference): Rename from
27805 `calc-logunits-power-reference'.
27806 (calc-lu-field-reference): Rename from
27807 `calc-logunits-field-reference'.
27809 * calc/calc-help.el (calc-l-prefix-help):
27810 Mention musical note functions.
27812 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27814 * minibuffer.el (completion-all-sorted-completions):
27815 Use :completion-cycle-penalty text property if present.
27817 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27819 * allout.el (allout-yank-processing): Adjust for new rebulleting
27820 regime so bullet being yanked is used without prompting the user
27823 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27825 * startup.el (command-line): Warn the user that _emacs is deprecated.
27827 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27829 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27830 (delphi-verbose, delphi-comment-face, delphi-string-face)
27831 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27832 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27833 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27834 (delphi-new-comment-line, delphi-font-lock-defaults)
27835 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27836 Fix typos in docstrings.
27838 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27840 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27841 Invert the roles of character and string values for INSTEAD, so a
27842 string is used for the more common case of a defaulting prompt.
27844 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27846 * progmodes/ruby-mode.el (ruby-backward-sexp):
27847 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27848 * play/gamegrid.el (gamegrid-make-face):
27849 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27850 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27851 * notifications.el (notifications-notify):
27852 * net/xesam.el (xesam-search-engines):
27853 * net/quickurl.el (quickurl-list-insert):
27854 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27856 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27858 * startup.el (command-line): Update package subdirectory regexp.
27860 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27862 * allout.el (allout-abbreviate-flattened-numbering)
27863 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27865 * subr.el (read-char-choice): Only show the cursor after the prompt,
27866 not after the answer.
27868 2011-03-15 Kevin Ryde <user42@zip.com.au>
27870 * help-fns.el (variable-at-point): Skip leading quotes, if any
27873 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27875 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27878 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27880 * shell.el (shell): When called interactively, offer to change the
27881 shell file name on remote hosts.
27883 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27885 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27886 integration for LDAP parameters. The host, base, user or binddn,
27887 and secret tokens can be specified in a netrc file, for instance.
27888 This is optional because an `auth-source' parameter must be
27889 specified in the search attributes.
27891 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27893 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27895 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27897 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27898 into declaration. Remove redundant and harmful binding.
27900 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27902 * files.el (file-ownership-preserved-p): Pass `integer' as an
27903 explicit 2nd argument to `file-attributes'. If the file's owner
27904 is the Administrators group on Windows, and the current user is
27905 Administrator, consider that a match.
27907 * server.el (server-ensure-safe-dir): Consider server directory
27908 safe on MS-Windows if its owner is the Administrators group while
27909 the current Emacs user is Administrator. Use `=' to compare
27910 numerical UIDs, since they could be integers or floats.
27912 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27914 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27916 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27918 Sync with Tramp 2.2.1.
27920 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27922 * net/trampver.el: Update release number.
27924 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27926 * progmodes/compile.el (compilation--previous-directory): Fix up
27927 various nil/dead-marker mismatches (bug#8014).
27928 (compilation-directory-properties, compilation-error-properties):
27929 Don't call it at a position past the one we're about to change.
27931 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27932 Disable obsolescence warnings in the file that declares it.
27934 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27936 * allout-widgets.el (allout-widgets-tally):
27937 Initialize allout-widgets-tally as a hash table rather than nil to
27938 prevent mode-line redisplay warnings. Also, clarify the module
27939 description and fix a comment typo.
27941 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27943 * help-fns.el (describe-variable): Don't complete keywords.
27944 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27946 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27948 * emacs-lisp/package.el (package-version-join): Impose a standard
27949 string representation for pre/alpha/beta version lists.
27950 (package-unpack-single): Standardize the directory name by passing
27951 it through package-version-join.
27952 (package-strip-rcs-id): Accept any version string that does not
27953 signal an error in version-to-list.
27955 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27957 * simple.el (delete-trailing-whitespace): Return nil for the
27958 benefit of `write-file-functions'.
27960 2011-03-10 Glenn Morris <rgm@gnu.org>
27962 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27964 * vc/vc-git.el (vc-git-program): New option.
27965 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27966 (vc-git--call): Use it.
27968 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27970 * cus-edit.el (Custom-newline): If no button at point, look
27971 for a subgroup button at start-of-line. (Bug#2298)
27973 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27975 2011-03-10 Julien Danjou <julien@danjou.info>
27977 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27978 `cursor-type' is nil.
27980 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27982 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27984 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27986 * allout.el: Change so yank of distinctive-bullet items
27987 preserves the existing header prefix, rebulleting it if necessary,
27988 rather than replacing it. This is necessary for proper operation
27989 of cooperative addons like allout-widgets.
27990 (allout-make-topic-prefix, allout-rebullet-heading):
27991 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27992 value as alternate bullet to be used, instead of prompting the user
27993 for a bullet character.
27995 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27997 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27998 Do not use `tramp-file-name-port', because this returns also
27999 `tramp-default-port'.
28001 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
28003 * net/rcirc.el (rcirc-handler-001): Remove useless
28004 with-rcirc-process-buffer.
28005 (rcirc-check-auth-status): Swap arguments to string-match.
28007 2011-03-09 Glenn Morris <rgm@gnu.org>
28009 * shell.el (shell-mode):
28010 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
28012 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
28013 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
28015 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28017 * emacs-lisp/package.el (package-refresh-contents)
28018 (package-menu-execute): Use condition-case-no-debug.
28020 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
28022 * simple.el (shell-command-to-string): Use `process-file'.
28024 * emacs-lisp/package.el (package-tar-file-info): Handle also
28027 * emacs-lisp/package-x.el (package-upload-buffer-internal):
28028 Use `equal' for upload base check.
28030 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
28032 * textmodes/texinfo.el (texinfo-environments):
28033 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
28035 2011-03-08 Glenn Morris <rgm@gnu.org>
28037 * cus-start.el (cursor-in-non-selected-windows):
28038 Fix :set quoting oddness. (Bug#8192)
28040 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28041 in some setf expressions. (Bug#2159)
28043 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
28045 * custom.el (custom-available-themes): Return themes in
28046 alphabetical order.
28048 See ChangeLog.15 for earlier changes.
28050 ;; Local Variables:
28054 Copyright (C) 2011-2013 Free Software Foundation, Inc.
28056 This file is part of GNU Emacs.
28058 GNU Emacs is free software: you can redistribute it and/or modify
28059 it under the terms of the GNU General Public License as published by
28060 the Free Software Foundation, either version 3 of the License, or
28061 (at your option) any later version.
28063 GNU Emacs is distributed in the hope that it will be useful,
28064 but WITHOUT ANY WARRANTY; without even the implied warranty of
28065 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28066 GNU General Public License for more details.
28068 You should have received a copy of the GNU General Public License
28069 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.